/* V5 keeps the V4.3 presentation system and the V4.1 bookend composition. */
body.wpp-kv .v5{--v5-ease:cubic-bezier(.22,.72,.2,1);--foreground:#000050;background:#fff;color:#000050}
body.wpp-kv .v5:before{background:radial-gradient(ellipse at 100% 0,#93dfe344,transparent 48%),radial-gradient(ellipse at 0 100%,#b0f46724,transparent 44%),#fff}
body.wpp-kv .v5:after{opacity:.25}
body.wpp-kv .v5 .slide-transition{transition:opacity .4s var(--v5-ease),transform .55s var(--v5-ease)}
body.wpp-kv .v5 .topbar{background:#ffffffeb;backdrop-filter:blur(18px)}
body.wpp-kv .v5 :is(.section-heading h2,.center-heading h2){letter-spacing:-.035em}
body.wpp-kv .v5 :is(.primary-button,.outline-button,.icon-button){transition:background .3s var(--v5-ease),transform .35s var(--v5-ease),box-shadow .3s var(--v5-ease)}
body.wpp-kv .v5 .footer-version{font-size:10px}
/* The prelude is outside the numbered voyage and never captures other slide shortcuts. */
.v5-launch{position:fixed;inset:0;z-index:220;display:grid;place-items:center;background:radial-gradient(ellipse at 75% 60%,#052f41,#020d25 60%,#000050);color:#fff;isolation:isolate;transition:opacity .65s cubic-bezier(.22,.72,.2,1),filter .65s;overflow:hidden}
.v5-launch.leaving{opacity:0;filter:blur(12px);pointer-events:none}.v5-launch-art{position:absolute;inset:0;opacity:.28;mask-image:linear-gradient(90deg,transparent,#000 50%)}.v5-launch-art img{width:100%;height:100%;object-fit:contain;object-position:80% center;filter:saturate(.8)}
.v5-launch-copy{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;max-width:90%;padding:40px;animation:v5-launch-arrive 1s cubic-bezier(.22,.72,.2,1) both}
.v5-launch-compass{width:48px;height:48px;color:#b0f467;margin-bottom:26px}.v5-launch-copy>span{font:400 12px WPP,sans-serif;letter-spacing:.3em;color:#93dfe3}.v5-launch h1{font-size:clamp(44px,6.5vw,100px);font-weight:700;letter-spacing:-.035em;margin:26px 0 20px;color:#fff}.v5-launch p{font-size:clamp(14px,1.7vw,23px);color:#cbdfe7;margin:0;line-height:1.6}.v5-launch-line{width:180px;height:2px;margin:42px 0 26px;background:#ffffff24;overflow:hidden}.v5-launch-line i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#93dfe3,#b0f467);transform:translateX(-100%)}.v5-launch.ready .v5-launch-line i{animation:v5-launch-line 3.8s ease-in-out forwards}.v5-launch button{display:flex;align-items:center;gap:24px;padding:13px 22px;font-size:14px;border:1px solid #93dfe375;border-radius:30px;color:white;background:#ffffff0b;cursor:pointer}.v5-launch button:hover{background:#ffffff17}.v5-launch button:focus-visible{outline:2px solid #b0f467;outline-offset:5px}
@keyframes v5-launch-line{to{transform:translateX(0)}}@keyframes v5-launch-arrive{from{opacity:0;transform:translateY(14px);filter:blur(10px)}to{opacity:1;transform:none;filter:blur(0)}}
.v5-intro-settings{display:flex;align-items:center;gap:10px;padding:14px 0 18px;border-bottom:1px solid #d5dfeb;margin-bottom:14px;color:#000050}.v5-intro-settings>span{margin-right:auto;font-size:14px;font-weight:700}.v5-intro-settings button{display:flex;align-items:center;gap:6px;font-size:12px;padding:9px 12px;border-radius:5px;border:1px solid #c8d8e5;background:white}.v5-intro-settings button:last-child{background:#b0f467;border-color:#b0f467}
/* Faithful first / last screens, with two user-selectable palettes. */
body.wpp-kv .v5.page-welcome .hero{display:grid;grid-template-columns:42% 58%;align-items:center;padding:32px 5% 50px;background:transparent;min-height:calc(100svh - 152px);isolation:isolate}
body.wpp-kv .v5.page-welcome .hero-copy{z-index:2;align-self:center;padding:0;margin:0}
body.wpp-kv .v5.page-welcome .hero h1{font-size:clamp(76px,9.5vw,150px);line-height:1.08;letter-spacing:-.065em;font-weight:700;margin:22px 0 22px;color:#000050}
body.wpp-kv .v5.page-welcome .hero .hero-super{color:inherit}
body.wpp-kv .v5 .hero-subtitle{font-size:clamp(17px,1.65vw,25px);font-weight:400;line-height:1.6;color:#596581;margin:0 0 28px}
body.wpp-kv .v5 .hero .speaker{border-left:3px solid #b0f467;padding-left:18px;margin:0 0 26px}.v5 .speaker strong{font-weight:700}
body.wpp-kv .v5 .hero .speaker strong{font-size:28px;line-height:1.2;color:#000050}.v5 .speaker span{font-size:12px}
body.wpp-kv .v5 .hero-copy .primary-button{border-radius:40px;min-width:190px;padding:17px 24px;justify-content:space-between;font-size:17px;background:#b0f467;color:#000050}
body.wpp-kv .v5.page-welcome .hero-visual{height:min(670px,calc(100svh - 255px));min-height:480px;overflow:visible}
body.wpp-kv .v5.page-welcome .hero .island-art{width:118%;height:118%;left:52%;top:50%;object-fit:contain;object-position:center;mix-blend-mode:normal;mask-image:radial-gradient(ellipse at 50% 50%,#000 45%,transparent 71%);filter:none;animation:kv-island 12s ease-in-out infinite}
body.wpp-kv .v5.page-welcome .hero-coordinate{top:11%;left:auto;right:0;font-size:10px}.v5 .hero .orbit-label{backdrop-filter:blur(16px)}
body.wpp-kv .v5.page-welcome .label-a{inset:29% auto auto 4%}body.wpp-kv .v5.page-welcome .label-b{inset:auto auto 25% 5%}body.wpp-kv .v5.page-welcome .label-c{inset:52% -1% auto auto}
body.wpp-kv .v5 .hero-bottom{left:5%;right:5%;bottom:22px;font-size:12px;color:#677890}
body.wpp-kv .v5.bookend-light{background:#fff}.v5.bookend-light .hero .island-art{mix-blend-mode:multiply!important}
body.wpp-kv .v5.bookend-dark{background:#071725;color:#eef8f7;--foreground:#eef8f7}
body.wpp-kv .v5.bookend-dark:before{background:radial-gradient(ellipse at 78% 40%,#00005066,transparent 52%),radial-gradient(ellipse at 100% 95%,#93dfe309,transparent 35%),#071725}.v5.bookend-dark:after{display:none!important}
body.wpp-kv .v5.bookend-dark .topbar,body.wpp-kv .v5.bookend-dark .bottom-bar{background:#071725de!important;border-color:#ffffff20;color:#b8ced9}
body.wpp-kv .v5.bookend-dark .brand-button:before{background:#fff}
body.wpp-kv .v5.bookend-dark :is(.event-name,.hero h1,.speaker strong,.ending-copy h2,.ending-metrics strong,.page-count){color:#f5f8fa!important}
body.wpp-kv .v5.bookend-dark :is(.icon-button,.deck-controls>button){background:transparent;color:#e2edf3;border-color:#ffffff25}.v5.bookend-dark .icon-button:hover{background:#ffffff17!important}
body.wpp-kv .v5.bookend-dark .icon-button.enabled{background:#b0f467;color:#000050}
body.wpp-kv .v5.bookend-dark :is(.event-name:after,.hero-subtitle,.speaker span,.hero-coordinate,.hero-bottom,.footer-mark,.footer-version,.chapter-track button,.ending-copy>p,.ending-footer,.ending-metrics span){color:#9bb4c2}
body.wpp-kv .v5.bookend-dark .hero h1>span:last-child{color:#b0f467!important}
body.wpp-kv .v5.bookend-dark :is(.hero .eyebrow,.ending-copy .eyebrow,.chapter-track .active){color:#b0f467}
body.wpp-kv .v5.bookend-dark .hero .orbit-label{background:#0b2633b8;border:1px solid #93dfe326;color:#d8ebef;box-shadow:none}
body.wpp-kv .v5.bookend-dark .footer-version{border-color:#ffffff25}
body.wpp-kv .v5 .ending-slide{min-height:calc(100svh - 152px);height:calc(100svh - 152px);padding:54px 5% 28px;background:none;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:center}
body.wpp-kv .v5 .ending-slide:before,body.wpp-kv .v5 .ending-slide:after{display:none}
body.wpp-kv .v5 .ending-orbit{position:absolute;inset:0 0 auto auto;width:62%;height:85%;opacity:.52;z-index:-1;mix-blend-mode:normal;mask:none}
body.wpp-kv .v5 .ending-orbit img{width:120%;height:120%;object-fit:contain;mask-image:radial-gradient(ellipse at 50% 50%,#000 37%,transparent 70%);filter:none}
body.wpp-kv .v5.bookend-light .ending-orbit{mix-blend-mode:multiply;opacity:.68}
body.wpp-kv .v5 .ending-copy{position:relative;text-align:left;max-width:920px;margin:0;z-index:1}
body.wpp-kv .v5 .ending-copy h2{font-size:clamp(35px,4.4vw,66px);line-height:1.25;margin:26px 0 18px;font-weight:700;letter-spacing:-.035em}
body.wpp-kv .v5 .ending-copy .growth-emphasis{font-size:clamp(60px,7.2vw,106px);line-height:1.25;background:none;color:#000050;text-shadow:none}
body.wpp-kv .v5.bookend-dark .growth-emphasis{color:#b0f467!important;background:none}
body.wpp-kv .v5 .ending-copy>p{font-size:20px;color:#596581}
body.wpp-kv .v5 .ending-brains{justify-content:flex-start;gap:12px;margin-top:25px}.v5 .ending-brains span{font-size:13px}
body.wpp-kv .v5.bookend-dark .ending-brains span{color:#d8e8ed;background:#ffffff08;border-color:#ffffff20}
body.wpp-kv .v5 .ending-metrics{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;width:100%;margin:44px 0 26px;border-top:1px solid #b9cbd65c;padding-top:22px}
body.wpp-kv .v5 .ending-metrics>div{background:none;border:0;padding:0;text-align:left;box-shadow:none}.v5 .ending-metrics>div:before{display:none}
body.wpp-kv .v5 .ending-metrics strong{font:700 clamp(44px,4.6vw,70px)/1.1 WPP,sans-serif;letter-spacing:-.045em;color:#000050}.v5 .ending-metrics span{font-size:13px}
body.wpp-kv .v5 .ending-footer{position:relative;display:flex;justify-content:space-between;align-items:center;gap:18px;inset:auto;width:100%;font-size:11px;color:#66718b;margin:0;padding-top:14px;border-top:1px solid #b9cbd640}
body.wpp-kv .v5 .ending-footer button{display:flex;align-items:center;gap:8px;color:#000050}.v5.bookend-dark .ending-footer button{color:#b0f467!important}
/* A wider, fading circle and larger brains. The lanes leave the complete source module before turning. */
body.wpp-kv .v5 .v43-data-scene{height:clamp(450px,calc(100svh - 405px),690px);margin-top:28px}
body.wpp-kv .v5 .connected .v43-source-system{width:35%}
body.wpp-kv .v5 .v43-source-system{transition:left 1.1s var(--v5-ease),width 1.1s var(--v5-ease)}
body.wpp-kv .v5 .v43-data-brain{gap:18px;transform:translate(-76px,-76px)}
body.wpp-kv .v5 .v43-data-brain .v43-brain-disc{width:152px;height:152px;position:relative;border:1px solid #b8d5e0;background:linear-gradient(140deg,#fff,#e6f4f7);box-shadow:0 0 0 12px #ffffffd9;color:#000050}
body.wpp-kv .v5 .v43-data-brain h3{font-size:26px}.v5 .v43-data-brain span{font-size:13px}
body.wpp-kv .v5 .v43-circular-orbit{border:1.5px solid #93cdd8;mask-image:linear-gradient(transparent 5%,#000 30%,#000 70%,transparent 95%);box-shadow:0 0 30px #93dfe312}
body.wpp-kv .v5 .v5-brain-progress{position:absolute;inset:-8px;border-radius:50%;padding:3px;margin:0;background:conic-gradient(from 0deg,transparent 0deg,#93dfe340 65deg,#93dfe3 180deg,#b0f467 295deg,transparent 360deg);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;animation:v5-ring 4.8s linear infinite;pointer-events:none}
body.wpp-kv .v5 .data-brain-1 .v5-brain-progress{animation-delay:-1.6s}.v5 .data-brain-2 .v5-brain-progress{animation-delay:-3.2s}
@keyframes v5-ring{to{transform:rotate(360deg)}}
body.wpp-kv .v5 .lane-track{stroke:#a6cbd5;stroke-width:1.4}.v5 .lane-packets{stroke-linecap:round!important;stroke-width:3!important;opacity:.75}
/* One calm click. Move from the previous brain, rise 12px, then settle by 5px. */
body.wpp-kv .v5 .v43-demo-pointer{transition:transform .8s var(--v5-ease)}
body.wpp-kv .v5 .v43-brain-node.selected .v43-brain-disc{scale:1.06;box-shadow:0 0 0 10px #fff,0 0 0 11px #b0f46770}
body.wpp-kv .v5 .v43-brain-node.is-bouncing .v43-brain-disc{animation:v5-brain-settle .65s var(--v5-ease) both}
@keyframes v5-brain-settle{0%{transform:translateY(0) scale(1)}36%{transform:translateY(-5px) scale(1.025)}70%{transform:translateY(1px) scale(.998)}100%{transform:translateY(0) scale(1)}}
body.wpp-kv .v5 .single-click .v43-click-label{opacity:1;transform:none}.v5 .single-click .ring-one{animation:v5-click .55s ease-out}.v5 .single-click .ring-two{display:none}
@keyframes v5-click{from{opacity:.45;transform:scale(.4)}to{opacity:0;transform:scale(1.2)}}
body.wpp-kv .v5 .v43-click-label{font-size:11px;padding:6px 10px}.v5 .pointer-arrow{width:33px!important;height:33px!important}
.v5-operations-route{display:flex;align-items:center;gap:9px;margin:0 0 18px;color:#000050}.v5-operations-route button{font-size:12px;padding:7px 13px;border:1px solid #d1dfea;border-radius:30px;background:#fff;color:#65708b}.v5-operations-route [aria-current]{background:#b0f467;border-color:#b0f467;color:#000050;font-weight:700}.v5-operations-route>span{margin-left:auto;font-size:12px;color:#64758b}
body.wpp-kv .v5 .v41-operations{min-height:0;height:calc(100svh - 264px)}
/* Knowledge explanation is staggered; the brand question is a separate click. */
body.wpp-kv .v5 .recognized .v43-question-copy{transition:none;transform:none}
.v5 .recognized .v43-question-copy>.number-label{animation:v5-reveal .65s .5s both}.v5 .recognized .v43-question-copy>h3{animation:v5-reveal .65s .75s both}.v5 .recognized .v43-question-copy>p{animation:v5-reveal .65s 1s both}.v5 .recognized .v43-question-copy>.question-context{animation:v5-reveal .65s 1.25s both}
body.wpp-kv .v5 .v43-question-copy .question-bubble{opacity:0;transform:translateY(20px);visibility:hidden;transition:opacity .7s var(--v5-ease),transform .7s var(--v5-ease),visibility .7s}
body.wpp-kv .v5 .question-shown .v43-question-copy .question-bubble{opacity:1;transform:none;visibility:visible;background:linear-gradient(125deg,#ecf8f7,#f6fce9);border-color:#c5dce4}
@keyframes v5-reveal{from{opacity:0;transform:translateY(15px);filter:blur(5px)}to{opacity:1;transform:none;filter:blur(0)}}
/* Short translucent pet dialogue; the complete answer has a dedicated, fitted dialog. */
body.wpp-kv .v5 .pet-companion{min-height:155px;height:155px;grid-template-columns:140px minmax(0,1fr)}
body.wpp-kv .v5 .pet-greeting{width:140px;height:154px;max-height:154px}
body.wpp-kv .v5 .pet-speech{background:#ffffff70;backdrop-filter:blur(14px);padding:10px 14px;border:1px solid #ffffffa6;box-shadow:0 8px 24px #00005009}
body.wpp-kv .v5 .pet-message-window{height:58px;min-height:58px}.v5 .pet-message{font-size:12px!important;line-height:1.65!important}
body.wpp-kv .v5 .skill-questions .skill-conversation{overflow:visible;max-height:none;min-height:0;flex:1}
body.wpp-kv .v5 .skill-invite{min-height:0;overflow:visible}
.v5-skill-dialog{width:min(960px,calc(100vw - 40px))!important;max-width:960px!important;max-height:calc(100svh - 36px)!important;overflow:visible!important;background:linear-gradient(140deg,#fff,#f3fafb)!important;color:#000050!important;padding:28px!important;gap:10px!important}
.v5-skill-dialog .conversation-body{max-height:none!important;height:auto!important;overflow:visible!important;padding:0;display:grid;grid-template-columns:1fr}
.v5-skill-dialog .user-message{justify-self:start;margin:4px 0 14px;background:#b0f467;color:#000050;border-radius:6px;padding:10px 14px;font-size:14px}
.v5-skill-dialog .assistant-message{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v5-skill-dialog .assistant-message>p:first-child{grid-column:1/-1;margin:0;color:#596581;font-size:13px}
.v5-skill-dialog .skill-file{display:flex;gap:12px;align-items:flex-start;padding:16px;background:#fff;border:1px solid #d5e1eb;border-radius:6px;margin:0;color:#000050}.v5-skill-dialog .skill-file svg{flex-shrink:0;color:#000050}.v5-skill-dialog .skill-file p{font-size:13px;line-height:1.7;color:#596581;margin:0}.v5-skill-dialog .skill-file b{display:block;font:700 18px WPP,sans-serif;color:#000050;margin-bottom:8px}
.v5-skill-dialog .skill-boundary{grid-column:1/-1;font-size:13px;line-height:1.65;color:#596581;margin:2px 0}.v5-skill-dialog .skill-confirm{grid-column:1/-1;padding-top:14px;border-top:1px solid #cddce6;margin:0;display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;justify-content:space-between}.v5-skill-dialog .skill-confirm strong{font-size:15px;color:#000050}.v5-skill-dialog .skill-confirm code{font-size:11px;color:#63718b}.v5-skill-dialog .primary-button{background:#b0f467;color:#000050;padding:12px 18px;font-size:14px}.v5-skill-dialog .download-actions{display:flex;gap:10px}.v5-skill-dialog .download-actions button{background:#b0f467;color:#000050;padding:10px 14px;font-size:13px;border:0;border-radius:5px}
/* Reinstated working canvas and the full, persistent material-analysis view. */
body.wpp-kv .v5 .v5-creative-slide .section-heading{margin-bottom:16px}.v5 .v5-creative-slide .section-heading h2{font-size:36px!important;margin:8px 0!important}.v5 .v5-creative-slide .section-heading p{font-size:13px}
.v5-workbench-tabs{display:flex;gap:8px;border-bottom:1px solid #cddce9;padding-bottom:12px;margin-bottom:16px}.v5-workbench-tabs button{display:flex;align-items:center;gap:9px;border-radius:6px;padding:12px 19px;font-size:14px;font-weight:700;color:#63718b;background:#eef5f9}.v5-workbench-tabs [aria-selected=true]{background:#000050;color:#fff}
body.wpp-kv .v5 .workflow-toolbar{padding:0;margin:0 0 14px;gap:16px;min-height:40px;align-items:center}.v5 .scenario-select>span{font-size:12px;color:#64758b}.v5 .scenario-select [data-slot=select-trigger]{background:white;color:#000050;border-color:#c9d8e5}.v5 .demo-pill{background:#eef7f3;color:#40654b;font-size:10px}.v5 .workflow-actions{gap:9px}
body.wpp-kv .v5 .flow-layout{grid-template-columns:minmax(0,1fr) 270px;gap:18px}
body.wpp-kv .v5 .flow-scroll{border:1px solid #cbdce8;border-radius:8px;background:#f2f8fb;box-shadow:none}
body.wpp-kv .v5 .flow-canvas{background-color:#f5f9fc;background-image:radial-gradient(#9aafc438 1px,transparent 1px);height:430px;min-width:875px}
body.wpp-kv .v5 .flow-node{background:#fff;border:1px solid #cadbe8;border-radius:8px;box-shadow:0 9px 23px #00005008;color:#000050}
body.wpp-kv .v5 .flow-node.complete{border-color:#78ad45;background:#f4fcec}.v5 .flow-node-head{color:#000050;border-color:#e2eaf1}.v5 .flow-node p{color:#536480}.v5 .flow-node small{color:#7685a0}.v5 .flow-port{background:#93dfe3;border-color:#70a8b7}.v5 .flow-lines path{stroke:#9db5cb}.v5 .flow-caption{color:#7c8ca4;font-size:11px}
body.wpp-kv .v5 .flow-evidence{background:linear-gradient(145deg,#eaf8f8,#f5faec);border:1px solid #cddfe6;border-radius:8px;padding:22px;overflow:auto;max-height:430px;box-shadow:none}.v5 .flow-evidence h3{color:#000050;font-size:25px}.v5 .flow-evidence blockquote{color:#425779;font-size:15px;line-height:1.6}.v5 .source-number{color:#000050}.v5 .evidence-label,.v5 .flow-evidence>p,.v5 .flow-evidence>small{color:#61738b}.v5 .evidence-rule{border-color:#cbdce3;color:#557066}.v5 .workflow-bottom{font-size:11px;color:#718199;border-color:#d7e2ed;margin-top:14px;padding-top:12px}.v5 .workflow-bottom a{color:#000050}.v5 .v5-material-evidence{font-size:12px;line-height:1.65;border-left:2px solid #8dc36a;padding-left:10px;margin:14px 0}.v5 .v5-material-evidence p{margin-top:5px;color:#61738b}
.v5-selected-material{display:flex;align-items:center;gap:12px;padding:11px 14px;margin-bottom:14px;border:1px solid #cbdcd8;border-radius:6px;background:#f0fae7;color:#000050}.v5-selected-material>div{flex:1;min-width:0}.v5-selected-material strong{display:block;font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.v5-selected-material small{font-size:10px;color:#617653}.v5-selected-material button{display:flex;align-items:center;gap:6px;font-size:11px}
.v5-materials-panel{position:relative;border:1px solid #cddce8;border-radius:8px;overflow:hidden;background:#fff;height:max(510px,calc(100svh - 374px))}.v5-materials-panel iframe{width:100%;height:100%;border:0}.v5-materials-loading{position:absolute;inset:0;display:grid;place-items:center;background:white;font-size:16px;color:#596581}
.v5 .creative-output{background:#fff;border:1px solid #d0dfeb;border-radius:8px;padding:22px}.v5 .output-heading h3{color:#000050}.v5 .output-heading p{color:#63748b}.v5 .output-actions .outline-button{color:#000050;border-color:#cbdce5}.v5 .article-draft{color:#000050}.v5 .article-draft p{color:#536581}.v5 .draft-poster{background:linear-gradient(145deg,#93dfe3,#b0f467);color:#000050}.v5 .article-draft .question-tags span{background:#ecf6f8;border-color:#cbdce6;color:#000050}
@media(min-width:801px) and (max-height:760px){
 body.wpp-kv .v5.page-welcome .hero{min-height:510px;padding-top:24px;padding-bottom:50px}body.wpp-kv .v5.page-welcome .hero h1{font-size:90px;margin:16px 0}body.wpp-kv .v5 .hero-subtitle{font-size:17px;margin-bottom:18px}body.wpp-kv .v5 .hero .speaker{margin-bottom:18px}body.wpp-kv .v5.page-welcome .hero-visual{height:480px;min-height:0}
 body.wpp-kv .v5 .ending-slide{height:auto;min-height:540px}.v5 .ending-copy h2{font-size:36px!important}.v5 .ending-copy .growth-emphasis{font-size:68px!important}.v5 .ending-metrics{margin-top:26px!important}
 body.wpp-kv .v5 .v43-data-scene{height:440px}.v5 .v43-data-brain .v43-brain-disc{width:140px!important;height:140px!important}.v5 .v43-data-brain{transform:translate(-70px,-70px)!important}
 body.wpp-kv .v5 .v41-operations{height:480px}.v5 .operations-metrics strong{font-size:64px!important}
 .v5-skill-dialog{padding:20px!important;gap:7px!important}.v5-skill-dialog .skill-file{padding:12px}.v5-skill-dialog .skill-file p,.v5-skill-dialog .skill-boundary{font-size:12px}.v5-skill-dialog .skill-confirm{padding-top:10px}.v5-skill-dialog .user-message{margin-bottom:9px;padding:8px 13px}
 .v5 .flow-layout{grid-template-columns:minmax(0,1fr) 250px!important}.v5 .flow-evidence{padding:18px!important}.v5 .v5-creative-slide{padding-block:20px!important}
}
@media(max-width:1100px) and (min-width:801px){
 .v5 .v43-data-brain h3{font-size:21px!important}.v5 .v43-data-brain{gap:14px!important}.v5 .v43-data-brain .v43-brain-disc{width:140px!important;height:140px!important}.v5 .v43-data-brain{transform:translate(-70px,-70px)!important}
 .v5 .flow-layout{grid-template-columns:minmax(0,1fr) 240px!important}.v5 .flow-evidence{padding:18px!important}.v5 .workflow-toolbar{flex-wrap:wrap}
 .v5 .pet-companion{grid-template-columns:110px minmax(0,1fr)!important}.v5 .pet-greeting{width:110px!important}.v5 .pet-message-window{height:82px!important;min-height:82px!important}
}
@media(max-width:800px){
 body.wpp-kv .v5 .topbar{padding-inline:16px;height:78px;gap:8px}.v5 .brand-button{width:148px!important}.v5 .brand-logo{width:148px!important}.v5 .header-actions{margin-left:auto;gap:5px!important}.v5 .icon-button{width:31px!important;height:31px!important}
 body.wpp-kv .v5.page-welcome .hero{display:flex;padding:28px 6% 28px;min-height:0;flex-direction:column}.v5.page-welcome .hero h1{font-size:76px!important;margin:20px 0!important}.v5 .hero-subtitle{font-size:15px!important}.v5 .hero .speaker strong{font-size:24px!important}.v5 .hero-copy .primary-button{min-width:170px!important;font-size:15px!important;padding:14px 20px!important}.v5 .hero-coordinate{display:none!important}
 body.wpp-kv .v5.page-welcome .hero-visual{width:100%;height:360px;min-height:0;margin:0}.v5.page-welcome .hero .island-art{width:126%!important;height:122%!important;left:50%!important}.v5 .hero-bottom{position:static!important;flex-direction:column;align-items:flex-start;gap:12px;font-size:10px!important;width:100%}.v5.page-welcome .label-a{inset:29% auto auto 0!important}.v5.page-welcome .label-b{inset:auto auto 14% 2%!important}.v5.page-welcome .label-c{inset:53% 0 auto auto!important}
 body.wpp-kv .v5 .ending-slide{padding:40px 6% 28px;height:auto;min-height:790px;justify-content:flex-end}.v5 .ending-orbit{width:100%!important;height:430px!important;top:0!important;opacity:.42!important}.v5 .ending-copy{padding-top:150px!important}.v5 .ending-copy h2{font-size:25px!important;margin:18px 0!important}.v5 .ending-copy .growth-emphasis{font-size:49px!important}.v5 .ending-copy>p{font-size:16px!important}.v5 .ending-brains{flex-wrap:wrap;gap:8px!important}.v5 .ending-brains span{font-size:10px;padding:7px!important}.v5 .ending-metrics{grid-template-columns:1fr 1fr!important;margin:30px 0 18px!important;gap:18px!important}.v5 .ending-metrics strong{font-size:44px!important}.v5 .ending-footer{flex-wrap:wrap;font-size:10px!important}.v5 .ending-footer>span:nth-child(2){order:3;width:100%;line-height:1.7}
 .v5-intro-settings{flex-wrap:wrap}.v5-intro-settings>span{width:100%}.v5-intro-settings button{flex:1;justify-content:center;font-size:11px}
 body.wpp-kv .v5 .v43-data-scene{height:330px;margin-top:24px}body.wpp-kv .v5 .connected .v43-data-scene{height:850px}.v5 .connected .v43-source-system{width:100%!important}.v5 .v43-data-brain{gap:24px!important;transform:translate(-56px,-56px)!important}.v5 .v43-data-brain .v43-brain-disc{width:112px!important;height:112px!important}.v5 .v43-data-brain h3{font-size:24px!important}.v5 .v43-data-brain .v5-brain-progress{inset:-7px}
 .v5-operations-route{flex-wrap:wrap;gap:7px}.v5-operations-route>span{width:100%;margin:2px 0}.v5-operations-route button{font-size:11px;padding:7px 11px}.v5 .v41-operations{height:auto!important;min-height:0!important}
 body.wpp-kv .v5 .pet-companion{grid-template-columns:105px minmax(0,1fr);height:185px;min-height:185px;gap:10px}.v5 .pet-greeting{width:105px!important;height:155px!important}.v5 .pet-message-window{height:85px!important;min-height:85px!important}.v5 .pet-speech{padding:10px!important}.v5 .pet-message{font-size:11px!important}
 .v5-skill-dialog{width:calc(100vw - 20px)!important;padding:20px 16px!important;gap:6px!important;max-height:calc(100svh - 20px)!important}.v5-skill-dialog [data-slot=dialog-title]{font-size:19px}.v5-skill-dialog [data-slot=dialog-description]{font-size:11px}.v5-skill-dialog .assistant-message{grid-template-columns:1fr;gap:10px}.v5-skill-dialog .skill-file{padding:12px;gap:10px}.v5-skill-dialog .skill-file b{font-size:16px;margin-bottom:4px}.v5-skill-dialog .skill-file p,.v5-skill-dialog .skill-boundary{font-size:11px;line-height:1.6}.v5-skill-dialog .skill-confirm{display:flex;gap:8px}.v5-skill-dialog .skill-confirm strong{font-size:13px;width:100%}.v5-skill-dialog .skill-confirm code{font-size:9px}.v5-skill-dialog .primary-button{font-size:12px;padding:10px 13px}.v5-skill-dialog .user-message{font-size:12px;margin:4px 0 10px;padding:8px 12px}
 .v5 .v5-creative-slide .section-heading h2{font-size:29px!important}.v5-workbench-tabs{gap:6px}.v5-workbench-tabs button{font-size:12px;padding:11px 10px;gap:5px}.v5-workbench-tabs svg{width:16px}
 .v5 .workflow-toolbar{display:flex;flex-direction:column;align-items:stretch!important}.v5 .workflow-actions{justify-content:flex-start;flex-wrap:wrap}.v5 .scenario-select{width:100%}.v5 .flow-layout{display:flex!important;flex-direction:column}.v5 .flow-evidence{max-height:none!important}.v5 .workflow-bottom{flex-direction:column;align-items:flex-start;gap:12px}.v5 .flow-canvas{height:430px}.v5-materials-panel{height:810px;min-height:0}.v5-selected-material{flex-wrap:wrap}.v5-selected-material>div{min-width:70%}.v5 .creative-output{padding:16px}.v5 .output-heading{flex-direction:column;align-items:flex-start;gap:14px}.v5 .output-heading h3{font-size:23px}.v5 .output-actions{gap:6px}
}
@media(prefers-reduced-motion:reduce){
 .v5 *, .v5 *:before,.v5 *:after,.v5-launch *{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0s!important;scroll-behavior:auto!important}.v5 .v5-brain-progress{animation:none!important;background:conic-gradient(#93dfe3,#b0f467,#93dfe3)!important}.v5 .v43-click-ring{display:none!important}.v5-launch-copy{opacity:1;transform:none}.v5-launch.ready .v5-launch-line i{transform:none}
}

/* Final V5 review: fit desktop chrome and keep inherited accents readable. */
body.wpp-kv .v5.page-welcome .hero h1>span:last-child{background:none}
body.wpp-kv .v5.bookend-dark .hero .orbit-label{background:#0b2633b8!important;border-color:#93dfe340!important;color:#d8ebef}
body.wpp-kv .v5 .v5-creative-slide .section-heading{padding-bottom:12px;margin-bottom:12px}
body.wpp-kv .v5 .v5-creative-slide .section-heading h2{font-size:34px!important;margin:5px 0!important;line-height:1.2}
body.wpp-kv .v5 .workflow-toolbar{background:transparent;border:0;border-radius:0;min-height:40px;margin-bottom:10px}
body.wpp-kv .v5 .workflow-actions .primary-button{padding:11px 18px;font-size:14px}
body.wpp-kv .v5 .workflow-actions .outline-button{padding:10px}
body.wpp-kv .v5 .workflow-bottom{margin-top:8px;padding:8px 0 0;min-height:0}
body.wpp-kv .v5 .v5-workbench-tabs{padding-bottom:9px;margin-bottom:12px}
body.wpp-kv .v5 .v5-workbench-tabs button{padding:10px 16px}
@media(min-width:801px) and (min-height:761px){
 body.wpp-kv .v5 .v43-data-scene{height:calc(100svh - 410px);max-height:575px;min-height:440px}
 body.wpp-kv .v5 .v5-creative-slide{padding-top:20px;padding-bottom:16px}
 body.wpp-kv .v5 .v5-materials-panel{height:calc(100svh - 340px);min-height:520px}
}

@media(min-width:801px) and (max-height:760px){
 body.wpp-kv .v5 .v41-operations{height:auto!important;min-height:530px}
 body.wpp-kv .v5 .operations-slide{overflow:visible}
}
body.wpp-kv .v5 .creative-output [role=tablist]{display:inline-flex;gap:4px;background:#eef5f9;border:1px solid #d2dfe9;border-radius:7px;padding:4px;margin:8px 0 16px}
body.wpp-kv .v5 .creative-output [role=tab]{padding:8px 16px;border-radius:4px;background:transparent;color:#596581;font-size:13px}
body.wpp-kv .v5 .creative-output [role=tab][data-state=active]{background:#000050;color:#fff}
/* V5.1: precise data endpoints, square gradient rings, eased pointer paths. */
body.wpp-kv .v51 .v43-data-brain{--data-disc:152px;transform:translate(calc(var(--data-disc) / -2),calc(var(--data-disc) / -2))!important}
body.wpp-kv .v51 .v43-data-brain .v43-brain-disc{width:var(--data-disc)!important;height:var(--data-disc)!important;aspect-ratio:1;box-sizing:border-box}
body.wpp-kv .v51 .v43-data-brain .v43-brain-disc>span.v5-brain-progress{inset:-8px;width:calc(100% + 16px);height:calc(100% + 16px);aspect-ratio:1;margin:0!important;padding:3px;box-sizing:border-box;display:block;transform-origin:50% 50%}
body.wpp-kv .v51 .v43-demo-pointer{transition:none;will-change:transform}
body.wpp-kv .v51 .pointer-arrow{transition:scale .14s ease-in-out;transform-origin:0 0}
body.wpp-kv .v51 [data-phase='3'] .pointer-arrow{scale:.88}
/* The answer occupies the same assistant box, without a dialog or inner scrolling. */
body.wpp-kv .v51 .skill-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:calc(100svh - 316px);min-height:480px;gap:24px}
body.wpp-kv .v51 .skill-elements{margin-top:7px;gap:6px}
body.wpp-kv .v51 .skill-elements .check-line{padding:8px 10px;font-size:13px}
body.wpp-kv .v51 .pet-companion{height:112px;min-height:112px;grid-template-columns:115px minmax(0,1fr);margin:4px 0}
body.wpp-kv .v51 .pet-greeting{height:112px;max-height:112px;width:115px}
body.wpp-kv .v51 .pet-message-window{height:50px;min-height:50px}
body.wpp-kv .v51 .pet-message{font-size:11px!important}
body.wpp-kv .v51 .skill-questions .skill-conversation{min-height:290px;max-height:none;height:290px;flex:1;overflow:visible;display:flex;flex-direction:column}
body.wpp-kv .v51 .conversation-head{padding:10px 14px;font-size:12px;flex-shrink:0}
body.wpp-kv .v51 .skill-invite{justify-content:center;padding:18px;height:100%}
body.wpp-kv .v51 .v51-inline-answer{display:flex;flex-direction:column;justify-content:space-evenly;gap:10px;padding:14px 16px;flex:1;min-height:0;overflow:visible;color:#000050}
body.wpp-kv .v51 .v51-answer-title{display:flex;align-items:center;justify-content:space-between;font-size:14px}
body.wpp-kv .v51 .v51-answer-title button{font-size:11px;color:#536480;text-decoration:underline;background:none}
body.wpp-kv .v51 .v51-skill-files{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.wpp-kv .v51 .skill-file{display:flex;gap:8px;align-items:flex-start;margin:0;padding:10px;background:#fff;border:1px solid #d0dfe9;border-radius:6px;min-width:0}
body.wpp-kv .v51 .skill-file svg{color:#000050;flex-shrink:0}
body.wpp-kv .v51 .skill-file p{font-size:12px;line-height:1.65;margin:0;color:#52617c}
body.wpp-kv .v51 .skill-file b{display:block;color:#000050;font-size:14px;margin-bottom:4px}
body.wpp-kv .v51 .skill-boundary{font-size:11px;line-height:1.6;color:#536480;margin:0}
body.wpp-kv .v51 .skill-confirm{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid #d4e1ea;margin:0}
body.wpp-kv .v51 .skill-confirm strong{font-size:12px;color:#000050}
body.wpp-kv .v51 .skill-confirm code{font-size:10px;color:#536480;overflow-wrap:anywhere}
body.wpp-kv .v51 .skill-confirm .primary-button{font-size:12px;padding:9px 13px}
body.wpp-kv .v51 .skill-confirm .download-actions{display:flex;gap:8px}
body.wpp-kv .v51 .download-actions button{display:flex;gap:6px;align-items:center;font-size:12px;padding:8px 12px;border-radius:4px;background:#b0f467;color:#000050}
/* Source 09 introduction and source 10 monitoring share one screen. */
body.wpp-kv .v51 .v51-operations-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid #d5e0ec}
body.wpp-kv .v51 .v51-operations-intro .eyebrow{font-size:9px}
body.wpp-kv .v51 .v51-operations-intro h3{font-size:27px;color:#000050;margin:7px 0}
body.wpp-kv .v51 .v51-operations-intro p{font-size:12px;color:#65728a;margin:0}
body.wpp-kv .v51 .v5-operations-route{margin:0;gap:10px}
body.wpp-kv .v51 .v5-operations-route button{display:grid;grid-template-columns:22px 1fr;gap:5px 9px;text-align:left;border-radius:8px;padding:13px 17px}
body.wpp-kv .v51 .v5-operations-route button>span{grid-row:1/3;align-self:center;font:700 18px WPP,sans-serif;opacity:.45}
body.wpp-kv .v51 .v5-operations-route small{font-size:10px}
body.wpp-kv .v51 .v41-operations{height:calc(100svh - 335px);min-height:450px}
/* Two live panes: material insights remain visible while arranging and running. */
body.wpp-kv .v51 .v51-workbench{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px;align-items:stretch}
body.wpp-kv .v51 .v51-workflow-pane,body.wpp-kv .v51 .v51-insights-pane{min-width:0;display:flex;flex-direction:column;border:1px solid #cfdeea;background:#fff;border-radius:10px;overflow:hidden}
body.wpp-kv .v51 .v51-workflow-pane{padding:0 15px 12px;transition:border-color .2s,box-shadow .2s}
body.wpp-kv .v51 .v51-workflow-pane.drag-over{border-color:#75a54d;box-shadow:inset 0 0 0 3px #b0f467}
body.wpp-kv .v51 .v51-pane-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:49px;padding:10px 0;border-bottom:1px solid #e0e8ef}
body.wpp-kv .v51 .v51-insights-pane .v51-pane-heading{padding-inline:15px}
body.wpp-kv .v51 .v51-pane-heading>div{display:flex;gap:8px;align-items:center;color:#000050}
body.wpp-kv .v51 .v51-pane-heading h3{font-size:16px;margin:0;color:#000050}
body.wpp-kv .v51 .v51-pane-heading>span{display:flex;gap:4px;align-items:center;font-size:10px;color:#61718b}
body.wpp-kv .v51 .v51-material-tray{display:flex;gap:6px;align-items:center;height:49px;min-height:49px;overflow-x:auto;margin:8px 0;padding:5px;border:1px dashed #bacecf;background:#f4faf2;border-radius:5px}
body.wpp-kv .v51 .v51-drop-hint{font-size:11px;line-height:1.6;color:#647c62;padding:0 8px}
body.wpp-kv .v51 .v51-material-chip{display:flex;align-items:center;gap:5px;flex-shrink:0;max-width:210px;padding:7px 9px;font-size:11px;background:#e7f5d7;border-radius:5px;color:#354e25}
body.wpp-kv .v51 .v51-material-chip>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body.wpp-kv .v51 .v51-material-chip button{padding:3px;background:none;flex-shrink:0}
body.wpp-kv .v51 .flow-layout{display:block!important}
body.wpp-kv .v51 .flow-evidence{display:none}
body.wpp-kv .v51 .flow-canvas{width:875px;min-width:875px;height:430px}
body.wpp-kv .v51 .flow-scroll{overflow:hidden}
body.wpp-kv .v51 .v51-canvas-fit{width:100%;overflow:hidden}
body.wpp-kv .v51 .flow-node p{font-size:15px;line-height:1.6}
body.wpp-kv .v51 .flow-node-head{font-size:14px}
body.wpp-kv .v51 .flow-node small{font-size:10px}
body.wpp-kv .v51 .flow-caption{font-size:13px}
body.wpp-kv .v51 .workflow-toolbar{gap:8px;flex-wrap:wrap;margin-top:4px}
body.wpp-kv .v51 .scenario-select{gap:7px}
body.wpp-kv .v51 .scenario-select [data-slot=select-trigger]{width:200px;font-size:12px;height:34px}
body.wpp-kv .v51 .workflow-actions{margin-left:auto;gap:6px}
body.wpp-kv .v51 .workflow-actions .primary-button{font-size:12px;padding:10px 12px;gap:8px}
body.wpp-kv .v51 .demo-pill{display:none}
body.wpp-kv .v51 .workflow-bottom{font-size:10px;line-height:1.6;gap:10px;flex-wrap:wrap}
body.wpp-kv .v51 .v5-materials-panel{height:calc(100svh - 345px);min-height:450px;flex:1;border:0;border-radius:0}
body.wpp-kv .v51 .creative-output{padding:15px;max-height:425px;overflow:auto}
body.wpp-kv .v51 .output-heading{align-items:flex-start;flex-wrap:wrap;gap:10px}
body.wpp-kv .v51 .output-heading h3{font-size:23px}
body.wpp-kv .v51 .storyboard{gap:8px}
body.wpp-kv .v51 .story-copy h4{font-size:14px}
body.wpp-kv .v51 .story-copy p{font-size:10px}
body.wpp-kv .v51 .story-frame{min-height:220px}
/* Only dark bookends override inherited pale surfaces and navy descendant text. */
body.wpp-kv .v51.page-growth.bookend-dark .ending-copy .growth-line{color:#f4f8fc!important}
body.wpp-kv .v51.page-growth.bookend-dark .ending-copy>p{color:#bfd1dc!important}
body.wpp-kv .v51.page-growth.bookend-dark .ending-metrics{background:transparent!important;border-color:#bfd1dc55}
body.wpp-kv .v51.page-growth.bookend-dark .ending-metrics strong,body.wpp-kv .v51.page-growth.bookend-dark .ending-metrics strong span{color:#f4f8fc!important}
body.wpp-kv .v51.page-growth.bookend-dark .ending-metrics span{color:#bfd1dc!important}
@media(min-width:801px) and (max-height:760px){
 body.wpp-kv .v51 .v43-data-brain{--data-disc:140px}
 body.wpp-kv .v51 .skill-layout{height:auto;min-height:530px}
 body.wpp-kv .v51 .skillhub-panel{height:530px}
 body.wpp-kv .v51 .v41-operations{height:auto;min-height:480px}
 body.wpp-kv .v51 .v5-materials-panel{height:490px;min-height:490px}
}
@media(max-width:1100px) and (min-width:801px){
 body.wpp-kv .v51 .v51-workbench{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px}
 body.wpp-kv .v51 .v51-pane-heading>span{font-size:9px}
 body.wpp-kv .v51 .v51-operations-intro h3{font-size:22px}
 body.wpp-kv .v51 .v5-operations-route button{padding:10px}
}
@media(max-width:800px){
 body.wpp-kv .v51 .v43-data-brain{--data-disc:110px}
 body.wpp-kv .v51 .skill-layout{height:auto;min-height:0;display:flex;flex-direction:column}
 body.wpp-kv .v51 .skill-questions .skill-conversation{height:365px;min-height:365px;flex:none}
 body.wpp-kv .v51 .v51-skill-files{gap:8px}
 body.wpp-kv .v51 .skill-file{padding:8px;gap:5px}
 body.wpp-kv .v51 .skill-file svg{display:none}
 body.wpp-kv .v51 .skill-file p{font-size:11px}
 body.wpp-kv .v51 .v51-inline-answer{padding:12px}
 body.wpp-kv .v51 .skill-confirm strong{width:100%}
 body.wpp-kv .v51 .skillhub-panel{height:650px}
 body.wpp-kv .v51 .v51-operations-intro{display:block}
 body.wpp-kv .v51 .v5-operations-route{margin-top:15px}
 body.wpp-kv .v51 .v5-operations-route button{padding:10px;gap:4px;font-size:11px;flex:1}
 body.wpp-kv .v51 .v5-operations-route button>span{display:none}
 body.wpp-kv .v51 .v51-workbench{grid-template-columns:1fr}
 body.wpp-kv .v51 .v51-pane-heading>span{font-size:9px}
 body.wpp-kv .v51 .v5-materials-panel{height:650px;min-height:650px}
 body.wpp-kv .v51 .workflow-toolbar{flex-direction:row}
 body.wpp-kv .v51 .workflow-actions{margin-left:0}
 body.wpp-kv .v51 .flow-node p{font-size:18px}
 body.wpp-kv .v51 .flow-node-head{font-size:17px}
 body.wpp-kv .v51 .flow-node small{font-size:13px}
}
/* Fit the shared desktop stage; fixed panels never push their content below the fold. */
body.wpp-kv .v51 .skill-slide{padding-top:20px}
body.wpp-kv .v51 .skill-slide .section-heading{padding-bottom:12px;margin-bottom:16px}
body.wpp-kv .v51 .skill-slide .section-heading h2{font-size:36px;margin:7px 0;line-height:1.2}
body.wpp-kv .v51 .skill-slide .section-heading p{font-size:12px}
body.wpp-kv .v51 .pet-companion{animation:none;align-items:center}
body.wpp-kv .v51 .pet-speech{padding:9px 12px;height:106px;overflow:hidden;display:flex;flex-direction:column;box-shadow:none;flex-shrink:0}
body.wpp-kv .v51 .pet-speech:before,body.wpp-kv .v51 .pet-speech:after{display:none}
body.wpp-kv .v51 .pet-message-window{margin:4px 0;flex:1;height:auto;min-height:32px}
body.wpp-kv .v51 .pet-speech .pet-listen{position:static;font-size:9px;margin:2px 0 0;padding:0;line-height:1.2}
body.wpp-kv .v51 .pet-speech .pet-speech-top{font-size:9px}
body.wpp-kv .v51 .skill-questions .skill-conversation{min-height:320px;height:320px;flex:1}
body.wpp-kv .v51 .skill-confirm{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}
body.wpp-kv .v51 .skill-confirm strong{grid-column:1;font-size:12px;line-height:1.5;min-width:0}
body.wpp-kv .v51 .skill-confirm code{grid-column:1;grid-row:2;display:block;min-width:0;line-height:1.5}
body.wpp-kv .v51 .skill-confirm>.primary-button,body.wpp-kv .v51 .skill-confirm>.download-actions{grid-column:2;grid-row:1/3;align-self:center}
body.wpp-kv .v51 .skill-confirm>.download-actions{flex-direction:column;gap:5px}
body.wpp-kv .v51 .flow-scroll{min-height:0;height:auto}
@media(min-width:801px) and (min-height:761px){
 body.wpp-kv .v51 .v51-workbench{height:calc(100svh - 330px);min-height:530px}
 body.wpp-kv .v51 .v51-workflow-pane,body.wpp-kv .v51 .v51-insights-pane{height:100%;min-height:0}
 body.wpp-kv .v51 .v5-materials-panel{height:0;min-height:0;flex:1}
}
@media(min-width:801px) and (max-height:760px){
 body.wpp-kv .v51 .v43-ingestion{height:auto!important;min-height:670px}
 body.wpp-kv .v51 .skill-layout{min-height:550px}
 body.wpp-kv .v51 .skillhub-panel{height:550px}
}
@media(max-width:800px){
 body.wpp-kv .v51 .skill-slide .section-heading h2{font-size:30px}
 body.wpp-kv .v51 .pet-companion{height:160px;min-height:160px;grid-template-columns:105px minmax(0,1fr)}
 body.wpp-kv .v51 .pet-speech{height:150px;overflow:hidden}
 body.wpp-kv .v51 .pet-message-window{min-height:65px}
 body.wpp-kv .v51 .skill-questions .skill-conversation{height:430px;min-height:430px;flex:none}
 body.wpp-kv .v51 .v51-inline-answer{gap:8px}
 body.wpp-kv .v51 .skill-confirm{display:flex;flex-wrap:wrap}
 body.wpp-kv .v51 .skill-confirm>.download-actions{flex-direction:row}
 body.wpp-kv .v51 .skill-confirm code{width:100%}
 body.wpp-kv .v51 .v51-workbench{height:auto}
}
body.wpp-kv .v51 .flow-layout{height:auto;min-height:0}
@media(min-width:801px) and (min-height:761px){body.wpp-kv .v51 .skill-layout{height:calc(100svh - 322px)}}
body.wpp-kv .v51 .creative-body{height:auto;min-height:0}
@media(max-width:800px){
 body.wpp-kv .v51 .flow-scroll{overflow-x:auto;overscroll-behavior-x:contain}
 body.wpp-kv .v51 .v51-canvas-fit{width:717.5px}
 body.wpp-kv .v51 .flow-node p{font-size:15px}
 body.wpp-kv .v51 .flow-node-head{font-size:14px}
 body.wpp-kv .v51 .flow-node small{font-size:10px}
}
body.wpp-kv .v51 .skill-confirm>.download-actions{flex-direction:row;gap:6px}
body.wpp-kv .v51 .skill-confirm .download-actions button{font-size:10px;padding:8px 10px}
@media(min-width:801px){
 body.wpp-kv .v51 .skill-layout{height:max(580px,calc(100svh - 322px));min-height:580px}
 body.wpp-kv .v51 .skillhub-panel{height:100%}
}
@media(min-width:801px) and (max-width:1100px){body.wpp-kv .v51 .skill-layout{height:620px;min-height:620px}}
@media(max-width:800px){body.wpp-kv .v51 .skill-questions .skill-conversation{height:480px;min-height:480px}}
.v51-drag-ghost{position:fixed;left:0;top:0;z-index:200;display:none;align-items:center;pointer-events:none;max-width:300px;padding:12px 16px;border:1px solid #83b955;background:#e9f8d9f5;border-radius:8px;box-shadow:0 10px 30px #00005026;color:#000050;font:600 12px WPP,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* V5.2: progressive assistant and input-matched creative output. */
.v52-reveal{opacity:0;visibility:hidden;transform:translateY(7px);transition:opacity .36s ease,transform .36s ease}
.v52-reveal[data-revealed=true]{opacity:1;visibility:visible;transform:none}
body.wpp-kv .v52 .v52-input-basis{font-size:11px;color:#536480;line-height:1.6;padding:6px 0 10px}
body.wpp-kv .v52 .creative-body{display:flex;flex-direction:column;flex:1;min-height:0}
body.wpp-kv .v52 .creative-output{max-height:none;min-height:0;flex:1;overflow-y:auto;padding:12px;background:#f7fafc}
body.wpp-kv .v52 .v52-analysis-results{font-size:12px;color:#000050}
body.wpp-kv .v52 .v52-analysis-results .eyebrow{font-size:9px;line-height:1.6}
.v52-material-result{padding:14px 0;border-bottom:1px solid #d5e1ea}
.v52-material-result header{display:flex;gap:15px;align-items:flex-start}
.v52-material-result header img{width:92px;height:112px;object-fit:contain;flex-shrink:0;background:#fff;border-radius:6px}
.v52-material-result h4,.v52-scene-result h4{font-size:17px;line-height:1.5;margin:5px 0}
.v52-material-result header small{font-size:10px;color:#62728a}
.v52-material-result p,.v52-article-result p{font-size:12px;line-height:1.8}
.v52-analysis-results dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.v52-analysis-results dt{font-weight:700;font-size:11px;color:#000050;border-left:3px solid #b0f467;padding-left:7px}
.v52-analysis-results dd{font-size:12px;line-height:1.8;color:#536480;margin:5px 0 0;white-space:pre-line}
.v52-analysis-results .footnote{font-size:10px;line-height:1.6}
body.wpp-kv .v52 .v52-story-frame{display:flex;flex-direction:column;padding:0;text-align:left;background:#fff;min-height:0}
body.wpp-kv .v52 .v52-story-frame>img{position:static;width:100%;height:145px;object-fit:contain;opacity:1}
body.wpp-kv .v52 .v52-story-frame:after{display:none}
body.wpp-kv .v52 .v52-story-frame .story-top{position:static;display:flex;font-size:9px;padding:9px;color:#536480}
body.wpp-kv .v52 .v52-story-frame .story-copy{position:static;padding:12px}
body.wpp-kv .v52 .v52-story-frame .story-copy h4{color:#000050;font-size:13px}
body.wpp-kv .v52 .v52-story-frame .story-copy p{color:#536480;font-size:11px;line-height:1.7}
.v52-story-number{height:85px;padding:18px;font-size:44px;color:#3f8093;background:linear-gradient(135deg,#dff3f6,#ebf9dc)}
.v52-article-result h4{font-size:21px;line-height:1.6;color:#000050}
@media(max-width:800px),(max-height:760px){body.wpp-kv .v52 .creative-output{flex:none;max-height:600px}}
@media(max-width:450px){.v52-analysis-results dl{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.v52-reveal{transition:none;transform:none}}
/* Restored source 09 and 10 use V5.1 WPP colors, with independent page navigation. */
body.wpp-kv .v52 .v52-restored-monitoring .v41-operations{height:calc(100svh - 265px);min-height:490px}
body.wpp-kv .v52.page-operations-intro .brain-network{margin-block:22px}
body.wpp-kv .v52.page-operations-intro .stage-hint{color:#65728a}
@media(max-width:800px){body.wpp-kv .v52 .v52-restored-monitoring .v41-operations{height:auto;min-height:0}}
/* V5.2 revision: compact assistant, larger four elements and pet dialogue. */
body.wpp-kv .v52 .skill-layout{height:580px;min-height:580px}
body.wpp-kv .v52 .skill-questions{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:20px 110px 164px 268px;gap:6px;min-width:0}
body.wpp-kv .v52 .skill-elements{margin:0;gap:10px;min-height:0}
body.wpp-kv .v52 .skill-elements .check-line{margin:0;padding:12px 16px;gap:12px;font-size:17px;line-height:1.4;min-width:0}
body.wpp-kv .v52 .skill-elements .check-line [data-slot=checkbox]{width:23px;height:23px;flex-shrink:0}
body.wpp-kv .v52 .skill-questions>.number-label{font-size:14px;line-height:20px}
body.wpp-kv .v52 .pet-companion{grid-template-columns:170px minmax(0,1fr);height:164px;min-height:164px;margin:0;gap:15px;align-items:center}
body.wpp-kv .v52 .pet-greeting{width:170px!important;height:164px!important;max-height:164px!important;max-width:none;margin:0;transform:none;overflow:hidden}
body.wpp-kv .v52 .pet-facing{display:block;width:100%;height:100%;transform:scaleX(-1)}
body.wpp-kv .v52 .pet-facing img{width:100%;height:100%;object-fit:contain;max-width:none;transform:none;animation:none}
body.wpp-kv .v52 .pet-dialogue{min-width:0;align-self:center}
body.wpp-kv .v52 .pet-speech{height:130px;padding:13px 16px;background:#f2f9fc!important;border:1px solid #cbdfe9!important;border-radius:12px 12px 12px 0!important}
body.wpp-kv .v52 .pet-message{font-size:14px!important;line-height:1.8!important;overflow-wrap:anywhere}
body.wpp-kv .v52 .pet-message-window{min-height:60px;margin:6px 0}
body.wpp-kv .v52 .pet-listen{font-size:11px;padding:4px 0;margin:0}
body.wpp-kv .v52 .skill-questions .skill-conversation{height:268px;min-height:268px;max-height:268px;flex:none;overflow:hidden}
body.wpp-kv .v52 .conversation-head{height:34px;min-height:34px;padding:8px 14px}
body.wpp-kv .v52 .skill-invite{padding:14px 18px;gap:8px}
body.wpp-kv .v52 .skill-invite h3{font-size:27px;line-height:1.2;margin:0}
body.wpp-kv .v52 .skill-invite p{margin:4px 0 8px;font-size:12px;line-height:1.6}
body.wpp-kv .v52 .skill-invite .primary-button{padding:10px 14px;font-size:13px}
body.wpp-kv .v52 .v51-inline-answer{padding:10px 12px;gap:7px;justify-content:space-between}
body.wpp-kv .v52 .v51-skill-files{gap:8px}
body.wpp-kv .v52 .skill-file{padding:8px;gap:6px}
body.wpp-kv .v52 .skill-file p{font-size:11px;line-height:1.55}
body.wpp-kv .v52 .skill-file b{font-size:13px;margin-bottom:3px}
body.wpp-kv .v52 .skill-boundary{font-size:10px;line-height:1.55}
body.wpp-kv .v52 .skill-confirm{padding-top:7px;gap:4px 7px}
body.wpp-kv .v52 .skill-confirm strong{font-size:11px}
body.wpp-kv .v52 .skill-confirm code{font-size:9px}
body.wpp-kv .v52 .skill-confirm .primary-button{padding:8px 10px;font-size:11px}
/* Workflow cards summarize their sources; the existing detail dialog keeps all text. */
body.wpp-kv .v52 .workflow-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:0 0 5px;padding:0;flex:none}
body.wpp-kv .v52 .scenario-select{display:flex;gap:7px;min-width:0}
body.wpp-kv .v52 .scenario-select>span{font-size:11px;flex-shrink:0}
body.wpp-kv .v52 .scenario-select [data-slot=select-trigger]{width:auto;flex:1;min-width:0;max-width:100%;font-size:11px;overflow:hidden}
body.wpp-kv .v52 [data-slot=select-value]{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}
body.wpp-kv .v52 .workflow-actions{margin:0;gap:6px;flex-wrap:nowrap}
body.wpp-kv .v52 .workflow-actions .primary-button{padding:10px;font-size:11px;gap:5px;white-space:nowrap}
body.wpp-kv .v52 .v52-input-basis{padding:3px 0 8px;line-height:1.5;flex:none;overflow-wrap:anywhere}
body.wpp-kv .v52 .flow-layout{flex:1;min-height:0;overflow:auto}
body.wpp-kv .v52 .flow-node{height:156px;padding:0;border-radius:10px;background:#fff;border-color:#c7dbe7;box-shadow:0 5px 16px #00005008;display:flex;flex-direction:column}
body.wpp-kv .v52 .flow-node-head{padding:10px 12px;min-height:37px;line-height:16px;gap:6px;font-size:14px;background:#f3f9fc;border-radius:10px 10px 0 0}
body.wpp-kv .v52 .flow-node-head>span{gap:6px;min-width:0}
body.wpp-kv .v52 .flow-node-head svg{flex-shrink:0}
body.wpp-kv .v52 .flow-node>small{font-size:10px;line-height:12px;margin:8px 12px 5px;flex:none}
body.wpp-kv .v52 .flow-node>p{font-size:15px;line-height:1.45;margin:0 12px;min-height:43.5px;max-height:43.5px;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.wpp-kv .v52 .v52-node-detail{display:flex;align-items:center;gap:5px;margin:auto 12px 9px;padding-top:7px;color:#657891;font-size:11px;line-height:13px}
body.wpp-kv .v52 .flow-node.complete{border-color:#a1cf64}.v52 .flow-node.complete .flow-node-head{background:#f0f8e7}
body.wpp-kv .v52 .workflow-bottom{flex:none;min-width:0;line-height:1.5;padding-top:7px;gap:4px}
body.wpp-kv .v52 .workflow-bottom>span{min-width:0;flex:1;overflow-wrap:anywhere;font-size:10px}
body.wpp-kv .v52 .workflow-bottom>a{flex-shrink:0;font-size:9px}
body.wpp-kv .v52 .creative-output,.v52 .output-heading>div,.v52 .v52-material-result header>div{min-width:0;overflow-wrap:anywhere}
body.wpp-kv .v52 .output-heading h3{font-size:20px;line-height:1.5;overflow-wrap:anywhere}
body.wpp-kv .v52 .output-heading p{font-size:11px;line-height:1.6;margin-top:4px}
body.wpp-kv .v52 .output-actions{flex-wrap:wrap}
body.wpp-kv .v52 .output-actions button{font-size:11px;padding:8px 10px}
body.wpp-kv .v52 .v52-material-result header img{width:78px;height:98px}
body.wpp-kv .v52 .v52-material-result h4{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
body.wpp-kv .v52 .v52-analysis-results dl>div{min-width:0;overflow-wrap:anywhere}
body.wpp-kv .v52 .v52-data-source{min-height:136px;padding:20px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#000050;background:#fff;border:1px solid #cddbea;border-radius:6px}
body.wpp-kv .v52 .v52-data-source svg{width:24px;height:24px}.v52 .v52-data-source b{font-size:16px}.v52 .v52-data-source small{font-size:9px;color:#657891}
@media(min-width:801px) and (max-width:1100px){
 body.wpp-kv .v52 .skill-layout{height:664px;min-height:664px}
 body.wpp-kv .v52 .skill-questions{grid-template-rows:20px 110px 190px 326px}
 body.wpp-kv .v52 .pet-companion{grid-template-columns:140px minmax(0,1fr);height:190px;min-height:190px;gap:10px}
 body.wpp-kv .v52 .pet-greeting{width:140px!important;height:180px!important;max-height:180px!important}
 body.wpp-kv .v52 .pet-speech{height:162px;padding:10px}
 body.wpp-kv .v52 .skill-questions .skill-conversation{height:326px;min-height:326px;max-height:326px}
 body.wpp-kv .v52 .workflow-toolbar{grid-template-columns:1fr}
 body.wpp-kv .v52 .workflow-actions{justify-content:flex-end}
}
@media(max-width:800px){
 body.wpp-kv .v52 .skill-layout{height:auto;min-height:0}
 body.wpp-kv .v52 .skill-questions{grid-template-rows:24px 116px 216px 386px;gap:10px}
 body.wpp-kv .v52 .skill-elements .check-line{padding:12px 9px;font-size:15px;gap:7px}
 body.wpp-kv .v52 .pet-companion{grid-template-columns:130px minmax(0,1fr);height:216px;min-height:216px;gap:10px}
 body.wpp-kv .v52 .pet-greeting{width:130px!important;height:196px!important;max-height:196px!important}
 body.wpp-kv .v52 .pet-speech{height:184px;padding:12px}
 body.wpp-kv .v52 .pet-message{font-size:13px!important;line-height:1.7!important}
 body.wpp-kv .v52 .pet-message-window{min-height:108px}
 body.wpp-kv .v52 .skill-questions .skill-conversation{height:386px;min-height:386px;max-height:386px}
 body.wpp-kv .v52 .skill-confirm{display:flex;flex-wrap:wrap;gap:6px}
 body.wpp-kv .v52 .skill-confirm code{width:100%}
 body.wpp-kv .v52 .skill-file p{font-size:12px}
 body.wpp-kv .v52 .skill-boundary{font-size:11px}
 body.wpp-kv .v52 .workflow-toolbar{grid-template-columns:1fr;gap:8px}
 body.wpp-kv .v52 .workflow-actions{justify-content:flex-start}
 body.wpp-kv .v52 .workflow-bottom{align-items:flex-start}
 body.wpp-kv .v52 .flow-layout{overflow:visible;flex:none}
 body.wpp-kv .v52 .output-heading h3{font-size:21px}
}
/* Fill the pet's transparent margins while keeping its silhouette within the larger slot. */
body.wpp-kv .v52 .pet-facing img{transform:scale(1.55);transform-origin:50% 50%}
@media(min-width:1101px) and (max-width:1300px){
 body.wpp-kv .v52 .skill-layout{height:606px;min-height:606px}
 body.wpp-kv .v52 .skill-questions{grid-template-rows:20px 110px 164px 294px}
 body.wpp-kv .v52 .skill-questions .skill-conversation{height:294px;min-height:294px;max-height:294px}
}
@media(max-width:380px){
 body.wpp-kv .v52 .skill-questions{grid-template-rows:24px 116px 216px 410px}
 body.wpp-kv .v52 .skill-questions .skill-conversation{height:410px;min-height:410px;max-height:410px}
}
