/* Typran ambassador page (2026-11-11) */
#amb-root { max-width: 980px; }
.amb-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding: 26px 28px; border-radius: 22px; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, #16a34a, #0891b2 60%, #4f46e5); }
.amb-hero h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 3vw, 2rem); }
.amb-hero p { margin: 0; opacity: .95; }
.amb-steps { display: flex; flex-direction: column; gap: 10px; }
.amb-steps div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; background: rgba(255,255,255,.15); border-radius: 14px; padding: 10px 12px; }
.amb-steps span { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0891b2; font-weight: 900; }
.amb-steps small { opacity: .9; }
.amb-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; }
.amb-card.center { text-align: center; }
.amb-card h3 { margin: 0 0 8px; }
.amb-card summary { cursor: pointer; }
.amb-form { display: flex; flex-direction: column; gap: 10px; max-width: 460px; margin-top: 10px; }
.amb-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; }
.amb-form input:not([type=checkbox]) { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.amb-form .acct-terms { flex-direction: row; font-weight: 400; }
.amb-link-card { padding: 20px; border-radius: 18px; margin-bottom: 16px; background: color-mix(in srgb, #16a34a 10%, var(--card)); border: 2px solid #16a34a; }
.amb-link-card small { font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #15803d; }
.amb-link { display: flex; gap: 8px; margin: 8px 0 12px; }
.amb-link input { flex: 1; min-width: 0; font: 600 1rem 'JetBrains Mono', monospace; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.amb-share { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.amb-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.amb-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.amb-stats small { display: block; color: var(--muted); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.amb-stats b { font-size: 1.6rem; }
.amb-stats .owed { border-color: #f59e0b; background: color-mix(in srgb, #f59e0b 10%, var(--card)); }
.amb-tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.amb-tbl th, .amb-tbl td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.amb-tbl th { color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.tbl-wrap { overflow-x: auto; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.pill.on { background: #dcfce7; color: #166534; }
.pill.wait { background: #fef3c7; color: #92400e; }
.small { font-size: .85rem; }
.amb-acct-link { display: block; margin: 0 0 10px; background: color-mix(in srgb, #16a34a 12%, var(--card)); border-color: #16a34a; }
@media (max-width: 820px) { .amb-hero { grid-template-columns: 1fr; } .amb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acct-admin-link { display: block; margin: 0 0 10px; background: #1e293b; color: #fff !important; border-color: #1e293b; }
