@scope (.app-shell:has(.platform-visual-scope):not(:has(.prospects-fluent))) {
 @layer olei-design {
  :scope .app-content :is(dt,dd,legend,b,i,u) {font-family:inherit !important;font-size:var(--type-body) !important;line-height:18px !important;}
  :scope .app-content .campaign-kpis .kpi strong {font-size:var(--type-title) !important;line-height:24px !important;}
  :scope .app-content .activity-table-card .table-heading>span {font-size:var(--type-body) !important;}
  :scope .app-content :is(.campaign-header-actions,.templates-header-actions,.content-header-actions,.activity-header-actions,.dashboard-header-actions) {display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;align-items:center !important;gap:8px !important;}
  :scope .app-content :is(.campaign-search-box,.content-search-box,.template-search-box,.search-box) {min-height:34px !important;height:34px !important;display:flex !important;align-items:center !important;gap:8px !important;padding:0 8px !important;box-sizing:border-box !important;}
  :scope .app-content :is(.campaign-search-box,.content-search-box,.template-search-box,.search-box)>input {border:0 !important;padding:0 !important;min-width:0 !important;flex:1 !important;}
  :scope .app-content :is(.primary-action,.secondary-action,.danger-action):not(.settings-layout *) {min-height:26px !important;height:26px !important;font-size:var(--type-body) !important;padding:0 8px !important;transform:none !important;box-shadow:none !important;border-radius:5px !important;}
  :scope .app-content :is(.primary-action,.secondary-action):not(.settings-layout *) {color:var(--ui-primary) !important;background:var(--appearance-purple-bg,#f2edfc) !important;border:1px solid var(--appearance-purple-border,#daccf6) !important;}
  :scope .app-content .danger-action:not(.settings-layout *) {color:var(--appearance-red,#934b4b) !important;background:var(--appearance-red-bg,#faeded) !important;border:1px solid var(--appearance-red-border,#e7c8cc) !important;}
  :scope .app-content :is(.campaign-sector,.template-icon,.stat-icon,.content-icon,.resource-type-icon) {width:28px !important;height:28px !important;min-width:28px !important;flex:0 0 28px !important;}
  :scope .app-content :is(.campaign-sector,.template-icon,.stat-icon,.content-icon,.resource-type-icon) svg {width:14px !important;height:14px !important;}
  :scope .app-content .activity-table-card .table-content {display:block !important;max-height:calc(100dvh - 270px);overflow:auto;}
  :scope .app-content .reports-page .company-cell {display:flex;align-items:center;gap:8px;min-width:0;}
  :scope .app-content .reports-page .company-cell>span {min-width:0;overflow:hidden;}
  :scope .app-content .reports-page .company-cell :is(strong,small) {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  :scope .app-content .detail-drawer {width:480px !important;max-width:100vw !important;padding:16px !important;box-shadow:-5px 0 18px var(--appearance-shadow,#17203312) !important;}
  :scope .app-content :is(.primary-button,.secondary-button,.command-button,.primary,.secondary) {height:34px !important;}
  :scope .app-content .platform-timeline li {padding:0 !important;}
  :scope .app-content .activity-confidence-badge {font-size:var(--type-helper) !important;font-weight:600 !important;line-height:18px !important;height:18px !important;padding:0 6px !important;border-radius:5px !important;}
  :scope .app-content .campaign-page .campaign-name {height:auto !important;min-height:0 !important;max-width:100% !important;text-align:left !important;}
  :scope .app-content .campaign-page .campaign-name>span {min-width:0 !important;overflow:hidden;}
  :scope .app-content .campaign-page .campaign-name :is(strong,small) {display:block !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;}
  :scope .app-content .campaign-page .filter-card::before {display:none !important;}
  :scope .app-content .campaign-page .status {font-size:var(--type-helper) !important;padding:1px 6px !important;border-radius:5px !important;}
  :scope .app-content .contacts-page .search-box>input {border:0 !important;}
  :scope .app-content .platform-timeline .pt-day>h4 {font-size:var(--type-body) !important;}
  :scope .app-content .templates-page .panel {display:flex !important;flex-direction:column !important;height:var(--platform-table-height,calc(100dvh - 320px)) !important;min-height:360px !important;overflow:hidden !important;border:1px solid var(--ui-border) !important;border-radius:7px !important;}
  :scope .app-content .templates-page .panel-title {flex:0 0 auto !important;min-height:52px !important;box-sizing:border-box;align-items:center !important;}
  :scope .app-content .templates-page .panel-title h2 {margin:0 !important;}
  :scope .app-content .templates-page .table-content {flex:1 !important;min-height:0 !important;display:flex !important;}
  :scope .app-content .template-table-scroll {min-width:0 !important;overflow:auto !important;max-height:none !important;flex:1 !important;}
  :scope .app-content .templates-page .unified-table-footer {flex:0 0 auto !important;}
  :scope .app-content [data-platform-grid] th {text-align:left !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
  :scope .app-content .platform-template-row td {white-space:nowrap !important;text-overflow:ellipsis !important;}
  :scope .app-content .platform-template-row td small {display:block !important;}
  :scope .app-content .platform-template-row .name {height:18px !important;min-height:18px !important;padding:0 !important;max-width:100% !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;background:none !important;border:0 !important;}
  :scope .app-content .platform-template-row .actions {position:relative;}
  :scope .app-content .platform-template-row .template-name-content {min-width:0 !important;overflow:hidden;}
  :scope .app-content .platform-template-row .recipient-badge {padding:0 !important;background:none !important;color:var(--ui-muted) !important;}
  :scope .app-content .platform-template-row .more {display:grid !important;place-items:center !important;min-height:26px !important;height:26px !important;width:26px !important;border:0 !important;background:none !important;padding:0 !important;}
  :scope .app-content :is(.template-columns,.template-row) {grid-template-columns:minmax(150px,2fr) minmax(70px,1fr) minmax(100px,1.5fr) 80px 80px 85px 40px !important;min-width:0 !important;gap:8px !important;padding:4px 8px !important;}
  :scope .app-content .template-columns {height:34px !important;min-height:34px !important;}
  :scope .app-content .template-row {min-height:45px !important;}
  :scope .app-content .template-row .metric {min-height:0 !important;}
  :scope .app-content .template-row :is(.name,.cell-industry,.cell-subject,.cell-updated) {min-width:0 !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;}
  :scope .app-content .template-row button.name {min-height:18px !important;}
  :scope .app-content .content-cards.list .content-card {padding:4px 8px !important;min-height:45px !important;box-shadow:none !important;border-radius:0 !important;}
  :scope .app-content .content-cards.list .content-thumbnail {width:28px !important;height:28px !important;}
  :scope .app-content :is(.library-heading,.panel-title,.table-toolbar,.table-heading) {padding:12px !important;margin:0 !important;}
  :scope .app-content .content-page .card-title h3 {font-size:var(--type-body) !important;line-height:18px !important;}
 }
}
/* Opt-in platform adaptation. Approved Prospectos shell values, isolated from the frozen route.
   All remaining rules require an adopted page and exclude Prospectos, including embedded details.
   Editor canvases and customer-authored email/content intentionally keep their own typography. */
@scope (.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent)))) {
 @layer olei-design {
  .platform-visual-scope { display:none !important; }
  .app-content { font-family:'Segoe UI Variable Text','Segoe UI',Arial,sans-serif !important; font-size:var(--type-body) !important; color:var(--ui-text) !important; }
  .app-content :is(button,input,select,textarea,label,p,span,small,td,th,strong,a,summary,li,h1,h2,h3,h4) { font-family:inherit !important; }
  .app-content :is(button,input,select,textarea,label,p,span,td,a,summary,li) { font-size:var(--type-body) !important; font-weight:400 !important; }
  .app-content :is(h1,.page-title) { font-size:var(--type-title) !important;font-weight:600 !important;line-height:24px !important;margin-top:0 !important; }
  .app-content :is(h2,h3,h4,.section-title) { font-size:var(--type-section) !important;font-weight:600 !important;line-height:20px !important; }
  .app-content :is(strong,b,th,label>span:first-child) { font-weight:600 !important; }
  .app-content :is(small,.helper-text,.hint,.muted,.description,.eyebrow) { font-size:var(--type-helper) !important;font-weight:400 !important;line-height:16px !important; }
  .app-content :is(button,input,select,textarea) { border-radius:5px !important;box-shadow:none !important; }
  :scope .app-content :is(input,select):not(:where([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=hidden])) { min-height:34px !important;height:34px !important;padding:0 10px !important;border:1px solid var(--ui-border) !important;background:var(--appearance-surface,#fff) !important;color:var(--ui-text) !important; }
  .app-content textarea { padding:8px 10px !important;line-height:18px !important;border:1px solid var(--ui-border) !important; }
  .app-content :is(input[type=checkbox],input[type=radio]) { width:14px !important;height:14px !important;min-height:14px !important;accent-color:var(--ui-primary); }
  .app-content :is(button,.primary-button,.secondary-button,.command-button,.btn,.primary,.secondary) { min-height:34px !important;line-height:18px !important; }
  .app-content :is(.primary-button,.secondary-button,.command-button,.btn,.primary,.secondary,.danger) { display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:6px !important;padding:0 10px !important;font-size:var(--type-body) !important;border:1px solid var(--ui-border) !important;border-radius:5px !important;box-shadow:none !important; }
  .app-content :is(.primary-button,.primary,.btn-primary) { background:var(--appearance-purple-bg,#f2edfc) !important;color:var(--ui-primary) !important;border-color:var(--appearance-purple-border,#c8b3f2) !important; }
  .app-content :is(.secondary-button,.secondary,.command-button) { background:var(--appearance-surface,#fff) !important;color:var(--ui-text) !important; }
  .app-content :is(.danger,.danger-button) { background:var(--appearance-red-bg,#faeded) !important;color:var(--appearance-red,#934b4b) !important;border-color:var(--appearance-red-border,#e7c8cc) !important; }
  .app-content :is(.primary-button,.secondary-button,.command-button,.primary,.secondary):not(:disabled):hover { background:var(--appearance-purple-hover,#f2edfc) !important;border-color:var(--appearance-purple-border,#b193ec) !important; }
  .app-content :is(button,input,select,textarea):focus-visible { outline:1px solid var(--appearance-purple-border,#9168e4) !important;outline-offset:1px !important;box-shadow:none !important; }
  .app-content :is(button,input,select,textarea):disabled { opacity:1 !important;background:var(--appearance-subtle,#f8f9fb) !important;color:var(--appearance-muted,#98a1ae) !important;cursor:default !important; }
  .app-content :is(.page-header,.prospects-header,.content-header,.campaign-header,.templates-header,.activity-header,.reports-header,.dashboard-header,.wizard-header,.detail-header,.settings-header,.profile-header) { margin:0 0 12px !important;padding:0 !important;gap:12px !important;align-items:center !important; }
  .app-content :is(.page-header,.prospects-header,.content-header,.campaign-header,.templates-header,.dashboard-header,.wizard-header,.detail-header)>div>p { margin:4px 0 0 !important;font-size:var(--type-helper) !important;color:var(--ui-muted) !important; }
  .app-content :is(.header-actions,.page-actions,.toolbar,.command-bar) { gap:8px !important;align-items:center !important;flex-wrap:nowrap !important;min-width:0 !important; }
  .app-content :is(.card,.content-card,.settings-card,.profile-card,.table-card,.summary-card,.campaign-card,.template-card,.form-card,.stat-card) { border:1px solid var(--ui-border) !important;border-radius:7px !important;box-shadow:none !important;background:var(--appearance-surface,#fff) !important; }
  .app-content :is(.content-card,.settings-card,.profile-card,.form-card,.stat-card) { padding:12px !important; }
  .app-content :is(.form-grid,.settings-grid,.card-grid,.dashboard-grid) { gap:12px !important; }
  .app-content :is(.modal-backdrop,.dialog-backdrop) :is(section,[role=dialog],.confirm-dialog) { border-radius:7px !important; }
  .app-content :is(.modal-backdrop,.dialog-backdrop) :is(header,footer) { padding:12px !important;gap:8px !important; }
  .app-content :is(.filter-dropdown-trigger,.filter-dropdown-menu>input) { height:34px !important;min-height:34px !important;font-size:var(--type-body) !important; }
  .app-content .filter-dropdown-options>button { height:29px !important;min-height:29px !important;flex-shrink:0 !important;padding:0 8px !important;white-space:nowrap !important; }
  .app-content .filter-dropdown-options>button>span:last-child { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
  .app-content .filter-dropdown-menu { border-radius:5px !important;padding:5px !important;box-shadow:0 4px 12px var(--appearance-shadow,#15233514) !important; }
  .app-content :is(.status-pill,.badge,.rating,.tag) { font-size:var(--type-helper) !important;font-weight:600 !important;line-height:18px !important;padding:1px 6px !important;border-radius:5px !important; }
  .app-content :is(.kpi strong,.metric-value,.stat-value) { font-size:var(--type-title) !important;font-weight:600 !important;line-height:24px !important; }
  .app-content :is(.kpi,.metric,.stat-card) { min-height:64px !important; }
  .app-content :is(.kpi-icon,.metric-icon) { width:24px !important;height:24px !important;min-width:24px !important;background:transparent !important; }
  .app-content svg.fluent-icon { width:14px !important;height:14px !important;flex-shrink:0 !important;fill:currentColor !important;stroke:none !important; }
  .app-content .fluent-icon path { fill:currentColor !important;stroke:none !important; }
  .app-content table:not(.editor-table) { font-size:var(--type-body) !important;border-collapse:separate !important;border-spacing:0 !important; }
  .app-content table:not(.editor-table) :is(td,th) { padding:4px 6px !important;line-height:18px !important;font-size:var(--type-body) !important; }
  .app-content table:not(.editor-table) th { height:34px !important;font-weight:600 !important;background:var(--appearance-subtle,#f6f8fb) !important; }
  .app-content table:not(.editor-table) td { height:45px !important;border-bottom:1px solid var(--appearance-border,#eef0f5) !important; }
  .app-content .unified-table-footer { padding:8px 12px !important;min-height:48px !important;gap:8px !important;font-size:var(--type-helper) !important; }
  .app-content .pager { gap:4px !important; }
  .app-content .pager :is(button,select) { height:32px !important;min-height:32px !important;min-width:28px !important;padding:0 6px !important;border:1px solid var(--ui-border) !important;background:var(--appearance-surface,white) !important; }
  .app-content .pager .active { background:var(--appearance-action,var(--ui-primary)) !important;color:white !important;border-color:var(--ui-primary) !important; }
  .app-content .company-avatar { display:inline-flex !important;align-items:center !important;justify-content:center !important;flex:0 0 28px !important;width:28px !important;height:28px !important;border-radius:50% !important;background:var(--avatar-bg,var(--appearance-purple-bg,#f2edfc)) !important;color:var(--avatar-ink,var(--appearance-purple,#5722bf)) !important;font-size:var(--type-body) !important;font-weight:700 !important; }
  .app-content .avatar-tone-0 {--avatar-bg:var(--appearance-purple-bg,#f2edfc);--avatar-ink:var(--appearance-purple,#5722bf);}
  .app-content .avatar-tone-1 {--avatar-bg:var(--appearance-gold-bg,#fdf5dd);--avatar-ink:var(--appearance-gold,#9f7908);}
  .app-content .avatar-tone-2 {--avatar-bg:var(--appearance-green-bg,#e7f3ec);--avatar-ink:var(--appearance-green,#3c7555);}
  .app-content .avatar-tone-3 {--avatar-bg:var(--appearance-subtle,#edf1f5);--avatar-ink:var(--appearance-muted,#466792);}
  .app-content .avatar-tone-4 {--avatar-bg:var(--appearance-pink-bg,#f8e9ed);--avatar-ink:var(--appearance-pink,#915368);}
  .app-content [data-platform-grid] { width:var(--grid-width,100%) !important;min-width:0 !important;table-layout:fixed !important; }
  .app-content [data-platform-grid] :is(td,th) { position:relative;min-width:0 !important;width:auto !important;overflow:hidden;text-overflow:ellipsis; }
  .app-content [data-platform-grid] th { position:sticky;top:0;z-index:2; }
  .app-content .pw-column-resizer { position:absolute;right:0;top:0;bottom:0;width:5px;cursor:col-resize;touch-action:none; }
  .app-content .pw-column-resizer:hover,.app-content .pw-column-resizer:focus-visible,.app-content .pw-column-resizer.is-resizing { background:var(--appearance-purple-bg,#a582e94d); }
  .app-content .contacts-page .contact-action-menu { position:absolute;z-index:190;right:0;background:var(--appearance-surface,#fff);border:1px solid var(--ui-border);border-radius:5px;padding:4px;box-shadow:0 4px 12px var(--appearance-shadow,#15233514); }
  .app-content .contacts-page .contact-more { position:relative; }
  .app-content .contacts-page .row-actions button { min-height:26px !important;height:26px !important;width:24px !important;padding:0 !important; }
  .app-content .contacts-page .contact-form { padding:12px !important;gap:12px !important; }
  .app-content .contacts-page .modal-backdrop { z-index:220 !important; }
  .app-content .contacts-page .information .notes { white-space:pre-wrap;overflow-wrap:anywhere; }
  /* Editable customer documents are isolated from application typography. */
  .app-content :is(.email-canvas,.email-preview,.email-body,.content-preview,[contenteditable=true],.ql-editor,.ProseMirror) :is(p,span,div,td,th,strong,a,li,h1,h2,h3,h4) { font-family:revert-layer !important;font-size:var(--type-body) !important;font-weight:revert-layer !important;line-height:revert-layer !important; }
  @media(max-width:1100px) { .app-content :is(.header-actions,.page-actions,.toolbar,.command-bar) { gap:4px !important; } }
  @media(max-width:700px) { .app-content :is(.page-header,.prospects-header,.content-header,.campaign-header,.templates-header,.dashboard-header) { flex-direction:column !important;align-items:flex-start !important; } .app-content :is(.header-actions,.page-actions,.toolbar,.command-bar) { max-width:100%;overflow-x:auto; } }
 }
}
@layer olei-design {
 body:not(:has(.prospects-fluent)) .pw-tooltip { position:fixed;inset:auto;margin:0;max-width:min(360px,calc(100vw - 16px));padding:6px 8px;background:#202838;color:white;border:0;border-radius:5px;font:400 var(--type-helper)/16px 'Segoe UI',sans-serif;box-shadow:0 3px 12px var(--appearance-shadow,#17203320);pointer-events:none;z-index:1000; }
 body:has(.platform-visual-scope):not(:has(.prospects-fluent)) .toast { font:400 var(--type-body)/18px 'Segoe UI',sans-serif !important;border-radius:5px !important; }
}
@layer olei-design{
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))){
       
  --ui-ink:var(--appearance-heading,#172033); --ui-text:var(--appearance-text,#40506a); --ui-muted:var(--appearance-muted,#748096);
  --regular:400; --semibold:600; --bold:700; --weight-normal:var(--regular); --weight-semibold:var(--semibold);
  --aux-panel-width:276px; --workspace-padding:18px; --panel-gap:12px; --command-height:34px; --search-height:34px; --dropdown-option-height:29px; --pagination-height:32px; --space-xs:4px; --space-sm:8px; --space-md:12px; --space-lg:16px; --space-xl:20px;
  --control-height:var(--command-height); --filter-height:35px; --table-header-height:34px; --table-row-height:45px;
  --radius-sm:5px; --radius-md:7px;
      
 }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content{ max-width:none !important; width:100% !important; box-sizing:border-box !important; padding:var(--workspace-padding) !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) svg.fluent-icon,
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) svg.fluent-icon path{ fill:currentColor !important; stroke:none !important; stroke-width:0 !important; }

}

/* Same period control/popover; opt-in selectors only. */
@layer olei-design {
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .metric-period-selector { order:2 !important; margin:0 !important; padding-left:var(--space-sm) !important; border-left:1px solid var(--ui-border) !important; }
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .metric-period-selector label { position:relative !important; display:flex !important; align-items:center !important; gap:var(--space-sm) !important; font-size:var(--type-body) !important; }
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .metric-period-selector select { height:var(--control-height) !important; min-height:var(--control-height) !important; font-size:var(--type-body) !important; padding-left:28px !important; border-radius:var(--radius-sm) !important; }
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .period-calendar { position:absolute !important; left:58px !important; top:11px !important; width:14px !important; height:14px !important; pointer-events:none; }
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .period-calendar svg { width:14px !important; height:14px !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .metric-period-selector { position:relative !important;flex:0 0 190px !important;width:190px !important;box-sizing:border-box !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .metric-period-selector>label { width:100% !important;flex-wrap:nowrap !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .metric-period-selector select { width:130px !important;min-width:130px !important;max-width:130px !important;padding-right:16px !important; }
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .metric-edit-custom { position:absolute !important;left:58px !important;top:0 !important;width:24px !important;height:34px !important;min-height:34px !important;padding:0 !important;border:0 !important;background:transparent !important;color:var(--ui-primary) !important;display:grid !important;place-items:center !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .metric-edit-custom svg { width:14px !important;height:14px !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover { position:fixed !important;inset:auto !important;margin:0 !important;width:260px !important;max-width:calc(100vw - 16px) !important;box-sizing:border-box !important;padding:12px !important;border:1px solid var(--appearance-border,#e0e4ed) !important;border-radius:7px !important;background:var(--appearance-surface,#fff) !important;box-shadow:0 4px 16px var(--appearance-shadow,#17203318) !important;color:var(--appearance-text,#40506a) !important;font-family:Segoe UI,Arial,sans-serif !important;font-size:var(--type-body) !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover:not(:popover-open) { display:none !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover:popover-open { display:flex !important;flex-direction:column !important;gap:12px !important;align-items:stretch !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover h2 { font-size:var(--type-section) !important;line-height:18px !important;font-weight:600 !important;margin:0 !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover label { display:grid !important;grid-template-columns:70px minmax(0,1fr) !important;gap:8px !important;font-size:var(--type-body) !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover input { width:100% !important;height:34px !important;min-height:34px !important;box-sizing:border-box !important;font-size:var(--type-body) !important;padding:0 8px !important;border:1px solid var(--appearance-border,#e0e4ed) !important;border-radius:5px !important;color:var(--appearance-text,#40506a) !important;background:var(--appearance-surface,#fff) !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover button { height:34px !important;min-height:34px !important;font-size:var(--type-body) !important;font-weight:600 !important;border:1px solid var(--appearance-purple-border,#d5c5f5) !important;border-radius:5px !important;color:var(--ui-primary) !important;background:var(--appearance-purple-bg,#f2edfc) !important; }
.app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover::backdrop { background:transparent !important; }
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .metric-period-selector { height:52px !important;min-height:52px !important;align-items:flex-start !important; }
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover header { display:flex !important;align-items:center !important;justify-content:space-between !important;gap:8px !important; }
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover .metric-close { width:28px !important;min-width:28px !important;padding:0 !important;border:0 !important;background:transparent !important;display:grid !important;place-items:center !important; }
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover::backdrop { background:rgba(23,32,51,.12) !important; }
}

@layer olei-design {
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .metric-range-caption { position:absolute !important;top:36px !important;right:0 !important;width:130px !important;height:14px !important;min-height:14px !important;padding:0 !important;margin:0 !important;border:0 !important;background:transparent !important;color:var(--ui-muted) !important;font-size:var(--type-helper) !important;font-weight:400 !important;line-height:14px !important;white-space:nowrap !important;text-align:center !important; }
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .ew-period-popover .metric-close { width:28px !important;min-width:28px !important;padding:0 !important;border:0 !important;background:transparent !important;display:grid !important;place-items:center !important; }
 .app-shell:has(.platform-visual-scope):where(:not(:has(.prospects-fluent))) .app-content .metric-close svg { width:14px !important;height:14px !important; }
.app-shell:has(.platform-visual-scope):not(:has(.prospects-fluent)) .app-content .metric-period-selector select {height:34px !important;min-height:34px !important;padding-left:28px !important;padding-right:16px !important;}
}
