/* ==========================================================================
   Training Plans — list, plan detail drawer and the Assign Training wizard.
   Built on the command canvas defined in ilms-theme.css.
   ========================================================================== */
.tp { max-width: 1480px; margin: 0 auto; padding: 30px 32px 48px; display: flex; flex-direction: column; gap: 20px; }

.tp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.tp-top h1 { margin: 12px 0 10px; font: 700 clamp(28px, 2.9vw, 42px)/1.08 var(--font-display); letter-spacing: -0.03em; color: #f6f7f9; }
.tp-top h1 .ix-serif { color: #93c5fd; font-size: 1.08em; }
.tp-top p { margin: 0; max-width: 68ch; font-size: 15px; line-height: 1.55; color: #b6bdc9; }
.tp-top .ix-btn { flex: none; height: 48px; padding: 0 22px; font-size: 15px; }

.tp-flow {
  display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-radius: 18px; overflow-x: auto;
  background: var(--ix-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tp-flow__step { flex: 1; min-width: 150px; display: grid; grid-template-columns: 34px 1fr; column-gap: 11px; align-items: center; }
.tp-flow__step > i { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; color: #93c5fd; background: rgba(37, 99, 235, 0.18); border: 1px solid rgba(96, 165, 250, 0.28); }
.tp-flow__step b { font-size: 13.5px; font-weight: 700; color: #f3f5f8; line-height: 1.2; }
.tp-flow__step span { font-size: 11.5px; color: #98a1b0; line-height: 1.3; white-space: nowrap; }
.tp-flow__step.is-end > i { color: #6ee7b7; background: rgba(52, 211, 153, 0.14); border-color: rgba(52, 211, 153, 0.3); }
.tp-flow__arrow { flex: none; font-size: 11px; color: #6f7886; }

.tp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tp-stat { padding: 18px 20px; border-radius: 18px; background: var(--ix-card); border: 1px solid rgba(255, 255, 255, 0.08); }
.tp-stat span { font-size: 12.5px; font-weight: 600; color: #b6bdc9; }
.tp-stat b { display: block; margin-top: 8px; font: 700 32px/1 var(--font-display); letter-spacing: -0.03em; color: #fff; }
.tp-stat small { display: block; margin-top: 8px; font-size: 12px; color: #98a1b0; }
.tp-stat.is-bad b { color: #fca5a5; }

.tp-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tp-search { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; min-width: 280px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.11); color: #98a1b0; }
.tp-search:focus-within { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25); }
.tp-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #f6f7f9; font: 500 14px var(--font-base); }
.tp-search input::placeholder { color: #8b94a3; }

/* ---- Plan cards ---------------------------------------------------------------- */
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.tp-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 18px; border-radius: 20px; text-align: left; cursor: pointer;
  font: inherit; color: inherit;
  background: var(--ix-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.tp-card:hover { transform: translateY(-3px); border-color: rgba(96, 165, 250, 0.5); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4); }
.tp-card:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.tp-card.is-overdue { border-color: rgba(248, 113, 113, 0.32); }
.tp-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-card__head { display: flex; align-items: flex-start; gap: 14px; }
.tp-card__title { flex: 1; min-width: 0; }
.tp-card__title b { display: block; font: 700 17px/1.25 var(--font-display); letter-spacing: -0.015em; color: #f6f7f9; }
.tp-card__title span { display: block; margin-top: 5px; font-size: 13px; color: #a8b0bd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-ring { flex: none; position: relative; width: 58px; height: 58px; }
.tp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tp-ring circle { fill: none; stroke-width: 6; }
.tp-ring .t { stroke: rgba(255, 255, 255, 0.11); }
.tp-ring .v { stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tp-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 14px var(--font-display); color: #fff; }
.tp-seg { display: flex; height: 8px; gap: 2px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.tp-seg span { display: block; height: 100%; }
.tp-card__nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tp-card__nums div b { display: block; font: 700 18px/1 var(--font-display); color: #fff; }
.tp-card__nums div span { display: block; margin-top: 5px; font-size: 11.5px; color: #98a1b0; }
.tp-card__nums .is-bad b { color: #fca5a5; }
.tp-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 12.5px; color: #a8b0bd; }
.tp-card__foot span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-blank { grid-column: 1 / -1; padding: 56px 24px; text-align: center; border-radius: 20px; border: 1px dashed rgba(255, 255, 255, 0.15); color: #b6bdc9; }
.tp-blank i { font-size: 30px; color: #60a5fa; }
.tp-blank h3 { margin: 16px 0 6px; font: 700 20px var(--font-display); color: #f6f7f9; }
.tp-blank p { margin: 0 auto 20px; max-width: 46ch; font-size: 14px; line-height: 1.5; }

/* ---- Drawer ------------------------------------------------------------------------ */
.tp-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(3px); }
.tp-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(860px, 100vw); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #12151b, #0e1014); border-left: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.55); transform: translateX(102%); transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  color: #f6f7f9; outline: 0;
}
.tp-drawer.is-open { transform: none; }
.tp-drawer__head { padding: 24px 28px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: #181c23; }
.tp-drawer__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.tp-drawer__head h2 { margin: 12px 0 6px; font: 700 26px/1.15 var(--font-display); letter-spacing: -0.02em; }
.tp-drawer__head p { margin: 0; font-size: 13.5px; color: #b6bdc9; }
.tp-x { flex: none; width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.13); background: rgba(255, 255, 255, 0.05); color: #c2c9d4; cursor: pointer; font-size: 15px; }
.tp-x:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.tp-x:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.tp-drawer__kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.tp-drawer__kpis div { padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.08); }
.tp-drawer__kpis b { display: block; font: 700 20px/1 var(--font-display); }
.tp-drawer__kpis span { display: block; margin-top: 5px; font-size: 11.5px; color: #a8b0bd; }
.tp-drawer__kpis .is-bad b { color: #fca5a5; } .tp-drawer__kpis .is-good b { color: #6ee7b7; }
.tp-drawer__tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.tp-drawer__tools .left, .tp-drawer__tools .right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tp-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.tp-pills button { height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.13); background: none; color: #b6bdc9; font: 600 12.5px var(--font-base); cursor: pointer; }
.tp-pills button.is-active { background: rgba(37, 99, 235, 0.28); border-color: rgba(96, 165, 250, 0.45); color: #fff; }
.tp-drawer__body { flex: 1; overflow-y: auto; padding: 6px 28px 24px; }
.tp-form { margin: 14px 0 6px; padding: 18px; border-radius: 16px; background: rgba(37, 99, 235, 0.09); border: 1px solid rgba(96, 165, 250, 0.26); }
.tp-form h3 { margin: 0 0 4px; font: 700 16px var(--font-display); }
.tp-form > p { margin: 0 0 14px; font-size: 13px; color: #b6bdc9; line-height: 1.45; }
.tp-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tp-form__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.tp-field { display: flex; flex-direction: column; gap: 6px; }
.tp-field > span { font-size: 12px; font-weight: 600; color: #c2c9d4; }
.tp-field input, .tp-field select, .tp-field textarea {
  height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.15); background: #0d0f14;
  color: #f6f7f9; font: 500 14px var(--font-base); outline: 0; width: 100%; box-sizing: border-box;
}
.tp-field textarea { height: 78px; padding: 10px 12px; resize: vertical; }
.tp-field input:focus, .tp-field select:focus, .tp-field textarea:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25); }
.tp-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.tp-table th { position: sticky; top: 0; z-index: 1; background: #181c23; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #98a1b0; padding: 10px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.tp-table td { padding: 11px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 13.5px; color: #d6dbe3; vertical-align: middle; }
.tp-table tr:hover td { background: rgba(255, 255, 255, 0.03); }
.tp-table td.who b { display: block; color: #f6f7f9; font-weight: 600; }
.tp-table td.who span { display: block; margin-top: 2px; font-size: 12px; color: #98a1b0; }
.tp-table input[type='checkbox'] { width: 16px; height: 16px; accent-color: #2563eb; cursor: pointer; }
.tp-table .when { white-space: nowrap; font-size: 12.5px; color: #b6bdc9; }
.tp-table a { color: #93c5fd; text-decoration: none; }

/* ---- Wizard -------------------------------------------------------------------------- */
.tp-wizard { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px); }
.tp-wizard[hidden], .tp-scrim[hidden] { display: none; }
.tp-wizard__panel {
  width: min(1080px, 100%); height: min(820px, 100%); display: flex; flex-direction: column; overflow: hidden; border-radius: 26px;
  background: #111418;
  border: 1px solid rgba(255, 255, 255, 0.13); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7); color: #f6f7f9;
  animation: tp-pop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}
@keyframes tp-pop { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.tp-wizard__head { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px 30px 8px; }
.tp-wizard__head h2 { margin: 8px 0 0; font: 700 28px/1.1 var(--font-display); letter-spacing: -0.025em; }
.tp-steps { list-style: none; margin: 14px 0 0; padding: 0 30px 18px; display: flex; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.tp-steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: #8b94a3; border: 1px solid transparent; }
.tp-steps li span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(255, 255, 255, 0.08); color: #a8b0bd; }
.tp-steps li.is-current { color: #fff; background: rgba(37, 99, 235, 0.16); border-color: rgba(96, 165, 250, 0.35); }
.tp-steps li.is-current span { background: #2563eb; color: #fff; }
.tp-steps li.is-done { color: #c2c9d4; cursor: pointer; }
.tp-steps li.is-done span { background: rgba(52, 211, 153, 0.2); color: #6ee7b7; }
.tp-wizard__body { flex: 1; overflow-y: auto; padding: 22px 30px; }
.tp-wizard__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 30px; border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(0, 0, 0, 0.25); }
.tp-wizard__summary { min-width: 0; font-size: 13.5px; color: #b6bdc9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-wizard__summary b { color: #fff; font-weight: 600; }
.tp-wizard__nav { flex: none; display: flex; gap: 10px; }
.tp-h { margin: 0 0 4px; font: 700 19px var(--font-display); letter-spacing: -0.01em; }
.tp-sub { margin: 0 0 16px; font-size: 13.5px; color: #b6bdc9; line-height: 1.5; }
.tp-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }

.tp-domainbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tp-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.tp-pick {
  position: relative; text-align: left; cursor: pointer; padding: 14px 16px; border-radius: 14px; font: inherit; color: inherit;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.1); transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}
.tp-pick:hover { border-color: rgba(96, 165, 250, 0.5); background: rgba(255, 255, 255, 0.06); }
.tp-pick:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.tp-pick.is-on { border-color: #60a5fa; background: rgba(37, 99, 235, 0.2); box-shadow: 0 0 0 1px #60a5fa inset, 0 10px 30px rgba(37, 99, 235, 0.25); }
.tp-pick.is-on::after { content: '\f00c'; font: 900 11px 'Font Awesome 6 Free'; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #2563eb; color: #fff; }
.tp-pick b { display: block; padding-right: 26px; font-size: 14.5px; font-weight: 600; color: #f6f7f9; line-height: 1.3; }
.tp-pick small { display: block; margin-top: 4px; font-size: 12px; color: #98a1b0; }
.tp-pick .meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.tp-tiles .tp-pick i.ic { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 10px; font-size: 14px; color: #93c5fd; background: rgba(37, 99, 235, 0.18); }
.tp-options { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-opt { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; font: 600 13.5px var(--font-base); color: #d6dbe3; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.13); }
.tp-opt small { font-size: 12px; font-weight: 600; color: #98a1b0; }
.tp-opt:hover { border-color: rgba(96, 165, 250, 0.5); }
.tp-opt.is-on { color: #fff; background: rgba(37, 99, 235, 0.3); border-color: #60a5fa; }
.tp-opt.is-on small { color: #bfdbfe; }
.tp-opt:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.tp-people { max-height: 300px; overflow-y: auto; margin-top: 10px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); }
.tp-person { display: flex; align-items: center; gap: 12px; padding: 9px 12px; cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.tp-person:hover { background: rgba(255, 255, 255, 0.04); }
.tp-person input { width: 16px; height: 16px; accent-color: #2563eb; }
.tp-person b { display: block; font-size: 13.5px; font-weight: 600; color: #f6f7f9; }
.tp-person span { display: block; font-size: 12px; color: #98a1b0; }

.tp-preview { position: sticky; top: 0; padding: 18px; border-radius: 18px; background: #0d0f14; border: 1px solid rgba(255, 255, 255, 0.1); }
.tp-preview__big { font: 700 52px/1 var(--font-display); letter-spacing: -0.04em; color: #fff; }
.tp-preview__cap { margin-top: 6px; font-size: 13px; color: #b6bdc9; }
.tp-preview__lines { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; gap: 9px; }
.tp-preview__lines div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: #b6bdc9; }
.tp-preview__lines b { color: #fff; font-weight: 600; }
.tp-preview__dept { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.tp-preview__dept div { display: grid; grid-template-columns: 1fr 26px; gap: 4px 8px; font-size: 12.5px; color: #c2c9d4; }
.tp-preview__dept .ix-bar { grid-column: 1 / -1; height: 4px; }
.tp-preview__dept b { text-align: right; color: #fff; }
.tp-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 12.5px; line-height: 1.45; color: #b6bdc9; cursor: pointer; }
.tp-check input { margin-top: 2px; width: 16px; height: 16px; accent-color: #2563eb; flex: none; }
.tp-note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 12.5px; line-height: 1.5; color: #d6dbe3; background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.22); }
.tp-note.is-warn { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.24); }
.tp-block + .tp-block { margin-top: 24px; }
.tp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.tp-review { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
.tp-sentence { font: 400 30px/1.3 var(--font-serif); font-style: italic; color: #d6dbe3; }
.tp-sentence b { font-style: normal; font: 700 0.86em var(--font-display); letter-spacing: -0.01em; color: #fff; }
.tp-review dl { margin: 22px 0 0; display: grid; grid-template-columns: 150px 1fr; gap: 12px 16px; font-size: 14px; }
.tp-review dt { color: #98a1b0; }
.tp-review dd { margin: 0; color: #f3f5f8; font-weight: 500; }
.tp-next { padding: 18px; border-radius: 18px; background: #0d0f14; border: 1px solid rgba(255, 255, 255, 0.1); }
.tp-next h4 { margin: 0 0 12px; font: 700 14px var(--font-display); letter-spacing: 0.02em; }
.tp-next ol { margin: 0; padding-left: 18px; list-style: decimal; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.5; color: #c2c9d4; }
.tp-done { height: 100%; display: grid; place-content: center; text-align: center; gap: 6px; }
.tp-done i.big { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: #fff; background: linear-gradient(145deg, #10b981, #059669); box-shadow: 0 0 0 10px rgba(52, 211, 153, 0.14), 0 0 60px rgba(52, 211, 153, 0.45); animation: tp-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4) both; }
.tp-done h3 { margin: 0; font: 700 28px var(--font-display); letter-spacing: -0.02em; }
.tp-done p { margin: 6px auto 20px; max-width: 48ch; font-size: 15px; line-height: 1.5; color: #b6bdc9; }
.tp-done .acts { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.tp-err { margin-top: 12px; padding: 11px 14px; border-radius: 12px; font-size: 13px; color: #fecaca; background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.32); }

.tp-toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; color: #fff; background: #181c23; border: 1px solid rgba(96, 165, 250, 0.4); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); transition: opacity 0.2s ease, transform 0.2s ease; max-width: min(560px, 92vw); }
.tp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.tp-toast.is-bad { border-color: rgba(248, 113, 113, 0.5); }

@media (max-width: 1100px) {
  .tp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-split, .tp-review { grid-template-columns: 1fr; }
  .tp-preview { position: static; }
  .tp-flow { display: none; }
}
@media (max-width: 700px) {
  .tp { padding: 18px 14px 32px; }
  .tp-top { flex-direction: column; align-items: stretch; }
  .tp-grid { grid-template-columns: 1fr; }
  .tp-wizard { padding: 0; }
  .tp-wizard__panel { height: 100%; border-radius: 0; }
  .tp-wizard__head, .tp-wizard__body, .tp-wizard__foot { padding-left: 18px; padding-right: 18px; }
  .tp-steps { padding: 0 18px 14px; overflow-x: auto; }
  .tp-steps li { flex: none; }
  .tp-tiles, .tp-two { grid-template-columns: 1fr 1fr; }
  .tp-drawer__head, .tp-drawer__tools, .tp-drawer__body { padding-left: 16px; padding-right: 16px; }
  .tp-drawer__kpis { grid-template-columns: repeat(3, 1fr); }
  .tp-wizard__summary { display: none; }
  .tp-search { min-width: 0; flex: 1; }
  .tp-table .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-wizard__panel, .tp-done i.big { animation: none; }
  .tp-drawer, .tp-ring .v { transition: none; }
}

/* ==========================================================================
   Enterprise pass — the page names itself plainly and gets to the plans.
   ========================================================================== */
.tp { padding: 20px 24px 40px; gap: 16px; }
.tp-top { align-items: center; }
.tp-top .ix-eyebrow { display: none; }
.tp-top h1 { margin: 0 0 6px; font-size: 24px; line-height: 1.15; letter-spacing: -0.025em; }
.tp-top p { font-size: 14px; line-height: 1.5; color: #cbd2dc; }
.tp-top .ix-btn { height: 38px; padding: 0 16px; font-size: 13.5px; }
.tp-flow { padding: 10px 14px; border-radius: 12px; box-shadow: none; }
.tp-flow__step { grid-template-columns: 28px 1fr; column-gap: 10px; }
.tp-flow__step > i, .tp-flow__step.is-end > i { width: 28px; height: 28px; border-radius: 8px; font-size: 12px; color: #a6afbd; background: rgba(255, 255, 255, 0.06); border-color: transparent; }
.tp-flow__step b { font-size: 13px; font-weight: 600; }
.tp-flow__step span { font-size: 12px; color: #a6afbd; }
.tp-stats { gap: 12px; }
.tp-stat { padding: 16px 20px; border-radius: 14px; box-shadow: var(--ix-shadow); }
.tp-stat span { font-weight: 500; color: #cbd2dc; }
.tp-stat b { margin-top: 6px; font-size: 28px; }
.tp-stat small { margin-top: 6px; color: #a6afbd; }
.tp-stat.is-bad { background: #1a1517; border-color: rgba(248, 113, 113, 0.32); }
.tp .ix-card { border-radius: 14px; box-shadow: var(--ix-shadow); }
