/* Bridgecombe — Step 1 brand and shared unit chooser, 13 September 2026.
   The legacy colour aliases keep every existing consumer on the same palette.
   Mathematical attention/result and attainment meanings retain their own roles. */
:root{
  --bridge-brand:#6b46c8;
  --bridge-brand-deep:#5735ad;
  --bridge-brand-hover:#efe8ff;
  --bridge-brand-surface:#f7f3ff;
  --bridge-brand-line:#ded2fa;
  --bridge-brand-rgb:107,70,200;
  --bridge-blue:var(--bridge-brand);
  --bridge-blue-deep:var(--bridge-brand-deep);
  --bridge-blue-action:var(--bridge-brand);
  --bridge-blue-hover:var(--bridge-brand-deep);
  --bridge-blue-soft:var(--bridge-brand-hover);
  --home-blue-soft:var(--bridge-brand-surface);
  --purple:var(--bridge-brand);
  --purple-deep:var(--bridge-brand-deep);
  --purple-soft:var(--bridge-brand-hover);
  --shadow:0 16px 44px rgba(var(--bridge-brand-rgb),.08);
  --skill-panel-warm:#f8f5ef;
  --skill-panel-line:#e8e1d8;
  --skill-card-line:#e0dfea;
}
header.topbar,.pm-topbar,.impact-footer{
  background:linear-gradient(110deg,var(--bridge-brand),#6240bd);
}
.locale-switch button.on,.workspace.teach-design .teach-identity,.workspace.teach-design .support-btn,
.demo-simple .demo-card>.eyebrow{color:var(--bridge-brand)}
.demo-ctl:focus-visible{outline-color:var(--bridge-brand)}
.pm-brand span span,.topbar .brand span,.context-separator{color:var(--bridge-brand-hover)}

.wrap.home-prototype.bridgecombe-home{
  width:min(1544px,calc(100% - 40px));display:flex;flex-direction:column;
  min-height:calc(100svh - var(--layout-before,68px));
}
.home-prototype.bridgecombe-home .impact-hero{padding:18px 18px 16px}
.home-prototype.bridgecombe-home .hero-brand-panel{gap:20px}
.home-prototype.bridgecombe-home .hero-brand-logo{width:72px;height:72px;flex:none}
.home-prototype.bridgecombe-home .impact-hero h1{font-size:32px;color:var(--ink);line-height:1.15}
.home-prototype.bridgecombe-home .eyebrow{font-size:14px;color:#605874!important;margin-bottom:4px}
.home-prototype.bridgecombe-home .impact-expansion{font-size:16px!important;font-weight:400;line-height:1.4}
.home-prototype.bridgecombe-home .chooser{
  display:grid;grid-template-columns:minmax(0,2fr) minmax(310px,1fr);
  gap:14px;padding:12px;margin-bottom:28px;border-radius:24px;align-items:stretch;
}
.home-prototype.bridgecombe-home .skill-panel,
.home-prototype.bridgecombe-home .activity-panel{padding:16px;gap:14px;min-width:0;border-radius:18px}
.home-prototype.bridgecombe-home .skill-panel{background:var(--skill-panel-warm);border-color:var(--skill-panel-line)}
.home-prototype.bridgecombe-home .activity-panel{background:var(--bridge-brand-surface);border-color:var(--bridge-brand-line)}
.bridgecombe-home .chooser-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.home-prototype.bridgecombe-home .select-row h2,
.home-prototype.bridgecombe-home .activity-panel>h2{font-size:24px;line-height:1.2;margin:0}
.bridgecombe-home .skill-count{font-size:14px;color:#605874;white-space:nowrap}
.home-prototype.bridgecombe-home .skills{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:minmax(160px,auto);
  gap:12px;flex:0 0 auto;align-content:start;
}
.home-prototype.bridgecombe-home .skills .skill{
  display:grid;grid-template-rows:auto minmax(2.7em,1fr) auto auto;gap:10px;
  min-height:160px;height:100%;padding:14px 14px 0!important;
  border:1px solid var(--skill-card-line);border-radius:14px;background:#fff;color:#21243c;
  font-size:17px;line-height:1.3;overflow-wrap:normal;box-shadow:none;
}
.bridgecombe-home .skill-number{
  grid-row:1;display:grid;place-items:center;width:48px;height:48px;
  border-radius:50%;background:#eeeef0;font-size:24px;font-weight:700;line-height:1;
}
.bridgecombe-home .skill:has([data-progress-status=started]) .skill-number{background:var(--status-sky)}
.bridgecombe-home .skill:has([data-progress-status=developing]) .skill-number{background:var(--status-amber)}
.bridgecombe-home .skill:has([data-progress-status=secure]) .skill-number{background:var(--status-sage)}
.bridgecombe-home .skill:has([data-progress-status=mastery]) .skill-number{background:var(--status-gold)}
.home-prototype.bridgecombe-home .impact-skill-name{grid-row:2;line-height:1.3;font-weight:650}
.home-prototype.bridgecombe-home .skill .impact-status{
  grid-row:4;align-self:end;margin:0 -14px;padding:9px 14px;border-radius:0 0 13px 13px;
  font-size:14px;font-weight:500;min-width:0;
}
.home-prototype.bridgecombe-home .impact-availability{grid-row:3;font-size:13px}
.bridgecombe-home .impact-selection{top:14px;right:10px;font-size:12px;color:var(--bridge-brand-deep)}
.home-prototype.bridgecombe-home .skills .skill.on,
.home-prototype.bridgecombe-home .mode.activity-current{
  border-color:var(--bridge-brand);box-shadow:0 0 0 2px var(--bridge-brand);background:#fff;color:#21243c;
}
.home-prototype.bridgecombe-home .four-stages{grid-template-columns:1fr;grid-template-rows:repeat(4,minmax(88px,auto));gap:12px}
.home-prototype.bridgecombe-home .mode,
.home-prototype.bridgecombe-home .mode.featured{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44px;
  grid-template-rows:auto 1fr;column-gap:14px;row-gap:5px;
  padding:16px 18px;min-height:88px;border:1px solid var(--bridge-brand-line);border-radius:14px;
  background:#fff;color:#21243c;transform:none;
}
.home-prototype.bridgecombe-home .mode h3{grid-column:1;grid-row:1;font-size:22px;line-height:1.2;margin:0;font-weight:700}
.home-prototype.bridgecombe-home .mode p{grid-column:1;grid-row:2;font-size:15px;line-height:1.4;margin:0;color:#635b7c;min-height:0}
.home-prototype.bridgecombe-home .mode .activity-arrow{
  grid-column:2;grid-row:1 / 3;align-self:center;display:grid;place-items:center;
  width:44px;height:44px;border-radius:50%;background:var(--bridge-brand-surface);
  color:var(--bridge-brand);font-size:28px;line-height:1;font-weight:500;margin:0;
}
.home-prototype.bridgecombe-home .mode .activity-unavailable{grid-column:1 / -1;grid-row:3;font-size:13px}
.home-prototype.bridgecombe-home .mode:disabled .activity-arrow{visibility:hidden}
.home-prototype.bridgecombe-home .mode:disabled{color:#605874}
@media(hover:hover){
  .home-prototype.bridgecombe-home .mode:not(:disabled):hover{background:var(--bridge-brand-hover);transform:none}
  .home-prototype.bridgecombe-home .skill:not(:disabled):hover{border-color:var(--bridge-brand)}
}
.home-prototype.bridgecombe-home .skill:focus-visible,
.home-prototype.bridgecombe-home .mode:focus-visible{outline:3px dashed var(--bridge-brand-deep);outline-offset:5px}
.home-prototype.bridgecombe-home .impact-footer{
  grid-template-columns:.9fr 1.4fr 1.1fr .9fr;gap:24px;padding:22px max(24px,calc((100vw - 1508px)/2));
  margin-top:auto;font-size:13px;
}
.bridgecombe-home .impact-footer>*{min-width:0}
.bridgecombe-home .impact-footer p>span{white-space:normal}
.bridgecombe-home .footer-signature{font-size:26px;margin-top:6px}
@media(min-width:1101px){
  .bridgecombe-home .impact-footer .footer-legal,.bridgecombe-home .impact-footer .footer-website{
    border-left:1px solid #ffffff66;padding-left:24px;
  }
}
@media(min-width:1400px){
  .home-prototype.bridgecombe-home .skills .skill{font-size:19px;min-height:200px}
  .home-prototype.bridgecombe-home .mode{padding:20px;min-height:100px}
  .home-prototype.bridgecombe-home .mode h3{font-size:25px}
  .home-prototype.bridgecombe-home .mode p{font-size:17px}
}
@media(max-width:1100px){
  .home-prototype.bridgecombe-home .chooser{grid-template-columns:minmax(0,1.65fr) minmax(285px,1fr)}
  .home-prototype.bridgecombe-home .skills{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-prototype.bridgecombe-home .impact-footer{grid-template-columns:1fr 1fr}
}
@media(max-width:850px){
  .home-prototype.bridgecombe-home .chooser{grid-template-columns:1fr}
  .home-prototype.bridgecombe-home .skills{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-prototype.bridgecombe-home .four-stages{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
}
@media(max-width:560px){
  .wrap.home-prototype.bridgecombe-home{width:calc(100% - 20px)}
  .home-prototype.bridgecombe-home .impact-hero{padding:16px 4px}
  .home-prototype.bridgecombe-home .hero-brand-panel{gap:12px}
  .home-prototype.bridgecombe-home .hero-brand-logo{width:52px;height:52px}
  .home-prototype.bridgecombe-home .impact-hero h1{font-size:27px}
  .home-prototype.bridgecombe-home .impact-expansion{font-size:14px!important}
  .home-prototype.bridgecombe-home .chooser{padding:8px;gap:12px}
  .home-prototype.bridgecombe-home .skill-panel,.home-prototype.bridgecombe-home .activity-panel{padding:12px}
  .home-prototype.bridgecombe-home .skills{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .home-prototype.bridgecombe-home .skills .skill{font-size:16px;min-height:164px;padding:12px 12px 0!important}
  .home-prototype.bridgecombe-home .skill .impact-status{margin:0 -12px;padding:9px 12px}
  .bridgecombe-home .impact-selection{position:static;grid-row:3;text-align:right;font-size:12px}
  .home-prototype.bridgecombe-home .four-stages{grid-template-columns:1fr}
  .home-prototype.bridgecombe-home .mode{padding:16px;min-height:104px}
  .home-prototype.bridgecombe-home .impact-footer{grid-template-columns:1fr;padding:20px;gap:16px}
}
@media(max-width:350px){.home-prototype.bridgecombe-home .skills{grid-template-columns:1fr}}
@media(forced-colors:active){
  .home-prototype.bridgecombe-home .skills .skill.on,.home-prototype.bridgecombe-home .mode.activity-current{outline:3px solid Highlight}
  .bridgecombe-home .skill-number,.bridgecombe-home .activity-arrow{border:1px solid CanvasText}
}

/* Supplied-logo revision: learner purple; adult portals retain IMPACT blue. */
:root{--status-iris:#d6cbe9;--status-iris-ink:#49355f}
.home-prototype.bridgecombe-home .hero-brand-logo,.bridgecombe-square-logo,
.pm-brand img.bridgecombe-square-logo{border-radius:0;object-fit:contain;background:transparent}
.profile-card .portal-logo{width:88px;height:88px;object-fit:contain}
.profile-card .bridgecombe-square-logo{border-radius:0}
.portal-label{display:block;font-size:15px;font-weight:650;line-height:1.4;margin:6px 0 12px;color:var(--bridge-brand)}
.adult-topbar .portal-label{color:inherit;font-size:13px;margin:2px 0 0}
:root[data-bridgecombe-portal=parent],:root[data-bridgecombe-portal=educator]{
 --bridge-brand:#314b80;--bridge-brand-deep:#314b80;--bridge-brand-hover:#dfe8f6;
 --bridge-brand-surface:#f3f6fb;--bridge-brand-line:#d4deec;--bridge-brand-rgb:49,75,128;
}
html[data-bridgecombe-portal=parent] header.topbar,
html[data-bridgecombe-portal=educator] header.topbar{background:var(--bridge-brand)}

/* Subtle identity. 18 Oct (Martin): the corrected "Bridgecombe" badge arrives pre-cut (512x486), so the frame shows it whole; size and position unchanged. */
.bridgecombe-logo-crop{position:relative;display:inline-block;overflow:hidden;width:44px;aspect-ratio:512/486;flex:none;vertical-align:middle;background:transparent}
.bridgecombe-logo-crop>img,.home-prototype.bridgecombe-home .bridgecombe-logo-crop>.hero-brand-logo,.pm-brand .bridgecombe-logo-crop>img,.profile-card .bridgecombe-logo-crop>img{position:absolute;width:100%;height:100%;max-width:none;left:0;top:0;border:0;border-radius:0;background:transparent;object-fit:fill}
.home-prototype.bridgecombe-home .hero-brand-panel>.bridgecombe-logo-crop{width:64px}
.profile-card .portal-logo-crop{width:80px}
@media(max-width:560px){.home-prototype.bridgecombe-home .hero-brand-panel>.bridgecombe-logo-crop{width:48px}}
@media(hover:hover){
 .home-prototype.bridgecombe-home .mode:not(:disabled):hover{background:#6b46c8;color:#fff}
 .home-prototype.bridgecombe-home .mode:not(:disabled):hover h3,.home-prototype.bridgecombe-home .mode:not(:disabled):hover p{color:#fff}
 .home-prototype.bridgecombe-home .mode:not(:disabled):hover .activity-arrow{color:#fff;background:#ffffff20}
 .home-prototype.bridgecombe-home .mode.activity-current:not(:disabled):hover{box-shadow:0 0 0 2px #5735ad}
}

/* ===== Bridgecombe Learning sign-in (Martin 22 Oct 2026: the My Learning colours, DEC-0082) =====
   Every access screen (learner, parent, educator/admin sign-in, create family account, codes) is a
   .profile-card.access-card inside .profile-wrap: a navy band with gold arcs over ivory, a white card,
   Georgia headings, navy primary buttons, gold accents. */
.profile-wrap:has(.access-card){--bl-navy:#112040;--bl-gold:#c9a15a;--bl-gold-deep:#a27a33;--bl-gold-soft:#e3c78d;--bl-paper:#f9f5ec;--bl-rule:#e6dcc6;--bl-ink:#1b2431;--bl-soft:#4d5a68;
  min-height:100vh;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23c9a15a' stroke-linecap='round'%3E%3Cpath d='M520 300 C700 110 920 50 1200 30' stroke-width='2' opacity='.55'/%3E%3Cpath d='M590 300 C750 150 950 95 1200 85' stroke-width='1.3' opacity='.35'/%3E%3Cpath d='M660 300 C800 190 980 140 1200 140' stroke-width='1' opacity='.25'/%3E%3C/g%3E%3C/svg%3E") right top/70% 320px no-repeat,
  linear-gradient(180deg,#112040 0,#112040 320px,var(--bl-paper) 320px) !important}
.profile-card.access-card{background:#fff!important;border:1px solid var(--bl-rule)!important;border-radius:22px!important;box-shadow:0 28px 60px -30px rgba(17,32,64,.55)!important;color:var(--bl-ink)}
.profile-card.access-card .portal-seal{width:88px;height:auto;object-fit:contain;border-radius:0;filter:drop-shadow(0 8px 14px rgba(17,32,64,.18))}
.profile-card.access-card .portal-label{color:var(--bl-gold-deep)!important;font:600 11.5px/1 system-ui,-apple-system,"Segoe UI","PingFang SC",sans-serif!important;letter-spacing:.2em!important;text-transform:uppercase}
.profile-card.access-card .eyebrow{color:var(--bl-soft)!important;font-weight:600}
.profile-card.access-card h1{font-family:Georgia,"Times New Roman","Songti SC","STSong",serif!important;color:var(--bl-navy)!important;font-weight:600!important;letter-spacing:0!important}
.profile-card.access-card p,.profile-card.access-card .quiet{color:var(--bl-soft)}
.profile-card.access-card .btn-primary{background:var(--bl-navy)!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px -12px rgba(17,32,64,.7)!important}
.profile-card.access-card .btn-primary:hover{background:#15284f!important}
.profile-card.access-card .btn-secondary,.profile-card.access-card .btn-ghost{background:#fff!important;color:var(--bl-navy)!important;border:1px solid var(--bl-gold)!important;box-shadow:none!important}
.profile-card.access-card .btn-secondary:hover,.profile-card.access-card .btn-ghost:hover{background:#fbf3e2!important}
.profile-card.access-card a,.profile-card.access-card .mini-action{color:var(--bl-gold-deep)!important}
.profile-card.access-card input:focus,.profile-card.access-card select:focus{outline:2px solid var(--bl-gold)!important;outline-offset:1px;border-color:var(--bl-gold)!important}
.profile-card.access-card input[type=checkbox]{accent-color:var(--bl-navy)}
.profile-card.access-card .managed-access-actions{display:flex!important;flex-wrap:wrap;justify-content:center;gap:10px!important}
.profile-card.access-card .managed-access-actions .btn{margin:0!important}
.profile-card.access-card .managed-recovery-actions{gap:14px!important}
