/* The Consequence Engine Lab's look (the CE demo's colors, Inter, lockup).
   Every rule sits under html.ce-look: the demo host loads this file and must not change. */

/* 1. Tokens and base */
html.ce-look{ --navy:#071e48; --bg:#f3f5f8; --text:#17283d; --text-medium:#536279; --text-dim:#536279; --border:#d7dfe8; --wire-red:#a62c32; --wire-green:#176b43; --wire-running:#17633e; --wire-grey:#4c586a; --danger:#a62c32; --success:#176b43; --gold:#d8b65f; --sidebar-w:252px; --sans:'Inter','Segoe UI',system-ui,sans-serif; --radius:12px; --radius-sm:7px; --fs-xs:calc(12px * var(--fs-scale)); --fs-sm:calc(14px * var(--fs-scale)); --fs-md:calc(16px * var(--fs-scale)); --fs-lg:calc(18px * var(--fs-scale)); --lab-header-h:76px; --lab-wire-h:42px; --lab-dock-clear:112px; }
html.ce-look body{font-size:var(--fs-md);line-height:1.55;background:var(--bg)}
html.ce-look.lab-mode #lab-gate{background:var(--bg)}
html.ce-look.lab-mode #lab-gate .signin-brand{justify-content:center}
html.ce-look .lab-lockup{display:block;border-radius:0;width:220px;max-width:100%;height:54px;object-fit:contain}
/* The lockup picture has an opaque white background: on the door it sits on a deliberate white badge. The badge (not the picture) carries the padding, border and radius, and does not clip, so the picture's own corners stay square and whole. */
html.ce-look.lab-mode #lab-gate .signin-card[data-screen="door"] .signin-brand{box-sizing:border-box;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;padding:10px;background:#fff;border:1px solid var(--border);border-radius:10px}
html.ce-look.lab-mode .lab-brand-words{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* 2. The Lab's front door: two cards under the lockup; the later gate steps keep a single narrow card. (The Sandbox's gate cards are added in Task 6.) */
html.ce-look.lab-mode #lab-gate .signin-card[data-screen="door"]{max-width:920px;background:transparent;box-shadow:none;border:0;padding:0}
html.ce-look.lab-mode #lab-gate .signin-card[data-screen="step"]{max-width:480px;border-top:0;border:1px solid var(--border);border-radius:12px;box-shadow:none}
html.ce-look.lab-mode .lab-door{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
html.ce-look.lab-mode .lab-door-card{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px}
html.ce-look.lab-mode .lab-eyebrow{margin:0;font-size:calc(12px * var(--fs-scale));font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--text-medium)}
html.ce-look.lab-mode .lab-door-card h2{margin:0;font-size:calc(21px * var(--fs-scale));font-weight:750}
html.ce-look.lab-mode .lab-door-card .lede{margin:0}
html.ce-look.lab-mode .lab-door-card .btn-ms{margin-top:auto}
html.ce-look .join-go,html.ce-look .btn-ms{min-height:42px;border-radius:7px}
html.ce-look .join-go{background:var(--navy);color:#fff}
html.ce-look .join-go.wide[data-lab="join-seat"]{white-space:normal;line-height:1.25;padding-top:10px;padding-bottom:10px}
html.ce-look.lab-mode .lab-door-card .join-go{width:100%}
html.ce-look .join-role,html.ce-look .join-names input{min-height:44px;padding:11px 12px;border-radius:7px;border:1px solid var(--border)}
@media (max-width:860px){html.ce-look.lab-mode .lab-door{grid-template-columns:minmax(0,1fr)}}

/* 3. The chrome: the white header (the lockup, the lifecycle, the bar) and the status strip */
html.ce-look #lab-header{position:sticky;top:0;z-index:40;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;min-height:76px;box-sizing:border-box;padding:10px 24px;background:#fff;border-bottom:1px solid var(--border)}
html.ce-look .lh-brand{flex:0 0 auto;display:flex;align-items:center;min-width:0}
html.ce-look .lh-actions{display:flex;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0}
html.ce-look #lab-header .ce-bar{flex-wrap:wrap;justify-content:flex-end;margin-left:0}
html.ce-look #lab-life:empty{display:none}
html.ce-look #lab-life .fh-life{display:flex;gap:8px}
html.ce-look #lab-header .btn{min-height:42px}
/* The Demo's lifecycle colors: Start navy (the .btn-primary look), End solid #b42332 (both with white text; 6.51:1 on the red), and Pause / Resume white with #17283d text and #d7dfe8 border. */
html.ce-look #lab-life .fh-end,html.ce-look #lab-header .btn-danger{color:#fff;background:#b42332;border-color:#b42332}
html.ce-look #lab-life .fh-pause{color:var(--text);background:#fff;border-color:var(--border)}
/* A switched-off lifecycle button (Start while running, End after the end, all of them for an evaluator). The Demo fades its disabled buttons to .45 opacity, which reads 3.3:1 on these; here the fade is a muted colour of 4.5:1 or more, no transparency, and the not-allowed cursor stays. */
html.ce-look #lab-life .btn:disabled{opacity:1;cursor:not-allowed}
html.ce-look #lab-life .btn-primary:disabled{background:#5f7194;border-color:#5f7194;color:#fff}
html.ce-look #lab-life .btn-danger:disabled{background:#f5eeee;border-color:#e3d6d6;color:#7d5559}
html.ce-look #lab-life .fh-pause:disabled{background:#f3f5f8;border-color:#d7dfe8;color:#536279}
html.ce-look .lab-seat{position:relative}
html.ce-look #lab-seat-btn::after{content:"";display:inline-block;margin-left:8px;vertical-align:middle;border:4px solid transparent;border-top-color:currentColor;border-bottom-width:0}
html.ce-look .lab-seat-who{display:inline-block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
html.ce-look #lab-seat-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:45;min-width:260px;padding:10px 12px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-hover)}
html.ce-look #lab-seat-menu[hidden]{display:none}
/* The account menu (a facilitator's or evaluator's): the Demo's Facilitator button and its white card, right-aligned under the button, over the rows below, pushing nothing. */
html.ce-look .lab-acct{position:relative}
html.ce-look #lab-acct-btn::after{content:"";display:inline-block;margin-left:8px;vertical-align:middle;border:4px solid transparent;border-top-color:currentColor;border-bottom-width:0}
html.ce-look #lab-acct-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:45;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:2px;min-width:200px;padding:6px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #0002}
html.ce-look #lab-acct-menu[hidden]{display:none}
html.ce-look .lab-acct-who{margin:0;padding:6px 10px;font-size:calc(13px * var(--fs-scale));line-height:1.3;color:var(--text-medium);white-space:nowrap}
html.ce-look .lab-acct-who strong{font-weight:700;color:var(--text)}
html.ce-look #lab-header #lab-acct-menu .lab-acct-item{display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;text-align:left;white-space:nowrap;font-weight:650;border-color:transparent;background:transparent}
html.ce-look #lab-header #lab-acct-menu .lab-acct-item:hover{background:var(--bg)}
html.ce-look #lab-acct-menu [data-lab="signout"]{color:#99252c}

/* Between a phone and the full desktop (861-1399 px) the lockup shrinks and the actions wrap onto more rows, the header growing with them. A lifecycle button has one fixed box (wide enough, and in Español tall enough, for its armed words), so the first press moves nothing and the second lands on it. */
@media (min-width:861px){
  html.ce-look #lab-life .fh-life .btn{box-sizing:border-box;max-width:none;white-space:normal;line-height:1.2;justify-content:center;text-align:center} /* the box's size is section 10's */
}
@media (min-width:861px) and (max-width:1399px){
  html.ce-look #lab-header .lab-lockup{width:160px}
}

/* The page's own control bar: a slim right-aligned row, and none for a participant (the seat menu and the strip carry its pieces). */
html.ce-look #control-bar{position:static;background:transparent;border:0;backdrop-filter:none;padding:8px 0 0;justify-content:flex-end}
html.ce-look #control-bar .cb-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html.ce-look .cb-clock:empty{display:none}
html.ce-look .cb-clock > .sim-time{display:none}
html.ce-look body.view-participant #control-bar{display:none}
html.ce-look .fh-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* The status strip: Exercise, Current step, Your seat (and empty Round / Time slots until Task 7). */
html.ce-look #lab-strip{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;padding:8px 24px;background:#fff;border-bottom:1px solid var(--border)}
html.ce-look .ls-field{display:flex;align-items:center;gap:8px;min-width:0}
html.ce-look .ls-k{font-size:var(--fs-xs);font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--text-medium);white-space:nowrap}
html.ce-look .ls-step{display:inline-flex;align-items:center;gap:8px;min-width:0}
html.ce-look #lab-step-title{font-weight:700;color:var(--navy)}
html.ce-look #lab-strip #lab-ex-name{display:block;max-width:40ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-sm);font-weight:700;color:var(--navy)}
html.ce-look #lab-strip-round:empty,html.ce-look #lab-strip-time:empty{display:none}
html.ce-look body:not(.view-participant) #lab-strip-seat{display:none}

/* 4. The news bar (the Demo's bar, per-role colors and Pause button), the strip's finish and the breadcrumb */
html.ce-look #wire-bar{height:42px;padding:0 14px;gap:12px;font-size:calc(14px * var(--fs-scale));background:var(--wire-red)}
html.ce-look #wire-bar.started{background:var(--wire-running)}
html.ce-look #wire-bar.ended{background:var(--wire-grey)}
html.ce-look body.view-participant #wire-bar{background:#176b43}
html.ce-look body.view-participant #wire-bar.started{background:var(--wire-running)}
html.ce-look body.view-participant #wire-bar.ended{background:#555555}
html.ce-look #wire-bar .wire-tag{background:transparent;color:#fff;font-family:inherit;font-size:calc(12px * var(--fs-scale));font-weight:900;letter-spacing:1.2px;padding:0 12px 0 0;border-radius:0;border-right:1px solid rgba(255,255,255,.333)}
html.ce-look #wire-bar .wire-breaking,html.ce-look #wire-bar #wire-time{display:none}
html.ce-look #wire-bar .wire-track .hl{font-weight:750}
html.ce-look #wire-bar.is-ticker-paused .wire-track{animation-play-state:paused}
html.ce-look #wire-pause{flex:0 0 auto;margin-left:auto;box-sizing:border-box;height:42px;min-height:42px;padding:9px 13px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);font-family:inherit;font-size:calc(14px * var(--fs-scale));font-weight:650;line-height:1.2;white-space:nowrap;cursor:pointer}
html.ce-look #wire-pause:hover{border-color:var(--navy);background:#f3f5f8}
@media (prefers-reduced-motion:reduce){html.ce-look #wire-pause{display:none}}
html.ce-look.ce-a11y-motion #wire-pause{display:none}
html.ce-look #lab-strip{min-height:56px;gap:24px;padding:12px 24px}
html.ce-look #lab-strip .ls-k{display:block;font-size:calc(12px * var(--fs-scale));font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--text-medium)}
html.ce-look #lab-strip .ls-field{flex-direction:column;align-items:flex-start;gap:2px}
html.ce-look #lab-strip #lab-ex-name,html.ce-look #lab-strip #lab-strip-round-val,html.ce-look #lab-strip #lab-step-title,html.ce-look #lab-strip #lab-strip-seat-who{font-size:calc(15px * var(--fs-scale));font-weight:700;color:var(--text)}
html.ce-look #lab-strip #lab-strip-clock-val{font-size:calc(20px * var(--fs-scale));font-weight:700;color:var(--navy);font-variant-numeric:tabular-nums}
html.ce-look #lab-strip .ls-step{display:flex;align-items:center;gap:6px}
html.ce-look #step-bar{gap:10px}
html.ce-look #step-bar .round-control{flex:0 0 auto}
html.ce-look #step-bar .round-control button,html.ce-look #step-bar .step-arrow{min-height:42px;min-width:42px}
html.ce-look #step-bar #round-badge{font-size:calc(15px * var(--fs-scale));font-weight:700;color:var(--text);background:#e8eef6;white-space:nowrap}
html.ce-look #ov-sim-slot{margin:6px 0 8px}
html.ce-look #ov-sim-slot .sim-time{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;white-space:normal}
html.ce-look #ov-sim-slot .sim-label{font-size:calc(12px * var(--fs-scale));font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--text-medium)}
html.ce-look #ov-sim-slot #sim-time{font-family:inherit;font-size:calc(15px * var(--fs-scale));font-weight:700;color:var(--text);font-variant-numeric:tabular-nums}
html.ce-look .lab-crumb{margin:0;padding:14px 32px 0;font-size:calc(12px * var(--fs-scale));font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--text-medium)}
/* The wordmark's x in the breadcrumb: .72em of the 12px crumb is 8.64px; .82em is 9.84px, not smaller than the 9.72px recorded at base (floors) */
html.ce-look #lab-crumb .endex-x{font-size:.82em}
html.ce-look #lab-strip .ls-field{max-width:100%}
html.ce-look #lab-strip #lab-ex-name{max-width:min(40ch,100%)}

/* 5. The menu and the workspace */
html.ce-look{--lab-dock-clear:112px}
html.ce-look .sidebar{background:#071e48;border-right:0;padding:20px 14px}
html.ce-look .sidebar::before{display:none}
html.ce-look .brand{display:none}
html.ce-look .sidebar-label{display:none}
html.ce-look .nav-group{display:flex;flex-direction:column;gap:2px}
html.ce-look .nav-group-label{font-family:inherit;font-size:calc(12px * var(--fs-scale));font-weight:800;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;color:#afc3df;padding:20px 12px 6px}
html.ce-look .nav-item{min-height:42px;padding:10px 12px;border-radius:7px;font-size:calc(15px * var(--fs-scale));font-weight:600;line-height:1.35;color:#e9f0fa;gap:10px}
html.ce-look #sidebar :is(.nav-item,#lab-life,#lab-seat){scroll-margin-block:8px}
html.ce-look .nav-item:hover{background:#1b355a;transform:none}
html.ce-look .nav-item.active{background:#243f68;color:#fff;box-shadow:none}
/* The EndEx wordmark's red x on the navy menu: a lighter red, 4.5:1 or more on the navy, the hover and the active rows (the page's own red is 2.35:1 there) */
html.ce-look .sidebar .nav-item .endex-x,html.ce-look .sidebar .nav-item:hover .endex-x,html.ce-look .sidebar .nav-item.active .endex-x{color:#ff8f9b}
html.ce-look .sidebar-foot{font-size:calc(13px * var(--fs-scale));color:#b9cbe4}
html.ce-look .nav-item svg{background:transparent;padding:0;width:18px;height:18px}
html.ce-look .nav-item.active svg{background:transparent;color:#fff;box-shadow:none}
html.ce-look .nav-item.nav-sub{margin-left:14px;width:calc(100% - 14px);min-height:42px;font-size:calc(15px * var(--fs-scale))}
html.ce-look .nav-badge{background:#a62c32}
html.ce-look .page-stack{padding:28px 32px max(var(--lab-dock-clear),var(--lab-teddy-clear,0px))}
html.ce-look .page{max-width:1440px;margin:0 auto}
html.ce-look .card{padding:22px;border:1px solid var(--border);border-radius:12px;box-shadow:0 2px 5px #17304a04}
html.ce-look .fac-head{top:-28px;border-radius:12px}
html.ce-look .step-bar{border-radius:12px}
html.ce-look .page-title,html.ce-look h1.fh-name{font-size:calc(30px * var(--fs-scale));font-weight:750;letter-spacing:-.025em}
html.ce-look [data-lang-switch] .view-btn,html.ce-look #seat-leave{min-height:42px;border-radius:7px}
html.ce-look .btn,html.ce-look .btn-sm{min-height:42px;padding:9px 13px;border-radius:7px;font-weight:650}
html.ce-look .btn{font-size:var(--fs-sm);line-height:1.35}
html.ce-look .btn-sm{font-size:var(--fs-xs)} /* the page's compact button keeps its smaller type */
html.ce-look .btn-primary{background:var(--navy);color:#fff;border-color:var(--navy)}
html.ce-look .btn-danger{color:#9c272e;background:#fff6f6;border-color:#e8bfc2}
html.ce-look body :focus-visible,html.ce-look #lab-new :is(button,select,input,a):focus-visible,html.ce-look .fac-head button:focus-visible,html.ce-look .seat-chip button:focus-visible,html.ce-look :is(.join-go,.join-alt,.join-role,.join-back,.join-reveal):focus-visible{outline:3px solid #1772d6;outline-offset:3px}
/* The page's older focus styles (index.html 173, 231, 397, 424, 564-565, 623, 631, 740, 748, 761, 1225, 1280) give way to the Lab's ring. */
html.ce-look body .step-arrow:focus-visible,html.ce-look body .prov:focus-visible,html.ce-look body .team-card button:focus-visible,html.ce-look body .team-dialog button:focus-visible,html.ce-look body .demo-row:focus-visible,html.ce-look body .fac-head button:focus-visible,html.ce-look body .fac-head .seat-chip button:focus-visible,html.ce-look body .fac-page .ws-fold:focus-visible,html.ce-look body .fac-page .ws-tools button:focus-visible,html.ce-look body .fac-page .ws-note button:focus-visible,html.ce-look body .fac-page .acc-header:focus-visible,html.ce-look body .fac-page .loc-grid .btn:focus-visible,html.ce-look body #loc-review-card:focus-visible,html.ce-look body .fac-page .details-edit :is(button,input):focus-visible,html.ce-look body .fac-page .details-dash a:focus-visible,html.ce-look body .fac-page .exercise-row:focus-visible,html.ce-look body .join-go:focus-visible,html.ce-look body .join-alt:focus-visible,html.ce-look body .join-role:focus-visible,html.ce-look body .join-back:focus-visible,html.ce-look body .join-reveal:focus-visible,html.ce-look body .seat-chip button:focus-visible,html.ce-look body #lab-new :is(button,select,input,a):focus-visible{outline:3px solid #1772d6;outline-offset:3px;box-shadow:none}
@media (max-width:640px){
  html.ce-look .card{padding:16px}
  html.ce-look .page-title,html.ce-look h1.fh-name{font-size:calc(24px * var(--fs-scale))}
}
@media (max-width:860px){
  html.ce-look .page-stack{padding:20px 16px var(--lab-dock-clear)}
}

/* 6. Phones (860 px and below): one Menu button; the real #sidebar is a slide-over drawer that also holds the header's buttons. */
html.ce-look #lab-menu-btn,html.ce-look #lab-drawer-close,html.ce-look #lab-scrim{display:none}
html.ce-look #lab-drawer-actions:empty{display:none}
@media (max-width:860px){
  html.ce-look{--lab-dock-clear:156px}
  html.ce-look #lab-header{height:60px;min-height:60px;padding:0 16px;flex-wrap:nowrap}
  html.ce-look #lab-header .lab-lockup{width:150px}
  html.ce-look #lab-menu-btn{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}
  html.ce-look .app-shell{display:block}
  html.ce-look #sidebar{position:fixed;top:0;left:0;bottom:0;height:100dvh;width:min(86vw,340px);z-index:55;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;padding:12px 12px 24px;border-bottom:0;transform:translateX(-102%);visibility:hidden;transition:transform .2s ease,visibility 0s linear .2s}
  html.ce-look body.lab-drawer-open #sidebar{transform:none;visibility:visible;transition:transform .2s ease}
  html.ce-look .sidebar-label{display:none}
  html.ce-look #nav{display:flex;flex-direction:column;flex:0 0 auto;overflow:visible;gap:2px}
  html.ce-look .nav-item,html.ce-look .nav-item.nav-sub{flex-direction:row;justify-content:flex-start;width:100%;min-width:0;white-space:normal;text-align:left;font-size:calc(15px * var(--fs-scale))}
  html.ce-look .nav-item.nav-sub{margin-left:14px;width:calc(100% - 14px)}
  html.ce-look .nav-badge{position:static;margin-left:auto}
  html.ce-look #lab-drawer-close{display:inline-flex;align-items:center;justify-content:center;align-self:flex-end;min-height:42px;min-width:42px}
  html.ce-look #lab-drawer-actions{display:block;margin-top:16px;padding-top:16px;border-top:1px solid #243f68}
  html.ce-look #lab-drawer-actions .lh-actions,html.ce-look #lab-drawer-actions .ce-bar,html.ce-look #lab-drawer-actions #lab-life .fh-life,html.ce-look #lab-drawer-actions .lab-seat,html.ce-look #lab-drawer-actions .lab-acct,html.ce-look #lab-drawer-actions #lab-acct-menu{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:10px;width:100%;max-width:100%;min-width:0;margin:0}
  html.ce-look #lab-drawer-actions .ce-bar > .btn,html.ce-look #lab-drawer-actions .fh-life .btn{flex:0 0 auto;width:100%;min-width:0;max-width:100%;white-space:normal;justify-content:center;text-align:center}
  html.ce-look #lab-drawer-actions [data-lang-switch]{display:flex;width:100%}
  html.ce-look #lab-drawer-actions [data-lang-switch] .view-btn{flex:1;justify-content:center}
  html.ce-look #lab-drawer-actions #lab-life:empty{display:none}
  html.ce-look #lab-seat-btn{display:none}
  /* The account menu is listed inline in the drawer (the signed-in line, Member site); the header's own Sign out is the one Sign out shown, so the button and the menu's Sign out are not drawn. */
  html.ce-look #lab-acct-btn,html.ce-look #lab-acct-menu .lab-acct-item[data-lab="signout"]{display:none}
  html.ce-look #lab-acct-menu{position:static;min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
  html.ce-look #lab-drawer-actions .lab-acct-item{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;text-align:center;white-space:normal}
  html.ce-look #lab-drawer-actions .lab-acct-who{padding:0 4px;text-align:center;white-space:normal;color:#c9d8ee}
  html.ce-look #lab-drawer-actions .lab-acct-who strong{color:#fff}
  html.ce-look #lab-seat-menu{position:static;min-width:0;box-shadow:none}
  @media (prefers-reduced-motion:reduce){html.ce-look #sidebar,html.ce-look body.lab-drawer-open #sidebar{transition:none}}
  html.ce-look #lab-scrim{position:fixed;inset:0;z-index:54;background:rgba(7,30,72,.55)}
  html.ce-look body.lab-drawer-open #lab-scrim{display:block}
  html.ce-look body.lab-drawer-open{overflow:hidden}
  /* The strip: the exercise on its own first line (label and name side by side), then the round, time remaining, step and seat. */
  html.ce-look #lab-strip{padding:6px 16px;gap:4px 12px}
  html.ce-look #lab-strip #lab-strip-time{order:1;margin-left:0} /* Time remaining beside Round; Current step takes the line under them */
  html.ce-look #lab-strip #lab-strip-step{order:2}
  html.ce-look #lab-strip #lab-strip-seat{order:3;flex:1 1 150px} /* a player's seat takes what is left beside the step and wraps rather than runs off */
  html.ce-look #lab-strip #lab-strip-seat-who{white-space:normal;overflow-wrap:anywhere}
  html.ce-look #lab-strip .ls-k{line-height:1.1}
  html.ce-look #lab-strip #lab-strip-exercise{flex:1 0 100%;flex-direction:row;align-items:baseline;gap:8px}
  html.ce-look #step-bar{flex-wrap:wrap;gap:8px 6px}
  html.ce-look #step-bar .round-control{flex:1 0 100%;justify-content:flex-start}
  html.ce-look #step-bar #step-wrap{flex:1 1 0;min-width:0}
  html.ce-look #step-bar #round-badge{padding:4px 8px}
  html.ce-look #wire-bar .wire-breaking,html.ce-look #wire-bar .wire-viewall{display:none}
}

/* 7. Learning with Teddy, as the Demo's Teddy (Task T1b; every number is the Demo's own, measured RENDERED at 1312 x 700 and 390 x 844). Teddy stands where the Demo's Teddy stands: right offset 164 px (146 px on a phone) and bottom offset 7 px (3 px), so the corner to his right, where the Demo has its Team Chat button, is empty here until Team Chat comes; --lab-teddy-right is the ONE place that offset is written. R54: a Demo text size under the Lab's 12 px floor is 12 px here (kicker 9, "?" 11, "Tip N of M" 11); buttons have the Demo's height from 861 px, the Lab's touch height below. */
html.ce-look{--lab-teddy-right:164px}
html.ce-look body.gated #lab-dock,html.ce-look.lab-mode:not(.lab-exercise) #lab-dock,html.ce-look.lab-mode:not(.lab-exercise) #lab-teddy{display:none!important}
html.ce-look #lab-dock{position:fixed;right:var(--lab-teddy-right);bottom:7px;z-index:50}
html.ce-look .lt-launch{position:relative;display:block;width:74px;height:94px;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}
html.ce-look .lt-launch img{display:block;width:74px;height:94px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 6px 9px rgba(17,29,53,.24))}
html.ce-look .lt-dot{position:absolute;top:5px;right:0;box-sizing:border-box;width:19px;height:19px;display:flex;align-items:center;justify-content:center;border:2px solid #fff;border-radius:50%;background:#d7b34a;color:#10213a;font-size:calc(12px * var(--fs-scale));font-weight:900;line-height:1;box-shadow:0 3px 10px rgba(0,0,0,.2)}
html.ce-look #lab-teddy[hidden]{display:none}
html.ce-look #lab-teddy:not([hidden]){position:fixed;right:calc(var(--lab-teddy-right) - 10px);bottom:8px;z-index:62;width:min(430px,calc(100vw - 16px));display:grid;grid-template-columns:170px minmax(0,1fr);align-items:end;filter:drop-shadow(0 16px 28px rgba(0,0,0,.28));transform-origin:bottom right;animation:lt-grow .16s ease-out} /* above the side panels (z 61): the guide stays usable while Show me has one open. Teddy grows from the corner he stands in */
html.ce-look #lab-teddy.lt-tall{max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain} /* set by the script only when the bubble is taller than the window: it scrolls inside itself */
html.ce-look #lab-teddy .lt-pic{grid-column:1;grid-row:1;position:relative;z-index:2;pointer-events:none}
html.ce-look #lab-teddy .lt-pic img{display:block;width:170px;height:215px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(17,29,53,.22))}
html.ce-look #lab-teddy .lt-bubble{grid-column:2;grid-row:1;position:relative;box-sizing:border-box;margin:0 0 24px -9px;padding:18px 20px 15px;background:#fff;border:2px solid #94c9f4;border-radius:22px;box-shadow:0 12px 30px rgba(17,29,53,.18);color:var(--text)}
html.ce-look #lab-teddy .lt-bubble::before{content:"";position:absolute;left:-17px;bottom:39px;box-sizing:content-box;width:30px;height:30px;background:#fff;border:0 solid #94c9f4;border-width:0 0 2px 2px;transform:rotate(45deg);pointer-events:none} /* the tail: a turned square, pointing left at Teddy */
html.ce-look body.lab-teddy-open .lt-launch{visibility:hidden} /* one Teddy at a time */
@keyframes lt-grow{from{transform:scale(.6)}to{transform:none}}
@media (prefers-reduced-motion:reduce){html.ce-look #lab-teddy:not([hidden]){animation:none}}
html.ce-look.ce-a11y-motion #lab-teddy:not([hidden]){animation:none} /* the Lab's own Reduce motion switch counts as the system's setting */
html.ce-look #lab-teddy .lt-kicker{margin:0 34px 5px 0;font-size:calc(12px * var(--fs-scale));font-weight:900;letter-spacing:.12em;line-height:1.2;text-transform:uppercase;color:#5b6d80}
html.ce-look #lab-teddy-title{margin:0 34px 7px 0;font-size:calc(20px * var(--fs-scale));font-weight:750;letter-spacing:-.01em;line-height:1.18;color:#102654}
html.ce-look #lab-teddy-title:focus{outline:none}
html.ce-look #lab-teddy-title:focus-visible{outline:3px solid #1772d6;outline-offset:3px;border-radius:4px}
html.ce-look #lab-teddy-body{margin:0;font-size:calc(13px * var(--fs-scale));line-height:1.44;color:#34485f}
html.ce-look #lab-teddy .lt-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
html.ce-look #lab-teddy .lt-count{margin:12px 0 0;padding:10px 0 0;border-top:1px solid #dbe7f2;font-size:calc(12px * var(--fs-scale));font-weight:750;line-height:1.55;color:#647386}
html.ce-look #lab-teddy .lt-min{position:absolute;top:9px;right:9px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:30px;min-width:30px;height:42px;min-height:42px;padding:0;line-height:1;font-size:calc(14px * var(--fs-scale))}
@media (min-width:861px){
  html.ce-look #lab-teddy .lt-actions .btn,html.ce-look #lab-teddy .lt-choices .btn{min-height:0;padding:9px 13px;font-size:calc(14px * var(--fs-scale));line-height:1.35}
}
html.ce-look .side-body{padding-bottom:max(28px,var(--lab-teddy-clear,0px))} /* an open panel's last controls scroll clear of the open guide (set on a desktop only) */
html.ce-look .lab-teddy-focus{outline:3px solid #2ec9ee!important;outline-offset:4px!important;box-shadow:0 0 0 6px rgba(46,201,238,.17)!important;border-radius:8px!important;position:relative;z-index:1} /* !important as the Demo's own: an item's active-page marker must not hide the glow */ /* the Demo's highlight (kept 4.2 s by the script) */
html.ce-look .toast-stack{bottom:var(--lab-dock-clear)}
@media (max-width:860px){
  html.ce-look{--lab-teddy-right:146px}
  html.ce-look #lab-dock{bottom:3px}
  html.ce-look .lt-launch{width:64px;height:82px}
  html.ce-look .lt-launch img{width:64px;height:82px}
  html.ce-look #lab-teddy:not([hidden]){right:8px;bottom:70px;width:min(374px,calc(100vw - 16px));grid-template-columns:105px minmax(0,1fr)}
  html.ce-look #lab-teddy.lt-tall{max-height:calc(100dvh - 78px)}
  html.ce-look #lab-teddy .lt-pic img{width:105px;height:142px}
  html.ce-look #lab-teddy .lt-bubble{margin-bottom:14px;padding:15px 15px 13px}
  html.ce-look #lab-teddy .lt-kicker,html.ce-look #lab-teddy-title{margin-right:42px}
  html.ce-look #lab-teddy-title{font-size:calc(17px * var(--fs-scale))}
  html.ce-look #lab-teddy-body{font-size:calc(12px * var(--fs-scale))}
  html.ce-look #lab-teddy .lt-min{width:42px;min-width:42px}
  html.ce-look body.lab-teddy-open #lab-dock{visibility:hidden}
  html.ce-look body.lab-drawer-open #lab-dock{display:none}
}

/* 7b. Teddy as a help companion (Task TC; docs/superpowers/specs/2026-11-27-teddy-companion-design.md). The bubble's three views, the tooltip, the status line, the secondary button, the moods and the ring. The measured look above is untouched: these rules only add parts. */
html.ce-look #lab-teddy [hidden]{display:none!important} /* the views switch parts with the hidden attribute; a button's own display must not show them */
html.ce-look #lab-teddy .lt-answer{display:block}
html.ce-look #lab-teddy .lt-status{margin:0}
html.ce-look #lab-teddy .lt-status:not(:empty){margin:10px 0 0;padding:7px 11px;border:1px solid #e5d49c;border-radius:4px;background:#fbf6e6;font-size:calc(13px * var(--fs-scale));line-height:1.4;color:#34485f} /* one plain line; a live region that is empty takes no room */
html.ce-look .fac-page .loc-setup{border:1px solid #e6c690}
html.ce-look #lab-teddy .lt-choices{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:14px}
html.ce-look #lab-teddy .lt-choices .btn{justify-content:flex-start;text-align:left}
/* 1312x700 (Larger text on), Teddy choices bubble, #lab-teddy .lt-choices .btn: long Russian choice labels overflowed the bubble horizontally by 17 px with nowrap; wrapping keeps zero sideways scroll without shrinking font size (Task 19 fit gate). */
html.ce-look:lang(ru) #lab-teddy .lt-choices .btn{white-space:normal}
html.ce-look #lab-teddy .lt-choices .lt-animate{align-self:flex-start;margin-top:2px;justify-content:center;background:#f3f7fb;border-color:#d7dfe8;color:#34485f;font-weight:600} /* secondary: lighter than the four choices */
html.ce-look #lab-teddy .lt-actions .btn{white-space:normal}
html.ce-look #lab-teddy.lt-aside:not([hidden]){right:auto;left:276px;transform-origin:bottom left} /* Show me outlined something the guide covers: it stands at the left of the content area (the menu is 260 px) for as long as the outline shows */
html.ce-look #lab-dock .lt-tip{position:absolute;right:calc(100% + 6px);bottom:34px;z-index:1;padding:6px 11px;border-radius:8px;background:#102654;color:#fff;font-size:calc(13px * var(--fs-scale));font-weight:650;line-height:1.3;white-space:nowrap;pointer-events:none;box-shadow:0 6px 16px rgba(17,29,53,.25)} /* beside the button, never over it */
html.ce-look #lab-dock .lt-tip[hidden]{display:none}
html.ce-look .lt-launch:focus{outline:none}
html.ce-look .lt-launch:focus-visible{outline:3px solid #1772d6;outline-offset:3px;border-radius:14px} /* a keyboard focus: 4.7:1 on the page's white and light grey */
/* Moods: whole-figure movement of the one picture, by transform only (translate, rotate, a uniform scale), on the docked picture and on the big one while the bubble is open. will-change only while one runs. */
html.ce-look body:not(.lab-teddy-open) #lab-dock[data-teddy-move] .lt-launch img,html.ce-look body:has(#lab-dock[data-teddy-move]) #lab-teddy .lt-pic img,html.ce-look body:not(.lab-teddy-open) #lab-dock[data-teddy-mood="attentive"] .lt-launch img{transform-origin:50% 100%;will-change:transform}
html.ce-look body:not(.lab-teddy-open) #lab-dock[data-teddy-mood="attentive"]:not([data-teddy-move]) .lt-launch img{animation:lt-attend .18s ease-out forwards}
html.ce-look #lab-dock[data-teddy-mood="attentive"] .lt-dot{animation:lt-ping .7s ease-out 1}
html.ce-look body:not(.lab-teddy-open) #lab-dock[data-teddy-move="tilt"] .lt-launch img{animation:lt-tilt 1s ease-in-out}
html.ce-look body:not(.lab-teddy-open) #lab-dock[data-teddy-move="bob"] .lt-launch img{animation:lt-bob .8s ease-in-out}
html.ce-look body:not(.lab-teddy-open) #lab-dock[data-teddy-move="perk"] .lt-launch img{animation:lt-perk .9s ease-in-out}
html.ce-look body:not(.lab-teddy-open) #lab-dock[data-teddy-move="hop"] .lt-launch img,html.ce-look body:has(#lab-dock[data-teddy-move="hop"]) #lab-teddy .lt-pic img{animation:lt-hop .5s ease-in-out}
html.ce-look body:not(.lab-teddy-open) #lab-dock[data-teddy-move="wiggle"] .lt-launch img,html.ce-look body:has(#lab-dock[data-teddy-move="wiggle"]) #lab-teddy .lt-pic img{animation:lt-wiggle 1s ease-in-out}
html.ce-look body:not(.lab-teddy-open) #lab-dock[data-teddy-move="peek"] .lt-launch img,html.ce-look body:has(#lab-dock[data-teddy-move="peek"]) #lab-teddy .lt-pic img{animation:lt-peek .8s ease-in-out}
html.ce-look body:not(.lab-teddy-open) #lab-dock[data-teddy-move="nod"] .lt-launch img,html.ce-look body:has(#lab-dock[data-teddy-move="nod"]) #lab-teddy .lt-pic img{animation:lt-nod .35s ease-in-out}
html.ce-look body:not(.lab-teddy-open) #lab-dock[data-teddy-move="lean"] .lt-launch img,html.ce-look body:has(#lab-dock[data-teddy-move="lean"]) #lab-teddy .lt-pic img{animation:lt-lean .4s ease-in-out}
@keyframes lt-attend{to{transform:translateY(-2px) scale(1.04)}}
@keyframes lt-ping{from{box-shadow:0 0 0 0 rgba(215,179,74,.65),0 3px 10px rgba(0,0,0,.2)}to{box-shadow:0 0 0 9px rgba(215,179,74,0),0 3px 10px rgba(0,0,0,.2)}}
@keyframes lt-tilt{0%,100%{transform:rotate(0)}40%{transform:rotate(3deg)}70%{transform:rotate(-1.5deg)}}
@keyframes lt-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes lt-perk{0%,100%{transform:scale(1)}50%{transform:scale(1.03)}}
@keyframes lt-hop{0%,100%{transform:translateY(0)}45%{transform:translateY(-14px)}}
@keyframes lt-wiggle{0%,100%{transform:rotate(0)}12.5%{transform:rotate(-6deg)}37.5%{transform:rotate(6deg)}62.5%{transform:rotate(-6deg)}87.5%{transform:rotate(6deg)}}
@keyframes lt-peek{0%,100%{transform:translateY(0)}40%,60%{transform:translateY(10px)}}
@keyframes lt-nod{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(4px) rotate(2deg)}}
@keyframes lt-lean{0%,100%{transform:rotate(0)}50%{transform:rotate(3deg) translateX(3px)}}
/* Less motion (the system's setting, or the Lab's own switch: the class ce-a11y-motion): nothing moves; the soft gold ring shows the mood instead (attentive, explaining, encouraging, and Animate Teddy), nothing for idle. */
@media (prefers-reduced-motion:reduce){
  html.ce-look #lab-dock .lt-launch img,html.ce-look #lab-teddy .lt-pic img,html.ce-look #lab-dock .lt-dot{animation:none!important;will-change:auto!important}
}
html.ce-look.ce-a11y-motion #lab-dock .lt-launch img,html.ce-look.ce-a11y-motion #lab-teddy .lt-pic img,html.ce-look.ce-a11y-motion #lab-dock .lt-dot{animation:none!important;will-change:auto!important}
html.ce-look #lab-dock[data-teddy-ring] .lt-launch{border-radius:22px;box-shadow:0 0 0 4px rgba(215,179,74,.85)}
html.ce-look body:has(#lab-dock[data-teddy-ring]) #lab-teddy .lt-pic{border-radius:28px;box-shadow:0 0 0 4px rgba(215,179,74,.85)}

/* 8. Lab exceptions */
/* (A seated player's English | Español switch stays in the header and the drawer, locked to the exercise's language by the page.) */
/* The language-load notice (sandbox-i18n.v1.js, the Lab only): a status element that is in the page from the start, empty and visually hidden by the page's own .sr-only (never display:none, so a screen reader announces the text that arrives); when a language could not be loaded it holds a short line, loses .sr-only and shows at the bottom of the window, 13 px (above the 12 px floor), above the dialogs (z 200). */
html.ce-look #lang-notice.sr-only{position:fixed;top:auto;bottom:0;left:0} /* anchored at the bottom where the notice shows so the 1px sr-only live region never sits above #wire-bar */
html.ce-look #lang-notice:not(.sr-only){position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:300;box-sizing:border-box;max-width:min(520px,calc(100vw - 32px));padding:10px 16px;border-radius:8px;background:var(--navy);color:#fff;font-size:calc(13px * var(--fs-scale));font-weight:600;line-height:1.4;text-align:center;box-shadow:0 6px 16px rgba(17,29,53,.25)}

/* The count beside an active tab's name (Logs, 0) took the page's grey on the navy tab: 2.6:1, under the 2.7:1 recorded at base (floors). A pale blue-grey on the navy reads 8:1 and more. */
html.ce-look .tab.active .gis-tab-meta{color:#b9cbe4}
/* Switched-off controls. The page fades them to .4-.6 opacity; with the shared look's colors that measured 3 to 8 percent under the contrast recorded at base (the floors run). One opacity, .72, for every kind the page uses: the contrast of each rises above its recorded value, and dark text reaches 4.5:1 and more; text in the muted grey #536279 reaches about 3.3:1 (the floors tool records those at base, none is worse). They still read as off: faded, the not-allowed cursor, the control's own disabled state. The header's lifecycle buttons have their own colors above (4.5:1 and more). */
html.ce-look .lab-wait,html.ce-look .btn[disabled],html.ce-look .step-arrow:disabled,html.ce-look .fh-menu-item:disabled,html.ce-look .fac-page .role-switch:disabled,html.ce-look .fac-page .action-btn:disabled,html.ce-look .review-accept:disabled,html.ce-look .join-role:disabled,html.ce-look input:disabled,html.ce-look select:disabled,html.ce-look textarea:disabled,html.ce-look .gis-tab:disabled,html.ce-look [aria-disabled="true"]{opacity:.72}

/* 9. Sandbox exceptions (html.ce-look:not(.lab-mode) ...): none yet; Task 5 adds them. */


/* 10. The Demo's density at desktop widths (27 Nov 2026; the owner: "it needs to look like the demo"). The header is one block, the lockup left and compact buttons right; the status strip is one line with each label beside its value. Phones (860 px and below) keep section 6. Released before the checks on the owner's word; the checks follow. */
@media (min-width:861px){
  html.ce-look #lab-header{flex-wrap:nowrap;min-height:60px;padding:10px 24px;gap:16px}
  html.ce-look #lab-header .lab-lockup{width:190px;height:auto}
  html.ce-look #lab-header .lh-actions{gap:8px;align-items:flex-start}
  html.ce-look #lab-header .btn,html.ce-look #lab-header #lab-back,html.ce-look #lab-header #lab-seat-btn{min-height:35px;padding:6px 12px;font-size:calc(13px * var(--fs-scale));font-weight:700;line-height:1.2;border-radius:8px;white-space:nowrap}
  html.ce-look #lab-header .view-btn{min-height:35px;padding:5px 10px;font-size:calc(13px * var(--fs-scale))}
  /* A lifecycle button keeps ONE fixed box (its armed words wrap inside it), so the second press still lands on it. */
  html.ce-look #lab-life .fh-life .btn{width:14.3em;min-width:14.3em;height:35px;min-height:35px;padding:3px 10px;font-size:calc(13px * var(--fs-scale));line-height:1.15}
  html.ce-look:lang(es) #lab-life .fh-life .btn{width:14.3em;min-width:14.3em;height:42px;min-height:42px} /* Español: the armed words take two lines, in a taller box (42 px: row one is then 50 px and the header 106 px, the height the owner accepted on 28 Nov 2026) */
  /* Two rows for the staff (a facilitator or an evaluator): the lifecycle buttons (and Pause or Resume), the dropdown and Accessibility on row one; Training & Tutorials, Sign out, the account button and Report a Problem on row two. A seated participant's and an observer's header (no #lab-acct) keeps ONE row. */
  /* The wrappers (#lab-life, .fh-life, #lab-bar) draw no box, so the nine controls wrap together; the 8 px between rows is 4 px above and below each control (the row break below is an empty line, which would add a whole row gap), taken back at the container's edges. */
  html.ce-look #lab-header-actions:has(#lab-acct){flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:0 8px;margin-block:-4px}
  html.ce-look #lab-header-actions:has(#lab-acct) :is(#lab-life,.fh-life,#lab-bar){display:contents}
  html.ce-look #lab-header-actions:has(#lab-acct) :is(.fh-life,#lab-bar) > *{margin-block:4px}
  html.ce-look #lab-header-actions:has(#lab-acct)::after{content:"";order:1;flex:0 0 100%;height:0} /* the row break, after Accessibility */
  html.ce-look #lab-header-actions:has(#lab-acct) :is(#lab-tutorials-btn,#lab-bar > [data-lab="signout"],.lab-acct,#lab-report){order:2} /* row two: Training & Tutorials, Sign out, the account button, Report a Problem (the owner's choice, 28 Nov 2026: the row break stands after Accessibility); the DOM order and the Tab order are unchanged */
  html.ce-look #lab-strip{min-height:56px;gap:6px 24px;padding:12px 24px;align-items:center}
  html.ce-look #lab-strip .ls-field{flex-direction:row;align-items:center;gap:8px}
  html.ce-look #lab-strip .ls-k{display:inline-block;white-space:nowrap}
  html.ce-look #lab-strip #lab-strip-time{margin-left:auto}
  html.ce-look #step-bar .round-control button,html.ce-look #step-bar .step-arrow{min-height:34px;min-width:34px}
  html.ce-look .lab-crumb{padding:12px 32px 0;font-size:calc(13px * var(--fs-scale));font-weight:600;letter-spacing:0;text-transform:none}
}
@media (min-width:861px) and (max-width:1399px){
  html.ce-look #lab-header .lab-lockup{width:170px}
}

/* 11. The Language dropdown (27 Nov 2026; the owner: "or the language dropdown like in the demo"). In the Lab's frame, the header (desktop widths) and the phone drawer, the language control is ONE dropdown in the Demo's style: the same 35 px, 13 px bold, 8 px radius, white and the page's border color as the header's other buttons. The two buttons stay in the same node (kept in step by sandbox-i18n.v1.js); here they are hidden with display:none, so a keyboard and a screen reader reach only the dropdown. The ordinary gate cards show the same dropdown (the last rules of this section); everywhere else (the Sandbox) the page's own rule keeps the dropdown hidden and the buttons shown. */
html.ce-look #lab-header [data-lang-switch],html.ce-look #lab-drawer-actions [data-lang-switch]{border:0;border-radius:0;background:transparent;overflow:visible}
html.ce-look #lab-header [data-lang-switch] .view-btn,html.ce-look #lab-drawer-actions [data-lang-switch] .view-btn{display:none}
html.ce-look #lab-header [data-lang-switch] .lang-select,html.ce-look #lab-drawer-actions [data-lang-switch] .lang-select{display:block;box-sizing:border-box;height:35px;min-height:35px;margin:0;padding:0 28px 0 12px;border:1px solid var(--border);border-radius:8px;background-color:#fff;color:var(--navy);font-family:inherit;font-size:calc(13px * var(--fs-scale));font-weight:700;line-height:1.2;cursor:pointer}
/* 1280x800, Lab header in English, #lab-header [data-lang-switch] .lang-select: adding longer language options (Français, Português, Русский) widens the native select; tightening horizontal padding keeps the English header compact without shrinking font size (Task 13 fit gate). */
html.ce-look #lab-header [data-lang-switch] .lang-select{padding:0 10px}
html.ce-look #lab-header [data-lang-switch] .lang-select:hover,html.ce-look #lab-drawer-actions [data-lang-switch] .lang-select:hover{border-color:var(--navy)}
html.ce-look #lab-header [data-lang-switch] .lang-select:disabled,html.ce-look #lab-drawer-actions [data-lang-switch] .lang-select:disabled{cursor:not-allowed}
html.ce-look #lab-drawer-actions [data-lang-switch] .lang-select{width:100%;min-height:42px;height:42px}
/* The ordinary gate cards (join, role, names; 28 Nov 2026, languages plan Task 4, D3) show the same dropdown under the card's brand row, at the header's size. The loading line and the frame-recovery screen draw no switch at all (sandbox-lab.v1.js gate(), lang: false). The section 6 and section 12 lifecycle and Accessibility rules are not touched here. */
html.ce-look.lab-mode #lab-gate [data-lang-switch]{border:0;border-radius:0;background:transparent;overflow:visible}
html.ce-look.lab-mode #lab-gate [data-lang-switch] .view-btn{display:none}
html.ce-look.lab-mode #lab-gate [data-lang-switch] .lang-select{display:block;box-sizing:border-box;max-width:100%;height:36px;min-height:36px;margin:0;padding:0 28px 0 12px;border:1px solid var(--border);border-radius:8px;background-color:#fff;color:var(--navy);font-family:inherit;font-size:calc(13px * var(--fs-scale));font-weight:700;line-height:1.2;cursor:pointer}
html.ce-look.lab-mode #lab-gate [data-lang-switch] .lang-select:hover{border-color:var(--navy)}
html.ce-look.lab-mode #lab-gate [data-lang-switch] .lang-select:disabled{cursor:not-allowed}

/* 12. Accessibility (Task T2, 27 Nov 2026): the Demo's header button and "Display preferences" dialog, and what its four switches do. Every number is the Demo's own, measured RENDERED at 1312 x 700 and 390 x 844 (the Demo's button text is 11 px: the Lab's header buttons keep their 13 px, above the 12 px floor). The code is the last block of sandbox-lab.v1.js; the choices are classes on <html>: ce-a11y-large, ce-a11y-contrast, ce-a11y-motion, ce-a11y-links. */
/* The button: the header's other buttons' box (section 10), the Demo's figure (18 px, #245a86, stroke 1.7, 7 px before the word). */
html.ce-look #lab-a11y-btn{display:inline-flex;align-items:center;justify-content:center;color:var(--text)} /* the Demo's #17283d (black in high contrast); the header's older buttons are navy */
html.ce-look .la-mark{display:inline-flex;flex:0 0 auto;width:18px;height:18px;margin:0 7px 0 0;color:#245a86}
html.ce-look .la-mark svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html.ce-look .la-mark .la-dot{fill:currentColor;stroke:none}
/* The dialog: a 560 px white card on the Demo's dark backdrop, above everything (the drawer is 55, Teddy's guide 62). */
html.ce-look .la-backdrop{position:fixed;inset:0;z-index:200;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:16px;background:#10182788}
html.ce-look body:has(#lab-a11y) #lab-dock{z-index:210} /* as in the Demo, Teddy's button stays above the backdrop while the dialog is open (the dock is 50, the backdrop 200) */
html.ce-look .la-card{box-sizing:border-box;width:min(560px,100%);max-height:90vh;overflow:auto;padding:22px;border-radius:15px;background:#fff;color:#172033;box-shadow:0 20px 50px #0004;font-family:Inter,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:var(--fs-md);line-height:1.55} /* the Demo's own stack: with Inter loaded (the live page) it is Inter either way; without it the two pages fall back alike */
/* Teddy's button (its box is 64 x 82 px on a phone, bottom 3 px, and 74 x 94 px, bottom 7 px, from 861 px) stays above the backdrop, so the card must not run under it:
   where the card's right edge can reach it (the card is 560 px wide, centered, so its right edge is at (W + 560) / 2; the button's left edge is at W - 238 from 861 px and W - 210 below; they meet below
   1036 px wide, and always up to 860) the card is as high as the window less twice the room the button takes below it (and 8 px), so its bottom edge clears the
   button whatever the card shows there, and it scrolls inside itself; a short landscape window instead moves the card to the left, clear of the button, and keeps its height. The Demo's own sizes
   are left as they are: 1312 x 700 is wider than the band, and the English card at 390 x 844 (Larger text off) is exempt, it ends above the button by its own height (a11y 3 pins it at 683.8 px). */
@media (max-width:1035px){html.ce-look .la-card{max-height:min(90vh,calc(100dvh - 218px))}}
@media (max-width:860px){html.ce-look .la-card{max-height:min(90vh,calc(100dvh - 186px))}}
/* 390x844, Accessibility dialog, #lab-a11y-card / .la-keys: French, Portuguese and Russian wrap taller than English, so excluding :lang(fr), :lang(pt) and :lang(ru) keeps the card capped above Teddy's dock (Tasks 13, 16 and 19 fit gate). */
@media (min-width:390px) and (max-width:860px) and (min-height:844px){html.ce-look:not(.ce-a11y-large):not([lang="es"]):not(:lang(fr)):not(:lang(pt)):not(:lang(ru)) .la-card{max-height:90vh}}
@media (min-width:800px) and (max-width:1035px) and (max-height:500px){html.ce-look .la-backdrop{justify-content:flex-start}html.ce-look .la-card{max-height:90vh}}
html.ce-look .la-head{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin:0 0 18px}
html.ce-look .la-head > div{flex:1 1 280px;min-width:0}
html.ce-look .la-eyebrow{margin:0;font-size:calc(12px * var(--fs-scale));font-weight:800;letter-spacing:.08em;line-height:1.25;text-transform:uppercase;color:var(--text-medium)}
html.ce-look .la-title{margin:0 0 4px;font-size:calc(21px * var(--fs-scale));font-weight:750;letter-spacing:-.01em;line-height:1.2;color:#172033}
html.ce-look .la-intro{margin:0;font-size:var(--fs-sm);color:var(--text-medium)}
html.ce-look .la-opt{display:flex;align-items:flex-start;gap:11px;margin:10px 0;padding:12px;border:1px solid #dce1e8;border-radius:9px;cursor:pointer}
html.ce-look .la-opt input{flex:0 0 auto;width:18px;height:18px;min-height:0;margin:14px 3px 3px 4px}
html.ce-look .la-opt-title{font-weight:700}
html.ce-look .la-opt-desc{font-size:var(--fs-sm);color:var(--text-medium)}
html.ce-look .la-card .btn:not(.btn-primary){color:var(--text)} /* the Demo's #17283d on Close and Reset */
html.ce-look .la-actions{display:flex;margin:16px 0 0}
html.ce-look .la-keys{margin:0;font-size:var(--fs-sm);color:var(--text-medium)}

/* Larger text: the Demo raises its body text from 16 to 18 px (x1.125); the Lab's type all follows --fs-scale, so one number does it. The header's buttons wrap onto a second row beside the lockup when they need to (the actions already wrap inside the header), as the Demo's do. */
html.ce-look.ce-a11y-large{--fs-scale:1.125}

/* High contrast: the Demo's tokens (text black, muted #303030, borders #666, white page). Then every text reads 7:1 and every control border 4.5:1 or more. */
html.ce-look.ce-a11y-contrast{--text:#000;--text-medium:#303030;--text-dim:#303030;--border:#666;--bg:#fff;--wire-red:#8c1d24;--wire-green:#0f4d2e;--wire-running:#0f4d2e;--wire-grey:#394453} /* the news bar's three colors a step darker: white on them reads 7:1 and more */
html.ce-look.ce-a11y-contrast body.view-participant #wire-bar{background:#0f4d2e}
html.ce-look.ce-a11y-contrast body.view-participant #wire-bar.started{background:#0f4d2e}
html.ce-look.ce-a11y-contrast body.view-participant #wire-bar.ended{background:#394453}
html.ce-look.ce-a11y-contrast #wire-pause{color:#000;border-color:#666}
html.ce-look.ce-a11y-contrast #wire-bar .wire-breaking{background:rgba(0,0,0,.4)}
html.ce-look.ce-a11y-contrast #lab-teddy :is(.lt-kicker,.lt-count){color:#303030} /* the guide's two grays (5.2:1 and 4.9:1) read 7:1 or more */
html.ce-look.ce-a11y-contrast .fh-sep{color:#303030} /* the "|" beside the exercise's name is a text character: muted ink, not the border's #666 */
html.ce-look.ce-a11y-contrast :is(.fh-pill--started,.fac-page .acc-status--done,.fac-page .bc-clip-on){color:#0b3d1d}
html.ce-look.ce-a11y-contrast :is(.btn,.btn-sm):not(.btn-primary,.btn-danger,[disabled]){color:#000} /* the Demo's buttons turn black (the older ones are navy) */
html.ce-look.ce-a11y-contrast .la-card,html.ce-look.ce-a11y-contrast .la-title{color:#000}
html.ce-look.ce-a11y-contrast .la-opt{border-color:#666}
/* The header's lifecycle buttons and the account menu in High contrast (the rule above leaves out the primary, danger and switched-off buttons): Start black with white text (21:1), End #8c1d24 with white text (9.07:1), a switched-off one #303030 on #e6e6e6 (10.57:1); the account button and its items black on white, the menu's Sign out black. */
html.ce-look.ce-a11y-contrast #lab-life .fh-start:not(:disabled){background:#000;border-color:#000;color:#fff}
html.ce-look.ce-a11y-contrast #lab-life .fh-end:not(:disabled){background:#8c1d24;border-color:#8c1d24;color:#fff}
html.ce-look.ce-a11y-contrast #lab-life .btn:disabled{background:#e6e6e6;border-color:#666;color:#303030}
html.ce-look.ce-a11y-contrast #lab-acct-btn,html.ce-look.ce-a11y-contrast #lab-acct-menu .lab-acct-item,html.ce-look.ce-a11y-contrast #lab-acct-menu [data-lab="signout"]{color:#000}
html.ce-look.ce-a11y-contrast .lab-acct-who strong,html.ce-look.ce-a11y-contrast #lab-strip #lab-strip-clock-val{color:#000}

/* Reduce motion: every animation and transition under the look is off (the menu drawer, Teddy's grow-in, the news bar's scroll, the toast, the spinner). The same class is on while the visitor's system asks for less motion. */
html.ce-look.ce-a11y-motion *,html.ce-look.ce-a11y-motion *::before,html.ce-look.ce-a11y-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

/* Underline links: every link, and the link-styled buttons, in the content and the header; not the menu's items and not ordinary buttons. */
html.ce-look.ce-a11y-links :is(a[href],[role="link"],.lab-link,.wire-viewall,.gis-all):not(#sidebar *){text-decoration:underline!important}

/* 13. Facilitator card (Place C) */
/* "Facilitated by": the facilitator's picture, name and company at the top of the navy menu (#sidebar), immediately before the Menu label (and after #lab-drawer-close on phones). A 40 px circle picture beside the name over the company, separated from the menu below by a subtle hairline, with no left accent spine and no animation or transition of its own. Changing the place replaces this block, the script's place functions and the check "facilitator card 8", and nothing else. */
html.ce-look #lab-fc{margin:0 0 2px;padding:14px 12px;border-bottom:1px solid rgba(255,255,255,.14)}
html.ce-look #lab-fc[hidden]{display:none}
html.ce-look #lab-facilitator-card{box-sizing:border-box;display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;row-gap:2px;align-items:center;min-width:0;margin:0;letter-spacing:0;text-transform:none}
html.ce-look #lab-facilitator-card .lfc-label{grid-column:1 / -1;grid-row:1;margin:0 0 6px;font-size:calc(13px * var(--fs-scale));font-weight:700;letter-spacing:.08em;line-height:1.25;text-transform:uppercase;color:#afc3df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ce-look #lab-facilitator-card .lfc-avatar{grid-column:1;grid-row:2 / span 2;align-self:center;display:inline-flex;width:40px;height:40px}
html.ce-look #lab-facilitator-card .lfc-photo{display:block;box-sizing:border-box;width:40px;height:40px;border:1px solid rgba(255,255,255,.35);border-radius:50%;object-fit:cover}
html.ce-look #lab-facilitator-card .lfc-initials{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:40px;height:40px;border-radius:50%;background:#243f68;color:#fff;font-size:calc(14px * var(--fs-scale));font-weight:700;line-height:1}
html.ce-look #lab-facilitator-card .lfc-outline{display:block;box-sizing:border-box;width:40px;height:40px;padding:9px;border-radius:50%;background:#243f68;color:#fff}
html.ce-look #lab-facilitator-card .lfc-name{grid-column:2;grid-row:2;min-width:0;font-size:calc(15px * var(--fs-scale));font-weight:700;line-height:1.25;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ce-look #lab-facilitator-card:has(.lfc-company) .lfc-name{align-self:end}
html.ce-look #lab-facilitator-card .lfc-sep{display:none}
html.ce-look #lab-facilitator-card .lfc-company{grid-column:2;grid-row:3;align-self:start;min-width:0;font-size:calc(13px * var(--fs-scale));font-weight:400;line-height:1.25;color:#c5d6ec;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ce-look.ce-a11y-contrast #lab-fc{border-bottom-color:rgba(255,255,255,.45)}
html.ce-look.ce-a11y-contrast #lab-facilitator-card .lfc-label{color:#dce8f8}
html.ce-look.ce-a11y-contrast #lab-facilitator-card .lfc-company{color:#fff}
html.ce-look.ce-a11y-contrast #lab-facilitator-card :is(.lfc-initials,.lfc-outline){border:1px solid #fff}
/* End 13. Facilitator card (Place C) */

/* Task 9.2: narrow RAPT table labels come from translated Lab spans (.rapt-mob-k) instead of the Sandbox's fixed English ::before content, and EndEx superscript x on navy primary buttons uses the same accessible light red (#ff8f9b) as the navy sidebar. */
html.ce-look .rapt-mob-k{display:none;color:var(--text-dim);font-family:var(--sans)}
@container (max-width:560px){
  html.ce-look .rapt-table td:nth-child(2)::before,html.ce-look .rapt-table td:nth-child(3)::before{content:none}
  html.ce-look .rapt-mob-k{display:inline}
}
html.ce-look .btn-primary .endex-x{color:#ff8f9b}
html.ce-look #page-endex :not(.mark) > .endex-x{font-size:max(12px,.72em)}

/* 14. Exercise Configuration Wizard (Lab only; matches Demo 10-step Configure Exercise layout, zero left accent spines) */
html.ce-look #page-facilitator .fac-head{margin-bottom:14px}
html.ce-look .wiz-shell{display:flex;flex-direction:column;gap:16px;min-width:0;max-width:100%}
html.ce-look .wiz-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 20px;min-width:0}
html.ce-look .wiz-head-main{flex:1 1 260px;min-width:0}
html.ce-look .wiz-eyebrow{margin:0 0 4px;font-size:calc(12px * var(--fs-scale));font-weight:800;letter-spacing:.08em;line-height:1.25;text-transform:uppercase;color:var(--text-medium)}
html.ce-look .wiz-title{margin:0 0 4px;font-size:calc(30px * var(--fs-scale));font-weight:750;letter-spacing:-.025em;line-height:1.18;color:var(--text)}
html.ce-look .wiz-lead{margin:0;font-size:var(--fs-md);line-height:1.45;color:var(--text-medium)}
html.ce-look .wiz-head-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex:0 1 auto;max-width:100%;min-width:0}
html.ce-look .wiz-mode-switch{display:inline-flex;flex-wrap:wrap;align-items:center;max-width:100%;padding:3px;border:1px solid var(--border);border-radius:9px;background:#fff;gap:4px}
html.ce-look .wiz-mode-btn{box-sizing:border-box;min-height:36px;max-width:100%;padding:6px 12px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text);font-family:inherit;font-size:calc(13px * var(--fs-scale));font-weight:700;line-height:1.2;cursor:pointer;white-space:nowrap}
html.ce-look .wiz-mode-btn:hover{background:#f3f5f8}
html.ce-look .wiz-mode-btn.is-active{background:#e9eff8;border-color:#a7bad4;color:var(--navy)}
html.ce-look .wiz-lock-note{margin:0;padding:12px 16px;border:1px solid #d7dfe8;border-radius:10px;background:#f7f9fc;font-size:var(--fs-sm);font-weight:600;color:var(--text)}
html.ce-look .wiz-steps{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin:0;padding:0;min-width:0;max-width:100%}
html.ce-look .wiz-step-count{font-size:calc(14px * var(--fs-scale));font-weight:750;color:var(--navy);font-variant-numeric:tabular-nums;white-space:nowrap}
html.ce-look .wiz-step-picker{position:relative;display:inline-flex;max-width:100%;min-width:0}
html.ce-look .wiz-step-trigger{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;max-width:100%;padding:8px 12px 8px 14px;border:1px solid #d7dfe8;border-radius:10px;background:#fff;color:var(--navy);font-family:inherit;font-size:calc(14px * var(--fs-scale));font-weight:700;line-height:1.3;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(7,30,72,.04)}
html.ce-look .wiz-step-trigger:hover{border-color:#a7bad4;background:#f8fafd}
html.ce-look .wiz-step-trigger[aria-expanded="true"]{border-color:#a7bad4}
html.ce-look .wiz-step-trigger-label{min-width:0;overflow-wrap:anywhere}
html.ce-look .wiz-step-chevron{flex:none;color:var(--text);transition:transform .14s ease}
html.ce-look .wiz-step-trigger[aria-expanded="true"] .wiz-step-chevron{transform:rotate(180deg)}
html.ce-look .wiz-step-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:52;box-sizing:border-box;min-width:min(360px,calc(100vw - 24px));max-width:min(440px,calc(100vw - 24px));max-height:min(440px,calc(100vh - 140px));overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #d7dfe8;border-radius:10px;padding:6px 0;box-shadow:0 10px 28px rgba(7,30,72,.14),0 2px 6px rgba(7,30,72,.06)}
html.ce-look .wiz-step-menu[hidden]{display:none}
html.ce-look .wiz-step-item{box-sizing:border-box;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:baseline;gap:12px;width:100%;min-height:38px;padding:9px 16px;border:0;border-radius:0;background:transparent;color:var(--text);font-family:inherit;font-size:calc(14px * var(--fs-scale));font-weight:500;line-height:1.35;text-align:left;cursor:pointer}
html.ce-look .wiz-step-item:hover{background:#f3f6fb;color:var(--navy)}
html.ce-look .wiz-step-item.is-active{background:#e8eef6;color:var(--navy);font-weight:750}
html.ce-look .wiz-step-num{font-variant-numeric:tabular-nums;color:inherit}
html.ce-look .wiz-step-name{min-width:0;overflow-wrap:anywhere;white-space:normal}
html.ce-look.ce-a11y-motion .wiz-step-chevron{transition:none}
@media (prefers-reduced-motion:reduce){html.ce-look .wiz-step-chevron{transition:none}}
html.ce-look .wiz-panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:18px;min-width:0;max-width:100%;box-shadow:0 2px 5px #17304a04}
html.ce-look .wiz-panel-h{margin:0;font-size:calc(21px * var(--fs-scale));font-weight:750;letter-spacing:-.015em;line-height:1.25;color:var(--text)}
html.ce-look .wiz-panel-h:focus{outline:none}
html.ce-look .wiz-panel-h:focus-visible{outline:3px solid #1772d6;outline-offset:3px;border-radius:4px}
html.ce-look .wiz-subcard{padding:18px;border:1px solid var(--border);border-radius:10px;background:#fff;display:flex;flex-direction:column;gap:14px;min-width:0;max-width:100%}
html.ce-look .wiz-sub-h{margin:0;font-size:calc(17px * var(--fs-scale));font-weight:750;line-height:1.3;color:var(--text)}
html.ce-look .wiz-fieldset{margin:0;padding:16px;border:1px solid var(--border);border-radius:10px;display:flex;flex-direction:column;gap:12px;min-width:0;max-width:100%}
html.ce-look .wiz-fieldset legend{padding:0 6px;font-size:calc(14px * var(--fs-scale));font-weight:800;letter-spacing:.04em;color:var(--text)}
html.ce-look .wiz-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
html.ce-look .wiz-field{display:flex;flex-direction:column;gap:6px;min-width:0}
html.ce-look .wiz-label{font-size:calc(14px * var(--fs-scale));font-weight:800;letter-spacing:.03em;line-height:1.25;color:var(--text)}
html.ce-look .wiz-input,html.ce-look .wiz-select,html.ce-look .wiz-textarea{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #aeb9c7;border-radius:8px;background:#fff;color:var(--text);font-family:inherit;font-size:max(1rem,calc(16px * var(--fs-scale)));line-height:1.4}
html.ce-look .wiz-shell :is(input,textarea)::placeholder{color:#536279;opacity:1}
html.ce-look .wiz-shell :is(input,textarea):disabled{opacity:1;background:#f3f5f8;color:#3d4c63}
html.ce-look .wiz-shell :is(input,textarea):disabled::placeholder{color:#536279;opacity:1}
html.ce-look .wiz-shell .action-btn:disabled{opacity:1;background:#f3f5f8;color:#3d4c63}
html.ce-look .wiz-shell .action-btn:disabled .arrow{color:#3d4c63}
html.ce-look .wiz-shell .chip-remove-btn.lab-wait{opacity:1;color:#4a586e;border-color:#aeb9c7;background:#f3f5f8}
html.ce-look .wiz-textarea{min-height:120px;resize:vertical}
html.ce-look .wiz-help{margin:0;font-size:var(--fs-sm);line-height:1.45;color:var(--text-medium)}
html.ce-look .wiz-status{margin:0;font-size:var(--fs-sm);font-weight:600;line-height:1.4;color:var(--text-medium)}
html.ce-look .wiz-status.is-ok{color:#176b43}
html.ce-look .wiz-status.is-bad{color:#a62c32}
html.ce-look .wiz-radio-group{margin:0;padding:0;border:0;display:flex;flex-direction:column;gap:10px}
html.ce-look .wiz-radio-group legend{margin:0 0 8px;padding:0;font-size:calc(15px * var(--fs-scale));font-weight:750;color:var(--text)}
html.ce-look .wiz-radio-card{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:#fff;cursor:pointer}
html.ce-look .wiz-radio-card.is-selected{background:#f3f7fc;border-color:#a7bad4}
html.ce-look .wiz-radio-card input{flex:0 0 auto;width:18px;height:18px;min-height:0;margin:3px 0 0;accent-color:var(--navy)}
html.ce-look .wiz-radio-title{display:block;font-size:calc(15px * var(--fs-scale));font-weight:750;color:var(--text)}
html.ce-look .wiz-radio-desc{display:block;margin-top:3px;font-size:var(--fs-sm);line-height:1.45;color:var(--text-medium)}
html.ce-look .wiz-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
html.ce-look .wiz-tile{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:#fafbfd}
html.ce-look .wiz-tile-k{font-size:var(--fs-sm);font-weight:600;color:var(--text-medium)}
html.ce-look .wiz-tile-v{font-size:var(--fs-sm);font-weight:750;color:var(--text);text-align:right;overflow-wrap:anywhere}
html.ce-look .wiz-check-row{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:#fafbfd;cursor:pointer;font-size:var(--fs-sm);line-height:1.45;color:var(--text)}
html.ce-look .wiz-check-row input{flex:0 0 auto;width:18px;height:18px;min-height:0;margin:2px 0 0;accent-color:var(--navy)}
html.ce-look .wiz-step10-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-top:4px}
html.ce-look .wiz-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:14px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 2px 6px rgba(7,30,72,.05)}
html.ce-look .wiz-footer-status{margin:0 0 0 auto;font-size:var(--fs-sm);font-weight:600;color:var(--text-medium)}
html.ce-look .wiz-footer-status.is-bad{color:#a62c32}
html.ce-look .wiz-footer-status:empty{display:none}
html.ce-look .wiz-shell :is(button,input,select,textarea,a):focus-visible{outline:3px solid #1772d6;outline-offset:3px;box-shadow:none}
html.ce-look.ce-a11y-contrast .wiz-step-trigger,html.ce-look.ce-a11y-contrast .wiz-step-menu{border-color:#666;color:#000}
html.ce-look.ce-a11y-contrast .wiz-step-item.is-active{background:#e6e6e6;color:#000}
html.ce-look.ce-a11y-contrast .wiz-input,html.ce-look.ce-a11y-contrast .wiz-select,html.ce-look.ce-a11y-contrast .wiz-textarea,html.ce-look.ce-a11y-contrast .wiz-panel,html.ce-look.ce-a11y-contrast .wiz-subcard,html.ce-look.ce-a11y-contrast .wiz-fieldset,html.ce-look.ce-a11y-contrast .wiz-tile,html.ce-look.ce-a11y-contrast .wiz-radio-card,html.ce-look.ce-a11y-contrast .wiz-footer{border-color:#666}
html.ce-look.ce-a11y-contrast .wiz-mode-btn.is-active{background:#e6e6e6;border-color:#000;color:#000}
@media (max-width:760px){
  html.ce-look .wiz-grid-2,html.ce-look .wiz-review-grid{grid-template-columns:minmax(0,1fr)}
  html.ce-look .wiz-title{font-size:calc(24px * var(--fs-scale))}
  html.ce-look .wiz-head-actions{width:100%}
  html.ce-look .wiz-mode-btn{white-space:normal;text-align:center}
  html.ce-look .wiz-panel{padding:16px}
  html.ce-look .wiz-subcard,html.ce-look .wiz-fieldset{padding:14px}
  html.ce-look .wiz-footer{padding:12px}
  html.ce-look .wiz-footer-status{margin-left:0;flex:1 0 100%}
}
