/* teacher-intake-ticket-theme.css  purple ticket look for teacher-post-lesson-intake.html only
   Loaded LAST in teacher-post-lesson-intake.html. CSS only. Rollback: remove the one link line. */

:root{
  --tt-paper:linear-gradient(160deg,#1b1530,#2d2150);
  --tt-night:#120e1f;
  --tt-ink:#f3ede3;
  --tt-mute:#a79bc7;
  --tt-accent:#ff5a5f;
  --tt-wash:rgba(167,155,199,.16);
  --tt-line:rgba(243,237,227,.22);
  --tt-tear:rgba(243,237,227,.3);
  --tt-cut:polygon(16px 0,calc(100% - 16px) 0,100% 16px,100% calc(100% - 16px),calc(100% - 16px) 100%,16px 100%,0 calc(100% - 16px),0 16px);
  --tt-cut-s:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px);
  --tt-lift:drop-shadow(0 12px 18px rgba(0,0,0,.6));
  --tt-disp:"Big Shoulders Display","Arial Narrow",Impact,sans-serif;
  --tt-mono:"DM Mono",ui-monospace,Consolas,monospace;
  --tt-body:"DM Sans",system-ui,sans-serif;
}

/* variable remap (outranks :root) */
html body.cnm-page{
  --teal-accent:#ff5a5f; --teal-accent-rgb:255,90,95;
  --teal-mid:#ff5a5f;
  --text-dim:#a79bc7;
  --bg-panel:#1b1530; --bg-panel-rgb:27,21,48;
  --bg-panel-raised:#241b40;
}

/* T1 page */
html body.cnm-page{
  background:transparent !important;
  background-image:radial-gradient(ellipse 80% 40% at 50% 0,rgba(186,104,255,.12),transparent 70%) !important;
  background-attachment:fixed !important;
  color:var(--tt-ink);
  font-family:var(--tt-body);
  font-synthesis:none;
}
html body.cnm-page #particle-canvas{opacity:.35}
html body.cnm-page input,
html body.cnm-page textarea,
html body.cnm-page select,
html body.cnm-page button{font-family:var(--tt-body)}

/* T2 titles */
html body.cnm-page #formTitle,
html body.cnm-page #schedSheet h1{
  font-family:var(--tt-disp) !important;
  font-weight:900;
  text-transform:uppercase;
  line-height:1;
  color:var(--tt-ink);
}

/* T3 and T10 sheets */
html body.cnm-page .cnm-sheet{
  background:var(--tt-paper) !important;
  clip-path:var(--tt-cut);
  border:0 !important;
  border-radius:0 !important;
  box-shadow:inset 0 0 0 1px var(--tt-line) !important;
  padding:20px;
}

/* T4 labels */
html body.cnm-page .field-label,
html body.cnm-page .cnm-cert,
html body.cnm-page .cnm-metaline{
  font-family:var(--tt-mono) !important;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--tt-mute);
}
html body.cnm-page .idx{font-family:var(--tt-disp) !important;font-weight:900;color:var(--tt-accent)}

/* T5 inputs */
html body.cnm-page #fName,
html body.cnm-page #svcField,
html body.cnm-page #fQuote,
html body.cnm-page #fBio{
  background:transparent !important;
  color:var(--tt-ink) !important;
  border:0 !important;
  border-bottom:2px dashed var(--tt-tear) !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
html body.cnm-page #fName:focus,
html body.cnm-page #svcField:focus,
html body.cnm-page #fQuote:focus,
html body.cnm-page #fBio:focus{border-bottom-color:var(--tt-accent) !important}

/* T8 buttons */
html body.cnm-page #createBtn,
html body.cnm-page #editBtn,
html body.cnm-page #saveBtn,
html body.cnm-page #goBtn{
  background:var(--tt-accent) !important;
  color:#1b1530 !important;
  border:0 !important;
  border-radius:0 !important;
  clip-path:var(--tt-cut-s);
  box-shadow:none !important;
  font-family:var(--tt-mono) !important;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
html body.cnm-page #clearBtn,
html body.cnm-page #submitAnotherBtn{
  background:transparent !important;
  color:var(--tt-ink) !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:inset 0 0 0 1px var(--tt-line) !important;
  font-family:var(--tt-mono) !important;
  font-weight:700;
  text-transform:uppercase;
}
html body.cnm-page #goBtn:disabled{opacity:.45}

/* T9 submitted panel */
html body.cnm-page #submittedPanel{
  background:var(--tt-paper) !important;
  clip-path:var(--tt-cut);
  border:0 !important;
  border-radius:0 !important;
  box-shadow:inset 0 0 0 1px var(--tt-line) !important;
  text-align:center;
}
html body.cnm-page #submittedTitle{font-family:var(--tt-disp) !important;font-weight:900;text-transform:uppercase;line-height:1}
html body.cnm-page #submittedNote{color:var(--tt-mute)}

/* T10 go row */
html body.cnm-page #goRow{border-top:2px dashed var(--tt-tear);padding-top:20px}

/* T11 focus and tap */
html body.cnm-page button{
  outline:none !important;
  -webkit-tap-highlight-color:transparent;
}
html body.cnm-page input:focus-visible,
html body.cnm-page textarea:focus-visible{
  outline:2px solid var(--tt-ink) !important;
  outline-offset:-2px;
}

/* T12 motion */
html body.cnm-page button{transition:background-color .35s ease}

/* STORM BACKGROUND, same black storm as teacher-dashboard.html (markup #wvStorm + /storm.js on the page) */
html{background:#000 !important}
html body,html body.cnm-page{background:transparent !important;background-image:none !important}
#wvStorm{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#000;contain:strict}
#wvStorm i{position:absolute;display:block;border-radius:50%;will-change:transform,opacity}
#wvStorm .c{width:150vmax;height:110vmax;background:radial-gradient(closest-side,rgba(36,36,46,.95),rgba(20,20,26,.65) 45%,rgba(0,0,0,0) 100%)}
#wvStorm .c1{left:-45vmax;top:-55vmax;animation:wvs-d1 58s ease-in-out infinite alternate}
#wvStorm .c2{right:-55vmax;top:-30vmax;animation:wvs-d2 71s ease-in-out infinite alternate;opacity:.8}
#wvStorm .c3{left:-20vmax;bottom:-70vmax;animation:wvs-d3 46s ease-in-out infinite alternate;opacity:.65}
@keyframes wvs-d1{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(14vmax,6vmax,0) scale(1.12)}}
@keyframes wvs-d2{from{transform:translate3d(0,0,0) scale(1.05)}to{transform:translate3d(-16vmax,9vmax,0) scale(.94)}}
@keyframes wvs-d3{from{transform:translate3d(0,0,0) scale(.95)}to{transform:translate3d(10vmax,-8vmax,0) scale(1.1)}}
#wvStorm .f{width:85vmax;height:62vmax;opacity:0;background:radial-gradient(closest-side,rgba(255,255,255,.34),rgba(215,222,255,.16) 40%,rgba(255,255,255,0) 100%)}
#wvStorm .v{inset:0;border-radius:0;background:radial-gradient(120% 90% at 50% 110%,rgba(0,0,0,.6),rgba(0,0,0,0) 65%)}
@media (prefers-reduced-motion:reduce){#wvStorm .c{animation:none}}

/* COLOR LOCK: 3 text colors (cream, lilac, coral), 4 tile colors (paper, deep layer, coral, wash). Signal green, yellow, red stay. */
:root{--c-text:#f3ede3;--c-mute:#a79bc7;--c-accent:#ff5a5f;--c-paper:linear-gradient(160deg,#1b1530,#2d2150);--c-deep:rgba(0,0,0,.18);--c-wash:rgba(167,155,199,.16)}
html body.cnm-page{color:var(--c-text)}
html body.cnm-page h1,html body.cnm-page h2,html body.cnm-page h3,html body.cnm-page label,html body.cnm-page p,html body.cnm-page li,html body.cnm-page td,html body.cnm-page th,html body.cnm-page strong,html body.cnm-page input,html body.cnm-page textarea,html body.cnm-page select,html body.cnm-page a{color:var(--c-text)}
html body.cnm-page .opt,html body.cnm-page .opt-green,html body.cnm-page .photo-note,html body.cnm-page .gate-note,html body.cnm-page .submitted-note,html body.cnm-page .submit-split-why,html body.cnm-page .status-msg,html body.cnm-page .photo-preview-meta,html body.cnm-page .cnm-lane-quote,html body.cnm-page .cnm-star-cap,html body.cnm-page .sched-note,html body.cnm-page .cnm-metaline,html body.cnm-page .cnm-cert,html body.cnm-page .field-label{color:var(--c-mute) !important}
html body.cnm-page .idx,html body.cnm-page .submitted-check{color:var(--c-accent) !important}
html body.cnm-page #createBtn,html body.cnm-page #editBtn,html body.cnm-page #saveBtn,html body.cnm-page #goBtn{color:#1b1530 !important}
html body.cnm-page .cnm-lane-name,html body.cnm-page .cnm-star-val{color:var(--c-text) !important}

/* PINK TILE: TRAINER SIGN-UP is the outermost bright pink tile, moved inside the sheet so the cut corners no longer clip it */
html body.cnm-page .cnm-root .cnm-cert,
html body.cnm-page .cnm-cert{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  display:block !important;
  width:100%;
  box-sizing:border-box;
  margin:-4px 0 16px !important;
  padding:10px 14px !important;
  text-align:center;
  border-radius:0 !important;
  clip-path:var(--tt-cut-s);
  background:var(--cnm-magenta-hot,#ff2e93) !important;
  color:#fff !important;
  font-family:var(--tt-mono) !important;
  font-weight:700;
  font-size:13px;
  letter-spacing:.22em;
  box-shadow:none !important;
  border:0 !important;
  z-index:5;
}

/* INTAKE PAGE: client lookup, lesson list, file, note, progress */
html body.cnm-page #fReg,
html body.cnm-page #fVideoFile,
html body.cnm-page #fNote{
  background:transparent !important;
  color:var(--tt-ink) !important;
  border:0 !important;
  border-bottom:2px dashed var(--tt-tear) !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
html body.cnm-page #fReg:focus,
html body.cnm-page #fNote:focus{border-bottom-color:var(--tt-accent) !important}
html body.cnm-page .mem-list,
html body.cnm-page .lesson-list,
html body.cnm-page .client-card{
  background:rgba(0,0,0,.22) !important;
  border:0 !important;
  border-radius:0 !important;
  clip-path:var(--tt-cut-s);
  box-shadow:inset 0 0 0 1px var(--tt-line) !important;
}
html body.cnm-page .client-name{font-family:var(--tt-disp) !important;font-weight:900;text-transform:uppercase;color:var(--tt-ink)}
html body.cnm-page .client-meta,html body.cnm-page .lesson-empty,html body.cnm-page .file-picked,html body.cnm-page .progress-label,html body.cnm-page .reg-status{font-family:var(--tt-mono) !important;color:var(--tt-mute) !important}
html body.cnm-page #mapBtn{
  background:var(--tt-accent) !important;
  color:#1b1530 !important;
  border:0 !important;
  border-radius:0 !important;
  clip-path:var(--tt-cut-s);
  box-shadow:none !important;
  font-family:var(--tt-mono) !important;
  font-weight:700;
  letter-spacing:.08em;
}
html body.cnm-page #mapBtn:disabled{opacity:.45}
html body.cnm-page .progress-track{background:rgba(0,0,0,.3) !important;border-radius:0 !important}
html body.cnm-page .progress-fill{background:var(--tt-accent) !important;border-radius:0 !important}
html body.cnm-page .btn-ghost,html body.cnm-page .submitted-link{
  background:transparent !important;
  color:var(--tt-ink) !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:inset 0 0 0 1px var(--tt-line) !important;
  font-family:var(--tt-mono) !important;
}
/* PINK TILE: POST-LESSON badge as the outermost bright pink tile, inside the sheet */
html body.cnm-page .cnm-root .cnm-cert,html body.cnm-page .cnm-cert{
  position:relative !important;top:auto !important;left:auto !important;
  display:block !important;width:100%;box-sizing:border-box;
  margin:-4px 0 16px !important;padding:10px 14px !important;text-align:center;
  border-radius:0 !important;clip-path:var(--tt-cut-s);
  background:var(--cnm-magenta-hot,#e0218a) !important;color:#fff !important;
  font-family:var(--tt-mono) !important;font-weight:700;font-size:13px;letter-spacing:.22em;
  box-shadow:none !important;border:0 !important;z-index:5;
}

/* AUTOSUGGEST DROPDOWN: Client lookup list as a violet ticket, rows as small tickets */
html body.cnm-page .cnm-root .reg-field{filter:drop-shadow(0 12px 18px rgba(0,0,0,.6))}
html body.cnm-page .cnm-root .reg-field .mem-list{
  background:linear-gradient(160deg,#1b1530,#2d2150) !important;
  border:0 !important;
  border-radius:0 !important;
  clip-path:var(--tt-cut);
  box-shadow:inset 0 0 0 1px var(--tt-line) !important;
  padding:16px 12px !important;
  top:calc(100% + 10px);
  max-height:360px;
  scrollbar-color:var(--tt-mute) transparent;
}
html body.cnm-page .cnm-root .mem-list::-webkit-scrollbar-thumb{background:var(--tt-mute) !important;border-radius:0 !important}
html body.cnm-page .cnm-root .mem-row{
  border-radius:0 !important;
  min-height:56px;
  padding:10px 14px !important;
  background:transparent !important;
  color:var(--tt-ink) !important;
  border-bottom:2px dashed var(--tt-tear);
  transition:background-color .35s ease;
}
html body.cnm-page .cnm-root .mem-row:last-child{border-bottom:0}
html body.cnm-page .cnm-root .mem-row + .mem-row{margin-top:0}
html body.cnm-page .cnm-root .mem-row.active,
html body.cnm-page .cnm-root .mem-row:hover{background:var(--tt-wash) !important;color:var(--tt-ink) !important}
html body.cnm-page .cnm-root .mem-name{font-family:var(--tt-disp) !important;font-weight:900;font-size:1.35rem;text-transform:uppercase;line-height:1;letter-spacing:.02em}
html body.cnm-page .cnm-root .mem-id{
  font-family:var(--tt-mono) !important;
  font-weight:700;
  font-size:.8rem;
  letter-spacing:.1em;
  color:#1b1530 !important;
  background:var(--tt-accent) !important;
  border:0 !important;
  border-radius:0 !important;
  clip-path:var(--tt-cut-s);
  padding:.35em .8em;
}
html body.cnm-page .cnm-root .mem-row.active .mem-id,
html body.cnm-page .cnm-root .mem-row:hover .mem-id{color:#1b1530 !important;background:var(--tt-accent) !important}
html body.cnm-page .cnm-root .mem-row mark{color:var(--tt-accent) !important;background:transparent !important}
html body.cnm-page .cnm-root .mem-empty{font-family:var(--tt-mono) !important;color:var(--tt-mute) !important;letter-spacing:.08em;text-transform:uppercase}
html body.cnm-page .cnm-root .lesson-list{border-radius:0 !important;clip-path:var(--tt-cut)}
html body.cnm-page .cnm-root .lesson-item{border-radius:0 !important}

/* AUTOSUGGEST on phones: fits the screen, readable rows, no sideways scroll */
@media (max-width:560px),(pointer:coarse){
  html body.cnm-page .cnm-root .reg-field .mem-list{max-height:50vh;padding:14px 8px !important}
  html body.cnm-page .cnm-root .mem-row{min-height:64px;gap:8px;padding:10px 8px !important}
  html body.cnm-page .cnm-root .mem-name{font-size:1.15rem}
  html body.cnm-page .cnm-root .mem-id{font-size:.72rem;padding:.3em .55em}
}

/* MINIMAL TILE REDESIGN (2026-10-27). One removable block, delete from here to the end to roll back.
   One calm column: a single glass tile, quiet labels, soft fields, one violet action. Rounded tiles replace every clip-path,
   so the client dropdown can never be cut off. Ids, field names and script untouched. */
html body.cnm-page{--tt-accent:#8b4dff;--tt-wash:rgba(139,77,255,.28);--k-edge:rgba(255,255,255,.14);--k-face:rgba(255,255,255,.045)}
html body.cnm-page #particle-canvas{display:none}
html body.cnm-page .container{max-width:640px;margin:0 auto}
html body.cnm-page .ornament-top{display:none}
html body.cnm-page .back-link{font-family:var(--tt-mono);font-size:12px;letter-spacing:.08em;color:var(--tt-mute) !important;text-decoration:none}
html body.cnm-page .back-link:hover{color:#fff !important}

/* the tile */
html body.cnm-page .cnm-sheet{
  clip-path:none !important;overflow:visible !important;border-radius:16px !important;
  padding:32px 28px 28px !important;
  background:linear-gradient(160deg,rgba(42,31,77,.92),rgba(18,14,31,.94)) !important;
  border:2px solid rgba(255,255,255,.12) !important;
  box-shadow:inset 0 0 0 1px rgba(186,104,255,.35),0 18px 28px -12px rgba(0,0,0,.85) !important;
}
html body.cnm-page .cnm-cert,html body.cnm-page .cnm-root .cnm-cert{
  display:inline-block !important;width:auto !important;margin:0 0 14px !important;padding:5px 12px !important;
  clip-path:none !important;border-radius:999px !important;background:rgba(139,77,255,.22) !important;
  color:#d9c8ff !important;font-size:11px;letter-spacing:.2em;border:1px solid rgba(139,77,255,.6) !important;text-align:left;
}
html body.cnm-page #formTitle{font-size:clamp(2rem,6vw,2.8rem);margin:0 0 8px}
html body.cnm-page .cnm-metaline{display:block;margin:0 0 26px;font-size:12px;line-height:1.5;letter-spacing:.04em;color:var(--tt-mute) !important}
html body.cnm-page .cnm-metaline span{display:block}
html body.cnm-page .cnm-metaline span+span{opacity:.8}

/* sections */
html body.cnm-page .field{margin:0 0 26px;padding:0;border:0}
html body.cnm-page .field-label{display:block;margin:0 0 9px;font-size:11px;letter-spacing:.14em;text-transform:uppercase}
html body.cnm-page .idx{margin-right:6px;font-weight:700;color:#b794ff !important}
html body.cnm-page .opt,html body.cnm-page .opt-green{text-transform:none;letter-spacing:.02em;opacity:.8}

/* fields */
html body.cnm-page #fReg,html body.cnm-page #fNote,html body.cnm-page #fVideoFile{
  box-sizing:border-box;width:100%;min-height:48px;padding:11px 14px;font-size:1rem;
  background:var(--k-face) !important;border:1px solid var(--k-edge) !important;border-bottom:1px solid var(--k-edge) !important;
  border-radius:12px !important;color:#fff !important;transition:border-color .2s ease,background-color .2s ease;
}
html body.cnm-page #fNote{min-height:110px;resize:vertical;line-height:1.5}
html body.cnm-page #fReg:hover,html body.cnm-page #fNote:hover{border-color:rgba(255,255,255,.3) !important}
html body.cnm-page #fReg:focus,html body.cnm-page #fNote:focus{border-color:#8b4dff !important;background:rgba(139,77,255,.08) !important;box-shadow:inset 0 0 0 1px #8b4dff !important;outline:none !important}
html body.cnm-page #fReg::placeholder,html body.cnm-page #fNote::placeholder{color:rgba(167,155,199,.7)}
html body.cnm-page #fVideoFile::file-selector-button{margin-right:12px;padding:8px 14px;border:0;border-radius:8px;background:rgba(139,77,255,.28);color:#fff;font-family:var(--tt-mono);font-size:12px;letter-spacing:.08em;cursor:pointer}
html body.cnm-page .reg-status,html body.cnm-page .file-picked{margin:8px 2px 0;font-size:12px}

/* client dropdown */
html body.cnm-page .cnm-root .reg-field{filter:none !important;position:relative;z-index:40}
html body.cnm-page .cnm-root .reg-field .mem-list{
  clip-path:none !important;border-radius:14px !important;z-index:400;top:calc(100% + 8px);padding:8px !important;
  max-height:min(360px,40vh);
  background:linear-gradient(160deg,#2a1f4d,#161027) !important;border:2px solid rgba(255,255,255,.12) !important;
  box-shadow:inset 0 0 0 1px rgba(186,104,255,.35),0 18px 28px -10px rgba(0,0,0,.9) !important;
  transition:opacity .18s ease,transform .18s cubic-bezier(.2,.8,.2,1);
}
html body.cnm-page .cnm-root .mem-row{min-height:48px;margin:0;padding:8px 12px !important;border:0 !important;border-radius:10px !important;transition:background-color .15s ease}
html body.cnm-page .cnm-root .mem-row.active,html body.cnm-page .cnm-root .mem-row:hover{background:#8b4dff !important;color:#fff !important}
html body.cnm-page .cnm-root .mem-name{font-size:1.15rem}
html body.cnm-page .cnm-root .mem-id{clip-path:none !important;border-radius:999px !important;background:rgba(255,255,255,.14) !important;color:#fff !important}
html body.cnm-page .cnm-root .mem-row.active .mem-id,html body.cnm-page .cnm-root .mem-row:hover .mem-id{background:#fff !important;color:#2a1f4d !important}
html body.cnm-page .cnm-root .mem-row mark{color:#eab308 !important}

/* client card and lesson tiles */
html body.cnm-page .client-card{margin-top:12px;padding:12px 14px;clip-path:none !important;border-radius:12px !important;background:var(--k-face) !important;box-shadow:inset 0 0 0 1px var(--k-edge) !important}
html body.cnm-page .lesson-list,html body.cnm-page .cnm-root .lesson-list{clip-path:none !important;border-radius:12px !important;background:transparent !important;box-shadow:none !important;padding:0 !important;display:grid;gap:8px}
html body.cnm-page .cnm-root .lesson-item{min-height:48px;border-radius:12px !important;background:var(--k-face) !important;box-shadow:inset 0 0 0 1px var(--k-edge) !important;color:#fff !important;transition:background-color .2s ease,box-shadow .2s ease}
html body.cnm-page .cnm-root .lesson-item:hover:not(:disabled){background:rgba(139,77,255,.14) !important;box-shadow:inset 0 0 0 1px rgba(139,77,255,.6) !important}
html body.cnm-page .cnm-root .lesson-item.is-picked{background:rgba(139,77,255,.3) !important;box-shadow:inset 0 0 0 2px #8b4dff !important}
html body.cnm-page .lesson-empty{margin:0;padding:12px 14px;border-radius:12px;background:var(--k-face);font-size:12px}

/* action */
html body.cnm-page .cnm-ticket-wrap{margin-top:30px}
html body.cnm-page #mapBtn{
  display:block;width:100%;min-height:52px;clip-path:none !important;border-radius:12px !important;
  background:#8b4dff !important;color:#fff !important;font-family:var(--tt-disp) !important;font-weight:900;font-size:1.2rem;letter-spacing:.12em;
  box-shadow:0 12px 18px -8px rgba(0,0,0,.8) !important;transition:transform .2s ease,filter .2s ease,opacity .2s ease;
}
html body.cnm-page #mapBtn:hover:not(:disabled){filter:brightness(1.12);transform:translateY(-1px)}
html body.cnm-page #mapBtn:disabled{opacity:.4;box-shadow:none !important}
html body.cnm-page .progress-track{height:8px;border-radius:999px !important;background:rgba(255,255,255,.1) !important;border:0 !important}
html body.cnm-page .progress-fill{border-radius:999px !important;background:#8b4dff !important}
html body.cnm-page .status-msg{margin:12px 0 0;text-align:center;font-size:12px}
html body.cnm-page .btn-ghost,html body.cnm-page .submitted-link{border-radius:12px !important;min-height:44px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35) !important}

@media (max-width:560px){html body.cnm-page .cnm-sheet{padding:26px 18px 22px !important;border-radius:14px !important}}
@media (prefers-reduced-motion:reduce){html body.cnm-page *{transition:none !important}html body.cnm-page .cnm-root .reg-field .mem-list{transform:none !important}}

/* PROFESSIONAL TYPE + ONE TILE AT A TIME (2026-10-27). Replaces the earlier floating block. Delete from here to the end to roll back.
   White Inter type on purple cards with white borders. Tiles [1] to [4] and the button fade in one at a time, 1.2 s apart,
   each fading over 1 s with a short rise. Only opacity and transform are animated. */
html body.cnm-page{
  --tt-disp:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --tt-mono:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --tt-body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --c-text:#fff;--c-mute:rgba(255,255,255,.72);
}
html body.cnm-page,html body.cnm-page input,html body.cnm-page textarea,html body.cnm-page button{font-family:var(--tt-body) !important;-webkit-font-smoothing:antialiased}
html body.cnm-page #formTitle{font-weight:650;text-transform:none;letter-spacing:-.015em;color:#fff !important;font-size:clamp(1.9rem,5.5vw,2.5rem)}
html body.cnm-page .cnm-cert,html body.cnm-page .cnm-root .cnm-cert{font-weight:600;letter-spacing:.14em;color:#fff !important}
html body.cnm-page .cnm-metaline{font-weight:400;letter-spacing:0;font-size:13px;color:rgba(255,255,255,.7) !important}
html body.cnm-page #intakeForm .field-label{font-weight:600;font-size:12px;letter-spacing:.06em;color:#fff !important}
html body.cnm-page #intakeForm .idx{color:#fff !important;opacity:.6;font-weight:600}
html body.cnm-page #intakeForm .opt,html body.cnm-page #intakeForm .opt-green{font-weight:400;color:rgba(255,255,255,.65) !important;letter-spacing:0}
html body.cnm-page .reg-status,html body.cnm-page .file-picked,html body.cnm-page .client-meta,html body.cnm-page .lesson-empty,html body.cnm-page .status-msg,html body.cnm-page .progress-label{font-family:var(--tt-body) !important;color:rgba(255,255,255,.72) !important}
html body.cnm-page .client-name,html body.cnm-page .cnm-root .mem-name{font-family:var(--tt-body) !important;font-weight:600;text-transform:none;letter-spacing:0;color:#fff}
html body.cnm-page .cnm-root .mem-name{font-size:1.05rem}
html body.cnm-page .cnm-root .mem-id{font-family:var(--tt-body) !important;font-weight:500;letter-spacing:.02em}
html body.cnm-page #mapBtn{font-family:var(--tt-body) !important;font-weight:600;font-size:1rem;letter-spacing:.08em}
html body.cnm-page #fVideoFile::file-selector-button{font-family:var(--tt-body);font-weight:500;letter-spacing:.02em}

/* purple cards with white borders */
html body.cnm-page #intakeForm .field{
  position:relative;box-sizing:border-box;margin:0 0 16px;padding:20px 20px 22px;
  border-radius:14px;
  background:linear-gradient(160deg,#2a1f4d,#1a1233);
  border:2px solid rgba(255,255,255,.12);
  box-shadow:0 14px 22px -10px rgba(0,0,0,.85);
  opacity:0;
  animation:tkFade .5s ease-out both;
}
html body.cnm-page #intakeForm .field:nth-of-type(1){z-index:40;animation-delay:.75s}
html body.cnm-page #intakeForm .field:nth-of-type(2){z-index:30;animation-delay:1.35s}
html body.cnm-page #intakeForm .field:nth-of-type(3){z-index:20;animation-delay:1.95s}
html body.cnm-page #intakeForm .field:nth-of-type(4){z-index:10;animation-delay:2.55s}
html body.cnm-page .cnm-root .reg-field{z-index:auto}
html body.cnm-page .cnm-ticket-wrap{opacity:0;animation:tkFade .5s ease-out 3.15s both}
@keyframes tkFade{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  html body.cnm-page #intakeForm .field,html body.cnm-page .cnm-ticket-wrap{animation:none !important;opacity:1}
}

/* HANGING MAP BUTTON (2026-10-27). The action tile hangs at the bottom of the screen while the form scrolls.
   Greyed out until client, lesson and recording are chosen, with a faint red light travelling around its border. Delete this block to roll back. */
@property --tkAng{syntax:"<angle>";initial-value:0deg;inherits:false}
html body.cnm-page .cnm-ticket-wrap{
  position:sticky;bottom:14px;z-index:60;margin-top:24px;padding:10px;box-sizing:border-box;
  border-radius:16px;background:linear-gradient(160deg,#2a1f4d,#1a1233);
  border:2px solid rgba(255,255,255,.12);box-shadow:0 -10px 24px -8px rgba(0,0,0,.7),0 14px 22px -10px rgba(0,0,0,.85);
}
html body.cnm-page #mapBtn{position:relative}
html body.cnm-page #mapBtn:disabled{
  opacity:1;cursor:not-allowed;filter:none;transform:none;
  background:rgba(255,255,255,.08) !important;color:rgba(255,255,255,.4) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16) !important;
}
html body.cnm-page #mapBtn:disabled::after{
  content:"";position:absolute;inset:0;border-radius:12px;padding:2px;pointer-events:none;
  background:conic-gradient(from var(--tkAng),transparent 0deg,transparent 250deg,rgba(255,60,60,.15) 290deg,rgba(255,70,70,.8) 335deg,transparent 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  animation:tkRun 3.6s linear infinite;
}
@keyframes tkRun{to{--tkAng:360deg}}
@media (prefers-reduced-motion:reduce){html body.cnm-page #mapBtn:disabled::after{animation:none;background:rgba(255,70,70,.35)}}

/* THREE STEP LIST (2026-10-27). Borderless, left aligned, sits under the subtitle. Delete this block and the one ol line in the page to roll back. */
html body.cnm-page .cnm-steps{list-style:none;counter-reset:tkstep;margin:-8px 0 22px;padding:0;display:grid;gap:5px;text-align:left}
html body.cnm-page .cnm-steps li{counter-increment:tkstep;display:flex;align-items:baseline;gap:10px;font-size:13px;font-weight:500;color:rgba(255,255,255,.85)}
html body.cnm-page .cnm-steps li::before{content:counter(tkstep);min-width:14px;font-size:12px;font-weight:600;color:rgba(255,255,255,.45)}
html body.cnm-page .cnm-steps li b{font-weight:700;color:#fff}
html body.cnm-page .cnm-steps{margin-top:2px}

/* STEPS TILE (2026-10-27). The four instructions sit on a small purple tile that hugs their size, spins once on load, then stays. Delete this block to roll back. */
html body.cnm-page .cnm-steps{
  width:fit-content;max-width:100%;box-sizing:border-box;margin:4px 0 22px;padding:14px 18px;
  border-radius:12px;background:linear-gradient(160deg,#2a1f4d,#1a1233);
  border:2px solid rgba(255,255,255,.12);box-shadow:0 12px 18px -8px rgba(0,0,0,.8);
  transform-origin:center;animation:tkSpin 1.1s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes tkSpin{from{opacity:0;transform:perspective(800px) rotateY(-360deg) scale(.8)}35%{opacity:1}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){html body.cnm-page .cnm-steps{animation:none}}

/* TOP BAR TILE (2026-10-27). Back to Trainer Room and Map to Lesson share one tile that hangs at the top of the screen,
   so the form below gets the room. Replaces the bottom hanging tile. Delete this block, and move the ticket wrap back into the form, to roll back. */
html body.cnm-page .cnm-topbar{
  position:sticky;top:12px;z-index:60;box-sizing:border-box;margin:0 0 16px;padding:10px 12px 10px 18px;
  display:grid;grid-template-columns:1fr auto;grid-template-areas:"back btn" "prog prog" "msg msg";align-items:center;gap:0 14px;
  border-radius:14px;background:linear-gradient(160deg,#2a1f4d,#1a1233);
  border:2px solid rgba(255,255,255,.12);box-shadow:0 14px 22px -10px rgba(0,0,0,.85);
  opacity:0;animation:tkFade .5s ease-out both;
}
html body.cnm-page .cnm-topbar .back-link{grid-area:back;justify-self:start;font-size:13px;font-weight:500;letter-spacing:0;color:rgba(255,255,255,.85) !important}
html body.cnm-page .cnm-topbar .cnm-ticket-wrap{
  display:contents;position:static;margin:0;padding:0;border:0;background:none;box-shadow:none;opacity:1;animation:none;
}
html body.cnm-page .cnm-topbar #mapBtn{grid-area:btn;display:inline-block;width:auto;min-width:170px;min-height:44px;padding:0 20px;font-size:.9rem;letter-spacing:.08em;white-space:nowrap;box-shadow:none !important}
html body.cnm-page .cnm-topbar #mapBtn:disabled::after{border-radius:12px}
html body.cnm-page .cnm-topbar .progress-wrap{grid-area:prog;margin-top:10px}
html body.cnm-page .cnm-topbar .progress-wrap[hidden]{display:none}
html body.cnm-page .cnm-topbar .status-msg{grid-area:msg;margin:8px 0 0;text-align:left}
html body.cnm-page .cnm-topbar .status-msg:empty{display:none}
html body.cnm-page .cnm-topbar #progressLabel{margin:6px 0 0}
@media (max-width:480px){
  html body.cnm-page .cnm-topbar{padding:8px 10px 8px 14px;gap:0 10px}
  html body.cnm-page .cnm-topbar .back-link{font-size:12px}
  html body.cnm-page .cnm-topbar #mapBtn{min-width:132px;padding:0 12px;font-size:.8rem}
}
@media (prefers-reduced-motion:reduce){html body.cnm-page .cnm-topbar{animation:none;opacity:1}}

/* LEFT ALIGN EVERYTHING IN THE FORM (2026-10-27). Delete this block to roll back. */
html body.cnm-page .cnm-sheet,
html body.cnm-page #formTitle,
html body.cnm-page #intakeForm,
html body.cnm-page #intakeForm .field,
html body.cnm-page #intakeForm .field-label,
html body.cnm-page #intakeForm .opt,
html body.cnm-page #fReg,html body.cnm-page #fNote,html body.cnm-page #fVideoFile,
html body.cnm-page #fReg::placeholder,html body.cnm-page #fNote::placeholder,
html body.cnm-page .reg-status,html body.cnm-page .file-picked,
html body.cnm-page .client-card,html body.cnm-page .client-name,html body.cnm-page .client-meta,
html body.cnm-page .lesson-list,html body.cnm-page .lesson-item,html body.cnm-page .lesson-empty,
html body.cnm-page .cnm-root .mem-list,html body.cnm-page .cnm-root .mem-row,html body.cnm-page .cnm-root .mem-empty,
html body.cnm-page .cnm-steps,html body.cnm-page .cnm-steps li{text-align:left}
html body.cnm-page .lesson-item{justify-content:flex-start;align-items:center}
html body.cnm-page .lesson-item .lesson-what{text-align:left}
html body.cnm-page .cnm-cert,html body.cnm-page .cnm-root .cnm-cert{text-align:left}

/* YELLOW KEY WORDS in the steps: your (teacher) and student. Delete this line to roll back. */
html body.cnm-page .cnm-steps li b{color:#eab308;font-weight:700}

/* SQUIGGLE BEHIND THE STEP NUMBERS (2026-10-27). A small wavy violet shape turns slowly behind each number. Delete this block to roll back. */
html body.cnm-page .cnm-steps li{position:relative;isolation:isolate}
html body.cnm-page .cnm-steps li::before{min-width:24px;width:24px;text-align:center;color:#fff;font-weight:700}
html body.cnm-page .cnm-steps li::after{
  content:"";position:absolute;left:0;top:.62em;width:24px;height:24px;margin-top:-12px;z-index:-1;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M21.00%2012.00L21.71%2012.85L22.14%2013.79L22.14%2014.72L21.68%2015.52L20.84%2016.12L19.79%2016.50L18.76%2016.73L17.90%2016.95L17.30%2017.30L16.95%2017.90L16.73%2018.76L16.50%2019.79L16.12%2020.84L15.52%2021.68L14.72%2022.14L13.79%2022.14L12.85%2021.71L12.00%2021.00L11.28%2020.22L10.66%2019.58L10.06%2019.24L9.37%2019.24L8.51%2019.48L7.50%2019.79L6.41%2019.99L5.38%2019.89L4.58%2019.42L4.11%2018.62L4.01%2017.59L4.21%2016.50L4.52%2015.49L4.76%2014.63L4.76%2013.94L4.42%2013.34L3.78%2012.72L3.00%2012.00L2.29%2011.15L1.86%2010.21L1.86%209.28L2.32%208.48L3.16%207.88L4.21%207.50L5.24%207.27L6.10%207.05L6.70%206.70L7.05%206.10L7.27%205.24L7.50%204.21L7.88%203.16L8.48%202.32L9.28%201.86L10.21%201.86L11.15%202.29L12.00%203.00L12.72%203.78L13.34%204.42L13.94%204.76L14.63%204.76L15.49%204.52L16.50%204.21L17.59%204.01L18.62%204.11L19.42%204.58L19.89%205.38L19.99%206.41L19.79%207.50L19.48%208.51L19.24%209.37L19.24%2010.06L19.58%2010.66L20.22%2011.28Z%27%20fill%3D%27rgb(139%2C77%2C255)%27%20fill-opacity%3D%27.6%27%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;
  animation:tkSquig 14s linear infinite;
}
html body.cnm-page .cnm-steps li:nth-child(even)::after{animation-direction:reverse}
@keyframes tkSquig{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){html body.cnm-page .cnm-steps li::after{animation:none}}

/* ARCHIVE BOX in step 4: the same wobbling gold box as the My Schedule booking cards, a little smaller. Delete this block and the span in the page to roll back. */
@keyframes tkChest{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}
html body.cnm-page .cnm-steps .chest-icon{display:inline-block;font-size:.8rem;line-height:1;margin-left:2px;animation:tkChest 2.2s ease-in-out infinite;filter:drop-shadow(0 0 4.8px rgba(242,201,76,.6))}
@media (prefers-reduced-motion:reduce){html body.cnm-page .cnm-steps .chest-icon{animation:none}}

/* STEPS TILE REPAIR (2026-10-27). Cause: each li was a flex row, so every bold word, icon and text run became its own flex item with a 10px gap, which broke sentences apart.
   Each li is now a normal text block with the number hung in a left gutter. Delete this block to roll back. */
html body.cnm-page .cnm-steps{display:block !important;border-radius:12px !important;padding:16px 20px 16px 18px !important;margin:6px 0 24px !important;text-align:left}
html body.cnm-page .cnm-steps li{display:block !important;position:relative;margin:0 0 11px !important;padding:0 0 0 38px !important;min-height:24px;font-size:13.5px;line-height:1.55;text-align:left}
html body.cnm-page .cnm-steps li:last-child{margin-bottom:0 !important}
html body.cnm-page .cnm-steps li::before{position:absolute;left:0;top:0;width:24px;min-width:0;height:24px;line-height:24px;text-align:center;font-size:12px;margin:0}
html body.cnm-page .cnm-steps li::after{top:0;margin-top:0}
html body.cnm-page .cnm-steps li b{display:inline;margin:0;padding:0}
html body.cnm-page .cnm-steps .chest-icon{vertical-align:-1px;margin:0 3px}

/* GOLD GLOW on the Feedback / Support Message box (2026-10-27). Subtle gold edge and soft glow, a touch brighter on focus. Delete this block to roll back. */
html body.cnm-page #fNote{border-color:rgba(234,179,8,.5) !important;box-shadow:0 0 0 1px rgba(234,179,8,.28),0 0 16px rgba(234,179,8,.16) !important;transition:box-shadow .25s ease,border-color .25s ease}
html body.cnm-page #fNote:focus{border-color:rgba(234,179,8,.8) !important;box-shadow:0 0 0 1px rgba(234,179,8,.5),0 0 22px rgba(234,179,8,.28) !important}
