/* RTR member dashboard. Theme resets apply only to the shortcode page. */
body.rtr-member-dashboard { background:#f8f6f1; }
body.rtr-member-dashboard :is(#wrapper,#inner-wrap,#content,#primary,.site-container,.content-container,.content-wrap,.content-area,.site-main,article.page,.entry-content-wrap,.entry.content-bg,.entry-content,.wp-site-blocks) { width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important; }
body.rtr-member-dashboard :is(#masthead,#colophon,.entry-header,.page-header,.primary-sidebar,.secondary-sidebar,header.wp-block-template-part,footer.wp-block-template-part) { display:none; }
.rtr-member-area { --rtr-toolbar:0px;--rtr-green:#3b7a3f;--rtr-orange:#d96c2c;display:grid;grid-template-columns:252px minmax(0,1fr);min-height:calc(100vh - var(--rtr-toolbar));min-height:calc(100dvh - var(--rtr-toolbar));background:#f8f6f1;color:#30372f;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.admin-bar .rtr-member-area { --rtr-toolbar:32px; }
.rtr-member-area[data-rtr-dashboard] { max-width:none;margin:0; }
.rtr-member-area *, .rtr-member-area *::before,.rtr-member-area *::after { box-sizing:border-box; }
.rtr-member-area [hidden] { display:none!important; }
.rtr-member-area :is(h1,h2,h3,p,dl,dd) { margin:0; }
.rtr-member-area a { color:var(--rtr-green);text-decoration:none; }
.rtr-member-area a:hover { text-decoration:underline; }
.rtr-member-area :is(a,button):focus-visible { outline:3px solid var(--rtr-orange);outline-offset:3px; }
.rtr-member-area svg { width:22px;height:22px;flex-shrink:0;vertical-align:middle; }
.rtr-member-area button { font:inherit;cursor:pointer; }
.rtr-ma-sidebar { position:sticky;top:var(--rtr-toolbar);height:calc(100dvh - var(--rtr-toolbar));display:flex;flex-direction:column;min-width:0;background:#fff;border-right:1px solid #e3e5dd; }
.rtr-ma-brand-row { min-height:94px;padding:22px 20px;display:flex;align-items:center;justify-content:space-between; }
.rtr-ma-brand { display:flex;align-items:center;gap:12px;line-height:1.25;color:#30372f!important;font-size:14px;font-weight:750; }
.rtr-ma-brand img { width:44px;height:44px;max-width:none;object-fit:contain; }
.rtr-ma-navigation { flex:1;overflow:auto;padding:4px 12px 16px; }
.rtr-ma-nav-group { padding:16px 0;border-bottom:1px solid #eeeee8; }
.rtr-ma-nav-group:last-child { border:0; }
.rtr-ma-group-title { padding:0 12px 10px!important;color:#858a80;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:1.6px; }
.rtr-ma-nav-link { min-height:46px;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:7px;color:#454b42!important;font-size:14px;line-height:1.4;margin:3px 0; }
.rtr-ma-nav-link svg { color:#6d8068; }
.rtr-ma-nav-link:hover { background:#f7f7f2;text-decoration:none!important; }
.rtr-ma-nav-link.is-current { color:#315e34!important;background:#edf4e9;font-weight:650; }
.rtr-ma-nav-link.is-current svg { color:var(--rtr-green); }
.rtr-ma-nav-link.is-disabled { opacity:.5; }
.rtr-ma-logout { color:#8a6351!important; }
.rtr-ma-sidebar-user { display:flex;gap:12px;align-items:center;padding:18px 20px;border-top:1px solid #eeeee8;color:#454b42!important; }
.rtr-ma-sidebar-user-copy { min-width:0;display:flex;flex-direction:column;font-size:12px;color:#858a80; }
.rtr-ma-sidebar-user-copy strong { font-size:14px;color:#454b42;overflow-wrap:anywhere; }
.rtr-ma-avatar { display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;background:#f1eee5;border-radius:50%;color:#7b765d; }
.rtr-ma-main { min-width:0; }
.rtr-ma-topbar { position:sticky;top:var(--rtr-toolbar);z-index:20;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:76px;padding:12px 32px;background:#fff;border-bottom:1px solid #e3e5dd; }
.rtr-ma-topbar-start,.rtr-ma-topbar-account { display:flex;gap:14px;align-items:center;min-width:0; }
.rtr-ma-topbar-account { color:#52584e!important;font-size:14px; }
.rtr-ma-topbar-account>span:last-child { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px; }
.rtr-ma-page-title { font-weight:650;font-size:15px; }
.rtr-ma-menu-toggle,.rtr-ma-close { display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid #e3e5dd;border-radius:8px;background:#fff;color:#53644e; }
.rtr-ma-ready .rtr-ma-menu-toggle { display:inline-flex; }
.rtr-ma-content { padding:clamp(20px,3.2vw,48px); }
.rtr-ma-page-heading { margin-bottom:28px; }
.rtr-ma-eyebrow { color:#7f856f;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:8px!important; }
.rtr-ma-page-heading :is(h1,h2) { font-size:clamp(25px,2.6vw,36px);line-height:1.2;font-weight:700;letter-spacing:-.7px;color:#30372f; }
.rtr-ma-page-heading>p:last-child { color:#757b6f;margin-top:10px; }
.rtr-ma-overview-grid { display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:22px;align-items:start; }
.rtr-ma-tools { display:grid;gap:18px; }
.rtr-ma-tool,.rtr-ma-summary,.rtr-ma-plan { background:#fff;border:1px solid #e1e4d9;border-radius:12px;padding:26px; }
.rtr-ma-tool { display:flex;align-items:flex-start;gap:20px; }
.rtr-ma-tool-icon,.rtr-ma-summary-icon { display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;flex-shrink:0;border-radius:12px;background:#edf4e9;color:var(--rtr-green); }
.rtr-ma-tool:nth-child(2) .rtr-ma-tool-icon { background:#fff0e6;color:var(--rtr-orange); }
.rtr-ma-tool-icon svg { width:28px;height:28px; }
.rtr-ma-tool-body { min-width:0; }
.rtr-member-area :is(.rtr-ma-tool h2,.rtr-ma-summary h2,.rtr-ma-explore h2) { font-size:19px;font-weight:650;line-height:1.3;color:#30372f; }
.rtr-ma-tool p,.rtr-ma-summary p { color:#757b6f;font-size:14px;margin:8px 0 16px; }
.rtr-ma-tool-link,.rtr-ma-secondary { display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:14px;font-weight:650; }
.rtr-ma-tool:nth-child(2) .rtr-ma-tool-link { color:#b55521; }
.rtr-ma-tool-state { color:#898c83;font-size:13px; }
.rtr-ma-summary-icon { width:40px;height:40px;margin-bottom:18px; }
.rtr-ma-plan-pills { display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px; }
.rtr-ma-plan-pills span,.rtr-ma-status { padding:5px 11px;background:#edf4e9;color:#315e34;border-radius:24px;font-size:12px;font-weight:650; }
.rtr-ma-explore { margin-top:34px; }
.rtr-ma-resource-links { display:flex;gap:10px;flex-wrap:wrap;margin-top:16px; }
.rtr-ma-resource-links a { display:inline-flex;gap:16px;align-items:center;justify-content:space-between;min-height:44px;padding:10px 16px;border:1px solid #e0e3d6;background:#fff;border-radius:30px;font-size:13px;color:#53644e; }
.rtr-ma-resource-links svg { width:16px;height:16px; }
.rtr-ma-membership-list { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px; }
.rtr-ma-plan-heading { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px; }
.rtr-ma-plan h3 { font-size:18px; }
.rtr-ma-plan dl { display:flex;gap:32px;flex-wrap:wrap;font-size:14px; }
.rtr-ma-plan dt { font-size:12px;color:#858a80;margin-bottom:5px; }
.rtr-ma-status:not(.rtr-ma-status--active) { background:#f3eee6;color:#826a4c; }
.rtr-ma-notice { background:#fff7eb;border:1px solid #efd7b7;border-left:4px solid var(--rtr-orange);border-radius:8px;padding:22px;margin:0 0 24px; }
.rtr-ma-membership-list+.rtr-ma-notice { margin:24px 0 0; }
.rtr-ma-notice p { margin:8px 0 12px;font-size:14px;color:#7a6d58; }
.rtr-ma-notice a { display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;font-weight:650; }
.rtr-ma-button { display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;background:var(--rtr-green);color:#fff!important;padding:12px 22px;border-radius:7px;font-weight:650;font-size:14px; }
.rtr-ma-button:hover { background:#2e5f31;text-decoration:none!important; }
.rtr-ma-button--orange { background:var(--rtr-orange); }
.rtr-ma-button--orange:hover { background:#b55521; }
.rtr-ma-overlay { position:fixed;inset:var(--rtr-toolbar) 0 0;background:rgba(22,30,20,.4);border:0;border-radius:0;padding:0;z-index:40; }
.rtr-member-area--guest { display:flex;align-items:center;justify-content:center;padding:24px; }
.rtr-ma-login { width:100%;max-width:440px;text-align:center;padding:36px;background:#fff;border:1px solid #e1e4d9;border-radius:14px; }
.rtr-ma-login h1 { font-size:28px;margin:16px 0; }
.rtr-ma-login p { color:#757b6f;margin-bottom:24px; }
@media(min-width:821px) {
 .rtr-member-area.is-collapsed { grid-template-columns:76px minmax(0,1fr); }
 .is-collapsed :is(.rtr-ma-brand-copy,.rtr-ma-nav-text,.rtr-ma-group-title,.rtr-ma-sidebar-user-copy) { display:none; }
 .is-collapsed .rtr-ma-brand-row { padding:22px 16px; }
 .is-collapsed .rtr-ma-navigation { padding:4px 10px 16px; }
 .is-collapsed .rtr-ma-nav-link { padding:12px;justify-content:center; }
 .is-collapsed .rtr-ma-sidebar-user { padding:18px 20px; }
}
@media(max-width:1100px) { .rtr-ma-overview-grid { grid-template-columns:1fr; }.rtr-ma-summary { padding:22px; } }
@media(max-width:820px) {
 .rtr-member-area { grid-template-columns:minmax(0,1fr); }
 .rtr-ma-sidebar { position:relative;top:0;height:auto;border-right:0;border-bottom:1px solid #e3e5dd; }
 .rtr-ma-ready .rtr-ma-sidebar { position:fixed;top:var(--rtr-toolbar);bottom:0;left:0;width:min(300px,calc(100vw - 48px));height:calc(100dvh - var(--rtr-toolbar));z-index:50;transform:translateX(-100%);visibility:hidden;transition:transform .2s ease; }
 .rtr-ma-ready.is-menu-open .rtr-ma-sidebar { transform:translateX(0);visibility:visible; }
 .rtr-ma-ready .rtr-ma-close { display:inline-flex;flex-shrink:0; }
 body.rtr-member-dashboard.rtr-ma-drawer-open { overflow:hidden; }
 .rtr-ma-topbar { padding:10px 16px;min-height:68px; }
 .rtr-ma-topbar-account>span:last-child { display:none; }
 .rtr-ma-content { padding:24px 16px; }
 .rtr-ma-page-heading { margin-bottom:22px; }
 .rtr-ma-page-heading>p:last-child { font-size:14px; }
 .rtr-ma-tool { padding:20px;gap:14px; }
 .rtr-ma-tool-icon { width:42px;height:42px;border-radius:9px; }
 .rtr-ma-tool-icon svg { width:24px;height:24px; }
 .rtr-ma-tool h2 { font-size:18px; }
 .rtr-ma-summary,.rtr-ma-plan { padding:20px; }
 .rtr-ma-resource-links { gap:8px; }
 .rtr-ma-resource-links a { flex:1 1 calc(50% - 8px);padding:10px 13px; }
 .rtr-ma-resource-links svg { width:14px; }
 .rtr-ma-notice { padding:18px; }
}
@media(max-width:782px) { .admin-bar .rtr-member-area { --rtr-toolbar:46px; } }
@media(prefers-reduced-motion:reduce) { .rtr-member-area * { transition:none!important;scroll-behavior:auto!important; } }

/* Shared logged-in navigation on ordinary WordPress/app/account pages. */
body.rtr-member-navigation:not(.rtr-member-dashboard) { --rtr-member-sidebar:252px;--rtr-toolbar:0px;padding-left:var(--rtr-member-sidebar)!important;padding-top:76px!important; }
body.admin-bar.rtr-member-navigation:not(.rtr-member-dashboard) { --rtr-toolbar:32px; }
body.rtr-member-navigation:not(.rtr-member-dashboard) :is(#masthead,header.wp-block-template-part) { display:none!important; }
.rtr-site-shell[data-rtr-dashboard] { display:block;min-height:0; }
.rtr-site-shell .rtr-ma-sidebar { position:fixed;left:0;top:var(--rtr-toolbar);width:var(--rtr-member-sidebar,252px);z-index:50; }
.rtr-site-shell .rtr-ma-topbar { position:fixed;left:var(--rtr-member-sidebar,252px);right:0;top:var(--rtr-toolbar);z-index:30; }
body.rtr-member-navigation .woocommerce-MyAccount-navigation { display:none; }
body.rtr-member-navigation .woocommerce-MyAccount-content { width:100%;float:none; }
@media(max-width:820px) {
 body.rtr-member-navigation:not(.rtr-member-dashboard) { padding-left:0!important;padding-top:68px!important; }
 .rtr-site-shell .rtr-ma-topbar { left:0; }
 .rtr-site-shell.rtr-ma-ready .rtr-ma-sidebar { width:min(300px,calc(100vw - 48px)); }
 .rtr-site-shell:not(.rtr-ma-ready) .rtr-ma-sidebar { position:relative;top:auto;width:100%;height:auto; }
 body.rtr-member-navigation.rtr-ma-drawer-open { overflow:hidden; }
}
@media(max-width:782px) { body.admin-bar.rtr-member-navigation:not(.rtr-member-dashboard) { --rtr-toolbar:46px; } }
