/* OnType account-synced profile circle: scoped to the existing site header. */
body.otps-ready{--otps-accent:#329d9c;--otps-accent-dark:#20676b;--otps-pale:#e9f6f4}
body.otps-ready[data-otps-family="nf"]{--otps-accent:#4e9471;--otps-accent-dark:#2b7051;--otps-pale:#e6f3eb}
body.otps-ready[data-otps-family="nt"]{--otps-accent:#9070b1;--otps-accent-dark:#654782;--otps-pale:#f1e9f8}
body.otps-ready[data-otps-family="sj"]{--otps-accent:#408fad;--otps-accent-dark:#226984;--otps-pale:#e5f3f8}
body.otps-ready[data-otps-family="sp"]{--otps-accent:#c4a137;--otps-accent-dark:#866817;--otps-pale:#fcf4dc}
body.otps-ready .otm [data-ontype-profile-menu]>summary{font-size:0!important;display:flex;align-items:center;gap:7px;cursor:pointer;min-height:44px}
body.otps-ready .otm [data-ontype-profile-menu]>summary>.otm-profile-neutral,
body.otps-ready .otm [data-ontype-profile-menu]>summary>[data-profile-avatar]{display:none!important}
body.otps-ready .otm [data-ontype-profile-menu] .otps-avatar{width:40px;height:40px;display:inline-grid;flex:none;place-items:center;background:var(--otps-pale);border:2px solid var(--otps-accent);border-radius:50%;overflow:hidden;box-shadow:0 0 0 3px #eff7f5;color:var(--otps-accent-dark);font:800 18px Nunito,system-ui,sans-serif}
body.otps-ready .otm [data-ontype-profile-menu] .otps-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
body.otps-ready .otm [data-ontype-profile-menu] .otps-label{font:800 13px/1.3 Nunito,system-ui,sans-serif}
body.otps-ready .otm [data-ontype-profile-menu] .otm-profile-panel{min-width:355px;max-width:min(425px,calc(100vw - 30px));padding:12px!important;z-index:100000;background:#fff;color:#263f4b;box-shadow:0 15px 48px #173b552c;border-radius:16px;overflow-x:hidden;overflow-y:auto;max-height:min(80vh,750px)}
body.otps-ready .otm .otps-panel,body.otps-ready .otm .otps-panel *{box-sizing:border-box}
body.otps-ready .otm .otps-panel{color:#284854;font:600 13px/1.45 Nunito,system-ui,sans-serif}
body.otps-ready .otm .otps-head strong{display:block;font-size:17px;color:#23414c;margin-bottom:2px}
body.otps-ready .otm .otps-head span{display:block;color:#607982;font-size:12px;margin:0 0 12px}
body.otps-ready .otm .otps-current{display:flex;align-items:center;gap:9px;padding:9px;background:var(--otps-pale);border:1px solid var(--otps-accent);border-radius:12px}
body.otps-ready .otm .otps-current>img{width:47px;height:47px;flex:none;border-radius:50%;object-fit:cover;background:#fff}
body.otps-ready .otm .otps-current>div{flex:1;min-width:0}
body.otps-ready .otm .otps-current strong{font-weight:800;display:block}
body.otps-ready .otm .otps-current small{color:#55727a;display:block;font-size:11px}
body.otps-ready .otm button[data-otps-change]{background:transparent;border:0;color:var(--otps-accent-dark);text-decoration:underline;cursor:pointer;font:800 11px Nunito,system-ui,sans-serif;padding:8px 3px}
body.otps-ready .otm .otps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body.otps-ready .otm .otps-choice{border:1px solid #e0e9e7;background:#f8faf9;border-radius:9px;display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;color:#234452;min-width:0;padding:7px 2px;font:800 11px Nunito,system-ui,sans-serif}
body.otps-ready .otm .otps-choice:hover,body.otps-ready .otm .otps-choice:focus-visible,body.otps-ready .otm .otps-choice[aria-pressed="true"]{border-color:var(--otps-accent);background:var(--otps-pale)}
body.otps-ready .otm .otps-choice img{width:48px;height:48px;border:1px solid #e0ecec;border-radius:50%;object-fit:cover;background:#fff}
body.otps-ready .otm .otps-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:11px 0}
body.otps-ready .otm .otps-actions>a{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none!important;border:1px solid var(--otps-accent);background:#fff;border-radius:9px;padding:10px 4px;color:var(--otps-accent-dark)!important;font:800 12px Nunito,system-ui,sans-serif}
body.otps-ready .otm .otps-actions>a:first-child{background:var(--otps-accent-dark);color:#fff!important}
body.otps-ready .otm .otps-actions>a:hover{background:var(--otps-pale)}
body.otps-ready .otm .otps-actions>a:first-child:hover{background:var(--otps-accent)}
body.otps-ready .otm .otps-claim{margin:8px 0;background:#fff7e8;border-radius:10px;padding:11px;border:1px solid #eed6a5}
body.otps-ready .otm .otps-claim p{margin:0 0 8px;font-size:12px}
body.otps-ready .otm .otps-claim button{border:0;border-radius:8px;background:#a17829;color:#fff;padding:9px 14px;cursor:pointer;font-weight:800}
body.otps-ready .otm .otps-reflections{border-top:1px solid #e3ece9;padding:12px 0 9px;margin-top:12px}
body.otps-ready .otm .otps-reflection-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
body.otps-ready .otm .otps-reflection-heading strong{font-size:14px;color:#23414c}
body.otps-ready .otm .otps-reflection-heading small{font-size:10px;color:#607982}
body.otps-ready .otm [data-otps-guide-start]{display:block;border:1px solid #cbdedb;border-radius:9px;background:#f7fbfa;color:#286273;padding:10px 12px;cursor:pointer;font:800 12px Nunito,system-ui,sans-serif;margin-top:8px;width:100%;text-align:center}
body.otps-ready .otm [data-otps-clear]{display:block;border:0;background:none;color:#668087;text-decoration:underline;cursor:pointer;font-size:11px;margin:7px auto 0}
body.otps-ready .otm .otps-guest-note{margin:8px 0 0;color:#7a6c53;font-size:11px}
body.otps-ready .otm .otps-guide{background:var(--otps-pale);border-radius:11px;padding:12px;margin:9px 0;border:1px solid #d9e8e2}
body.otps-ready .otm .otps-question-top{display:flex;justify-content:space-between;align-items:center;color:var(--otps-accent-dark);font-weight:800;font-size:10px;letter-spacing:.05em;text-transform:uppercase}
body.otps-ready .otm .otps-question-top button{border:0;background:none;color:#395a60;cursor:pointer;font-size:20px;line-height:1}
body.otps-ready .otm .otps-question p{font-size:13px;margin:10px 0;font-weight:700}
body.otps-ready .otm .otps-answers{display:grid;gap:6px}
body.otps-ready .otm .otps-answers button{border:1px solid #d5e3e0;background:#fff;padding:10px;border-radius:9px;text-align:left;color:#284952;cursor:pointer;font-weight:700;font-size:12px}
body.otps-ready .otm .otps-answers button:hover,body.otps-ready .otm .otps-answers button[aria-pressed="true"]{border-color:var(--otps-accent);background:var(--otps-pale)}
body.otps-ready .otm .otps-question-foot{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:9px}
body.otps-ready .otm .otps-question-foot button{border:0;background:none;color:var(--otps-accent-dark);text-decoration:underline;cursor:pointer;font-size:11px}
body.otps-ready .otm .otps-question-foot small{color:#627d82;font-size:10px}
body.otps-ready .otm .otps-note{margin:10px 1px;color:#67818b;font-size:11px;line-height:1.5}
body.otps-ready .otm .otps-status{font-size:11px;line-height:1.5;color:#2a6c72;margin:7px 2px}
body.otps-ready .otm .otps-account-label{padding:11px 3px 4px;margin-top:7px;border-top:1px solid #e2ebe9;color:#445e65;font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:800}
body.otps-ready .otm .otps-panel [hidden]{display:none!important}
body.otps-ready.otps-colors-on .otm .otm-test{background:var(--otps-accent-dark);border-color:var(--otps-accent-dark)}
body.otps-ready.otps-colors-on .ot-home{--t:var(--otps-accent);--t-deep:var(--otps-accent-dark);--t-soft:var(--otps-pale);--t-pale:var(--otps-pale)}
body.otps-ready.otps-colors-on .ot-home .hp-btn--primary{background:var(--otps-accent)!important;border-color:var(--otps-accent)!important}
body.otps-ready.otps-colors-on .ot-hub{--ot-profile-accent:var(--otps-accent)}
.ot-profile-reflections{background:linear-gradient(140deg,#f5fbf9,#fff);border:1px solid #deebe7;padding:18px 23px;border-radius:16px;margin:19px 0}
.ot-profile-reflections h2{font-size:21px;margin:0 0 7px}
.ot-profile-reflections>p{font-size:14px;color:#536a74;margin:0 0 12px}
.ot-profile-reflections dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px;margin:0}
.ot-profile-reflections dl>div{background:#fff;border:1px solid #e0eae6;border-radius:11px;padding:11px}
.ot-profile-reflections dt{font-size:12px;font-weight:800;color:#254e5d;margin:0 0 5px}
.ot-profile-reflections dd{margin:0;font-size:14px}
.ot-profile-reflections .ot-reflections-edit{margin-top:12px;font-size:13px}
@media(max-width:1180px){body.otps-ready .otm [data-ontype-profile-menu] .otm-profile-panel{position:fixed!important;top:var(--otps-mobile-top,72px)!important;left:12px!important;right:12px!important;width:auto!important;max-width:none!important;min-width:0!important;max-height:calc(100dvh - var(--otps-mobile-top,72px) - 12px);overflow-y:auto;overscroll-behavior:contain;z-index:100001!important}}
@media(max-width:440px){body.otps-ready .otm .otps-choice img{width:39px;height:39px}body.otps-ready .otm .otps-grid{gap:5px}body.otps-ready .otm .otps-choice{font-size:10px;padding:7px 1px}body.otps-ready .otm [data-ontype-profile-menu] .otm-profile-panel{max-height:65vh}.ot-profile-reflections{padding:14px}}
@media(prefers-reduced-motion:reduce){body.otps-ready .otm .otps-avatar{animation:none!important;transition:none!important}}

/* Keep standalone bridge clear of theme-builder header positioning. */
body.otps-ready .otm .otps-panel [data-otps-grid][hidden]{display:none!important}
body.otps-ready .ot-profile-reflections .ot-reflections-edit{border:1px solid #8bb8b0;border-radius:9px;background:#fff;color:#256670;padding:9px 14px;cursor:pointer;font-weight:800;margin-top:14px}
body.otps-ready .ot-profile-reflections .ot-reflections-edit:hover{background:#eaf7f3}

.ot-profile-reflections .ot-reflections-next{margin:13px 0 2px!important;font-size:13px!important;color:#426776!important}
.ot-profile-reflections .ot-reflections-next a{display:inline-flex;color:#246d76;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.ot-profile-reflections .ot-reflections-next a:focus-visible{outline:3px solid #4a96ac;outline-offset:3px;border-radius:3px}

/* WCAG AA contrast polish on white: secondary copy is still quiet but readable. */
body.otps-ready .otm .otps-note{color:#445e65}
body.otps-ready .otm [data-otps-clear]{color:#435e66}

/* Assessment starter: real first three bank questions, compact but readable. */
body.otps-ready .otm .otps-question h3{font:800 14px/1.4 Nunito,system-ui,sans-serif;color:#173d4a;margin:13px 0 10px;letter-spacing:0}
body.otps-ready .otm .otps-question h3:focus{outline:2px solid var(--otps-accent);outline-offset:4px;border-radius:4px}
body.otps-ready .otm .otps-poles{display:grid;gap:7px}
body.otps-ready .otm .otps-poles p{border:1px solid #d7e7e2;border-radius:9px;background:#fff;font:600 12px/1.5 Nunito,system-ui,sans-serif;color:#294e58;margin:0;padding:9px 10px}
body.otps-ready .otm .otps-poles strong{display:block;margin:0 0 2px;color:var(--otps-accent-dark);font-weight:800}
body.otps-ready .otm .otps-question .otps-scale-label{font:800 12px/1.4 Nunito,system-ui,sans-serif;margin:12px 0 6px;color:#274955}
body.otps-ready .otm .otps-answers{grid-template-columns:1fr;gap:5px}
body.otps-ready .otm .otps-answers button{padding:9px 11px;font:700 12px/1.35 Nunito,system-ui,sans-serif;min-height:37px}
body.otps-ready .otm .otps-guide-hub-link{display:inline-flex;justify-content:center;align-items:center;padding:9px 10px;margin:6px 3px 6px 0;border-radius:8px;background:var(--otps-accent-dark);color:#fff!important;font-weight:800;font-size:12px;text-decoration:none!important}
body.otps-ready .otm .otps-guide-secondary{background:#fff;color:var(--otps-accent-dark)!important;border:1px solid var(--otps-accent)}
body.otps-ready .otm .otps-finished{font:600 12px/1.6 Nunito,system-ui,sans-serif;color:#314e58}
body.otps-ready .otm .otps-finished strong{display:block;font-size:14px;color:#183b48;margin-bottom:8px}
body.otps-ready .otm .otps-finished button{padding:8px 10px;background:none;border:0;color:var(--otps-accent-dark);font-weight:800;cursor:pointer}
body.otps-ready .otm .otps-question-foot small{font-size:10px;max-width:190px;line-height:1.45}
body.otps-ready .otm .otps-note{font-size:11px}

/* 1.1.0: the Hub's picker. Each tile carries the Hub's own type colour (--otps-type), avatar and epithet. */
body.otps-ready .otm .otps-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body.otps-ready .otm .otps-choice{text-decoration:none!important;border:1px solid #e2dfd6;background:#fff;border-radius:12px;padding:8px 3px 9px;gap:2px;color:#30354b!important;text-align:center;line-height:1.25}
body.otps-ready .otm .otps-choice img{width:52px;height:52px;object-fit:contain;border:0;border-radius:0;background:none}
body.otps-ready .otm .otps-choice strong{font:800 13px/1.3 Nunito,system-ui,sans-serif;color:var(--otps-type,#30354b)}
body.otps-ready .otm .otps-choice span{font:600 10.5px/1.25 Nunito,system-ui,sans-serif;color:#4d5563}
body.otps-ready .otm .otps-choice:hover,body.otps-ready .otm .otps-choice:focus-visible,body.otps-ready .otm .otps-choice[aria-current="true"]{background:var(--otps-type-light,#eaf2e5);border-color:var(--otps-type,#78977a)}
body.otps-ready .otm .otps-choice:focus-visible{outline:3px solid var(--otps-type,#4a96ac);outline-offset:2px}
body.otps-ready .otm .otps-current>a{color:var(--otps-accent-dark);font:800 12px Nunito,system-ui,sans-serif;text-decoration:underline;padding:8px 4px}
body.otps-ready .otm .otps-current{margin-bottom:10px}
body.otps-ready .otm .otps-quiz{border-top:1px solid #e3ece9;padding:12px 0 6px;margin-top:4px}
body.otps-ready .otm .otps-quiz>p,body.otps-ready .otm .otps-finished p{margin:6px 0 10px;font-size:12px;line-height:1.5;color:#314e58}
body.otps-ready .otm .otps-quiz-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
body.otps-ready .otm .otps-quiz-head strong{font-size:14px;color:#23414c}
body.otps-ready .otm .otps-quiz-head small{font-size:11px;color:#4f666e}
body.otps-ready .otm .otps-cta{display:flex;justify-content:center;align-items:center;width:100%;min-height:40px;border:0;border-radius:9px;background:var(--otps-accent-dark);color:#fff!important;font:800 12px Nunito,system-ui,sans-serif;text-decoration:none!important;cursor:pointer;padding:10px 12px}
body.otps-ready .otm .otps-cta:hover{background:var(--otps-accent)}
body.otps-ready .otm .otps-quiet{display:block;margin:6px auto 0;border:0;background:none;color:#435e66;text-decoration:underline;cursor:pointer;font:700 11px Nunito,system-ui,sans-serif;padding:6px}
body.otps-ready .otm .otps-quiz .otps-question{background:var(--otps-pale);border:1px solid #d9e8e2;border-radius:11px;padding:12px}
body.otps-ready .otm .otps-question-foot button{font-weight:800}
@media(max-width:440px){body.otps-ready .otm .otps-choice img{width:42px;height:42px}body.otps-ready .otm .otps-choice span{font-size:10px}}
@media(max-width:440px){body.otps-ready .otm [data-ontype-profile-menu] .otps-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}body.otps-ready .otm [data-ontype-profile-menu] .otm-profile-panel{max-height:calc(100dvh - var(--otps-mobile-top,72px) - 12px)}body.otps-ready .otm .otps-choice{padding:6px 2px 7px}}
