/* OBSLv2.1 26/10 layout hotfix: heading on one clean baseline */
#tech-news-panel .tech-news-head,#moments-panel .moments-head,
#market-panel .market-heading{box-sizing:border-box!important;min-height:30px!important;display:flex!important;align-items:center!important;gap:7px!important}
#tech-news-panel .tech-news-head .tech-news-heading-copy,
#moments-panel .moments-head .moments-heading-copy{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;line-height:1.2!important}
#tech-news-panel .tech-news-heading-copy>div{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;flex-wrap:wrap!important}
#tech-news-title,#tech-news-last-updated,#moments-brand-name,
#market-panel .market-heading .panel-title{line-height:1.2!important;vertical-align:middle!important}
#tech-news-panel .tech-news-head-actions,#moments-panel .moments-head-actions,
#market-panel .obsl-market-controls{display:flex!important;align-items:center!important;gap:4px!important;margin-left:auto!important;flex:0 0 auto!important}
#market-panel .obsl-market-controls>.obsl-module-pencil[data-module="market"]{order:0!important}
#market-panel .obsl-market-controls>#market-refresh-button{order:1!important}
#countdown-panel>.obsl-module-pencil[data-module="countdown"]{left:auto!important;right:5px!important;top:5px!important;bottom:auto!important;position:absolute!important;z-index:50!important}
/* Inline document flow: date stays beside its title, wraps only when row truly runs out. */
#moments-motion .moment-card-body{display:block!important;min-width:0!important;max-width:100%!important}
#moments-motion .moment-card-titleline{display:block!important;width:100%!important;min-width:0!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important}
#moments-motion .moment-card-titleline .moment-card-title{display:inline!important;flex:none!important;width:auto!important;line-height:inherit!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
#moments-motion .moment-card-titleline .moment-card-date{display:inline!important;flex:none!important;white-space:nowrap!important;font-size:.75em!important;font-weight:400!important;line-height:inherit!important;opacity:.62!important;vertical-align:baseline!important;margin:0 0 0 .35em!important}
#moments-motion .moment-card-excerpt{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin:3px 0 0!important;line-height:1.3!important}
#moment-detail-body .moment-article-topline{display:block!important;min-width:0!important;line-height:1.3!important;white-space:normal!important}
#moment-detail-body .moment-article-topline h2{display:inline!important;width:auto!important;margin:0!important;line-height:inherit!important;vertical-align:baseline!important}
#moment-detail-body .moment-article-topline small{display:inline!important;margin:0 0 0 .4em!important;line-height:inherit!important;vertical-align:baseline!important;opacity:.64!important;white-space:nowrap!important;font-size:.55em!important}
/* One compositor-driven ticker, no position scrollLeft updates. */
#tech-news-panel .obsl-tech-news-viewport{overflow:hidden!important;touch-action:pan-y pinch-zoom!important}
#tech-news-panel .obsl-tech-news-track{transform:translate3d(0,0,0);will-change:transform!important}
#tech-news-panel .tech-news-batch{transform:none!important}
@media(max-width:720px){#tech-news-panel .tech-news-head{min-height:27px!important}#tech-news-last-updated{font-size:10px!important}}

/* On demand lightweight driving prototype, never runs when closed. */
.obsl-driving-backdrop{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:16px;background:rgba(4,10,20,.8);overflow:auto}
.obsl-driving-box{width:min(720px,100%);max-height:95dvh;overflow:auto;background:#101c2c;color:#eef5ff;border:1px solid #647b94;border-radius:16px;padding:18px;display:grid;gap:12px;font:14px system-ui}
.obsl-driving-box .obsl-driving-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.obsl-driving-box h2{font-size:18px;margin:0}.obsl-driving-box button,.obsl-driving-box input,.obsl-driving-box select{font:inherit;max-width:100%;padding:9px;border-radius:9px;border:1px solid #647b94;background:#1b2d43;color:#fff}
.obsl-driving-box label{display:grid;gap:5px}.obsl-driving-presets{display:flex;flex-wrap:wrap;gap:8px}.obsl-driving-presets .active{border-color:#53a5ff;background:#254b7c}.obsl-driving-hint{margin:0;color:#aec4db;font-size:12px}.obsl-driving-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.obsl-driving-preview.vertical{grid-template-columns:1fr}.obsl-driving-preview section{min-width:0;min-height:120px;padding:8px;border:1px solid #647b94;border-radius:12px;display:grid;gap:12px;align-content:space-between}.obsl-driving-preview section button{min-width:0;white-space:normal}.obsl-driving-close{flex:0 0 auto}
@media(max-width:430px){.obsl-driving-preview{grid-template-columns:1fr}}
