/* Shared responsive corrections; desktop composition remains unchanged. */
.mobile-menu-toggle{display:none}
@media(max-width:760px){
 .topbar,body>header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 20px;flex-wrap:wrap}
 .topbar .brand,body>header .brand{flex:0 0 auto;white-space:nowrap}
 .mobile-menu-toggle{display:inline-flex;min-height:44px;padding:10px 14px;font:600 13px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202b27;background:transparent;border:1px solid #dfe3d8;border-radius:8px;cursor:pointer}
 .mobile-menu-toggle:hover{background:#edf1e4}
 .topbar>.public-navigation,body>header>.public-navigation{display:none;width:100%;flex:0 0 100%;padding:12px 0 0;gap:4px;border-top:1px solid #dfe3d8;align-items:stretch;font-size:14px}
 .topbar>.public-navigation.mobile-menu-open,body>header>.public-navigation.mobile-menu-open{display:flex;flex-direction:column}
 .public-navigation a,.topbar .navlinks .nav-hide{display:flex;align-items:center;min-height:44px;padding:12px;border-radius:7px;white-space:normal}
 .public-navigation a:hover{background:#edf1e4}.public-navigation .button{justify-content:center;margin-top:4px}
 input,textarea,select{font-size:16px!important}button,a,input,select,textarea{touch-action:manipulation}
 .hero h1{font-size:clamp(44px,12vw,66px)}
 .hero .eyebrow{line-height:1.7;letter-spacing:.11em}
 .hero .urlform{flex-wrap:wrap;gap:8px;padding:10px}
 .hero .urlform input{min-width:0;flex:1;width:0}
 .hero .urlform button{flex-basis:100%;min-height:48px}
 .caption{flex-wrap:wrap;line-height:1.7}.code-band pre{max-width:100%;overflow:auto}.footer{flex-wrap:wrap}
 .workspace .main,.workspace .page,.workspace .panel,.workspace .grid2>*{min-width:0}
 .workspace .side-nav{max-width:100%;scrollbar-width:thin}
 .workspace .workspace-bar{height:auto;min-height:52px;gap:10px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
 .workspace .workspace-bar>span{min-width:0;overflow-wrap:anywhere}
 .workspace .actions{width:100%}.workspace .actions button{min-height:44px}
 .workspace .panel-head{flex-wrap:wrap}.workspace .list-row{flex-wrap:wrap;overflow-wrap:anywhere}
 .workspace .panel:has(table){overflow-x:auto}.workspace table{min-width:520px}
 .workspace .filters>*{max-width:100%}.workspace pre{max-width:100%;overflow:auto}
 .workspace .chat-input input{min-width:0}.workspace .voice-controls button{min-height:44px}
 .workspace .sidebar .side-bottom{display:block}.workspace .side-bottom .account-row{display:none}.workspace .logout{display:inline-flex;margin-right:12px;min-height:44px}
 .workspace .sidebar .side-nav>.button{display:inline-flex;margin-top:0!important;white-space:nowrap;flex-shrink:0}
 .scheduling-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
}
@media(max-width:480px){
 .hero-art{width:100%;min-width:0}.hero-art .sample-browser{max-width:95%}.hero-art .chat-sample{max-width:88%;right:0}
 .journey-stage{padding:16px;gap:24px}.journey-browser,.journey-output{min-width:0}.journey-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.journey-tabs button{min-width:0;overflow-wrap:anywhere}.journey-tabs button small{display:none}
 .journey-url{overflow-wrap:anywhere}.journey-footer{flex-wrap:wrap}.journey-output h3{font-size:28px}
 .intro h1{font-size:40px}.closing h2{font-size:36px}.plan{min-width:0}
 .auth-panel{padding:32px 20px}.auth-story{padding:24px 20px}.auth-story .brand{font-size:25px}
 .scheduling-hours{grid-template-columns:1fr 1fr}.scheduling-hours input{width:100%}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(max-width:760px){.widget-body .chat-compose button{min-width:44px;min-height:44px}.widget-body .chat-head{flex-shrink:0}.widget-body .messages{min-height:0}.widget-body .chat-compose,.widget-body .chat-foot,.widget-body .voice-controls{flex-shrink:0}.widget-body .voice-controls button{min-height:44px}}
@media(max-width:760px){.research-grid{grid-template-columns:minmax(0,1fr)}.research-grid article{min-width:0;overflow-wrap:anywhere}}
@media(max-width:700px){.workspace{flex-direction:column}.workspace .sidebar{width:100%;min-width:0;max-width:100%}.workspace .main{width:100%;margin-left:0}.workspace .sidebar .side-nav{width:100%;min-width:0;overflow-x:auto}.workspace .sidebar .side-bottom{margin-top:14px}}
/* Keep the explicit conversation notice usable in a short/narrow widget. */
#conversation-consent{max-height:65vh;overflow:auto;flex-shrink:1;min-height:0;overscroll-behavior:contain}
