/* TRYeTECH Academy — portal (index.html). Uses the player.css tokens; classes prefixed pt- */

body.pt { min-height: 100vh; display: flex; flex-direction: column; }
.pt-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .pt-wrap { padding: 0 16px; } }
.pt main { flex: 1; outline: none; }
.pt h1:focus, .pt h2:focus { outline: none; }
.pt h1:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* ---------------------------------------------------------------- header */
.pt-top { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .15); padding-top: env(safe-area-inset-top, 0px); }
.pt-top .pt-wrap { display: flex; align-items: center; gap: 10px; min-height: 88px; }
.pt-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; min-height: 44px; }
/* Same logo size scale as the main site header (assets/css/style.css .hdr .brand img): 72 / 60 / 52 / 44 px */
.pt-brand img { height: 72px; width: auto; max-width: none; display: block; flex: none; }
@media (max-width: 1180px) { .pt-brand img { height: 60px; } }
@media (max-width: 900px) { .pt-top .pt-wrap { min-height: 72px; } .pt-brand img { height: 52px; } }
@media (max-width: 520px) { .pt-brand img { height: 44px; } }
.pt-brand b { font-weight: 800; }
.pt-brand span { font-weight: 500; opacity: .92; }
.pt-home { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; margin-left: 6px; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; border: 1.5px solid rgba(255, 255, 255, .35); white-space: nowrap; }
.pt-home:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.pt-home .ic { width: 18px; height: 18px; }
.pt-mnav a .ic { width: 18px; height: 18px; margin-right: 8px; }
@media (max-width: 1100px) { .pt-home span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .pt-home { padding: 0 10px; } }
@media (max-width: 900px) { .pt-home { display: none; } }
.pt-nav { display: flex; gap: 2px; margin-left: 14px; }
.pt-nav a, .pt-mnav a { color: #e6eef5; text-decoration: none; font-weight: 600; font-size: 15px; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; }
.pt-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.pt-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--accent); border-radius: 10px 10px 0 0; }
.pt-sp { flex: 1; }
.pt-top .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.pt-top .btn.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.pt-top :focus-visible { outline-color: var(--accent); }
.pt-ib { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 0; background: transparent; color: #fff; cursor: pointer; flex: none; }
.pt-ib:hover { background: rgba(255, 255, 255, .1); }
.pt-ib .ic { width: 22px; height: 22px; }
.pt-auth { display: flex; gap: 8px; align-items: center; }
.pt-menu-btn { display: none; }
.pt-um { position: relative; }
.pt-um-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px 0 6px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; cursor: pointer; font-weight: 600; max-width: 240px; }
.pt-um-btn:hover { background: rgba(255, 255, 255, .08); }
.pt-av { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pt-um-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-um-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); padding: 6px; z-index: 60; }
.pt-um-head { padding: 10px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.pt-um-head strong { display: block; }
.pt-um-head small { color: var(--muted); word-break: break-all; }
.pt-um-menu a, .pt-um-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 15px; text-align: left; }
.pt-um-menu a:hover, .pt-um-menu button:hover, .pt-um-menu a:focus-visible, .pt-um-menu button:focus-visible { background: var(--surface-3); }
.pt-mnav { display: none; }
@media (max-width: 900px) {
  .pt-nav, .pt-auth .pt-hide-sm, .pt-um-name { display: none; }
  .pt-menu-btn { display: inline-flex; }
  .pt-mnav:not([hidden]) { display: flex; flex-direction: column; gap: 2px; padding: 8px 16px 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .pt-mnav a { min-height: 48px; }
}


/* ---------------------------------------------------------------- demo banner */
.pt-demo { background: var(--warn-bg); color: var(--ink); border-bottom: 1px solid var(--line); }
.pt-demo .pt-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 10px; padding-bottom: 10px; font-size: 14.5px; }
.pt-demo p { margin: 0; flex: 1 1 320px; }
.pt-demo strong { color: var(--warn); }
.pt-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; }
.pt-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pt-switch .tr { width: 44px; height: 26px; border-radius: 13px; background: var(--line-2); position: relative; transition: background .15s; flex: none; border: 1px solid var(--muted); }
.pt-switch .tr::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .15s; }
.pt-switch input:checked + .tr { background: var(--ok); border-color: var(--ok); }
.pt-switch input:checked + .tr::after { transform: translateX(18px); }
.pt-switch input:focus-visible + .tr { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------------------------------------------------------------- hero */
.pt-hero { background: linear-gradient(135deg, var(--navy-3) 0%, var(--navy) 55%, var(--navy-2) 100%); color: #fff; position: relative; overflow: hidden; }
.pt-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.pt-hero .pt-wrap { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; padding-top: 52px; padding-bottom: 36px; }
.pt-hero .pt-wrap + .pt-wrap { display: block; padding-top: 0; }
.pt-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #ffd27a; margin: 0 0 14px; }
.pt-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.025em; }
.pt-hero h1 em { font-style: normal; color: var(--accent); }
.pt-hero .lead { font-size: 18.5px; color: #d9e6f1; max-width: 40em; margin: 0 0 26px; }
.pt-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pt-hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.pt-hero .btn.ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.pt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-bottom: 48px; position: relative; }
@media (max-width: 760px) { .pt-stats { grid-template-columns: repeat(2, 1fr); padding-bottom: 36px; } }
.pt-stat { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: 18px 18px; }
.pt-stat b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.pt-stat span { color: #c9d9e7; font-size: 14px; }
@media (max-width: 900px) { .pt-hero .pt-wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 28px; gap: 28px; } }
.pt-hcard { color: var(--ink); padding: 26px 26px 24px; box-shadow: 0 18px 48px rgba(0,0,0,.35); max-width: 440px; width: 100%; justify-self: end; }
@media (max-width: 900px) { .pt-hcard { justify-self: stretch; max-width: none; } }
.pt-hcard h2 { margin: 0 0 2px; font-size: 24px; color: var(--ink); }
.pt-hcard .pt-hint { margin: 0 0 12px; color: var(--muted); }
.pt-hcard .pt-form { display: grid; gap: 12px; }
.pt-hcard > .btn { width: 100%; margin-top: 10px; justify-content: center; }
.pt-hcard .btn.ghost { color: var(--ink); background: var(--surface); border-color: var(--line-2); }
.pt-hcard .btn.ghost:hover { background: var(--surface-3); border-color: var(--navy-2); }
.pt-hcard .btn { width: 100%; justify-content: center; }
.pt-hc-links { justify-content: flex-end; font-size: 15px; margin-top: -2px; }
.pt-hc-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 4px; }
.pt-hc-or::before, .pt-hc-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- sections */
.pt-sec { padding: 48px 0; }
.pt-sec + .pt-sec { padding-top: 8px; }
.pt-sec-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin-bottom: 20px; }
.pt-sec-h h2 { font-size: 28px; margin: 0; }
.pt-sec-h p { margin: 4px 0 0; color: var(--muted); }
.pt-page { padding: 36px 0 56px; }
.pt-page > .pt-wrap > h1, .pt-ph h1 { font-size: 32px; margin: 0 0 6px; }
.pt-ph { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; margin-bottom: 24px; }
.pt-ph p { margin: 0; color: var(--muted); }
.pt-crumb { font-size: 14px; margin: 0 0 10px; }
.pt-crumb a { text-decoration: none; font-weight: 600; }

/* ---------------------------------------------------------------- cards */
.pt-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.pt-pad { padding: 22px; }
@media (max-width: 600px) { .pt-pad { padding: 18px; } }
.pt-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.pt-course { display: flex; flex-direction: column; overflow: hidden; position: relative; }
.pt-course-band { height: 6px; background: var(--cc, var(--accent)); }
.pt-course-b { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.pt-course-t { display: flex; gap: 14px; align-items: flex-start; }
.pt-cic { width: 48px; height: 48px; border-radius: 14px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--cc, var(--accent)); color: #fff; }
.pt-cic .ic { width: 26px; height: 26px; }
.pt-course h3 { font-size: 19px; margin: 2px 0 2px; }
.pt-course .sub { color: var(--muted); font-size: 13.5px; font-weight: 600; margin: 0; }
.pt-course p.tag { margin: 0; color: var(--ink-2); font-size: 15px; }
.pt-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-2); margin: 0; padding: 0; list-style: none; }
.pt-meta li { display: inline-flex; align-items: center; gap: 6px; }
.pt-meta .ic { width: 16px; height: 16px; color: var(--muted); }
.pt-ed { font-size: 13px; color: var(--muted); margin: 0; border-top: 1px dashed var(--line); padding-top: 10px; }
.pt-course-f { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; padding-top: 6px; }
.pt-prog { flex: 1 1 140px; min-width: 120px; }
.pt-prog small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.pt-bar { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; border: 1px solid var(--line); }
.pt-bar > i { display: block; height: 100%; background: var(--ok); border-radius: 4px; min-width: 0; }

/* badges */
.pt-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; line-height: 1.5; }
.pt-badge .ic { width: 14px; height: 14px; }
.pt-badge.full { background: var(--ok-bg); color: var(--ok); border-color: currentColor; }
.pt-badge.free { background: var(--surface-3); color: var(--link); border-color: currentColor; }
.pt-badge.trial { background: var(--warn-bg); color: var(--warn); border-color: currentColor; }
.pt-badge.none { background: var(--surface-3); color: var(--muted); border-color: var(--line-2); }
.pt-badge.role { background: var(--code-bg); color: var(--code); }
.pt-badge.demo { background: var(--warn-bg); color: var(--warn); }

/* ---------------------------------------------------------------- videos */
.pt-vgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pt-video { overflow: hidden; }
.pt-video video, .pt-poster { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0b2233; }
.pt-poster { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: #fff; background: linear-gradient(135deg, var(--navy-3), var(--cc, var(--navy-2))); text-align: center; padding: 16px; }
.pt-poster .ic { width: 40px; height: 40px; opacity: .9; }
.pt-poster span { font-weight: 700; font-size: 15px; background: rgba(0, 0, 0, .35); padding: 4px 12px; border-radius: 999px; }
.pt-video .cap { padding: 14px 16px 16px; }
.pt-video .cap h3 { font-size: 16px; margin: 0 0 2px; }
.pt-video .cap p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- features */
.pt-feats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.pt-feat { padding: 20px; }
.pt-feat .fi { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-3); color: var(--link); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.pt-feat h3 { font-size: 17px; margin: 0 0 6px; }
.pt-feat p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------------------------------------------------------------- forms */
.pt-auth-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; align-items: start; }
.pt-auth-side h1 { font-size: 34px; }
.pt-auth-side p { color: var(--ink-2); font-size: 17px; }
.pt-auth-side ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.pt-auth-side li { display: flex; gap: 10px; align-items: flex-start; }
.pt-auth-side li .ic { color: var(--ok); margin-top: 2px; }
@media (max-width: 860px) { .pt-auth-page { grid-template-columns: 1fr; gap: 20px; } .pt-auth-side { order: 2; } }
.pt-form { display: grid; gap: 16px; }
.pt-form h2 { font-size: 22px; margin: 0; }
.pt-f { display: grid; gap: 6px; }
.pt-f > label, .pt-f > .lbl { font-weight: 650; font-size: 15px; }
.pt-f .opt { font-weight: 500; color: var(--muted); }
.pt-f input[type="text"], .pt-f input[type="email"], .pt-f input[type="password"], .pt-f input[type="search"], .pt-f input[type="number"], .pt-f select, .pt-in {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: 11px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 16px;
}
.pt-f input:focus-visible, .pt-f select:focus-visible, .pt-in:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--navy-2); }
.pt-f input[aria-invalid="true"], .pt-f select[aria-invalid="true"] { border-color: var(--bad); }
.pt-hint { font-size: 13.5px; color: var(--muted); margin: 0; }
.pt-ferr { font-size: 14px; color: var(--bad); font-weight: 600; margin: 0; }
.pt-ferr:empty { display: none; }
.pt-pw { position: relative; }
.pt-pw input { padding-right: 84px; }
.pt-pw button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); min-height: 38px; min-width: 72px; border: 0; background: var(--surface-3); color: var(--link); font-weight: 700; border-radius: 8px; cursor: pointer; font-size: 14px; }
.pt-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.pt-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--navy-2); }
.pt-alert { border-radius: 12px; padding: 12px 14px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; border: 1px solid; }
.pt-alert:empty { display: none; }
.pt-alert.bad { background: var(--bad-bg); color: var(--ink); border-color: var(--bad); }
.pt-alert.ok { background: var(--ok-bg); color: var(--ink); border-color: var(--ok); }
.pt-alert.info { background: var(--surface-3); color: var(--ink); border-color: var(--line-2); }
.pt-alert.warn { background: var(--warn-bg); color: var(--ink); border-color: var(--warn); }
.pt-alert .ic { flex: none; margin-top: 2px; }
.pt-alert.bad .ic { color: var(--bad); } .pt-alert.ok .ic { color: var(--ok); } .pt-alert.warn .ic { color: var(--warn); }
.pt-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pt-linkbtn { background: none; border: 0; color: var(--link); font-weight: 650; cursor: pointer; padding: 0; min-height: 44px; text-decoration: underline; font-size: 15px; }
.pt-form .btn { width: 100%; }
.pt-form .pt-row .btn { width: auto; }
.pt-sep { text-align: center; color: var(--muted); font-size: 14px; margin: 0; }
button[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

/* ---------------------------------------------------------------- dashboard */
.pt-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); margin-bottom: 24px; }
.pt-tile { padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.pt-tile .ti { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-3); color: var(--link); flex: none; }
.pt-tile b { display: block; font-size: 24px; line-height: 1.15; }
.pt-tile span { color: var(--muted); font-size: 14px; }
.pt-dl { display: grid; gap: 14px; }
.pt-dc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; }
.pt-dc h3 { margin: 0 0 4px; font-size: 18px; }
.pt-dc .pt-meta { margin-top: 6px; }
.pt-dc .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 720px) { .pt-dc { grid-template-columns: auto minmax(0, 1fr); } .pt-dc .acts { grid-column: 1 / -1; justify-content: flex-start; } }
.pt-h2 { font-size: 22px; margin: 36px 0 14px; }
.pt-certs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.pt-cert-c { padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.pt-cert-c .ci { width: 44px; height: 44px; border-radius: 50%; background: var(--warn-bg); color: var(--warn); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pt-cert-c.earned .ci { background: var(--ok-bg); color: var(--ok); }
.pt-cert-c h3 { margin: 0 0 2px; font-size: 15.5px; }
.pt-cert-c p { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.pt-cert-c .pt-row { gap: 8px; }

/* tables */
.pt-tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pt-tw:focus-visible { outline: 3px solid var(--accent); }
table.pt-t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pt-t th, .pt-t td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pt-t th { background: var(--surface-2); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; }
.pt-t tr:last-child td { border-bottom: 0; }
.pt-t td.num, .pt-t th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pt-t small { color: var(--muted); }
.pt-t select, .pt-t .btn { min-height: 40px; }
.pt-t select { border-radius: 9px; border: 1.5px solid var(--line-2); background: var(--surface); padding: 0 8px; }
.pt-t caption { text-align: left; padding: 12px; font-weight: 700; }
.pt-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.pt-chip { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); border: 1px solid var(--line-2); white-space: nowrap; }
.pt-prods { margin-top: 6px; }
.pt-prods summary { cursor: pointer; color: var(--link); font-weight: 650; min-height: 40px; display: inline-flex; align-items: center; }
.pt-prods .pt-plist { display: grid; gap: 2px; padding: 8px 0 4px; min-width: 220px; }
.pt-prods label { display: flex; gap: 8px; align-items: center; min-height: 36px; cursor: pointer; }
.pt-prods input { width: 20px; height: 20px; accent-color: var(--navy-2); }

/* tabs */
.pt-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.pt-tabs [role="tab"] { background: none; border: 0; border-bottom: 3px solid transparent; padding: 0 16px; min-height: 48px; font-weight: 650; color: var(--ink-2); cursor: pointer; white-space: nowrap; font-size: 15px; }
.pt-tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.pt-tabs [role="tab"]:hover { color: var(--ink); }
.pt-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.pt-tools .pt-f { min-width: 160px; flex: 1 1 160px; }
.pt-tools .pt-f.grow { flex: 3 1 240px; }
.pt-pager { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.pt-two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .pt-two { grid-template-columns: 1fr; } }
.pt-fs { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.pt-fs legend { font-weight: 650; font-size: 15px; margin-bottom: 4px; padding: 0; }
.pt-cbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 12px; }
.pt-cbs label { display: flex; gap: 8px; align-items: center; min-height: 40px; cursor: pointer; font-size: 15px; }
.pt-cbs input { width: 20px; height: 20px; accent-color: var(--navy-2); }

/* account */
.pt-acc { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); align-items: start; }
.pt-danger { border-color: var(--bad); }
.pt-danger h2 { color: var(--bad); }
.pt-kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.pt-kv dt { color: var(--muted); font-weight: 600; }
.pt-kv dd { margin: 0; word-break: break-word; }

/* ---------------------------------------------------------------- certificate */
.pt-certview { max-width: 960px; margin: 0 auto; }
.pt-cert { position: relative; background: #fffdf7; color: #12202e; border-radius: 6px; padding: 14px; box-shadow: var(--shadow-2); }
.pt-cert-in { border: 3px solid #0b3d5e; outline: 1px solid #c99a2e; outline-offset: -10px; padding: clamp(24px, 6vw, 56px) clamp(18px, 6vw, 64px); text-align: center; position: relative; }
.pt-cert .seal { width: 76px; height: 76px; margin: 0 auto 10px; }
.pt-cert .org { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: #0b3d5e; font-weight: 800; margin: 0 0 18px; }
.pt-cert h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 5vw, 42px); font-weight: 700; margin: 0 0 6px; color: #0b3d5e; letter-spacing: 0; }
.pt-cert .pres { font-size: 15px; color: #3c4a58; margin: 0 0 10px; }
.pt-cert .who { font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 5vw, 40px); font-style: italic; margin: 6px auto 12px; padding-bottom: 8px; border-bottom: 1.5px solid #c99a2e; display: inline-block; min-width: 60%; color: #12202e; }
.pt-cert .what { font-size: 17px; margin: 0 auto 4px; max-width: 40em; color: #12202e; }
.pt-cert .mod { font-size: 19px; font-weight: 700; margin: 4px auto 18px; max-width: 34em; color: #0b3d5e; }
.pt-cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 18px; text-align: center; }
.pt-cert-grid div { border-top: 1px solid #c9d3de; padding-top: 8px; }
.pt-cert-grid small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #4a5866; font-weight: 700; }
.pt-cert-grid b { font-size: 16px; color: #12202e; word-break: break-all; }
.pt-cert .fine { font-size: 13px; color: #3c4a58; margin: 0; }
.pt-cert .demo-mark { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 800; color: #8a5300; border: 1.5px solid #8a5300; border-radius: 6px; padding: 2px 8px; letter-spacing: .08em; }
@media (max-width: 560px) { .pt-cert-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- misc */
.pt-empty { text-align: center; padding: 36px 20px; color: var(--muted); }
.pt-empty .ic { width: 40px; height: 40px; margin-bottom: 8px; }
.pt-foot { background: var(--surface); border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; margin-top: 40px; }
.pt-foot .pt-wrap { display: grid; gap: 10px; }
.pt-foot p { margin: 0; }
.pt-foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pt-foot a { color: var(--link); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.pt-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-2); z-index: 90; max-width: calc(100vw - 32px); }
.pt-toast:empty { display: none; }
.pt-spin { display: inline-block; width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: pt-spin .8s linear infinite; vertical-align: -3px; }
@keyframes pt-spin { to { transform: rotate(360deg); } }
.pt-prose { max-width: 760px; }
.pt-prose h2 { font-size: 21px; margin-top: 26px; }
.pt-confirm { margin-top: 12px; padding: 14px; border-radius: 12px; border: 1.5px solid var(--bad); background: var(--bad-bg); display: grid; gap: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------------------------------------------------------------- print: certificate only */
@media print {
  @page { size: landscape; margin: 10mm; }
  body.pt { background: #fff !important; }
  .pt-top, .pt-demo, .pt-foot, .pt-noprint, .pt-toast, .skip { display: none !important; }
  .pt-page { padding: 0 !important; }
  .pt-cert { box-shadow: none; padding: 0; }
  .pt-cert, .pt-cert * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (max-width: 560px) {
  .pt-dc { grid-template-columns: 1fr; padding: 16px; }
  .pt-dc > .pt-cic { display: none; }
  .pt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pt-tile { padding: 12px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .pt-tile .ti { width: 36px; height: 36px; }
}

/* ---------------------------------------------------------------- V3: card actions, plant tools, exam scores, intro modal */
.pt-course-acts { gap: 8px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.pt-course-acts .btn .ic { width: 18px; height: 18px; }
.pt-tools-g { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.pt-tool { display: flex; align-items: center; gap: 14px; padding: 18px 20px; color: var(--ink); text-decoration: none; min-height: 44px; }
.pt-tool:hover { border-color: var(--navy-2); }
.pt-tool:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pt-tool .fi { width: 44px; height: 44px; border-radius: 12px; flex: none; background: var(--surface-3); color: var(--link); display: inline-flex; align-items: center; justify-content: center; }
.pt-tool .fi .ic { width: 24px; height: 24px; }
.pt-tool strong { display: block; font-size: 16.5px; }
.pt-tool small { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.pt-tool .go { width: 20px; height: 20px; flex: none; margin-left: auto; color: var(--muted); }
.pt-exams { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 0; font-size: 13.5px; }
.pt-exams .lbl { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-2); margin-right: 2px; }
.pt-exams .lbl .ic { width: 16px; height: 16px; color: var(--muted); }
.pt-ex { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pt-ex.pass { border-color: var(--ok); color: var(--ok); background: var(--ok-bg); }
.pt-ex.none b { color: var(--muted); font-weight: 600; }
body.pt-noscroll { overflow: hidden; }
.pt-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pt-modal-bg { position: absolute; inset: 0; background: rgba(4, 18, 30, .72); }
.pt-modal-box { position: relative; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 0; }
.pt-modal-h { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; }
.pt-modal-h h2 { font-size: 18px; margin: 0; flex: 1; }
.pt-modal-h .pt-ib { color: var(--ink); }
.pt-modal-h .pt-ib:hover { background: var(--surface-3); }
.pt-modal-h .pt-ib:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.pt-modal-box video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0b2233; }
.pt-modal-box .pt-poster { width: 100%; aspect-ratio: 16 / 9; }
.pt-modal-f { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 20px 18px; }
.pt-modal-f p { margin: 0; color: var(--ink-2); font-size: 15px; flex: 1 1 260px; }
@media (max-width: 600px) { .pt-modal { padding: 8px; } .pt-modal-h { padding-left: 14px; } .pt-modal-f { padding: 12px 14px 14px; } }

/* ---- v4: learning path ---- */
.pt-path { display: flex; flex-direction: column; gap: 18px; }
.pt-path-row { border: 1px solid var(--line); border-left: 6px solid var(--cc); border-radius: var(--r); background: var(--surface); padding: 14px 16px 16px; }
.pt-path-row h3 { margin: 0 0 10px; font-size: 1.05rem; display: flex; align-items: baseline; gap: 10px; } .pt-path-row h3 small { color: var(--muted); font-weight: 600; font-size: .82rem; }
.pt-path-row ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.pt-pc { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2, var(--surface)); }
.pt-pc-main { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 8px; text-decoration: none; color: var(--ink); flex: 1; border-radius: 12px 12px 0 0; } .pt-pc-main:hover { background: var(--surface-3); }
.pt-pc-code { align-self: flex-start; background: var(--cc); color: #fff; font-size: .82rem; letter-spacing: .05em; padding: 2px 9px; border-radius: 6px; }
.pt-pc-t { font-weight: 700; line-height: 1.25; } .pt-pc-m { color: var(--muted); font-size: .82rem; }
.pt-pc-b { margin: 0 12px 10px; min-height: 36px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--accent); font-weight: 700; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; justify-content: center; } .pt-pc-b:hover { background: var(--surface-3); } .pt-pc-b svg { width: 16px; height: 16px; }
.pt-pc-arrow { display: none; }

/* ---- v4: learning path ---- */
.pt-path { display: flex; flex-direction: column; gap: 18px; }
.pt-path-row { border: 1px solid var(--line); border-left: 6px solid var(--cc); border-radius: var(--r); background: var(--surface); padding: 14px 16px 16px; }
.pt-path-row h3 { margin: 0 0 10px; font-size: 1.05rem; display: flex; align-items: baseline; gap: 10px; } .pt-path-row h3 small { color: var(--muted); font-weight: 600; font-size: .82rem; }
.pt-path-row ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.pt-pc { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pt-pc-main { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 8px; text-decoration: none; color: var(--ink); flex: 1; border-radius: 12px 12px 0 0; } .pt-pc-main:hover { background: var(--surface-3); }
.pt-pc-code { align-self: flex-start; background: var(--cc); color: #fff; font-size: .82rem; letter-spacing: .05em; padding: 2px 9px; border-radius: 6px; }
.pt-pc-t { font-weight: 700; line-height: 1.25; } .pt-pc-m { color: var(--muted); font-size: .82rem; }
.pt-pc-b { margin: 0 12px 10px; min-height: 36px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--accent); font-weight: 700; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; justify-content: center; } .pt-pc-b:hover { background: var(--surface-3); } .pt-pc-b svg { width: 16px; height: 16px; }
.pt-t input[data-k="sku"] { min-width: 215px; font-family: ui-monospace, Menlo, Consolas, monospace; } .pt-t input[data-k="note"] { min-width: 160px; } .pt-t input[data-k="price"] { min-width: 100px; }

/* ---- TRY Academy duotone icons (assets/icons-modules.js) ---- */
.tic { display: inline-block; flex: none; vertical-align: middle; }
.pt-cic { --ic2: #fff; }
.pt-cic .tic { width: 28px; height: 28px; }
.pt-poster .tic { width: 44px; height: 44px; opacity: .92; --ic2: #fff; }
.pt-tool .fi .tic { width: 26px; height: 26px; }
.pt-tool .fi { --ic2: var(--link); }

/* ---- compact catalog (v2) ---- */
.pt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.pt-chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; }
.pt-chip:hover { border-color: var(--navy-2); }
.pt-chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.pt-grid { gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.pt-cc[hidden] { display: none; }
.pt-cc .pt-course-b { padding: 14px 16px 14px; gap: 8px; }
.pt-cc .pt-course-band { height: 4px; }
.pt-cc .pt-cic { width: 40px; height: 40px; border-radius: 12px; }
.pt-cc .pt-cic .ic, .pt-cc .pt-cic .tic { width: 22px; height: 22px; }
.pt-cc h3 { font-size: 17px; line-height: 1.25; margin: 0; }
.pt-cc .sub { display: none; }
.pt-cc p.tag { font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-cc .pt-meta { font-size: 13.5px; gap: 4px 12px; }
.pt-cc .pt-course-f { padding-top: 2px; }
.pt-cc .pt-prog { flex: 1 1 120px; min-width: 110px; }

.pt-legalnav { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 16px; font-weight: 650; }
.pt-legalnav a[aria-current="page"] { color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--accent); }
.pt-pc-b { color: var(--link) !important; min-height: 44px; font-size: 15px; }

/* ===== Catalog rows + groups ===== */
.pt-cgrp{margin-top:30px}.pt-cgrp-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-bottom:14px;border-bottom:2px solid var(--line,#dce3eb);padding-bottom:8px}
.pt-cgrp-h h3{font-size:1.25rem;margin:0}.pt-cgrp-h p{margin:0;color:var(--muted)}
.pt-cgrid{display:grid;gap:18px}.pt-cgrid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.pt-cgrid.one{grid-template-columns:1fr}
.pt-crow{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"side main" "act act";border-left:6px solid var(--cc);overflow:hidden}
.pt-crow-side{grid-area:side;display:flex;flex-direction:column;align-items:center;gap:8px;padding:22px 0 0 20px;min-width:76px}
.pt-crow-kind{writing-mode:vertical-rl;transform:rotate(180deg);font:700 .68rem/1 var(--f-mono,monospace);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-top:6px}
.pt-crow-main{grid-area:main;padding:20px 22px 12px 16px;display:flex;flex-direction:column;gap:8px;min-width:0}
.pt-crow-main h3{font-size:1.2rem;margin:0}.pt-crow-main .sub{margin:0;color:var(--muted);font-weight:600;font-size:.92rem}.pt-crow-main .tag{margin:0}
.pt-crow-act{grid-area:act;display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 22px 20px 22px;background:color-mix(in srgb,var(--cc) 6%,transparent);border-top:1px solid var(--line,#dce3eb)}

.pt-learn{border:1px solid var(--line,#dce3eb);border-radius:10px;background:var(--surface,#fff)}
.pt-learn summary{cursor:pointer;list-style:none;display:flex;gap:8px;align-items:center;padding:10px 12px;font-weight:700;font-size:.92rem}.pt-learn summary::-webkit-details-marker{display:none}
.pt-learn summary:after{content:"+";margin-left:auto;font-size:1.2rem;line-height:1}.pt-learn[open] summary:after{content:"–"}
.pt-learn ol{margin:0;padding:2px 14px 14px 36px;display:grid;gap:5px;font-size:.9rem;color:var(--ink-2,#33475b)}
/* ===== Why enroll ===== */
.pt-why{background:linear-gradient(180deg,#0b3d5e,#082c44);color:#eef5fa}.pt-why h2,.pt-why h3{color:#fff}
.pt-why-h{max-width:none;margin-bottom:28px}.pt-why-h h2{font-size:clamp(1.7rem,3.4vw,2.5rem);line-height:1.15;margin:8px 0 14px}.pt-why-h p:last-child{color:#c9d8e6;font-size:1.06rem;line-height:1.6;max-width:none}
.pt-why .pt-kicker{color:#f2a516}
.pt-why-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.pt-whyc{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);box-shadow:none;padding:24px;color:#d4e2ee}.pt-whyc h3{font-size:1.1rem;margin:12px 0 8px}.pt-whyc p{margin:0;line-height:1.55}
.pt-whyc .fi{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#f2a516;color:#0b2a40}.pt-whyc .fi svg{width:22px;height:22px}
.pt-why-band{display:grid;grid-template-columns:repeat(3,1fr);margin-top:26px;border-top:1px solid rgba(255,255,255,.18);border-bottom:1px solid rgba(255,255,255,.18)}
.pt-why-band div{padding:20px 22px;display:grid;gap:4px;border-right:1px solid rgba(255,255,255,.18)}.pt-why-band div:last-child{border-right:0}.pt-why-band b{color:#f2a516;font-size:1.05rem}.pt-why-band span{color:#c9d8e6}
.pt-why-cta{margin-top:26px}.pt-why .pt-hint{color:#9db3c6;margin-top:18px;max-width:80ch}.pt-why .btn.ghost{color:#fff;border-color:rgba(255,255,255,.5)}
@media(max-width:900px){.pt-cgrid.two,.pt-why-g,.pt-why-band{grid-template-columns:1fr}.pt-why-band div{border-right:0;border-bottom:1px solid rgba(255,255,255,.18)}}

.pt-why .btn.ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.55)}.pt-why .btn.ghost:hover{background:rgba(255,255,255,.12)}
.pt-crow-act .pt-badge,.pt-crow-act .pt-prog{flex:0 0 auto;width:auto}.pt-crow-act .pt-prog{min-width:180px}.pt-cgrid{align-items:start}
