/* UI/DesignSystem: the few rules CoreX's own stylesheets do not have (our screens that CoreX never had) */
.cx-input{width:100%;background:var(--dapp-ovl-02);border:1px solid var(--dapp-hairline);border-radius:12px;padding:12px 14px;font-size:14px;color:hsl(var(--foreground));outline:none;transition:border-color .15s}
.cx-input:focus{border-color:rgba(201,162,39,.65)}
.cx-input::placeholder{color:hsl(var(--foreground)/.3)}
.mlm-card{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;border:1px solid var(--dapp-hairline);background:var(--dapp-card-55)}
@media (min-width:1024px){.mlm-card{padding:12px 16px}}
.cx-quota-card{display:block}
@media (min-width:1024px){.cx-quota-card{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}}
.cx-reward-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1024px){.cx-reward-totals{grid-template-columns:repeat(4,minmax(0,1fr))}}
.cx-reward-totals>div+div{border-left:1px solid var(--dapp-hairline)}
@media (max-width:1023px){.cx-reward-totals>div:nth-child(3){border-left:0}.cx-reward-totals>div:nth-child(n+3){border-top:1px solid var(--dapp-hairline)}}
.mlm-card{flex-wrap:wrap}
.mlm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center;width:100%;order:3;padding-top:8px;border-top:1px solid var(--dapp-hairline)}
.mlm-stats small{display:block;font-size:10px;color:hsl(var(--foreground)/.55)}
.mlm-stats b{display:block;font-weight:700;font-size:13px;margin-top:2px;font-variant-numeric:tabular-nums}
.mlm-pill{display:flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--dapp-hairline);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;background:var(--dapp-card)}
@media (min-width:1024px){.mlm-card{flex-wrap:nowrap}.mlm-stats{width:auto;order:0;border-top:0;padding-top:0;grid-template-columns:repeat(3,96px)}.mlm-stats b{font-size:14px}}
/* Data/ProgramContent: the program pages' top panel (taller with the admin's banner photo) */
.cx-hero{min-height:150px}
.cx-hero--photo{min-height:190px}
@media (min-width:1024px){.cx-hero{min-height:190px}.cx-hero--photo{min-height:260px}}
/* Data/ProgramContent: the Application Conditions the admin wrote (already-cleaned HTML) in the program pages' window */
.cx-prose{font-size:14px;line-height:1.7;color:hsl(var(--foreground)/.8);overflow-wrap:anywhere}
.cx-prose>*:first-child{margin-top:0}
.cx-prose>*:last-child{margin-bottom:0}
.cx-prose h1,.cx-prose h2,.cx-prose h3,.cx-prose h4{color:hsl(var(--foreground)/.95);font-weight:700;line-height:1.35;margin:1.3em 0 .5em}
.cx-prose h1{font-size:20px}
.cx-prose h2{font-size:18px}
.cx-prose h3{font-size:16px;color:var(--dapp-gold-text)}
.cx-prose h4{font-size:14px}
.cx-prose p{margin:.7em 0}
.cx-prose ul,.cx-prose ol{margin:.7em 0;padding-left:1.4em}
.cx-prose ul{list-style:disc}
.cx-prose ol{list-style:decimal}
.cx-prose li{margin:.3em 0}
.cx-prose li::marker{color:var(--dapp-gold-text)}
.cx-prose strong,.cx-prose b{font-weight:700;color:hsl(var(--foreground)/.95)}
.cx-prose em,.cx-prose i{font-style:italic}
.cx-prose u{text-decoration:underline}
.cx-prose s{text-decoration:line-through}
.cx-prose a{color:var(--dapp-gold-text);text-decoration:underline;text-underline-offset:2px}
.cx-prose hr{border:0;border-top:1px solid var(--dapp-hairline);margin:1.2em 0}
.cx-prose blockquote{margin:.8em 0;padding:.2em 0 .2em 1em;border-left:2px solid rgba(201,162,39,.55);color:hsl(var(--foreground)/.7)}
.cx-prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:.9em 0;font-size:13px;overflow-wrap:normal}
.cx-prose th,.cx-prose td{border:1px solid var(--dapp-hairline);padding:7px 10px;text-align:left;vertical-align:top;min-width:72px}
.cx-prose th{background:rgba(201,162,39,.10);color:hsl(var(--foreground)/.95);font-weight:700}
.cx-prose tbody tr:nth-child(even) td{background:var(--dapp-ovl-02)}
@media (min-width:1024px){.cx-prose{font-size:15px}.cx-prose h1{font-size:22px}.cx-prose h2{font-size:19px}}
