/* V07: mobile-first controls. Brand tokens remain shared with desktop. */
.mobile-bottom-nav,.mobile-brand,.mobile-search-button,.mobile-menu-head,.mobile-menu-actions{display:none}
@media(max-width:760px){
  :root{--mv-gutter:16px;--mobile-header-height:calc(56px + env(safe-area-inset-top,0px));--mobile-nav-height:calc(64px + env(safe-area-inset-bottom,0px));--mobile-player-height:0px}
  html{scroll-padding-top:calc(var(--mobile-header-height) + 16px);scroll-padding-bottom:calc(var(--mobile-nav-height) + 16px)}
  body.simple-workspaces{font-size:14px;padding-bottom:calc(var(--mobile-nav-height) + var(--mobile-player-height));-webkit-text-size-adjust:100%}
  body.simple-workspaces.has-player{--mobile-player-height:76px}
  body.simple-workspaces button,body.simple-workspaces a{touch-action:manipulation}
  body.simple-workspaces .btn:hover{transform:none}
  body.simple-workspaces button:active,body.simple-workspaces .mobile-bottom-nav a:active{opacity:.76}
  body.simple-workspaces .topbar{position:sticky;top:0;z-index:45;height:var(--mobile-header-height);padding:env(safe-area-inset-top,0px) 12px 0;gap:4px;background:var(--mv-bg);border-color:var(--mv-border)}
  body.simple-workspaces .topbar .search,body.simple-workspaces .topbar .theme-toggle,body.simple-workspaces #activity-button,body.simple-workspaces .topbar .breadcrumb,body.simple-workspaces .demo-strip{display:none}
  body.simple-workspaces .top-actions{gap:0}
  body.simple-workspaces .topbar .icon{width:44px;height:44px;min-height:44px;min-width:44px;border:0;background:transparent;color:var(--mv-text);border-radius:10px}
  body.simple-workspaces .topbar .icon svg{width:21px;height:21px;stroke:currentColor}
  body.simple-workspaces #messages i{display:none}
  .mobile-brand{display:flex;gap:7px;align-items:center;min-width:0;min-height:44px;font-size:16px;font-weight:600;letter-spacing:-.7px}
  .mobile-brand>img{width:32px;height:32px;object-fit:contain}
  .mobile-search-button{display:inline-grid}
  body.simple-workspaces main{padding:16px var(--mv-gutter) 24px;min-width:0}
  body.simple-workspaces main h1{font-size:28px!important;line-height:1.2!important}
  body.simple-workspaces .workspace-heading{min-height:44px;margin:0 0 16px;gap:12px;align-items:center;flex-wrap:nowrap}
  body.simple-workspaces .workspace-heading .workspace-actions{gap:8px;flex-shrink:0}
  body.simple-workspaces .btn{min-height:44px;font-size:13px;padding:10px 14px}
  body.simple-workspaces .text-link{min-height:44px;font-size:12px;display:inline-flex;align-items:center;line-height:1.4}
  body.simple-workspaces .workspace-heading .workspace-actions .btn{min-height:44px;font-size:12px;padding:10px 12px}
  body.simple-workspaces .icon{min-height:44px;min-width:44px}
  body.simple-workspaces .footer{padding:16px var(--mv-gutter) 24px;font-size:11px;gap:12px}
  body.simple-workspaces .footer a,body.simple-workspaces .footer button{min-height:44px;display:inline-flex;align-items:center}
  .mobile-bottom-nav{position:fixed;inset:auto 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));z-index:60;min-height:var(--mobile-nav-height);padding:4px 8px calc(4px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--mv-border);background:var(--mv-surface)}
  .mobile-bottom-nav>a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:56px;min-width:0;border-radius:10px;font-size:10px;line-height:1.2;color:var(--mv-muted);font-weight:500}
  .mobile-bottom-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-bottom-nav>a[aria-current=page]{background:var(--mv-subtle);color:var(--mv-text);position:relative}
  .mobile-bottom-nav>a[aria-current=page]:before{content:'';position:absolute;top:1px;width:20px;height:3px;border-radius:4px;background:var(--mv-primary)}
  body.simple-workspaces .sidebar{width:min(340px,calc(100vw - 40px));padding:12px 16px 24px;padding-top:calc(12px + env(safe-area-inset-top,0px));overflow-y:auto;overscroll-behavior:contain;z-index:90;background:var(--mv-surface);color:var(--mv-text);max-height:100dvh}
  body.simple-workspaces .scrim{z-index:89}
  .mobile-menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:18px}
  body.simple-workspaces .sidebar>.brand{display:none}
  body.simple-workspaces .sidebar nav{margin-top:0;gap:4px}
  body.simple-workspaces .sidebar .nav-link{min-height:44px;color:var(--mv-text);font-size:13px;padding:10px 12px}
  body.simple-workspaces .sidebar .nav-link.active{background:var(--mv-primary);color:var(--mv-on-primary)}
  body.simple-workspaces .sidebar .nav-link:hover{background:var(--mv-subtle)}
  body.simple-workspaces .sidebar .nav-group{color:var(--mv-muted);font-size:10px;margin:16px 12px 4px}
  body.simple-workspaces .sidebar-bottom{padding-top:16px}
  body.simple-workspaces .sidebar-bottom .profile{color:var(--mv-text);border-color:var(--mv-border)!important;min-height:64px}
  body.simple-workspaces .sidebar-bottom small{color:var(--mv-muted);font-size:11px}
  .mobile-menu-actions{display:grid;border-top:1px solid var(--mv-border);padding:12px 0;gap:4px}
  .mobile-menu-actions>button{min-height:44px;padding:10px 12px;font-size:13px;text-align:left;background:none;border:0;color:var(--mv-text)}
  body.simple-workspaces .workspace-tabs{margin:0 0 16px;gap:0;min-height:48px;scrollbar-width:none}
  body.simple-workspaces .workspace-tabs>button{font-size:13px;min-height:48px;padding:12px;flex-shrink:0}
  body.simple-workspaces .surface{padding:16px}
  body.simple-workspaces .surface-title{margin-bottom:12px;gap:8px}
  body.simple-workspaces .surface-title h2,body.simple-workspaces .surface-title h3{font-size:16px}
  body.simple-workspaces .field label{font-size:13px}
  body.simple-workspaces input:not([type=range]):not([type=checkbox]):not([type=radio]),body.simple-workspaces textarea,body.simple-workspaces select{font-size:16px!important;min-height:44px;max-width:100%}
  body.simple-workspaces .field small{font-size:12px}
  body.simple-workspaces input[type=checkbox],body.simple-workspaces input[type=radio]{width:20px;height:20px;flex-shrink:0}
  body.simple-workspaces .check{min-height:44px;font-size:13px}
  .mobile-section-nav{display:flex;gap:4px;padding:4px;border:1px solid var(--mv-border);border-radius:12px;margin-bottom:20px;background:var(--mv-surface)}
  .mobile-section-nav>a{flex:1;display:grid;place-items:center;min-height:44px;padding:8px 4px;font-size:12px;border-radius:8px}
  .mobile-section-nav>a[aria-current=page]{background:var(--mv-primary);color:var(--mv-on-primary);font-weight:600}
  /* Feed: the first post is available without reading a stack of controls. */
  body.simple-workspaces .community-shell{display:block}
  body.simple-workspaces .community-sidebar{display:none}
  body.simple-workspaces .social-tabs{display:flex;margin-bottom:12px}
  body.simple-workspaces .social-tabs>button{flex:1;font-size:12px;padding:10px 4px}
  body.simple-workspaces .mobile-community-more{background:transparent;border:0;order:2}
  .mobile-community-more svg,.mobile-post-more svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}
  body.simple-workspaces .social-feed-controls{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
  body.simple-workspaces .social-feed-switch{flex:1;width:auto;display:flex;padding:3px;border-radius:10px}
  body.simple-workspaces .mobile-feed-filter-button{height:52px;width:48px;background:var(--mv-surface);border:1px solid var(--mv-border);border-radius:10px;color:var(--mv-text)}
  body.simple-workspaces .mobile-feed-filter-button.has-filters{border-color:var(--mv-primary);background:var(--mv-primary);color:var(--mv-on-primary)}
  .mobile-feed-filter-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  body.simple-workspaces .social-feed-switch>button{flex:1;min-height:44px;font-size:13px;padding:8px 12px}
  body.simple-workspaces .social-feed-filters{margin:0 0 8px;border:0;background:transparent;border-radius:0}
  body.simple-workspaces .social-feed-filters>summary{min-height:44px;padding:10px 0;font-size:12px}
  body.simple-workspaces .social-filter-bar{gap:12px;padding:16px}
  body.simple-workspaces .social-filter>span{font-size:12px}
  body.simple-workspaces .social-list-heading{min-height:28px;margin-bottom:8px;font-size:11px}
  body.simple-workspaces .social-list-heading .text-link{min-height:32px}
  body.simple-workspaces .social-feed{gap:16px}
  body.simple-workspaces .social-post{border-radius:16px;overflow:hidden}
  body.simple-workspaces .social-post-header{padding:12px;gap:4px;flex-wrap:nowrap;min-height:68px}
  body.simple-workspaces .social-post-header>.social-person-line{flex:1;min-width:0;flex-basis:0;gap:8px}
  body.simple-workspaces .social-post-header .avatar{width:36px;height:36px}
  body.simple-workspaces .social-post-header .social-person-line>span{min-width:0}
  body.simple-workspaces .social-post-header strong{font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block}
  body.simple-workspaces .social-post-header small{font-size:10px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body.simple-workspaces .social-post-header>.social-follow{font-size:11px;min-height:44px;padding:8px;white-space:nowrap;flex-shrink:0}
  body.simple-workspaces .mobile-post-more{border:0;background:transparent;width:44px;height:44px;color:var(--mv-text)}
  body.simple-workspaces .social-post-body{padding:0 12px 12px;gap:12px}
  body.simple-workspaces .social-post-body>p{font-size:14px;line-height:1.65}
  body.simple-workspaces .social-post-title{font-size:15px;line-height:1.4;min-height:44px;padding:0}
  body.simple-workspaces .social-kind{font-size:11px}
  body.simple-workspaces .social-post-footer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:4px 8px}
  body.simple-workspaces .social-post-footer>button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:8px 2px;min-width:0;min-height:56px;font-size:10px;line-height:1.2;margin:0}
  body.simple-workspaces .social-post-footer>button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  body.simple-workspaces .social-post-footer>button[aria-pressed=true] svg{fill:var(--mv-primary);stroke:var(--mv-text)}
  body.simple-workspaces .social-post-footer>.social-collaborate,body.simple-workspaces .social-post-footer>[data-social-remove]{display:none}
  body.simple-workspaces .social-comment-preview{font-size:12px;padding:12px;line-height:1.6}
  body.simple-workspaces .social-video-start{gap:4px}
  body.simple-workspaces .social-stock-video figcaption{font-size:10px;line-height:1.5}
  body.simple-workspaces .social-person-card .social-card-actions{flex-wrap:wrap}
  body.simple-workspaces .social-person-card .social-card-actions>*{min-height:44px;font-size:12px}
  body.simple-workspaces .social-person-body p{font-size:13px}
  /* Start screen. Each card has a single visible next step. */
  .mobile-home{display:grid;gap:16px}
  .mobile-resume-row{display:flex;align-items:center;gap:16px;min-width:0}
  .mobile-resume-row>img,.mobile-cover-play{width:96px;height:96px;object-fit:cover;flex-shrink:0;border-radius:10px}
  .mobile-resume-row>div{flex:1;min-width:0;display:grid;gap:8px}
  .mobile-resume-row strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
  .mobile-resume-row small{font-size:11px;line-height:1.5;color:var(--mv-muted)}
  .mobile-resume-row progress{height:4px;width:100%;accent-color:var(--mv-focus)}
  .mobile-resume-row .btn{justify-self:start;font-size:12px;min-height:44px}
  .mobile-cover-play{position:relative;padding:0;border:0;background:var(--mv-subtle);overflow:hidden}
  .mobile-cover-play>img{width:100%;height:100%;object-fit:cover}
  .mobile-cover-play>span{position:absolute;inset:auto 8px 8px auto;width:32px;height:32px;border-radius:50%;background:var(--mv-primary);color:var(--mv-on-primary);display:grid;place-items:center}
  .mobile-people-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}
  .mobile-people-preview>button{border:0;background:transparent;display:grid;justify-items:center;gap:8px;min-height:80px;font-size:12px;padding:4px;color:var(--mv-text)}
  .mobile-people-preview .avatar{width:48px;height:48px}
  .mobile-community-actions{display:flex;gap:8px}
  .mobile-community-actions>*{flex:1}
  .mobile-community-entry>small{display:block;margin-top:12px;font-size:11px;color:var(--mv-muted)}
  .mobile-home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .mobile-home-shortcuts>button{min-height:76px;padding:12px 4px;display:flex;align-items:center;justify-content:center;gap:8px;flex-direction:column;border:1px solid var(--mv-border);border-radius:12px;background:var(--mv-surface);color:var(--mv-text);font-size:11px}
  .mobile-home-shortcuts svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  /* Library controls only expand when needed. */
  body.simple-workspaces .standard-toolbar:has(#library-query){display:grid;grid-template-columns:1fr;padding:0;gap:12px;border:0;background:transparent}
  body.simple-workspaces .local-search{min-height:44px;width:100%}
  .mobile-library-options{border:1px solid var(--mv-border);border-radius:12px;background:var(--mv-surface)}
  .mobile-library-options summary{padding:12px 16px;min-height:44px;cursor:pointer;font-size:13px}
  .mobile-library-options summary>span{float:right}
  .mobile-library-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:4px 16px 16px}
  .mobile-library-fields>label{display:grid;gap:8px;font-size:12px;color:var(--mv-muted);min-width:0}
  .mobile-library-fields select{width:100%}
  .mobile-library-layout{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;font-size:12px}
  body.simple-workspaces .view-toggle button{min-width:44px;min-height:44px}
  body.simple-workspaces .list-summary{font-size:11px;margin:12px 0}
  body.simple-workspaces .project-main strong{font-size:13px;line-height:1.5;white-space:normal}
  body.simple-workspaces .project-main small{font-size:11px;line-height:1.5}
  body.simple-workspaces .project-card-actions{display:flex;flex-wrap:wrap;padding:4px;gap:0}
  body.simple-workspaces .project-card-actions>button{min-height:44px;font-size:11px;flex:1 1 50%;padding:8px 4px}
  body.simple-workspaces .project-card-actions>button:last-child{flex-basis:100%}
  body.simple-workspaces .list-view .project-card-actions{flex-wrap:nowrap}
  body.simple-workspaces .list-view .project-card-actions>button{flex:1;font-size:12px}
  body.simple-workspaces .project-page-head>div>span{font-size:11px}
  body.simple-workspaces .version-list-row strong{font-size:13px}
  body.simple-workspaces .version-list-row small{font-size:11px}
  body.simple-workspaces .task-list-button{font-size:13px}
  /* Team tasks: three familiar statuses, one visible column. */
  body.simple-workspaces .team-focus-tabs{display:flex;overflow-x:auto;scrollbar-width:none}
  body.simple-workspaces .team-focus-tabs>button{min-height:48px;font-size:12px;padding:12px}
  body.simple-workspaces .team-focus-panel{padding:16px}
  body.simple-workspaces .focused-team-header{position:relative;padding:16px;gap:12px;flex-wrap:nowrap;align-items:center}
  body.simple-workspaces .focused-team-header>.team-emblem{width:44px;height:44px;border-radius:12px;font-size:16px}
  body.simple-workspaces .focused-team-title{flex:1;min-width:0;padding-right:40px}
  body.simple-workspaces .focused-team-title h1{font-size:23px!important}
  body.simple-workspaces .team-privacy{font-size:10px}
  body.simple-workspaces .focused-team-header>.mobile-team-invite{position:absolute;right:12px;top:16px;width:44px;height:44px;min-height:44px;margin:0;padding:0;font-size:22px}
  body.simple-workspaces .focused-team-header>.btn{min-height:44px;font-size:12px}
  body.simple-workspaces .team-step{margin-top:20px;min-height:44px}
  body.simple-workspaces .team-change-control label>span{font-size:12px}
  body.simple-workspaces .team-context-bar{margin-bottom:16px}
  body.simple-workspaces .team-panel .surface-title{flex-wrap:wrap}
  body.simple-workspaces .team-panel .surface-title>.btn{font-size:12px;min-height:44px}
  .mobile-task-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--mv-border);background:var(--mv-subtle);border-radius:10px;margin:0 0 16px}
  .mobile-task-tabs>button{flex:1;min-width:0;min-height:44px;font-size:11px;display:flex;gap:4px;align-items:center;justify-content:center;border:0;border-radius:7px;background:none;color:var(--mv-muted);padding:8px 2px}
  .mobile-task-tabs>button[aria-pressed=true]{background:var(--mv-surface);color:var(--mv-text)}
  .mobile-task-tabs span{font-size:10px;padding:0 3px}
  body.simple-workspaces .team-panel .kanban{display:block}
  body.simple-workspaces .team-panel .kanban-col{min-height:120px;padding:12px}
  body.simple-workspaces .team-panel .kanban-col h3{font-size:14px}
  body.simple-workspaces .team-panel .task-name{font-size:14px}
  body.simple-workspaces .team-panel .task small{font-size:12px}
  body.simple-workspaces .team-panel .task select{min-height:44px}
  /* Conversation occupies the screen; Back returns to the list. */
  body.simple-workspaces.is-messages main{padding:0}
  body.simple-workspaces.is-messages main>.workspace-heading{padding:16px;margin:0}
  body.simple-workspaces.is-messages .footer{display:none}
  body.simple-workspaces .messages-workspace{height:calc(var(--mobile-visible-height,100dvh) - var(--mobile-header-height) - var(--mobile-nav-height) - 76px);min-height:260px;border:0;border-radius:0}
  body.simple-workspaces .conversation-select strong{font-size:14px}
  body.simple-workspaces .conversation-select small{font-size:12px}
  body.simple-workspaces .conversation-select{min-height:80px;padding:16px}
  body.simple-workspaces .messages-list-head{font-size:13px;padding:12px 16px}
  body.simple-workspaces .conversation-header strong{font-size:15px}
  body.simple-workspaces .conversation-header small{font-size:11px;display:block;margin-left:auto}
  body.simple-workspaces .conversation-content>.chat-form{margin-top:0;padding:12px 16px;gap:8px;background:var(--mv-surface)}
  body.simple-workspaces .conversation-content>.chat-form input{padding:10px 12px}
  body.simple-workspaces .conversation-content>.chat-form .btn{font-size:12px;padding:10px}
  body.simple-workspaces .conversation-content>.chat-form .icon{min-width:44px;width:44px}
  body.simple-workspaces .chat-log .bubble{font-size:14px;line-height:1.6}
  body.simple-workspaces.mobile-conversation{padding-bottom:0}
  body.simple-workspaces.mobile-conversation .topbar,body.simple-workspaces.mobile-conversation .mobile-bottom-nav,body.simple-workspaces.mobile-conversation #player,body.simple-workspaces.mobile-conversation main>.workspace-heading{display:none}
  body.simple-workspaces.mobile-conversation .messages-workspace{height:var(--mobile-visible-height,100dvh);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);min-height:0}
  body.simple-workspaces.mobile-conversation .conversation-header{min-height:64px;padding:8px 12px;border-bottom:1px solid var(--mv-border)}
  body.simple-workspaces .conversation-content>.chat-log{overscroll-behavior:contain}
  /* Player never overlaps the navigation or the last row. */
  body.simple-workspaces .player{left:8px;right:8px;bottom:calc(var(--mobile-nav-height) + 8px);border-radius:12px;padding:8px;gap:8px;display:grid;grid-template-columns:40px minmax(0,1fr) 44px 44px;grid-template-rows:44px 8px;min-height:68px;z-index:61}
  body.simple-workspaces .player>img{width:40px;height:40px;grid-column:1;grid-row:1}
  body.simple-workspaces .player-track{grid-column:2;grid-row:1;min-width:0}
  body.simple-workspaces .player-track strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.simple-workspaces .player-track small{font-size:10px}
  body.simple-workspaces #play{grid-column:3;grid-row:1;width:44px;height:44px}
  body.simple-workspaces #close-player{grid-column:4;grid-row:1;width:44px;height:44px}
  body.simple-workspaces #seek{display:block;grid-column:1/-1;grid-row:2;width:100%;height:8px;margin:0;min-height:8px;accent-color:var(--mv-focus)}
  body.simple-workspaces #elapsed,body.simple-workspaces #duration{display:none}
  body.simple-workspaces.has-player .footer{padding-bottom:24px}
  body.simple-workspaces .toast{bottom:calc(var(--mobile-nav-height) + var(--mobile-player-height) + 12px);font-size:13px;padding:12px 16px;width:max-content;max-width:calc(100% - 32px)}
  /* Bottom sheets and long forms remain usable with the keyboard open. */
  body.simple-workspaces.mobile-dialog-open,body.simple-workspaces.mobile-menu-open{overflow:hidden}
  body.simple-workspaces dialog,body.simple-workspaces dialog.social-dialog{position:fixed;inset:auto 0 var(--mobile-viewport-bottom,0px);width:100%;max-width:100%;max-height:calc(var(--mobile-visible-height,100dvh) - 12px - env(safe-area-inset-top,0px));margin:auto 0 0;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px));border-radius:20px 20px 0 0;overscroll-behavior:contain;background:var(--mv-surface);color:var(--mv-text)}
  body.simple-workspaces dialog .dialog-top{position:sticky;top:-20px;background:var(--mv-surface);z-index:5;align-items:center;padding:12px 0;margin-top:-8px;margin-bottom:16px;border-bottom:1px solid var(--mv-border)}
  body.simple-workspaces dialog .dialog-top h2{font:600 22px/1.3 var(--mv-font-display)}
  body.simple-workspaces dialog .dialog-top .eyebrow{display:none}
  body.simple-workspaces dialog .dialog-top .icon{background:var(--mv-subtle);border:0}
  body.simple-workspaces dialog .two-col{grid-template-columns:1fr}
  body.simple-workspaces .social-publish-form{gap:16px}
  body.simple-workspaces .social-publish-form textarea{min-height:120px}body.simple-workspaces .social-publish-form .social-attach-section>.two-col{padding-bottom:16px}
  body.simple-workspaces .social-comment-composer textarea{min-height:88px}
  body.simple-workspaces .social-publish-footer{padding-top:16px}
  body.simple-workspaces .social-comment strong{font-size:13px}
  body.simple-workspaces .social-comment p{font-size:14px}
  .mobile-action-list{display:grid;gap:8px}
  .mobile-action-list>button{min-height:52px;display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border:1px solid var(--mv-border);background:var(--mv-surface);color:var(--mv-text);border-radius:10px;text-align:left;font-size:14px}
  body.simple-workspaces .search-result strong{font-size:14px}
  body.simple-workspaces .search-result small{font-size:11px}
  body.simple-workspaces .search-result{min-height:72px}
  /* Academy, shop, calendar, and editor inherit the same rhythm. */
  body.simple-workspaces .course-card .course-info h3{font-size:17px}
  body.simple-workspaces .course-card .course-info p{font-size:13px}
  body.simple-workspaces .course-card .course-info .eyebrow{font-size:11px}
  body.simple-workspaces .filter-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
  body.simple-workspaces .filter-chips>button{white-space:nowrap;min-height:44px;font-size:12px;padding:10px 14px}
  body.simple-workspaces .simple-store .store-card p{font-size:13px;min-height:0}
  body.simple-workspaces .simple-store .store-card .btn{font-size:13px;min-height:44px}
  body.simple-workspaces .simple-store .store-card>div{padding:16px}
  body.simple-workspaces .agenda-row strong{font-size:13px}
  body.simple-workspaces .agenda-row small{font-size:11px}
  body.simple-workspaces .calendar-bar{padding:12px;gap:12px}
  body.simple-workspaces .calendar-bar .month-switch .icon{min-width:44px;width:44px}
  body.simple-workspaces .month-switch strong{font-size:13px}
  body.simple-workspaces .month-switch .btn{font-size:12px;min-height:44px}
  body.simple-workspaces .segmented>button{min-height:44px;font-size:12px}
  body.simple-workspaces .day-number{min-height:44px;font-size:12px}
  body.simple-workspaces .standard-month .cal-day{min-height:96px}
  body.simple-workspaces .standard-month .weekday{font-size:11px}
  .mobile-day-count{font-size:9px;line-height:1.5;color:var(--mv-muted);width:100%;text-align:center;overflow-wrap:anywhere}
  .mobile-action-list>button>span:first-child{min-width:0}
  .mobile-action-list strong,.mobile-action-list small{display:block}
  .mobile-action-list strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}
  .mobile-action-list small{font-size:12px;color:var(--mv-muted);margin-top:4px}
  body.simple-workspaces .cover-editor{display:flex;flex-direction:column;gap:20px}
  body.simple-workspaces .cover-form{padding:16px}
  body.simple-workspaces .mobile-cover-preview .cover-preview{max-width:240px;margin:0 auto}
  body.simple-workspaces .cover-export{display:flex;justify-content:center;margin-top:12px}
  body.simple-workspaces .cover-export .btn{font-size:12px;min-height:44px}
  body.simple-workspaces .storage-hint{text-align:center;font-size:11px}
  body.simple-workspaces .setting-row strong{font-size:14px}
  body.simple-workspaces .setting-row small{font-size:12px}
  body.simple-workspaces .setting-row .btn{font-size:12px;min-height:44px}
  body.simple-workspaces .sample-play strong{font-size:14px!important}
  body.simple-workspaces .named-swipe-actions>.btn{font-size:13px;min-height:48px}
  body.simple-workspaces .discovery-details{padding:16px}
  body.simple-workspaces .discovery-details>p{font-size:14px;line-height:1.6}
  body.simple-workspaces .discovery-photo{height:200px}
}
@media(max-width:360px){.mobile-brand>span{font-size:14px}.mobile-brand{gap:4px}body.simple-workspaces .workspace-heading .workspace-actions .btn{font-size:11px;padding:10px}.mobile-bottom-nav{padding-left:4px;padding-right:4px}.mobile-bottom-nav>a{font-size:9px}.mobile-resume-row{gap:12px}.mobile-resume-row>img,.mobile-cover-play{width:80px;height:88px}body.simple-workspaces .social-post-header>.social-follow{font-size:10px;padding:6px}}
@media(prefers-reduced-motion:reduce){.mobile-bottom-nav *{transition:none!important;animation:none!important}}

/* Native file inputs must not impose their intrinsic width on mobile forms. */
@media(max-width:760px){
 body.simple-workspaces dialog .stack{grid-template-columns:minmax(0,1fr)}
 body.simple-workspaces dialog :is(.stack,.two-col,.field)>*{min-width:0;max-width:100%}
 body.simple-workspaces dialog .field{grid-template-columns:minmax(0,1fr)}
 body.simple-workspaces dialog .upload-zone{min-width:0;width:100%;overflow-wrap:anywhere}
 body.simple-workspaces :is(dialog,.cover-form) input[type=file]{display:block;min-width:0;width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis;font:400 13px/1.5 var(--mv-font-body)}
 body.simple-workspaces input[type=file]::file-selector-button{max-width:100%;min-height:44px;margin:4px 8px 4px 0;padding:8px 12px;border:1px solid var(--mv-control-border);border-radius:var(--mv-radius-sm);background:var(--mv-subtle);color:var(--mv-text);font:500 12px var(--mv-font-body);cursor:pointer}
}
