/* Pilot workspace: clear navigation and readable hierarchy. Authored email and
   form previews keep their own branding; this sheet targets the application. */
.sidebar{background:var(--gm-surface);color:var(--gm-heading);border-right:1px solid var(--gm-border-subtle);padding:22px 14px 14px;width:232px;overflow-y:auto}
.sidebar .brand{color:var(--gm-link);margin:0 10px 22px;font-size:23px;letter-spacing:-.8px;font-weight:700;gap:10px}
.sidebar .brand-period{color:var(--gm-link)}.sidebar .brand:hover{color:var(--gm-link)}
.workspace-context{display:flex;align-items:center;gap:10px;padding:12px 10px;margin-bottom:22px;border:1px solid var(--gm-border-subtle);border-radius:10px;background:var(--gm-surface);min-width:0}
.workspace-context:hover{background:var(--gm-selected-bg);color:var(--gm-link)}.workspace-context>span:nth-child(2){min-width:0;flex:1}
.workspace-context small{display:block;font-size:9px;letter-spacing:1px;color:var(--gm-text-muted);font-weight:600;margin-bottom:2px}
.workspace-context strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--gm-text)}
.workspace-context-avatar{width:32px;height:32px;flex-shrink:0;display:grid;place-items:center;background:var(--gm-selected-bg);color:var(--gm-link);border-radius:8px;font-weight:650}
.workspace-context>svg{flex-shrink:0;color:var(--gm-text-muted)}
.sidebar nav{gap:19px}.sidebar .nav-group{gap:3px}
.sidebar .nav-label{padding:0 12px;margin-bottom:5px;color:var(--gm-text-muted);font-size:10px;letter-spacing:1px}
.sidebar .nav-link{padding:8px 12px;min-height:36px;font-size:13px;color:var(--gm-text-muted);border-radius:7px;gap:10px;font-weight:500}
.sidebar .nav-link svg{color:var(--gm-text-muted);width:18px;height:18px}
.sidebar .nav-link:hover{background:var(--gm-selected-bg);color:var(--gm-link)}
.sidebar .nav-link.active{background:var(--gm-selected-bg);color:var(--gm-link);font-weight:650}
.sidebar .nav-link.active svg{color:var(--gm-link)}
.sidebar .nav-count{background:var(--gm-selected-bg);color:var(--gm-link);font-size:11px}
.sidebar-bottom{padding-top:20px}.sidebar .nav-tools{margin-bottom:6px}
.sidebar .nav-tools summary{display:flex;align-items:center;gap:10px;min-height:36px;padding:8px 12px;color:var(--gm-text-muted);font-size:13px}
.sidebar .nav-tools summary>span{flex:1}.sidebar .nav-tools summary>svg:first-child{transform:none}
.sidebar .nav-tools:has(.active) summary{color:var(--gm-link)}
.sidebar .profile-button{border-color:var(--gm-border-subtle);padding:16px 9px 0;color:var(--gm-heading);margin-top:12px}
.sidebar .profile-button strong{font-size:12px}.sidebar .profile-button small{color:var(--gm-text-muted);font-size:11px;margin-top:2px}
.sidebar .profile-button .avatar{width:32px;height:32px;background:var(--gm-selected-bg);color:var(--gm-text-muted);border:0;font-size:11px}
.app-frame{margin-left:232px;background:var(--gm-surface)}.topbar{height:62px;min-height:62px;padding:0 30px;background:var(--gm-surface);border-color:var(--gm-border-subtle)}
.breadcrumb{font-size:13px;color:var(--gm-text-muted)}.breadcrumb strong{color:var(--gm-text)}
.topbar .sync-status{background:transparent;color:var(--gm-text-muted);font-size:12px;padding:0}
.topbar .help-button{font-size:12px;color:var(--gm-text-muted)}.topbar .small-avatar{background:var(--gm-selected-bg);color:var(--gm-link);border:0}
#main{padding:28px 30px;max-width:1500px}
.account-verification-notice{display:flex;align-items:center;gap:8px;padding:11px 30px;border-bottom:1px solid var(--gm-border-subtle);background:var(--gm-surface);color:var(--gm-text-muted);font-size:12px;flex-wrap:wrap}
.account-verification-notice>svg{flex-shrink:0;color:var(--gm-text-muted)}.account-verification-notice a{display:inline-flex;align-items:center;gap:5px;color:var(--gm-link);font-weight:600;margin-left:auto}
#main>.page-heading{margin-bottom:24px;align-items:center}
#main>.page-heading h1{font-size:29px;letter-spacing:-.8px;color:var(--gm-link);line-height:1.2;margin-bottom:8px}
#main>.page-heading .eyebrow{font-size:10px;letter-spacing:1.2px;color:var(--gm-text-muted);margin-bottom:9px}
#main>.page-heading .page-description{font-size:13px;color:var(--gm-text-muted)}
#main>.page-heading .btn{min-height:39px;padding:10px 14px;border-radius:8px;font-size:13px}
.overview-heading-actions{gap:16px}.overview-date{font-size:11px;color:var(--gm-text-muted)}
.overview-service-notice{margin:-8px 0 20px;color:var(--gm-text-muted);font-size:12px}
.overview-service-notice summary{display:inline-flex;gap:8px;align-items:center;list-style:none;cursor:pointer;min-height:32px}
.overview-service-notice summary::-webkit-details-marker{display:none}.overview-service-notice[open] summary>svg:last-child{transform:rotate(180deg)}
.overview-service-content{padding:12px 16px;border-left:2px solid var(--gm-border-subtle);margin:6px 0 0 6px;background:var(--gm-surface)}
.overview-service-content p{font-size:12px;margin-bottom:10px}.overview-service-content nav{display:flex;gap:24px;flex-wrap:wrap}
.overview-service-content a{display:inline-flex;align-items:center;gap:6px;color:var(--gm-link);font-weight:600}
body[data-section=overview] .overview-metrics{gap:16px;background:transparent;border:0;margin-bottom:24px;overflow:visible}
body[data-section=overview] .overview-metrics .metric-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 8px;padding:19px 21px;border:1px solid var(--gm-border-subtle);border-radius:11px;background:var(--gm-surface);box-shadow:0 2px 4px #18305d03}
body[data-section=overview] .overview-metrics .metric-top{grid-column:1;font-size:12px;color:var(--gm-text-muted);min-height:0}
body[data-section=overview] .overview-metrics .metric-top>svg{display:none}
body[data-section=overview] .overview-metrics .metric-number{grid-column:2;grid-row:1;align-self:center;font-size:32px;letter-spacing:-1px;color:var(--gm-link);margin:0;line-height:1.2}
body[data-section=overview] .overview-metrics .metric-bottom{grid-column:1;line-height:1.4;font-size:11px;display:block;color:var(--gm-text-muted)}
body[data-section=overview] .overview-metrics .metric-bottom a{display:none}
body[data-section=overview] .card{border-color:var(--gm-border-subtle);border-radius:11px;box-shadow:0 2px 4px #18305d03}
body[data-section=overview] .section-heading h2{font-size:16px;color:var(--gm-text);letter-spacing:-.3px}
body[data-section=overview] .section-heading p{font-size:12px;color:var(--gm-text-muted);line-height:1.6}
.overview-work-grid{gap:20px;margin-bottom:20px;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr)}
body[data-section=overview] .live-followup-overview,.overview-agenda{padding:22px}
body[data-section=overview] .live-followup-counts{margin:20px 0 16px;gap:8px}
body[data-section=overview] .live-followup-counts>div{border-radius:8px;padding:12px;background:var(--gm-surface)}
body[data-section=overview] .live-followup-counts>div.has-overdue{background:var(--gm-danger-bg)}
body[data-section=overview] .live-followup-counts dd{font-size:25px}
body[data-section=overview] .live-followup-footer{margin-top:18px;padding-top:15px;gap:12px}
body[data-section=overview] .live-followup-empty{font-size:13px;color:var(--gm-text-muted)}
.overview-agenda .agenda-list{margin-top:17px}.overview-agenda .agenda-list a{padding:12px 0}
.overview-agenda .agenda-footnote{margin-top:15px;padding-top:15px;color:var(--gm-text-muted);line-height:1.6}
.overview-agenda .agenda-date{background:var(--gm-surface);border-color:var(--gm-border-subtle)}
.overview-shortcuts{gap:14px;margin-bottom:20px}.overview-shortcut{padding:15px 17px;background:var(--gm-surface);border-style:solid;border-color:var(--gm-border-subtle)}
.overview-shortcut strong{font-size:13px}.overview-shortcut small{font-size:11px;color:var(--gm-text-muted)}
.overview-drafts{margin-bottom:20px}.overview-drafts .section-heading{padding:20px 22px}
.overview-drafts th{padding:11px 22px;background:var(--gm-surface);color:var(--gm-text-muted);font-size:11px}
.overview-drafts td{padding:15px 22px}.overview-drafts .campaign-row-name{gap:12px}
.overview-drafts .table-icon{width:35px;height:38px;background:var(--gm-selected-bg);border-color:var(--gm-border-subtle);border-radius:8px}
.overview-drafts .campaign-row-name strong{font-weight:600;color:var(--gm-text)}.overview-drafts .campaign-row-name small{margin-top:3px}
.overview-onboarding{padding:0 22px}.overview-onboarding summary{padding:16px 0}.overview-onboarding .live-checklist li{padding:13px 0}
@media(min-width:761px) and (max-height:850px){.sidebar{padding-top:18px}.sidebar .brand{margin-bottom:16px}.workspace-context{margin-bottom:16px}.sidebar nav{gap:12px}.sidebar .nav-link{min-height:33px;padding-top:6px;padding-bottom:6px}}
@media(max-width:1150px) and (min-width:761px){.sidebar{width:212px;padding-left:10px;padding-right:10px}.app-frame{margin-left:212px}#main{padding:24px}.topbar{padding:0 24px}.overview-work-grid{grid-template-columns:1fr}.overview-shortcut{padding:13px}.overview-heading-actions{max-width:190px}.overview-date{display:none}}
@media(max-width:760px){.sidebar{width:268px}.app-frame{margin-left:0}.topbar{height:58px;min-height:58px;padding:0 18px}#main{padding:24px 18px}.account-verification-notice{padding:10px 18px;font-size:11px;gap:7px}.account-verification-notice a{margin-left:23px}.topbar .sync-status{font-size:11px}#main>.page-heading{align-items:flex-start;gap:18px;flex-wrap:wrap}#main>.page-heading h1{font-size:27px}.overview-work-grid{grid-template-columns:1fr;gap:16px}.overview-heading-actions{width:100%}.overview-heading-actions .btn{width:100%;min-height:44px}.overview-date{display:none}.overview-service-notice{margin-top:-8px}.overview-service-notice summary{min-height:40px}.overview-service-content a{min-height:40px}body[data-section=overview] .overview-metrics{gap:9px;margin-bottom:20px}body[data-section=overview] .overview-metrics .metric-card{display:block;padding:14px 10px}body[data-section=overview] .overview-metrics .metric-top{min-height:34px;font-size:11px}body[data-section=overview] .overview-metrics .metric-number{font-size:27px;margin:8px 0 6px}body[data-section=overview] .overview-metrics .metric-bottom{font-size:10px;line-height:1.5}body[data-section=overview] .live-followup-overview,.overview-agenda{padding:18px}.overview-shortcuts{gap:9px}.overview-shortcut{padding:13px 10px}.overview-shortcut strong{font-size:12px}.overview-shortcut small{font-size:11px}.overview-drafts .section-heading{padding:18px}.overview-drafts td,.overview-drafts th{padding-left:18px;padding-right:18px}.overview-onboarding{padding:0 18px}.overview-onboarding summary{font-size:12px}.overview-onboarding .badge{font-size:10px}}
@media(prefers-reduced-motion:reduce){.sidebar *{transition:none}}
@media(max-width:760px){body[data-section=overview] .overview-metrics .metric-bottom{display:none}body[data-section=overview] .overview-metrics .metric-top{font-size:12px;line-height:1.4}}
.app-frame .btn-primary,.account-entry .btn-primary{background:var(--gm-strong);border-color:var(--gm-border-subtle);color:var(--gm-on-strong)}
.app-frame .btn-primary:hover,.account-entry .btn-primary:hover{background:var(--gm-action);border-color:var(--gm-border-subtle);color:var(--gm-on-strong)}
.sidebar .nav-link.active{background:var(--gm-selected-bg);color:var(--gm-link)}.sidebar .nav-link.active svg{color:var(--gm-link)}
.account-brand{font-size:28px;letter-spacing:-.8px;font-weight:700}
