/* Portal content adapter: compact working surfaces, not promotional heroes.
   Applied last on the 14 portal routes; standalone sandbox apps are unchanged. */
.lane-body{background:#f5f5f7;color:#1a1a2e;font:400 13.6px/1.5 Inter,system-ui,-apple-system,sans-serif}
.lane-body .lane-page{background:#f5f5f7}
.lane-body :is(.lane-content,.sales-main,.ops-main,.protocol-main,.research-main,.film-main,.lane-page>.main){max-width:900px;width:100%;margin:0;padding:16px 16px 40px}
.lane-body .lane-page :is(h1,h2,h3,h4){font-family:inherit;color:#1a1a2e;line-height:1.3;letter-spacing:normal}
.lane-body .lane-page h1{font-size:18px;font-weight:700;letter-spacing:-.3px;margin:0 0 8px}
.lane-body .lane-page h2{font-size:16.8px;font-weight:700;margin:12px 0 8px}
.lane-body .lane-page h3{font-size:15px;font-weight:700}
.lane-body :is(button,input,select,textarea){font-family:inherit}
.lane-body .lane-page :is(button,summary,.lane-btn,.primary-action,.secondary-action){min-height:44px}
.lane-body .lane-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
.lane-body .lane-page :is(.sales-hero,.ops-hero,.protocol-hero,.research-hero,header.hero){display:block;background:none;color:#1a1a2e;border:0;border-radius:0;box-shadow:none;padding:0;margin:0 0 12px;min-height:0}
.lane-body .lane-page :is(.sales-hero,.ops-hero,.protocol-hero,.research-hero,header.hero) :is(p,.lead,.hero-copy,.ops-kicker,.eyebrow,.lane-eyebrow,small,span){color:#4a4a5a;font-size:13.6px;line-height:1.5;max-width:none;letter-spacing:normal}
.lane-body .lane-page :is(.sales-hero,.ops-hero,.protocol-hero,.research-hero,header.hero)>div{padding:0;max-width:none}
.lane-body .lane-page :is(.sales-hero,.ops-hero,.protocol-hero,.research-hero,header.hero) :is(.eyebrow,.ops-kicker,.lane-eyebrow){display:none}
.lane-body :is(.decision-card,.ops-status-panel,.hero-rule){background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:16px;color:#1a1a2e;padding:12px 14px;margin-top:10px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.lane-body :is(.decision-card,.ops-status-panel,.hero-rule) :is(strong,span,small,p){color:#4a4a5a!important;font-size:13.6px!important;line-height:1.5}
.lane-body :is(.hero-actions,.hero-rule){display:flex;flex-wrap:wrap;gap:8px}
.lane-body .lane-page :is(.dash-section-head,.section-head,.film-section-head,.ops-section-head){margin:16px 0 10px;gap:12px;align-items:center}
.lane-body :is(.dash-section-head,.section-head,.film-section-head,.ops-section-head)>div>h2,.lane-body :is(.protocol-section,.research-section,.sales-section)>h2{background:linear-gradient(135deg,#141A2B,#3D4459);color:#fff;border-radius:8px;padding:7px 14px;font-size:11.5px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase}
.lane-body .dash-section-head .lane-eyebrow{display:none}
.lane-body :is(.lane-card,.film-card,.film-tool,.film-prompt,.card){border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.lane-body .dash-tile{min-height:0;padding:14px;transform:none}
.lane-body .dash-tile h3{margin:10px 0 5px;font-size:16.8px}
.lane-body .dash-tile p{font-size:13.6px;color:#4a4a5a;line-height:1.5}
.lane-body .dash-stat{min-height:0;padding:14px}
.lane-body .dash-stat strong{font-size:24px;margin:6px 0 4px}
.lane-body .dash-stat small,.lane-body .dash-stat span{color:#5a5f6d}
.lane-body .dash-icon{width:32px;height:32px;border-radius:10px;background:rgba(34,211,238,.12)}
.lane-body .dash-icon svg{width:20px;height:20px;fill:currentColor}
.lane-body .dash-callout{padding:14px;gap:12px}
.lane-body .dash-head{gap:16px;padding:0 0 12px;grid-template-columns:minmax(0,1fr) 260px}
.lane-body .dash-panel{padding-top:14px}
.lane-body .film-ops-head{padding:0;margin:0 0 12px}
.lane-body .film-tabs-shell{padding:8px;background:#f5f5f7}
.lane-body .film-tabs a{min-height:44px}
.lane-body .lane-page :is(.film-card,.film-tool,.film-prompt,.film-callout){padding:12px 14px}
.lane-body .lane-page :is(.dr-section-label,.dr-lane-title){color:#fff}
.lane-body .lane-page .dr-section-label{background:linear-gradient(135deg,#141A2B,#3D4459)}
.lane-body .lane-page :is(.method-panel>h2,.cf-panel>h2){color:#fff;font-size:11.5px}
.lane-body [id]{scroll-margin-top:calc(70px + env(safe-area-inset-top,0px))}
.lane-body pre{max-width:100%;overflow:auto}
.lane-body .lane-page :is(.tabs-shell,.protocol-tabs-shell){margin-left:0;margin-right:0;padding-left:0;padding-right:0;max-width:100%;top:var(--lane-header-h)}
.lane-body .lane-page :is(.campaign-control,.video-grid,.projects-list){min-width:0}
.lane-body .lane-page select{min-width:0;max-width:100%;width:100%;appearance:none;overflow:hidden;text-overflow:ellipsis}
.lane-body .lane-page :is(.empty,.projects-empty){min-width:0;max-width:100%;width:100%;overflow-wrap:anywhere}
.lane-body .lane-page .template-family-toggle{min-width:44px}
.lane-body .email-compact-header{max-width:900px;margin:0 auto;padding:16px;background:none;color:#1a1a2e;border:0}
.lane-body .email-compact-header::before,.lane-body .email-compact-header::after{display:none}
.lane-body .email-compact-header :is(h1,p,.eyebrow){color:#1a1a2e}
.lane-body .email-compact-header .eyebrow{display:none}
.lane-body .lane-page .lane-footer{margin-top:12px;padding:16px 0;color:#5a5f6d}
@media(max-width:768px){.lane-body :is(.lane-content,.sales-main,.ops-main,.protocol-main,.research-main,.film-main,.lane-page>.main){padding:12px 10px calc(96px + env(safe-area-inset-bottom,0px));width:100%}.lane-body .lane-page{margin-left:0}.lane-body .dash-head{grid-template-columns:1fr}.lane-body :is(.sales-hero,.ops-hero,.protocol-hero,.research-hero){grid-template-columns:1fr}.lane-body .lane-page .lane-footer{padding-bottom:12px}}
