.ds-phone-views,.ds-phone-tools{display:none}
.phone-observer #drillspot-workspace>.ds-tabs{display:none!important}
.phone-observer #drillspot-workspace .ds-phone-views{display:flex;gap:6px;flex:none;min-width:0;align-items:center;margin:0 0 4px}
.phone-observer #drillspot-workspace .ds-phone-views select{flex:1;min-width:0;height:44px;max-width:none;font-size:16px;border-radius:12px}
.phone-observer #drillspot-workspace .ds-phone-views button{height:44px;min-width:44px;padding:0;font-size:24px;border-radius:12px}
.phone-observer #drillspot-workspace .ds-phone-views button[hidden]{display:none}
.phone-observer #drillspot-workspace .ds-phone-tools{display:block;flex:none;max-height:40dvh;overflow:auto;border-bottom:1px solid #dce5ef;margin-bottom:4px}
.phone-observer #drillspot-workspace .ds-phone-tools>summary{min-height:40px;display:flex;align-items:center;padding:0 8px;font-size:14px;color:#344b61}
.phone-observer #drillspot-workspace .ds-phone-tools-content{padding:4px 2px 8px}
.phone-observer #drillspot-workspace .ds-phone-tools:not([open])>.ds-phone-tools-content{display:none}
.phone-observer #drillspot-workspace .ds-head{display:flex;flex-wrap:wrap}
.phone-observer #drillspot-workspace .ds-head h2{display:none}
.phone-observer #drillspot-workspace button,.phone-observer #drillspot-workspace summary{min-height:40px}
.phone-observer #drillspot-workspace select,.phone-observer #drillspot-workspace input:not([type=checkbox]){font-size:16px;min-height:40px}
.phone-observer #drillspot-workspace[data-view=time]{display:flex;flex-direction:column;overflow:hidden;padding-bottom:8px}
.phone-observer #drillspot-workspace[data-view=time] #ds-content{display:flex;flex:1;min-height:120px;overflow:hidden;padding-bottom:2px}
.phone-observer #drillspot-workspace[data-view=time] .ds-tracks{grid-template-columns:180px!important;grid-auto-columns:180px;grid-auto-flow:column;height:auto;min-height:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;gap:3px}
.phone-observer #drillspot-workspace[data-view=time] .ds-track-card{height:100%;min-height:0}
.phone-observer #drillspot-workspace[data-view=time] .ds-track-card h3{height:28px;min-height:28px;line-height:28px;font-size:12px;touch-action:pan-x}
.phone-observer #drillspot-workspace[data-view=time] .ds-channel-header{height:24px;min-height:24px;touch-action:pan-x}
.phone-observer #drillspot-workspace[data-view=time] .ds-channel-header strong{font-size:12px}
.phone-observer #drillspot-workspace[data-view=time] .ds-channel-header span{font-size:10px}
.phone-observer #drillspot-workspace[data-view=time] .ds-card-body{flex:1;min-height:0}
.phone-observer #drillspot-workspace[data-view=time] .ds-qml-plot{height:100%;min-height:0}
.phone-observer #drillspot-workspace[data-view=time] .ds-readout{position:static;flex:none;margin:0 0 3px}

/* Native Qt plots sit behind a pointer-transparent HTML shell. Controls own hits. */
.phone-observer #drillspot-workspace .ds-phone-views,.phone-observer #drillspot-workspace .ds-phone-tools{pointer-events:auto}
.phone-observer #drillspot-workspace[data-view=time] .ds-track-card h3,.phone-observer #drillspot-workspace[data-view=time] .ds-channel-header{pointer-events:auto}

/* Phone observation: one readable task at a time, existing button material. */
.phone-observer #drillspot-workspace{scroll-padding-block:12px 48px}
.phone-observer #drillspot-workspace .ds-phone-views{position:sticky;top:0;z-index:8;background:#f7f9fc;padding:4px 0;margin:0;min-height:48px}
.phone-observer #drillspot-workspace .ds-phone-context{font-size:11px;color:#52697e;line-height:1.4;margin:3px 4px 6px;overflow-wrap:anywhere;flex:none;pointer-events:auto}
.phone-observer #drillspot-workspace .ds-phone-navigation{display:flex;gap:5px;align-items:center;flex:none;pointer-events:auto;margin-bottom:6px}
.phone-observer #drillspot-workspace .ds-phone-navigation button{height:44px;min-width:44px;padding:0 10px;border-radius:16px;font-size:19px;touch-action:manipulation}
.phone-observer #drillspot-workspace .ds-phone-navigation [data-phone-proxy=ds-fit-source]{flex:1;font-size:13px;white-space:nowrap}
.phone-observer #drillspot-workspace .ds-phone-navigation[hidden],
.phone-observer #drillspot-workspace .ds-phone-chart-picker[hidden]{display:none}
.phone-observer #drillspot-workspace .ds-phone-chart-picker{display:flex;gap:8px;align-items:center;pointer-events:auto;margin:7px 0;color:#52697e;flex:none}
.phone-observer #drillspot-workspace .ds-phone-chart-picker>span{font-size:12px}
.phone-observer #drillspot-workspace .ds-phone-chart-picker select{flex:1;width:0;min-width:0;max-width:none;height:44px;border-radius:12px}
.phone-observer #drillspot-workspace .ds-phone-tools{max-height:36dvh}
.phone-observer #drillspot-workspace .ds-scale-popover{position:static;box-shadow:none;min-width:0}
.phone-observer #drillspot-workspace :is(.ds-head,.ds-tools,.ds-plot-actions,.ds-page-bar,.ds-ddr-filters,.ds-roadmap-controls,.ds-roadmap-context){min-width:0;max-width:100%;flex-wrap:wrap;gap:6px}
.phone-observer #drillspot-workspace label{min-width:0}
.phone-observer #drillspot-workspace :is(button,summary){min-height:44px;max-width:100%}
.phone-observer #drillspot-workspace :is(.ds-filters,.ds-axis-inputs){display:flex;flex-wrap:wrap;gap:8px}
.phone-observer #drillspot-workspace .ds-filters label{flex:1 1 140px;flex-wrap:wrap}
.phone-observer #drillspot-workspace .ds-filters input{min-width:0;max-width:100%}
.phone-observer #drillspot-workspace .ds-readout{position:static;pointer-events:none;flex:none;margin:6px 0;min-width:0}
.phone-observer #drillspot-workspace .ds-card[data-phone-chart-hidden]{display:none!important}
.phone-observer #drillspot-workspace :is(.ds-scatter-grid,.ds-hist-grid){display:block}
.phone-observer #drillspot-workspace :is(.ds-scatter-grid,.ds-hist-grid) .ds-card{border-radius:14px}
.phone-observer #drillspot-workspace :is(.ds-scatter-grid,.ds-hist-grid) canvas{height:clamp(240px,calc(100dvh - 430px),540px);min-height:240px}
.phone-observer #drillspot-workspace .ds-axis-inputs label{flex:1 1 42%}
.phone-observer #drillspot-workspace .ds-axis-inputs input{width:100%;min-width:0}
.phone-observer #drillspot-workspace .ds-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.phone-observer #drillspot-workspace .ds-kpis article{border-radius:12px;padding:10px}
.phone-observer #drillspot-workspace .ds-kpis strong{font-size:22px}
.phone-observer #drillspot-workspace .ds-table-scroll{width:100%;max-width:100%;overflow:auto;overscroll-behavior:contain}
.phone-observer #drillspot-workspace .ds-table{width:max-content;min-width:100%}
.phone-observer #drillspot-workspace .ds-table :is(td,th){padding:9px}
.phone-observer #drillspot-workspace .ds-page-bar{justify-content:space-between;pointer-events:auto}
.phone-observer #drillspot-workspace .ds-dashboard{display:flex;flex-direction:column;gap:10px}
.phone-observer #drillspot-workspace .ds-dashboard .ds-tracks{grid-template-columns:180px!important;grid-auto-columns:180px;grid-auto-flow:column;overflow-x:auto}
.phone-observer #drillspot-workspace :is(.ds-review-editor,.ds-alert-rule,#ds-ddr-review){display:none!important}
.phone-observer #drillspot-workspace .ds-alert-chart-head{flex-wrap:wrap;gap:6px}
.phone-observer #drillspot-workspace .ds-engineering-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;pointer-events:auto}
.phone-observer #drillspot-workspace .ds-engineering-tabs button{flex:none}
.phone-observer #drillspot-workspace .bha-external-library .bha-workspace{display:flex;flex-direction:column;min-width:0}
.phone-observer #drillspot-workspace .bha-external-library .bha-workspace>*{min-width:0;max-width:100%}
.phone-observer #drillspot-workspace .ds-roadmap-bore{min-height:400px;height:55dvh}
.phone-observer #drillspot-workspace .ds-roadmap-controls{pointer-events:auto}
.phone-observer #drillspot-workspace .ds-roadmap-controls select{max-width:100%}

.phone-observer #drillspot-workspace[data-view=ac] .ds-ac-toolbar h3{display:none}
.phone-observer #drillspot-workspace[data-view=ac] .ds-ac-toolbar{justify-content:flex-end;flex-wrap:wrap}

.phone-observer #drillspot-workspace[data-view=scatter] #ds-content>.ds-plot-actions{display:none}
.phone-observer #drillspot-workspace .ds-phone-chart-picker>span{display:none}
.phone-observer #drillspot-workspace .ds-phone-chart-picker{margin:6px 0}
