/* CDI V29 role-aware PWA workspace */
:root{
  --v29-navy:#0b1f3d;
  --v29-navy-2:#122b50;
  --v29-green:#00a53c;
  --v29-green-deep:#007c2d;
  --v29-green-soft:#eaf8ef;
  --v29-blue:#2d7ff6;
  --v29-blue-soft:#edf5ff;
  --v29-ink:#172033;
  --v29-copy:#647087;
  --v29-line:#e4e9f0;
  --v29-bg:#f5f7fa;
  --v29-white:#fff;
  --v29-shadow:0 16px 48px rgba(13,34,65,.10);
}

.cdi-v29-workspace{background:var(--v29-bg)}
.cdi-v29-app-shell{max-width:1180px;padding:28px 24px 108px}
.cdi-v29-appbar{border:1px solid rgba(11,31,61,.08);box-shadow:0 8px 30px rgba(13,34,65,.06);background:rgba(255,255,255,.94);backdrop-filter:blur(18px)}
.cdi-v29-appbar .cdi-app-wordmark img{height:42px;max-width:190px;object-fit:contain}
.cdi-v29-workspace-chip{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--v29-line);border-radius:999px;background:#fff;color:var(--v29-navy);font-size:12px;font-weight:800}
.cdi-v29-workspace-chip .cdi-icon{width:16px;height:16px}
.cdi-v29-workspace-chip .cdi-icon-chevron-down{width:13px;height:13px;color:#8390a3}

.cdi-v29-welcome,.cdi-v29-pro-welcome{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:34px 0 24px}
.cdi-v29-welcome small,.cdi-v29-pro-welcome small,.cdi-v29-page-intro .cdi-role-kicker{display:block;color:var(--v29-green-deep);font-size:11px;line-height:1.2;text-transform:uppercase;letter-spacing:.11em;font-weight:900;margin-bottom:8px}
.cdi-v29-welcome h1,.cdi-v29-pro-welcome h1,.cdi-v29-page-intro h1{font-size:clamp(29px,4vw,46px);line-height:1.08;letter-spacing:-.035em;color:var(--v29-navy);font-weight:750;max-width:780px;margin:0}
.cdi-v29-welcome p,.cdi-v29-pro-welcome p,.cdi-v29-page-intro p{font-size:15px;line-height:1.7;color:var(--v29-copy);max-width:760px;margin:12px 0 0}
.cdi-v29-mode-return{display:flex;flex-direction:column;gap:3px;min-width:245px;padding:13px 15px;border:1px solid #cfe6ff;border-radius:14px;background:var(--v29-blue-soft);color:var(--v29-navy)}
.cdi-v29-mode-return span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#4b6f9e;font-weight:800}
.cdi-v29-mode-return strong{font-size:12px;line-height:1.35}

.cdi-v29-learner-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);align-items:center;gap:30px;padding:38px 42px;border-radius:26px;background:linear-gradient(135deg,#0b1f3d 0%,#132d54 72%,#164063 100%);color:#fff;overflow:hidden;position:relative;box-shadow:var(--v29-shadow)}
.cdi-v29-learner-hero:after{content:"";position:absolute;right:-100px;top:-120px;width:340px;height:340px;border-radius:50%;background:rgba(0,165,60,.18);filter:blur(4px)}
.cdi-v29-learner-hero-copy{position:relative;z-index:2}
.cdi-v29-learner-hero h2{font-size:clamp(27px,3.5vw,42px);line-height:1.1;letter-spacing:-.035em;color:#fff;margin:10px 0 12px;font-weight:750;max-width:690px}
.cdi-v29-learner-hero p{font-size:14.5px;line-height:1.7;color:rgba(255,255,255,.72);max-width:670px;margin:0}
.cdi-v29-learner-hero .cdi-app-hero-kicker{color:#95f0b8;background:rgba(0,165,60,.16);border:1px solid rgba(149,240,184,.25);padding:7px 10px;border-radius:999px;display:inline-flex;align-items:center;gap:7px}
.cdi-v29-learner-hero .cdi-app-primary{background:#fff;color:var(--v29-navy)}
.cdi-v29-learner-hero .cdi-app-secondary{border-color:rgba(255,255,255,.34);color:#fff}
.cdi-v29-learner-hero-art{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:center;min-height:220px}
.cdi-v29-learner-hero-art img{width:min(100%,310px);max-height:245px;object-fit:contain;filter:drop-shadow(0 18px 28px rgba(0,0,0,.16))}

.cdi-v29-learner-stats,.cdi-v29-pro-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 30px}
.cdi-v29-learner-stats>a,.cdi-v29-pro-metrics>a{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;padding:17px 18px;background:#fff;border:1px solid var(--v29-line);border-radius:16px;color:var(--v29-ink);box-shadow:0 6px 20px rgba(13,34,65,.04)}
.cdi-v29-learner-stats>a>span,.cdi-v29-pro-metrics>a>span{width:38px;height:38px;border-radius:12px;background:var(--v29-green-soft);color:var(--v29-green-deep);display:grid;place-items:center}
.cdi-v29-learner-stats .cdi-icon,.cdi-v29-pro-metrics .cdi-icon{width:19px;height:19px}
.cdi-v29-learner-stats strong,.cdi-v29-pro-metrics strong{font-size:22px;line-height:1;color:var(--v29-navy)}
.cdi-v29-learner-stats small,.cdi-v29-pro-metrics small{font-size:11px;color:var(--v29-copy);font-weight:700}

.cdi-v29-action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.cdi-v29-action-grid>a{display:flex;flex-direction:column;gap:9px;min-height:168px;padding:20px;border:1px solid var(--v29-line);border-radius:18px;background:#fff;color:var(--v29-ink);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.cdi-v29-action-grid>a:hover{transform:translateY(-2px);border-color:#b9d6c3;box-shadow:0 14px 34px rgba(13,34,65,.08)}
.cdi-v29-action-grid>a>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--v29-blue-soft);color:var(--v29-blue)}
.cdi-v29-action-grid .cdi-icon{width:21px;height:21px}
.cdi-v29-action-grid strong{font-size:14px;color:var(--v29-navy);margin-top:2px}
.cdi-v29-action-grid small{font-size:11.5px;line-height:1.55;color:var(--v29-copy)}
.cdi-v29-quick-section{margin-top:0}

.cdi-v29-mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.cdi-v29-mini-grid>a{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid var(--v29-line);border-radius:15px;background:#fff;color:var(--v29-ink)}
.cdi-v29-mini-grid>a>.cdi-icon{width:40px;height:40px;padding:10px;border-radius:12px;background:#f0f4f9;color:var(--v29-navy);flex:0 0 40px}
.cdi-v29-mini-grid span{display:flex;flex-direction:column;gap:3px}.cdi-v29-mini-grid strong{font-size:13px}.cdi-v29-mini-grid small{font-size:11px;color:var(--v29-copy)}

.cdi-v29-pro-gateway{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:48px;align-items:center;background:#fff;border:1px solid var(--v29-line);border-radius:28px;padding:50px;margin-top:34px;box-shadow:var(--v29-shadow)}
.cdi-v29-pro-gateway-art{display:flex;justify-content:center}.cdi-v29-pro-gateway-art img{width:min(100%,400px);max-height:330px;object-fit:contain}
.cdi-role-kicker{display:inline-block;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--v29-green-deep);font-weight:900}
.cdi-v29-pro-gateway h1{font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.04em;color:var(--v29-navy);font-weight:750;margin:10px 0 14px}
.cdi-v29-pro-gateway p{color:var(--v29-copy);font-size:15px;line-height:1.7;margin:0}
.cdi-v29-gateway-benefits{display:flex;flex-wrap:wrap;gap:10px 18px;margin:24px 0}.cdi-v29-gateway-benefits span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#34506f}.cdi-v29-gateway-benefits .cdi-icon{width:17px;height:17px;color:var(--v29-green)}
.cdi-v29-gateway-actions{display:flex;gap:10px;flex-wrap:wrap}.cdi-v29-text-link{display:inline-block;color:var(--v29-green-deep);font-size:12px;font-weight:800;margin-top:18px}

.cdi-v29-pro-welcome{align-items:center}.cdi-v29-status{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eef2f7;color:#657087;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.cdi-v29-status-active{background:var(--v29-green-soft);color:var(--v29-green-deep)}.cdi-v29-status-pending{background:#fff6df;color:#926400}.cdi-v29-status-suspended{background:#fff0f0;color:#a52a2a}
.cdi-v29-pro-metrics{grid-template-columns:repeat(4,1fr);margin-top:0}.cdi-v29-pro-metrics>a{grid-template-columns:auto 1fr}.cdi-v29-pro-metrics>a>small{grid-column:2}.cdi-v29-pro-metrics>a>strong{grid-column:2;grid-row:1}
.cdi-v29-pro-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:18px;margin:8px 0 30px}
.cdi-v29-completion-card,.cdi-v29-enquiry-card{background:#fff;border:1px solid var(--v29-line);border-radius:22px;padding:23px;box-shadow:0 8px 28px rgba(13,34,65,.05)}
.cdi-v29-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.cdi-v29-card-head h2{font-size:19px;line-height:1.3;color:var(--v29-navy);font-weight:750;margin:5px 0 0}.cdi-v29-card-head>a{font-size:11px;font-weight:850;color:var(--v29-green-deep)}
.cdi-v29-progress-orb{--progress:0;position:relative;width:66px;height:66px;border-radius:50%;display:grid;place-items:center;flex:0 0 66px;background:conic-gradient(var(--v29-green) var(--progress),#e8edf3 0)}.cdi-v29-progress-orb:before{content:"";position:absolute;inset:6px;border-radius:50%;background:#fff}.cdi-v29-progress-orb strong{position:relative;z-index:1;color:var(--v29-navy);font-size:14px}
.cdi-v29-progress-track{height:7px;background:#edf1f5;border-radius:999px;overflow:hidden;margin:20px 0}.cdi-v29-progress-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--v29-green),#35c86c)}
.cdi-v29-task-list{display:flex;flex-direction:column}.cdi-v29-task-list>a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:12px 0;border-top:1px solid var(--v29-line);color:var(--v29-ink)}.cdi-v29-task-list>a:first-child{border-top:0}.cdi-v29-task-list>a>span{width:34px;height:34px;border-radius:11px;background:var(--v29-blue-soft);color:var(--v29-blue);display:grid;place-items:center}.cdi-v29-task-list>a>span .cdi-icon{width:17px;height:17px}.cdi-v29-task-list>a>.cdi-icon{width:16px;color:#99a3b1}.cdi-v29-task-list div{display:flex;flex-direction:column;gap:2px}.cdi-v29-task-list strong{font-size:12px;color:var(--v29-navy)}.cdi-v29-task-list small{font-size:10.5px;color:var(--v29-copy);line-height:1.4}.cdi-v29-card-cta{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;margin-top:17px;padding:12px;border-radius:12px;background:var(--v29-navy);color:#fff;font-size:12px;font-weight:850}.cdi-v29-card-cta .cdi-icon{width:15px}.cdi-v29-complete-message{display:flex;align-items:center;gap:12px;padding:15px;border-radius:14px;background:var(--v29-green-soft);color:var(--v29-green-deep)}.cdi-v29-complete-message>.cdi-icon{width:25px}.cdi-v29-complete-message span{display:flex;flex-direction:column}.cdi-v29-complete-message strong{font-size:12px}.cdi-v29-complete-message small{font-size:10.5px;color:#4f7660}
.cdi-v29-enquiry-list{display:flex;flex-direction:column;margin-top:12px}.cdi-v29-enquiry-list>a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:13px 0;border-top:1px solid var(--v29-line);color:var(--v29-ink)}.cdi-v29-enquiry-list>a:first-child{border-top:0}.cdi-v29-enquiry-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--v29-green-soft);color:var(--v29-green-deep);font-size:13px;font-weight:900}.cdi-v29-enquiry-list div{display:flex;flex-direction:column;gap:3px}.cdi-v29-enquiry-list strong{font-size:12px;color:var(--v29-navy)}.cdi-v29-enquiry-list small{font-size:10.5px;color:var(--v29-copy)}.cdi-v29-enquiry-list time{font-size:10px;color:#8b96a7;font-weight:750}.cdi-v29-empty-pro{text-align:center;padding:35px 15px}.cdi-v29-empty-pro>.cdi-icon{width:36px;height:36px;color:#9aa6b5;margin-bottom:10px}.cdi-v29-empty-pro strong{display:block;font-size:13px;color:var(--v29-navy)}.cdi-v29-empty-pro p{font-size:11px;line-height:1.55;color:var(--v29-copy);max-width:310px;margin:6px auto 0}

/* Role chooser */
.cdi-role-page{background:radial-gradient(circle at top right,rgba(0,165,60,.12),transparent 34%),linear-gradient(180deg,#f5f8fb,#eef2f6)}
.cdi-role-page .topnav,.cdi-role-page .util,.cdi-role-page .site-footer,.cdi-role-page .ai-fab,.cdi-role-page .pwa-bottom-nav{display:none!important}
.cdi-role-shell{min-height:100vh;display:grid;place-items:center;padding:30px 20px}
.cdi-role-panel{width:min(760px,100%);background:rgba(255,255,255,.96);border:1px solid rgba(11,31,61,.08);border-radius:30px;padding:38px;box-shadow:0 30px 80px rgba(13,34,65,.12)}
.cdi-role-brand img{width:180px;height:auto}.cdi-role-panel>.cdi-role-kicker{margin-top:30px}.cdi-role-panel h1{font-size:clamp(32px,5vw,50px);line-height:1.06;letter-spacing:-.04em;color:var(--v29-navy);margin:8px 0 12px;font-weight:750}.cdi-role-panel>p{font-size:14px;line-height:1.7;color:var(--v29-copy);max-width:610px;margin:0}
.cdi-role-grid{display:grid;gap:12px;margin-top:28px}.cdi-role-card{appearance:none;width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;border:1px solid var(--v29-line);border-radius:18px;padding:17px;background:#fff;text-align:left;cursor:pointer;transition:.18s ease}.cdi-role-card:hover{transform:translateY(-2px);border-color:#afcbb9;box-shadow:0 12px 30px rgba(13,34,65,.08)}.cdi-role-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center}.cdi-role-icon .cdi-icon{width:23px;height:23px}.cdi-role-icon-learner{background:var(--v29-blue-soft);color:var(--v29-blue)}.cdi-role-icon-instructor{background:var(--v29-green-soft);color:var(--v29-green-deep)}.cdi-role-icon-school{background:#fff4e8;color:#b56618}.cdi-role-copy{display:flex;flex-direction:column;gap:4px}.cdi-role-copy strong{font-size:14px;color:var(--v29-navy)}.cdi-role-copy small{font-size:11.5px;line-height:1.5;color:var(--v29-copy)}.cdi-role-arrow .cdi-icon{width:18px;color:#97a1b0}.cdi-role-note,.cdi-role-signed-in{margin-top:18px;padding-top:16px;border-top:1px solid var(--v29-line);font-size:11px;line-height:1.6;color:#7a8698}.cdi-role-error{margin-top:16px;padding:12px 14px;border-radius:12px;background:#fff0f0;color:#9e2d2d;font-size:12px;font-weight:700}

/* Saved and enquiry pages */
.cdi-v29-page-intro{margin:34px 0 22px}.cdi-v29-page-intro h1{max-width:720px}
.cdi-v29-saved-list,.cdi-v29-enquiry-history{display:grid;gap:12px}
.cdi-v29-saved-card,.cdi-v29-history-card{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:16px;border:1px solid var(--v29-line);border-radius:18px;background:#fff;box-shadow:0 7px 24px rgba(13,34,65,.04)}
.cdi-v29-saved-card img{width:66px;height:66px;border-radius:15px;object-fit:cover;background:#edf1f5}.cdi-v29-saved-card-copy,.cdi-v29-history-card-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.cdi-v29-saved-card strong,.cdi-v29-history-card strong{font-size:13px;color:var(--v29-navy)}.cdi-v29-saved-card small,.cdi-v29-history-card small{font-size:10.5px;color:var(--v29-copy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdi-v29-saved-actions{display:flex;gap:8px}.cdi-v29-saved-actions a,.cdi-v29-saved-actions button{height:36px;border-radius:10px;border:1px solid var(--v29-line);background:#fff;color:var(--v29-navy);display:inline-flex;align-items:center;justify-content:center;padding:0 12px;font-size:10.5px;font-weight:800;cursor:pointer}.cdi-v29-saved-actions a{background:var(--v29-navy);color:#fff;border-color:var(--v29-navy)}.cdi-v29-history-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--v29-green-soft);color:var(--v29-green-deep)}.cdi-v29-history-icon .cdi-icon{width:20px}.cdi-v29-history-card time{font-size:10px;color:#8b96a7;font-weight:750}.cdi-v29-bottom-action{display:flex;justify-content:center;margin-top:24px}

/* Account settings */
.cdi-v29-account-identity{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,var(--v29-navy),var(--v29-navy-2));color:#fff;margin-bottom:16px}.cdi-v29-account-identity>div{display:flex;flex-direction:column;gap:2px}.cdi-v29-account-identity small{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:rgba(255,255,255,.55);font-weight:800}.cdi-v29-account-identity strong{font-size:13px}.cdi-v29-account-identity span{font-size:10.5px;color:rgba(255,255,255,.68)}.cdi-v29-account-identity>a{padding:9px 12px;border-radius:10px;background:#fff;color:var(--v29-navy);font-size:10px;font-weight:850}
.cdi-v29-account-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cdi-v29-settings-card{background:#fff;border:1px solid var(--v29-line);border-radius:20px;padding:20px;box-shadow:0 8px 28px rgba(13,34,65,.04)}.cdi-v29-settings-head{display:flex;align-items:flex-start;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--v29-line)}.cdi-v29-settings-head>span{width:40px;height:40px;border-radius:13px;background:var(--v29-blue-soft);color:var(--v29-blue);display:grid;place-items:center;flex:0 0 40px}.cdi-v29-settings-head .cdi-icon{width:20px}.cdi-v29-settings-head h2{font-size:15px;color:var(--v29-navy);margin:1px 0 3px}.cdi-v29-settings-head p{font-size:10.5px;line-height:1.45;color:var(--v29-copy);margin:0}.cdi-v29-current-workspace,.cdi-v29-permission-row,.cdi-v29-setting-row{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;padding-top:16px}.cdi-v29-current-workspace>span{width:36px;height:36px;border-radius:11px;background:var(--v29-green-soft);color:var(--v29-green-deep);display:grid;place-items:center}.cdi-v29-current-workspace .cdi-icon{width:18px}.cdi-v29-current-workspace>div,.cdi-v29-permission-row>div,.cdi-v29-setting-row>div{display:flex;flex-direction:column;gap:2px}.cdi-v29-current-workspace small,.cdi-v29-permission-row span,.cdi-v29-setting-row span{font-size:10px;color:var(--v29-copy)}.cdi-v29-current-workspace strong,.cdi-v29-permission-row strong,.cdi-v29-setting-row strong{font-size:12px;color:var(--v29-navy)}.cdi-v29-current-workspace>a,.cdi-v29-setting-row button{border:0;background:var(--v29-blue-soft);color:var(--v29-blue);border-radius:10px;padding:8px 10px;font-size:10px;font-weight:850}.cdi-v29-enable-push{width:100%;border:0;border-radius:11px;background:var(--v29-navy);color:#fff;padding:11px 13px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:850;margin-top:15px}.cdi-v29-enable-push .cdi-icon{width:16px}
.cdi-v29-preferences{display:flex;flex-direction:column;margin-top:10px}.cdi-v29-preferences label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:13px 0;border-top:1px solid var(--v29-line);cursor:pointer}.cdi-v29-preferences label>span{display:flex;flex-direction:column;gap:3px}.cdi-v29-preferences label strong{font-size:11.5px;color:var(--v29-navy)}.cdi-v29-preferences label small{font-size:9.7px;line-height:1.45;color:var(--v29-copy)}.cdi-v29-preferences input{position:absolute;opacity:0;pointer-events:none}.cdi-v29-preferences label>i{width:40px;height:23px;border-radius:999px;background:#d8dee7;position:relative;transition:.18s}.cdi-v29-preferences label>i:after{content:"";position:absolute;width:17px;height:17px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.18);transition:.18s}.cdi-v29-preferences input:checked+i{background:var(--v29-green)}.cdi-v29-preferences input:checked+i:after{transform:translateX(17px)}.cdi-v29-save-settings{border:0;border-radius:11px;background:var(--v29-green);color:#fff;padding:11px 13px;font-size:11px;font-weight:850;margin-top:10px}.cdi-v29-save-state{min-height:18px;font-size:9.5px;color:var(--v29-green-deep);font-weight:750;text-align:center;margin-top:5px}
.cdi-v29-account-links{display:flex;flex-direction:column}.cdi-v29-account-links>a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:13px 0;border-top:1px solid var(--v29-line);color:var(--v29-ink)}.cdi-v29-account-links>a:first-child{border-top:0}.cdi-v29-account-links>a>span{width:34px;height:34px;border-radius:11px;background:#f0f4f8;color:var(--v29-navy);display:grid;place-items:center}.cdi-v29-account-links>a>span .cdi-icon{width:16px}.cdi-v29-account-links>a>.cdi-icon{width:15px;color:#98a3b2}.cdi-v29-account-links>a>div{display:flex;flex-direction:column;gap:2px}.cdi-v29-account-links strong{font-size:11.5px;color:var(--v29-navy)}.cdi-v29-account-links small{font-size:9.7px;color:var(--v29-copy)}.cdi-v29-account-foot{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:18px;color:#7a8698}.cdi-v29-account-foot .cdi-icon{width:15px}.cdi-v29-account-foot p{font-size:10px;margin:0}

/* Desktop navigation is not replaced. The PWA nav is role-aware in standalone mode. */
@media (display-mode:standalone){
  .cdi-v29-app-shell{padding-bottom:110px}
  .pwa-bottom-nav{max-width:680px!important}
  .pwa-bottom-nav .pwa-nav-item{min-width:0}
}

@media(max-width:900px){
  .cdi-v29-action-grid{grid-template-columns:repeat(2,1fr)}
  .cdi-v29-pro-grid{grid-template-columns:1fr}
  .cdi-v29-pro-gateway{grid-template-columns:1fr;padding:36px}.cdi-v29-pro-gateway-art img{max-height:250px}
  .cdi-v29-account-layout{grid-template-columns:1fr}
}

@media(max-width:720px){
  .cdi-v29-app-shell{padding:12px 14px 104px}
  .cdi-v29-appbar{margin:0 -2px;border-radius:15px;padding:9px 10px;position:sticky;top:8px;z-index:30}
  .cdi-v29-appbar .cdi-app-wordmark img{height:34px;max-width:145px}
  .cdi-v29-workspace-chip{padding:8px;width:38px;height:38px;justify-content:center}.cdi-v29-workspace-chip span,.cdi-v29-workspace-chip .cdi-icon-chevron-down{display:none}
  .cdi-v29-welcome,.cdi-v29-pro-welcome{display:block;margin:23px 2px 18px}.cdi-v29-welcome h1,.cdi-v29-pro-welcome h1,.cdi-v29-page-intro h1{font-size:30px;line-height:1.12}.cdi-v29-welcome p,.cdi-v29-pro-welcome p,.cdi-v29-page-intro p{font-size:13px;line-height:1.62}.cdi-v29-mode-return{margin-top:15px;min-width:0}
  .cdi-v29-learner-hero{grid-template-columns:1fr;padding:24px 20px;border-radius:21px}.cdi-v29-learner-hero h2{font-size:27px}.cdi-v29-learner-hero p{font-size:12.5px}.cdi-v29-learner-hero-art{min-height:130px}.cdi-v29-learner-hero-art img{max-height:150px}.cdi-v29-learner-hero .cdi-app-hero-actions{display:grid;grid-template-columns:1fr}.cdi-v29-learner-hero .cdi-app-primary,.cdi-v29-learner-hero .cdi-app-secondary{width:100%;justify-content:center}
  .cdi-v29-learner-stats,.cdi-v29-pro-metrics{grid-template-columns:repeat(2,1fr);gap:9px;margin:12px 0 23px}.cdi-v29-learner-stats>a,.cdi-v29-pro-metrics>a{padding:13px 12px;border-radius:14px;gap:8px}.cdi-v29-learner-stats>a>span,.cdi-v29-pro-metrics>a>span{width:33px;height:33px}.cdi-v29-learner-stats strong,.cdi-v29-pro-metrics strong{font-size:18px}.cdi-v29-learner-stats small,.cdi-v29-pro-metrics small{font-size:9.5px}.cdi-v29-learner-stats>a:last-child{grid-column:1/-1}
  .cdi-v29-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cdi-v29-action-grid>a{min-height:142px;padding:15px;border-radius:15px}.cdi-v29-action-grid>a>span{width:37px;height:37px}.cdi-v29-action-grid strong{font-size:12px}.cdi-v29-action-grid small{font-size:9.8px;line-height:1.45}
  .cdi-v29-mini-grid{grid-template-columns:1fr}.cdi-v29-mini-grid>a{padding:13px}
  .cdi-v29-pro-gateway{display:flex;flex-direction:column;padding:24px 19px;border-radius:22px;gap:20px;margin-top:20px}.cdi-v29-pro-gateway-art img{max-height:170px}.cdi-v29-pro-gateway h1{font-size:29px}.cdi-v29-pro-gateway p{font-size:12.5px}.cdi-v29-gateway-actions{display:grid;grid-template-columns:1fr}.cdi-v29-gateway-actions a{width:100%;justify-content:center}
  .cdi-v29-pro-welcome{position:relative;padding-right:0}.cdi-v29-status{margin-top:13px}.cdi-v29-pro-metrics>a:last-child:nth-child(odd){grid-column:1/-1}
  .cdi-v29-completion-card,.cdi-v29-enquiry-card{padding:17px;border-radius:18px}.cdi-v29-card-head h2{font-size:16px}.cdi-v29-progress-orb{width:58px;height:58px;flex-basis:58px}.cdi-v29-task-list small{display:none}
  .cdi-role-shell{padding:14px}.cdi-role-panel{padding:24px 17px;border-radius:22px}.cdi-role-brand img{width:145px}.cdi-role-panel>.cdi-role-kicker{margin-top:22px}.cdi-role-panel h1{font-size:34px}.cdi-role-panel>p{font-size:12.5px}.cdi-role-card{padding:14px 12px;gap:11px}.cdi-role-icon{width:42px;height:42px;border-radius:13px}.cdi-role-copy strong{font-size:12.5px}.cdi-role-copy small{font-size:10px}
  .cdi-v29-page-intro{margin:23px 2px 17px}.cdi-v29-saved-card,.cdi-v29-history-card{grid-template-columns:auto 1fr;padding:13px;border-radius:15px}.cdi-v29-saved-card img{width:54px;height:54px}.cdi-v29-saved-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.cdi-v29-saved-actions a,.cdi-v29-saved-actions button{width:100%}.cdi-v29-history-card time{grid-column:2}
  .cdi-v29-account-identity{grid-template-columns:auto 1fr;padding:14px}.cdi-v29-account-identity>a{grid-column:1/-1;text-align:center}.cdi-v29-settings-card{padding:16px;border-radius:17px}
  .pwa-bottom-nav{grid-template-columns:repeat(6,1fr)!important;padding-left:4px!important;padding-right:4px!important;gap:0!important}.pwa-bottom-nav .pwa-nav-item{font-size:8px!important;padding:6px 1px!important}.pwa-bottom-nav .pwa-nav-item .cdi-icon{width:19px!important;height:19px!important}.pwa-bottom-nav .pwa-nav-match-btn{width:42px!important;height:42px!important}
}

@media(max-width:390px){
  .cdi-v29-action-grid{grid-template-columns:1fr}.cdi-v29-action-grid>a{min-height:auto}
  .cdi-v29-learner-stats,.cdi-v29-pro-metrics{grid-template-columns:1fr}.cdi-v29-learner-stats>a:last-child,.cdi-v29-pro-metrics>a:last-child{grid-column:auto}
  .pwa-bottom-nav .pwa-nav-item span{font-size:7.5px!important}
}
