:root{
  --purple:#8615a6;--purple2:#a42ab6;--purple-soft:#f5edfb;--purple-faint:#fbf8fe;
  --navy:#14264d;--ink:#26324d;--muted:#69748d;--line:#e9e6f0;--line2:#ded7e8;
  --white:#fff;--bg:#fbfbfd;--blue:#2f8bd8;--teal:#18a6a4;--pink:#c5277d;--green:#2f9b72;
  --shadow:0 14px 36px rgba(55,42,90,.07)
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
button,input,select,textarea{font:inherit}.shell{min-height:100vh}.topbar{height:94px;background:#fff;border-bottom:1px solid #eeeaf4;display:flex;align-items:center;justify-content:space-between;padding:0 3.6vw;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:18px}.brand img{width:104px;height:76px;object-fit:contain}.brand-title{font-size:28px;font-weight:850;letter-spacing:.02em;color:var(--navy);line-height:1}.brand-tag{font-size:14px;color:var(--purple);font-weight:700;margin-top:7px}.nav{display:flex;align-items:center;gap:38px;color:#39445c;font-size:15px}.nav a{color:inherit;text-decoration:none}.nav .active{color:var(--purple);font-weight:700}.nav .dash{border:1px solid #caa7df;border-radius:10px;padding:12px 18px;color:var(--purple);background:#fff}
.hero{background:radial-gradient(circle at 88% 50%,rgba(149,81,196,.08),transparent 28%),linear-gradient(108deg,#fff 0%,#f8f5ff 62%,#fcfbff 100%);border-bottom:1px solid #ede8f5;padding:46px 3.8vw 30px}.hero-grid{max-width:1420px;margin:auto;display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center}.hero h1{font-size:48px;line-height:1.08;letter-spacing:-.035em;color:var(--navy);margin:0 0 18px;max-width:780px}.hero p{font-size:19px;line-height:1.55;color:#46516a;max-width:780px}.benefits{display:flex;gap:50px;margin-top:26px;flex-wrap:wrap}.benefit{display:flex;gap:12px;align-items:center;color:#344058;font-size:15px}.benefit i{font-style:normal;color:var(--purple);font-size:24px}.about-card{background:rgba(255,255,255,.93);border:1px solid #ece7f2;border-radius:14px;padding:28px 30px;box-shadow:var(--shadow)}.about-card h3{margin:0 0 16px;color:var(--purple);font-size:19px}.about-card p{font-size:15px;line-height:1.55;margin:0 0 18px}.linkish{color:var(--purple);font-weight:750;font-size:15px}
.stepbar{background:#fff;border-bottom:1px solid #ede8f3;padding:20px 3.8vw}.step-inner{max-width:1420px;margin:auto;display:grid;grid-template-columns:repeat(5,1fr);gap:24px}.step{display:flex;gap:16px;align-items:center;position:relative;cursor:pointer}.step:not(:last-child):after{content:"";height:1px;background:#dcd7e5;position:absolute;right:-12px;width:22px;top:21px}.step-num{width:42px;height:42px;border-radius:50%;border:1px solid #d9d5e3;display:grid;place-items:center;color:#596176;background:#fff;font-weight:700}.step.active .step-num,.step.done .step-num{background:var(--purple);border-color:var(--purple);color:#fff}.step-title{font-size:14px;font-weight:800;color:var(--navy)}.step.active .step-title{color:var(--purple)}.step-sub{font-size:13px;color:#7b8497;margin-top:3px}
.workspace{max-width:1420px;margin:0 auto;padding:20px 3.2vw 95px;display:grid;grid-template-columns:minmax(0,1.75fr) minmax(310px,.9fr);gap:20px}.panel{background:#fff;border:1px solid #ece8f2;border-radius:14px;box-shadow:0 8px 24px rgba(55,42,90,.045)}.main-panel{padding:28px 30px}.section-heading{display:flex;gap:16px;align-items:flex-start;margin-bottom:24px}.section-icon{width:48px;height:48px;border-radius:12px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;font-size:25px}.section-heading h2{margin:0;color:var(--purple);font-size:22px}.section-heading p{margin:5px 0 0;color:var(--muted);font-size:14px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.field-card{border:1px solid var(--line);border-radius:12px;padding:18px;background:#fff}.field-card.full{grid-column:1/-1}.field-label{display:flex;align-items:center;gap:7px;color:var(--navy);font-size:14px;font-weight:800;margin-bottom:11px}.info{width:15px;height:15px;border:1px solid #7f8798;border-radius:50%;font-size:10px;display:inline-grid;place-items:center;color:#667084}.help{color:#7a8395;font-size:13px;line-height:1.45;margin-top:9px}.control{width:100%;border:1px solid #dcd8e5;border-radius:8px;padding:12px 13px;background:#fff;color:var(--navy);outline:none}.control:focus{border-color:#b982d0;box-shadow:0 0 0 3px rgba(134,21,166,.08)}textarea.control{min-height:105px;resize:vertical}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid #ded8e8;background:#fff;border-radius:8px;padding:9px 11px;color:#4f5870;cursor:pointer;font-size:13px}.chip.selected{background:#efe5fa;color:var(--purple);border-color:#dac1ea;font-weight:700}.stage-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.stage-choice{border:1px solid #e3deea;border-radius:9px;padding:11px 9px;background:#fff;cursor:pointer;text-align:left;font-size:12px;line-height:1.25;color:#586179}.stage-choice b{display:block;color:var(--navy);font-size:12px;margin-bottom:4px}.stage-choice.selected{border:2px solid var(--purple);background:var(--purple-faint)}
.sidebar{padding:20px 22px;position:sticky;top:114px;height:max-content}.side-title{color:var(--purple);font-weight:850;font-size:17px;margin-bottom:18px}.journey{display:flex;align-items:center;justify-content:space-between;margin:4px 0 22px}.journey-node{text-align:center;flex:1;position:relative}.journey-node:not(:last-child):after{content:"";position:absolute;top:18px;left:63%;right:-37%;height:1px;background:#decce9}.journey-circle{width:38px;height:38px;margin:auto;border-radius:50%;display:grid;place-items:center;border:1px solid #cdb5dc;color:var(--purple);background:#fff;font-size:15px;position:relative;z-index:2}.journey-node.active .journey-circle{background:var(--purple);color:#fff}.journey-label{font-size:10px;margin-top:7px;color:#59627a}.divider{height:1px;background:#eee9f2;margin:18px 0}.domain{display:flex;gap:12px;align-items:flex-start;margin:14px 0}.domain-dot{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;flex:0 0 auto}.domain:nth-of-type(1) .domain-dot{background:var(--purple)}.domain:nth-of-type(2) .domain-dot{background:var(--blue)}.domain:nth-of-type(3) .domain-dot{background:var(--teal)}.domain:nth-of-type(4) .domain-dot{background:var(--pink)}.domain b{display:block;font-size:14px;margin-bottom:3px}.domain span{font-size:12px;color:#6b7489;line-height:1.35}
.bottom-nav{position:fixed;left:0;right:0;bottom:0;background:rgba(255,255,255,.97);border-top:1px solid #e9e5ef;padding:14px 3.8vw;display:flex;align-items:center;justify-content:space-between;z-index:30;backdrop-filter:blur(12px)}.btn{border-radius:9px;padding:12px 18px;border:1px solid #d8d2e2;background:#fff;color:#4a5369;font-weight:750;cursor:pointer}.btn.primary{background:linear-gradient(135deg,var(--purple),#941bb2);border-color:var(--purple);color:#fff}.btn.ghost{background:#f7f2fb;border-color:#f0e7f7;color:var(--purple)}.save-note{font-size:13px;color:#7b8496}
.subhead{margin:28px 0 14px;color:var(--navy);font-size:16px}.accountability-scan{border:1px solid var(--line);border-radius:12px;overflow:hidden}.pillar-head{padding:14px 16px;background:#faf7fd;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.pillar-head strong{color:var(--purple)}.scan-row{display:grid;grid-template-columns:minmax(220px,2fr) .55fr .65fr 1fr;gap:12px;align-items:center;padding:13px 16px;border-bottom:1px solid #f0edf4}.scan-row:last-child{border-bottom:0}.scan-row small{display:block;color:#7b8496;margin-top:3px;line-height:1.35}.mini-select{padding:9px 10px;border:1px solid #ddd7e5;border-radius:7px;width:100%;background:#fff}.toggle-open{cursor:pointer;color:var(--purple);font-weight:750;font-size:13px}.hidden{display:none!important}
.mix-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0 22px}.mix-card{border:1px solid var(--line);border-radius:12px;padding:16px;background:#fff}.mix-card .pct{font-size:32px;font-weight:900;color:var(--purple);margin:7px 0}.mix-card small{color:#778095}.risk{border-radius:10px;padding:14px 16px;margin:16px 0;background:#eef8f4;color:#267a5c}.risk.watch{background:#fff7e9;color:#8b621f}.risk.high{background:#fff0f2;color:#a33a4a}.result-table{width:100%;border-collapse:collapse;font-size:12px}.result-table th{background:#faf7fd;color:#5f3970;text-align:left;padding:10px;border-bottom:1px solid var(--line)}.result-table td{padding:10px;border-bottom:1px solid #eeeaf2;vertical-align:top}.result-table td small{display:block;color:#7b8496;margin-top:3px}.why{color:#6b4b77;line-height:1.35}.level-badge{display:inline-block;border-radius:999px;background:#f0e6f7;color:var(--purple);padding:4px 8px;font-weight:800}.profile{padding:10px 0}.profile-header{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid var(--purple);padding-bottom:15px;margin-bottom:22px}.profile-header img{width:74px}.profile h1{font-size:36px;color:var(--navy);margin:10px 0}.profile-meta{display:grid;grid-template-columns:180px 1fr;border:1px solid var(--line);border-radius:10px;overflow:hidden}.profile-meta div{padding:10px 12px;border-bottom:1px solid var(--line)}.profile-meta .k{font-weight:800;color:#5a3b66;background:#faf7fd}.profile section{margin-top:28px}.profile section h3{color:var(--navy);font-size:20px;border-bottom:1px solid var(--line);padding-bottom:8px}.print-actions{display:flex;gap:10px;justify-content:flex-end;margin-bottom:15px}
@media(max-width:1050px){.nav{display:none}.hero-grid,.workspace{grid-template-columns:1fr}.sidebar{position:static}.step-inner{grid-template-columns:1fr 1fr}.step:not(:last-child):after{display:none}.grid2,.grid3,.mix-cards{grid-template-columns:1fr}.stage-cards{grid-template-columns:1fr 1fr}.scan-row{grid-template-columns:1fr 1fr}.hero h1{font-size:40px}.brand-title{font-size:22px}.brand img{width:80px}}
@media(max-width:650px){.topbar{padding:0 14px;height:78px}.brand img{width:62px}.brand-title{font-size:18px}.brand-tag{font-size:11px}.hero{padding:30px 18px}.hero h1{font-size:34px}.hero p{font-size:16px}.benefits{gap:14px}.stepbar{padding:14px 18px}.step-inner{grid-template-columns:1fr}.workspace{padding:14px 14px 100px}.main-panel{padding:20px}.stage-cards{grid-template-columns:1fr}.scan-row{grid-template-columns:1fr}.save-note{display:none}}
@media print{.topbar,.hero,.stepbar,.sidebar,.bottom-nav,.no-print{display:none!important}.workspace{display:block;padding:0}.main-panel{border:0;box-shadow:none}.panel{border:0}.profile{padding:0}.profile h1{font-size:30px}}
.purpose-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.purpose-choice{border:1px solid #ded8e8;background:#fff;border-radius:10px;padding:14px;text-align:left;cursor:pointer;color:var(--navy)}.purpose-choice b{display:block;font-size:14px;margin-bottom:5px}.purpose-choice span{display:block;color:#737d91;font-size:12px;line-height:1.4}.purpose-choice.selected{border:2px solid var(--purple);background:var(--purple-faint)}.outcome-suggestions{margin-bottom:16px}.outcome-list{display:grid;gap:10px}.outcome-row{display:grid;grid-template-columns:34px 1fr 92px;gap:10px;align-items:center}.outcome-number{width:30px;height:30px;border-radius:50%;background:var(--purple-soft);color:var(--purple);font-weight:800;display:grid;place-items:center}.critical-check{font-size:12px;color:#5c6579;display:flex;align-items:center;gap:6px}.mini-select.descriptive{font-size:11px;line-height:1.3;min-height:58px}.scan-row{grid-template-columns:minmax(220px,1.35fr) minmax(280px,1.35fr) minmax(280px,1.35fr) minmax(180px,.8fr)}
@media(max-width:1050px){.purpose-grid{grid-template-columns:1fr}.outcome-row{grid-template-columns:34px 1fr}.critical-check{grid-column:2}}

/* How it works modal */
.link-button{background:none;border:0;padding:0;font:inherit;cursor:pointer;text-align:left}
.link-button:hover{text-decoration:underline}
.modal-open{overflow:hidden}
.modal-backdrop{position:fixed;inset:0;background:rgba(20,22,45,.48);display:flex;align-items:center;justify-content:center;padding:24px;z-index:9999}
.how-modal{position:relative;width:min(760px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:18px;padding:34px;box-shadow:0 24px 70px rgba(29,22,57,.25)}
.modal-close{position:absolute;top:16px;right:18px;border:0;background:transparent;font-size:30px;line-height:1;color:var(--navy);cursor:pointer}
.modal-kicker{font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--purple);margin-bottom:8px}
.how-modal h2{font-size:28px;line-height:1.15;margin:0 36px 12px 0;color:var(--navy)}
.how-modal>p{color:var(--muted);line-height:1.6;margin-bottom:22px}
.how-flow{display:grid;gap:10px;margin:18px 0}
.how-flow>div{border:1px solid var(--line);background:#faf9ff;border-radius:12px;padding:14px 16px}
.how-flow b{display:block;color:var(--navy);margin-bottom:4px}
.how-flow span{display:block;color:var(--muted);font-size:14px;line-height:1.45}
.algorithm-note{margin-top:18px;background:#f3efff;border-left:4px solid var(--purple);padding:14px 16px;border-radius:8px;color:var(--navy);font-size:14px;line-height:1.5}
.modal-done{margin-top:22px}
@media(max-width:640px){.how-modal{padding:26px 20px}.how-modal h2{font-size:23px}}

.role-family-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.level-choice-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.relevance-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.relevance-card{border:1px solid #e7e1f4;border-radius:12px;padding:13px;background:#fff;display:flex;flex-direction:column;gap:5px}
.relevance-card small,.all-account-grid span{color:#6c6680;font-size:12px}
.relevance-card em{font-size:11px;color:#6f36b6;font-style:normal;font-weight:700}
.relevance-tag{display:inline-flex;width:max-content;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;background:#eeeaf5;color:#574d69}
.relevance-tag.core{background:#eee4ff;color:#5c239d}.relevance-tag.contributing{background:#f4f0fa;color:#655a75}
.all-accountabilities{margin-top:16px;border-top:1px solid #eee8f5;padding-top:12px}.all-accountabilities summary{cursor:pointer;font-weight:750;color:#6530a5}
.all-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.all-account-grid div{padding:10px;border:1px solid #eee8f5;border-radius:9px;display:flex;flex-direction:column}
.smart-scan-intro{padding:12px 14px;background:#f7f3fc;border:1px solid #e8ddf5;border-radius:10px;margin-bottom:12px;display:flex;flex-direction:column;gap:3px}
.scan-row.role-aware{grid-template-columns:minmax(230px,1.1fr) minmax(260px,1.25fr) minmax(210px,.9fr)!important}
@media(max-width:1100px){.role-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.level-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scan-row.role-aware{grid-template-columns:1fr!important}}
@media(max-width:720px){.role-family-grid,.relevance-summary,.all-account-grid,.level-choice-grid{grid-template-columns:1fr}}

/* v6.1 adaptive Role Purpose */
.adaptive-role-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;margin-bottom:16px;border:1px solid #e8ddf5;border-radius:12px;background:#faf7fd}
.adaptive-role-banner>div{display:flex;flex-direction:column;gap:3px}
.adaptive-role-banner small{color:#7a718d;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.adaptive-role-banner b{font-size:16px;color:#18294d}
.adaptive-role-banner span{font-size:12px;color:#6c6680}
.adaptive-role-banner button{border:1px solid #d9c9eb;background:#fff;color:#6c2ba4;border-radius:9px;padding:8px 11px;font-weight:700;cursor:pointer}
.role-purpose-card{border:1px solid #e4deec;border-radius:16px;padding:22px;background:#fff}
.role-purpose-card h3{margin:0 0 6px;font-size:20px;color:#17284c}
.lead-help{margin:0 0 16px;color:#70758a}
.purpose-primary{margin-top:16px}
.outcome-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.outcome-list{display:grid;grid-template-columns:1fr;gap:8px}
@media(max-width:720px){.adaptive-role-banner{align-items:flex-start;flex-direction:column}.role-purpose-card{padding:16px}}

/* v7 taxonomy alignment */
.role-family-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.role-family-grid .purpose-choice{min-height:110px}
@media(max-width:1050px){.role-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.role-family-grid{grid-template-columns:1fr}}

.context-warning{display:block;margin-top:6px;color:#7a3aa6;font-style:normal;font-size:11px;font-weight:700}
.context-warning button{border:0;background:transparent;color:#7a3aa6;padding:0;margin-left:4px;text-decoration:underline;font-size:11px;font-weight:800;cursor:pointer}

/* v8 role-type-specific relevance */
.relevance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.relevance-card{min-height:108px}
.relevance-card em+em{margin-top:2px}

/* v9: distinguish organisational dependencies from role ownership */
.relevance-tag.dependency{background:#f3f4f6;color:#475569;border:1px solid #cbd5e1}
.relevance-card:has(.relevance-tag.dependency){background:#fbfcfe;border-style:dashed}
.all-accountabilities summary{font-weight:600;color:#6b21a8;cursor:pointer;padding:8px 0}

.missing-accountabilities{margin-top:18px;border-top:1px solid #eee8f5;padding-top:14px}
.missing-accountabilities summary{cursor:pointer;display:inline-flex;gap:6px;align-items:center;color:#6a6278;font-size:13px}
.missing-accountabilities summary b{color:#7628a8}
.missing-help{margin:10px 0 12px;color:#766f82;font-size:12px}
.accountability-option{width:100%;text-align:left;border:1px solid #eee8f5;background:#fff;border-radius:10px;padding:11px;display:flex;flex-direction:column;gap:3px;cursor:pointer}
.accountability-option:hover{border-color:#cfa9e4;background:#fbf8fd}
.accountability-option span{color:#6c6680;font-size:11px}
.accountability-option small{color:#7628a8;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}

/* v9.2 structured constraints */
.constraint-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.constraint-choice{border:1px solid #e2dbe9;background:#fff;border-radius:12px;padding:13px 14px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:5px;min-height:92px}
.constraint-choice b{color:#17284c;font-size:14px}
.constraint-choice span{color:#6f758a;font-size:12px;line-height:1.4}
.constraint-choice.selected{border:2px solid #8d1bb2;background:#fbf7fd}
@media(max-width:720px){.constraint-grid{grid-template-columns:1fr}}

/* v9.3 outcomes UX */
.selected-outcomes-box{margin-top:14px;border:1px solid #e6dfee;border-radius:12px;padding:13px;background:#fbf9fd}
.selected-outcomes-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;color:#18294d}
.selected-outcomes-head span{font-size:12px;color:#766f82}
.selected-outcome-list{display:flex;flex-wrap:wrap;gap:8px}
.selected-outcome{display:inline-flex;align-items:center;gap:8px;border:1px solid #cfa9e4;background:#fff;border-radius:999px;padding:8px 11px;color:#60218e;cursor:pointer}
.selected-outcome b{font-size:16px;line-height:1}
.empty-outcomes{font-size:12px;color:#81798c}
.custom-outcome-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px}
.add-outcome-btn{border:1px solid #8d1bb2;background:#8d1bb2;color:#fff;border-radius:9px;padding:0 16px;font-weight:800;cursor:pointer}
.outcome-limit{margin-top:7px;font-size:11px;color:#7a718d}
.outcome-suggestions .chip.selected{border-color:#8d1bb2;background:#f4eafa;color:#7a179e;font-weight:800}
@media(max-width:720px){.custom-outcome-row{grid-template-columns:1fr}.add-outcome-btn{padding:10px 14px}}

.financial-grid{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(220px,1.2fr);gap:10px;margin-top:10px}
@media(max-width:720px){.financial-grid{grid-template-columns:1fr}}

/* v9.5 multi-select financial accountability */
.financial-options{display:grid;gap:9px;margin-top:12px}
.financial-option{border:1px solid #ddd5e7;border-radius:11px;padding:11px 12px;background:#fff}
.financial-option.selected{border-color:#b84bd8;background:#fcf8fe}
.financial-check{display:flex;align-items:center;gap:9px;font-weight:750;color:#17294d;cursor:pointer}
.financial-check input{width:18px;height:18px;accent-color:#9418b8}
.financial-value{margin-top:10px}

/* v9.6 dedicated tool header */
.tool-topbar{justify-content:space-between}
.brand-link{text-decoration:none;color:inherit}
.tool-header-actions{display:flex;align-items:center;gap:18px}
.tool-name{font-weight:800;color:#18294d;font-size:15px}
.how-link{border:1px solid #d5b5e5;background:#fff;color:#8e18ae;border-radius:9px;padding:9px 13px;font-weight:750;cursor:pointer}
.how-link:hover{background:#faf5fc}
@media(max-width:720px){.tool-name{display:none}.tool-header-actions{gap:8px}.how-link{padding:8px 10px}}

/* v9.7 simplified tool header + fallback How it works modal */
.tool-header-actions{display:flex;align-items:center}
.modal.show{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center}
.modal-backdrop{position:absolute;inset:0;background:rgba(20,28,50,.38)}
.modal-card{position:relative;z-index:1;width:min(680px,calc(100vw - 32px));max-height:80vh;overflow:auto;background:#fff;border-radius:18px;padding:28px;box-shadow:0 20px 60px rgba(20,28,50,.18);color:#17284c}
.modal-card h2{margin-top:0;color:#7b1aa5}
.modal-card ol{padding-left:22px;line-height:1.6}
.modal-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:28px;cursor:pointer;color:#6f647b}

/* v9.8 balanced Scope & Authority layout */
.scope-balance-grid{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.scope-left-stack{display:grid;gap:16px}
.scope-right-financial .field-card{height:100%}
.scope-right-financial .financial-responsibility-card{margin:0}
@media(max-width:900px){.scope-balance-grid{grid-template-columns:1fr}}


.scan-class-section{margin-top:14px}.scan-class-head{display:flex;gap:10px;align-items:baseline;padding:10px 12px;background:#faf6fd;border:1px solid #eadcf2;border-radius:10px 10px 0 0}.scan-class-head strong{color:#8f18ad;font-size:14px}.scan-class-head span{font-size:12px;color:#69748b}.diagnostic-note{display:flex;flex-direction:column;gap:4px;margin:12px 0;padding:12px 14px;border:1px solid #e5d9ec;border-radius:10px;background:#fcf9fd;color:#566078;font-size:12px}.diagnostic-note b{color:#172d59}.field-explainer{display:block!important;margin-top:5px;color:#7a8397!important;font-size:10px!important}

.ownership-recommendation{display:flex;flex-direction:column;gap:4px;min-width:125px}
.recommendation-label{font-size:9px;font-weight:800;letter-spacing:.08em;color:#971bb5}
.ownership-recommendation small{font-size:9px;color:#7b8498;line-height:1.25}

.ownership-recommendation.read-only{align-items:flex-start}
.ownership-badge{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #d9cce3;border-radius:8px;background:#fff;color:#172d59;font-weight:700;white-space:nowrap}

.kpi-picker{display:flex;flex-direction:column;gap:8px}
.kpi-picker-sub{display:flex;flex-direction:column;gap:2px}.kpi-picker-sub b{font-size:12px;color:#172d59}.kpi-picker-sub span{font-size:10px;color:#788196;line-height:1.35}
.selected-kpis,.other-kpis{display:flex;flex-direction:column;gap:6px}
.selected-kpi,.other-kpi{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;border-radius:9px;padding:8px 10px;cursor:pointer;font-size:11px}
.selected-kpi{border:1px solid #c996dc;background:#faf4fc;color:#172d59}.selected-kpi em{font-style:normal;color:#8e18b3;font-weight:700;font-size:10px;white-space:nowrap}
.other-kpi{border:1px solid #ded7e5;background:#fff;color:#4f5870}.other-kpi em{font-style:normal;color:#8e18b3;font-weight:800;font-size:10px;white-space:nowrap}
.other-kpis-title{margin-top:3px;font-size:10px;font-weight:800;letter-spacing:.06em;color:#7b6d84;text-transform:uppercase}
.empty-kpi{font-size:11px;color:#858b9b;padding:7px 0}
.custom-kpi-add{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:2px}.custom-kpi-add .control{min-height:0;height:36px;padding:7px 9px}.btn.small{padding:7px 10px;font-size:11px}

/* v11.23 compact accountability outcome + KPI layout */
.kpi-accountability-card{padding:18px 16px;border-bottom:1px solid #e9e1ee}
.kpi-accountability-card:last-child{border-bottom:0}
.kpi-top-row{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(340px,1.28fr);gap:22px;align-items:start}
.kpi-accountability-info b{display:block;font-size:16px;color:#172d59;line-height:1.18}.kpi-accountability-info small{display:block;margin-top:5px;color:#737d94;line-height:1.35}
.compact-outcome{min-height:82px!important;height:82px;resize:vertical}
.kpi-success-row{margin-top:14px;padding-top:13px;border-top:1px solid #eee7f2}
.selected-kpi-chips,.other-kpi-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}
.selected-kpi-chip,.other-kpi-chip{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:7px 10px;font-size:11px;line-height:1.15;cursor:pointer;text-align:left}
.selected-kpi-chip{border:1px solid #c986dc;background:#faf4fc;color:#172d59}.selected-kpi-chip em{font-style:normal;color:#9719b6;font-weight:900;font-size:14px}
.other-kpi-chip{border:1px solid #ddd5e3;background:#fff;color:#505a72}.other-kpi-chip em{font-style:normal;color:#9719b6;font-weight:900;font-size:14px}
.compact-custom{max-width:620px;margin-top:10px}
@media(max-width:800px){.kpi-top-row{grid-template-columns:1fr}.compact-outcome{height:auto;min-height:90px!important}}

/* v11.24: agreed role level is a read-only diagnostic result, not an editable control */
.role-level-summary{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:175px}
.role-level-value{display:inline-flex;align-items:center;gap:7px;padding:2px 0;color:#172d59}
.role-level-value span{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#f0def6;color:#8f18ad;font-size:11px;font-weight:900}
.role-level-value b{font-size:14px;line-height:1.2}
.role-level-summary small{font-size:10px;line-height:1.3;color:#788196}
.change-role-level{border:0;background:transparent;padding:0;color:#8f18ad;font-size:10px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.change-role-level:hover{color:#64107c}

/* v11.27 — completed profile first, next steps only at the true end */
.final-next-actions{margin-top:42px;padding-top:28px;border-top:2px solid var(--line);background:linear-gradient(180deg,rgba(249,246,253,.7),rgba(255,255,255,.95));}
.final-next-actions .next-actions-kicker{color:var(--purple);font-size:11px;font-weight:900;letter-spacing:.12em;margin-bottom:6px;}
.final-next-actions h3{margin:0 0 6px;font-size:22px;}
.final-next-actions .help{margin:0 0 18px;max-width:760px;}
.final-next-actions .next-action-grid{display:flex;flex-wrap:wrap;gap:10px;}
.final-next-actions .next-action-grid .btn{width:auto;min-height:44px;padding:10px 16px;font-size:14px;}

/* v11.31 company website enrichment */
.company-domain-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.company-fill-btn{height:42px;white-space:nowrap}
.company-enrichment-status{margin-top:7px;font-size:10.5px;line-height:1.35;color:#6f798f}
.company-enrichment-status.done{color:#426b55}
.company-enrichment-status.error{color:#9d3d4a}
.company-enrichment-status.error button{border:0;background:none;padding:0;color:#8f18ad;font-weight:800;cursor:pointer;text-decoration:underline}
.company-enrichment-status.loading{display:flex;align-items:center;gap:7px}
.company-spinner{width:12px;height:12px;border:2px solid #e2d5e8;border-top-color:#8f18ad;border-radius:50%;animation:companySpin .8s linear infinite}
@keyframes companySpin{to{transform:rotate(360deg)}}
@media(max-width:700px){.company-domain-row{grid-template-columns:1fr}.company-fill-btn{width:max-content}}

/* v11.33 — compact opening fields in Business Context */
.business-context-identity{
  align-items:start;
  gap:18px 28px;
}
.business-context-identity > .field-card{
  min-height:0;
  height:auto;
  align-self:start;
}
.business-context-identity > .role-title-card{
  grid-column:1 / -1;
}
.business-context-identity > .role-title-card .help{
  max-width:900px;
  margin-bottom:10px;
}
.business-context-identity > .role-title-card .control{
  max-width:640px;
}
@media (max-width:800px){
  .business-context-identity > .role-title-card{grid-column:auto}
  .business-context-identity > .role-title-card .control{max-width:none}
}

/* v11.34 — use the full page width for the role-title field */
.business-context-identity > .role-title-card{
  grid-column:1 / -1 !important;
  width:100%;
}
.business-context-identity > .role-title-card .help{
  max-width:none !important;
}
.business-context-identity > .role-title-card .control{
  max-width:none !important;
  width:100% !important;
}


/* v11.37 — introduce the complete 20-accountability framework without adding form burden */
.framework-intro{
  margin: 0 0 18px;
  border: 1px solid #e8def0;
  border-radius: 16px;
  background: linear-gradient(180deg,#fbf8fe 0%,#fff 100%);
  overflow: hidden;
}
.framework-intro-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:20px 22px;
}
.framework-kicker{
  color:#9715b5;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  margin-bottom:5px;
}
.framework-intro h3{
  margin:0 0 6px;
  color:#152b56;
  font-size:20px;
}
.framework-intro p{
  margin:0;
  max-width:850px;
  color:#66738d;
  line-height:1.45;
}
.framework-toggle{
  flex:0 0 auto;
  border:1px solid #cda9dc;
  background:#fff;
  color:#8f16ad;
  border-radius:10px;
  padding:11px 15px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.framework-toggle:hover{background:#faf4fd}
.framework-detail{
  display:none;
  padding:0 22px 22px;
  border-top:1px solid #eee5f3;
}
.framework-intro.open .framework-detail{display:block}
.framework-domain-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding-top:16px;
}
.framework-domain-card{
  position:relative;
  border:1px solid #e8def0;
  border-radius:12px;
  background:#fff;
  padding:16px 16px 14px 50px;
}
.framework-domain-number{
  position:absolute;
  left:14px;
  top:15px;
  width:26px;
  height:26px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f3e7f8;
  color:#9615b5;
  font-weight:800;
}
.framework-domain-title{
  color:#172b53;
  font-weight:800;
  margin-bottom:3px;
}
.framework-domain-definition{
  color:#758096;
  font-size:12px;
  line-height:1.35;
  margin-bottom:10px;
}
.framework-accountability-list{
  display:grid;
  gap:5px;
}
.framework-accountability-list div{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:5px;
  color:#34415f;
  font-size:13px;
  line-height:1.3;
}
.framework-accountability-list b{color:#9516b4}
.framework-note{
  margin-top:14px;
  padding:12px 14px;
  border-left:3px solid #a91dc2;
  background:#faf6fc;
  color:#59657e;
  font-size:13px;
  line-height:1.45;
}
@media(max-width:900px){
  .framework-intro-head{align-items:flex-start;flex-direction:column}
  .framework-domain-grid{grid-template-columns:1fr}
}

/* v11.38 — richer definitions inside the expandable 20-accountability framework */
.framework-accountability-list{
  gap:8px;
}
.framework-accountability-list .framework-accountability-item{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:7px;
  align-items:start;
  padding-top:7px;
  border-top:1px solid #f0eaf3;
}
.framework-accountability-list .framework-accountability-item:first-child{
  border-top:0;
  padding-top:0;
}
.framework-accountability-item > b{
  color:#9516b4;
  font-size:12px;
  line-height:1.35;
}
.framework-accountability-item > span{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.framework-accountability-item strong{
  color:#34415f;
  font-size:12.5px;
  line-height:1.3;
}
.framework-accountability-item small{
  color:#778198;
  font-size:11px;
  line-height:1.35;
}
.framework-learn-more{
  margin-top:8px;
}
.framework-learn-more a{
  color:#8f16ad;
  font-weight:800;
  text-decoration:none;
}
.framework-learn-more a:hover{
  text-decoration:underline;
}

/* v11.39 — make the five stages explicitly a Servitisation Maturity Journey */
.servitisation-stage-card .field-label{font-size:18px}
.servitisation-stage-card>.help{max-width:1100px;margin:5px 0 15px}
.servitisation-stage-card .stage-choice{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  min-height:185px;
}
.servitisation-stage-card .stage-choice b{margin-bottom:8px}
.servitisation-stage-card .stage-summary{
  display:block;
  color:#59657e;
  font-size:13px;
  line-height:1.4;
}
.servitisation-stage-card .stage-cue{
  display:block;
  margin-top:auto;
  padding-top:11px;
  color:#7c6688;
  font-size:10.5px;
  line-height:1.35;
  font-weight:700;
}
.servitisation-stage-card .stage-choice.selected .stage-cue{color:#8d19aa}
.stage-guidance{
  margin-top:12px;
  padding:10px 12px;
  background:#faf7fc;
  border-left:3px solid #9b18b8;
  border-radius:4px;
  color:#626e86;
  font-size:12.5px;
  line-height:1.4;
}

/* v11.40 — Dag feedback */
.percent-input-wrap{position:relative}
.percent-input-wrap .control{padding-right:42px}
.percent-input-wrap>span{position:absolute;right:15px;top:50%;transform:translateY(-50%);font-weight:800;color:#8f16ad}
.focused-plan-card{max-width:620px}
.focused-plan-price{font-size:30px;font-weight:850;color:#172b53;margin:8px 0 2px}
.focused-plan-price small{font-size:13px;color:#6f7890;font-weight:700}
.focused-plan-list{margin:18px 0;padding-left:22px;color:#4e5b75;line-height:1.7}
.focused-plan-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.focused-all-plans{margin-top:14px;border:0;background:transparent;color:#9418b1;font-weight:800;cursor:pointer;padding:4px 0}

/* v11.41 — occupational relevance gate */
.occupation-gate-note{margin:12px 0 15px;padding:11px 13px;border-left:3px solid #9b18b8;background:#faf7fc;border-radius:4px;color:#5f6b83;font-size:12.5px;line-height:1.45}
.occupation-gate-note b{color:#172b53}

/* v11.42 — resilient company enrichment */
.company-enrichment-status.needs-review{color:#725a20;background:#fffaf0;border:1px solid #ead8a6;padding:8px 10px;border-radius:7px}
.company-enrichment-status.needs-review button{border:0;background:transparent;color:#8f16ad;font-weight:800;cursor:pointer;text-decoration:underline}


/* v11.52 — align Scope & Authority capability-field typography */
.scan-row > div > small:first-child{
  font-size:12px;
  line-height:1.35;
  font-weight:700;
  color:#5f687c;
  margin:0 0 6px;
}
.scan-row .mini-select{
  font-size:12px;
  line-height:1.3;
  min-height:42px;
}
.scan-row .field-explainer{
  font-size:10px!important;
  line-height:1.35;
  font-weight:400;
  margin-top:5px;
  color:#7a8397!important;
}


/* v11.53 — align accountability mix cards */
.mix-cards{
  align-items:stretch;
}
.mix-card{
  display:grid;
  grid-template-rows:minmax(76px,auto) 62px minmax(58px,auto);
  align-content:start;
}
.mix-card > b,
.mix-card > strong{
  align-self:start;
  margin:0;
}
.mix-card .pct{
  align-self:start;
  margin:0;
  line-height:1;
  display:flex;
  align-items:flex-start;
}
.mix-card small{
  align-self:start;
  margin:0;
  line-height:1.35;
}


/* v11.54 — tighten accountability mix cards while preserving alignment */
.mix-card{
  grid-template-rows:minmax(58px,auto) 52px minmax(44px,auto);
  padding:16px 18px;
}
.mix-card .pct{
  margin-top:2px;
}
.mix-card small{
  margin-top:2px;
}


/* v11.56 — rebalance Diagnostic Results table */
.result-table-wrap{overflow:auto}
.diagnostic-results-table{table-layout:fixed;min-width:1180px}
.diagnostic-results-table .col-accountability{width:16%}
.diagnostic-results-table .col-org-today{width:10%}
.diagnostic-results-table .col-org-target{width:10%}
.diagnostic-results-table .col-gap{width:10%}
.diagnostic-results-table .col-role-accountability{width:31%}
.diagnostic-results-table .col-why{width:23%}
.diagnostic-results-table th,
.diagnostic-results-table td{padding:14px 16px}
.diagnostic-results-table td:nth-child(2),
.diagnostic-results-table td:nth-child(3),
.diagnostic-results-table td:nth-child(4){
  text-align:left;
}
.diagnostic-results-table .role-level-summary{
  max-width:100%;
}
.diagnostic-results-table .role-level-summary small{
  max-width:520px;
  line-height:1.45;
}
.why-list{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:7px;
  color:#6b4b77;
  line-height:1.35;
}
.why-list li{padding-left:2px}
@media(max-width:1200px){
  .diagnostic-results-table{min-width:1100px}
}


/* v11.57 — keep all Diagnostic Results columns visible on desktop */
.diagnostic-results-table{
  table-layout:fixed;
  width:100%;
  min-width:0;
}
.diagnostic-results-table .col-accountability{width:18%}
.diagnostic-results-table .col-org-today{width:9%}
.diagnostic-results-table .col-org-target{width:9%}
.diagnostic-results-table .col-gap{width:8%}
.diagnostic-results-table .col-role-accountability{width:31%}
.diagnostic-results-table .col-why{width:25%}

.diagnostic-results-table th,
.diagnostic-results-table td{
  padding:13px 14px;
  overflow-wrap:anywhere;
  word-break:normal;
}

.diagnostic-results-table .role-level-summary small{
  max-width:none;
  line-height:1.42;
}

.diagnostic-results-table .why{
  white-space:normal;
}

.why-list{
  padding-left:16px;
  gap:6px;
  font-size:11px;
}

@media(max-width:1150px){
  .diagnostic-results-table{
    min-width:980px;
  }
}


/* v11.67 — separate organisation and position-holder capability columns */
.diagnostic-results-table .capability-number{
  text-align:center;
  vertical-align:top;
  padding-top:16px;
}
.diagnostic-results-table .capability-number b{
  display:block;
  font-size:20px;
  line-height:1;
  color:#172a54;
  margin-bottom:6px;
}
.diagnostic-results-table .capability-number.person b{
  color:#9516b5;
}
.diagnostic-results-table .capability-number small{
  display:block;
  margin:0;
  color:#7a8498;
  font-size:10px;
  line-height:1.2;
}
.diagnostic-results-table th:nth-child(2),
.diagnostic-results-table th:nth-child(3){
  text-align:center;
}


/* v11.68 — recommended outcome typography */
.compact-outcome{
  font-size:18px!important;
  line-height:1.35!important;
  font-weight:500;
  color:#172a54;
  padding:14px 16px;
}


/* v11.69 — test 16px recommended outcome treatment */
.compact-outcome{
  font-size:16px!important;
  line-height:1.4!important;
  font-weight:500!important;
  min-height:88px!important;
  height:88px!important;
  padding:12px 14px!important;
}

/* v11.84 — align ownership guidance with existing application helper typography */
#role-specific-refinement.smart-scan-intro{font-size:12px;color:#566078}
#role-specific-refinement.smart-scan-intro>b{color:#172d59;font-size:12px;font-weight:700}
#role-specific-refinement.smart-scan-intro>span{font-size:12px;line-height:1.45}

/* v11.88 recovery controls */
.bottom-save-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.restore-profile-btn{white-space:nowrap}

/* v11.90 — rebalance Diagnostic Results columns */
.diagnostic-results-table .col-accountability{width:14%}
.diagnostic-results-table .col-org-today{width:11%}
.diagnostic-results-table .col-org-target{width:11%}
.diagnostic-results-table .col-role-accountability{width:36%}
.diagnostic-results-table .col-why{width:28%}
.diagnostic-results-table th,
.diagnostic-results-table td{overflow-wrap:normal;word-break:normal}

/* v11.91 — centre capability column headings */
.diagnostic-results-table th:nth-child(2),
.diagnostic-results-table th:nth-child(3){
  text-align:center;
  vertical-align:middle;
}

/* v11.93 — centre Diagnostic Results headers and capability values */
.diagnostic-results-table thead th{
  text-align:center;
  vertical-align:middle;
}
.diagnostic-results-table td.capability-number{
  text-align:center;
  vertical-align:top;
}

/* v11.94 — force true centring within the actual Diagnostic Results columns */
.diagnostic-results-table thead th{
  text-align:center!important;
  vertical-align:middle!important;
}
.diagnostic-results-table tbody td.capability-number,
.diagnostic-results-table tbody td.capability-number.person{
  text-align:center!important;
}
.diagnostic-results-table tbody td.capability-number>b{
  display:block;
  width:100%;
  text-align:center!important;
  margin-left:auto;
  margin-right:auto;
}

/* v11.95 — hard-centre Diagnostic Results headers to their actual column boxes */
.diagnostic-results-table thead th{
  padding-left:0!important;
  padding-right:0!important;
}
.diagnostic-results-table .diag-head{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center!important;
  line-height:1.2;
  min-height:54px;
  padding:0 8px;
  box-sizing:border-box;
}
.diagnostic-results-table tbody td.capability-number{
  padding-left:0!important;
  padding-right:0!important;
}
.diagnostic-results-table tbody td.capability-number>b{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:center;
  text-align:center!important;
}

/* v11.97 — simplified family KPI selection */
.family-kpi-panel{border:1px solid #e7dced;border-radius:18px;padding:24px;background:#fff;margin-top:16px}
.family-kpi-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}
.family-kpi-heading h3{margin:4px 0 8px;color:#172b55}
.family-kpi-count{white-space:nowrap;font-weight:800;color:#9220b8;background:#faf5fc;border:1px solid #eadcf0;border-radius:999px;padding:8px 12px}
.family-kpi-selected{margin:18px 0;padding:16px;background:#faf7fc;border-radius:14px}
.family-kpi-selected>b{display:block;margin-bottom:10px;color:#172b55}
.kpi-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.kpi-option{display:grid;grid-template-columns:34px 1fr 24px;gap:10px;align-items:center;text-align:left;border:1px solid #dfd5e6;background:#fff;border-radius:12px;padding:13px 14px;font:inherit;color:#33415f;cursor:pointer}
.kpi-option:hover{border-color:#b84bd4;background:#fcf8fd}.kpi-option.selected{border:2px solid #9b1dbb;background:#fbf5fd;color:#172b55}.kpi-option:disabled{opacity:.45;cursor:not-allowed}
.kpi-rank{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#f5edf8;color:#9220b8;font-weight:800}
.custom-kpi-row{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:18px}
.profile-kpi-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.profile-kpi-item{border:1px solid #e6dce9;border-radius:10px;padding:12px 14px;font-weight:700;color:#172b55;background:#fcf9fd}
@media(max-width:800px){.kpi-option-grid,.profile-kpi-list{grid-template-columns:1fr}.family-kpi-heading{display:block}.family-kpi-count{display:inline-block;margin-top:8px}}

/* v11.98 — simple KPI cards, consistent with earlier selection sections */
.simple-kpi-panel .family-kpi-heading{margin-bottom:18px}
.simple-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.simple-kpi-card{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;border:1px solid #ddd4e5;background:#fff;border-radius:15px;padding:18px 22px;font:inherit;font-size:18px;color:#172b55;cursor:pointer}
.simple-kpi-card:hover{border-color:#b54bd0;background:#fcf9fd}
.simple-kpi-card.selected{border:3px solid #9b1dbb;background:#fbf5fd;font-weight:700}
.simple-kpi-card.selected b{font-size:22px}
.simple-kpi-card:disabled{opacity:.42;cursor:not-allowed}
@media(max-width:800px){.simple-kpi-grid{grid-template-columns:1fr}}

/* v11.99 — KPI selector mirrors Service Business Model pill controls */
.simple-kpi-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px 14px;
}
.simple-kpi-card{
  min-height:0;
  width:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #ddd4e5;
  background:#fff;
  border-radius:14px;
  padding:12px 20px;
  font:inherit;
  font-size:17px;
  font-weight:500;
  line-height:1.25;
  color:#4f5d79;
  cursor:pointer;
}
.simple-kpi-card:hover{
  border-color:#c98ddd;
  background:#fcf9fd;
}
.simple-kpi-card.selected{
  border:1px solid #d8afe7;
  background:#f4e8f8;
  color:#941bb5;
  font-weight:700;
}
.simple-kpi-card:disabled{
  opacity:.45;
  cursor:not-allowed;
}
@media(max-width:800px){
  .simple-kpi-grid{display:flex}
}

/* v12.00 — KPI pills reuse the exact Service Business Model option component.
   No independent KPI sizing/typography/padding/radius. */
.simple-kpi-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px 14px;
}
.simple-kpi-card{
  width:auto;
}
/* selected-state compatibility when KPI logic uses .selected */

/* v12.01 — exact existing Business Model chip presentation */
.simple-kpi-grid{
  display:flex;
  flex-wrap:wrap;
  gap:0;
}
.simple-kpi-grid .simple-kpi-card{
  width:auto;
  min-height:unset;
  margin:0;
}
/* Do not grey out the remaining choices at five; retain the same visual language.
   The click handler still enforces the five-selection maximum. */
.simple-kpi-grid .simple-kpi-card:disabled{
  opacity:1;
  color:inherit;
}

/* v12.03 — KPI options intentionally use ONLY the existing .chips / .chip component.
   No KPI-specific button font, padding, height, border or radius overrides. */
.family-kpi-panel .chips{margin-top:18px}

/* v12.04 — simple per-accountability KPI selectors */
.simple-accountability-kpis{padding:18px 20px}
.simple-accountability-kpis .kpi-accountability-info{margin-bottom:10px}
.simple-accountability-kpis .recommended-field-label{margin-top:8px}
.simple-accountability-kpis .chips{margin-top:10px}
.simple-accountability-kpis .custom-kpi-row{margin-top:12px}

/* v12.09 — competency-specific Can Do proficiency model */
.sw-clevel.can-do-level{align-items:flex-start}
.sw-clevel.can-do-level select{max-width:68%;font-size:12px;line-height:1.35}
.sw-can-do{margin-top:10px;padding:11px 12px;border-radius:10px;background:#faf7fc;border-left:3px solid #9a1db8;color:#4f5d79;font-size:12.5px;line-height:1.45}
.sw-can-do b{display:block;color:#941bb5;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
.sw-can-do span{display:block}

/* v12.18 — align final Role Profile accountability rows and clarify KPI lists */
.profile-accountability-table{table-layout:fixed}
.profile-accountability-table th,
.profile-accountability-table td{vertical-align:top}
.profile-accountability-table th{padding-top:10px;padding-bottom:10px}
.profile-accountability-table tbody tr:not(.profile-group-row)>td{padding-top:11px;padding-bottom:11px}
.profile-accountability-table .level-badge{margin-top:0;line-height:1.2}
.profile-kpi-bullets{margin:0;padding:0 0 0 18px;list-style-position:outside;line-height:1.35}
.profile-kpi-bullets li{margin:0 0 2px;padding-left:2px}
.profile-kpi-bullets li::marker{color:var(--purple)}

/* v12.19 — KPI completeness safeguards */
.kpi-completeness-warning,.profile-completeness-warning{
  margin:12px 0 16px;
  padding:11px 14px;
  border-left:4px solid var(--purple);
  background:#faf6fd;
  color:#536078;
  font-size:12px;
  line-height:1.45;
}
.kpi-completeness-warning b,.profile-completeness-warning b{color:#162d59}
.profile-kpi-missing{color:#9a7aa7;font-style:italic}

/* v12.21 — compact accountability mix cards */
.mix-cards{margin:10px 0 14px;gap:10px}
.mix-card{padding:12px 14px;min-height:0}
.mix-card .pct{margin:5px 0 0;line-height:1}

/* v12.22 — remove remaining empty space beneath accountability mix percentages */
.mix-card{
  padding:10px 14px 9px;
  height:auto !important;
  min-height:0 !important;
  align-self:start;
}
.mix-card .pct{
  margin:8px 0 0;
  line-height:.95;
}

/* v12.23 — compact and centre accountability mix cards */
.mix-cards{
  align-items:start;
}
.mix-card{
  padding:12px 14px 10px !important;
  height:auto !important;
  min-height:0 !important;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}
.mix-card h3,
.mix-card .title{
  width:100%;
  margin:0 !important;
  text-align:center !important;
  line-height:1.15;
}
.mix-card .pct{
  width:100%;
  margin:10px 0 0 !important;
  padding:0 !important;
  text-align:center !important;
  line-height:.9 !important;
}

/* v12.24 — align all accountability mix percentages horizontally */
.mix-card{
  display:grid !important;
  grid-template-rows: 3.45em auto;
  align-content:start;
  justify-items:center;
}
.mix-card h3,
.mix-card .title{
  align-self:start;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.mix-card .pct{
  align-self:start;
  margin:8px 0 0 !important;
}

/* v12.25 — true horizontal centring of accountability mix percentages */
.mix-card{
  grid-template-columns: 1fr !important;
}
.mix-card .pct{
  display:block !important;
  width:100% !important;
  justify-self:stretch !important;
  text-align:center !important;
  margin-left:0 !important;
  margin-right:0 !important;
  transform:none !important;
}

/* v12.26 — centre final Role Profile table headings within their columns */
.profile-accountability-table thead th{
  text-align:center !important;
}

/* v12.27 — Role Profile Performance Review */
.performance-review-sheet{max-width:1180px}
.performance-review-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}
.performance-review-meta label,.performance-input-grid label,.performance-summary label{font-weight:700;color:#243556}
.performance-review-meta input,.performance-input-grid select,.performance-input-grid textarea,.performance-summary textarea{width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #ddd5e6;border-radius:10px;padding:11px 12px;font:inherit;color:#172d59;background:#fff}
.performance-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:18px 0}
.performance-scale>div{border:1px solid #e4dce9;border-radius:12px;padding:12px;background:#fbf8fd}
.performance-scale b{display:block;color:#9718b8;font-size:24px}.performance-scale span{display:block;font-weight:800;color:#172d59;margin:3px 0}.performance-scale small{display:block;color:#747d93;line-height:1.35}
.performance-score-card{display:flex;align-items:baseline;gap:10px;padding:14px 18px;border-left:4px solid #9718b8;background:#faf6fc;margin:18px 0 26px}.performance-score-card span{font-weight:800;color:#172d59}.performance-score-card strong{font-size:30px;color:#9718b8}.performance-score-card small{color:#747d93}
.performance-group{margin:26px 0}.performance-group-head{padding:12px 16px;border-left:4px solid #9718b8;background:#faf7fc}.performance-group-head h2{margin:0;color:#9718b8;font-size:17px;letter-spacing:.05em}.performance-group-head p{margin:4px 0 0;color:#747d93}
.performance-item{padding:20px 4px;border-bottom:1px solid #e7e1eb}.performance-item-title{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.performance-item-title h3{margin:0;color:#172d59}.performance-item-title p{margin:5px 0;color:#747d93}.performance-kpis{margin:12px 0;padding:10px 14px;background:#faf8fc;border-radius:10px}.performance-kpis b{color:#5f3d6d}.performance-kpis ul{margin:7px 0 0;padding-left:20px}.performance-kpis li{margin:3px 0}
.performance-input-grid{display:grid;grid-template-columns:280px 1fr;gap:14px;margin-top:14px}.performance-input-grid textarea{resize:vertical}
.performance-summary{margin:30px 0;padding:20px;border:1px solid #e3dbe8;border-radius:14px}.performance-summary h2{margin-top:0}.performance-summary label{display:block;margin-top:14px}
@media(max-width:800px){.performance-review-meta,.performance-scale{grid-template-columns:1fr 1fr}.performance-input-grid{grid-template-columns:1fr}}
@media print{.performance-review-modal{position:static!important;background:#fff!important}.performance-review-sheet{box-shadow:none!important;max-width:none!important}.performance-input-grid textarea,.performance-summary textarea,.performance-review-meta input,.performance-input-grid select{border:1px solid #ddd!important}}

/* v12.28 — Performance Review competency assessment */
.performance-competencies{margin:30px 0}
.performance-competency-grid{display:grid;grid-template-columns:1fr;gap:0}
.performance-competency-item{padding:20px 4px;border-bottom:1px solid #e7e1eb}
.performance-can-do{display:grid;grid-template-columns:130px 1fr;gap:12px;margin:12px 0;padding:11px 14px;border-radius:10px;background:#faf7fc;color:#536078;line-height:1.4}
.performance-can-do b{color:#8e18b3}

/* v12.29 — Performance Review next-step decision */
.performance-next-steps{margin:30px 0}
.performance-next-options{display:grid;grid-template-columns:1fr 1fr;gap:9px 12px;margin:14px 0}
.performance-next-option{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid #e1d9e6;border-radius:11px;background:#fff;cursor:pointer}
.performance-next-option:hover,.performance-next-option.selected{border-color:#b85bc9;background:#faf5fc}
.performance-next-option input{margin-top:3px;accent-color:#8e18b3}
.performance-next-option span{display:block}.performance-next-option b{display:block;color:#172d59;font-size:13px}.performance-next-option small{display:block;margin-top:3px;color:#747d93;line-height:1.35}
.performance-next-comments{display:block;margin-top:14px;font-weight:700;color:#243556}
.performance-next-comments textarea{width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #ddd5e6;border-radius:10px;padding:11px 12px;font:inherit;color:#172d59;background:#fff}
@media(max-width:800px){.performance-next-options{grid-template-columns:1fr}}

/* v12.30 — Performance Review context and period deliverables */
.performance-review-context{margin:10px 0 24px;padding:18px;border:1px solid #e3dbe8;border-radius:14px;background:#fff}
.performance-context-heading h2{margin:4px 0 14px;color:#172d59;font-size:19px}
.performance-review-type{margin-bottom:16px}
.performance-review-type-options{display:flex;gap:8px;flex-wrap:wrap;margin-top:7px}
.performance-review-type-option{display:flex;align-items:center;gap:7px;padding:9px 14px;border:1px solid #ded5e4;border-radius:999px;background:#fff;color:#243556;font-weight:750;cursor:pointer}
.performance-review-type-option:hover,.performance-review-type-option.selected{border-color:#ad49c0;background:#faf5fc;color:#8217a1}
.performance-review-type-option input{accent-color:#8e18b3}
.performance-deliverables{display:block;color:#243556}
.performance-deliverables>b{display:block;font-size:14px}
.performance-deliverables>small{display:block;margin:5px 0 8px;color:#747d93;font-weight:400;line-height:1.4}
.performance-deliverables textarea{width:100%;box-sizing:border-box;border:1px solid #ddd5e6;border-radius:10px;padding:11px 12px;font:inherit;color:#172d59;background:#fff;resize:vertical}
@media print{.performance-review-type-option{padding:5px 9px}.performance-review-context{break-inside:avoid}}

/* v12.31 — Role Profile Probation Review */
.probation-meta{grid-template-columns:repeat(5,1fr)}
.probation-outcomes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}
.probation-outcome{display:flex;gap:10px;align-items:flex-start;padding:15px;border:1px solid #e0d7e5;border-radius:12px;background:#fff;cursor:pointer}
.probation-outcome:hover,.probation-outcome.selected{border-color:#ad49c0;background:#faf5fc}
.probation-outcome input{margin-top:3px;accent-color:#8e18b3}
.probation-outcome b{display:block;color:#172d59}.probation-outcome small{display:block;margin-top:4px;color:#747d93;line-height:1.4}
.probation-extension{margin-top:20px;padding:17px;border:1px solid #e5ddea;border-radius:12px;background:#fcfafc}
.probation-extension h3{margin:0 0 12px;color:#172d59}
.probation-extension label{display:block;margin-top:12px;font-weight:700;color:#243556}
.probation-extension input,.probation-extension textarea{width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #ddd5e6;border-radius:10px;padding:11px 12px;font:inherit;color:#172d59;background:#fff}
@media(max-width:900px){.probation-meta{grid-template-columns:1fr 1fr}.probation-outcomes{grid-template-columns:1fr}}

/* v12.32 — Role Profile Individual Development Plan */
.development-meta{grid-template-columns:repeat(4,1fr)}
.development-role-group>h3{margin:20px 0 4px;color:#8e18b3;font-size:12px;letter-spacing:.06em}
.development-item{padding:18px 4px;border-bottom:1px solid #e7e1eb}
.development-assessment-row{display:grid;grid-template-columns:280px 1fr;gap:14px;margin-top:14px}
.development-assessment-row label,.development-note{font-weight:700;color:#243556}
.development-assessment-row select,.development-assessment-row textarea,.development-note textarea{width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #ddd5e6;border-radius:10px;padding:10px 11px;font:inherit;color:#172d59;background:#fff}
.development-note{display:block;margin-top:12px}
.development-action-plan{margin:30px 0}
.development-action-header,.development-action-row{display:grid;grid-template-columns:1.15fr 1.15fr 1.25fr 1fr 1.15fr .8fr .8fr 70px;gap:7px;align-items:start}
.development-action-header{padding:8px 5px;font-size:10px;font-weight:850;color:#6c5278;letter-spacing:.02em}
.development-action-row{padding:10px 5px;border-top:1px solid #eee8f1}
.development-action-row label>span{display:none}
.development-action-row textarea,.development-action-row input,.development-action-row select{width:100%;box-sizing:border-box;border:1px solid #ddd5e6;border-radius:8px;padding:8px;font:inherit;font-size:11px;color:#172d59;background:#fff}
.development-action-row textarea{resize:vertical}
.development-remove{border:0;background:none;color:#8e18b3;font-weight:700;cursor:pointer;padding:8px 2px}
.development-add{margin-top:12px}
.development-summary{margin-top:30px}
@media(max-width:1050px){
 .development-action-header{display:none}
 .development-action-row{grid-template-columns:1fr 1fr}
 .development-action-row label>span{display:block;margin-bottom:5px;font-size:11px;font-weight:800;color:#5f3d6d}
 .development-remove{justify-self:start}
}
@media(max-width:800px){.development-meta,.development-assessment-row,.development-action-row{grid-template-columns:1fr}}
@media print{.development-action-header{display:grid!important}.development-action-row{break-inside:avoid}.development-action-row label>span{display:none}}

/* v12.33 — Role & Talent Lifecycle service offering */
.lifecycle-proposition{display:flex;flex-direction:column;gap:5px;margin:14px 0 20px;padding:14px 16px;border-left:4px solid #8e18b3;border-radius:0 10px 10px 0;background:#faf7fc}
.lifecycle-proposition b{color:#172d59;font-size:15px}.lifecycle-proposition span{color:#69738a;font-size:12px}
.lifecycle-card{border-color:#cda8d7!important;box-shadow:0 8px 24px rgba(86,35,105,.08)}
.lifecycle-heading{margin:22px 0 10px}.lifecycle-heading h3{margin:4px 0;color:#172d59}
.lifecycle-journey{display:grid!important;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr!important;gap:8px!important;align-items:center!important}
.lifecycle-journey>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;padding:10px 5px}
.lifecycle-journey>div b{color:#8e18b3;font-size:10px;letter-spacing:.06em}.lifecycle-journey>div span{color:#172d59;font-size:11px;font-weight:750}.lifecycle-journey>i{color:#b89abe;font-style:normal}
@media(max-width:900px){.lifecycle-journey{grid-template-columns:1fr!important}.lifecycle-journey>i{transform:rotate(90deg);text-align:center}}

/* v12.34 — Service Leadership Team Capability & Readiness */
.team-capability-launch{width:100%;margin-top:12px}
.team-capability-sheet{max-width:1500px!important}
.team-context-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0 26px}
.team-context-grid label,.team-leader-card label{font-weight:750;color:#243556}
.team-context-grid input,.team-leader-card input,.team-leader-card textarea{width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #ddd5e6;border-radius:9px;padding:9px;font:inherit;color:#172d59}
.team-leader-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.team-leader-tabs span{padding:5px 9px;background:#f8f3fa;border-radius:999px;font-size:11px;color:#6d397c}
.team-leader-card{margin:13px 0 20px;padding:16px;border:1px solid #e4dce8;border-radius:13px;background:#fff}
.team-leader-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#8e18b3}
.team-mini-matrix{margin:14px 0;border:1px solid #e8e1eb;border-radius:10px;overflow:hidden}
.team-mini-head,.team-mini-row{display:grid;grid-template-columns:1.8fr .7fr .7fr;gap:8px;align-items:center;padding:7px 10px}
.team-mini-head{background:#f8f5fa;font-size:10px;font-weight:850;color:#674675}
.team-mini-row{border-top:1px solid #eee9f0;font-size:11px}.team-mini-row select{width:100%;border:1px solid #ded7e3;border-radius:7px;padding:6px;background:#fff;color:#172d59}
.team-leader-notes{margin-top:12px}
.team-analysis{margin-top:30px}.team-legend{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.team-analysis-table-wrap{overflow-x:auto}.team-analysis-table{width:100%;border-collapse:collapse}.team-analysis-table th{background:#f7f3f9;color:#5d3d68;text-align:left;padding:10px;font-size:11px}.team-analysis-table td{padding:10px;border-bottom:1px solid #ebe5ee;vertical-align:top;font-size:11px}.team-analysis-table td:first-child{width:31%}.team-analysis-table td:nth-child(2){width:35%}.team-analysis-table small{display:block;margin-top:4px;color:#788096}
.team-owner{display:inline-block;margin:2px 4px 2px 0;padding:4px 7px;border-radius:999px;background:#f7f4f9;color:#34405c;font-size:10px}
.team-status{display:inline-block;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.04em}.team-status.good{background:#edf7f1;color:#21633c}.team-status.warn{background:#faf5e8;color:#755c19}.team-status.risk{background:#fbefef;color:#8a3030}.team-status.neutral{background:#f2f3f6;color:#596173}
.team-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0 18px}.team-action-grid>div{padding:12px;border:1px solid #e3dbe7;border-radius:10px;background:#fff}.team-action-grid b{display:block;color:#8e18b3;font-size:11px}.team-action-grid span{display:block;margin-top:4px;color:#34405c;font-size:11px;line-height:1.35}
@media(max-width:900px){.team-context-grid,.team-action-grid{grid-template-columns:1fr 1fr}.team-mini-head,.team-mini-row{grid-template-columns:1.4fr .8fr .8fr}}
@media(max-width:650px){.team-context-grid,.team-action-grid{grid-template-columns:1fr}}

/* v12.35 — Calibrate > Evaluate > Consolidate > Contextualise */
.team-workflow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:9px;align-items:center;margin:18px 0 24px;padding:14px;border:1px solid #e3dbe8;border-radius:12px;background:#faf8fb}
.team-workflow>div{text-align:center}.team-workflow b{display:block;color:#8e18b3;font-size:10px}.team-workflow span{display:block;margin-top:4px;color:#172d59;font-size:11px;font-weight:700}.team-workflow i{font-style:normal;color:#b497bc}
.team-calibrated-list{display:grid;gap:7px;margin:10px 0}.team-calibrated-list>div{display:grid;grid-template-columns:30px 1fr 1fr 70px;gap:8px;align-items:center;padding:9px 11px;border:1px solid #e7e0ea;border-radius:9px}.team-calibrated-list>div>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#f5edf8;color:#8e18b3;font-weight:850}.team-calibrated-list small{color:#778095}.empty-state{padding:16px;border:1px dashed #d9cedf;border-radius:10px;color:#788096;background:#fcfbfc;margin:10px 0}
.team-evaluation-card{margin:16px 0 26px;border:1px solid #e1d9e6;border-radius:13px;overflow:hidden;background:#fff}.team-evaluation-head{display:grid;grid-template-columns:1fr 320px;gap:15px;align-items:end;padding:16px;background:#faf7fb}.team-evaluation-head h3{margin:3px 0;color:#172d59}.team-evaluation-head label{font-weight:750;color:#243556}.team-evaluation-head input{width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #ddd5e6;border-radius:8px;padding:9px}
.team-eval-section{padding:14px 16px}.team-eval-section h4{margin:0 0 7px;color:#8e18b3;font-size:11px}.team-eval-row{display:grid;grid-template-columns:1.35fr .65fr 1fr;gap:12px;align-items:start;padding:11px 0;border-top:1px solid #eee9f0}.team-eval-row>div>b{display:block;color:#172d59}.team-eval-row small{display:block;margin-top:3px;color:#7a8193}.team-eval-row ul{margin:6px 0 0;padding-left:17px;color:#5e687d;font-size:10px}.team-eval-row p{margin:6px 0 0;color:#5e687d;font-size:10px}.team-eval-row label{font-size:11px;font-weight:750;color:#34405c}.team-eval-row select,.team-eval-row textarea{width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #ddd5e6;border-radius:8px;padding:8px;font:inherit;font-size:11px;background:#fff;color:#172d59}
.team-individual-summary{padding:16px;background:#fcfafc}.team-individual-summary label{font-weight:750;color:#34405c}.team-individual-summary textarea{width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #ddd5e6;border-radius:8px;padding:8px;font:inherit}
.team-insight-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px 0}.team-insight-metrics>div{text-align:center;padding:12px 8px;border:1px solid #e4dce8;border-radius:10px;background:#fff}.team-insight-metrics b{display:block;color:#8e18b3;font-size:24px}.team-insight-metrics span{display:block;margin-top:3px;color:#657086;font-size:10px}
.team-context-callout{margin:12px 0 18px;padding:15px;border-left:4px solid #8e18b3;background:#faf7fc;border-radius:0 10px 10px 0}.team-context-callout b{color:#172d59}.team-context-callout p{margin:5px 0 0;color:#566178;line-height:1.5;font-size:12px}
@media(max-width:900px){.team-workflow,.team-evaluation-head,.team-eval-row{grid-template-columns:1fr}.team-workflow i{transform:rotate(90deg);text-align:center}.team-insight-metrics{grid-template-columns:1fr 1fr}}

/* v12.36 — inherit contextual background from calibrated Role Profiles */
.team-context-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
.team-context-source{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:8px;margin:12px 0}
.team-context-source>div{padding:12px;border:1px solid #e4dce8;border-radius:10px;background:#fff}
.team-context-source b{display:block;color:#243556;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.team-context-source span:not(.team-status){display:block;margin-top:5px;color:#172d59;font-weight:750;font-size:12px}
.team-context-source small{display:block;margin-top:5px;color:#687187;line-height:1.35}
@media(max-width:900px){.team-context-grid-two,.team-context-source{grid-template-columns:1fr}}

/* v12.37 — 10-role guided Team Diagnostic */
.team-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 25px}.team-progress>div{text-align:center;padding:14px;border:1px solid #e2d9e7;border-radius:11px;background:#faf8fb}.team-progress b{display:block;color:#8e18b3;font-size:22px}.team-progress span{display:block;margin-top:3px;color:#657086;font-size:10px}
.team-ten-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:12px 0 25px}.team-slot{display:grid;grid-template-columns:36px 1fr;gap:9px;padding:13px;border:1px solid #e1d8e6;border-radius:12px;background:#fff;align-items:start}.team-slot-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f4eaf8;color:#9216b5;font-weight:900}.team-slot-main label{display:block;font-size:10px;font-weight:850;color:#5c4765;text-transform:uppercase}.team-slot-main input{width:100%;box-sizing:border-box;margin-top:5px;padding:9px;border:1px solid #ddd5e6;border-radius:8px;font:inherit;color:#172d59}.team-slot-main input[readonly]{background:#f8f6f9;font-weight:800}.team-slot-status{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px}.team-slot-status small{color:#788096}.team-slot-actions{grid-column:2;display:flex;gap:7px;flex-wrap:wrap}.team-slot-actions .btn{font-size:10px;padding:7px 10px}.team-slot.role-complete{border-left:4px solid #8e18b3}.team-slot.evaluation-complete{background:#fcfbfd}
.team-evaluation-focus>.btn{margin-bottom:14px}.team-eval-footer{display:flex;justify-content:flex-end;padding:16px;border-top:1px solid #ece6ef}.team-section-locked{opacity:.78}
@media(max-width:900px){.team-ten-grid{grid-template-columns:1fr}.team-progress{grid-template-columns:1fr}}

/* v12.38 — make incumbent evaluation the dominant Step 2 */
.capture-role-btn{display:none!important}
.team-slot-ready{grid-template-columns:36px 1fr!important;border-left:4px solid #8e18b3!important}
.team-slot-ready .team-slot-main{min-width:0}
.team-incumbent-step{margin-top:13px;padding:13px 14px;border:1px solid #dfd2e6;border-radius:10px;background:#faf6fc}
.team-step-label{font-size:10px;font-weight:900;letter-spacing:.055em;color:#9515b7}
.team-incumbent-step p{margin:4px 0 11px;color:#647087;font-size:11px;line-height:1.4}
.team-incumbent-step label{max-width:520px}
.team-incumbent-step label input{background:#fff!important;font-weight:500!important}
.team-evaluate-cta{display:block;margin-top:11px;min-width:220px;font-size:11px!important;padding:9px 13px!important}
.team-evaluation-done{display:inline-block;margin-top:10px;padding:5px 8px;border-radius:999px;background:#edf7f1;color:#21633c;font-size:9px;font-weight:900;letter-spacing:.04em}
.team-slot-ready-actions{grid-column:2!important;margin-top:0!important}
.team-slot-ready-actions .btn{opacity:.75}
.team-eval-footer{align-items:center;gap:14px}.team-eval-save-note{margin-right:auto;color:#748096;font-size:10px}
@media(max-width:900px){.team-evaluate-cta{width:100%}}

/* v12.39 — same assessment definitions as Performance Review */
.team-rating-scale{margin:12px 0 20px;padding:13px 15px;border:1px solid #e2d7e8;border-radius:10px;background:#fbf8fd;display:grid;gap:5px;color:#53617a;font-size:10px;line-height:1.35}
.team-rating-scale>b{color:#9817b5;font-size:10px;letter-spacing:.045em;margin-bottom:3px}
.team-rating-scale strong{color:#172f59;margin-right:4px}
