/* Agent Hub readability floor and release 5 components. Loaded after every
   other Hub stylesheet: reading text about 16px, nothing below 14px.
   Theme preview thumbnails (.ht-swatch/.ht-preview-*) keep their scale. */
body.hub-workspace{font-size:16px;line-height:1.6}
body.hub-workspace main :is(p,li,dd,td,th,label,.prose,.postbody,.intro,.notice,.empty p,.list-item p,.hn-team-note,.ht-featured-copy p,.ht-status>p,.ht-empty p,.ht-theme-copy p,.ht-preferences-link p){font-size:16px!important;line-height:1.6}
body.hub-workspace :is(small,.eyebrow,.tag,.pagehint,.calendar-footnote,.timezone-label,.update-label,.hn-secondary-links,.hn-secondary-links a,.hn-tool-link small,.hn-tool-link strong,.hn-crm-link,.sidebar .hn-primary-item,.nav-link,.crumb,.search input,.search input::placeholder,.bottom-nav a,.profile .hn-mobile-account,.hm-conv-preview,.hm-conv-first time,.hm-conv-last,.hm-message-time,.hm-date,.hm-receipt,.hm-header-copy>span,.hm-sender-name,.hm-file small,.hm-file strong,.hm-mention-results button,.hm-filters button,.hm-sample-label,.ht-eyebrow,.ht-back,.ht-private-note,.ht-current-mark,.ht-textbutton,.ht-reset,.ht-filters button>span,.ht-theme-detail,.ht-preview-bar strong,.ht-preview-bar span,button,.button,.textbutton,select,input,textarea){font-size:max(14px,1em)!important}
body.hub-workspace :is(.hm-bubble,.hm-conv-first strong,.sidebar .hn-primary-item,.nav-link){font-size:16px!important}
body.hub-workspace :is(.hn-tool-link small,.hn-secondary-links,.pagehint,small){font-size:14px!important}
body.hub-workspace :is(.hn-tool-link strong,.hn-crm-link){font-size:16px!important}
body.hub-workspace input,body.hub-workspace select,body.hub-workspace textarea{font-size:16px!important}

/* Contracting is a primary destination. */
body.hub-workspace .sidebar .hn-nav-contracting{font-weight:750}

/* Quiet staff-only link under Open CRM. */
.hub-workspace .hn-staff-link{display:flex;align-items:center;gap:8px;min-height:40px;margin-top:6px;padding:6px 12px;border-radius:8px;color:inherit;opacity:.78;font-size:14px!important;font-weight:600;text-decoration:none}
.hub-workspace .hn-staff-link:hover,.hub-workspace .hn-staff-link:focus-visible{opacity:1;background:rgba(122,31,43,.07);text-decoration:underline}
.hub-workspace .hn-staff-link .i{width:16px;height:16px}

/* Five Messages & Community subchats. */
.hub-workspace .nh-community-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.hub-workspace .nh-community-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid #d9cfc0;border-radius:999px;background:#fff;color:#4b1a22;font-size:15px!important;font-weight:650;text-decoration:none}
.hub-workspace .nh-community-nav a.nh-subchat{border-color:#7a1f2b}
.hub-workspace .nh-community-nav a:hover,.hub-workspace .nh-community-nav a:focus-visible{background:#7a1f2b;color:#fff}

/* Weekly training schedule with Add to calendar. */
.hub-workspace .nh-training-weekly{margin:0 0 20px;padding:18px;border:1px solid #e4dccf;border-radius:12px;background:#fff}
.hub-workspace .nh-weekly-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:10px}
.hub-workspace .nh-weekly-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #efe8dd}
.hub-workspace .nh-weekly-list li:first-child{border-top:0}
.hub-workspace .nh-weekly-list strong{display:block;font-size:17px}
.hub-workspace .nh-weekly-list span{display:block;color:#56616a;font-size:15px}
@media (max-width:640px){.hub-workspace .nh-weekly-list li{flex-direction:column;align-items:flex-start}}

/* Large Resources boxes: easier to scan during calls. */
.hub-workspace .hn-resource-shortcuts .hn-tool-link{min-height:96px;padding:18px 20px}
.hub-workspace .hn-resource-shortcuts .hn-tool-link strong{font-size:18px!important}
.hub-workspace .hn-resource-shortcuts .hn-tool-link small{font-size:15px!important;line-height:1.45}

/* Help: Agent Support and Technical Support side by side. */
.hub-workspace .nh-support-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:0 0 22px}
.hub-workspace .nh-support-split section{padding:20px;border:1px solid #e4dccf;border-radius:12px;background:#fff}
.hub-workspace .nh-support-split h2{margin:4px 0 8px;font-size:21px}
.hub-workspace .nh-weekly-list li>div:first-child span+span{margin-top:2px}
.hub-workspace .nh-weekly-actions{display:flex;flex-wrap:wrap;gap:8px;flex:none}
.hub-workspace .nh-weekly-pending strong{color:#56616a}

/* Pinned community posts, separate from the subchat shortcuts. */
.hub-workspace .nh-pinned{margin:0 0 18px;padding:16px 18px;border:1px solid #e9d9a8;border-radius:12px;background:#fffaf0}
.hub-workspace .nh-pinned-post{padding:10px 0;border-top:1px solid #f0e6c8}
.hub-workspace .nh-pinned-post:first-of-type{border-top:0}
body.hub-workspace :is(kbd,.powered,.powered *,.hc-brand-foot,.hc-brand-foot *,[class^="hc-"] small,[class*=" hc-"] small){font-size:14px!important}
body.hub-workspace :is(.hc-hero-label span,.hc-quicklinks span,.hc-quicklinks a,.hga-eyebrow,.hga-status,.hga-intro span,.hc-label,.hc-topic-note,.hc-topics a span,.hc-row-copy span,.hc-primary,.hc-footer span,.hc-search button span,main button>span,.lp-settings-actions a,.lp-settings-actions+span,.ht-theme-mood,.ht-applied,.ht-preview-caption,.ht-gallery-foot span,.ht-gallery-foot a,.ht-error span){font-size:14px!important}
body.hub-workspace .hc-row-copy strong{font-size:17px!important}
/* G34: Account & Access shortcut titles 16-18px (beats the older 14px rule). */
html body.hub-workspace .hn-account-links .hn-tool-link strong,html body.hub-workspace .hn-account-shortcuts .hn-tool-link strong{font-size:17px!important}
html body.hub-workspace .hn-account-links .hn-tool-link small{font-size:15px!important}
/* G39 */
.hub-workspace .tmbrand .hn-tagline{display:block;margin-top:4px;font-size:14px;letter-spacing:.04em;color:#7a1f2b;font-weight:650}
.hub-workspace .nh-help-path{margin:0 0 12px;font-size:15px;color:#3b4650}
/* G24: the personal next step leads Home. */
.hub-workspace .hx-next-action{margin:0 0 20px;padding:20px;border:2px solid #7a1f2b;border-radius:14px;background:#fff}
.hub-workspace .hx-next-action h2{margin:6px 0;font-size:22px}
.hub-workspace .hx-next-action p{margin:0 0 12px}
