/* R12: mobile first; one intake, a small reading desk, one secondary toolbox. */
html.leos-ux-preview #leosE83 #appShell #mainContent :is(#page-leo.ux-leo-focus-r12,#page-dashboard.ux-day-r12) {width:100%;max-width:880px!important;margin-left:auto!important;margin-right:auto!important;min-width:0;box-sizing:border-box}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .leo-shell {display:flex!important;flex-direction:column!important;gap:10px!important;max-width:100%;min-width:0}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .leo-hero {display:block!important;padding:0 2px!important;margin:0!important;min-height:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .leo-hero h1 {font-size:28px!important;line-height:1.2!important;margin:0!important;color:#203854!important;letter-spacing:-.02em}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .leo-chat-card {display:block!important;min-height:0!important;height:auto!important;max-height:none!important;padding:12px!important;min-width:0;border-radius:18px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 3px 16px rgba(25,54,110,.035)!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .leo-composer {padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;gap:8px!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 #leoInput {min-height:90px!important;margin:0!important;padding:10px 12px!important;max-height:260px!important;font:16px/1.45 system-ui,sans-serif!important;border-radius:12px!important;background:#f8fafd!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 #leoMicBtn {height:44px!important;width:44px!important;min-height:44px!important;margin-bottom:2px!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 #leoSendBtn {min-height:46px!important;padding:10px 12px!important;font-size:13px!important;margin:0!important;border-radius:12px!important;box-shadow:0 3px 10px rgba(35,66,170,.12)!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 #uxLeoIntakeStatus {display:block!important;font-size:11px!important;line-height:1.5!important;margin:7px 1px 0!important;overflow-wrap:anywhere}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 #uxLeoIntakeStatus:is([data-state="saved"],[data-state="error"]) {padding:9px 10px!important;font-size:12px!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 #uxVoiceR9:not([hidden]) {display:block!important;margin:9px 0 0!important;padding:9px 10px!important;border-radius:12px!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 #uxVoiceR9[hidden] {display:none!important}

html.leos-ux-preview #leosE83 .ux-r12-secondary {padding:0;margin:0 0 10px;min-width:0;border:1px solid #dce5ee;border-radius:15px;background:rgba(255,255,255,.82);color:#30495e;box-shadow:none;overflow:clip}
html.leos-ux-preview #leosE83 .ux-r12-secondary>summary {display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;min-height:48px;padding:10px 13px;box-sizing:border-box;font:600 13px/1.4 system-ui,sans-serif;cursor:pointer;color:#365679}
html.leos-ux-preview #leosE83 .ux-r12-secondary>summary::-webkit-details-marker {display:none}
html.leos-ux-preview #leosE83 .ux-r12-secondary>summary:after {content:'+';color:#168995;font-size:20px;font-weight:400}
html.leos-ux-preview #leosE83 .ux-r12-secondary[open]>summary:after {content:'−'}
html.leos-ux-preview #leosE83 .ux-r12-secondary[open]>summary {border-bottom:1px solid #e4ebf2}
html.leos-ux-preview #leosE83 .ux-r12-secondary-body {display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px}
html.leos-ux-preview #leosE83 .ux-r12-secondary>summary:focus-visible {outline:3px solid #40b9c6;outline-offset:-4px}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .ux-r12-secondary-body>* {order:0!important;margin:0!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .ux-r12-secondary-body>.leo-eyebrow {color:#5d768a!important;font-size:10px!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .ux-r12-secondary-body>p {font-size:12px!important;line-height:1.55!important;color:#617588!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .ux-r12-secondary-body>.leo-status {background:#eef5f8!important;color:#4c6b80!important;padding:7px 9px!important;align-self:flex-start!important;font-size:11px!important;white-space:normal!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .ux-r12-secondary-body>.leo-messages {max-height:280px!important;overflow:auto!important;padding:0!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .ux-r12-secondary-body>.ux-leo-r10-tools {grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 #uxHandoffsR9 {border-radius:12px!important;box-shadow:none!important}
html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .ux-r12-secondary-body>.leo-footnote {font-size:11px!important;line-height:1.5!important}

html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 .ux-greeting {margin:0 0 10px!important;gap:10px;align-items:center}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 .ux-greeting h1 {font-size:27px!important;line-height:1.15!important;margin:0 0 2px!important}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 .ux-greeting .ux-kicker {display:none}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 .ux-greeting p {font-size:11px!important;line-height:1.4!important;margin:0!important}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 .ux-leo-launch {min-height:56px!important;padding:10px 13px!important;border-radius:15px!important;margin:0 0 12px!important;gap:10px!important}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 .ux-leo-launch-copy strong {font-size:18px!important;line-height:1.3!important}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 .ux-leo-launch-copy>.ux-kicker,
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 .ux-leo-launch-copy>span:last-child {display:none!important}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 .ux-leo-jewel {height:34px!important;width:34px!important;flex:0 0 34px!important;border-radius:11px!important}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 .ux-leo-jewel svg {width:20px;height:20px}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 #uxTodaySecondaryR12 {margin-top:12px}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 #uxTodaySecondaryR12 .ux-focus-group {margin:0!important;box-shadow:none!important;border-radius:13px}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 #uxTodaySecondaryR12 .ux-focus-summary {min-height:60px;padding:11px 12px;gap:9px}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 #uxTodaySecondaryR12 .ux-focus-description {display:none}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 #uxTodaySecondaryR12 .dashboard-priority-strip {margin:0!important}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 #uxTodaySecondaryR12 .ux-today-shortcuts {margin:0!important}
html.leos-ux-preview #leosE83 #page-dashboard.ux-day-r12 #uxTodaySecondaryR12 .coverage-banner:empty {display:none}
html.leos-ux-preview #leosE83 .ux-workboard-host-r12 {min-width:0;max-width:100%}
html.leos-ux-preview.ux-on-leo-r12 #leosE83 #uxLeoButton {display:none!important}
html.leos-ux-preview #leosE83 .ux-header-actions>.ux-icon-button {width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;flex:0 0 44px!important;padding:0!important;box-sizing:border-box!important}
html.leos-ux-preview #leosE83 .ux-header-actions {gap:6px!important}
@media(min-width:700px){
 html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .leo-hero h1 {font-size:30px!important}
 html.leos-ux-preview #leosE83 #appShell #mainContent #page-leo.ux-leo-r10.ux-leo-focus-r12 .leo-chat-card {padding:16px!important}
 html.leos-ux-preview #leosE83 .ux-r12-secondary-body {padding:14px}
}
@media(max-width:390px){
 html.leos-ux-preview #leosE83 .ux-header {gap:7px;padding-left:12px;padding-right:10px}
 html.leos-ux-preview #leosE83 .ux-header .ux-return-button {min-width:84px;max-width:108px}
 html.leos-ux-preview #leosE83 .ux-header-context {gap:5px}
 html.leos-ux-preview #leosE83 .ux-preview-pill {padding-left:6px;padding-right:6px;font-size:9px}
}
