/* Lab 009 / The Conditional Access Lockout
 * Scoped to identity challenge. Existing eight labs remain unchanged.
 * Loaded after theme CSS so both themes are covered deliberately. */
.lab-shell.identity-mode:not(.heat-1):not(.heat-2):not(.heat-3){
 background:
 radial-gradient(ellipse 54% 38% at 78% 0%,rgba(123,87,220,.16),transparent 82%),
 radial-gradient(ellipse 42% 32% at 12% 0%,rgba(37,173,205,.10),transparent 80%),#030817;
}
.identity-mode .mission-heading h1{
 background:linear-gradient(110deg,#ffffff 10%,#e6e9ff 75%,#bdb7ff);
 background-clip:text;-webkit-background-clip:text;color:transparent;
}
.identity-mode .mission-heading .eyebrow{color:#c6b6ff;}
.identity-mode .heading-badges .badge.cyan{color:#d7c7ff;background:rgba(110,80,205,.16);border-color:#7166ab;}
.identity-mode .il-console{
 margin-bottom:22px;overflow:hidden;
 border-color:rgba(142,119,244,.45);
 background:linear-gradient(130deg,rgba(12,27,47,.96),rgba(18,25,49,.97));
 box-shadow:0 20px 65px rgba(8,6,29,.20);
}
.identity-mode .il-console>.pane-header{
 background:linear-gradient(110deg,rgba(110,82,199,.18),rgba(36,100,143,.10));
 border-bottom-color:rgba(145,118,230,.28);
}
.identity-mode .il-console>.pane-header .pane-heading{color:#e2dbff;font-size:15px;}
.identity-mode .il-console>.pane-header small{color:#acb9d9;}
.identity-mode .il-console-inner{padding:clamp(17px,2.1vw,28px);display:grid;gap:20px;}
.identity-mode .il-console-top{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);
 align-items:center;gap:24px;
}
.identity-mode .il-console-top>div:first-child>span,
.identity-mode .il-whatif-title span{
 color:#c2b2ff;font-size:11px;font-weight:850;letter-spacing:.13em;line-height:1.6;
}
.identity-mode .il-console-top>div:first-child>strong{
 display:block;font-size:clamp(21px,2.4vw,30px);
 letter-spacing:-.03em;color:#f3f3ff;margin:9px 0;line-height:1.22;
}
.identity-mode .il-console-top p{
 color:#b8c8df;font-size:14px;line-height:1.75;max-width:760px;margin:0;
}
.identity-mode .il-impact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;min-width:0;}
.identity-mode .il-impact-grid>div{
 border:1px solid #465372;background:rgba(24,42,69,.8);
 border-radius:11px;padding:14px;min-width:0;
}
.identity-mode .il-impact-grid>div>span{
 display:block;font-size:10px;font-weight:850;letter-spacing:.10em;color:#a2afdb;
}
.identity-mode .il-impact-grid strong{
 font-size:clamp(14px,1.5vw,20px);display:block;color:#f1f3ff;
 margin-top:8px;overflow-wrap:anywhere;line-height:1.3;
}
.identity-mode .il-impact-grid>div:first-child strong{color:#f2b3be;font-size:29px;}
.identity-mode .il-impact-grid>div:nth-child(2) strong{color:#f5b2c1;}
.identity-mode .il-impact-grid>div:nth-child(3) strong{color:#9aedd3;font-size:15px;}
.identity-mode .il-impact-grid small{font-size:11px;line-height:1.55;color:#a8bed6;display:block;margin-top:6px;}
.identity-mode .il-risk-alert{
 border:1px solid #bd697f;background:rgba(187,63,90,.17);
 border-radius:12px;padding:15px 18px;
}
.identity-mode .il-risk-alert strong{display:block;color:#ffc4cf;font-size:15px;}
.identity-mode .il-risk-alert p{color:#f3ccd3;font-size:13px;line-height:1.7;margin:6px 0 0;}
.identity-mode .il-state.is-risk{
 color:#ffb6bf;border-color:#be6376;background:rgba(179,58,89,.17);
}
.identity-mode .il-console-subhead{
 display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
 border-top:1px solid #39445f;padding-top:20px;
}
.identity-mode .il-console-subhead strong{font-size:16px;color:#eff3ff;}
.identity-mode .il-console-subhead span{
 font-size:12px;color:#c1b1ff;background:#30324f;border:1px solid #625790;
 border-radius:999px;padding:7px 11px;font-weight:800;
}
.identity-mode .il-policy-list{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
}
.identity-mode .il-policy-row{
 border:1px solid #3c4a64;border-radius:12px;
 background:#112239;padding:15px;min-width:0;
 display:flex;flex-direction:column;justify-content:space-between;gap:12px;
}
.identity-mode .il-policy-row.is-highlighted{
 border-color:#9b7ce5;
 background:linear-gradient(135deg,rgba(104,79,189,.22),rgba(16,35,54,.85));
 box-shadow:inset 0 0 0 1px rgba(164,140,248,.11);
}
.identity-mode .il-policy-row>div:first-child>span{
 font:850 11px ui-monospace,Consolas,monospace;color:#c5b8ff;
}
.identity-mode .il-policy-row strong{
 display:block;color:#ecf1ff;font-size:15px;line-height:1.45;margin:7px 0 5px;
}
.identity-mode .il-policy-row small{
 display:block;color:#b0c2dc;font-size:12px;line-height:1.6;
}
.identity-mode .il-policy-row>div:last-child{display:grid;gap:9px;justify-items:start;}
.identity-mode .il-state{
 border:1px solid #c4a16a;color:#ffe0a8;
 background:rgba(180,128,54,.14);font-size:11px;font-weight:850;
 border-radius:999px;padding:6px 10px;letter-spacing:.08em;
}
.identity-mode .il-state.is-report{border-color:#4aafaa;color:#adebe4;background:rgba(35,140,132,.17);}
.identity-mode .il-scope-strip{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
 border:1px solid #405371;border-radius:12px;padding:14px;background:#0c1e31;
}
.identity-mode .il-scope-strip>div{
 border-right:1px solid #35465f;min-width:0;padding:4px 9px;
}
.identity-mode .il-scope-strip>div:last-child{border-right:0;}
.identity-mode .il-scope-strip>div>span{
 display:block;color:#97b1d4;font-size:10px;font-weight:850;letter-spacing:.09em;
}
.identity-mode .il-scope-strip strong{
 color:#e4efff;display:block;font-size:13px;margin-top:7px;line-height:1.55;
 overflow-wrap:anywhere;
}
.identity-mode .il-whatif{
 border:1px solid rgba(150,133,227,.43);border-radius:15px;padding:clamp(17px,2vw,24px);
 background:radial-gradient(ellipse at 90% 10%,rgba(103,76,192,.12),transparent 70%),#0b1c31;
}
.identity-mode .il-whatif-title{
 display:flex;justify-content:space-between;align-items:start;gap:18px;flex-wrap:wrap;
 margin-bottom:17px;
}
.identity-mode .il-whatif-title>div:first-child{min-width:0;flex:1;}
.identity-mode .il-whatif-title h3{
 color:#f3f0ff;font-size:clamp(20px,2vw,26px);letter-spacing:-.03em;margin:5px 0 6px;
}
.identity-mode .il-whatif-title p{color:#b5c7df;font-size:13px;line-height:1.75;max-width:900px;margin:0;}
.identity-mode .il-whatif-count{
 display:inline-flex;align-items:center;justify-content:center;
 border:1px solid #665c96;border-radius:999px;padding:8px 11px;color:#dfd4ff;font-size:12px;font-weight:850;
 background:rgba(98,76,173,.16);white-space:nowrap;
}
.identity-mode .il-whatif-persons{
 display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;
}
.identity-mode .il-whatif-persons>button{
 text-align:left;background:#16283e;border:1px solid #41516f;
 border-radius:11px;padding:12px;min-width:0;
 display:flex;flex-direction:column;gap:5px;min-height:106px;justify-content:space-between;
 transition:background .16s,border-color .16s;
}
.identity-mode .il-whatif-persons>button:hover{border-color:#a394ee;background:#263552;}
.identity-mode .il-whatif-persons>button.is-current{border-color:#b5a6f9;background:#313457;}
.identity-mode .il-whatif-persons>button.is-tested{border-color:#5ab69b;}
.identity-mode .il-whatif-persons strong{color:#e9f1ff;font-size:13px;line-height:1.4;overflow-wrap:anywhere;}
.identity-mode .il-whatif-persons small{display:block;color:#b4c7df;font-size:11px;line-height:1.5;}
.identity-mode .il-whatif-persons button>span{
 color:#b8b2fa;font-size:10px;font-weight:850;letter-spacing:.05em;line-height:1.5;margin-top:4px;
}
.identity-mode .il-whatif-persons button.is-tested>span{color:#9cf0d2;}
.identity-mode .il-whatif-result{
 border:1px solid #7780a7;border-radius:12px;padding:17px;margin-top:14px;background:#172640;
}
.identity-mode .il-whatif-result>span{color:#c8baff;display:block;font-size:10px;font-weight:850;letter-spacing:.12em;}
.identity-mode .il-whatif-result-grid{display:grid;grid-template-columns:1.25fr .9fr .9fr;gap:12px;margin-top:11px;}
.identity-mode .il-whatif-result-grid>div{min-width:0;}
.identity-mode .il-whatif-result-grid>div>span{font-size:10px;color:#b2c9db;display:block;margin-bottom:6px;font-weight:800;}
.identity-mode .il-whatif-result-grid strong{
 display:block;font-size:13px;color:#e7f3fe;line-height:1.55;overflow-wrap:anywhere;
}
.identity-mode .il-whatif-result-grid small{font-size:11px;color:#aebed3;line-height:1.6;display:block;}
.identity-mode .il-whatif-result p,.identity-mode .il-whatif-empty{
 color:#d2dcec;font-size:13px;line-height:1.75;margin:12px 0 0;
}
.identity-mode .il-whatif-empty{
 border:1px dashed #536486;border-radius:10px;background:#14243b;
 padding:16px;margin-top:13px;
}
.identity-mode .il-whatif-foot{
 border-top:1px solid #344766;margin-top:18px;padding-top:15px;
 font-size:12px;color:#bbccdc;line-height:1.7;
}
.identity-mode .il-whatif-foot strong{color:#abebda;}
.identity-mode .il-learning-links{display:flex;gap:12px 19px;flex-wrap:wrap;}
.identity-mode .il-learning-links a{font-size:12px;font-weight:780;color:#adceff;text-decoration:underline;text-underline-offset:4px;}
.identity-mode .il-learning-links a:hover{color:#e5f4ff;}
.identity-mode .il-result-summary{
 border:1px solid #8066af;border-radius:13px;
 padding:18px;margin-top:20px;background:rgba(95,73,165,.13);
}
.identity-mode .il-result-summary strong{font-size:15px;color:#cdbdff;}
.identity-mode .il-result-summary p{color:#c5d4e3;font-size:13px;line-height:1.8;margin:7px 0 0;}
html[data-theme="light"] .identity-mode:not(.heat-1):not(.heat-2):not(.heat-3){
 background:radial-gradient(ellipse 60% 40% at 75% 0%,rgba(115,104,213,.13),transparent 80%),#f5f8fc;
}
html[data-theme="light"] .identity-mode .mission-heading h1{
 background:linear-gradient(110deg,#18374b,#544c92);background-clip:text;-webkit-background-clip:text;color:transparent;
}
html[data-theme="light"] .identity-mode .mission-heading .eyebrow{color:#7052a4;}
html[data-theme="light"] .identity-mode .heading-badges .badge.cyan{color:#51418e;background:#eeeaff;border-color:#aaa0cb;}
html[data-theme="light"] .identity-mode .il-console{
 background:linear-gradient(125deg,#fff,#f7f7fd);border-color:#b3a8dc;
 box-shadow:0 16px 30px rgba(55,42,127,.07);
}
html[data-theme="light"] .identity-mode .il-console>.pane-header{background:#f0eefb;border-color:#ccc4e7;}
html[data-theme="light"] .identity-mode .il-console>.pane-header .pane-heading{color:#433373;}
html[data-theme="light"] .identity-mode .il-console>.pane-header small{color:#586b84;}
html[data-theme="light"] .identity-mode .il-console-top>div:first-child>span,
html[data-theme="light"] .identity-mode .il-whatif-title span{color:#6e4c97;}
html[data-theme="light"] .identity-mode .il-console-top>div:first-child>strong{color:#1b3150;}
html[data-theme="light"] .identity-mode .il-console-top p{color:#4c6080;}
html[data-theme="light"] .identity-mode .il-impact-grid>div{background:#f2f4fc;border-color:#c7d0e4;}
html[data-theme="light"] .identity-mode .il-impact-grid>div>span{color:#596b91;}
html[data-theme="light"] .identity-mode .il-impact-grid strong{color:#233a59;}
html[data-theme="light"] .identity-mode .il-impact-grid>div:first-child strong,
html[data-theme="light"] .identity-mode .il-impact-grid>div:nth-child(2) strong{color:#a44256;}
html[data-theme="light"] .identity-mode .il-impact-grid>div:nth-child(3) strong{color:#15684d;}
html[data-theme="light"] .identity-mode .il-impact-grid small{color:#587087;}
html[data-theme="light"] .identity-mode .il-risk-alert{background:#fff1f4;border-color:#d8a1af;}
html[data-theme="light"] .identity-mode .il-risk-alert strong{color:#963f56;}
html[data-theme="light"] .identity-mode .il-risk-alert p{color:#825568;}
html[data-theme="light"] .identity-mode .il-state.is-risk{color:#99374d;border-color:#d0a0ae;background:#fff1f4;}
html[data-theme="light"] .identity-mode .il-console-subhead{border-color:#ccd4e8;}
html[data-theme="light"] .identity-mode .il-console-subhead strong{color:#273c57;}
html[data-theme="light"] .identity-mode .il-console-subhead span{color:#594388;background:#eeeafb;border-color:#c4b6e4;}
html[data-theme="light"] .identity-mode .il-policy-row{background:#fff;border-color:#c7d4e5;}
html[data-theme="light"] .identity-mode .il-policy-row.is-highlighted{background:#f1edff;border-color:#aa9bd6;}
html[data-theme="light"] .identity-mode .il-policy-row>div:first-child>span{color:#7052a5;}
html[data-theme="light"] .identity-mode .il-policy-row strong{color:#1e334e;}
html[data-theme="light"] .identity-mode .il-policy-row small{color:#526681;}
html[data-theme="light"] .identity-mode .il-state.is-on{background:#fff4e7;border-color:#d2ae71;color:#825222;}
html[data-theme="light"] .identity-mode .il-state.is-report{background:#e7f7f1;border-color:#8cc7b2;color:#19674c;}
html[data-theme="light"] .identity-mode .il-scope-strip{background:#f2f6fc;border-color:#d0d8e8;}
html[data-theme="light"] .identity-mode .il-scope-strip>div{border-color:#d2dcf0;}
html[data-theme="light"] .identity-mode .il-scope-strip>div>span{color:#5f6f89;}
html[data-theme="light"] .identity-mode .il-scope-strip strong{color:#233c58;}
html[data-theme="light"] .identity-mode .il-whatif{background:#f6f6fd;border-color:#c4b5df;}
html[data-theme="light"] .identity-mode .il-whatif-title h3{color:#233851;}
html[data-theme="light"] .identity-mode .il-whatif-title p{color:#4b617f;}
html[data-theme="light"] .identity-mode .il-whatif-count{background:#eeebfa;border-color:#c8b6e5;color:#644d8b;}
html[data-theme="light"] .identity-mode .il-whatif-persons>button{background:#fff;border-color:#c2cee0;}
html[data-theme="light"] .identity-mode .il-whatif-persons>button:hover{background:#eeeafd;border-color:#9182c6;}
html[data-theme="light"] .identity-mode .il-whatif-persons>button.is-current{background:#eae5ff;border-color:#8d7abe;}
html[data-theme="light"] .identity-mode .il-whatif-persons>button.is-tested{border-color:#70b29b;}
html[data-theme="light"] .identity-mode .il-whatif-persons strong{color:#253a56;}
html[data-theme="light"] .identity-mode .il-whatif-persons small{color:#58708d;}
html[data-theme="light"] .identity-mode .il-whatif-persons button>span{color:#6a56a1;}
html[data-theme="light"] .identity-mode .il-whatif-persons button.is-tested>span{color:#187453;}
html[data-theme="light"] .identity-mode .il-whatif-result{background:#fff;border-color:#b9bfdc;}
html[data-theme="light"] .identity-mode .il-whatif-result>span{color:#6d509b;}
html[data-theme="light"] .identity-mode .il-whatif-result-grid>div>span{color:#677c91;}
html[data-theme="light"] .identity-mode .il-whatif-result-grid strong{color:#263b58;}
html[data-theme="light"] .identity-mode .il-whatif-result-grid small{color:#526c83;}
html[data-theme="light"] .identity-mode .il-whatif-result p{color:#456078;}
html[data-theme="light"] .identity-mode .il-whatif-empty{color:#4a607b;background:#fff;border-color:#bbc8d9;}
html[data-theme="light"] .identity-mode .il-whatif-foot{color:#526b85;border-color:#d0d8e8;}
html[data-theme="light"] .identity-mode .il-whatif-foot strong{color:#167657;}
html[data-theme="light"] .identity-mode .il-learning-links a{color:#315b91;}
html[data-theme="light"] .identity-mode .il-result-summary{background:#eeeafb;border-color:#bca7d7;}
html[data-theme="light"] .identity-mode .il-result-summary strong{color:#63478a;}
html[data-theme="light"] .identity-mode .il-result-summary p{color:#4f6183;}
@media(max-width:1180px){
 .identity-mode .il-console-top{grid-template-columns:1fr;}
 .identity-mode .il-policy-list{grid-template-columns:1fr 1fr;}
 .identity-mode .il-whatif-persons{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:760px){
 .identity-mode .il-impact-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
 .identity-mode .il-policy-list{grid-template-columns:1fr;}
 .identity-mode .il-scope-strip{grid-template-columns:1fr;}
 .identity-mode .il-scope-strip>div{border-right:0;border-bottom:1px solid #35465f;padding:9px;}
 .identity-mode .il-scope-strip>div:last-child{border-bottom:0;}
 .identity-mode .il-whatif-persons{grid-template-columns:repeat(2,minmax(0,1fr));}
 .identity-mode .il-whatif-result-grid{grid-template-columns:1fr;}
 html[data-theme="light"] .identity-mode .il-scope-strip>div{border-color:#d2dcf0;}
}
@media(max-width:480px){
 .identity-mode .il-impact-grid{grid-template-columns:1fr;}
 .identity-mode .il-whatif-persons{grid-template-columns:1fr;}
 .identity-mode .il-console-inner{padding:16px;}
 .identity-mode .il-whatif{padding:15px;}
 .identity-mode .il-console-top>div:first-child>strong{font-size:22px;}
}
@media(prefers-reduced-motion:reduce){
 .identity-mode .il-whatif-persons>button{transition:none;}
}
