/* Tracking page (web/preview/tracking/). Every class starts with tk- so the shell can change freely.
   Colours from the live amazingself.com look (as-site/css/as.css), same tokens as commissions.css. */
.tk-page { --tk-navy: #062454; --tk-navy2: #0a3473; --tk-deep: #041a3d; --tk-blue: #0e71d2; --tk-blue-d: #0a5bb0; --tk-sky: #5faed3;
  --tk-tint: #eef6fd; --tk-line: #dbe7f3; --tk-coral: #ff4166; --tk-coral-d: #e3284f; --tk-gold: #f4b740; --tk-ink: #1b2a3d;
  --tk-body: #2f3d4f; --tk-muted: #5d6b7e; --tk-green: #1f8a4c;
  font-size: 18px; line-height: 1.7; color: var(--tk-body); padding: 8px 0 40px; }
.tk-page p { margin: 0 0 14px; }
.tk-page h2, .tk-page h3 { font-family: Montserrat, Roboto, Arial, sans-serif; color: var(--tk-ink); }
.tk-page a { color: var(--tk-blue-d); }
.tk-page code { font-family: ui-monospace, Consolas, monospace; font-size: 16px; background: var(--tk-tint); padding: 1px 6px; border-radius: 5px; color: var(--tk-ink); overflow-wrap: anywhere; }
.tk-page .ico { width: 20px; height: 20px; flex: none; }
.tk-sec { margin: 52px 0; }
.tk-head { max-width: 820px; margin-bottom: 24px; }
.tk-head h2, .tk-ask h2, .tk-builder-head h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; margin: 0 0 10px; line-height: 1.2; }

/* Builder */
.tk-builder-sec { margin-top: 28px; }
.tk-builder { background: #fff; border: 1px solid var(--tk-line); border-radius: 20px; padding: 28px; box-shadow: 0 16px 40px rgba(6, 36, 84, .09); position: relative; overflow: hidden; }
.tk-builder::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--tk-blue), var(--tk-sky), var(--tk-coral)); }
.tk-builder-head { max-width: 780px; }
.tk-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 20px; margin: 8px 0 20px; }
.tk-f-wide { grid-column: 1 / -1; }
.tk-page label { display: block; font: 700 17px/1.4 Montserrat, Roboto, Arial, sans-serif; color: var(--tk-ink); margin-bottom: 6px; }
.tk-in { width: 100%; box-sizing: border-box; font: 400 18px/1.4 Roboto, Arial, sans-serif; color: var(--tk-ink); background: #fff; border: 1.5px solid #c5d6ea; border-radius: 10px; padding: 12px 14px; min-height: 50px; }
.tk-in:focus { outline: 3px solid rgba(14, 113, 210, .25); border-color: var(--tk-blue); }
select.tk-in { appearance: auto; }
.tk-mono { font-family: ui-monospace, Consolas, monospace; font-size: 17px; }
.tk-link { resize: none; overflow-wrap: anywhere; word-break: break-all; background: var(--tk-tint); min-height: 84px; }
.tk-out { background: #f7fbfe; border: 1px solid var(--tk-line); border-radius: 14px; padding: 20px; display: grid; gap: 18px; }
.tk-copyrow { display: flex; gap: 10px; align-items: stretch; }
.tk-copyrow .tk-in { flex: 1; min-width: 0; }
.tk-help { font-size: 16px; color: var(--tk-muted); margin: 6px 0 0 !important; line-height: 1.5; }
.tk-warn { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 0 !important; padding: 10px 14px; border-radius: 10px; background: #fff0f5; border: 1px solid #fbc6d8; color: #7a1d42; font-size: 17px; line-height: 1.5; }
.tk-warn[hidden] { display: none; }
.tk-warn .ico { margin-top: 2px; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.tk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer; background: var(--tk-coral); color: #fff !important; font: 700 17px Montserrat, Roboto, Arial, sans-serif; text-decoration: none; box-shadow: 0 8px 20px rgba(255, 65, 102, .28); }
.tk-btn:hover { background: var(--tk-coral-d); }
.tk-btn-ghost { background: #fff; color: var(--tk-navy) !important; border: 1.5px solid #b9cfe8; box-shadow: none; }
.tk-btn-ghost:hover { background: var(--tk-tint); border-color: var(--tk-blue); }
.tk-btn .ico, .tk-btn-mini .ico, .tk-textlink .ico { width: 18px; height: 18px; }
.tk-btn-mini { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid #b9cfe8; background: #fff; color: var(--tk-navy); font: 700 16px Montserrat, Roboto, Arial, sans-serif; cursor: pointer; white-space: nowrap; }
.tk-btn-mini:hover { background: var(--tk-tint); border-color: var(--tk-blue); }
.tk-btn-x { color: #7a1d42; border-color: #f1c4d3; }

.tk-list { margin-top: 24px; border-top: 1px solid var(--tk-line); padding-top: 20px; }
.tk-list[hidden] { display: none; }
.tk-list-head h3 { font-size: 21px; margin: 0 0 6px; }
.tk-list-head p { color: var(--tk-muted); font-size: 17px; }
.tk-list-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tk-list-items li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border: 1px solid var(--tk-line); border-radius: 12px; background: #fff; transition: background .6s; }
.tk-list-items li.tk-flash { background: #fff7e0; }
.tk-item-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; }
.tk-item-t code { font-size: 17px; font-weight: 700; }
.tk-item-t span { color: var(--tk-muted); font-size: 16px; }
.tk-item-b { display: flex; gap: 8px; }

/* How it works */
.tk-url { background: var(--tk-deep); border-radius: 16px; padding: 22px 24px; margin-bottom: 22px; }
.tk-url p { margin: 0 !important; font-family: ui-monospace, Consolas, monospace; font-size: 18px; color: #c9d6ea; overflow-wrap: anywhere; line-height: 1.9; }
.tk-url b { display: inline-block; max-width: 100%; font-weight: 700; padding: 0 6px; border-radius: 6px; line-height: 1.6; overflow-wrap: anywhere; }
.tk-u-id { color: #2a1b00; background: var(--tk-gold); }
.tk-u-tid { color: var(--tk-deep); background: #9fd0ff; box-shadow: 0 0 0 3px rgba(159, 208, 255, .35); }
.tk-steps, .tk-cb-steps, .tk-px-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tk-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tk-steps li, .tk-cb-steps li, .tk-px-steps li { display: flex; gap: 16px; background: #fff; border: 1px solid var(--tk-line); border-radius: 16px; padding: 22px; }
.tk-steps h3, .tk-cb-steps h3, .tk-px-steps h3 { font-size: 20px; margin: 2px 0 8px; line-height: 1.3; }
.tk-steps p, .tk-cb-steps p, .tk-px-steps p { margin: 0; }
.tk-n { flex: none; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--tk-coral), #ce5099); color: #fff; font: 800 19px Montserrat, Roboto, Arial, sans-serif; display: flex; align-items: center; justify-content: center; }
.tk-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.tk-fact { background: var(--tk-tint); border-radius: 14px; padding: 20px; }
.tk-fact h3, .tk-name h3, .tk-cl-col h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin: 0 0 8px; }
.tk-fact h3 .ico { color: var(--tk-blue); }
.tk-fact p { margin: 0; }

/* Naming */
.tk-names { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tk-name { background: #fff; border: 1px solid var(--tk-line); border-radius: 16px; padding: 20px; }
.tk-name h3 .ico { color: var(--tk-blue); }
.tk-eg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px !important; }
.tk-eg code { font-size: 17px; background: #e3f0fc; color: var(--tk-navy); font-weight: 700; }
.tk-name p:last-child { margin: 0; }
.tk-rules { margin-top: 20px; background: #fff; border: 1px solid var(--tk-line); border-left: 6px solid var(--tk-blue); border-radius: 16px; padding: 22px 26px; }
.tk-rules h3 { font-size: 21px; margin: 0 0 10px; }
.tk-rules ul { margin: 0; padding-left: 22px; }
.tk-rules li { margin: 0 0 10px; }
.tk-rules li:last-child { margin: 0; }
.tk-rules b { color: var(--tk-ink); }

/* ClickBank reports */
.tk-cb, .tk-px { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.tk-read { background: var(--tk-tint); border-radius: 16px; padding: 22px 24px; }
.tk-read h3 { font-size: 21px; margin: 0 0 12px; }
.tk-read p:last-child { margin: 0; }
.tk-read b { color: var(--tk-ink); }

/* Pixel */
.tk-code { background: var(--tk-deep); border-radius: 16px; padding: 20px 22px; color: #dfe8f5; min-width: 0; }
.tk-code-t { font-size: 16px; color: #b9c9e0; margin: 0 0 10px !important; line-height: 1.5; }
.tk-code pre { margin: 0 0 14px; font: 16px/1.6 ui-monospace, Consolas, monospace; color: #e8f1ff; white-space: pre-wrap; overflow-wrap: anywhere; }
.tk-code .tk-btn-mini { background: transparent; color: #fff; border-color: #5b7bb0; }
.tk-code .tk-btn-mini:hover { background: rgba(255, 255, 255, .08); }
.tk-note { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 0 !important; padding: 14px 18px; border-left: 4px solid var(--tk-blue); background: var(--tk-tint); border-radius: 0 12px 12px 0; max-width: 900px; }
.tk-note .ico { color: var(--tk-blue); margin-top: 4px; }

/* Cloaking */
.tk-cl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.tk-cl-col { border-radius: 16px; padding: 22px 24px; border: 1px solid var(--tk-line); background: #fff; }
.tk-ok { border-top: 6px solid var(--tk-green); }
.tk-ok h3 .ico { color: var(--tk-green); }
.tk-no { border-top: 6px solid var(--tk-coral-d); }
.tk-no h3 .ico { color: var(--tk-coral-d); }
.tk-cl-col ul { margin: 0; padding-left: 20px; }
.tk-cl-col li { margin: 0 0 12px; }
.tk-cl-col li:last-child { margin: 0; }
.tk-cl-col b { color: var(--tk-ink); }

/* Andrew */
.tk-ask { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; background: linear-gradient(135deg, var(--tk-navy), var(--tk-navy2)); color: #dfe8f5; border-radius: 18px; padding: 30px; }
.tk-ask h2 { color: #fff; }
.tk-ask a.tk-textlink { color: #fff; }
.tk-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 22px 0 0 !important; }
.tk-textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.tk-mgr { background: #fff; color: var(--tk-body); border-radius: 14px; padding: 18px; overflow-wrap: anywhere; }
.tk-mgr .manager span:last-child:has(> a) { font-size: 0; margin-top: 4px; }
.tk-mgr .manager span:last-child:has(> a) a { display: block; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .tk-steps, .tk-facts { grid-template-columns: minmax(0, 1fr); }
  .tk-names { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk-cb, .tk-px, .tk-cl, .tk-ask { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .tk-page { font-size: 17px; }
  .tk-sec { margin: 38px 0; }
  .tk-builder { padding: 22px 16px; }
  .tk-fields, .tk-names { grid-template-columns: minmax(0, 1fr); }
  .tk-out { padding: 16px 14px; }
  .tk-copyrow { flex-direction: column; }
  .tk-actions .tk-btn { width: 100%; }
  .tk-url { padding: 16px; }
  .tk-url p { font-size: 16px; }
  .tk-steps li, .tk-cb-steps li, .tk-px-steps li, .tk-name, .tk-fact { padding: 18px; }
  .tk-rules, .tk-read, .tk-cl-col, .tk-code { padding: 18px; }
  .tk-ask { padding: 22px 18px; }
  .tk-ask .tk-btn { width: 100%; }
  .tk-mgr .manager { flex-direction: column; align-items: flex-start; }
}
