.user-home-tools,.user-fund,.user-review{overflow-wrap:anywhere}
.user-home-tools,#homeHoldingsSection,#reviewWorkspacePanel,#overviewView>.panel:has(#homeChanges),#overviewView>.panel:has(#homeTodo){padding:20px;margin-top:16px}
#overviewView>.panel h2,#reviewWorkspacePanel h2{font-size:18px;line-height:1.5;margin:0 0 12px}
#overviewView>.panel .panel-heading,#reviewWorkspacePanel .panel-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}
#overviewView>.panel .panel-heading h2,#reviewWorkspacePanel .panel-heading h2{margin:0}
#homeHoldingsSection .panel-heading a{color:#245e46;text-decoration:none;font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.user-home-tools>p,#homeChanges p,#homeTodo p,#homeMissing p{font-size:14px;line-height:1.8}
#currentReportMode:not([hidden]){padding:12px 16px;border-radius:10px;background:#fff3d5;color:#775721;font-size:14px;line-height:1.7}
.user-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.user-toolbar>b{margin-right:auto}
.user-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0}
.user-facts>span{display:flex;flex-direction:column;gap:6px;color:var(--muted,#66766e);font-size:13px}
.user-facts b{font-size:19px;color:var(--ink,#233b30);font-variant-numeric:tabular-nums}
.user-action{font-size:22px;color:var(--ink,#233b30)}
.decision-cockpit .user-action{color:#fff}
.user-source-scope summary{font-size:12px;cursor:pointer;min-height:36px}
.user-report-note{font-size:13px;line-height:1.7;background:#f4f7f4;padding:10px;border-radius:8px}
#homePortfolioStrip{margin-bottom:14px;padding:16px}
#homePortfolioStrip .user-facts{margin:0 0 8px}
.user-fund-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.user-fund{padding:18px;border:1px solid var(--line,#dce6df);border-radius:14px;background:var(--paper,#fff)}
.user-fund-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}
.user-fund-heading h3{margin:0 0 5px;font-size:16px;line-height:1.5}
.user-fund-heading>strong{white-space:nowrap;font-size:18px}
.user-fund .user-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.user-fund .user-facts b{font-size:16px}
.user-fund-action{padding:10px;background:#f1f6f3;border-radius:8px;font-size:14px;line-height:1.7}
.user-fund small,.user-review small{font-size:12px;line-height:1.7;color:var(--muted,#66766e)}
.user-fund details{margin-top:12px}
.user-fund summary,.user-review summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:14px}
.user-fund details p{font-size:14px;line-height:1.8}
.user-review{padding:16px 0;border-bottom:1px solid var(--line,#dce6df)}
.user-review>div{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}
.user-review>div>span{font-size:12px;color:var(--muted,#66766e)}
.user-error{display:flex;gap:10px;align-items:center;color:#84512b;flex-wrap:wrap}
.user-error:has(#homeStatusMessage:empty){display:none}
.user-advanced-time summary{cursor:pointer;min-height:44px;font-size:13px}
.user-deep-context>summary,.user-research-extra>summary,.automation-panel>summary{padding:14px;min-height:44px;cursor:pointer;font-weight:600}
.user-deep-context>div,.user-research-extra>div{padding:0 16px 16px}
#homeHoldingsSection,#reviewWorkspacePanel{scroll-margin-top:90px}
#reviewConfirmForm{padding:14px;background:#f3f7f4;border-radius:12px;margin-top:12px}
#reviewConfirmForm[hidden]{display:none}
#reviewConfirmForm label{display:block;margin-bottom:12px}
#reviewConfirmForm input:not([type=checkbox]),#reviewConfirmForm textarea{width:100%;min-height:44px}
.mobile-user-nav,.mobile-more{display:none}
.app-frame main.loading{opacity:1;pointer-events:auto}
.app-frame main.loading #refreshButton{pointer-events:none}
@media(max-width:820px){
 .workspace-nav{display:none!important}
 .app-frame{display:block!important}
 main{padding-bottom:80px!important}
 .mobile-user-nav{position:fixed;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:8px 6px calc(8px + env(safe-area-inset-bottom));background:#fbfdfb;border-top:1px solid #dce6df;z-index:70}
 .mobile-user-nav button{min-height:48px;border:0;border-radius:10px;background:transparent;color:#365245;font-size:14px;min-width:0}
 .mobile-user-nav button.is-active{background:#17543b;color:#fff}
 .mobile-more:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;position:fixed;left:12px;right:12px;bottom:80px;max-height:65vh;overflow-y:auto;padding:18px;border:1px solid #dce6df;border-radius:16px;background:#fff;box-shadow:0 12px 40px #163c3326;z-index:69}
 .mobile-more h2{grid-column:1/-1;font-size:18px;margin:0 0 6px}
 .mobile-more button,.mobile-more a{min-height:44px;padding:10px;text-align:center;color:#214b38;background:#f2f7f3;border:0;border-radius:8px;font-size:14px;text-decoration:none}
 .user-fund-list{grid-template-columns:minmax(0,1fr)}
 .user-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .user-toolbar .button{min-height:44px;flex:1 1 135px}
 .user-toolbar>b{flex-basis:100%;font-size:15px}
 .user-fund{padding:14px}
 .decision-cockpit .hero-note,.decision-cockpit .rule-status{display:none}
 .decision-cockpit #cockpitEvidence{display:none}
 .decision-cockpit .cockpit-card{padding:12px}
 .decision-cockpit .cockpit-card p{margin:5px 0}
 .decision-cockpit .cockpit-grid{gap:8px}
 .decision-cockpit .cockpit-risk-value{font-size:18px}
 .decision-cockpit .date-controls #updatedAt{font-size:11px;line-height:1.5}
 #homePortfolioStrip .user-facts b{font-size:18px}
 .user-fund-heading{flex-wrap:wrap}
 .user-home-tools small{font-size:13px;line-height:1.8}
 button.button,button.text-button{min-height:44px}
 .top-actions-primary #holdingButton{display:none}
 #articleView .ar-feed-filters input,#articleView .ar-feed-filters select{font-size:16px;min-height:44px}
 #articleView .ar-reading-row p{font-size:14px;line-height:1.8}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
/* Keep older research tables hidden while another report version is selected. */
[data-version-pending="true"] > :not(summary):not(.research-read-state){display:none}
.research-read-state{margin:16px;padding:16px;border:1px solid #d6e3dc;border-radius:10px;background:#f3f8f5;color:#344d40;line-height:1.7}
.research-read-state[hidden]{display:none}
.research-read-state p{margin:0 0 10px}
.research-read-state a{margin-left:12px}
