/* V24: a small set of clear starting points, with depth one step away. */
.cm-overview.sh-home .cm-page-head { margin-bottom: 18px; }
.cm-overview.sh-home .cm-page-head h1 { margin: 0; font-size: 27px; }
.cm-overview.sh-home .cm-overview-hero { min-height: 0; padding: 25px 30px; }
.cm-overview.sh-home .cm-overview-hero .cm-hero-content { max-width: 74%; }
.cm-overview.sh-home .cm-overview-hero .cm-hero-kicker { margin-bottom: 14px; }
.cm-overview.sh-home .cm-overview-hero h2 { font-size: clamp(29px, 3vw, 43px); line-height: 1.12; letter-spacing: -.04em; margin-bottom: 13px; }
.cm-overview.sh-home .cm-hero-personality { font-size: 12px; margin-bottom: 3px; }
.cm-overview.sh-home .cm-overview-hero p { max-width: 620px; font-size: 12px; margin: 0; line-height: 1.55; }
.cm-overview.sh-home .cm-hero-visual { width: 30%; opacity: .7; }
.cm-overview.sh-home .cm-hero-visual :is(.cm-hero-art, .cb-circle-cover-art) { height: 100%; }
.sh-primary-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 12px; }
.sh-primary-actions > button, .sh-resource-link { display: flex; align-items: center; gap: 13px; padding: 19px; background: var(--cm-surface, #12161c); color: var(--text); border: 1px solid var(--cm-border, #ffffff0d); border-radius: var(--circle-card-radius, 16px); text-align: left; min-width: 0; transition: background .16s, border-color .16s; }
.sh-primary-actions > button > span:nth-child(2), .sh-resource-link > span:nth-child(2) { min-width: 0; flex: 1; }
.sh-primary-actions strong { display: block; font-size: 15px; font-weight: 570; letter-spacing: -.2px; }
.sh-primary-actions small { display: block; margin-top: 5px; color: var(--cm-secondary, #99a2ae); font-size: 11px; line-height: 1.5; }
.sh-primary-actions small i { font-style: normal; opacity: .55; }
.sh-primary-actions > button:last-child small { text-transform: lowercase; }
.sh-action-icon, .sh-resume-icon { flex: none; width: 37px; height: 37px; border-radius: 11px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.sh-primary-actions > button > svg, .sh-resource-link > svg, .sh-resume > svg { flex: none; color: #8995a3; }
.sh-primary-actions > button:hover, .sh-resource-link:hover, .sh-resume:hover { background: var(--cm-hover, #191f27); border-color: color-mix(in srgb, var(--accent) 30%, #ffffff10); }
.sh-resume { display: flex; align-items: center; gap: 13px; width: 100%; padding: 15px 18px; border: 1px solid var(--cm-border, #ffffff0d); border-radius: var(--circle-card-radius, 16px); background: color-mix(in srgb, var(--accent) 3%, #12161c); text-align: left; color: var(--text); }
.sh-resume-copy { min-width: 0; flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 11px; align-items: center; }
.sh-resume-copy > small { grid-column: 1 / -1; color: var(--cm-secondary, #99a2ae); font-size: 10px; }
.sh-resume-copy > strong { font-size: 13px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-resume-copy > span { font-size: 12px; color: #8f9aa8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-resume-count { font-size: 10px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); padding: 5px 7px; border-radius: 6px; flex: none; }
.sh-home-summary { display: flex; gap: 15px; align-items: center; padding: 13px 2px 24px; color: var(--cm-tertiary, #7f8996); font-size: 10px; }
.sh-home-summary i { padding: 0 5px; font-style: normal; }
.sh-home-summary > button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; background: transparent; color: #bac4cf; font-size: 11px; margin-left: auto; }
.sh-home-summary > button strong { font-weight: 550; }
.cm-overview.sh-home .cm-feed-heading { margin-bottom: 9px; min-height: 29px; }
.cm-overview.sh-home .cm-feed-heading h2 { font-size: 20px; margin: 0; }
.cm-overview.sh-home .cm-composer { grid-template-columns: auto minmax(0, 1fr) auto; }
.sh-home-disclosure { border: 1px solid var(--cm-border, #ffffff0d); border-radius: var(--circle-card-radius, 16px); overflow: hidden; }
.sh-home-disclosure > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; padding: 18px; min-height: 58px; color: #c6d0db; font-size: 12px; }
.sh-home-disclosure > summary::-webkit-details-marker, .sh-account-details > summary::-webkit-details-marker { display: none; }
.sh-home-disclosure > summary > span { display: inline-flex; align-items: center; gap: 10px; }
.sh-home-disclosure > summary > span:last-child { color: #8693a1; font-size: 11px; }
.sh-home-disclosure > summary > span:last-child svg, .sh-account-details > summary > svg { transform: rotate(90deg); }
.sh-home-disclosure[open] > summary > span:last-child svg, .sh-account-details[open] > summary > svg { transform: rotate(-90deg); }
.sh-home-disclosure[open] > summary { border-bottom: 1px solid var(--cm-border, #ffffff0d); }
.sh-resource-link { width: 100%; gap: 11px; padding: 17px; }
.sh-resource-link strong { display: block; font-size: 12px; line-height: 1.5; font-weight: 550; }
.sh-resource-link small { display: block; font-size: 10px; line-height: 1.5; color: #929eac; margin-top: 3px; }
:is(.sh-primary-actions, .sh-home-summary) button:focus-visible, :is(.sh-resume, .sh-resource-link, .sh-home-disclosure > summary, .sh-account-details > summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* The same three actions on mobile; account detail is available on demand. */
:is(.m-native, .m-phone) .sh-mobile-home .mh-welcome { min-height: 0; padding: 3px 0 16px; }
:is(.m-native, .m-phone) .sh-mobile-home .m-greeting { margin-bottom: 10px; }
:is(.m-native, .m-phone) .sh-mobile-home .mh-welcome h2 { font-size: 27px; line-height: 1.12; }
:is(.m-native, .m-phone) .sh-mobile-home .mh-search { margin-bottom: 12px; }
:is(.m-native, .m-phone) .sh-mobile-home .mh-quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 14px; gap: 9px; }
:is(.m-native, .m-phone) .sh-mobile-home .mh-quick-actions > button { position: relative; min-height: 99px; padding: 12px 6px 22px; gap: 7px; background: var(--em-surface, #12161c); border: 1px solid var(--em-line, #ffffff0d); border-radius: 13px; color: var(--em-text, #e8edf2); }
:is(.m-native, .m-phone) .sh-mobile-home .mh-quick-actions > button > svg { width: 31px; height: 31px; padding: 5px; background: transparent; border: 0; color: var(--accent); }
:is(.m-native, .m-phone) .sh-mobile-home .mh-quick-actions > button > small { position: absolute; bottom: 7px; font-size: 8px; color: var(--em-muted, #99a2ae); }
:is(.m-native, .m-phone) .sh-mobile-home .sh-resume { margin-bottom: 16px; padding: 13px; gap: 10px; }
:is(.m-native, .m-phone) .sh-mobile-home .sh-resume-copy { grid-template-columns: minmax(0, 1fr); gap: 4px; }
:is(.m-native, .m-phone) .sh-mobile-home .sh-resume-copy > span { font-size: 10px; }
:is(.m-native, .m-phone) .sh-mobile-home .sh-resume-copy > strong { font-size: 12px; }
:is(.m-native, .m-phone) .sh-mobile-home .sh-resume-icon { width: 30px; height: 30px; border-radius: 9px; }
:is(.m-native, .m-phone) .sh-mobile-home .mh-balance { margin-bottom: 24px; padding: 12px 16px 0; }
:is(.m-native, .m-phone) .sh-mobile-home .mh-equity-title { margin-top: 5px; }
:is(.m-native, .m-phone) .sh-mobile-home .mh-balance .m-portfolio-value { font-size: 30px; margin-bottom: 10px; }
.sh-account-details > summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; min-height: 43px; border-top: 1px solid var(--em-line, #ffffff0d); color: #adb7c4; font-size: 11px; cursor: pointer; list-style: none; }
.sh-account-details[open] > summary { margin-bottom: 10px; }
:is(.m-native, .m-phone) .sh-mobile-home .mh-position-link { width: calc(100% + 32px); margin: 0 -16px; padding-inline: 16px; }
.sh-portfolio-link { display: flex; align-items: center; justify-content: space-between; min-height: 44px; width: 100%; background: transparent; color: #bcc7d4; font-size: 11px; }
:is(.m-native, .m-phone) .sh-mobile-home .mh-invite { margin: 17px 0; padding: 13px 12px; }
@media(max-width:1100px) {
  .sh-primary-actions > button { padding: 16px 13px; gap: 10px; }
  .sh-primary-actions small { font-size: 10px; }
  .sh-primary-actions .sh-action-icon { width: 31px; height: 31px; }
  .sh-primary-actions > button > svg { display: none; }
  .sh-home-summary { flex-wrap: wrap; gap: 3px 14px; }
}
@media(max-width:850px) {
  .cm-overview.sh-home .cm-overview-hero { padding: 22px; }
  .cm-overview.sh-home .cm-overview-hero .cm-hero-content { max-width: 88%; }
  .cm-overview.sh-home .cm-hero-visual { width: 33%; opacity: .38; }
  .cm-overview.sh-home .cm-overview-aside { display: flex; flex-direction: column; }
}
@media(max-width:620px) {
  .cm-overview.sh-home .cm-overview-hero h2 { font-size: 29px; }
  .cm-overview.sh-home .cm-overview-hero .cm-hero-content { max-width: 100%; }
  .sh-primary-actions { gap: 8px; }
  .sh-primary-actions > button { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sh-primary-actions strong { font-size: 13px; }
  .sh-primary-actions small { font-size: 9px; }
  .sh-resume-copy { grid-template-columns: minmax(0, 1fr); }
  .sh-home-summary > span:first-child { width: 100%; }
}
@media(prefers-reduced-motion:reduce) {
  .sh-primary-actions > button, .sh-resource-link, .sh-resume { transition: none; }
}
