
/* GIC Curriculum Ticket V2 Live — focused hierarchy:
   - one featured long ticket for the current chapter
   - simpler ticket-like list cards below
   - chapter completion stamp only when completion is verified */

.gic-curriculum-ticket-v2 {
  --ticket-forest:#175648;
  --ticket-green:#136454;
  --ticket-deep:#0d4d41;
  --ticket-gold:#c49a49;
  --ticket-ink:#1d3f38;
  --ticket-muted:#70817a;
  --ticket-paper:#fffdf8;
  --ticket-soft:#f8f3e7;
  --ticket-edge:rgba(165,139,78,.28);
  --ticket-hole:#f7f7f2;
}

.gic-curriculum-ticket-v2 .chapter-menu-body{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.gic-curriculum-ticket-v2 .chapter-menu-note{margin-bottom:0 !important;}
.gic-curriculum-ticket-v2 .chapter-menu-grid{
  display:grid;
  gap:14px;
}

/* Featured current chapter ticket */
.gic-curriculum-ticket-v2 .gic-current-ticket{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(230px,.85fr);
  overflow:hidden;
  border:1px solid rgba(178,145,78,.35);
  border-radius:26px;
  background:linear-gradient(120deg,#fffaf0 0%,#fffdf8 50%,#ffffff 100%);
  box-shadow:0 16px 36px rgba(23,65,54,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
.gic-curriculum-ticket-v2 .gic-current-ticket::before,
.gic-curriculum-ticket-v2 .gic-current-ticket::after{
  content:"";
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:24px;height:24px;
  border-radius:50%;
  background:#eef2ef;
  box-shadow:inset 0 0 0 1px rgba(148,132,94,.16);
  z-index:2;
}
.gic-curriculum-ticket-v2 .gic-current-ticket::before{left:-12px;}
.gic-curriculum-ticket-v2 .gic-current-ticket::after{right:-12px;}
.gic-curriculum-ticket-v2 .gic-current-main{
  position:relative;
  padding:22px 24px 22px 24px;
  min-width:0;
}
.gic-curriculum-ticket-v2 .gic-current-main::after{
  content:"";
  position:absolute;
  top:18px; bottom:18px; right:0;
  width:1px;
  background:repeating-linear-gradient(180deg, rgba(179,144,73,.45) 0 6px, transparent 6px 12px);
}
.gic-curriculum-ticket-v2 .gic-current-kicker{
  display:block;
  margin-bottom:10px;
  font:800 10px/1.3 Inter,system-ui,sans-serif;
  letter-spacing:.16em;
  color:#90723f;
}
.gic-curriculum-ticket-v2 .gic-current-route{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  padding:6px 10px;
  border-radius:999px;
  background:#f4efe0;
  color:#365b52;
  font:750 11px/1 Inter,system-ui,sans-serif;
  letter-spacing:.08em;
}
.gic-curriculum-ticket-v2 .gic-current-route svg{
  width:18px;height:18px;flex:none;
}
.gic-curriculum-ticket-v2 .gic-current-label{
  display:block;
  margin:0 0 4px;
  color:#214f46;
  font:800 clamp(38px,5vw,58px)/.92 Newsreader,Georgia,serif;
  letter-spacing:-.04em;
}
.gic-curriculum-ticket-v2 .gic-current-title{
  margin:0 0 8px;
  color:#175648;
  font:750 clamp(22px,2.5vw,30px)/1.06 Newsreader,Georgia,serif;
  letter-spacing:-.02em;
}
.gic-curriculum-ticket-v2 .gic-current-desc{
  margin:0 0 14px;
  color:var(--ticket-muted);
  line-height:1.58;
}
.gic-curriculum-ticket-v2 .gic-current-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.gic-curriculum-ticket-v2 .gic-current-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 11px;
  border-radius:999px;
  background:#f7f3e8;
  color:#48685d;
  font:700 11px/1 Inter,system-ui,sans-serif;
}
.gic-curriculum-ticket-v2 .gic-current-chip b{color:#175648;}
.gic-curriculum-ticket-v2 .gic-current-side{
  padding:22px 22px 22px 20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  background:linear-gradient(155deg,#155c4d 0%, #0f4e42 62%, #0c4439 100%);
  color:#fff;
}
.gic-curriculum-ticket-v2 .gic-current-side-label{
  font:800 11px/1.3 Inter,system-ui,sans-serif;
  letter-spacing:.15em;
  color:#f0cf80;
}
.gic-curriculum-ticket-v2 .gic-current-percent{
  margin:8px 0 10px;
  color:#fff7e7;
  font:800 clamp(34px,4vw,50px)/.95 Newsreader,Georgia,serif;
}
.gic-curriculum-ticket-v2 .gic-current-side-sub{
  margin:0 0 12px;
  color:rgba(255,255,255,.75);
  font-size:12px;
  line-height:1.5;
}
.gic-curriculum-ticket-v2 .gic-current-track{
  height:10px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.gic-curriculum-ticket-v2 .gic-current-track i{
  display:block;height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#f3d06f,#c89a49);
}
.gic-curriculum-ticket-v2 .gic-current-action{
  margin-top:14px;
  min-height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  background:linear-gradient(135deg,#f1cf78,#d9ad57);
  color:#163f36 !important;
  font:800 15px/1 Inter,system-ui,sans-serif;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(0,0,0,.13);
}
.gic-curriculum-ticket-v2 .gic-current-action:hover{text-decoration:none;filter:brightness(1.03);}
.gic-curriculum-ticket-v2 .gic-current-ticket.gic-ticket--locked .gic-current-side{
  background:linear-gradient(160deg,#43514c 0%, #31413b 100%);
}
.gic-curriculum-ticket-v2 .gic-current-ticket.gic-ticket--locked .gic-current-side-label{color:#e5d1a0;}
.gic-curriculum-ticket-v2 .gic-current-ticket.gic-ticket--complete .gic-current-side{
  background:linear-gradient(155deg,#155c4d 0%, #10483d 100%);
}

/* List cards */
.gic-curriculum-ticket-v2 .chapter-menu-item{
  position:relative !important;
  display:grid !important;
  grid-template-columns:58px minmax(0,1fr) !important;
  gap:10px 14px !important;
  align-items:start !important;
  padding:18px 18px 16px !important;
  min-width:0 !important;
  border:1px solid var(--ticket-edge) !important;
  border-radius:20px !important;
  background:linear-gradient(120deg,#fffefb 0%,#fffaf2 100%) !important;
  box-shadow:0 9px 22px rgba(28,55,48,.05), inset 0 1px 0 rgba(255,255,255,.92) !important;
  overflow:hidden !important;
}
.gic-curriculum-ticket-v2 .chapter-menu-item::before{
  content:"";
  position:absolute;
  top:0;left:0;bottom:0;
  width:5px;
  background:linear-gradient(180deg,#d4b16a,#e8d4a5);
  opacity:.95;
}
.gic-curriculum-ticket-v2 .chapter-menu-item.gic-ticket--complete::before{
  background:linear-gradient(180deg,#1a6c56,#85b89a);
}
.gic-curriculum-ticket-v2 .chapter-menu-item.gic-ticket--current-list::before{
  background:linear-gradient(180deg,#0f6655,#d2a54f);
}
.gic-curriculum-ticket-v2 .chapter-menu-item.gic-ticket--locked::before{
  background:linear-gradient(180deg,#cfc7b2,#ece7d8);
}
.gic-curriculum-ticket-v2 .chapter-menu-item.gic-ticket--locked{
  background:linear-gradient(135deg,#fcfbf8,#f7f5ef) !important;
}
.gic-curriculum-ticket-v2 .chapter-menu-item.gic-chapter-clickable{cursor:pointer;}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .gic-curriculum-ticket-v2 .chapter-menu-item.gic-chapter-clickable:hover{
    transform:translateY(-1px);
    box-shadow:0 14px 28px rgba(26,63,54,.08), inset 0 1px 0 rgba(255,255,255,.92) !important;
  }
}
.gic-curriculum-ticket-v2 .chapter-menu-item.gic-chapter-clickable:focus-within {
  outline:2px solid #bb923e; outline-offset:3px;
}
.gic-curriculum-ticket-v2 .chapter-menu-num{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:54px !important;height:56px !important;
  border-radius:15px !important;
  background:linear-gradient(145deg,#f5eddb,#faf7ee) !important;
  border:1px solid rgba(188,150,80,.22) !important;
  color:#a47f36 !important;
  font:800 21px/1 Inter,system-ui,sans-serif !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}
.gic-curriculum-ticket-v2 .gic-ticket--complete .chapter-menu-num{
  color:#196851 !important;
  background:#e6f1e8 !important;
  border-color:#c9ddcf !important;
}
.gic-curriculum-ticket-v2 .chapter-menu-copy{min-width:0 !important; align-self:center !important;}
.gic-curriculum-ticket-v2 .chapter-menu-copy h3{
  margin:0 0 5px !important;
  color:var(--ticket-forest) !important;
  line-height:1.24 !important;
}
.gic-curriculum-ticket-v2 .chapter-menu-copy p{
  margin:0 !important;
  color:var(--ticket-muted) !important;
  line-height:1.52 !important;
}
.gic-curriculum-ticket-v2 .gic-list-pill,
.gic-curriculum-ticket-v2 .gic-ticket-stamp-small{
  position:absolute;
  top:12px; right:14px;
}
.gic-curriculum-ticket-v2 .gic-list-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:#f6f1e2;
  color:#5f694f;
  font:800 10px/1 Inter,system-ui,sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.gic-curriculum-ticket-v2 .gic-ticket--current-list .gic-list-pill{
  background:#f0ead7;
  color:#926f33;
}
.gic-curriculum-ticket-v2 .gic-ticket--locked .gic-list-pill{
  background:#efece4;
  color:#7d7a70;
}
.gic-curriculum-ticket-v2 .gic-ticket-stamp-small{
  width:74px;height:74px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  transform:rotate(-13deg);
  border:2px double rgba(21,93,73,.48);
  color:#1b715a;
  background:rgba(236,248,241,.78);
  text-align:center;
  pointer-events:none;
}
.gic-curriculum-ticket-v2 .gic-ticket-stamp-small small{
  display:block;
  font:800 7px/1.15 Inter,system-ui,sans-serif;
  letter-spacing:.11em;
}
.gic-curriculum-ticket-v2 .gic-ticket-stamp-small b{
  display:block;
  font:900 18px/1 Newsreader,Georgia,serif;
  margin:2px 0 1px;
}

.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-progress,
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-lock-wrap{
  grid-column:1 / -1 !important;
}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-progress{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  column-gap:12px !important;
  row-gap:9px !important;
  align-items:center !important;
  min-width:0 !important;
  margin:12px 0 0 !important;
  padding:12px 0 0 !important;
  border-top:1px dashed rgba(176,149,90,.46) !important;
}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-progress-top{
  grid-column:1 / -1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
  font-size:12px !important;
  color:#71827c !important;
}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-progress-top b,
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-action{
  color:#1c6955 !important;
}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-track{
  grid-column:1 !important;
  min-width:45px !important;
  height:6px !important;
  margin:0 !important;
  border-radius:999px;
  overflow:hidden;
  background:#e4ebe6;
}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-track i{
  display:block;height:100%;border-radius:inherit;
  background:linear-gradient(90deg,#1a715a,#c5a152);
}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-action{
  grid-column:2 !important;
  margin:0 !important;
  text-align:right !important;
  font-size:12px !important;
  font-weight:760 !important;
  line-height:1.45 !important;
  white-space:normal !important;
}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-lock-wrap{
  margin:10px 0 0 !important;
  padding:12px 0 0 !important;
  border-top:1px dashed rgba(176,149,90,.42) !important;
}

/* Mobile */
@media(max-width:700px){
  .gic-curriculum-ticket-v2 .gic-current-ticket{
    grid-template-columns:1fr;
  }
  .gic-curriculum-ticket-v2 .gic-current-main{
    padding:18px 18px 16px;
  }
  .gic-curriculum-ticket-v2 .gic-current-main::after{display:none;}
  .gic-curriculum-ticket-v2 .gic-current-side{
    padding:16px 18px 18px;
  }
  .gic-curriculum-ticket-v2 .gic-current-label{font-size:40px;}
  .gic-curriculum-ticket-v2 .gic-current-title{font-size:24px;}
  .gic-curriculum-ticket-v2 .gic-current-percent{font-size:38px; margin-bottom:8px;}
}
@media(max-width:600px){
  .gic-curriculum-ticket-v2 .chapter-menu-item{
    grid-template-columns:54px minmax(0,1fr) !important;
    gap:10px 12px !important;
    padding:16px 15px 15px !important;
  }
  .gic-curriculum-ticket-v2 .chapter-menu-num{width:50px !important; height:52px !important; font-size:19px !important;}
  .gic-curriculum-ticket-v2 .gic-list-pill{font-size:9px; padding:5px 8px; top:11px; right:11px;}
  .gic-curriculum-ticket-v2 .gic-ticket-stamp-small{width:64px;height:64px;right:10px;top:10px;}
  .gic-curriculum-ticket-v2 .gic-ticket-stamp-small small{font-size:6px;}
  .gic-curriculum-ticket-v2 .gic-ticket-stamp-small b{font-size:16px;}
  .gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-progress-top,
  .gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-action{font-size:11px !important;}
}
@media(max-width:380px){
  .gic-curriculum-ticket-v2 .gic-current-route{font-size:10px;}
  .gic-curriculum-ticket-v2 .gic-current-kicker{font-size:9px;}
  .gic-curriculum-ticket-v2 .gic-current-chip{font-size:10px;}
  .gic-curriculum-ticket-v2 .chapter-menu-item{padding-top:14px !important;}
}

/* Dark mode */
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2,
html[data-theme="dark"] .gic-curriculum-ticket-v2 {
  --ticket-forest:#e8f1ea;
  --ticket-muted:#afc0b7;
  --ticket-hole:#1a2b24;
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-ticket,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-ticket{
  background:linear-gradient(140deg,#23382e 0%,#1b2f27 52%,#172a23 100%);
  border-color:rgba(204,183,124,.25);
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-main::after,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-main::after{
  background:repeating-linear-gradient(180deg, rgba(217,186,114,.4) 0 6px, transparent 6px 12px);
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-kicker,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-kicker,
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-route,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-route{
  color:#d9bf82;
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-route,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-route{background:#304038;}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-title,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-title,
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-copy h3,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-copy h3,
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-label,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-label{
  color:#edf3ee !important;
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-desc,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-copy p{
  color:#afc0b7 !important;
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-chip,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-chip{
  background:#2b3a33;
  color:#cbddd2;
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-chip b,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-chip b{color:#eef2ee;}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-item,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-item{
  background:linear-gradient(140deg,#22352c,#1a2d26) !important;
  border-color:rgba(203,180,114,.23) !important;
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-num,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-num{
  background:linear-gradient(125deg,#3b4130,#28392f) !important;
  color:#dbbe77 !important;
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-ticket--complete .chapter-menu-num,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-ticket--complete .chapter-menu-num{
  background:#274537 !important;
  color:#b6e1c8 !important;
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-list-pill,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-list-pill{
  background:#34453b;
  color:#d8ccb2;
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-ticket-stamp-small,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-ticket-stamp-small{
  background:rgba(21,74,54,.24);
  color:#a7ddb8;
  border-color:rgba(126,208,160,.35);
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-progress-top,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-progress-top{color:#bbcabd !important;}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-track,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-track{background:#3c5145;}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-progress-top b,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-action{color:#badcc7 !important;}

/* V2 live refinements */
.gic-curriculum-ticket-v2 .gic-current-title{font-size:clamp(23px,3.8vw,36px);line-height:1.05;}
.gic-curriculum-ticket-v2 .gic-current-title span{display:block;font-size:clamp(18px,2.3vw,25px);line-height:1.2;margin-top:9px;letter-spacing:-.015em;}
.gic-curriculum-ticket-v2 .gic-current-route svg{fill:none;stroke:currentColor;stroke-linejoin:round;stroke-linecap:round;stroke-width:1.7;}
.gic-curriculum-ticket-v2 .gic-current-tags{display:flex;flex-wrap:wrap;gap:7px;}
.gic-curriculum-ticket-v2 .gic-current-tags span{display:inline-flex;padding:6px 10px;border-radius:999px;background:#f2ecdd;color:#54766b;font-size:11px;font-weight:750;}
.gic-curriculum-ticket-v2 .gic-current-action-slot{margin-top:14px;}
.gic-curriculum-ticket-v2 .gic-current-action-slot .gic-current-action{margin:0;}
.gic-curriculum-ticket-v2 button.gic-current-action.gic-chapter-premium-lock{
  appearance:none !important;display:flex !important;width:100% !important;max-width:100% !important;
  min-height:48px !important;padding:0 16px !important;border:none !important;border-radius:16px !important;
  background:linear-gradient(135deg,#f1cf78,#d9ad57) !important;color:#163f36 !important;
  font-size:14px !important;font-weight:800 !important;line-height:1.2 !important;
  white-space:normal !important;box-shadow:0 10px 24px rgba(0,0,0,.13) !important;
}
.gic-curriculum-ticket-v2 .gic-current-action[aria-disabled="true"]{opacity:.6;pointer-events:none;}
.gic-curriculum-ticket-v2 .gic-list-pill{position:relative;top:auto;right:auto;grid-column:2;justify-self:start;margin-top:2px;}
.gic-curriculum-ticket-v2 .chapter-menu-item:has(.gic-ticket-stamp-small){grid-template-columns:54px minmax(0,1fr) 70px !important;}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-ticket-stamp-small{
  position:relative;top:auto;right:auto;
  grid-column:3;grid-row:1;
  justify-self:end;align-self:center;
}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-progress,
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-lock-wrap{grid-column:1 / -1 !important;}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-progress{width:100% !important;}
.gic-curriculum-ticket-v2 .chapter-menu-item .chapter-menu-copy{overflow-wrap:anywhere;}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-progress-top{white-space:normal !important;}
.gic-curriculum-ticket-v2 .chapter-menu-item .gic-chapter-action{max-width:145px;}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-tags span,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-tags span{background:#30443a;color:#c6ddcc;}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-desc,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-current-desc,
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-copy p,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .chapter-menu-copy p{color:#afc0b7 !important;}
@media(max-width:700px){
 .gic-curriculum-ticket-v2 .gic-current-ticket{grid-template-columns:1fr !important;}
 .gic-curriculum-ticket-v2 .gic-current-title{font-size:31px;}
 .gic-curriculum-ticket-v2 .gic-current-title span{font-size:22px;margin-top:6px;}
 .gic-curriculum-ticket-v2 .gic-current-desc{font-size:13px;line-height:1.45;margin-bottom:12px;}
 .gic-curriculum-ticket-v2 .gic-current-tags span{font-size:10px;}
 .gic-curriculum-ticket-v2 .gic-current-side{display:grid;grid-template-columns:1fr auto;gap:8px 10px;align-items:center;}
 .gic-curriculum-ticket-v2 .gic-current-percent{grid-column:2;grid-row:1;margin:0;font-size:35px;}
 .gic-curriculum-ticket-v2 .gic-current-side-label{grid-column:1;grid-row:1;font-size:10px;}
 .gic-curriculum-ticket-v2 .gic-current-track{grid-column:1 / -1;grid-row:2;}
 .gic-curriculum-ticket-v2 .gic-current-action-slot{grid-column:1 / -1;grid-row:3;margin:4px 0 0;}
 .gic-curriculum-ticket-v2 .gic-current-action{margin-top:0;}
}
@media(max-width:600px){
 .gic-curriculum-ticket-v2 .chapter-menu-item:has(.gic-ticket-stamp-small){grid-template-columns:48px minmax(0,1fr) 60px !important;gap:9px 9px !important;}
 .gic-curriculum-ticket-v2 .gic-ticket-stamp-small{width:58px;height:58px;min-width:58px;}
 .gic-curriculum-ticket-v2 .gic-ticket-stamp-small small{font-size:6px;}
 .gic-curriculum-ticket-v2 .gic-current-main{padding:19px 17px 15px;}
 .gic-curriculum-ticket-v2 .gic-current-side{padding:15px 17px 17px;}
 .gic-curriculum-ticket-v2 .gic-current-route{font-size:9px;letter-spacing:.06em;gap:5px;}
}
@media(max-width:350px){
 .gic-curriculum-ticket-v2 .chapter-menu-item:has(.gic-ticket-stamp-small){grid-template-columns:43px minmax(0,1fr) 54px !important;gap:7px 8px !important;}
 .gic-curriculum-ticket-v2 .chapter-menu-item:has(.gic-ticket-stamp-small) .chapter-menu-num{width:43px !important;height:48px !important;}
 .gic-curriculum-ticket-v2 .gic-ticket-stamp-small{width:53px;height:53px;min-width:53px;}
}

/* Polished compact course progress: preserve the existing overall statistic. */
.gic-curriculum-ticket-v2 .gic-a1-overall{
  margin:0 !important;
  padding:17px 19px !important;
  border:1px solid rgba(24,91,73,.14) !important;
  border-radius:18px !important;
  background:linear-gradient(115deg,#f4f8f5,#fffdf7) !important;
  box-shadow:0 5px 18px rgba(19,68,57,.035) !important;
  min-width:0;
}
.gic-curriculum-ticket-v2 .gic-ticket-overall-kicker{
  display:block !important;
  margin-bottom:9px !important;
  color:#927545 !important;
  font:800 10px/1.45 Inter,system-ui,sans-serif !important;
  letter-spacing:.12em !important;
}
.gic-curriculum-ticket-v2 .gic-a1-overall-head{
  display:flex !important;
  justify-content:space-between !important;
  align-items:baseline !important;
  gap:10px !important;
  margin-bottom:11px !important;
}
.gic-curriculum-ticket-v2 .gic-a1-overall-head b{
  color:#175648 !important;
  font:780 clamp(16px,2.5vw,21px)/1.35 Inter,system-ui,sans-serif !important;
}
.gic-curriculum-ticket-v2 .gic-a1-overall-head span{
  color:#70817a !important;
  font-size:12px !important;
  white-space:nowrap;
}
.gic-curriculum-ticket-v2 .gic-a1-overall .gic-chapter-track{
  height:9px !important;
  position:relative;
  border-top:2px solid #a5c0b4;
  border-bottom:2px solid #a5c0b4;
  background:repeating-linear-gradient(90deg,#d7e4dd 0 3px,#f4f8f5 3px 10px);
  overflow:hidden;
}
.gic-curriculum-ticket-v2 .gic-ticket-route-ends{
  display:flex !important;
  justify-content:space-between !important;
  gap:8px !important;
  margin-top:7px !important;
  color:#998c72 !important;
  font:750 9px/1.2 Inter,system-ui,sans-serif !important;
  letter-spacing:.13em !important;
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-a1-overall,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-a1-overall{
  background:linear-gradient(115deg,#243a30,#1a3028) !important;
  border-color:rgba(209,185,120,.23) !important;
}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-a1-overall-head b,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-a1-overall-head b{color:#dff0e4 !important;}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-a1-overall-head span,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-a1-overall-head span{color:#b3c7bb !important;}
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-ticket-overall-kicker,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-ticket-overall-kicker,
html[data-gic-theme="dark"] .gic-curriculum-ticket-v2 .gic-ticket-route-ends,
html[data-theme="dark"] .gic-curriculum-ticket-v2 .gic-ticket-route-ends{color:#d8bc78 !important;}
@media(max-width:700px){
  /* Ticket notches align with the horizontal seam, away from the chapter description. */
  .gic-curriculum-ticket-v2 .gic-current-ticket::before,
  .gic-curriculum-ticket-v2 .gic-current-ticket::after{display:none;}
  .gic-curriculum-ticket-v2 .gic-current-main::before,
  .gic-curriculum-ticket-v2 .gic-current-main::after{
    display:block;
    content:"";
    position:absolute;
    bottom:-12px;
    width:24px;height:24px;
    border-radius:50%;
    background:#eef2ef;
    z-index:2;
    pointer-events:none;
  }
  .gic-curriculum-ticket-v2 .gic-current-main::before{left:-12px;}
  .gic-curriculum-ticket-v2 .gic-current-main::after{right:-12px;top:auto;}
  .gic-curriculum-ticket-v2 .gic-a1-overall-head b{font-size:16px !important;}
  .gic-curriculum-ticket-v2 .gic-a1-overall-head span{font-size:11px !important;}
}
@media(max-width:350px){
  .gic-curriculum-ticket-v2 .gic-a1-overall{padding:15px 14px !important;}
  .gic-curriculum-ticket-v2 .gic-ticket-overall-kicker{font-size:9px !important;}
}

/* Visible primary action above the optional chapter outline. */
.journey-section.gic-curriculum-ticket-v2 > .gic-current-ticket{margin-bottom:19px;}
