/* ExpertCE Teams — design system carried over from the approved mockup
   (amber/ink palette, IBM Plex Sans + Mono, seat meters, roster table).
   Everything scoped under .ece-teams so the Eduma theme is never affected. */

.ece-teams{
  --paper:#FBFCFD; --mist:#EDF1F3; --card:#FFFFFF; --line:#DEE6EA; --line-soft:#EAF0F2;
  --ink:#16232B; --slate:#5C6B76; --faint:#8A99A2;
  --amber:#F59315; --amber-deep:#C06D0C; --amber-wash:#FDEFDD;
  --emerald:#178A56; --emerald-wash:#E4F3EB;
  --sky:#2E77C9; --sky-wash:#E4EEF9;
  --rose:#D4494A; --rose-wash:#FBE8E8;
  --pending:#8A99A2; --pending-wash:#EEF2F4;
  --shadow:0 1px 2px rgba(22,35,43,.05), 0 8px 24px -12px rgba(22,35,43,.18);
  --shadow-lift:0 2px 4px rgba(22,35,43,.06), 0 18px 40px -16px rgba(22,35,43,.28);
  --sans:"IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:"IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-family:var(--sans); color:var(--ink); line-height:1.5;
  background:var(--paper);
  padding:40px 0 72px;
  /* Short views (empty finder, join card) must still fill the viewport so the
     site footer sits at the bottom instead of riding up mid-screen. */
  min-height:calc(100vh - 340px);
}
.ece-teams *{box-sizing:border-box}
.ece-teams .tz-wrap{max-width:1120px; margin:0 auto; padding:0 24px}
.ece-teams h1,.ece-teams h2,.ece-teams h3{margin:0; letter-spacing:-.02em; font-weight:600; color:var(--ink); font-family:var(--sans)}
.ece-teams p{margin:0}
.ece-teams .tz-mono{font-family:var(--mono); font-variant-numeric:tabular-nums}
.ece-teams .tz-eyebrow{font-family:var(--mono); font-size:11px; font-weight:500; letter-spacing:.16em; text-transform:uppercase; color:var(--faint)}
.ece-teams :focus-visible{outline:2px solid var(--amber); outline-offset:2px; border-radius:6px}

/* page head */
.ece-teams .tz-head{margin-bottom:26px}
.ece-teams .tz-head h1{font-size:32px; line-height:1.08}
.ece-teams .tz-head .sub{color:var(--slate); margin-top:8px; font-size:15.5px}
.ece-teams .tz-head .tz-eyebrow{display:block; margin-bottom:10px}
.ece-teams .tz-headrow{display:flex; align-items:flex-start; justify-content:space-between; gap:20px; flex-wrap:wrap}
/* text column shares the row instead of claiming full content width, so the
   nav button (My Team / Buy more courses) stays on the top right */
.ece-teams .tz-headrow > div{flex:1 1 0; min-width:0}
.ece-teams .tz-headrow .tz-btn.nav{flex:none}

/* buttons */
.ece-teams .tz-btn{display:inline-flex; align-items:center; gap:8px; font-family:var(--sans); font-size:14px; font-weight:600; padding:11px 18px; border-radius:11px; border:1px solid transparent; cursor:pointer; transition:.16s; white-space:nowrap; text-decoration:none; line-height:1.2}
/* Match the site-wide CTA (user-dashboard / homepage): gold->amber gradient, deep-amber text. */
.ece-teams .tz-btn.pri{background:linear-gradient(135deg,#fbbf24,#f59e0b); color:#78350f; box-shadow:0 8px 20px -10px var(--amber-deep)}
.ece-teams .tz-btn.pri:hover{background:linear-gradient(135deg,#fbbf24,#f59e0b); color:#78350f; opacity:.9; transform:translateY(-1px)}
/* Secondary buttons: amber-tinted so they read as actions (were colorless white). */
.ece-teams .tz-btn.ghost{background:var(--amber-wash); border-color:rgba(245,147,21,.45); color:#8a5a08}
.ece-teams .tz-btn.ghost:hover{background:linear-gradient(135deg,#fbbf24,#f59e0b); border-color:transparent; color:#78350f; box-shadow:var(--shadow)}
.ece-teams .tz-btn.sm{padding:8px 13px; font-size:13px; border-radius:9px}
.ece-teams .tz-btn[disabled]{opacity:.45; cursor:not-allowed; transform:none!important}

/* forms */
.ece-teams .tz-field{display:flex; flex-direction:column; gap:7px}
.ece-teams .tz-field label{font-size:14.5px; font-weight:600; color:var(--ink); margin:0}
.ece-teams .tz-control{height:46px; border:1px solid var(--line); background:var(--card); border-radius:11px; padding:0 14px; color:var(--ink); font-family:var(--sans); font-size:14.5px; width:100%; appearance:none; outline:none}
.ece-teams select.tz-control{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235C6B76' stroke-width='1.6'><path d='M4 6l4 4 4-4'/></svg>"); background-repeat:no-repeat; background-position:right 14px center; padding-right:38px; cursor:pointer}
.ece-teams .tz-control:focus{border-color:var(--amber); box-shadow:0 0 0 3px var(--amber-wash)}

/* Shop: two columns — results left, sticky order rail right. Below 980px the
   rail stacks under the results and the bottom sticky bar takes over. */
/* First-visit hero: dark band + white search card, homepage pattern */
.ece-teams .tz-hero{background:linear-gradient(150deg,#131f27,#1d3140 55%,#25404E); border-radius:20px; padding:54px 40px 46px; text-align:center; box-shadow:var(--shadow-lift)}
.ece-teams .tz-hero .pill{display:inline-block; background:rgba(245,147,21,.14); border:1px solid rgba(245,147,21,.55); color:#f7b955; font-size:12.5px; font-weight:700; padding:7px 16px; border-radius:999px; letter-spacing:.04em; text-transform:uppercase}
.ece-teams .tz-hero h1{font-size:40px; color:#fff; margin:18px 0 10px; letter-spacing:-.02em; line-height:1.1}
.ece-teams .tz-hero h1 em{font-style:normal; color:var(--amber)}
.ece-teams .tz-hero > p{color:#c9d4db; font-size:16px; max-width:66ch; margin:0 auto}
.ece-teams .tz-hero .tz-finder{background:var(--card); border-radius:16px; margin-top:30px; box-shadow:0 18px 40px -18px rgba(0,0,0,.55); text-align:left}
@media (max-width:760px){
  .ece-teams .tz-hero{padding:34px 18px 28px}
  .ece-teams .tz-hero h1{font-size:28px}
}

/* Empty order: one full-width column, no reserved rail space. The rail
   column appears only once the order has lines (.has-order, toggled by
   renderAll + pre-set server-side to avoid a layout flash). */
.ece-teams .tz-cols{display:grid; grid-template-columns:1fr; gap:24px; align-items:start}
.ece-teams .tz-cols:not(.has-order) #tz-order{display:none}
.ece-teams .tz-cols.has-order{grid-template-columns:1fr 320px}
.ece-teams #tz-order{position:sticky; top:110px}

/* finder — lives inside the step-1 panel under its amber header; no own
   background so header + body read as one container. Styled like the
   homepage "Find Your Training" bar: numbered fields + orange GO. */
.ece-teams .tz-finder{display:grid; grid-template-columns:1fr 1fr 1fr auto; gap:10px; align-items:end; padding:14px; background:linear-gradient(150deg,#16232B,#25404E)}
.ece-teams .tz-finder .tz-field{position:relative}
.ece-teams .tz-finder .fnum{position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:14px; font-weight:700; color:#d97706; pointer-events:none; z-index:1}
.ece-teams .tz-finder select.tz-control{padding-left:32px; font-weight:600; color:#64748b}
.ece-teams .tz-btn.go{background:linear-gradient(135deg,#ea8b0f,#d97706); color:#fff; font-weight:700; font-size:15px; letter-spacing:.03em; padding:11px 24px; justify-content:center; height:46px}
.ece-teams .tz-btn.go:hover{background:linear-gradient(135deg,#f59e0b,#ea8b0f); color:#fff; transform:translateY(-1px)}
.ece-teams .tz-btn.go.busy::after{border-color:rgba(255,255,255,.4); border-top-color:#fff}
/* Results: one card per row, course image at the landing cards' 280px width,
   price + action folded into the card body (approved mockup). */
/* results live inside the step-1 panel, below the finder */
.ece-teams #tz-results:not(:empty){padding:14px; border-top:1px solid var(--line-soft)}
.ece-teams .tz-panel .tz-empty{margin-top:0}
.ece-teams .tz-results{display:grid; grid-template-columns:1fr; gap:14px}
.ece-teams .tz-course{display:grid; grid-template-columns:300px 1fr; border:1px solid var(--line); border-radius:14px; background:var(--card); overflow:hidden; transition:.16s}
/* 3:2 box matches the generated artwork's native ratio, so cover doesn't
   shave the edges; the card row grows to the image, not the other way */
.ece-teams .tz-img{background:var(--mist); display:flex; align-items:center; justify-content:center; aspect-ratio:3/2}
.ece-teams .tz-img img{display:block; width:100%; height:100%; object-fit:cover}
.ece-teams .tz-main{padding:14px 18px; min-width:0; display:flex; flex-direction:column}
.ece-teams .tz-cfoot{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding-top:10px}
.ece-teams .tz-course:hover{box-shadow:var(--shadow)}
.ece-teams .tz-course.in-cart{border-color:var(--amber)}
.ece-teams .tz-badge{width:64px; height:64px; border-radius:11px; background:linear-gradient(150deg,#16232B,#25404E); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; text-align:center; flex:none}
.ece-teams .tz-badge .h{font-family:var(--mono); font-weight:600; font-size:16px; line-height:1}
.ece-teams .tz-badge .u{font-size:8.5px; letter-spacing:.08em; text-transform:uppercase; opacity:.75}
.ece-teams .tz-course h3{font-size:14.5px; line-height:1.3}
/* Hours + state tile — the two facts a bulk buyer scans for, oversized on purpose. */
.ece-teams .tz-badge.lg{width:84px; height:96px; align-self:start}
.ece-teams .tz-badge.lg .h{font-size:26px}
.ece-teams .tz-badge.lg .u{font-size:9px; letter-spacing:.12em}
.ece-teams .tz-badge.lg .st{font-family:var(--mono); font-weight:600; font-size:15px; color:var(--amber); margin-top:6px; letter-spacing:.08em; border-top:1px solid rgba(255,255,255,.18); padding-top:5px; width:60%; text-align:center}
/* Benefit chips: same pastel family as the CE landing cards */
.ece-teams .tz-benefits{display:flex; gap:6px; flex-wrap:wrap; margin:9px 0 8px}
.ece-teams .tz-benefits span{font-size:10px; font-weight:600; padding:3px 8px; border-radius:20px; border:1px solid transparent; white-space:nowrap}
.ece-teams .tz-benefits .b1{color:#1d5fae; background:#e7f0fb; border-color:#cfe2f7}
.ece-teams .tz-benefits .b2{color:#7c3aed; background:#f1e9fd; border-color:#e2d4fb}
.ece-teams .tz-benefits .b3{color:#c2620a; background:#fdf1e2; border-color:#f8e0c2}
.ece-teams .tz-price s{color:#c00; font-weight:500; font-size:12px; margin-right:6px}
.ece-teams .tz-tags{display:flex; gap:8px; flex-wrap:wrap; margin:8px 0 0; align-items:center}
.ece-teams .tz-price{font-family:var(--mono); font-weight:600; font-size:17px; line-height:1.15; color:#0073e6}
.ece-teams .tz-price small{color:var(--faint); font-size:10.5px; font-weight:500; margin-left:3px}
/* Retirement buffer: visible but not sellable — same grey pill as the landing card */
.ece-teams .tz-closed{background:#e5e7eb; color:#6b7280; padding:8px 13px; border-radius:9px; font-weight:600; font-size:12.5px; cursor:not-allowed; white-space:nowrap}
.ece-teams .tz-empty{padding:34px; border:1px dashed var(--line); border-radius:14px; text-align:center; color:var(--slate); margin-top:22px; background:var(--card)}
/* course title links to the single course page (like landing-page cards) */
.ece-teams .tz-titlelink{color:var(--ink); text-decoration:none}
.ece-teams .tz-titlelink:hover{color:var(--amber-deep); text-decoration:underline}
/* Best Seller — same green treatment as the CE landing pages */
.ece-teams .tz-course.is-bs{border-color:#149e54; box-shadow:0 0 0 3px rgba(20,158,84,.18)}
.ece-teams .tz-bs{background:#149e54; color:#fff; font-weight:700; font-size:10.5px; letter-spacing:.07em; text-transform:uppercase; padding:4px 10px; border-radius:7px}
/* Coming soon — same sky treatment + Notify Me button as the landing pages */
.ece-teams .tz-cs{background:linear-gradient(135deg,#0ea5e9,#0284c7); color:#fff; font-weight:700; font-size:10.5px; letter-spacing:.07em; text-transform:uppercase; padding:4px 10px; border-radius:20px}
.ece-teams .tz-btn.notify{background:linear-gradient(135deg,#0ea5e9,#0284c7); color:#fff; border:none}
.ece-teams .tz-btn.notify:hover{opacity:.9; color:#fff}
/* "Available through {date}" line, same as the landing card */
.ece-teams .tz-avail{font-size:12px; color:var(--slate); margin:0}
/* dashboard: purchase filter in the panel-1 header + expired chip */
.ece-teams .tz-orderfilter{height:38px; width:auto; min-width:250px; font-size:13px; font-weight:600; flex:none}
.ece-teams .tz-chip.exp{background:var(--rose-wash); color:#8c2b2c}

/* roster: locked note + labeled danger button */
.ece-teams .tz-lockednote{display:inline-flex; align-items:center; gap:6px; color:var(--faint); font-size:12px; font-weight:500; white-space:nowrap}
.ece-teams .tz-btn-danger{background:var(--rose-wash); border:1px solid rgba(212,73,74,.4); color:#a13435}
.ece-teams .tz-btn-danger:hover{background:var(--rose); border-color:var(--rose); color:#fff}

/* order rail — twin of the step-1 finder panel (same amber header band),
   sticky beside the results */
.ece-teams .tz-panel-h .cnt{font-family:var(--mono); font-weight:600; font-size:12.5px; color:#a06c14}
.ece-teams .tz-orderpanel{border:1px solid var(--line); border-radius:16px; background:var(--card); box-shadow:var(--shadow-lift); overflow:hidden}
.ece-teams .tz-lines{padding:4px 18px}
.ece-teams .tz-line{display:grid; grid-template-columns:1fr auto; gap:4px 12px; padding:13px 0; border-bottom:1px solid var(--line-soft)}
.ece-teams .tz-line:last-child{border-bottom:none}
.ece-teams .tz-line .t{font-size:13px; font-weight:600; line-height:1.35}
.ece-teams .tz-line .s{font-size:11.5px; color:var(--faint); margin-top:2px}
.ece-teams .tz-line .stepwrap{margin-top:8px}
.ece-teams .tz-line .lt{font-family:var(--mono); font-weight:600; font-size:14px; text-align:right}
.ece-teams .tz-stepper{display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:10px; overflow:hidden; height:40px; background:var(--card)}
.ece-teams .tz-stepper button{width:38px; height:100%; border:none; background:var(--card); color:var(--ink); font-size:18px; cursor:pointer; display:grid; place-items:center; line-height:1; padding:0}
.ece-teams .tz-stepper button:hover{background:var(--mist)}
.ece-teams .tz-stepper .v{width:52px; text-align:center; font-family:var(--mono); font-weight:600; font-size:15px; border:none; border-left:1px solid var(--line); border-right:1px solid var(--line); height:100%; background:var(--card); color:var(--ink); outline:none; border-radius:0; padding:0; appearance:textfield; -moz-appearance:textfield}
.ece-teams .tz-stepper .v::-webkit-inner-spin-button,.ece-teams .tz-stepper .v::-webkit-outer-spin-button{-webkit-appearance:none; margin:0}
.ece-teams .tz-stepper .v:focus{background:var(--amber-wash)}
.ece-teams .lt-wrap{display:flex; flex-direction:column; align-items:flex-end; gap:6px}
.ece-teams .tz-remove{background:none; border:none; color:var(--rose); font-family:var(--sans); font-size:12px; font-weight:600; cursor:pointer; padding:0}
.ece-teams .tz-remove:hover{text-decoration:underline}
.ece-teams .tz-stepper.sm{height:34px}
.ece-teams .tz-stepper.sm button{width:32px; font-size:16px}
.ece-teams .tz-stepper.sm .v{width:44px; font-size:13.5px}
.ece-teams .tz-osummary{background:var(--mist); border-top:1px solid var(--line-soft); padding:16px 18px}
.ece-teams .tz-srow{display:flex; justify-content:space-between; padding:6px 0; font-size:13.5px; color:var(--slate)}
.ece-teams .tz-srow .v{font-family:var(--mono); color:var(--ink)}
.ece-teams .tz-srow.total{border-top:1px solid var(--line); margin-top:6px; padding-top:12px; font-size:15px; color:var(--ink); font-weight:600}
.ece-teams .tz-srow.total .v{font-size:19px}
/* Notes must survive a colorful page: solid left accent bar + icon + deep
   ink text. Info = sky (amber would read as another panel header), warn = rose */
.ece-teams .tz-note{display:flex; gap:9px; align-items:flex-start; background:var(--sky-wash); border:1px solid rgba(46,119,201,.5); border-left:4px solid var(--sky); border-radius:11px; padding:10px 12px; margin:10px 0; font-size:12.5px; font-weight:600; color:#1d4e85; line-height:1.45}
.ece-teams .tz-note.warn{background:var(--rose-wash); border-color:rgba(212,73,74,.55); border-left-color:var(--rose); color:#7f1d1d}
.ece-teams .tz-note .ico{font-size:16px; line-height:1.2; flex:none}

/* KPIs */
.ece-teams .tz-kpis{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:24px}
.ece-teams .tz-kpi{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:17px 18px; position:relative; overflow:hidden}
.ece-teams .tz-kpi .rail{position:absolute; left:0; top:0; bottom:0; width:3px}
.ece-teams .tz-kpi .l{font-size:12px; color:var(--slate); font-weight:500}
.ece-teams .tz-kpi .n{font-family:var(--mono); font-size:30px; font-weight:600; margin-top:6px; line-height:1}
.ece-teams .tz-kpi .sub{font-size:11.5px; color:var(--faint); margin-top:6px}

/* panels */
.ece-teams .tz-panel{background:var(--card); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); margin-bottom:24px; overflow:hidden}
/* Numbered step chip, shared by shop + dashboard panel headers */
.ece-teams .stepn{width:26px; height:26px; border-radius:7px; background:var(--amber); color:#1b1200; display:inline-grid; place-items:center; font-family:var(--mono); font-weight:700; font-size:14px; flex:none}
.ece-teams .tz-panel-h .hl{display:flex; align-items:center; gap:12px}
/* Warm amber header band — branded, obvious, softer than ink. */
.ece-teams .tz-panel-h{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 20px; background:var(--amber-wash); border-bottom:2px solid var(--amber)}
.ece-teams .tz-panel-h h3{font-size:15.5px; color:#7a4e06}
.ece-teams .tz-panel-h .tz-eyebrow{color:#b08347}

/* seat rows (scales to any course count) */

/* assign bar */
.ece-teams .tz-assign{display:grid; grid-template-columns:1fr 1fr minmax(260px,1.2fr) auto; gap:14px; padding:18px 20px; background:var(--card); align-items:end}
/* Row 1: Course select matches the width of the two name fields below it;
   the "Courses to be assigned" count sits beside it on the same row. */
.ece-teams .tz-assign .tz-field.wide{grid-column:1/-1}

/* roster table */
.ece-teams .tz-tablewrap{overflow-x:auto}
.ece-teams table.tz-roster{width:100%; border-collapse:collapse; min-width:720px; margin:0}
.ece-teams .tz-roster th{text-align:left; font-family:var(--sans); font-size:12.5px; letter-spacing:.03em; text-transform:uppercase; color:var(--ink); font-weight:700; padding:12px 20px; border-bottom:1px solid var(--line); background:var(--mist)}
/* sortable headers — obviously clickable */
.ece-teams .tz-roster th[data-tz-sort]{cursor:pointer; user-select:none}
.ece-teams .tz-roster th[data-tz-sort]:hover{color:var(--amber-deep)}
.ece-teams .tz-sortind{display:inline-block; margin-left:5px; color:var(--amber-deep); font-size:12px}
.ece-teams .tz-roster td{padding:14px 20px; border-bottom:1px solid var(--line-soft); font-size:13.5px; vertical-align:middle; background:none}
.ece-teams .tz-roster tr:last-child td{border-bottom:none}
.ece-teams .tz-person{display:flex; align-items:center; gap:11px}
.ece-teams .tz-person .av{width:32px; height:32px; border-radius:9px; display:grid; place-items:center; font-size:12px; font-weight:600; color:#fff; background:linear-gradient(135deg,#2E77C9,#15385c); flex:none}
.ece-teams .tz-person .nm{font-weight:600}
.ece-teams .tz-person .em{font-size:11.5px; color:var(--faint)}
.ece-teams .tz-chip{font-family:var(--mono); font-size:11px; font-weight:600; padding:3px 9px; border-radius:20px; display:inline-flex; align-items:center; gap:6px; white-space:nowrap}
.ece-teams .tz-chip::before{content:""; width:6px; height:6px; border-radius:50%; background:currentColor}
.ece-teams .tz-chip.done{color:var(--emerald); background:var(--emerald-wash)}
.ece-teams .tz-chip.prog{color:var(--sky); background:var(--sky-wash)}
.ece-teams .tz-chip.inv{color:var(--pending); background:var(--pending-wash)}
.ece-teams .tz-pbar{width:110px; height:7px; border-radius:20px; background:var(--mist); overflow:hidden}
.ece-teams .tz-pbar i{display:block; height:100%; background:var(--sky)}
.ece-teams .tz-pbar.full i{background:var(--emerald)}
.ece-teams .tz-pmeta{font-family:var(--mono); font-size:11.5px; color:var(--slate); margin-top:5px}
.ece-teams .tz-certlink{display:inline-flex; align-items:center; gap:6px; color:var(--amber-deep); font-weight:600; font-size:12.5px; text-decoration:none}
.ece-teams .tz-certlink:hover{text-decoration:underline; color:var(--amber-deep)}
.ece-teams .tz-acts{display:flex; gap:6px; justify-content:flex-end}

/* join */
.ece-teams .tz-join{display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--line); border-radius:18px; overflow:hidden; background:var(--card); box-shadow:var(--shadow-lift); max-width:960px; margin:0 auto}
.ece-teams .tz-join-side{background:linear-gradient(155deg,#16232B,#22404F); color:#fff; padding:44px 40px; display:flex; flex-direction:column; gap:18px; justify-content:center}
.ece-teams .tz-join-side h2{font-size:28px; line-height:1.12; color:#fff}
.ece-teams .tz-join-side h2 .em{color:var(--amber)}
.ece-teams .tz-join-side .sub{color:rgba(255,255,255,.72); font-size:14.5px; max-width:36ch}
.ece-teams .tz-join-form{padding:44px 40px; display:flex; flex-direction:column; justify-content:center; gap:16px}
.ece-teams .tz-join-form h3{font-size:22px}
.ece-teams .tz-join-form .signed{color:var(--slate); font-size:13.5px}
.ece-teams .tz-readonly{background:var(--mist); color:var(--slate)}
.ece-teams .tz-error{background:var(--rose-wash); border:1px solid rgba(212,73,74,.3); color:#8c2b2c; border-radius:11px; padding:14px 16px; font-size:13.5px}
.ece-teams .tz-pwmeter{display:flex; gap:5px; margin-top:6px}
.ece-teams .tz-pwmeter i{height:4px; flex:1; border-radius:20px; background:var(--line)}
.ece-teams .tz-pwmeter i.on{background:var(--emerald)}
.ece-teams .tz-footnote{font-size:11.5px; color:var(--faint); text-align:center}

/* toast */
.ece-teams .tz-toast{position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(8px); background:var(--ink); color:#fff; padding:12px 20px; border-radius:12px; font-size:14px; box-shadow:var(--shadow-lift); opacity:0; pointer-events:none; transition:.25s; z-index:9999; max-width:90vw}
.ece-teams .tz-toast.on{opacity:1; transform:translateX(-50%) translateY(0)}
.ece-teams .tz-toast.err{background:var(--rose)}

@media (max-width:980px){
  /* .has-order too — its 2-column rule otherwise outranks this override */
  .ece-teams .tz-cols,.ece-teams .tz-cols.has-order{grid-template-columns:1fr}
  .ece-teams #tz-order{position:static}
}
@media (max-width:760px){
  /* panel headers wrap; the order filter drops to its own full-width row
     instead of pushing past the card edge */
  .ece-teams .tz-panel-h{flex-wrap:wrap}
  .ece-teams .tz-orderfilter{flex:1 1 100%; width:100%; min-width:0}
  /* header nav buttons (Buy more courses / My Team) centered */
  .ece-teams .tz-headrow .tz-btn.nav{margin:0 auto}
  .ece-teams .tz-course{grid-template-columns:1fr}
  /* stacked: full image at natural aspect — cover-cropping a 200px band
     zoomed the artwork into an unreadable strip */
  .ece-teams .tz-img img{height:auto; min-height:0}
}
@media (max-width:900px){
  .ece-teams .tz-btn.go{font-size:17px; height:50px}
  .ece-teams .tz-assign .tz-btn{justify-content:center}
  .ece-teams .tz-join{grid-template-columns:1fr}
  .ece-teams .tz-kpis{grid-template-columns:1fr 1fr}
  .ece-teams .tz-finder,.ece-teams .tz-assign{grid-template-columns:1fr}
    .ece-teams .tz-summary{position:static}
}

/* Your-courses table: numeric columns */
.ece-teams .tz-coursecols{min-width:560px}
.ece-teams .tz-coursecols th.num,.ece-teams .tz-coursecols td.num{text-align:center; font-family:var(--mono); font-variant-numeric:tabular-nums; width:96px}
.ece-teams .tz-coursecols td.num{font-weight:600; font-size:15px}
.ece-teams .tz-coursecols td.num.done{color:var(--emerald)}
.ece-teams .tz-cchip{width:32px; height:32px; border-radius:8px; background:linear-gradient(150deg,#16232B,#25404E); color:#fff; font-family:var(--mono); font-size:10px; font-weight:600; display:grid; place-items:center; flex:none}

/* "Courses to be assigned: N" under the course dropdown */
.ece-teams .tz-openinfo{display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:#1e293b; background:#fff; border:1.5px solid var(--amber); border-radius:999px; padding:6px 14px; white-space:nowrap; box-shadow:0 3px 10px -6px var(--amber-deep)}
.ece-teams .tz-openinfo:empty{display:none}

/* required-field marker */
.ece-teams .tz-field label .req{color:var(--rose); font-weight:700}

/* Busy state: circular spinner ON the button during AJAX (site-wide pattern) */
.ece-teams .tz-btn.busy{position:relative; color:transparent !important; pointer-events:none; opacity:.85}
.ece-teams .tz-btn.busy::after{content:""; position:absolute; inset:0; margin:auto; width:18px; height:18px; border:2.5px solid rgba(120,53,15,.3); border-top-color:#78350f; border-radius:50%; animation:tzspin .7s linear infinite}
.ece-teams .tz-btn.notify.busy::after,.ece-teams .tz-btn-danger.busy::after{border-color:rgba(255,255,255,.4); border-top-color:#fff}
@keyframes tzspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ece-teams .tz-btn.busy::after{animation-duration:1.6s}}

/* Nav buttons (My Team / Buy more courses): solid blue — visually distinct from the amber commerce CTAs */
.ece-teams .tz-btn.nav{background:linear-gradient(135deg,#3b82f6,#2563eb); color:#fff; border:1px solid #2563eb; box-shadow:0 8px 20px -12px rgba(37,99,235,.75)}
.ece-teams .tz-btn.nav:hover{background:linear-gradient(135deg,#60a5fa,#3b82f6); color:#fff; transform:translateY(-1px)}
.ece-teams .tz-btn.nav svg{width:15px; height:15px; flex:0 0 auto}
.ece-teams .tz-btn.nav.busy::after{border-color:rgba(255,255,255,.35); border-top-color:#fff}
.ece-teams .tz-remove.busy{opacity:.5; pointer-events:none}

/* Bulk-only gate: checkout CTA stays visible but inert until every course
   line has 2+ seats */
.ece-teams .tz-btn.disabled{opacity:.55; filter:saturate(.35); pointer-events:none; cursor:not-allowed; box-shadow:none}

/* Sticky checkout bar: slides in when the order has lines but the step-2
   order panel is off-screen; slides away once the panel scrolls into view */
.ece-teams .tz-sticky{position:fixed; left:0; right:0; bottom:0; z-index:9990; background:var(--card); border-top:1px solid var(--line); box-shadow:0 -4px 18px rgba(15,23,42,.12); transform:translateY(110%); transition:transform .24s ease-out; padding:12px 16px; padding-bottom:max(12px, env(safe-area-inset-bottom))}
.ece-teams .tz-sticky[hidden]{display:none}
.ece-teams .tz-sticky.is-visible{transform:translateY(0)}
.ece-teams .tz-sticky-inner{max-width:1120px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:16px}
.ece-teams .tz-sticky-info{min-width:0; flex:1 1 auto}
.ece-teams .tz-sticky-price{font-family:var(--mono); font-weight:600; font-size:20px; color:var(--amber-deep); line-height:1.15}
.ece-teams .tz-sticky-meta{font-size:12px; color:var(--faint); margin-top:2px}
@media (max-width:600px){
  .ece-teams .tz-sticky-price{font-size:17px}
  .ece-teams .tz-sticky .tz-btn{padding:10px 14px; font-size:13px}
}
@media (prefers-reduced-motion:reduce){.ece-teams .tz-sticky{transition:none}}

/* Stepper busy: spinner replaces the quantity while the cart request runs */
.ece-teams .tz-stepper.busy{position:relative; pointer-events:none}
.ece-teams .tz-stepper.busy .v{color:transparent}
.ece-teams .tz-stepper.busy button{opacity:.45}
.ece-teams .tz-stepper.busy::after{content:""; position:absolute; inset:0; margin:auto; width:16px; height:16px; border:2.5px solid rgba(120,53,15,.3); border-top-color:#78350f; border-radius:50%; animation:tzspin .7s linear infinite}
.ece-teams .tz-stepper.sm.busy::after{width:14px; height:14px; border-width:2px}
@media (prefers-reduced-motion:reduce){.ece-teams .tz-stepper.busy::after{animation-duration:1.6s}}
