/* FRBM 11.0.6: shared fluid frame, enabled only on entrepreneur workspace routes. */
.frbm-workspace-layout{--frbm-shell-gutter:clamp(12px,1.5vw,28px);--frbm-shell-sidebar:248px;--frbm-shell-gap:clamp(16px,1.3vw,24px);--frbm-shell-top:90px}
.frbm-workspace-layout>main.container,.frbm-workspace-layout>.container,.frbm-workspace-layout>.site-header>.header-inner,.frbm-workspace-layout>.site-footer>.site-footer-inner{width:calc(100% - var(--frbm-shell-gutter) * 2);max-width:none;margin-inline:auto}
.frbm-workspace-layout>main.container{padding:18px 0 40px}
.frbm-workspace-layout .lh-shell.lh-unified,.frbm-workspace-layout .for-you-page-shell{display:grid;grid-template-columns:var(--frbm-shell-sidebar) minmax(0,1fr);gap:var(--frbm-shell-gap);align-items:start;width:100%;max-width:none;margin:0}
.frbm-workspace-layout .lh-unified>.lh-sidebar,.frbm-workspace-layout .for-you-page-shell>.for-you-sidebar{position:sticky;top:var(--frbm-shell-top);width:100%;min-width:0;align-self:start}
.frbm-workspace-layout .lh-unified>.lh-sidebar{padding:10px;border-radius:16px;box-shadow:none;background:var(--white);border:1px solid var(--line);display:flex;flex-direction:column;max-height:calc(100vh - var(--frbm-shell-top) - 16px);max-height:calc(100dvh - var(--frbm-shell-top) - 16px)}
.frbm-workspace-layout .lh-unified .lh-primary-nav{display:grid;grid-template-columns:1fr;gap:4px;flex:0 0 auto}
.frbm-workspace-layout .lh-unified .lh-nav-item{min-height:44px;padding:9px 10px;gap:10px;font-size:.875rem;line-height:1.35;border-radius:10px}
.frbm-workspace-layout .lh-unified .lh-nav-item>span{width:25px;height:25px;flex:0 0 25px}.frbm-workspace-layout .lh-unified .lh-nav-item svg{width:21px;height:21px}
.frbm-workspace-layout .lh-main,.frbm-workspace-layout .for-you-main{min-width:0;padding:0}
.frbm-workspace-layout .for-you-page-shell .for-you-sidebar-inner{border:1px solid var(--line);border-radius:16px;background:var(--white);box-shadow:none;max-height:calc(100vh - var(--frbm-shell-top) - 16px);max-height:calc(100dvh - var(--frbm-shell-top) - 16px);display:flex;flex-direction:column}
.frbm-workspace-layout .for-you-sidebar-header{padding:14px 14px 8px;flex:0 0 auto}.frbm-workspace-layout .for-you-sidebar-note{margin:0 12px 8px;flex:0 0 auto;background:var(--bg);color:var(--muted)}
.frbm-workspace-layout .for-you-nav-rail{min-height:0;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}.frbm-workspace-layout .for-you-nav{padding:4px 9px 10px}
.frbm-workspace-layout .for-you-nav-item{min-height:44px;border-radius:10px}.frbm-workspace-layout .for-you-nav-copy strong{font-size:.875rem}.frbm-workspace-layout .for-you-sidebar-footer{flex:0 0 auto}
.frbm-workspace-layout .lh-page-heading,.frbm-workspace-layout .lh-workspace-page-heading{margin:0 0 14px}
.frbm-workspace-layout .lh-page-heading h1,.frbm-workspace-layout .lh-workspace-page-heading h1{margin:0 0 6px;font-size:clamp(1.5rem,1.5vw + .25rem,1.85rem);line-height:1.2;letter-spacing:-.025em}
.frbm-workspace-layout .lh-page-heading p{font-size:.875rem;line-height:1.5;max-width:80ch}.frbm-workspace-layout .lh-counter{font-size:.75rem;padding:6px 10px}
/* Compact sections; saved file content and PDF viewers are not clipped. */
.frbm-workspace-layout .lh-empty{padding:16px 18px;margin:12px 0 16px;border-radius:12px}.frbm-workspace-layout .lh-empty h2{font-size:1rem;margin-bottom:6px}.frbm-workspace-layout .lh-empty p{font-size:.875rem;max-width:95ch;margin-bottom:10px}
.frbm-workspace-layout .lh-file-sections{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:12px;align-items:start}
.frbm-workspace-layout .lh-file-section{padding:16px;border-radius:12px}.frbm-workspace-layout .lh-file-section h2{font-size:.9375rem;line-height:1.35}.frbm-workspace-layout .lh-file-section header{gap:8px;align-items:flex-start}.frbm-workspace-layout .lh-file-section header>span{font-size:.7rem}
.frbm-workspace-layout .lh-file-section.is-empty>p{margin:8px 0 6px;font-size:.8125rem}.frbm-workspace-layout .lh-file-section .lh-browse-link{font-size:.8125rem}
.frbm-workspace-layout .lh-file-row{gap:8px;padding-top:10px;margin-top:10px;align-items:flex-start}.frbm-workspace-layout .lh-file-title{font-size:.875rem;line-height:1.4}.frbm-workspace-layout .lh-file-row small{font-size:.72rem;line-height:1.45}.frbm-workspace-layout .lh-file-row .button{font-size:.75rem;padding:6px 8px;min-height:32px}
.frbm-workspace-layout .lh-reminder-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:12px;align-items:start}.frbm-workspace-layout .lh-reminder-row{padding:16px;border-radius:12px}.frbm-workspace-layout .lh-reminder-head h2{font-size:1rem}.frbm-workspace-layout .lh-reminder-actions{gap:10px;margin-top:12px}.frbm-workspace-layout .lh-tabs{margin-bottom:14px}
.frbm-workspace-layout .for-you-page-shell .dashboard-top-grid{gap:16px}.frbm-workspace-layout .for-you-page-shell .dashboard-journal-card{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}.frbm-workspace-layout .for-you-page-shell .for-you-panel-card{min-width:0}
@media(max-width:1100px) and (min-width:921px){.frbm-workspace-layout{--frbm-shell-sidebar:226px}}
@media(max-width:920px){
 .frbm-workspace-layout{--frbm-shell-sidebar:100%;--frbm-shell-gap:14px}.frbm-workspace-layout>main.container{padding-top:14px}
 .frbm-workspace-layout .lh-shell.lh-unified,.frbm-workspace-layout .for-you-page-shell{display:grid;grid-template-columns:minmax(0,1fr)}
 .frbm-workspace-layout .lh-unified>.lh-sidebar,.frbm-workspace-layout .for-you-page-shell>.for-you-sidebar{position:static;top:auto;max-height:none}
 .frbm-workspace-layout .lh-unified>.lh-sidebar{padding:5px;border-radius:12px}.frbm-workspace-layout .lh-unified .lh-primary-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
 .frbm-workspace-layout .lh-unified .lh-nav-item{justify-content:center;min-height:46px;padding:7px 5px;font-size:.8125rem;gap:6px}
 .frbm-workspace-layout .for-you-page-shell .for-you-sidebar-inner{max-height:none;display:block}.frbm-workspace-layout .for-you-nav-rail{overflow:visible}
 .frbm-workspace-layout .for-you-page-shell .dashboard-journal-card{grid-template-columns:1fr}
}
@media(max-width:560px){.frbm-workspace-layout .lh-unified .lh-nav-item{flex-direction:column;min-height:61px;font-size:.75rem;gap:3px}.frbm-workspace-layout .lh-page-heading{gap:10px}.frbm-workspace-layout .lh-file-section,.frbm-workspace-layout .lh-reminder-row{padding:14px}.frbm-workspace-layout .lh-file-row .button{min-height:44px}}
@media print{.frbm-workspace-layout .lh-sidebar,.frbm-workspace-layout .for-you-sidebar{display:none!important}.frbm-workspace-layout>main.container{width:100%}.frbm-workspace-layout .lh-shell.lh-unified,.frbm-workspace-layout .for-you-page-shell{display:block}}

/* FRBM 11.0.30 — authenticated entrepreneur layout normalization. */
.frbm-workspace-layout{
 --frbm-shell-gutter:clamp(14px,1.55vw,30px);
 --frbm-content-reading:78ch;
}
/* The shared header, footer and page canvas use the same outer edges. */
.frbm-workspace-layout>main.container,
.frbm-workspace-layout>.container,
.frbm-workspace-layout>.site-header>.header-inner,
.frbm-workspace-layout>.site-footer>.site-footer-inner{
 width:calc(100% - var(--frbm-shell-gutter) * 2)!important;
 max-width:none!important;
 margin-inline:auto!important;
}
.frbm-workspace-layout>main.container{padding-top:18px;padding-bottom:44px}

/* Pages that previously introduced their own narrow centered canvas. */
.frbm-workspace-layout .billing-shell,
.frbm-workspace-layout .account-settings-page,
.frbm-workspace-layout .account-preferences-page,
.frbm-workspace-layout .security-page,
.frbm-workspace-layout .profile-guide,
.frbm-workspace-layout .self-delete-wrap,
.frbm-workspace-layout .market-snapshot-wrap,
.frbm-workspace-layout .market-report-shell,
.frbm-workspace-layout .market-size-shell,
.frbm-workspace-layout .naics-finder-shell,
.frbm-workspace-layout .personal-source-wrap,
.frbm-workspace-layout .success-tool-wrap,
.frbm-workspace-layout .sus-wrap,
.frbm-workspace-layout .action-request-shell{
 width:100%!important;
 max-width:none!important;
 margin-left:0!important;
 margin-right:0!important;
}

/* Keep readable copy readable while allowing cards/data to use the screen. */
.frbm-workspace-layout .billing-head>div,
.frbm-workspace-layout .account-settings-hero>div,
.frbm-workspace-layout .account-preferences-hero>div,
.frbm-workspace-layout .security-hero>div,
.frbm-workspace-layout .profile-guide-hero>p,
.frbm-workspace-layout .market-snapshot-hero>p,
.frbm-workspace-layout .market-size-head>p,
.frbm-workspace-layout .sus-hero>p{max-width:var(--frbm-content-reading)}

/* Account/billing pages use the same density as Dashboard instead of a centered island. */
.frbm-workspace-layout .billing-shell{display:block}
.frbm-workspace-layout .billing-current{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:14px}
.frbm-workspace-layout .billing-plans{gap:14px}
.frbm-workspace-layout .account-settings-grid,
.frbm-workspace-layout .account-preferences-grid,
.frbm-workspace-layout .security-grid{gap:14px}
.frbm-workspace-layout .account-settings-panel,
.frbm-workspace-layout .account-preferences-panel,
.frbm-workspace-layout .security-panel{padding:20px}

/* Profile and research tools expand their data areas but retain compact form rhythm. */
.frbm-workspace-layout .profile-guide{padding-inline:0!important}
.frbm-workspace-layout .profile-industry-two-card-grid{gap:14px}
.frbm-workspace-layout .market-snapshot-hero,
.frbm-workspace-layout .market-size-section,
.frbm-workspace-layout .sus-panel{box-shadow:none}
.frbm-workspace-layout .market-report-paper{padding:clamp(22px,3vw,44px)}
.frbm-workspace-layout .success-tool-form{grid-template-columns:repeat(2,minmax(0,1fr))}
.frbm-workspace-layout .success-tool-preview,
.frbm-workspace-layout .success-tool-actions,
.frbm-workspace-layout .success-tool-existing{grid-column:1/-1}

/* Messaging uses exactly the same canvas/sidebar dimensions as the rest of FRBM. */
.frbm-workspace-layout .mc-shell,
.frbm-workspace-layout .mw-shell{
 width:100%!important;
 max-width:none!important;
 margin:0!important;
 padding:0!important;
 grid-template-columns:var(--frbm-shell-sidebar) minmax(0,1fr)!important;
 gap:var(--frbm-shell-gap)!important;
}
.frbm-workspace-layout .mc-side,
.frbm-workspace-layout .mw-sidebar{top:var(--frbm-shell-top)!important}
.frbm-workspace-layout .mc-main,
.frbm-workspace-layout .mw-main{min-width:0;width:100%}
.frbm-workspace-layout .message-workspace{max-width:none;width:100%}
.frbm-workspace-layout .message-conversation-card{width:100%;max-width:none}

/* Content pages that already used full-width internals now align to the same outer frame. */
.frbm-workspace-layout .journal-page,
.frbm-workspace-layout .source-profile-hero,
.frbm-workspace-layout .source-profile-content,
.frbm-workspace-layout .content-page-head,
.frbm-workspace-layout .review-layout{width:100%;max-width:none}

/* Headings should not jump dramatically when switching between workspace pages. */
.frbm-workspace-layout.frbm-layout-account h1,
.frbm-workspace-layout.frbm-layout-tool h1,
.frbm-workspace-layout.frbm-layout-content h1,
.frbm-workspace-layout.frbm-layout-action h1{
 font-size:clamp(1.7rem,2.35vw,2.55rem)!important;
 line-height:1.12;
 letter-spacing:-.035em;
}

@media(max-width:1100px){
 .frbm-workspace-layout .billing-current{grid-template-columns:1fr}
 .frbm-workspace-layout .success-tool-form{grid-template-columns:1fr}
 .frbm-workspace-layout .success-tool-preview,
 .frbm-workspace-layout .success-tool-actions,
 .frbm-workspace-layout .success-tool-existing{grid-column:auto}
}
@media(max-width:920px){
 .frbm-workspace-layout .mc-shell,
 .frbm-workspace-layout .mw-shell{grid-template-columns:1fr!important;gap:14px!important}
 .frbm-workspace-layout .mc-side,
 .frbm-workspace-layout .mw-sidebar{position:static!important;top:auto!important}
}
@media(max-width:760px){
 .frbm-workspace-layout{--frbm-shell-gutter:12px}
 .frbm-workspace-layout .account-settings-panel,
 .frbm-workspace-layout .account-preferences-panel,
 .frbm-workspace-layout .security-panel{padding:17px}
 .frbm-workspace-layout .market-report-paper{padding:18px}
}
