/* Task-first interface. Keep the shared shell and existing media behavior. */
:root{--ux-control:44px;--ux-focus:#8f1f2d}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--ux-focus);outline-offset:3px}
:where(input,select,textarea,button,summary){scroll-margin-block:100px}
.mobile-nav button{position:relative}
.mobile-nav .mobile-unread{position:absolute;top:0;left:calc(50% + 8px);margin:0;min-width:19px;height:19px;border:2px solid #fff;font-size:10px;pointer-events:none}
.discovery-learning{font-size:13px;color:#6c6259;margin:0 0 18px;border-bottom:1px solid var(--line);padding:0 0 8px}
.discovery-learning>summary{cursor:pointer;min-height:44px;align-content:center}
.discovery-learning p{line-height:1.6;margin:8px 0}.discovery-learning .text-button{min-height:44px}
.discovery-learning .discovery-sources{margin-bottom:8px}
.workspace-heading .eyebrow{margin-bottom:5px}.workspace-heading h1{margin-bottom:8px}
.workspace-sections{gap:16px;flex-wrap:wrap;margin-bottom:12px}.workspace-sections button{min-height:44px}
.workspace-notifications{padding:0 12px;margin:0 0 14px;border-color:#e7e1da;background:transparent}
.workspace-notifications>summary{font-size:12px;min-height:44px}
.workspace-toolbar{margin:10px 0 12px}
.workspace-toolbar #workspace-refresh{min-width:44px;min-height:44px;justify-content:center}
.workspace-search-row{margin-bottom:10px}
.workspace-search-row input{width:100%;min-height:48px;border:1px solid #ded6cd;border-radius:12px;background:#fff;font:inherit;font-size:15px;padding:12px 15px}
.workspace-advanced{margin-bottom:18px;border:1px solid #e5ded5;border-radius:12px;padding:0 14px;font-size:13px}
.workspace-advanced>summary{min-height:44px;align-content:center;cursor:pointer;color:#665d54}
.workspace-advanced[open]{padding-bottom:12px}.workspace-advanced .workspace-focus{margin-top:12px}
.workspace-advanced .workspace-filters{grid-template-columns:1fr 1fr;margin:14px 0 0}.workspace-advanced .workspace-filters label{grid-column:auto}
.workspace-advanced .text-button{min-height:44px}
.workspace-case p{font-size:14px;color:#655d55;line-height:1.5}
.workspace-case-head strong{font-weight:650}.workspace-case-title{font-size:13px}
.workspace-case-tabs{gap:12px;flex-wrap:wrap}.workspace-case-tabs button{min-height:44px}
.thread-options{margin-left:auto;font-size:13px;min-width:0}.thread-options>summary{min-height:44px;align-content:center;cursor:pointer;color:#73685e}
.thread-options>div{display:flex;gap:12px;flex-wrap:wrap;padding:8px 0}.thread-options button{min-height:44px}
.composer-actions{display:flex;align-items:flex-start;gap:8px}.composer-actions>#send-message{margin-left:auto}
.composer-more{font-size:13px;flex:1;min-width:125px}.composer-more>summary{min-height:44px;align-content:center;cursor:pointer;border:1px solid #e3dcd4;border-radius:9px;padding:0 10px;color:#665c54}
.composer-more>div{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0}
.composer-guidance{font-size:12px;color:#7a7065;margin-top:8px}.composer-guidance>summary{min-height:36px;align-content:center;cursor:pointer}
.composer-guidance p{margin:6px 0;line-height:1.6}
.message-composer textarea{min-height:80px}.message-composer #message-status{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.new-message-jump{padding:12px;min-height:44px;background:#fff1f0;color:#9e2431;border-block:1px solid #f1d2d4}
.feature-help-icon{touch-action:manipulation}
@media(max-width:700px){
 .mobile-nav{grid-template-columns:repeat(4,minmax(0,1fr));padding-top:8px}
 .mobile-nav button{min-width:0;min-height:56px;font-size:11px}
 .discover-heading h1,.workspace-heading h1{font-size:30px}.discover-heading p{font-size:14px}
 .discover-heading .eyebrow,.workspace-heading .eyebrow{display:none}
 .discovery-learning{margin-bottom:12px}
 .listing-type-filter{margin-bottom:12px}.search-row{margin-bottom:12px}.filter-row{margin-bottom:12px}
 .discovery-view-switch{margin:12px 0 18px}
 .workspace-sections{gap:10px}.workspace-sections button{font-size:13px;padding:9px 0}
 .workspace-search-row input{font-size:16px}
 .workspace-perspectives{flex:1}.workspace-perspectives button{flex:1;min-height:44px;padding:8px;font-size:12px}
 .workspace-advanced .workspace-filters{grid-template-columns:1fr}.workspace-advanced .workspace-filters label{grid-column:auto}
 main.conversation-open{padding-top:12px}
 main.conversation-open>.workspace-heading,main.conversation-open>.workspace-sections,main.conversation-open>.workspace-notifications,
 main.conversation-open #workspace-content>.workspace-toolbar,main.conversation-open #workspace-content>.workspace-search-row,main.conversation-open #workspace-content>.workspace-advanced{display:none}
 .workspace-detail .thread-panel{min-height:0}.workspace-case-header{padding:12px}.workspace-case-header h2{font-size:19px}
 .workspace-case-tabs{padding:0 10px;gap:8px}.workspace-case-tabs button{font-size:12px}
 .workspace-detail .message-scroll{height:36dvh;min-height:140px;max-height:420px}
 .workspace-detail .composer-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px}
 .workspace-detail .composer-actions .button{min-height:44px;font-size:12px;width:auto;padding:10px}
 .workspace-detail .composer-actions #send-message{margin-left:auto}
 .composer-more{flex:1;min-width:120px}.composer-guidance>summary{min-height:44px}
 .message-composer{padding-bottom:20px!important}.message-composer textarea{font-size:16px;min-height:72px}
 .thread-options>summary{font-size:12px}
}
