/* TRYeTECH Academy — course sheet. Letter, 2 pages. Self-contained colours so the PDF is identical everywhere. */
.sheet { --navy: #0d2b45; --ink: #1b2733; --mut: #55657a; --line: #d7e0ea; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); line-height: 1.38; }
.sheet * { box-sizing: border-box; }
.sh-page { width: 8.5in; height: 11in; margin: 0 auto 18px; background: #fff; padding: .45in .55in .4in; position: relative; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 2px 14px rgba(0, 0, 0, .18); }
.sh-head { display: flex; align-items: center; gap: 12px; border-bottom: 3px solid var(--cc); padding-bottom: 8px; font-size: 11.5px; color: var(--mut); }
.sh-brand { font-size: 15px; color: var(--navy); display: flex; align-items: center; gap: 8px; } .sh-brand b { font-weight: 900; } .sh-brand svg { width: 26px; height: 26px; flex: none; } .sh-brand i { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--mut); }
.sh-track { flex: 1; text-align: right; font-weight: 600; } .sh-pg { font-variant-numeric: tabular-nums; }
.sh-hero { padding: 16px 0 10px; }
.sh-code { display: inline-block; background: var(--cc); color: #fff; font-weight: 800; letter-spacing: .06em; font-size: 15px; padding: 3px 12px; border-radius: 6px; }
.sh-meta { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0 4px; font-size: 12.5px; font-weight: 600; color: var(--mut); }
.sh-meta span { display: inline-flex; align-items: center; gap: 6px; }
.sh-dots i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--cc); margin-right: 2px; } .sh-dots i.on { background: var(--cc); }
.sheet h1 { font-size: 27px; line-height: 1.15; margin: 4px 0 8px; color: var(--navy); letter-spacing: -.01em; }
.sh-sub { margin: 0; font-size: 14px; color: var(--ink); }
.sh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 0; margin: 12px 0 14px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #f5f8fb; }
.sh-stats div { padding: 8px 4px; text-align: center; border-right: 1px solid var(--line); } .sh-stats div:last-child { border-right: 0; }
.sh-stats b { display: block; font-size: 19px; color: var(--cc); line-height: 1.1; } .sh-stats span { font-size: 9.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--mut); font-weight: 600; }
.sheet h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin: 0 0 6px; padding-bottom: 4px; border-bottom: 2px solid var(--cc); }
.sheet h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--cc); margin: 10px 0 2px; }
.sheet p { margin: 0 0 8px; font-size: 13.8px; }
.sh-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; flex: 1; min-height: 0; }
.sh-lead { color: var(--mut); font-style: italic; }
.sh-obj { margin: 0; padding-left: 20px; font-size: 13.8px; } .sh-obj li { margin-bottom: 9px; padding-left: 2px; } .sh-obj li::marker { color: var(--cc); font-weight: 800; }
.sh-learn { margin: 0; font-size: 13.8px; } .sh-learn dt { font-weight: 800; color: var(--navy); margin-top: 11px; } .sh-learn dt:first-child { margin-top: 0; } .sh-learn dd { margin: 1px 0 0; color: var(--ink); }
.sh-h2 { margin-top: 14px !important; }
.sh-mods { list-style: none; margin: 0 0 14px; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.sh-mods li { display: grid; grid-template-columns: 80px 1fr 70px; gap: 8px; padding: 9px 10px; font-size: 13.8px; border-bottom: 1px solid var(--line); align-items: baseline; } .sh-mods li:last-child { border-bottom: 0; } .sh-mods li:nth-child(even) { background: #f5f8fb; }
.sh-mods b { color: var(--cc); } .sh-mods em { color: var(--mut); font-style: normal; text-align: right; font-size: 11px; }
.sh-hi { margin: 0; padding-left: 18px; font-size: 13.8px; } .sh-hi li { margin-bottom: 9px; } .sh-hi li::marker { color: var(--cc); }
.sh-cta { margin-top: 12px; background: var(--navy); color: #fff; border-radius: 8px; padding: 10px 14px; font-size: 12.5px; display: flex; gap: 12px; align-items: baseline; } .sh-cta b { color: #fff; font-size: 14px; white-space: nowrap; } .sh-cta u { text-decoration: none; font-weight: 700; }
.sh-foot { margin-top: 10px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 9.5px; color: var(--mut); }
/* in-app window */
.shm { position: fixed; inset: 0; z-index: 2000; background: #324458; display: flex; flex-direction: column; }
.shm-bar { display: flex; gap: 8px; align-items: center; padding: 8px 14px; background: #0d2b45; color: #fff; flex-wrap: wrap; } .shm-sp { flex: 1; }
.shm-b { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font: 600 14px system-ui, sans-serif; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; } .shm-b:hover { background: rgba(255, 255, 255, .12); }
.shm-body { flex: 1; overflow: auto; padding: 18px 8px; -webkit-overflow-scrolling: touch; }
@media (max-width: 8.8in) { .shm-body .sheet { zoom: .55; } }
@media (max-width: 5in) { .shm-body .sheet { zoom: .4; } }
@media print {
  @page { size: Letter; margin: 0; }
  body.shm-printing > *:not(.shm) { display: none !important; }
  body.shm-printing .shm { position: static; background: #fff; display: block; } body.shm-printing .shm-bar { display: none; } body.shm-printing .shm-body { overflow: visible; padding: 0; }
  .sh-page { margin: 0; box-shadow: none; page-break-after: always; break-after: page; } .sh-page:last-child { page-break-after: auto; break-after: auto; }
  .sheet { zoom: 1 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
