/* TMV shared typography. One scale across public, member and admin screens. */
@font-face{font-family:"Plus Jakarta Sans";src:url("fonts/plus-jakarta-400.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Plus Jakarta Sans";src:url("fonts/plus-jakarta-700.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
:root{--tmv-font:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;--tmv-body:1rem;--tmv-small:.875rem;--tmv-caption:.8125rem;--tmv-title:clamp(1.875rem,2.5vw,2.75rem);--tmv-section:clamp(1.5rem,2vw,1.875rem);--tmv-card:1.1875rem}
html{font-size:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--tmv-font)!important;font-size:var(--tmv-body)!important;font-weight:400;line-height:1.65!important}
body :where(button,input,select,textarea,table){font-family:var(--tmv-font)!important}
body:not(.tmv-print-document) :where(h1,h2,h3,h4){font-family:var(--tmv-font)!important;font-weight:700!important;letter-spacing:-.025em!important;text-wrap:balance;overflow-wrap:break-word}
body:not(.tmv-print-document) h1{font-size:var(--tmv-title)!important;line-height:1.2!important}
body:not(.tmv-print-document) h2{font-size:var(--tmv-section)!important;line-height:1.3!important}
body:not(.tmv-print-document) h3{font-size:var(--tmv-card)!important;line-height:1.4!important}
body:not(.tmv-print-document) h4{font-size:1.0625rem!important;line-height:1.4!important}
body:not(.tmv-print-document) :where(p,li,dd,textarea){font-size:var(--tmv-body)!important;line-height:1.65!important}
body:not(.tmv-print-document) :where(label,dt){font-size:.9375rem!important;line-height:1.5!important}
body:not(.tmv-print-document) :where(input,select,textarea){font-size:1rem!important;line-height:1.5!important}
body:not(.tmv-print-document) :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){min-height:46px}
body:not(.tmv-print-document) :where(button,.button,.primary,.btn,.community-link,.webinar-action){font-size:.9375rem!important;line-height:1.45!important}
body:not(.tmv-print-document) :where(small,.muted,.meta,.help-text,.form-hint,.hint,.member-tour-meta,.webinar-meta,.section-description,.intro-copy p,.document-hint){font-size:var(--tmv-small)!important;line-height:1.6!important}
body:not(.tmv-print-document) :where(td){font-size:.9375rem!important;line-height:1.55!important}
body:not(.tmv-print-document) :where(th){font-size:var(--tmv-caption)!important;line-height:1.5!important;letter-spacing:.025em!important}
body:not(.tmv-print-document) :where(.eyebrow,.sidebar-label,.header-breadcrumb,.header-page,.section-kicker,.page-kicker,.welcome-eyebrow,.webinar-badge,.badge,.verification-pill,.member-tour-status,.tmv-services-eyebrow,.tt-kicker){font-size:var(--tmv-caption)!important;line-height:1.5!important;letter-spacing:.06em!important}
body:not(.tmv-print-document) :where([class~="text-xs"],[class~="text-sm"],[class*="text-[10px]"],[class*="text-[11px]"],[class*="text-[12px]"]){font-size:var(--tmv-small)!important;line-height:1.55!important}
/* Compact screens keep a readable scale; they wrap instead of shrinking text. */
.admin-sidebar nav a,.desktop-member-nav>a{font-size:.9375rem!important;line-height:1.5!important}
.admin-top span,.page-heading>div>span,.page-heading time,.welcome-person small{font-size:var(--tmv-caption)!important;line-height:1.5!important}
.admin-top h1,.page-heading h1{font-size:2rem!important;line-height:1.25!important}
.panel h2,.essentials-panel h2{font-size:1.5rem!important}
.welcome-person h2{font-size:1.5rem!important;line-height:1.35!important}
.stat>span,.stat a,.setup-item strong,.panel-heading a,.panel-heading .muted,.status-list li{font-size:var(--tmv-small)!important}
.member-identity strong{font-size:1rem!important;line-height:1.5!important}
.member-identity>div>span,.member-identity button,.member-doc-card>.primary,.member-tour-copy .primary{font-size:var(--tmv-small)!important;line-height:1.5!important}
.member-tour-copy h3,.community-card h3,.member-doc-card h3{font-size:1.125rem!important;line-height:1.45!important}
.dashboard-expander summary strong{font-size:1rem!important;line-height:1.5!important}
.tmv-countdown-digits b{font-size:1.875rem!important;line-height:1.25!important}
.tmv-countdown-digits small{font-size:var(--tmv-caption)!important;line-height:1.5!important}
.member-identity button{min-height:40px!important}
.tt-dialog-bar strong{font-size:1rem!important;line-height:1.5!important}
.portal-foot,.portal-foot strong,.portal-foot span,.portal-foot nav,.admin-footer,.view-site{font-size:var(--tmv-caption)!important;line-height:1.6!important}
.document-toolbar,.document-toolbar a,.document-toolbar button,.document-hint{font-size:var(--tmv-small)!important;line-height:1.6!important}
/* Fixed physical certificate/ID artwork keeps its own print dimensions. */
.tmv-print-document .certificate,.tmv-print-document .member-id{font-family:var(--tmv-font)!important}
@media(max-width:760px){
 .admin-top h1,.page-heading h1{font-size:1.75rem!important}
 .admin-top{gap:12px!important}
 .admin-top span{letter-spacing:.08em!important}
 .webinar-info h2{font-size:1.5rem!important;line-height:1.35!important}
 .welcome-person h2{font-size:1.375rem!important}
 .webinar-meta{gap:8px 12px!important;flex-wrap:wrap}
 .member-tour-copy{padding:16px 14px!important}
 .member-tour-copy .primary,.webinar-action,.community-link{min-height:44px!important}
 .member-tour-card{grid-template-columns:minmax(0,1fr)!important}
 .member-tour-art{min-height:170px!important}
 .community-card{grid-template-columns:36px minmax(0,1fr)!important}
 .community-link{grid-column:2!important;grid-row:auto!important;justify-self:start}
 .mobile-member-nav a{font-size:.75rem!important;line-height:1.4!important}
 .member-identity{gap:12px!important;flex-wrap:wrap}
 .member-doc-grid{grid-template-columns:minmax(0,1fr)!important}
 .document-toolbar{flex-wrap:wrap;gap:10px}
}
@media print{
 .tmv-print-document{font-family:var(--tmv-font)!important}
}
/* Tables keep one member per row; the table scrolls locally on narrow screens. */
.admin-layout .admin-content .tmv-compact-list{min-width:860px!important}
.admin-layout .tmv-compact-list .mp-col-sr{width:50px!important}
.admin-layout .tmv-compact-list .mp-col-name{width:190px!important}
.admin-layout .tmv-compact-list .mp-col-mobile{width:155px!important}
.admin-layout .tmv-compact-list .mp-col-upline{width:375px!important}
.admin-layout .tmv-compact-list .mp-col-edit{width:90px!important}
.mp-number,.mp-truncate,.ta-table td>strong,.ta-table td>span:not(.ta-badge){font-size:.9375rem!important;line-height:1.55!important}
.mp-edit,.mp-doc-actions a,.ta-actions a,.ta-member-actions a,.ta-tabs a,.tr-help{font-size:.875rem!important;line-height:1.5!important;min-height:44px!important;padding:8px 12px!important}
.mp-doc-actions .mp-doc-full{display:inline!important}.mp-doc-actions .mp-doc-short{display:none!important}
.ta-eyebrow,.ta-badge,.tr-caption,.ta-table small{font-size:.8125rem!important;line-height:1.55!important}
.welcome-card{flex-wrap:wrap!important}.welcome-person{min-width:0;flex:1 1 250px}.member-identity{max-width:100%;flex-wrap:wrap!important}
.portal-foot{flex-wrap:wrap!important;gap:14px!important}.portal-foot nav{flex-wrap:wrap!important}
.section-title{flex-wrap:wrap!important}.essentials-panel .section-title{width:100%}.essentials-panel .section-title h2{font-size:1.5rem!important;max-width:100%}
.community-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important}

/* Compact member welcome card on mobile: flex-basis must never become card height. */
@media screen and (max-width:600px){
 body .portal-main #dashboard-top.welcome-card{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;align-content:start!important;align-items:center!important;gap:7px 12px!important;height:auto!important;min-height:0!important;margin:0 0 14px!important;padding:16px!important;border-radius:16px!important;max-width:100%!important;background:linear-gradient(120deg,#fff 65%,#f5f1ff)!important}
 #dashboard-top.welcome-card .welcome-person{display:contents!important;flex:initial!important;min-height:0!important;height:auto!important}
 #dashboard-top.welcome-card .welcome-person>.member-avatar{grid-column:1!important;grid-row:1 / span 2!important;display:grid!important;place-items:center!important;align-self:start!important;width:42px!important;height:42px!important;min-height:0!important;border-radius:50%!important;background:#eee7ff!important;color:#6835c4!important;font-size:21px!important}
 #dashboard-top.welcome-card .welcome-person>div{grid-column:2!important;grid-row:1!important;min-width:0!important}
 #dashboard-top.welcome-card .welcome-person h2{font-size:18px!important;line-height:1.4!important;letter-spacing:-.025em!important;margin:0!important;overflow-wrap:anywhere!important}
 #dashboard-top.welcome-card .verification-pill{grid-column:2!important;grid-row:2!important;justify-self:start!important;align-self:start!important;margin:0!important;padding:3px 8px!important;font-size:10px!important;line-height:1.5!important;letter-spacing:.015em!important;border-radius:6px!important}
 #dashboard-top.welcome-card .member-identity{grid-column:1 / -1!important;grid-row:3!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex:initial!important;flex-wrap:nowrap!important;gap:12px!important;min-width:0!important;max-width:100%!important;margin:6px 0 0!important;padding:12px 0 0!important;border:0!important;border-top:1px solid #eae3f6!important}
 #dashboard-top.welcome-card .member-identity>div{display:block!important;min-width:0!important;white-space:normal!important}
 #dashboard-top.welcome-card .member-identity>div>span{display:block!important;font-size:10px!important;line-height:1.4!important;color:#817392!important;font-weight:500!important;letter-spacing:.04em!important;margin-bottom:3px!important}
 #dashboard-top.welcome-card .member-identity strong{display:block!important;font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere!important;white-space:normal!important}
 #dashboard-top.welcome-card .member-identity button{width:auto!important;flex:0 0 auto!important;min-width:66px!important;min-height:40px!important;padding:8px 12px!important;font-size:12px!important;border-radius:9px!important;background:#f6f2ff!important;border:1px solid #ded2f6!important}
 body .portal-main .page-heading h1{font-size:24px!important;line-height:1.3!important}
}
