/* teacher-ticket-theme.css  purple ticket look for teacher.html only
   Loaded LAST in teacher.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}

/* T6 photo block */
html body.cnm-page #photoUploadWrap,
html body.cnm-page #photoUploadStep,
html body.cnm-page #photoPreviewBar{
  background:rgba(0,0,0,.18) !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 #photoThumb{border-radius:0 !important}

/* T7 lane look */
html body.cnm-page #laneLookField{
  background:rgba(0,0,0,.18) !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 #laneLookNote{border-top:2px dashed var(--tt-tear);color:var(--tt-mute)}

/* 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}

/* Part B1 calendar look */
html body.cnm-page #schedApp .grid-shell{
  background:rgba(0,0,0,.22) !important;
  border:0 !important;
  border-radius:0 !important;
  max-height:66vh;
  overflow:hidden;
}
html body.cnm-page #schedApp .grid-scroll{
  max-height:66vh;
  scrollbar-width:thin;
  scrollbar-color:var(--tt-mute) transparent;
}
html body.cnm-page #schedApp th{
  font-family:var(--tt-mono) !important;
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--tt-mute);
  background:transparent;
}
html body.cnm-page #schedApp .tlabel,
html body.cnm-page #schedApp th.tcol{
  font-family:var(--tt-mono) !important;
  color:var(--tt-mute);
  min-width:72px;
}
html body.cnm-page #schedApp .cell{
  display:block;
  width:100%;
  max-width:34px;
  aspect-ratio:1/1;
  margin:0 auto;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  clip-path:var(--tt-cut-s);
  box-shadow:inset 0 0 0 1px rgba(243,237,227,.1) !important;
  transition:background-color .35s ease,transform .12s ease;
}
html body.cnm-page #schedApp .cell:hover{background:var(--tt-wash) !important}
html body.cnm-page #schedApp .cell:active{transform:scale(.94)}
html body.cnm-page #schedApp .cell.on{
  background:linear-gradient(135deg,rgba(255,90,95,.55),rgba(186,104,255,.55)) !important;
  box-shadow:inset 0 0 0 1px var(--tt-accent) !important;
}
html body.cnm-page #blockCount{
  font-family:var(--tt-mono) !important;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--tt-mute);
}
html body.cnm-page #schedApp .sched-note{
  border-top:2px dashed var(--tt-tear);
  padding-top:12px;
  color:var(--tt-mute);
  font-family:var(--tt-mono);
}

@media (pointer:coarse){
  html body.cnm-page #schedApp .cell{min-width:32px;min-height:32px}
}
@media (max-width:560px){
  html body.cnm-page #schedApp .tlabel,
  html body.cnm-page #schedApp th.tcol{min-width:46px}
}
@media (prefers-reduced-motion:reduce){
  html body.cnm-page button,
  html body.cnm-page #schedApp .cell{transition:none}
}

/* 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}

/* TRAINER SIGN-UP kicker made visible, and the borderless 1 2 3 steps strip under the title */
html body.cnm-page .cnm-cert{
  display:inline-block !important;
  visibility:visible !important;
  opacity:1 !important;
  color:var(--c-accent) !important;
  background:transparent !important;
  font-family:var(--tt-mono) !important;
  font-size:12px;
  letter-spacing:.2em;
  margin-bottom:8px;
}
html body.cnm-page .tt-steps{
  list-style:none;
  margin:14px 0 20px;
  padding:12px 0;
  border-top:2px dashed var(--tt-tear);
  border-bottom:2px dashed var(--tt-tear);
  display:grid;
  gap:6px;
  font-family:var(--tt-body);
  font-size:13px;
  line-height:1.4;
  color:var(--c-mute);
}
html body.cnm-page .tt-steps li{color:var(--c-mute) !important}
html body.cnm-page .tt-n{font-family:var(--tt-disp);font-weight:900;color:var(--c-accent);margin-right:6px}

/* BLEED TILE: the bright 1 2 3 strip is the final outfacing tile, running edge to edge of the sheet so its glow bleeds over the paper */
html body.cnm-page .tt-steps{
  margin:16px -20px 22px;
  padding:16px 20px;
  border:0;
  background:linear-gradient(135deg,rgba(255,90,95,.38),rgba(186,104,255,.30) 60%,rgba(45,33,80,.0));
  box-shadow:inset 0 1px 0 rgba(255,90,95,.55),inset 0 -1px 0 rgba(243,237,227,.12),0 0 40px rgba(255,90,95,.18);
  position:relative;
  z-index:2;
}
html body.cnm-page .tt-steps li{color:var(--c-text) !important}
html body.cnm-page .tt-n{color:var(--c-text);background:var(--c-accent);padding:0 5px;color:#1b1530}

/* PHOTO TRIM: hide the [1] Profile Photo label, the UPLOAD NOW note and the checkbox line; the upload and link area stays open instead */
html body.cnm-page .field:has(#fHasPhoto)>label.field-label,
html body.cnm-page .photo-note,
html body.cnm-page .photo-check{display:none !important}
html body.cnm-page #photoUploadWrap[hidden]{display:block !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;
}

/* METALINE TRIM: hide We Are One Voice, Vocal lane, Draft under the title */
html body.cnm-page #formTitle+.cnm-metaline{display:none !important}

/* SPECIALTY NOTE TRIM */
html body.cnm-page .waov-svc-note{display:none !important}

/* AVAILABILITY NOTE TRIM: the [7] line */
html body.cnm-page p.status-msg{display:none !important}
