.pcm-ai-home { text-align:center; background:radial-gradient(ellipse at top,#e9edf9,#fff 70%); }
.pcm-ai-home form { text-align:left; max-width:780px; margin:auto; }.pcm-ai-controls {display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.pcm-ai-orb {width:88px;height:88px;border-radius:50%;margin:12px auto;background:radial-gradient(circle at 30% 25%,#fff,#b3bafa 20%,#686ad1 48%,#252958 80%);box-shadow:0 0 32px #8386d466;animation:pcm-breathe 4s ease-in-out infinite;}.pcm-ai-orb.is-speaking{animation-duration:1s}
@keyframes pcm-breathe{50%{box-shadow:0 0 48px #8386d4aa;transform:scale(1.04)}}@media(prefers-reduced-motion:reduce){.pcm-ai-orb{animation:none}}
.pcm-hub-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pcm-hub-group nav{display:grid;gap:10px;padding-top:15px}.pcm-hub-group summary{font-size:1.15rem;font-weight:700;cursor:pointer}
[data-pcm-ai-chart] > div {display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:9px 0}[data-pcm-ai-chart] meter{width:100%}
.pcm-experience-dialog {width:min(1000px,calc(100vw - 28px));max-height:90dvh;padding:22px;border:1px solid #d7ddec;border-top:5px solid #e9bb45;border-radius:20px;color:#20264f;background:#f8f9fd;box-sizing:border-box}.pcm-experience-dialog::backdrop{background:#141a4b88}.pcm-experience-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.pcm-experience-dialog .pcm-card{margin:14px 0}.pcm-experience-dialog button{cursor:pointer}
.pcm-match-flow {display:grid;grid-template-columns:1fr 1fr;gap:14px}.pcm-match-party {padding:18px;border:1px solid #dce1ed;border-radius:16px;background:#f5f7fc}.pcm-match-agent{grid-column:1/-1;border-top:3px solid #e9bb45;padding:15px;background:#20264f;color:white;border-radius:12px}.pcm-match-agent .button{color:#20264f;background:white}
.pcm-topbar .pcm-language-control{font-size:12px;max-width:240px}.pcm-help-panel{padding:12px 18px!important}.pcm-help-panel summary{cursor:pointer}.pcm-main .pcm-card{border-radius:18px}.pcm-main .widefat{border-radius:12px;overflow:hidden}.pcm-main details>summary{cursor:pointer}
@media(max-width:650px){.pcm-hub-grid,.pcm-match-flow{grid-template-columns:1fr}.pcm-experience-dialog{padding:14px}.pcm-topbar{align-items:start}}
.pcm-sidebar .pcm-nav-group summary {font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#d7d9f7;cursor:pointer;padding:14px 10px;font-weight:700}.pcm-sidebar .pcm-nav-group{margin:10px 0}.pcm-review-overview>strong{font-size:2rem;color:#20264f}
.pcm-portal .pcm-membership-header-pending {background:#fff2ce;color:#785719;border-color:#e9d49c}.pcm-portal .pcm-membership-header-active{background:#e2f4e9;color:#21623d;border-color:#a8d6b9}
.pcm-chart-legend{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:10px}.pcm-chart-legend li{padding:4px 10px;background:#f1f3f9;border-radius:5px}.pcm-chart-disk{width:220px;height:220px;border-radius:50%;margin:20px auto}.pcm-chart-disk.is-donut{position:relative}.pcm-chart-disk.is-donut:after{content:'';position:absolute;inset:28%;border-radius:50%;background:white}[data-pcm-ai-chart] svg{width:100%;max-width:650px;display:block;margin:auto}[data-pcm-ai-chart]>.pcm-chart-disk{display:block}[data-pcm-ai-links]{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.pcm-ai-orb.is-thinking{animation-duration:1.5s}
.pcm-ai-home .pcm-ai-orb {background:none;box-shadow:none;width:160px;height:185px;border-radius:0;animation:none;margin:0 auto 8px}.pcm-tesa-face{width:100%;height:100%;filter:drop-shadow(0 8px 14px #273d5922)}.pcm-tesa-eyes{transform-origin:90px 94px;animation:pcm-tesa-blink 6s infinite}.pcm-ai-orb.is-speaking .pcm-tesa-mouth{transform-origin:90px 142px;animation:pcm-tesa-talk .28s ease-in-out infinite alternate}@keyframes pcm-tesa-blink{0%,42%,46%,100%{transform:scaleY(1)}44%{transform:scaleY(.08)}}@keyframes pcm-tesa-talk{to{transform:scaleY(3.6) scaleX(.86)}}@media(prefers-reduced-motion:reduce){.pcm-tesa-eyes,.pcm-ai-orb.is-speaking .pcm-tesa-mouth{animation:none}}
.pcm-ai-thread{max-height:560px;overflow-y:auto;overscroll-behavior:contain;text-align:left;display:grid;gap:14px;padding:12px 2px}.pcm-tesa-message{background:#f1f4fa;border:1px solid #dfe5f0;border-radius:16px;padding:16px;max-width:94%;overflow-wrap:anywhere;min-width:0}.pcm-tesa-message.is-user{background:#252d60;color:white;justify-self:end}.pcm-tesa-message>small{display:block;font-size:11px;opacity:.7}.pcm-tesa-message-text p{margin:10px 0;white-space:pre-wrap;line-height:1.65}.pcm-tesa-message-text{font-size:15px}.pcm-tesa-related{display:grid;gap:8px;margin-top:12px}.pcm-tesa-resource{display:block;padding:11px 14px;background:white;border:1px solid #ccd6e8;border-radius:10px;color:#202d66;text-decoration:underline;white-space:normal;overflow-wrap:anywhere;font-size:14px}.pcm-tesa-document-viewer{width:100%;height:70dvh;border:0;background:white}.pcm-ai-history-controls{display:flex;flex-wrap:wrap;gap:9px}.pcm-ai-preferences{padding:8px;font-size:13px}.pcm-ai-preferences label{display:block;margin:8px 0}.pcm-ai-home [data-pcm-history-list]>div{display:flex;gap:8px;margin:8px 0}.pcm-ai-home [data-pcm-history-list] button{white-space:normal;height:auto;overflow-wrap:anywhere}.pcm-ai-home [data-pcm-ai-answer]:empty{display:none}.pcm-ai-home form>.pcm-input{margin-top:15px}
.pcm-experience-dialog>header h2{min-width:0;overflow-wrap:anywhere}.pcm-ai-thread:empty{padding:0}.pcm-tesa-related:empty{display:none}
.pcm-tesa-picker{display:grid;gap:9px;padding:13px;margin-top:12px;border:1px solid #ced9e9;background:white;border-radius:12px}.pcm-tesa-picker input,.pcm-tesa-picker select{width:100%;max-width:100%;min-width:0;box-sizing:border-box;min-height:42px}.pcm-tesa-picker .button{white-space:normal;height:auto;padding:8px 12px}.pcm-tesa-picker p{font-size:13px;margin:0}
.pcm-ai-thread{display:block}.pcm-tesa-message{margin:14px 0;width:100%;box-sizing:border-box;max-width:100%}.pcm-tesa-message [data-pcm-ai-chart],.pcm-tesa-message svg{width:100%;min-width:0}.pcm-tesa-message svg{max-width:none!important;min-height:260px}.pcm-chart-disk{width:min(300px,90%);height:auto;aspect-ratio:1}.pcm-chart-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.pcm-user-language{display:flex;justify-content:flex-end;gap:5px;margin:8px 0}.pcm-user-language select{min-height:36px}.pcm-tesa-message meter{width:100%;height:28px}
.pcm-user-language{margin:0;display:block;width:170px;flex-shrink:0}.pcm-language-slider{position:relative;display:flex;padding:3px;border-radius:999px;background:#ffffff20;border:1px solid #c6cee1;isolation:isolate}.pcm-language-thumb{position:absolute;top:3px;bottom:3px;left:3px;width:calc(50% - 3px);border-radius:999px;background:#e9bb45;transition:transform .2s;pointer-events:none;z-index:-1}.is-english .pcm-language-thumb{transform:translateX(100%)}.pcm-user-language .pcm-language-slider button{all:unset;box-sizing:border-box;width:50%;padding:8px 4px;text-align:center;font:600 12px/1.3 system-ui;cursor:pointer;color:#24305e}.pcm-user-language .pcm-language-slider button:focus-visible{outline:3px solid #6e9dd8;border-radius:999px}.pcm-account-header{position:relative}.pcm-account-header>.pcm-user-language{position:absolute;right:18px;top:16px}.pcm-account-header .pcm-language-slider button{color:white}.pcm-account-header .pcm-language-slider button[aria-pressed=true]{color:#222b50}.pcm-account-header .pcm-account-identity{padding-top:26px}@media(max-width:480px){.pcm-account-header>.pcm-user-language{width:154px;right:12px;top:12px}.pcm-account-header .pcm-language-slider button{font-size:11px}.pcm-account-header .pcm-account-identity{padding-top:30px}}@media(prefers-reduced-motion:reduce){.pcm-language-thumb{transition:none}}
.pcm-tesa-report{margin-top:15px;display:block;min-width:0}.pcm-report-row{padding:12px;margin:12px 0;background:white;border:1px solid #d5dfed;border-radius:12px}.pcm-report-row p{margin:7px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}

.pcm-tesa-report [hidden]{display:none!important}
.pcm-report-group{margin:18px 0 22px;border-top:3px solid #e6ba49;padding-top:12px}
.pcm-report-group>h4{font-size:17px!important;color:#20294f;margin:0 0 10px!important;letter-spacing:.01em}
.pcm-report-downloads{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.pcm-report-download{display:inline-flex;align-items:center;padding:8px 12px!important;background:#222b59!important;color:#fff!important;border-radius:9px;text-decoration:none!important;font-size:12px!important;font-weight:600}
.pcm-report-profile-link{display:inline!important;padding:0!important;border:0!important;background:none!important;color:#243969!important;text-decoration:underline!important;font-size:15px!important;font-weight:700;overflow-wrap:anywhere}
.pcm-report-row{margin:8px 0;padding:12px 14px;border-radius:10px;box-shadow:0 2px 8px #20294f07}
.pcm-report-row p{white-space:pre-wrap}.pcm-report-row .pcm-report-metric{font-weight:650;color:#2c6358}
/* TesIA: floating voice presence, independent from scrolling conversation text. */
.pcm-ai-stage{position:sticky;top:0;z-index:10;display:flex;justify-content:center;align-items:center;height:126px;margin:-18px -18px 12px;padding:10px;background:linear-gradient(180deg,#f4f5fb 70%,#f4f5fb00);pointer-events:none;}
.pcm-ai-drawer .pcm-ai-stage .pcm-ai-orb,.pcm-ai-stage .pcm-ai-orb{display:block;position:relative;width:86px;height:86px;margin:0;border:1px solid #92c9ff88;border-radius:50%;background:radial-gradient(circle at 30% 25%,#e5f6ff 0%,#58b9ea 19%,#5165ca 48%,#222951 78%);box-shadow:inset -10px -12px 26px #15244d88,inset 6px 7px 18px #fff7,0 10px 36px #455bc84d;animation:pcm-orb-idle 5s ease-in-out infinite;}
.pcm-ai-stage .pcm-ai-orb:before,.pcm-ai-stage .pcm-ai-orb:after{content:'';position:absolute;inset:-9px;border:1px solid #799de966;border-radius:44% 56% 53% 47%;animation:pcm-orb-orbit 9s linear infinite;}
.pcm-ai-stage .pcm-ai-orb:after{inset:-16px;border-color:#d9b65f55;animation-direction:reverse;animation-duration:13s;}
.pcm-ai-stage .pcm-ai-orb.is-speaking{animation:pcm-orb-speak .65s ease-in-out infinite alternate;box-shadow:0 0 30px #6daeff99,0 0 55px #877be85c;}
.pcm-ai-stage .pcm-ai-orb.is-speaking:before{animation-duration:1.6s;border-color:#64beff;}
.pcm-ai-stage .pcm-ai-orb.is-thinking:before{animation-duration:1s;border-width:2px;border-top-color:#edd17d;}
.pcm-ai-home:has([data-pcm-voice][aria-pressed="true"]) .pcm-ai-orb{outline:3px solid #82d7da;outline-offset:10px;}
.pcm-ai-drawer .pcm-tesa-message-text{font-size:15px;line-height:1.7;}.pcm-ai-drawer .pcm-tesa-message-text p{max-height:none;overflow:visible;}
@keyframes pcm-orb-idle{50%{transform:translateY(-4px);filter:hue-rotate(14deg)}}
@keyframes pcm-orb-orbit{to{transform:rotate(360deg)}}
@keyframes pcm-orb-speak{from{transform:scale(.94);filter:brightness(1)}to{transform:scale(1.08);filter:brightness(1.22)}}
@media(max-width:782px){.pcm-ai-stage{height:108px;}.pcm-ai-drawer .pcm-ai-stage .pcm-ai-orb{width:72px;height:72px;}}
@media(prefers-reduced-motion:reduce){.pcm-ai-stage .pcm-ai-orb,.pcm-ai-stage .pcm-ai-orb:before,.pcm-ai-stage .pcm-ai-orb:after{animation:none!important;}}
