/* Agent teams: dashboard, lead tools, contract and onboarding. Builds on app.css tokens. */
:root { --ag1: #4f46e5; --ag2: #7c3aed; --ag3: #059669; --agold: #f59e0b; --apink: #db2777; }

/* ---------- motion ---------- */
@keyframes agRise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes agPop { 0% { opacity: 0; transform: scale(.9); } 60% { opacity: 1; transform: scale(1.02); } 100% { transform: none; } }
@keyframes agFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(18px, -16px); } }
@keyframes agShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes agPulse { 0% { box-shadow: 0 0 0 0 rgba(79,70,229,.45); } 100% { box-shadow: 0 0 0 14px rgba(79,70,229,0); } }
@keyframes agShine { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }
@keyframes agSpin { to { transform: rotate(360deg); } }
@keyframes agGrow { from { width: 0; } }
@keyframes agOrbit { from { transform: rotate(0deg) translateX(64px) rotate(0deg); } to { transform: rotate(360deg) translateX(64px) rotate(-360deg); } }
@keyframes agBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.ag-in > * { animation: agRise .55s var(--ease) both; }
.ag-in > *:nth-child(2) { animation-delay: .06s; } .ag-in > *:nth-child(3) { animation-delay: .12s; } .ag-in > *:nth-child(4) { animation-delay: .18s; } .ag-in > *:nth-child(5) { animation-delay: .24s; } .ag-in > *:nth-child(n+6) { animation-delay: .3s; }
.ag-pop { animation: agPop .6s var(--ease) both; }
.grad-text { background: linear-gradient(90deg, var(--ag1), var(--ag2), var(--ag3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-light { background: #fff; color: var(--primary-ink); font-weight: 700; box-shadow: 0 8px 22px rgba(15,23,42,.18); }
.btn-light:hover { transform: translateY(-1px); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.legend .lg-bar { background: #c7d2fe; } .legend .lg-line { background: var(--accent); border-radius: 50%; }

/* ---------- gradient heroes ---------- */
.ag-earn, .ag-hero, .ag-info-hero { position: relative; overflow: hidden; border-radius: 22px; color: #fff; padding: 26px; display: grid; gap: 20px; align-items: center;
  background: linear-gradient(120deg, #1e1b4b, #4338ca 35%, #7c3aed 60%, #047857); background-size: 220% 220%; animation: agShift 14s ease infinite, agRise .55s var(--ease) both; box-shadow: 0 20px 50px rgba(67,56,202,.28); }
.ag-earn::before, .ag-hero::before, .ag-info-hero::before, .ag-earn::after, .ag-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ag-earn::before, .ag-hero::before, .ag-info-hero::before { width: 260px; height: 260px; right: -60px; top: -90px; background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%); animation: agFloat 9s ease-in-out infinite; }
.ag-earn::after, .ag-hero::after { width: 200px; height: 200px; left: 30%; bottom: -120px; background: radial-gradient(circle, rgba(52,211,153,.35), rgba(52,211,153,0) 70%); animation: agFloat 11s ease-in-out infinite reverse; }
.ag-earn > *, .ag-hero > *, .ag-info-hero > * { position: relative; z-index: 1; }
.ag-earn { grid-template-columns: 1fr auto; }
.ag-earn-total { font-size: clamp(38px, 7vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; margin: 6px 0 12px; font-variant-numeric: tabular-nums; }
.ag-earn-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ag-earn-chips span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); }
.ag-earn-chips em { font-style: normal; font-size: 11px; opacity: .75; }
.ag-earn-chips i { width: 8px; height: 8px; border-radius: 50%; } .ag-earn-chips .d1 { background: #a5b4fc; } .ag-earn-chips .d2 { background: #34d399; } .ag-earn-chips .d3 { background: #fbbf24; }
.ag-earn-next { margin-top: 14px; font-size: 13.5px; color: #e0e7ff; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ag-earn-ring .ring-bg { stroke: rgba(255,255,255,.16); } .ag-earn-ring .ring-fg { stroke: url(#agg) #34d399; stroke: #34d399; filter: drop-shadow(0 0 6px rgba(52,211,153,.6)); transition: stroke-dashoffset 1.6s var(--ease); }
.ag-earn-ring .ring-txt b { color: #fff; font-size: 30px; } .ag-earn-ring .ring-txt small { color: #c7d2fe; }
.ag-hero { grid-template-columns: 1.4fr 1fr; }
.ag-hero h2 { font-size: clamp(24px, 4vw, 34px); letter-spacing: -.035em; margin: 6px 0 6px; } .ag-hero p { color: #e0e7ff; }
.ag-hero-side { display: grid; gap: 10px; }
.ag-hero-side div { padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.ag-hero-side small { display: block; color: #c7d2fe; font-size: 12px; } .ag-hero-side b { font-size: 20px; letter-spacing: -.02em; }

/* ---------- tiles ---------- */
.ag-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ag-tile { position: relative; overflow: hidden; background: var(--card); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 2px; animation: agRise .55s var(--ease) both; animation-delay: calc(var(--i) * .07s + .1s); transition: transform .2s var(--ease), box-shadow .2s; }
.ag-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ag-tile .t-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 8px; }
.ag-tile.green .t-ic { background: var(--accent-soft); color: var(--accent); } .ag-tile.amber .t-ic { background: var(--warn-soft); color: var(--warn); } .ag-tile.pink .t-ic { background: #fdf2f8; color: var(--apink); }
.ag-tile b { font-size: 26px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .ag-tile small { font-weight: 600; color: var(--text-2); } .ag-tile em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ---------- invite + media ---------- */
.ag-invite .linkbox, .ob-link { background: var(--primary-soft); border-color: #c7d2fe; max-width: none; }
.ag-invite .linkbox span, .ob-link span { flex: 1; min-width: 0; font: 600 14px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--primary-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-media { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ag-media-item { position: relative; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: var(--ink-3); display: block; }
.ag-media-item img, .ag-media-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ag-media-item:hover img, .ag-media-item:hover video { transform: scale(1.06); }
.ag-dl, .ag-play { position: absolute; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(15,23,42,.6); color: #fff; backdrop-filter: blur(4px); }
.ag-dl { right: 8px; bottom: 8px; } .ag-play { left: 8px; top: 8px; }
.ag-caps { display: grid; gap: 10px; }
.ag-cap { padding: 14px; border-radius: 14px; background: var(--hover); border: 1px solid var(--line); display: grid; gap: 10px; }
.ag-cap p { white-space: pre-line; font-size: 14px; color: var(--text-2); }
.ag-cta { display: flex; align-items: center; gap: 14px; padding: 16px; transition: transform .2s var(--ease), box-shadow .2s; }
.ag-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ag-cta > div { flex: 1; min-width: 0; } .ag-cta b { display: block; } .ag-cta small { color: var(--muted); font-size: 13px; }
.ag-cta-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ag1), var(--ag2)); box-shadow: 0 8px 18px rgba(79,70,229,.3); flex: none; }
.ag-cta-ic.green { background: linear-gradient(135deg, #10b981, #047857); box-shadow: 0 8px 18px rgba(16,185,129,.3); }
.ag-cta-ic.gold { background: linear-gradient(135deg, #fbbf24, #d97706); box-shadow: 0 8px 18px rgba(245,158,11,.3); }
.ag-ann { border-left: 4px solid var(--primary); }

/* ---------- lead: agents ---------- */
.ag-row { animation: agRise .45s var(--ease) both; animation-delay: calc(var(--i) * .035s); }
.ag-steps-mini { display: flex; gap: 4px; margin-bottom: 4px; }
.ag-steps-mini i { width: 18px; height: 6px; border-radius: 4px; background: var(--line); }
.ag-steps-mini i.done { background: var(--accent); } .ag-steps-mini i.cur { background: var(--primary); animation: agPulse 1.6s infinite; }
.ag-pw { font: 700 14px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--warn-soft); color: #92400e; padding: 3px 8px; border-radius: 8px; letter-spacing: .02em; }
.ag-new { border: 2px solid #c7d2fe; background: linear-gradient(180deg, #eef2ff, #fff 60%); }
.ag-drop { display: grid; place-items: center; text-align: center; gap: 4px; padding: 20px; border-radius: 16px; border: 2px dashed var(--line-2); background: var(--hover); cursor: pointer; color: var(--text-2); transition: border-color .2s, background .2s, transform .2s; }
.ag-drop:hover, .ag-drop.over { border-color: var(--primary); background: var(--primary-soft); transform: scale(1.01); }
.ag-drop small { color: var(--muted); } .ag-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ag-sheet-prev { margin: 4px 0 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px; }
.ag-sheet-prev div { display: grid; grid-template-columns: 1.1fr 1.4fr .9fr; gap: 8px; padding: 7px 10px; border-top: 1px solid var(--line); }
.ag-sheet-prev div:first-child { border-top: 0; background: var(--hover); font-weight: 700; }
.ag-sheet-prev .bad { color: var(--bad); }
.ag-timeline { display: grid; gap: 0; margin-top: 18px; }
.ag-tl { display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.ag-tl:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.ag-tl.done:not(:last-child)::before { background: var(--accent); }
.ag-tl i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; background: #eef0f5; color: var(--muted); flex: none; position: relative; z-index: 1; }
.ag-tl.done i { background: var(--accent); color: #fff; } .ag-tl.cur i { background: var(--primary); color: #fff; animation: agPulse 1.6s infinite; }
.ag-tl b { display: block; font-size: 14px; line-height: 28px; } .ag-tl small { display: block; color: var(--muted); font-size: 12px; margin-top: -4px; }

/* ---------- lead: home ---------- */
.ag-setup { border: 2px solid #c7d2fe; }
.ag-setup-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ag-setup-item { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--hover); border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: transform .2s; }
.ag-setup-item:hover { transform: translateY(-2px); }
.ag-setup-item span { flex: 1; }
.ag-setup-item i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; background: var(--primary); color: #fff; flex: none; }
.ag-setup-item.done { opacity: .7; } .ag-setup-item.done i { background: var(--accent); }
.ag-funnel { display: grid; gap: 12px; }
.ag-fun-row { display: grid; grid-template-columns: 100px 1fr 44px; align-items: center; gap: 10px; font-size: 14px; }
.ag-fun-row b { text-align: right; }
.ag-fun-bar { height: 12px; border-radius: 99px; background: var(--hover); overflow: hidden; }
.ag-fun-bar i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--ag1), var(--ag2), var(--ag3)); animation: agGrow 1.1s var(--ease) both; animation-delay: calc(var(--i) * .12s + .2s); }

/* ---------- emails ---------- */
.ag-picklist { max-height: 340px; display: grid; gap: 2px; }
.ag-pick { padding: 8px 6px; border-radius: 10px; transition: background .15s; } .ag-pick:hover { background: var(--hover); }
.ag-pick span b { display: block; font-size: 14px; } .ag-pick span small { color: var(--muted); font-size: 12px; word-break: break-all; }
.ag-preview-wrap summary { cursor: pointer; font-weight: 600; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }
.ag-mail-preview { margin-top: 12px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #f1f3fb; padding: 14px; }
.ag-mail-preview .mp-h { background: linear-gradient(135deg, #312e81, #4f46e5 55%, #059669); color: #fff; padding: 18px; border-radius: 12px 12px 0 0; }
.ag-mail-preview .mp-h small { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; opacity: .85; } .ag-mail-preview .mp-h b { display: block; font-size: 18px; margin-top: 4px; }
.ag-mail-preview .mp-b { background: #fff; padding: 18px; border-radius: 0 0 12px 12px; font-size: 14px; line-height: 1.6; } .ag-mail-preview .mp-b p { margin: 0 0 12px; }
.ag-send:not(:disabled) { background-image: linear-gradient(90deg, var(--ag1), var(--ag2)); position: relative; overflow: hidden; }
.ag-send:not(:disabled)::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: agShine 2.6s infinite; }

/* ---------- signature pad + contract ---------- */
.ag-sigpad { position: relative; border-radius: 16px; border: 2px dashed var(--line-2); background: repeating-linear-gradient(0deg, #fff 0 39px, #f1f3fb 39px 40px); height: 180px; touch-action: none; overflow: hidden; }
.ag-sigpad.signed { border-color: var(--accent); border-style: solid; }
.ag-sigpad canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.ag-sigpad::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 44px; border-bottom: 2px solid #cbd5e1; pointer-events: none; }
.ag-sig-hint { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; pointer-events: none; transition: opacity .2s; }
.ag-sigpad.signed .ag-sig-hint { opacity: 0; }
.ag-sigpad [data-sig-clear] { position: absolute; right: 8px; top: 8px; background: #fff; }
.ag-sig-saved { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--accent-soft); margin-bottom: 4px; flex-wrap: wrap; }
.ag-sig-saved img { height: 64px; background: #fff; border-radius: 10px; padding: 4px 10px; }
.ag-sig-saved div { display: grid; gap: 6px; } .ag-sig-saved b { color: var(--accent-d); display: flex; gap: 6px; align-items: center; }
.ag-sticky { position: sticky; top: calc(var(--top) + 12px); max-height: calc(100vh - var(--top) - 24px); overflow: auto; }
.ct-paper { background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: clamp(18px, 4vw, 44px); color: #111827; }
.ct-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid #111827; font-size: 13px; }
.ct-head b { letter-spacing: .08em; text-transform: uppercase; } .ct-head span { color: #6b7280; }
.ct-doc { font-size: 15px; line-height: 1.7; }
.ct-doc h1, .ct-doc h2, .ct-doc .ct-title { font-size: clamp(20px, 3.4vw, 26px); text-align: center; margin: 0 0 18px; letter-spacing: -.02em; }
.ct-doc h3 { font-size: 16px; margin: 20px 0 6px; } .ct-doc p { margin: 0 0 10px; } .ct-doc ul { margin: 0 0 10px; padding-left: 22px; } .ct-doc li { margin-bottom: 4px; }
.ct-sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #e5e7eb; }
.ct-sigs > div { display: grid; gap: 4px; align-content: start; }
.ct-sigs img { height: 76px; width: auto; max-width: 100%; object-fit: contain; object-position: left; border-bottom: 1px solid #9ca3af; padding-bottom: 4px; }
.ct-sigs small { color: #6b7280; font-size: 12px; }
.ct-sig-empty > div { height: 76px; border-bottom: 1px dashed #9ca3af; display: grid; place-items: center; color: #9ca3af; font-size: 13px; }
.ct-audit { margin-top: 22px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; color: #475569; font-size: 12px; line-height: 1.5; word-break: break-all; display: flex; gap: 8px; }
@media print {
  body { background: #fff !important; } .side, .top, .tabbar, .row.between, .flash, .banner { display: none !important; }
  .shell { display: block !important; background: #fff !important; } .content { padding: 0 !important; } .ct-paper { box-shadow: none; border: 0; }
}

/* ---------- information center ---------- */
.ag-info-hero { grid-template-columns: 1.5fr 1fr; }
.ag-info-hero h2 { font-size: clamp(24px, 4vw, 34px); letter-spacing: -.035em; margin: 6px 0 8px; } .ag-info-hero p { color: #e0e7ff; max-width: 520px; }
.ag-orbit { position: relative; height: 160px; display: grid; place-items: center; }
.ag-orbit::before { content: ""; position: absolute; width: 128px; height: 128px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.35); }
.ag-orbit span { position: absolute; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); animation: agOrbit 12s linear infinite; }
.ag-orbit span:nth-child(2) { animation-delay: -3s; } .ag-orbit span:nth-child(3) { animation-delay: -6s; } .ag-orbit span:nth-child(4) { animation-delay: -9s; }
.ag-learn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ag-learn { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); animation: agRise .55s var(--ease) both; animation-delay: calc(var(--i) * .06s + .1s); transition: transform .2s var(--ease), box-shadow .2s; }
.ag-learn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ag-learn h3 { font-size: 16px; margin: 12px 0 6px; } .ag-learn p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.ag-learn-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ag1), var(--ag2)); box-shadow: 0 8px 18px rgba(79,70,229,.28); }
.ag-learn:nth-child(3n+2) .ag-learn-ic { background: linear-gradient(135deg, #10b981, #047857); box-shadow: 0 8px 18px rgba(16,185,129,.28); }
.ag-learn:nth-child(3n) .ag-learn-ic { background: linear-gradient(135deg, #fbbf24, #db2777); box-shadow: 0 8px 18px rgba(219,39,119,.25); }
.ag-faq details { border-top: 1px solid var(--line); } .ag-faq details:first-child { border-top: 0; }
.ag-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; font-weight: 600; }
.ag-faq summary::-webkit-details-marker { display: none; }
.ag-faq summary .ic { transition: transform .25s var(--ease); color: var(--muted); } .ag-faq details[open] summary .ic { transform: rotate(180deg); }
.ag-faq details p { padding: 0 0 14px; color: var(--text-2); animation: agRise .3s var(--ease); }

/* =================== onboarding =================== */
.ob-body { min-height: 100vh; background: #0b1020; color: var(--text); overflow-x: hidden; }
.ob-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(80% 60% at 10% 0%, #312e81 0%, transparent 60%), radial-gradient(70% 50% at 100% 100%, #065f46 0%, transparent 60%), #0b1020; }
.ob-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: agFloat 14s ease-in-out infinite; }
.ob-bg i:nth-child(1) { width: 380px; height: 380px; background: #6366f1; left: -120px; top: 20%; }
.ob-bg i:nth-child(2) { width: 320px; height: 320px; background: #10b981; right: -100px; top: 50%; animation-delay: -5s; }
.ob-bg i:nth-child(3) { width: 260px; height: 260px; background: #a855f7; left: 40%; top: -120px; animation-delay: -9s; }
.ob-top, .ob-steps, .ob-main { position: relative; z-index: 1; }
.ob-top { display: flex; justify-content: space-between; align-items: center; padding: 16px clamp(16px, 4vw, 32px); color: #fff; }
.ob-top .brand { padding: 0; } .ob-out { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #c7d2fe; border-radius: 999px; padding: 8px 14px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; }
.ob-steps { display: flex; justify-content: space-between; max-width: 760px; margin: 4px auto 0; padding: 0 16px; position: relative; }
.ob-step { display: grid; justify-items: center; gap: 6px; flex: 1; position: relative; z-index: 1; color: #8b93c7; font-size: 11.5px; font-weight: 600; text-align: center; }
.ob-step i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; background: #1e2447; border: 2px solid #2e3666; color: #8b93c7; transition: all .4s var(--ease); }
.ob-step.done i { background: #10b981; border-color: #10b981; color: #fff; }
.ob-step.cur i { background: #fff; border-color: #fff; color: var(--primary); animation: agPulse 1.8s infinite; transform: scale(1.12); }
.ob-step.cur, .ob-step.done { color: #e0e7ff; }
.ob-steps-bar { position: absolute; left: calc(16px + 8.3%); right: calc(16px + 8.3%); top: 15px; height: 3px; background: #2e3666; border-radius: 3px; z-index: 0; }
.ob-steps-bar span { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, #10b981, #818cf8); border-radius: 3px; animation: agGrow 1.2s var(--ease) both; }
.ob-main { max-width: 760px; margin: 0 auto; padding: 22px 16px 60px; }
.ob-flash { margin-bottom: 12px; }
.ob-card { background: rgba(255,255,255,.97); border-radius: 26px; padding: clamp(22px, 5vw, 40px); box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: agPop .7s var(--ease) both; }
.ob-card h1 { font-size: clamp(26px, 5vw, 38px); letter-spacing: -.045em; margin: 6px 0 10px; }
.ob-eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.ob-lead { font-size: 17px; color: var(--text-2); line-height: 1.6; }
.ob-go { margin-top: 22px; min-height: 52px; font-size: 16px; border-radius: 14px; background-image: linear-gradient(90deg, var(--ag1), var(--ag2)); box-shadow: 0 12px 28px rgba(79,70,229,.35); position: relative; overflow: hidden; }
.ob-go::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: agShine 3s infinite; }
.ob-medal { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, #6366f1, #a855f7); box-shadow: 0 16px 40px rgba(99,102,241,.45); animation: agBounce 2.4s ease-in-out infinite; }
.ob-medal.gold { background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 16px 40px rgba(249,115,22,.45); }
.ob-welcome, .ob-done, .ob-result { text-align: center; } .ob-welcome .ob-medal, .ob-done .ob-medal { margin-inline: auto; }
.ob-odds { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 22px 0 10px; }
.ob-odds > div:not(.ob-odds-arrow) { padding: 14px 20px; border-radius: 18px; background: var(--hover); border: 1px solid var(--line); min-width: 120px; }
.ob-odds b { display: block; font-size: 32px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; } .ob-odds span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.ob-odds .win { background: linear-gradient(135deg, #ecfdf5, #eef2ff); border-color: #a7f3d0; } .ob-odds .win b { color: var(--accent); }
.ob-odds-arrow { color: var(--muted); animation: agBounce 1.6s infinite; }
.ob-dots { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; max-width: 560px; margin: 8px auto 4px; }
.ob-dots i { width: 7px; height: 7px; border-radius: 2px; background: #e2e8f0; opacity: 0; animation: agRise .4s var(--ease) both; }
.ob-dots i.win { background: var(--accent); box-shadow: 0 0 8px rgba(16,185,129,.7); }
.ob-form { text-align: left; margin-top: 24px; padding: 20px; border-radius: 18px; background: var(--hover); border: 1px solid var(--line); }
.ob-form h3 { font-size: 16px; display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.ob-form .ob-go { margin-top: 8px; }
.ob-meter { height: 6px; border-radius: 6px; background: var(--line); margin-top: 8px; overflow: hidden; } .ob-meter i { display: block; height: 100%; width: 0; border-radius: 6px; transition: width .3s, background .3s; }
.ob-hint { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #fef3c7, #fde68a); color: #78350f; margin: 14px 0; font-size: 14.5px; animation: agPop .6s var(--ease) .3s both; }
.ob-read-bar { position: sticky; top: 0; height: 4px; border-radius: 4px; background: var(--line); margin: 0 0 16px; z-index: 2; overflow: hidden; }
.ob-read-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ag1), var(--ag3)); transition: width .15s; }
.ob-learn { grid-template-columns: 1fr 1fr; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); animation: none; } .reveal.on { opacity: 1; transform: none; }
.ob-quiz { margin-top: 18px; }
.ob-q-progress { position: relative; height: 10px; border-radius: 10px; background: var(--line); margin-bottom: 22px; }
.ob-q-progress span { position: absolute; inset: 0 auto 0 0; width: 10%; border-radius: 10px; background: linear-gradient(90deg, var(--ag1), var(--ag3)); transition: width .4s var(--ease); }
.ob-q-progress b { position: absolute; right: 0; top: -22px; font-size: 12px; color: var(--muted); }
.ob-q { border: 0; padding: 0; margin: 0; animation: agRise .45s var(--ease) both; }
.ob-q legend { font-size: clamp(18px, 3.4vw, 22px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; line-height: 1.35; }
.ob-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); margin-bottom: 10px; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; font-size: 15.5px; background: #fff; }
.ob-opt:hover { border-color: #c7d2fe; transform: translateX(3px); }
.ob-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ob-opt-l { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--hover); color: var(--muted); flex: none; transition: all .2s; }
.ob-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.ob-opt:has(input:checked) .ob-opt-l { background: var(--primary); color: #fff; transform: scale(1.08); }
.ob-q-nav { margin-top: 16px; }
.ob-result .ring { margin: 4px auto 14px; } .ob-result.fail .ring-fg { stroke: var(--gold); }
.ob-review { list-style: none; padding: 0; margin: 16px 0 0; text-align: left; display: grid; gap: 6px; }
.ob-review li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; padding: 8px 12px; border-radius: 10px; }
.ob-review li.ok { background: var(--accent-soft); color: var(--accent-d); } .ob-review li.no { background: var(--bad-soft); color: var(--bad); }
.ob-pass { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-d); font-weight: 600; margin-bottom: 16px; animation: agPop .6s var(--ease) both; }
.ob-pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.ob-pay-card { position: relative; border-radius: 20px; padding: 18px; background: var(--hover); border: 1px solid var(--line); animation: agRise .55s var(--ease) both; animation-delay: calc(var(--i) * .12s + .2s); }
.ob-pay-card.hl { background: linear-gradient(160deg, #eef2ff, #ecfdf5); border-color: #c7d2fe; transform: translateY(-4px); box-shadow: 0 16px 36px rgba(79,70,229,.15); }
.ob-pay-card small { display: block; font-weight: 700; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-top: 10px; }
.ob-pay-card > b { display: block; font-size: 24px; letter-spacing: -.03em; margin: 4px 0 6px; font-variant-numeric: tabular-nums; } .ob-pay-card p { font-size: 13.5px; color: var(--text-2); }
.ob-pay-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ag1), var(--ag2)); }
.ob-pay-card:nth-child(2) .ob-pay-ic { background: linear-gradient(135deg, #10b981, #047857); } .ob-pay-card:nth-child(3) .ob-pay-ic { background: linear-gradient(135deg, #fbbf24, #db2777); }
.ob-calc { padding: 18px; border-radius: 20px; background: #0f172a; color: #fff; }
.ob-calc input[type=range] { width: 100%; margin: 14px 0; accent-color: #34d399; height: 28px; }
.ob-calc-n { font-weight: 800; font-size: 18px; color: #34d399; font-variant-numeric: tabular-nums; }
.ob-calc-out { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .ob-calc-out span, .ob-calc-out small { color: #94a3b8; }
.ob-calc-out b { font-size: 30px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #a5b4fc, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ob-rules { margin-top: 18px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); }
.ob-rules h3 { font-size: 16px; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; } .ob-rules ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; color: var(--text-2); }
.ob-agree { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--primary-soft); cursor: pointer; font-weight: 600; font-size: 15px; }
.ob-agree input { width: 22px; height: 22px; accent-color: var(--primary); flex: none; margin-top: 1px; }
.ct-scroll { max-height: 56vh; overflow-y: auto; margin-top: 16px; border-radius: 18px; background: #e2e8f0; padding: 10px; -webkit-overflow-scrolling: touch; }
.ob-scroll-note { text-align: center; margin-top: 10px; display: flex; gap: 6px; justify-content: center; animation: agBounce 1.6s infinite; } .ob-scroll-note.hide { visibility: hidden; animation: none; }
.ob-sign:not(.ready) [data-sign-btn] { opacity: .6; }
.ob-wait { text-align: center; padding: 30px 10px; display: grid; gap: 10px; justify-items: center; }
.ob-spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--primary); animation: agSpin 1s linear infinite; }
.ob-howto { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ob-howto li { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: var(--hover); border: 1px solid var(--line); animation: agRise .5s var(--ease) both; animation-delay: calc(var(--i) * .12s + .15s); }
.ob-howto li > i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--ag1), var(--ag2)); flex: none; }
.ob-howto b { display: block; margin-bottom: 4px; } .ob-howto p { font-size: 14px; color: var(--text-2); margin-bottom: 10px; }
.ob-link { margin: 20px 0 8px; }
.ag-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) { .ag-learn-grid { grid-template-columns: 1fr 1fr; } .ag-setup-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .ag-earn, .ag-hero, .ag-info-hero { grid-template-columns: 1fr; padding: 22px 18px; }
  .ag-earn-ring { justify-self: center; } .ag-orbit { display: none; }
  .ag-tiles { grid-template-columns: 1fr 1fr; } .ag-media { grid-template-columns: 1fr 1fr; }
  .ob-pay { grid-template-columns: 1fr; } .ob-pay-card.hl { transform: none; } .ob-learn { grid-template-columns: 1fr; }
  .ag-sticky { position: static; max-height: none; }
}
@media (max-width: 560px) {
  .ag-learn-grid, .ag-setup-grid { grid-template-columns: 1fr; }
  .ob-step span { display: none; } .ob-steps { margin-top: 0; } .ob-top .brand small { display: none; }
  .ob-card { border-radius: 22px; } .ob-odds { gap: 6px; } .ob-odds > div:not(.ob-odds-arrow) { min-width: 0; padding: 12px 14px; } .ob-odds b { font-size: 26px; }
  .ct-sigs { grid-template-columns: 1fr; } .ag-fun-row { grid-template-columns: 86px 1fr 36px; font-size: 13px; }
  .ag-tile b { font-size: 22px; } .ag-earn-chips span { font-size: 12px; padding: 6px 10px; }
}

/* ---------- activeness ---------- */
.ag-act-card { border-top: 4px solid var(--accent); }
.ag-signals { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ag-signals li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: var(--hover); border: 1px solid var(--line); animation: agRise .45s var(--ease) both; }
.ag-signals li:nth-child(2) { animation-delay: .05s; } .ag-signals li:nth-child(3) { animation-delay: .1s; } .ag-signals li:nth-child(4) { animation-delay: .15s; } .ag-signals li:nth-child(5) { animation-delay: .2s; }
.ag-signals li > span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--primary); flex: none; }
.ag-signals li > div { flex: 1; min-width: 0; } .ag-signals b { display: block; font-size: 13.5px; } .ag-signals small { color: var(--muted); font-size: 12px; }
.ag-signals li > i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; flex: none; }
.ag-signals li.good > i { background: var(--accent); color: #fff; } .ag-signals li.low > i { background: var(--warn-soft); color: var(--warn); }
.ag-act-rules { margin-top: 12px; } .ag-act-rules summary { cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; }
.ag-act-rules ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.ag-act-seg { width: 100%; } .ag-act-seg label { flex: 1; text-align: center; }
.ob-active { background: linear-gradient(160deg, #ecfdf5, #fff); border-color: #a7f3d0; }

.ag-rule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ag-rule-list li { display: flex; gap: 12px; align-items: flex-start; }
.ag-rule-list li > span { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.ag-rule-list b { display: block; font-size: 14px; } .ag-rule-list small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.sg-h{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;margin:6px 0 -4px}.res-media.cap{white-space:pre-line}
/* email recipient filters */
.ag-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ag-filters select { width: 100%; }
.ag-pick[hidden] { display: none; }
.ag-pick .ag-sent { display: flex; align-items: center; gap: 4px; color: var(--ok, #059669) !important; font-weight: 600; }
.btn em { font-style: normal; opacity: .7; }
@media (max-width: 520px) { .ag-filters { grid-template-columns: 1fr; } }
/* onboarding: reassurance, typed signature, app invite, video popup */
.ob-assure { display: grid; gap: 8px; margin: 14px 0 6px; text-align: left; }
.ob-assure > div { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 12px; background: var(--hover, #f4f6fb); font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.ob-assure svg { flex: none; color: var(--primary); margin-top: 1px; }
.ob-assure b { color: var(--text); }
.ob-sigmode { margin: 6px 0 8px; width: max-content; }
.ob-typesig { border: 1.5px dashed var(--line); border-radius: 14px; background: #fff; padding: 4px 4px 8px; }
.ob-typesig canvas { display: block; width: 100%; height: 110px; }
.ob-typesig .hint { display: block; padding: 0 10px; }
.ob-appcard { margin: 16px 0; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #0b1a20, #12303a); color: #e8f1f3; text-align: left; box-shadow: 0 12px 30px rgba(6,19,27,.18); }
.ob-app-top { display: flex; gap: 12px; align-items: center; }
.ob-app-top b { display: block; font-size: 16px; letter-spacing: -.01em; color: #fff; margin-top: 2px; }
.ob-app-top .ob-eyebrow { color: #e5c158 !important; }
.ob-app-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #e5c158; color: #0b1a20; }
.ob-appcard p { font-size: 13.5px; line-height: 1.55; margin: 10px 0; color: #c9d6dc; }
.ob-appcard p b { color: #fff; }
.ob-video-btn { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; cursor: pointer; padding: 12px 14px; border-radius: 13px; background: rgba(229,193,88,.14); color: #f3d77e; font: inherit; font-weight: 700; font-size: 14px; text-align: left; }
.ob-video-btn span { width: 30px; height: 30px; border-radius: 50%; background: #e5c158; color: #0b1a20; display: grid; place-items: center; animation: obPulse 2s infinite; }
@keyframes obPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229,193,88,.5); } 50% { box-shadow: 0 0 0 8px rgba(229,193,88,0); } }
.ob-app-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.ob-app-steps li { display: flex; gap: 10px; align-items: center; }
.ob-app-steps i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font-style: normal; font-weight: 800; font-size: 12px; }
.ob-app-steps a { color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.ob-appcard .muted { color: #9fb3bc !important; }
.vid-pop { position: fixed; inset: 0; z-index: 9999; background: rgba(4,10,14,.82); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.vid-pop.in { opacity: 1; }
.vid-box { position: relative; width: min(380px, 92vw); aspect-ratio: 9 / 16; max-height: 86vh; border-radius: 22px; overflow: hidden; background: #000; transform: scale(.88) translateY(20px); transition: transform .35s cubic-bezier(.2,.9,.3,1.2); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.vid-pop.in .vid-box { transform: none; }
.vid-box iframe { width: 100%; height: 100%; border: 0; }
.vid-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* ---- Base allowance: activeness bar + verified sign-ups bar ---- */
.ab-card { padding: 20px; overflow: hidden; position: relative; background: radial-gradient(120% 90% at 100% 0%, rgba(99,102,241,.10), transparent 55%), #fff; }
.ab-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.ab-head h2 { font-size: 28px; letter-spacing: -.035em; margin: 4px 0 0; }
.ab-head h2 small { font-size: 13.5px; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.ab-total { text-align: right; } .ab-total b { display: block; font-size: 22px; color: #4f46e5; letter-spacing: -.03em; } .ab-total small { font-size: 12px; color: var(--text-2); }
.ab-bar { padding: 14px 0 6px; border-top: 1px solid #eef0f6; }
.ab-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14.5px; margin-bottom: 9px; }
.ab-row span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; } .ab-row svg { color: #6366f1; }
.ab-row em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #6366f1; background: #eef0ff; border-radius: 99px; padding: 2px 8px; }
.ab-row > b { font-size: 18px; letter-spacing: -.02em; } .ab-row > b small { font-size: 13px; color: var(--text-2); font-weight: 600; }
.ab-track { position: relative; height: 16px; border-radius: 99px; background: #eef0f6; overflow: hidden; }
.ab-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.ab-track .ghost { background: repeating-linear-gradient(-45deg, rgba(99,102,241,.13) 0 6px, rgba(99,102,241,.06) 6px 12px); }
.ab-track .fill { width: 0; animation: abgrow 1.4s cubic-bezier(.2,.9,.3,1) .2s forwards; }
.ab-track.act .fill { background: linear-gradient(90deg, #6366f1, #a855f7 60%, #ec4899); box-shadow: 0 0 14px rgba(168,85,247,.45); }
.ab-track.ver .inner { background: #c7f0dc; }
.ab-track.ver .fill { background: linear-gradient(90deg, #10b981, #22c55e); box-shadow: 0 0 12px rgba(16,185,129,.4); }
.ab-track .fill::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); background-size: 200% 100%; animation: abshine 2.6s linear infinite; }
@keyframes abgrow { to { width: var(--w); } }
@keyframes abshine { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.ab-cheer { margin: 10px 0 8px; font-size: 14px; font-weight: 600; color: #4338ca; }
.ab-today { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ab-today .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--text-2); margin-right: 2px; }
.tchip { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: #f4f5f9; color: var(--text-2); border: 1px dashed #d6dbe8; text-decoration: none; }
.tchip.on { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.tchip.post { border-color: #c4b5fd; color: #6d28d9; background: #f5f3ff; } .tchip.post.on { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.ab-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: var(--text-2); }
.ab-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; } .lg-v { background: #10b981; } .lg-s { background: #c7f0dc; }
.ab-note { display: flex; gap: 8px; margin: 12px 0 0; padding: 11px 12px; border-radius: 12px; background: #f8f9fc; font-size: 12.5px; line-height: 1.5; color: var(--text-2); } .ab-note svg { flex: none; margin-top: 2px; }
.post-add { display: grid; gap: 10px; } .post-pl label { flex: 1; justify-content: center; }
.post-list { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 6px; }
.post-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid #eef0f6; border-radius: 12px; font-size: 13.5px; }
.post-list .pi { width: 28px; height: 28px; border-radius: 9px; background: #111; color: #fff; display: grid; place-items: center; flex: none; font-size: 14px; }
.post-list a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--primary, #4f46e5); font-weight: 600; } .post-list small { color: var(--text-2); white-space: nowrap; }
@media (max-width: 560px) { .ab-head h2 { font-size: 24px; } }
.post-list li { overflow: hidden; } .post-list a { flex: 1 1 auto; width: 0; } .post-list form { flex: none; }
.ab-base { display: flex; gap: 8px; margin: -4px 0 12px; padding: 10px 12px; border-radius: 12px; background: #eef0ff; color: #3730a3; font-size: 13px; line-height: 1.5; } .ab-base svg { flex: none; margin-top: 2px; }
.post-pl { display: flex; } .post-pl label { padding: 8px 6px; font-size: 13px; }
.post-shot { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px dashed #d6dbe8; border-radius: 12px; font-size: 13px; cursor: pointer; } .post-shot span { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); } .post-shot input { font-size: 13px; }
.post-tag { display: flex; align-items: center; gap: 8px; }
.post-list .shot { flex: none; width: auto; color: var(--text-2); }
.post-dm { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 11px 12px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; color: inherit; text-decoration: none; font-size: 13.5px; }
.post-dm .pi { width: 30px; height: 30px; border-radius: 10px; background: #25d366; display: grid; place-items: center; flex: none; } .post-dm span:nth-child(2) { flex: 1; } .post-dm b { display: block; } .post-dm small { color: var(--text-2); font-size: 12.5px; line-height: 1.45; }
