/* Sfera CRM opportunities · approved UI · sources: approved dashboard tokens and Basalt/NexLink composition. */
#opportunity-view[data-studio="v4"]{--s4-navy:#0e2166;--s4-blue:#3b78eb;--s4-ink:#263e65;--s4-muted:#7e91ae;--s4-line:#e2ebf7;--s4-card:#fff;background:#f6f9fe!important;box-shadow:none!important;border:0!important;min-width:0}
#opportunity-view[data-studio="v4"] .opportunities-shell,#opportunity-view[data-studio="v4"] .opportunities-content{max-width:1630px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
#opportunity-view[data-studio="v4"] .opp-desk-heading{padding-bottom:18px!important}
#opportunity-view[data-studio="v4"] .opp-desk-heading h2{margin:0!important;color:#0e2166!important;font:650 clamp(26px,2.55vw,38px)/1.16 Poppins,"Open Sans",sans-serif!important;letter-spacing:-.055em!important}
#opportunity-view[data-desk][data-studio="v4"] #opportunity-overview.s4-overview{display:flex!important;flex-direction:column!important;gap:15px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0 0 20px!important;padding:0!important;overflow:visible!important}
#opportunity-view[data-desk][data-studio="v4"] #opportunity-overview[hidden]{display:none!important}
#opportunity-view[data-studio="v4"] .s4-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0}
#opportunity-view[data-studio="v4"] button.s4-kpi{position:relative;min-width:0;display:flex!important;flex-direction:column;gap:7px;padding:17px 20px 16px!important;border:1px solid #e1eaf6!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 20px rgba(25,55,105,.06)!important;text-align:left;animation:s4-enter .4s ease-out both;animation-delay:var(--delay);transition:border-color .16s,box-shadow .16s!important}
#opportunity-view[data-studio="v4"] button.s4-kpi:hover{border-color:#bcd4f7!important;box-shadow:0 9px 22px rgba(25,55,105,.08)!important;transform:none!important;translate:none!important}
#opportunity-view[data-studio="v4"] .s4-kpi-heading{display:flex;align-items:center;gap:10px;color:#526d98;font-size:11px}
#opportunity-view[data-studio="v4"] .s4-kpi-heading i{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#edf4ff;color:#3677dc;font-style:normal}
#opportunity-view[data-studio="v4"] .s4-kpi.won .s4-kpi-heading i{color:#239464;background:#edf9f2}
#opportunity-view[data-studio="v4"] .s4-kpi.lost .s4-kpi-heading i{color:#bf5460;background:#fff0f2}
#opportunity-view[data-studio="v4"] .s4-kpi-heading svg{width:17px;height:17px}
#opportunity-view[data-studio="v4"] .s4-kpi-main{display:flex;align-items:baseline;justify-content:space-between;gap:5px}
#opportunity-view[data-studio="v4"] .s4-kpi-main>strong{font:650 clamp(26px,2.3vw,34px)/1.12 Poppins,sans-serif;color:#122d63;letter-spacing:-.06em}
#opportunity-view[data-studio="v4"] .s4-kpi-main>span{font-weight:750;color:#2e558a;font-size:12px;white-space:nowrap}
#opportunity-view[data-studio="v4"] .s4-kpi-caption{color:#8b9bb2;font-size:10px;min-height:15px}
#opportunity-view[data-studio="v4"] .s4-kpi-track{height:4px;background:#eaf0f9;border-radius:4px;margin-top:6px;overflow:hidden;width:100%}
#opportunity-view[data-studio="v4"] .s4-kpi-track i{display:block;height:100%;border-radius:4px;background:#77a8f6;transform-origin:left;animation:s4-grow .9s cubic-bezier(.2,.8,.2,1) both}
#opportunity-view[data-studio="v4"] .s4-kpi.won .s4-kpi-track i{background:#45b88e}
#opportunity-view[data-studio="v4"] .s4-kpi.lost .s4-kpi-track i{background:#e6a0aa}
#opportunity-view[data-studio="v4"] .s4-main-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.85fr) minmax(0,1fr);align-items:stretch;gap:13px;min-width:0}
#opportunity-view[data-studio="v4"] .s4-bottom-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:13px;min-width:0}
#opportunity-view[data-studio="v4"] .s4-card{min-width:0;position:relative;padding:20px!important;border:1px solid #e0eaf7!important;border-radius:16px!important;background:#fff!important;box-shadow:0 7px 22px rgba(26,56,103,.055)!important;overflow:hidden}
#opportunity-view[data-studio="v4"] .s4-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:0!important;margin:0 0 17px!important;border:0!important;background:transparent!important;color:inherit!important}
#opportunity-view[data-studio="v4"] .s4-card-heading__main{display:flex;align-items:flex-start;gap:9px;min-width:0}
#opportunity-view[data-studio="v4"] .s4-card-heading__main>span:last-child{min-width:0}
#opportunity-view[data-studio="v4"] .s4-card-heading__main strong{display:block;color:#173566;font:650 13px/1.4 Poppins,"Open Sans",sans-serif;letter-spacing:-.03em}
#opportunity-view[data-studio="v4"] .s4-card-heading__main small{display:block;color:#8498b3;font-size:10px;line-height:1.55;margin-top:3px}
#opportunity-view[data-studio="v4"] .s4-icon{width:31px;height:31px;display:grid;place-items:center;flex:0 0 31px;border-radius:10px;background:#edf4ff;color:#3372d4}
#opportunity-view[data-studio="v4"] .s4-icon svg{width:17px;height:17px}
#opportunity-view[data-studio="v4"] .s4-next .s4-icon{color:#c47b36;background:#fff4e9}
#opportunity-view[data-studio="v4"] .s4-calendar .s4-icon{color:#476ac0;background:#eef2ff}
#opportunity-view[data-studio="v4"] .s4-quality .s4-icon{color:#209c72;background:#eaf8f1}
#opportunity-view[data-studio="v4"] .s4-badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;gap:5px;min-height:22px;padding:4px 8px;border-radius:7px;color:#617da2;background:#f3f6fc;font-size:9px;font-weight:700;line-height:1.2}
#opportunity-view[data-studio="v4"] .s4-badge.blue{color:#2469c8;background:#edf5ff}
#opportunity-view[data-studio="v4"] .s4-badge.late{color:#b54e5c;background:#fff0f2}
#opportunity-view[data-studio="v4"] .s4-badge.phase.won{color:#25845f;background:#eaf8f0}
#opportunity-view[data-studio="v4"] .s4-badge.phase.lost{color:#b75260;background:#fff0f2}
#opportunity-view[data-studio="v4"] .s4-badge.phase.open{color:#2a6bc4;background:#edf5ff}
#opportunity-view[data-studio="v4"] .s4-empty{margin:15px 0!important;color:#8b9cb2;font-size:11px;line-height:1.6}
#opportunity-view[data-studio="v4"] .s4-data-warning{display:block;color:#b07438;background:#fff9ee;padding:9px 10px;margin-top:12px;border-radius:8px;font-size:10px}
#opportunity-view[data-studio="v4"] .s4-forecast{display:flex;flex-direction:column}
#opportunity-view[data-studio="v4"] .s4-forecast-body{display:grid;grid-template-columns:minmax(115px,.8fr) minmax(150px,1.35fr);align-items:center;gap:12px;min-height:165px}
#opportunity-view[data-studio="v4"] .s4-forecast-figure strong{display:block;font:650 clamp(26px,2.3vw,39px)/1.1 Poppins,sans-serif;color:#112c63;letter-spacing:-.06em;white-space:nowrap}
#opportunity-view[data-studio="v4"] .s4-forecast-figure p{margin:10px 0 0;font-size:10px;line-height:1.65;color:#8093b0;max-width:205px}
#opportunity-view[data-studio="v4"] .s4-forecast-chart svg{display:block;width:100%;height:130px;overflow:visible}
#opportunity-view[data-studio="v4"] .s4-forecast-area{fill:#e4efff;opacity:.9;animation:s4-appear 1s both}
#opportunity-view[data-studio="v4"] .s4-forecast-line{fill:none;stroke:#347af1;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:0;animation:s4-draw 1.2s cubic-bezier(.2,.8,.2,1) both}
#opportunity-view[data-studio="v4"] .s4-forecast-dot{fill:white;stroke:#367bf2;stroke-width:3}
#opportunity-view[data-studio="v4"] .s4-forecast-ticks{display:flex;justify-content:space-between;gap:4px;color:#94a6bf;font-size:9px}
#opportunity-view[data-studio="v4"] .s4-forecast-footer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #eaf0f7;margin-top:auto;padding-top:14px}
#opportunity-view[data-studio="v4"] .s4-forecast-footer>div{display:flex;align-items:center;gap:8px;min-width:0;padding:0 8px}
#opportunity-view[data-studio="v4"] .s4-forecast-footer>div:first-child{padding-left:0}
#opportunity-view[data-studio="v4"] .s4-forecast-footer>div+div{border-left:1px solid #eaf0f7}
#opportunity-view[data-studio="v4"] .s4-forecast-footer i{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;color:#3b78eb;background:#f0f6ff;border-radius:8px}
#opportunity-view[data-studio="v4"] .s4-forecast-footer svg{width:16px;height:16px}
#opportunity-view[data-studio="v4"] .s4-forecast-footer span{display:block;min-width:0}
#opportunity-view[data-studio="v4"] .s4-forecast-footer strong{display:block;font:700 12px Poppins,sans-serif;color:#213b6c;white-space:nowrap}
#opportunity-view[data-studio="v4"] .s4-forecast-footer small{display:block;color:#8da0bb;font-size:9px;margin-top:3px}
/* Follow-up queue, date-specific and only open opportunities */
#opportunity-view[data-studio="v4"] .s4-next-group{color:#567297;font-size:10px;font-weight:750;margin:14px 0 5px}
#opportunity-view[data-studio="v4"] button.s4-next-item{display:flex!important;align-items:center;gap:9px;min-height:47px;width:100%;padding:9px 2px!important;border:0!important;border-bottom:1px solid #edf1f7!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:left;transition:background .17s!important}
#opportunity-view[data-studio="v4"] button.s4-next-item:hover{background:#f6f9ff!important;transform:none!important;translate:none!important}
#opportunity-view[data-studio="v4"] .s4-next-time{flex:0 0 50px;font-size:10px;color:#4064a1;font-weight:700}
#opportunity-view[data-studio="v4"] .s4-next-copy{flex:1;display:block;min-width:0}
#opportunity-view[data-studio="v4"] .s4-next-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#284775}
#opportunity-view[data-studio="v4"] .s4-next-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#90a1ba;margin-top:4px}
#opportunity-view[data-studio="v4"] button.s4-next-item>svg{width:13px;height:13px;color:#9cb0c9;flex:none}
#opportunity-view[data-studio="v4"] .s4-more{border:0!important;background:transparent!important;box-shadow:none!important;color:#3377d5;font-weight:700;font-size:10px;padding:10px 0 0!important;cursor:pointer}
#opportunity-view[data-studio="v4"] .s4-more:hover{text-decoration:underline}
/* Calendar */
#opportunity-view[data-studio="v4"] .s4-calendar-layout{display:grid;grid-template-columns:minmax(145px,1.02fr) minmax(125px,.95fr);gap:12px;min-width:0}
#opportunity-view[data-studio="v4"] .s4-calendar-picker{padding:9px 8px;background:#f9fbff;border:1px solid #eaf0f8;border-radius:11px;min-width:0}
#opportunity-view[data-studio="v4"] .s4-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:6px}
#opportunity-view[data-studio="v4"] .s4-calendar-nav strong{font-size:10px;color:#31517f}
#opportunity-view[data-studio="v4"] button.s4-calendar-arrow{display:grid;place-items:center;width:24px;height:24px;min-width:24px!important;padding:0!important;border:0!important;background:transparent!important;color:#5774a0}
#opportunity-view[data-studio="v4"] .s4-calendar-arrow svg{height:15px;width:15px}
#opportunity-view[data-studio="v4"] .s4-calendar-week,#opportunity-view[data-studio="v4"] .s4-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;text-align:center}
#opportunity-view[data-studio="v4"] .s4-calendar-week{margin:9px 0 6px}
#opportunity-view[data-studio="v4"] .s4-calendar-week span{font-size:9px;color:#9aacca}
#opportunity-view[data-studio="v4"] button.s4-day{position:relative;display:grid;place-items:center;min-width:0;width:100%;height:27px;min-height:27px!important;margin:0;padding:0!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#47628a!important;box-shadow:none!important;font-size:10px!important;transition:background .17s,color .17s}
#opportunity-view[data-studio="v4"] button.s4-day:hover{background:#e5effd!important;transform:none}
#opportunity-view[data-studio="v4"] button.s4-day.selected{background:#277cf1!important;color:#fff!important}
#opportunity-view[data-studio="v4"] button.s4-day.today:not(.selected){outline:1px solid #90baf8}
#opportunity-view[data-studio="v4"] .s4-day i{position:absolute;bottom:1px;width:4px;height:4px;border-radius:50%;background:#ed6c65}
#opportunity-view[data-studio="v4"] .s4-day.selected i{background:#fff}
#opportunity-view[data-studio="v4"] .s4-day sup{position:absolute;top:0;right:0;font-size:7px;background:#f1b4a5;border-radius:5px;padding:0 2px;color:#fff}
#opportunity-view[data-studio="v4"] .s4-calendar-results{min-width:0;display:flex;flex-direction:column;gap:8px;padding:9px;background:#f9fbff;border:1px solid #eaf0f8;border-radius:11px}
#opportunity-view[data-studio="v4"] .s4-calendar-selected{color:#284a7a;font-size:11px;line-height:1.4}
#opportunity-view[data-studio="v4"] .s4-calendar-result-list{display:grid;gap:7px;align-content:start;max-height:185px;overflow:auto}
#opportunity-view[data-studio="v4"] button.s4-expiry-item{display:grid;gap:3px;text-align:left;width:100%;padding:9px!important;background:#fff!important;border:1px solid #e8eff8!important;border-radius:9px!important;box-shadow:none!important;transition:border-color .16s!important}
#opportunity-view[data-studio="v4"] button.s4-expiry-item:hover{border-color:#c5d9f6!important;transform:none}
#opportunity-view[data-studio="v4"] .s4-expiry-item strong{color:#33527f;font-size:10px}
#opportunity-view[data-studio="v4"] .s4-expiry-item small{color:#99abc3;font-size:9px}
#opportunity-view[data-studio="v4"] .s4-expiry-item span{color:#2c65b4;font-size:11px;font-weight:700}
#opportunity-view[data-studio="v4"] .s4-calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:11px}
#opportunity-view[data-studio="v4"] .s4-calendar-footer small{color:#90a1b7;font-size:9px}
#opportunity-view[data-studio="v4"] .s4-calendar-footer .s4-more{padding:0!important}
#opportunity-view[data-studio="v4"] .s4-calendar-agenda{display:grid;max-height:185px;overflow:auto;gap:5px;margin-top:11px}
#opportunity-view[data-studio="v4"] .s4-calendar-agenda button{display:flex;gap:8px;align-items:center;text-align:left;border:0;border-radius:6px;background:#f6f9ff;padding:7px;color:#486283;font-size:10px}
#opportunity-view[data-studio="v4"] .s4-distribution{display:grid;align-content:start}
#opportunity-view[data-studio="v4"] button.s4-phase-row{display:grid!important;grid-template-columns:minmax(160px,.9fr) minmax(80px,2fr) minmax(70px,.6fr);gap:11px;align-items:center;text-align:left;width:100%;padding:9px 2px!important;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important;animation:s4-enter .4s both;animation-delay:var(--delay);transition:background .15s!important}
#opportunity-view[data-studio="v4"] button.s4-phase-row:hover{background:#f3f7fe!important;transform:none}
#opportunity-view[data-studio="v4"] .s4-phase-row>span:first-child{font-size:10px;color:#61799c}
#opportunity-view[data-studio="v4"] .s4-phase-row strong{text-align:right;font-size:11px;color:#33517b}
#opportunity-view[data-studio="v4"] .s4-phase-track{display:block;height:8px;background:#e8eef8;border-radius:8px;overflow:hidden}
#opportunity-view[data-studio="v4"] .s4-phase-track>i{display:block;height:100%;border-radius:8px;background:#6aa0f0;transform-origin:left;animation:s4-grow .85s both}
#opportunity-view[data-studio="v4"] .s4-phase-row:nth-child(3) i{background:#528ceb}
#opportunity-view[data-studio="v4"] .s4-phase-row:nth-child(4) i{background:#417ee2}
#opportunity-view[data-studio="v4"] .s4-phase-row:nth-child(5) i{background:#3267c1}
#opportunity-view[data-studio="v4"] .s4-phase-row:nth-child(6) i{background:#204b9d}
#opportunity-view[data-studio="v4"] .s4-quality-main{display:flex;align-items:center;gap:20px;margin:14px 0 16px}
#opportunity-view[data-studio="v4"] .s4-quality-ring{flex:0 0 112px;width:112px;height:112px;display:grid;place-items:center;position:relative;border-radius:50%;background:conic-gradient(#279b78 var(--rate),#e9f0f8 0);animation:s4-appear .7s both}
#opportunity-view[data-studio="v4"] .s4-quality-ring:before{position:absolute;inset:11px;content:"";border-radius:50%;background:#fff}
#opportunity-view[data-studio="v4"] .s4-quality-ring>span{position:relative;text-align:center}
#opportunity-view[data-studio="v4"] .s4-quality-ring strong{display:block;color:#16406e;font:650 28px Poppins,sans-serif}
#opportunity-view[data-studio="v4"] .s4-quality-ring small{display:block;color:#8b9fb6;font-size:9px}
#opportunity-view[data-studio="v4"] .s4-quality-main>p{font-size:11px;color:#8295b2;line-height:1.6}
#opportunity-view[data-studio="v4"] .s4-quality-bands{display:grid;gap:9px}
#opportunity-view[data-studio="v4"] .s4-quality-band{display:grid;grid-template-columns:8px minmax(110px,1fr) 25px minmax(45px,1fr);gap:8px;align-items:center}
#opportunity-view[data-studio="v4"] .s4-quality-band>i{width:8px;height:8px;border-radius:50%;background:#83a4d8}
#opportunity-view[data-studio="v4"] .s4-quality-band>i.high{background:#26976c}
#opportunity-view[data-studio="v4"] .s4-quality-band>i.medium{background:#377fe4}
#opportunity-view[data-studio="v4"] .s4-quality-band>i.low{background:#dc6977}
#opportunity-view[data-studio="v4"] .s4-quality-band>span:not(.s4-quality-track){color:#8194ae;font-size:10px}
#opportunity-view[data-studio="v4"] .s4-quality-band strong{color:#31517e;font-size:10px}
#opportunity-view[data-studio="v4"] .s4-quality-track{height:5px;background:#edf1f8;border-radius:5px;overflow:hidden}
#opportunity-view[data-studio="v4"] .s4-quality-track i{display:block;height:100%;background:#5e99e9;border-radius:4px;transform-origin:left;animation:s4-grow .8s both}
/* One shared surface for list / Kanban / analysis; compact toolbar and table. */
#opportunity-view[data-studio="v4"] .s4-workspace{position:relative;background:#fff;border:1px solid #e2eaf5;border-radius:16px;min-width:0;box-shadow:0 7px 23px rgba(25,55,105,.04)}
#opportunity-view[data-studio="v4"] .s4-workspace-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;min-height:62px;border-bottom:1px solid #e8eef6}
#opportunity-view[data-studio="v4"] .opportunity-tabs{display:flex!important;gap:4px!important;min-width:0;flex:1;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:auto}
#opportunity-view[data-studio="v4"] .opportunity-tabs button{min-height:61px;padding:10px 12px!important;background:transparent!important;color:#7d90ac!important;font:650 12px "Open Sans",sans-serif!important;border:0!important;box-shadow:none!important;border-radius:0!important;white-space:nowrap}
#opportunity-view[data-studio="v4"] .opportunity-tabs button[aria-selected="true"]{color:#236ac8!important}
#opportunity-view[data-studio="v4"] .opportunity-tabs button:after{background:#3b78eb!important}
#opportunity-view[data-studio="v4"] .s4-toolbar{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:nowrap}
#opportunity-view[data-studio="v4"] .s4-loaded{color:#8296b2;background:#f3f7fc;font-size:10px;white-space:nowrap;padding:7px 10px;border-radius:8px}
#opportunity-view[data-studio="v4"] button.s4-tool{display:flex!important;align-items:center;justify-content:center;gap:6px;min-height:36px!important;padding:8px 10px!important;border:1px solid #dfe9f7!important;border-radius:9px!important;background:#fff!important;color:#3468ae!important;font-size:11px;font-weight:700;box-shadow:none!important}
#opportunity-view[data-studio="v4"] button.s4-tool:hover{background:#f2f7ff!important;transform:none}
#opportunity-view[data-studio="v4"] .s4-tool svg{width:15px;height:15px}
#opportunity-view[data-studio="v4"] .s4-refresh{min-width:36px!important;width:36px;padding:0!important}
#opportunity-view[data-studio="v4"] button.s4-new{min-height:38px!important;padding:9px 15px!important;white-space:nowrap;background:#3b78eb!important;color:#fff!important;border:1px solid #3b78eb!important;border-radius:9px!important;font-size:11px!important;box-shadow:0 4px 11px #3b78eb24!important}
#opportunity-view[data-studio="v4"] .s4-hide{display:none!important}
#opportunity-view[data-desk][data-studio="v4"] :is(#opportunity-management-pane,#opportunity-pipeline-pane,#opportunity-statistics-pane){position:relative;isolation:isolate;padding:5px 15px 20px!important;margin:0!important;border:0!important;border-radius:0 0 16px 16px!important;background:#fff!important;box-shadow:none!important;min-width:0}
#opportunity-view[data-studio="v4"] #opportunity-management-pane .opportunity-pane__header{display:none!important}
#opportunity-view[data-studio="v4"] #opportunity-results-meta{display:none!important}
#opportunity-view[data-studio="v4"] .opportunity-results-head{display:none!important}
#opportunity-view[data-studio="v4"] .s2-toolbar,#opportunity-view[data-studio="v4"] .s3-toolbar{display:none!important}
#opportunity-view[data-studio="v4"] .s4-table-head{display:grid;grid-template-columns:minmax(190px,2fr) minmax(115px,.85fr) minmax(100px,.9fr) minmax(130px,1fr) minmax(110px,.8fr) minmax(90px,.8fr) 16px;gap:10px;align-items:center;padding:13px 12px;border-bottom:1px solid #eaf0f7;color:#91a2ba;font-size:9px;font-weight:750;letter-spacing:.03em}
#opportunity-view[data-studio="v4"] .opp-desk-list-labels{display:none!important}
#opportunity-view[data-studio="v4"] #opportunity-results{display:block!important;padding:0!important;min-width:0}
#opportunity-view[data-desk][data-studio="v4"] #opportunity-results .opportunity-card.s4-row{display:grid!important;grid-template-columns:minmax(190px,2fr) minmax(115px,.85fr) minmax(100px,.9fr) minmax(130px,1fr) minmax(110px,.8fr) minmax(90px,.8fr) 16px!important;gap:10px!important;align-items:center;min-width:0;margin:0!important;padding:13px 12px!important;border:0!important;border-bottom:1px solid #ecf1f8!important;border-radius:0!important;background:#fff!important;color:#28436b!important;box-shadow:none!important;transform:none!important;translate:none!important;transition:background .14s!important;animation:none!important;cursor:pointer}
#opportunity-view[data-desk][data-studio="v4"] #opportunity-results .opportunity-card.s4-row:nth-child(even){background:#fbfcff!important}
#opportunity-view[data-desk][data-studio="v4"] #opportunity-results .opportunity-card.s4-row:hover{background:#f3f7ff!important;transform:none!important;translate:none!important;border-color:#ecf1f8!important}
#opportunity-view[data-studio="v4"] .s4-row-id{display:flex;align-items:center;gap:10px;min-width:0}
#opportunity-view[data-studio="v4"] .s4-avatar{flex:0 0 31px;display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#eaf2ff;color:#3066b8;font-weight:750;font-size:12px}
#opportunity-view[data-studio="v4"] .s4-row-id>span:last-child{display:grid;gap:4px;min-width:0}
#opportunity-view[data-studio="v4"] .s4-row-id strong{font-size:11px;color:#264474;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#opportunity-view[data-studio="v4"] .s4-row-id small{font-size:10px;color:#92a4bc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#opportunity-view[data-studio="v4"] .s4-row-amount{display:grid;gap:3px}
#opportunity-view[data-studio="v4"] .s4-row-amount strong{font:700 12px Poppins,sans-serif;color:#163771}
#opportunity-view[data-studio="v4"] .s4-row-amount small{color:#96a7bd;font-size:10px}
#opportunity-view[data-studio="v4"] .s4-muted-chip{display:inline-flex;color:#a2aec0;font-size:10px}
#opportunity-view[data-studio="v4"] .s4-row-owner{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6e84a5;font-size:10px}
#opportunity-view[data-studio="v4"] .s4-row-arrow{display:grid;place-items:center;color:#7c9ccb}
#opportunity-view[data-studio="v4"] .s4-row-arrow svg{width:15px;height:15px}
#opportunity-view[data-desk][data-studio="v4"] #opportunity-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;position:absolute!important;top:8px;right:15px;z-index:40;width:min(525px,calc(100% - 30px));max-height:68vh;overflow:auto;padding:17px!important;border:1px solid #d9e6f6!important;border-radius:13px!important;background:#fff!important;box-shadow:0 18px 40px #122f6140!important;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-6px);transition:opacity .18s,transform .18s,visibility .18s}
#opportunity-view[data-desk][data-studio="v4"] #opportunity-filters.s4-filters-open{opacity:1;visibility:visible;pointer-events:auto;transform:none}
#opportunity-view[data-studio="v4"] #opportunity-filters>label{display:grid!important;gap:7px;min-width:0}
#opportunity-view[data-studio="v4"] #opportunity-filters :is(input,select){width:100%;max-width:100%;min-width:0;padding:9px!important;min-height:39px!important;border:1px solid #dce6f4;border-radius:8px;font-size:11px;background:#f9fbfe}
#opportunity-view[data-studio="v4"] #opportunity-filters .opportunity-filters__advanced,#opportunity-view[data-studio="v4"] #opportunity-filters .opportunity-filters__actions{grid-column:1/-1}
/* Compact Kanban, no left rails */
#opportunity-view[data-studio="v4"] .s4-mobile-phase{display:none}
#opportunity-view[data-desk][data-studio="v4"] #opportunity-kanban{display:grid!important;grid-template-columns:repeat(5,minmax(235px,1fr))!important;gap:12px!important;grid-auto-flow:unset!important;grid-auto-columns:unset!important;align-items:start;min-height:0!important;width:100%;overflow-x:auto!important;padding:12px 0!important;margin-top:0!important;scrollbar-width:thin}
#opportunity-view[data-desk][data-studio="v4"] #opportunity-kanban .opportunity-kanban-column{min-width:235px!important;min-height:0!important;height:auto!important;padding:0!important;border:1px solid #e1eaf6!important;border-left:1px solid #e1eaf6!important;border-radius:13px!important;background:#f8fbff!important;box-shadow:none!important;overflow:hidden}
#opportunity-view[data-studio="v4"] .opportunity-kanban-column.is-drop-target{outline:2px dashed #3b78eb;outline-offset:-4px;background:#ebf4ff!important}
#opportunity-view[data-desk][data-studio="v4"] #opportunity-kanban .opportunity-kanban-column__head{display:block!important;min-height:79px;padding:0!important;margin:0!important;border:0!important;background:#fff!important;border-bottom:1px solid #e8eef8!important}
#opportunity-view[data-studio="v4"] .s4-lane-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:79px;padding:10px}
#opportunity-view[data-studio="v4"] .s4-lane-name{display:flex;align-items:center;gap:7px;min-width:0}
#opportunity-view[data-studio="v4"] .s4-lane-name>span:last-child{min-width:0}
#opportunity-view[data-studio="v4"] .s4-lane-mark{flex:0 0 29px;display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#eaf3ff;color:#3b78eb}
#opportunity-view[data-studio="v4"] .s4-lane-mark svg{width:16px;height:16px}
#opportunity-view[data-studio="v4"] .s4-lane-name h3{margin:0 0 4px!important;color:#27436e!important;font:650 11px Poppins,sans-serif!important}
#opportunity-view[data-studio="v4"] .s4-lane-name p{color:#8b9eb7!important;font-size:10px!important}
#opportunity-view[data-desk][data-studio="v4"] .opportunity-kanban-column__body{display:grid!important;align-content:start!important;gap:10px!important;min-height:0!important;max-height:665px;overflow-y:auto;padding:10px!important}
#opportunity-view[data-studio="v4"] .opportunity-kanban-column__body.s4-empty-lane{min-height:115px!important;align-content:center!important}
#opportunity-view[data-studio="v4"] .opportunity-kanban-column__body.s4-empty-lane>p{text-align:center;color:#9babc0;font-size:10px}
#opportunity-view[data-desk][data-studio="v4"] .opportunity-kanban-card.s4-board-card{display:block!important;min-width:0;padding:13px 12px!important;margin:0!important;border:1px solid #e1eaf6!important;border-left:1px solid #e1eaf6!important;border-radius:11px!important;background:#fff!important;box-shadow:0 3px 10px #17376909!important;transform:none!important;translate:none!important;animation:s4-enter .38s both;animation-delay:var(--delay);transition:border-color .16s,box-shadow .16s!important}
#opportunity-view[data-studio="v4"] .opportunity-kanban-card.s4-board-card:hover{border-color:#c7dbf6!important;box-shadow:0 6px 17px #17376918!important;transform:none!important;translate:none!important}
#opportunity-view[data-studio="v4"] .s4-deal-top{display:flex;align-items:center;gap:6px}
#opportunity-view[data-studio="v4"] .s4-drag{color:#a1b2c9;flex:0 0 15px}.s4-drag svg{width:15px;height:15px}
#opportunity-view[data-studio="v4"] .s4-deal-top strong{font-size:10px;color:#3d5b83;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#opportunity-view[data-studio="v4"] button.s4-card-more{display:grid;place-items:center;width:25px;height:25px;min-height:25px!important;padding:0!important;border:0!important;background:transparent!important;color:#7e9cc3}
#opportunity-view[data-studio="v4"] .s4-card-more svg{width:14px;height:14px}
#opportunity-view[data-studio="v4"] .s4-board-card>h4{margin:13px 0!important;min-height:35px;font:650 12px/1.45 Poppins,"Open Sans",sans-serif!important;color:#28436e!important}
#opportunity-view[data-studio="v4"] .s4-deal-value{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-bottom:12px}
#opportunity-view[data-studio="v4"] .s4-deal-value strong{font:650 18px Poppins,sans-serif;color:#163774}
#opportunity-view[data-studio="v4"] .s4-deal-date{display:flex;align-items:center;gap:7px;color:#7990b0;font-size:10px;padding-bottom:12px;border-bottom:1px solid #eaf0f8}
#opportunity-view[data-studio="v4"] .s4-deal-date svg{width:15px;height:15px;color:#6c95d3}
#opportunity-view[data-studio="v4"] .s4-deal-footer{display:flex;align-items:center;justify-content:space-between;gap:7px;padding-top:10px}
#opportunity-view[data-studio="v4"] .s4-deal-footer>span{color:#8198b4;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#opportunity-view[data-studio="v4"] .s4-deal-footer select{width:auto!important;max-width:58%;min-height:30px!important;padding:4px 6px!important;font-size:9px!important;border:1px solid #dfebfa!important;border-radius:8px!important;background:#eff5ff!important;color:#3568ae!important}
/* Sfera drawers: fixed single right-side panel, grouped detail/form blocks */
.opp-desk-dialog.opportunity-dialog[hidden],.opp-desk-dialog .opportunity-dialog__panel[hidden]{display:none!important}
.opp-desk-dialog.opportunity-dialog{position:fixed!important;inset:0!important;z-index:12050!important;display:flex!important;align-items:stretch!important;justify-content:flex-end!important;padding:0!important;background:transparent!important}
.opp-desk-dialog .opportunity-dialog__backdrop{position:absolute;inset:0;width:100%;height:100%;background:#10204455!important;backdrop-filter:blur(2px)}
.opp-desk-dialog .opportunity-dialog__panel,#opportunity-form-dialog.opp-desk-dialog .opportunity-dialog__panel{position:relative!important;display:flex!important;flex-direction:column!important;flex:none!important;width:min(600px,100vw)!important;max-width:100vw!important;min-width:0!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;border:0!important;border-left:1px solid #dce6f4!important;border-radius:0!important;background:#fff!important;box-shadow:-14px 0 40px #102e681a!important;overflow:hidden!important;animation:s4-drawer .25s ease-out both}
.opp-desk-dialog .opportunity-dialog__panel>header{flex:0 0 auto;position:relative!important;top:auto!important;display:flex;align-items:center;justify-content:space-between;gap:13px;padding:24px!important;border:0!important;border-bottom:1px solid #e8eef7!important;background:#fff!important;box-shadow:none!important}
.opp-desk-dialog .opportunity-dialog__panel>header h3{margin:0!important;color:#0e2166!important;font:650 21px Poppins,sans-serif!important;letter-spacing:-.04em!important}
.opp-desk-dialog .opportunity-dialog__panel>header .opportunities-eyebrow{color:#6284b5;font-size:10px;letter-spacing:.09em}
.opp-desk-dialog .opportunity-dialog__panel>header>button{width:36px;min-width:36px;height:36px;border:1px solid #e0e9f6;border-radius:50%;background:#f7faff;color:#5b78a1}
.opp-desk-dialog :is(#opportunity-detail-data,.opportunity-dialog__body){flex:1;min-height:0;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;background:#fff!important}
.opp-desk-dialog .opportunity-dialog__panel>footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:nowrap;flex:0 0 auto;position:relative!important;bottom:auto!important;padding:15px 18px calc(15px + env(safe-area-inset-bottom))!important;margin-top:auto!important;border-top:1px solid #e5edf7!important;background:#fff!important;box-shadow:none!important}
.opp-desk-dialog .opportunity-dialog__panel>footer button{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:38px!important;padding:9px 13px!important;border:1px solid #dae6f5!important;border-radius:10px!important;background:#fff!important;color:#385d93!important;font-size:11px!important;font-weight:700;box-shadow:none!important;white-space:nowrap}
.opp-desk-dialog .opportunity-dialog__panel>footer button.btn-primary{background:#3b78eb!important;border-color:#3b78eb!important;color:#fff!important}
.opp-desk-dialog .opportunity-dialog__panel>footer button.s4-footer-icon{width:48px;height:42px;min-width:48px;padding:0!important;flex:0 0 auto;color:#3176d4!important;background:#f1f6ff!important;border:1px solid #dbe8f9!important;border-radius:11px!important}
.opp-desk-dialog .s4-footer-icon svg{width:19px;height:19px}
.opp-desk-dialog .opportunity-dialog__panel>footer [data-close-phase="Vinta"].s4-footer-icon{color:#21966c!important;background:#eaf8f1!important;border-color:#d3eee0!important}
.opp-desk-dialog .opportunity-dialog__panel>footer [data-close-phase="Persa"].s4-footer-icon{color:#b75660!important;background:#fff3f3!important;border-color:#f6e3e5!important}
.opp-desk-dialog .opportunity-dialog__panel>footer #opportunity-delete.s4-footer-icon{color:#c54859!important;background:#fff0f2!important;border-color:#f5dce2!important}
.opp-desk-dialog #opportunity-detail-data.s4-detail-body{display:block!important;padding:19px 20px 24px!important}
.opp-desk-dialog .s4-detail-hero{display:grid;gap:13px;padding:3px 3px 17px}
.opp-desk-dialog .s4-detail-hero>.s4-badge{justify-self:start}
.opp-desk-dialog .s4-detail-hero>strong{display:flex;align-items:center;gap:9px;color:#294a7b;font:650 13px Poppins,sans-serif}
.opp-desk-dialog .s4-detail-hero svg{height:18px;width:18px;color:#3b78eb}
.opp-desk-dialog .s4-detail-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:12px}
.opp-desk-dialog .s4-detail-card{min-width:0;display:grid;align-content:start;gap:9px;padding:17px!important;border:1px solid #e1e9f4!important;border-radius:13px!important;background:#fff!important;box-shadow:0 3px 14px #183e6c08!important}
.opp-desk-dialog .s4-detail-card small{color:#8196b1;font-size:10px;line-height:1.5}
.opp-desk-dialog .s4-detail-card>strong{color:#193c72;font:650 17px Poppins,sans-serif;overflow-wrap:anywhere}
.opp-desk-dialog .s4-detail-card h4{margin:0 0 8px;color:#25436f;font:650 12px Poppins,sans-serif}
.opp-desk-dialog .s4-journey,.opp-desk-dialog .s4-details{margin-bottom:12px}
.opp-desk-dialog .s4-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.opp-desk-dialog .s4-step{display:grid;justify-items:center;gap:7px;min-width:0;text-align:center}
.opp-desk-dialog .s4-step i{display:grid;place-items:center;font-style:normal;width:28px;height:28px;border-radius:50%;border:1px solid #dbe6f4;background:#f7faff;color:#91a2bd;font-size:10px}
.opp-desk-dialog .s4-step.reached i{background:#e6f0ff;color:#3476d6;border-color:#9fc2f7}
.opp-desk-dialog .s4-step.current i{color:#fff;background:#266fe6;border-color:#266fe6;box-shadow:0 0 0 4px #eaf3ff}
.opp-desk-dialog .s4-step small{font-size:9px;color:#879bb4;overflow-wrap:anywhere}
.opp-desk-dialog .s4-detail-line{display:flex;align-items:baseline;justify-content:space-between;gap:11px;padding:6px 0;border-bottom:1px solid #eff3f9}
.opp-desk-dialog .s4-detail-line>span{color:#8195ae;font-size:10px}
.opp-desk-dialog .s4-detail-line strong{color:#324d72;font-size:11px;text-align:right;overflow-wrap:anywhere}
.opp-desk-dialog .s4-detail-card>p{margin:0;color:#5e7492;line-height:1.7;font-size:11px;white-space:pre-wrap}
.opp-desk-dialog #opportunity-customer-link{margin:0 20px 17px;padding:0;border:0;background:transparent;font-size:11px;color:#8196b1}
.opp-desk-dialog #opportunity-customer-link button{background:#edf4ff!important;color:#3174c6!important;border:1px solid #d7e6fc!important;border-radius:8px!important;padding:6px 10px!important}
.opp-desk-dialog .opportunity-dialog__body{display:flex!important;flex-direction:column;gap:13px!important;padding:19px!important}
.opp-desk-dialog :is(.opportunity-customer-picker,.opp-desk-form-section){display:block!important;position:static!important;grid-column:auto!important;grid-row:auto!important;min-width:0;padding:19px!important;margin:0!important;border:1px solid #e1e9f4!important;border-radius:13px!important;background:#fff!important;box-shadow:0 4px 15px #193b6c08!important}
.opp-desk-dialog :is(.opportunity-customer-picker,.opp-desk-form-section) h4{font:650 13px Poppins,sans-serif!important;color:#234576!important;margin:0 0 12px!important}
.opp-desk-dialog .opportunity-customer-picker>p{color:#8095b0;font-size:10px;line-height:1.5}
.opp-desk-dialog .opportunity-customer-picker>div:first-of-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}
.opp-desk-dialog .opportunity-customer-picker #opportunity-customer-find{grid-column:1/-1;min-height:35px!important}
.opp-desk-dialog .opp-desk-form-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}
.opp-desk-dialog .opp-desk-form-fields label{display:grid!important;gap:6px;color:#526d8f;font-size:11px!important;font-weight:600;min-width:0!important}
.opp-desk-dialog .opp-desk-form-fields label:has(textarea){grid-column:1/-1}
.opp-desk-dialog .opp-desk-form-fields label:has(#opportunity-subject){grid-column:auto!important}
.opp-desk-dialog :is(input,select,textarea){width:100%;max-width:100%;min-width:0;min-height:41px!important;padding:9px 11px!important;border:1px solid #dce5f3!important;border-radius:9px!important;background:#fff!important;color:#284369!important;font-size:12px!important;box-shadow:none!important}
.opp-desk-dialog textarea{min-height:105px!important;resize:vertical}
.opp-desk-dialog .opportunity-form-grid{display:none!important}
.opp-desk-dialog #opportunity-form-state{margin:0;color:#66809f;font-size:11px}
.opp-desk-dialog :is(input,textarea,select):focus-visible{outline:2px solid #3b78eb;outline-offset:1px}
@keyframes s4-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes s4-appear{from{opacity:0}to{opacity:.9}}
@keyframes s4-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes s4-draw{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes s4-drawer{from{opacity:.7;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:1370px){#opportunity-view[data-studio="v4"] .s4-main-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#opportunity-view[data-studio="v4"] .s4-calendar{grid-column:1/-1}#opportunity-view[data-desk][data-studio="v4"] #opportunity-kanban{grid-template-columns:repeat(5,255px)!important}}
@media(max-width:1050px){#opportunity-view[data-studio="v4"] .s4-main-grid,#opportunity-view[data-studio="v4"] .s4-bottom-grid{grid-template-columns:minmax(0,1fr)}#opportunity-view[data-studio="v4"] .s4-calendar{grid-column:auto}#opportunity-view[data-studio="v4"] .s4-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#opportunity-view[data-studio="v4"] .s4-table-head{display:none!important}#opportunity-view[data-desk][data-studio="v4"] #opportunity-results .opportunity-card.s4-row{grid-template-columns:minmax(190px,2fr) minmax(105px,1fr) minmax(110px,1fr) minmax(90px,1fr) 16px!important}#opportunity-view[data-studio="v4"] .s4-row-expiry,#opportunity-view[data-studio="v4"] .s4-row-owner{display:none!important}}
@media(max-width:760px){#signed-in.app-shell:has(#opportunity-view:not([hidden])) .opp-desk-topbar h1{display:none!important}#opportunity-view[data-studio="v4"] .s4-card{padding:17px!important}#opportunity-view[data-studio="v4"] .s4-workspace-nav{flex-wrap:wrap;padding:0 9px;gap:0}#opportunity-view[data-studio="v4"] .opportunity-tabs{flex:1 1 100%;justify-content:center}#opportunity-view[data-studio="v4"] .s4-toolbar{width:100%;justify-content:space-between;padding:10px 0;gap:6px}#opportunity-view[data-studio="v4"] .s4-loaded{font-size:9px}#opportunity-view[data-studio="v4"] .s4-tool{padding:7px!important}#opportunity-view[data-studio="v4"] button.s4-new{padding:9px!important}#opportunity-view[data-studio="v4"] .s4-mobile-phase{display:grid;gap:7px;font-size:10px;color:#7990ac;margin:10px 0}#opportunity-view[data-studio="v4"] .s4-mobile-phase select{width:100%;min-height:36px;border:1px solid #deebf7;border-radius:8px;padding:8px;color:#35619a}#opportunity-view[data-desk][data-studio="v4"] #opportunity-kanban{grid-template-columns:repeat(5,minmax(240px,84vw))!important}#opportunity-view[data-desk][data-studio="v4"] #opportunity-results .opportunity-card.s4-row{grid-template-columns:minmax(135px,1.5fr) minmax(80px,.7fr) minmax(80px,.8fr) 16px!important;gap:7px!important}#opportunity-view[data-studio="v4"] .s4-row-follow{display:none!important}#opportunity-view[data-studio="v4"] .s4-kpi-main strong{font-size:26px}#opportunity-view[data-studio="v4"] .s4-kpi-main span{font-size:10px}#opportunity-view[data-studio="v4"] .s4-forecast-body{grid-template-columns:minmax(0,1fr)}#opportunity-view[data-studio="v4"] .s4-forecast-chart svg{height:115px}.opp-desk-dialog .opportunity-dialog__panel>header{padding:19px!important}.opp-desk-dialog .opportunity-dialog__body{padding:14px!important}.opp-desk-dialog #opportunity-detail-data.s4-detail-body{padding:15px!important}}
@media(max-width:460px){#opportunity-view[data-studio="v4"] .s4-kpi{padding:14px 12px!important}#opportunity-view[data-studio="v4"] .s4-calendar-layout{grid-template-columns:minmax(0,1fr)}#opportunity-view[data-studio="v4"] .s4-calendar-picker{max-width:100%}#opportunity-view[data-studio="v4"] .s4-quality-band{grid-template-columns:8px 1fr 20px 60px}#opportunity-view[data-studio="v4"] button.s4-phase-row{grid-template-columns:minmax(102px,.8fr) minmax(65px,1fr) 65px;gap:6px}#opportunity-view[data-studio="v4"] .s4-phase-row>span:first-child{font-size:9px}#opportunity-view[data-studio="v4"] .s4-loaded{display:none}#opportunity-view[data-desk][data-studio="v4"] #opportunity-filters{grid-template-columns:minmax(0,1fr)!important;right:0;width:100%}#opportunity-view[data-studio="v4"] #opportunity-filters .opportunity-filters__advanced,#opportunity-view[data-studio="v4"] #opportunity-filters .opportunity-filters__actions{grid-column:1}.opp-desk-dialog .opp-desk-form-fields{grid-template-columns:minmax(0,1fr)}.opp-desk-dialog .opp-desk-form-fields label{grid-column:1!important}.opp-desk-dialog .opportunity-customer-picker>div:first-of-type{grid-template-columns:minmax(0,1fr)}.opp-desk-dialog .opportunity-customer-picker #opportunity-customer-find{grid-column:1}.opp-desk-dialog .opportunity-dialog__panel>footer{flex-wrap:wrap;gap:6px;padding:10px!important}.opp-desk-dialog .s4-detail-pair{gap:7px}}
@media(prefers-reduced-motion:reduce){#opportunity-view[data-studio="v4"] *,#opportunity-view[data-studio="v4"] *:before,#opportunity-view[data-studio="v4"] *:after,.opp-desk-dialog *,.opp-desk-dialog *:before,.opp-desk-dialog *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Dialog [hidden] must beat the ID-scoped display:flex rules: do not stack drawers. */
#opportunity-form-dialog.opp-desk-dialog[hidden],
#opportunity-detail-dialog.opp-desk-dialog[hidden],
#opportunity-form-dialog.opp-desk-dialog .opportunity-dialog__panel[hidden],
#opportunity-detail-dialog.opp-desk-dialog .opportunity-dialog__panel[hidden]{display:none!important}
#opportunity-view[data-studio="v4"] #opportunity-management-pane>.opportunity-pane__header{display:none!important}
#opportunity-view[data-studio="v4"] .s4-loaded{font-variant-numeric:tabular-nums}

#opportunity-view[data-studio="v4"] .s4-kpi-spark{width:59px;height:24px;margin-left:auto;opacity:.83;color:#6199ed;flex:0 0 59px}
#opportunity-view[data-studio="v4"] .s4-kpi.won .s4-kpi-spark{color:#44ab83}
#opportunity-view[data-studio="v4"] .s4-kpi.lost .s4-kpi-spark{color:#d98b99}
.opp-desk-dialog .opportunity-customer-picker>p:last-child{margin-top:11px!important;padding:12px 13px;border:1px solid #dce8f7;border-radius:9px;background:#f2f7ff!important;color:#6a84aa;font-size:10px!important}
.opp-desk-dialog .opportunity-customer-picker>p:last-child strong{color:#244c8b;font-size:11px;line-height:1.5}
.opp-desk-dialog .opp-desk-form-section h4:before{content:"";display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:#3b78eb;vertical-align:2px}
