/* Final ONEX refinement: density, readable contrast, shared typography. */
body.crm-isolated-pilot{--xp-ink:#102c4b;--xp-muted:#465d75;--xp-line:#cbd7e4;--xp-accent:#0868b8;--workspace-accent:#0868b8;font-family:'Segoe UI',Arial,sans-serif;font-size:13px;color:var(--xp-ink)}
body.crm-panel-pilot[data-visual=b] .workspace{padding:10px 16px;background:#eaf0f6}
body.crm-isolated-pilot .pilot-page-title{min-height:32px!important;padding:0 0 6px!important;margin:0 0 6px!important}
body.crm-isolated-pilot .pilot-page-title h1,body.crm-isolated-pilot .funnel-commandbar h1{font-size:19px!important;line-height:1.2;font-weight:650;color:#102c4b}
body.crm-isolated-pilot .wt-workspace{padding:12px 16px;border:1px solid #cbd7e4;border-radius:8px;color:#18344f;font-size:13px;line-height:1.35}
body.crm-isolated-pilot .wt-heading{margin-bottom:8px;gap:8px}
body.crm-isolated-pilot .wt-heading h2{font-size:18px;letter-spacing:-.3px;line-height:1.2}
body.crm-isolated-pilot .wt-heading small{color:#4b6178;letter-spacing:1px}
body.crm-isolated-pilot .wt-summary{padding-bottom:8px;margin-bottom:8px;gap:6px;border-color:#d3dfe9}
body.crm-isolated-pilot .wt-summary button{background:#edf4fb;color:#254564;border-color:#cad9e8;padding:4px 9px;font-size:12px;min-height:30px}
body.crm-isolated-pilot .wt-summary button[data-work=completed]{margin-left:auto;background:#f1f5f8}
body.crm-isolated-pilot .wt-summary button[aria-pressed=true]{background:#dcecff;border-color:#4286bd;color:#073e70}
body.crm-isolated-pilot .wt-summary button b{font-size:15px;color:#123b61}
body.crm-isolated-pilot .wt-summary button:first-child b{color:#9f2929}
body.crm-isolated-pilot .wt-controls{gap:8px;margin-bottom:8px}
body.crm-isolated-pilot .wt-controls label{font-size:12px;color:#405970;gap:3px}
body.crm-isolated-pilot .wt-controls input,body.crm-isolated-pilot .wt-controls select,body.crm-isolated-pilot .wt-date-nav input{font-size:13px;padding:5px 8px;min-height:32px;border-color:#b9cadb}
body.crm-isolated-pilot .wt-viewbar{margin-bottom:6px;gap:6px}
body.crm-isolated-pilot .wt-tabs button{font-size:12px;padding:5px 10px;min-height:30px;color:#39556e}
body.crm-isolated-pilot .wt-tabs button[aria-pressed=true]{background:#e7f1fc;color:#074c85;border-color:#a9c7e2}
body.crm-isolated-pilot .wt-columns{font-size:11px;color:#455f77;padding:6px 8px;background:#f1f5f9;border-color:#ccd8e4}
body.crm-isolated-pilot .wt-row{padding:7px 8px;gap:9px;border-color:#dde5ed}
body.crm-isolated-pilot .wt-row:hover{background:#edf5fc}
body.crm-isolated-pilot .wt-title{font-size:13px;color:#143e62;line-height:1.3}
body.crm-isolated-pilot .wt-link,body.crm-isolated-pilot .wt-owner,body.crm-isolated-pilot .wt-deadline,body.crm-isolated-pilot .wt-priority{font-size:12px;color:#4b6177}
body.crm-isolated-pilot .wt-link{margin-top:2px}
body.crm-isolated-pilot .wt-group h3{margin:5px 0 0;padding:5px 8px;font-size:12px;background:#edf2f7;color:#2c4b68}
body.crm-isolated-pilot .wt-footnote{margin-top:8px;color:#50667c;font-size:11px}
body.crm-isolated-pilot .wt-empty{padding:16px 10px;color:#4d647c}
body.crm-isolated-pilot .wt-calendar>section{min-height:76px;padding:6px}
body.crm-isolated-pilot .wt-calendar h3{font-size:12px;color:#3f5c78;margin-bottom:5px}
body.crm-isolated-pilot .wt-calendar-empty{font-size:12px;color:#5f7285;padding:5px 2px}
body.crm-isolated-pilot .wt-calendar .wt-row,body.crm-isolated-pilot .wt-kanban .wt-row{padding:7px;margin-bottom:5px;gap:4px}
body.crm-isolated-pilot .wt-kanban{gap:8px}
body.crm-isolated-pilot .wt-kanban>section{padding:8px;background:#eef3f8;border-color:#c7d6e4}
body.crm-isolated-pilot .wt-kanban h3{margin-bottom:6px;color:#294e70}
body.crm-isolated-pilot .wt-calendar .wt-title,body.crm-isolated-pilot .wt-kanban .wt-title{font-size:12px}
body.crm-isolated-pilot .xp-docs,body.crm-isolated-pilot .xp-config,body.crm-isolated-pilot .xp-formal,body.crm-isolated-pilot .xp-productivity{padding:12px;font-size:13px;color:#193953}
body.crm-isolated-pilot .xp-toolbar{margin-bottom:8px;gap:8px}
body.crm-isolated-pilot .xp-muted,body.crm-isolated-pilot .xp-local{color:#4a6178}
body.crm-isolated-pilot .pilot-nav .pilot-rail-button{color:#234462}
body.crm-isolated-pilot .pilot-nav [aria-current=true],body.crm-isolated-pilot .pilot-nav .active{color:#06467e;background:#dceafa}
body.crm-isolated-pilot .pilot-submenu button{font-size:13px;color:#2b4b68}
body.crm-isolated-pilot .pilot-submenu button:hover{background:#dfedfb;color:#06467e}
body.crm-funnel-pilot .workspace>.funnel-commandbar{height:auto;min-height:48px;padding:7px 10px;gap:8px;margin-bottom:8px}
body.crm-funnel-pilot .board .deal-card{padding:9px;border-color:#bbcddd;box-shadow:0 1px 3px #102c4b0c}
body.crm-funnel-pilot .board .deal-card h3,body.crm-funnel-pilot .board .deal-card h4{font-size:13px!important;line-height:1.3!important;color:#123652}
body.crm-funnel-pilot .board .deal-card strong{font-size:14px!important}
body.crm-funnel-pilot .board .deal-card p{font-size:12px;line-height:1.35;margin:5px 0;color:#425b73}
body.crm-isolated-pilot table{font-size:13px;color:#24435f}
body.crm-isolated-pilot table th{color:#294966;font-size:12px}
body.crm-isolated-pilot table td{padding-top:7px;padding-bottom:7px}
body.crm-isolated-pilot dialog h2,body.crm-isolated-pilot .modal h2{font-size:19px;line-height:1.25}
body.crm-isolated-pilot .wt-dialog form>header{padding:11px 16px}
body.crm-isolated-pilot .wt-dialog [data-wt-details],body.crm-isolated-pilot .wt-dialog .wt-comment-section,body.crm-isolated-pilot .wt-dialog .wt-history{padding:10px 16px}
body.crm-isolated-pilot .wt-form-grid{gap:8px}
body.crm-isolated-pilot dialog input,body.crm-isolated-pilot dialog select,body.crm-isolated-pilot dialog textarea{font-size:13px}
body.crm-isolated-pilot .wt-dialog .wt-form-grid label{font-size:12px;color:#3f5972}
body.crm-isolated-pilot .wt-created{color:#4c647b;margin:8px 0;font-size:12px}
body.crm-isolated-pilot .wt-dialog form>footer{padding:8px 16px}
body.crm-isolated-pilot :is(button,input,select,textarea,a):focus-visible{outline:2px solid #006cbe;outline-offset:2px}
@media(max-width:700px){body.crm-panel-pilot[data-visual=b] .workspace{padding:8px}body.crm-isolated-pilot .wt-workspace{padding:10px}body.crm-isolated-pilot .wt-summary button[data-work=completed]{margin-left:0}body.crm-isolated-pilot .wt-heading h2{font-size:17px}body.crm-isolated-pilot .wt-row{gap:5px}body.crm-funnel-pilot .workspace>.funnel-commandbar{padding:8px}body.crm-isolated-pilot .wt-controls label{min-width:120px}}
@media(prefers-reduced-motion:reduce){body.crm-isolated-pilot *,body.crm-isolated-pilot *::before,body.crm-isolated-pilot *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Official ONEX tokens: ../design-system.css. No alternate brand. */
body.crm-isolated-pilot{--onex-navy:#002050;--onex-blue:#0078d4;--onex-metal:#386b99;--onex-ink:#24354a;--onex-muted:#586b80;--onex-line:#dde5ef;--onex-canvas:#f4f7fb;--xp-ink:var(--onex-ink);--xp-accent:var(--onex-blue);--workspace-accent:var(--onex-blue)}
body.crm-isolated-pilot .pilot-nav{background:var(--onex-navy);color:#edf5ff;border-right:1px solid #ffffff16}
body.crm-isolated-pilot .pilot-nav .pilot-nav-caption,body.crm-isolated-pilot .pilot-nav .pilot-nav-status{color:#c0d3e7}
body.crm-isolated-pilot .pilot-nav .pilot-rail-button,body.crm-isolated-pilot .pilot-nav .pilot-submenu button{color:#e5f0fc;background:transparent}
body.crm-isolated-pilot .pilot-nav .pilot-rail-button:hover,body.crm-isolated-pilot .pilot-nav .pilot-submenu button:hover{background:#ffffff12;color:#fff}
body.crm-isolated-pilot .pilot-nav .pilot-rail-button[aria-current],body.crm-isolated-pilot .pilot-nav .pilot-submenu .active{background:#0078d4;color:#fff;border-color:#67c4ff}
body.crm-isolated-pilot .pilot-nav .pilot-submenu{background:#082b55;border-color:#ffffff1c}
body.crm-isolated-pilot .pilot-nav .pilot-rail-button:focus-visible,body.crm-isolated-pilot .pilot-nav .pilot-submenu button:focus-visible{outline-color:#a5ddff}
body.crm-isolated-pilot .workspace{color:var(--onex-ink);background:var(--onex-canvas)}
body.crm-isolated-pilot :is(.legacy-content,.marketing-workspace,.prospecting-workspace,.report-workspace,.users-workspace,.settings-workspace){font-size:13px;line-height:1.4}
body.crm-isolated-pilot :is(.section-heading,.section-head,.campaign-header){margin:8px 0;gap:10px}
body.crm-isolated-pilot :is(.section-heading,.section-head,.campaign-header) h2{font-size:17px;color:var(--onex-navy);margin:4px 0}
body.crm-isolated-pilot :is(.metric-strip,.metric-grid,.marketing-metrics){gap:8px;margin:8px 0}
body.crm-isolated-pilot :is(.metric-strip,.metric-grid,.marketing-metrics)>article{padding:10px 12px;border:1px solid var(--onex-line);border-radius:8px;background:#fff;box-shadow:0 2px 5px #00205005}
body.crm-isolated-pilot :is(.metric-strip,.metric-grid,.marketing-metrics) strong{font-size:21px;color:var(--onex-navy)}
body.crm-isolated-pilot :is(.field,.form-field) label{font-size:12px;font-weight:600;color:#3b5673}
body.crm-isolated-pilot :is(.field,.form-field) :is(input,select,textarea){font-size:13px;padding:7px 9px;border:1px solid #bacbdd;border-radius:5px;background:#fff;color:var(--onex-ink)}
body.crm-isolated-pilot :is(.form-grid,.prospecting-form,.campaign-form){gap:10px}
body.crm-isolated-pilot :is(.table-wrap,.prospect-table-wrap,.marketing-table-wrap){border:1px solid var(--onex-line);border-radius:7px;overflow:auto;max-width:100%}
body.crm-isolated-pilot table{width:100%;border-collapse:collapse;font-size:13px}
body.crm-isolated-pilot table th{background:#eef3f9;font-weight:600;color:var(--onex-navy);padding:8px;text-align:left;border-bottom:1px solid #cbd8e7}
body.crm-isolated-pilot table td{padding:7px 8px;border-bottom:1px solid #e8edf3}
body.crm-isolated-pilot table tr:hover td{background:#f4f8fd}
body.crm-isolated-pilot :is(.saved-strategies,.prospecting-list-section,.campaign-card,.report-card,.settings-section){padding:12px;border:1px solid var(--onex-line);border-radius:8px;background:#fff;margin-bottom:10px}
body.crm-isolated-pilot :is(.primary,.button.primary){background:var(--onex-blue);border-color:#0067b6;color:white;border-radius:5px;font-weight:600}
body.crm-isolated-pilot :is(.primary,.button.primary):hover{background:#0066b5}
body.crm-isolated-pilot :is(.modal-head,.registry-head,.wt-dialog form>header){border-bottom:1px solid var(--onex-line);background:#f4f8fc;color:var(--onex-navy)}
body.crm-isolated-pilot :is(.modal-head,.registry-head,.wt-dialog form>header) h2{font-size:19px;color:var(--onex-navy)}
body.crm-isolated-pilot .wt-main-actions{display:flex;gap:6px;flex-wrap:wrap}
body.crm-isolated-pilot .wt-main-actions button{padding:6px 10px;font-size:12px}
body.crm-isolated-pilot .wt-controls{display:grid;grid-template-columns:minmax(160px,1.6fr) repeat(5,minmax(92px,1fr));align-items:end}
body.crm-isolated-pilot .wt-controls label{min-width:0}
body.crm-isolated-pilot .wt-controls select{width:100%;min-width:0;max-width:100%}
body.crm-isolated-pilot .wt-controls select:disabled{background:#f2f4f7;color:#586b80}
body.crm-isolated-pilot .wt-source-link{border:0;padding:2px 0;background:transparent;color:#0867aa;font-size:11px;text-decoration:underline;display:block}
body.crm-isolated-pilot .wt-row .wt-subject{overflow-wrap:anywhere}
@media(max-width:1050px){body.crm-isolated-pilot .wt-controls{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){body.crm-isolated-pilot .wt-controls{grid-template-columns:repeat(2,minmax(0,1fr))}body.crm-isolated-pilot .wt-controls .wt-search{grid-column:1/-1}body.crm-isolated-pilot .wt-heading{flex-wrap:wrap}body.crm-isolated-pilot .wt-main-actions{width:100%}body.crm-isolated-pilot .pilot-nav .pilot-submenu{background:#082b55}}

/* Keep shell contrast above legacy theme overrides. */
body.crm-isolated-pilot.crm-panel-pilot[data-visual=b] .pilot-nav{background:#002050;border-right-color:#ffffff1c}
body.crm-isolated-pilot.crm-panel-pilot[data-visual=b] .pilot-nav .pilot-rail-button,body.crm-isolated-pilot.crm-panel-pilot[data-visual=b] .pilot-nav .pilot-rail-button b,body.crm-isolated-pilot.crm-panel-pilot[data-visual=b] .pilot-nav .pilot-rail-button>span{color:#edf5ff}
body.crm-isolated-pilot .wt-calendar-day .wt-row{grid-template-columns:20px minmax(160px,1fr) minmax(100px,140px) 105px 70px 40px;align-items:center}
body.crm-isolated-pilot .wt-calendar-day .wt-row :is(.wt-owner,.wt-deadline,.wt-priority,.wt-comments){grid-column:auto;grid-row:auto}
@media(max-width:1350px){body.crm-isolated-pilot .wt-controls{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){body.crm-isolated-pilot .wt-controls{grid-template-columns:repeat(2,minmax(0,1fr))}body.crm-isolated-pilot .wt-calendar-day .wt-row{grid-template-columns:20px minmax(0,1fr) 36px}body.crm-isolated-pilot .wt-calendar-day .wt-row :is(.wt-owner,.wt-deadline,.wt-priority){grid-column:2}body.crm-isolated-pilot .wt-calendar-day .wt-row .wt-comments{grid-column:3;grid-row:1}}

/* Executive Premium: restrained selection and a compact commercial workspace. */
body.crm-isolated-pilot.crm-panel-pilot[data-visual=b] .pilot-nav :is(.pilot-rail-button[aria-current],.pilot-submenu button.active,.pilot-submenu button[aria-current]){background:#88c7ff24;color:#fff;border-color:#9ad1ff;box-shadow:inset 3px 0 #80bfff}
body.crm-isolated-pilot .wt-tabs button[aria-pressed=true],body.crm-isolated-pilot .wt-summary button[aria-pressed=true]{background:#0078d412;border-color:#0078d438;color:#15466f;box-shadow:none}
body.crm-isolated-pilot.crm-panel-pilot .workspace{min-width:0;max-width:100%;box-sizing:border-box}
body.crm-isolated-pilot .content-card{min-width:0;max-width:100%}
body.crm-isolated-pilot .pilot-page-title{min-height:30px!important;margin-bottom:5px!important}
body.crm-isolated-pilot .pilot-page-title h1{font-size:18px!important}
.wt-appointment{background:#fff;border:1px solid #dbe4ee;border-left:2px solid #7099bd;border-radius:5px;padding:5px 7px;margin:0 0 5px;min-width:0;font-size:12px;line-height:1.3}
.wt-appointment>div{min-width:0}.wt-appointment-title{display:flex;align-items:baseline;gap:5px;border:0;background:transparent;text-align:left;padding:0;width:100%;color:#173b5b;font-size:12px;min-width:0}
.wt-appointment-title time{font-size:11px;font-weight:650;flex-shrink:0;color:#496981}.wt-appointment-title strong{font-size:12px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}
.wt-appointment-actions{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:3px}.wt-appointment-actions button{border:0;background:transparent;color:#386b99;font-size:11px;padding:1px 0;min-height:22px}.wt-appointment-actions button:last-child{display:flex;align-items:center;gap:4px;min-width:26px}.wt-appointment-actions svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6}.wt-appointment.is-complete{border-left-color:#6b9b88;background:#f5f8f7}.wt-appointment.is-complete .wt-appointment-title strong{text-decoration:line-through;color:#597168}
body.crm-isolated-pilot .wt-calendar>section{min-height:72px;padding:6px}.wt-calendar-day{max-width:100%}.wt-calendar-day .wt-appointment{max-width:100%}.wt-calendar-day .wt-appointment-title strong{white-space:normal}
.exec-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px;font-size:12px;color:#4d657c}.exec-section-head button{padding:5px 9px;font-size:12px}
.exec-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:8px 0 12px}.exec-metrics article{background:#f4f7fb;border:1px solid #dde6ef;border-radius:6px;padding:8px 10px}.exec-metrics small{font-size:11px;color:#526b83}.exec-metrics strong{display:block;font-size:20px;color:#123b61;margin-top:2px}
.exec-table-wrap{width:100%;min-width:0}.exec-table-wrap table{width:100%;table-layout:fixed}.exec-table-wrap th,.exec-table-wrap td{overflow-wrap:anywhere;font-size:12px;line-height:1.4;padding:7px 8px!important}.exec-table-wrap td small{display:block;font-size:11px;color:#5c7185;margin-top:2px}.exec-table-wrap td button{padding:5px 7px;font-size:12px}.exec-status{display:inline-block;padding:3px 5px;background:#386b9910;color:#315c82;border-radius:4px;font-size:11px}
.exec-report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:6px 0 10px}.exec-report-filters label{display:grid;gap:3px;font-size:12px;color:#4b6278}.exec-report-filters :is(input,select){padding:6px 8px;font-size:13px;min-width:0;max-width:100%;border:1px solid #c1d1e1;border-radius:5px;background:#fff;color:#24435e}
.exec-note{font-size:11px;color:#536b80;line-height:1.5;margin:9px 0 0}.exec-formal-detail{padding:10px 14px;color:#24435e;font-size:13px}.exec-formal-detail h3{font-size:15px;margin:9px 0 6px}.exec-formal-detail>p{margin:5px 0 10px;color:#526a80}
.exec-stepper{display:flex;gap:7px;list-style:none;margin:0 0 13px;padding:0;flex-wrap:wrap}.exec-stepper li{display:flex;align-items:center;gap:4px;font-size:11px;color:#677c8f;padding:4px 6px;border-bottom:2px solid #e1e8f0}.exec-stepper li[aria-current]{color:#174d7a;border-color:#386b99;background:#386b9910}.exec-stepper li.is-past{color:#386d58}.exec-stepper li span{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#eaf0f6;font-size:10px}
.exec-facts{display:grid;grid-template-columns:160px minmax(0,1fr);gap:5px 12px;margin:9px 0 14px}.exec-facts dt{font-size:12px;color:#586e82}.exec-facts dd{margin:0;font-weight:550;overflow-wrap:anywhere}.exec-document-list{border-top:1px solid #e1e8f0;padding-top:6px}.exec-document-list p{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0;padding:6px 0;border-bottom:1px solid #edf1f5}.exec-document-list strong{font-size:12px}.exec-document-list small{font-size:11px;color:#647b8f}.exec-document-list button{padding:5px 8px;margin-top:8px}
.exec-block{padding:7px 10px;background:#fff9ed;border-left:2px solid #be9858;margin:10px 0;color:#795e2e}.exec-block p{margin:3px 0;font-size:12px}.exec-detail-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;padding-top:10px;border-top:1px solid #e1e8f0}.exec-detail-actions button{font-size:12px;padding:6px 9px}
.exec-confirm{width:min(430px,calc(100vw - 28px));border:1px solid #d5e0eb;border-radius:10px;color:#23415d;box-shadow:0 14px 45px #00205020;padding:17px;font:13px 'Segoe UI',sans-serif}.exec-confirm::backdrop{background:#00205038;backdrop-filter:blur(3px)}.exec-confirm h2{font-size:18px;margin:0 0 10px}.exec-confirm p{line-height:1.5}.exec-confirm footer{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}.exec-confirm button{font:inherit;padding:7px 11px;border:1px solid #c1d1e1;border-radius:5px;background:#fff;color:#23415d}.exec-confirm .primary{background:#0078d4;color:#fff;border-color:#0078d4}
@media(min-width:701px){body.crm-panel-pilot:not(.pilot-collapsed) .app-shell{grid-template-columns:218px minmax(0,1fr)}body.crm-panel-pilot.pilot-collapsed .app-shell{grid-template-columns:56px minmax(0,1fr)}}
@media(max-width:900px){.exec-table-wrap table,.exec-table-wrap tbody{display:block}.exec-table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.exec-table-wrap tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid #cad8e6;padding:6px 0}.exec-table-wrap td{border:0!important}.exec-table-wrap td:first-child{grid-column:1/-1;font-weight:600}.exec-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.exec-table-wrap td:before{display:block;font-size:10px;color:#687f94;font-weight:400}.exec-formal td:nth-child(2):before{content:'Responsável'}.exec-formal td:nth-child(3):before{content:'Etapa'}.exec-formal td:nth-child(4):before{content:'Contrato integral'}.exec-formal td:nth-child(5):before{content:'Comissão ONEX'}.exec-formal td:nth-child(6):before{content:'Próxima ação'}.exec-reports td:nth-child(3):before{content:'Responsável'}.exec-reports td:nth-child(4):before{content:'Situação'}.exec-reports td:nth-child(5):before{content:'Contrato integral'}.exec-reports td:nth-child(6):before{content:'Comissão ONEX'}.exec-reports td:nth-child(7):before{content:'Receita realizada'}}
@media(max-width:700px){body.crm-panel-pilot .app-shell{grid-template-columns:minmax(0,1fr)}body.crm-panel-pilot .pilot-nav{overflow:visible;flex-wrap:wrap;gap:3px}body.crm-isolated-pilot .pilot-nav .pilot-submenu{max-width:calc(100vw - 16px)}.exec-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.exec-metrics strong{font-size:17px}.exec-facts{grid-template-columns:125px minmax(0,1fr)}.exec-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.exec-formal-detail{padding:8px}}
@media(prefers-reduced-transparency:reduce){.exec-confirm::backdrop{backdrop-filter:none;background:#00205080}}
/* Agenda adapts to available width without a horizontal page or calendar rail. */
body.crm-isolated-pilot .wt-calendar-week,body.crm-isolated-pilot .wt-calendar-month{grid-template-columns:repeat(7,minmax(0,1fr));overflow:visible}
body.crm-isolated-pilot .wt-calendar>section{min-width:0}
body.crm-isolated-pilot .wt-appointment-actions button:first-child{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
body.crm-isolated-pilot .wt-appointment-actions button:last-child{flex-shrink:0}
@media(max-width:900px){body.crm-isolated-pilot .wt-calendar-week,body.crm-isolated-pilot .wt-calendar-month{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){body.crm-isolated-pilot .wt-calendar-week,body.crm-isolated-pilot .wt-calendar-month{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.crm-isolated-pilot .wt-appointment-actions button:first-child{display:block;max-width:100%}

body.crm-isolated-pilot .exec-table-wrap table{min-width:0!important;width:100%;max-width:100%} body.crm-isolated-pilot .exec-table-wrap :is(th,td){white-space:normal} body.crm-isolated-pilot :is(.exec-formal,.exec-reports){min-width:0;max-width:100%}
/* Final consistency: shared Companies-style command bar, existing controls only. */
body.crm-isolated-pilot .wt-appointment{padding:3px 6px;line-height:1.2;margin-bottom:4px}
body.crm-isolated-pilot .wt-appointment-title{min-height:16px;height:auto;line-height:1.2}
body.crm-isolated-pilot .wt-appointment-actions{margin-top:0;gap:4px;line-height:1.2}
body.crm-isolated-pilot .wt-appointment-actions button{min-height:17px;line-height:1.2;padding:0}
body.crm-isolated-pilot .wt-controls{margin-top:12px;margin-bottom:10px;align-items:end}
body.crm-isolated-pilot .onex-pending-content{padding:12px 16px}
body.crm-isolated-pilot .onex-pending-content>.layout{margin:0;width:100%;min-width:0}
body.crm-isolated-pilot .workspace:has(.onex-pending-content)>.filters{margin-top:10px}
body.crm-isolated-pilot :is(.onex-commandbar,.people-commandbar){display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-height:58px!important;padding:10px 12px!important;margin:0 0 10px!important;background:#fff;border:1px solid #d4e0ec;border-radius:7px;box-sizing:border-box}
body.crm-isolated-pilot .onex-command-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
body.crm-isolated-pilot :is(.onex-commandbar,.people-commandbar) h1{font:650 21px/1.25 'Segoe UI',sans-serif!important;color:#102d50;margin:0;padding:0 12px 0 0;border-right:1px solid #dce5ef}
.onex-header-count{font-size:12px;color:#526b85;line-height:1.4;max-width:270px}
body.crm-isolated-pilot .onex-commandbar .legacy-commands{margin-left:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
body.crm-isolated-pilot .onex-commandbar :is(button,.top-search){height:34px;min-height:34px;padding:6px 10px;font:12px 'Segoe UI',sans-serif}
body.crm-isolated-pilot .onex-commandbar .top-search{width:220px}
.onex-header-search{font-size:0}.onex-header-search input{width:220px;max-width:100%;height:34px;border:1px solid #c1d1df;border-radius:5px;padding:6px 10px;font:12px 'Segoe UI',sans-serif}
body.crm-isolated-pilot .onex-screen-filters[hidden]{display:none!important}
body.crm-isolated-pilot .onex-screen-filters{margin:0 0 10px;padding:10px 12px;border:1px solid #d4e0ec;border-radius:6px;background:white}
@media(max-width:700px){body.crm-isolated-pilot :is(.onex-commandbar,.people-commandbar){gap:8px;padding:10px!important}body.crm-isolated-pilot .onex-commandbar .legacy-commands{width:100%;margin-left:0}body.crm-isolated-pilot .onex-commandbar .top-search,.onex-header-search{flex:1;min-width:140px;width:auto}.onex-header-search input{width:100%}.onex-header-count{max-width:none}body.crm-isolated-pilot .onex-pending-content{padding:10px}}body.crm-isolated-pilot.crm-legacy-pilot .onex-commandbar .legacy-commands{flex:0 1 auto;width:auto;max-width:none;gap:8px}
body.crm-isolated-pilot.crm-legacy-pilot .onex-commandbar .legacy-commands .top-search{width:200px;max-width:100%;box-sizing:border-box}
body.crm-isolated-pilot.crm-legacy-pilot .onex-commandbar .onex-command-title{flex:0 1 auto}
@media(min-width:1000px){body.crm-isolated-pilot.crm-legacy-pilot .onex-commandbar .legacy-commands{flex-wrap:nowrap}}