/* ADELANTO. One brand colour family (Nigerian green on deep forest, with a lime
   highlight), white surfaces, heavy capitals for headings, pill buttons, big
   rounded cards. Motion only where something real happens: numbers arriving,
   the agent's steps landing, the payout reaching the person. */
:root {
  --forest: #0c2a1b;
  --forest-2: #123824;
  --green: #008751;
  --green-2: #00a862;
  --lime: #c6f36b;
  --lime-2: #e3fbb3;
  --ink: #0c1a12;
  --muted: #5b6b61;
  --line: #e2e9e3;
  --soft: #f1f5f0;
  --paper: #ffffff;
  --ok: #00875a;
  --warn: #b26a00;
  --bad: #d92d20;
  --radius: 24px;
  --radius-s: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --display: "Archivo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font: 16px/1.5 var(--display);
  font-variation-settings: "wdth" 100;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 480px; margin: 0 auto; padding: 12px 16px 56px; }
body.proof main { max-width: 1120px; }
a { color: var(--green); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }
code { font-size: 0.88em; background: var(--soft); padding: 2px 7px; border-radius: 8px; }
.display, h1 {
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "wdth" 80;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
h1 { font-size: clamp(38px, 11vw, 56px); margin: 10px 0 14px; }
h2 { font-size: 20px; font-weight: 800; margin: 32px 0 10px; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.lede { color: var(--muted); max-width: 680px; font-size: 17px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 14px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-variation-settings: "wdth" 85; letter-spacing: 0.02em; font-size: 20px;
  color: var(--forest); text-decoration: none;
}
.brand::before {
  content: ""; width: 26px; height: 26px; border-radius: 8px;
  background: var(--forest) url("/icon.svg") center / cover no-repeat;
}
.pill {
  font-size: 13px; font-weight: 600; color: var(--forest); background: var(--soft);
  border-radius: 999px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 6px;
}
.pill .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 0 rgba(0, 168, 98, 0.6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(0, 168, 98, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(0, 168, 98, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 168, 98, 0); } }

/* ------------------------------------------------------------ cards */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin: 14px 0;
}
.card.soft { background: var(--soft); border-color: transparent; }
.card.dark {
  background: var(--forest); color: #fff; border-color: transparent;
  background-image: radial-gradient(120% 90% at 100% 0%, rgba(198, 243, 107, 0.18) 0%, rgba(198, 243, 107, 0) 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(0, 168, 98, 0.35) 0%, rgba(0, 168, 98, 0) 60%);
}
.card.dark .muted, .card.dark .row span:first-child { color: rgba(255, 255, 255, 0.68); }
.card.dark .row + .row { border-top-color: rgba(255, 255, 255, 0.12); }
.balance { font-size: 48px; font-weight: 900; font-variation-settings: "wdth" 85; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row span:first-child { color: var(--muted); }
.row span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

/* ------------------------------------------------------------ forms */
label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin: 16px 0 8px; }
input, select {
  width: 100%; font: inherit; color: var(--ink); background: var(--soft);
  border: 2px solid transparent; border-radius: var(--radius-s); padding: 14px 16px; outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input:focus, select:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 5px rgba(0, 135, 81, 0.12); }
.amount-wrap { position: relative; }
.amount-wrap::before { content: "₦"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 900; color: var(--forest); pointer-events: none; }
.amount { font-size: 34px; font-weight: 900; font-variation-settings: "wdth" 85; padding-left: 44px !important; letter-spacing: -0.01em; }
.preview { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 21px; }
.preview b { color: var(--forest); font-variant-numeric: tabular-nums; }

input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* ------------------------------------------------------------ buttons */
button {
  position: relative; overflow: hidden; width: 100%;
  font: inherit; font-weight: 800; font-size: 17px; letter-spacing: 0.01em;
  border: 0; border-radius: 999px; padding: 16px 20px; margin-top: 18px; cursor: pointer;
  background: var(--lime); color: var(--forest);
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 1px 0 rgba(12, 42, 27, 0.08);
}
button:hover { background: #b9ec52; }
button:active { transform: scale(0.97); }
button.secondary { background: var(--soft); color: var(--forest); }
button.secondary:hover { background: #e5ece4; }
button:disabled { opacity: 0.55; cursor: default; transform: none; }
button.busy::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
  transform: translateX(-100%); animation: sweep 1.2s var(--ease) infinite;
}
@keyframes sweep { to { transform: translateX(100%); } }
.ripple { position: absolute; border-radius: 50%; background: rgba(12, 42, 27, 0.18); transform: scale(0); animation: ripple 0.6s var(--ease) forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ------------------------------------------------------------ lists, notes, status */
.plain { list-style: none; padding: 0; margin: 8px 0 0; }
.plain li { padding: 12px 0; border-top: 1px solid var(--line); }
.plain li:first-child { border-top: 0; }
.note { font-size: 14px; color: var(--muted); }
.agent-row { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.agent-row .who b { display: block; }
.agent-row .who span { font-size: 13px; color: var(--muted); }
.agent-row .ctl { display: flex; gap: 8px; align-items: center; }
.agent-row select, .agent-row input { flex: 1; min-width: 0; padding: 8px 10px; }
.agent-row button { width: auto; padding: 8px 14px; }
.stop-all { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px; margin: 8px 0 4px; border-radius: 12px; background: #fdecea; }
.stop-all p { margin: 0; flex: 1 1 200px; min-width: 0; font-size: 13px; color: var(--ink, #111); }
.stop-all button { flex: 0 0 auto; }
.stop-all.on { background: #fff4e5; }
button.danger { width: auto; padding: 8px 14px; background: var(--bad); color: #fff; white-space: nowrap; }
button.danger.resume { background: var(--forest); }
.agent-row.blocked .who b { color: var(--muted); text-decoration: line-through; }
.status { margin-top: 12px; font-size: 15px; font-weight: 600; }
.status.ok { color: var(--ok); }
.status.warn { color: var(--warn); }
.status.bad { color: var(--bad); }
.hidden { display: none !important; }

/* ------------------------------------------------------------ tabs with a sliding marker */
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft); border-radius: 999px; padding: 4px; margin: 6px 0 8px; }
.tabs .marker { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--forest); transition: transform 0.35s var(--spring), width 0.35s var(--ease); z-index: 0; }
.tabs button { position: relative; z-index: 1; margin: 0; padding: 10px 8px; background: transparent; color: var(--forest); font-weight: 700; font-size: 15px; box-shadow: none; transition: color 0.25s var(--ease); }
.tabs button:hover { background: transparent; }
.tabs button[aria-selected="true"] { color: #fff; }

/* ------------------------------------------------------------ entrance motion */
.rise { animation: rise 0.6s var(--ease) both; }
.rise.d1 { animation-delay: 0.06s; } .rise.d2 { animation-delay: 0.12s; } .rise.d3 { animation-delay: 0.18s; } .rise.d4 { animation-delay: 0.24s; } .rise.d5 { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel-in { animation: panel-in 0.4s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.flash { animation: flash 0.9s var(--ease); }
@keyframes flash { 0% { color: var(--green-2); } 100% { color: inherit; } }

/* ------------------------------------------------------------ landing */
.hero-copy { color: var(--muted); font-size: 18px; margin-bottom: 8px; }
h1 .hl { display: inline-block; background: var(--lime); color: var(--forest); padding: 0 8px; border-radius: 10px; transform: rotate(-1.5deg); }
.calc { padding: 8px; }
.calc .leg { background: var(--soft); border-radius: 18px; padding: 14px 16px; }
.calc .leg + .leg { margin-top: 8px; }
.calc .leg-head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.calc .leg-amount { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.calc input { background: transparent; padding: 0; border: 0; box-shadow: none; font-size: 34px; font-weight: 900; font-variation-settings: "wdth" 85; }
.calc input:focus { box-shadow: none; background: transparent; }
.calc .out { font-size: 34px; font-weight: 900; font-variation-settings: "wdth" 85; font-variant-numeric: tabular-nums; }
.calc .cur { flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; background: #fff; border-radius: 999px; padding: 6px 12px 6px 6px; }
.calc .flag { width: 24px; height: 24px; border-radius: 50%; display: inline-block; }
.flag.ng { background: linear-gradient(90deg, #008751 0 33.3%, #fff 33.3% 66.6%, #008751 66.6%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.flag.us { background: #26a17b; position: relative; }
.flag.us::after { content: "₮"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 14px; }
.calc .lines { margin: 12px 6px 0; padding: 0; list-style: none; font-size: 15px; }
.calc .lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.calc .lines li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.calc .rail { position: relative; padding-left: 22px; }
.calc .rail::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.calc .rail li::before { content: ""; position: absolute; left: 3px; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green); }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.fact { background: var(--soft); border-radius: 20px; padding: 16px; }
.fact b { display: block; font-size: 26px; font-weight: 900; font-variation-settings: "wdth" 85; font-variant-numeric: tabular-nums; color: var(--forest); line-height: 1.1; }
.fact span { font-size: 13px; color: var(--muted); }
.fact.wide { grid-column: span 2; }
.fact.dark { background: var(--forest); color: #fff; background-image: radial-gradient(100% 120% at 100% 0%, rgba(198, 243, 107, 0.22) 0%, rgba(198, 243, 107, 0) 60%); }
.fact.dark b { color: var(--lime); }
.fact.dark span { color: rgba(255, 255, 255, 0.75); }
.how { counter-reset: how; list-style: none; padding: 0; margin: 0; }
.how li { position: relative; padding: 14px 0 14px 46px; border-top: 1px solid var(--line); }
.how li:first-child { border-top: 0; }
.how li::before { counter-increment: how; content: counter(how); position: absolute; left: 0; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--forest); color: var(--lime); display: grid; place-items: center; font-weight: 900; font-size: 15px; }
.how b { display: block; }

/* ------------------------------------------------------------ the agent at work */
.agent { overflow: hidden; }
.agent-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.agent-id { display: flex; align-items: center; gap: 10px; }
.agent-id .avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--forest); display: grid; place-items: center; position: relative; }
.agent-id .avatar::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198, 243, 107, 0.7); animation: think 1.4s ease-in-out infinite; }
.agent.done .agent-id .avatar::after { animation: none; }
@keyframes think { 0%, 100% { transform: scale(0.75); box-shadow: 0 0 0 0 rgba(198, 243, 107, 0.6); } 50% { transform: scale(1); box-shadow: 0 0 0 8px rgba(198, 243, 107, 0); } }
.agent-id b { display: block; font-size: 16px; line-height: 1.2; }
.agent-id small { color: var(--muted); font-size: 13px; }
.clock { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--forest); background: var(--soft); border-radius: 999px; padding: 4px 10px; font-size: 14px; }
.progress { height: 4px; background: var(--soft); border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--lime)); border-radius: 4px; transition: width 0.6s var(--ease); }
.agent-lines { list-style: none; margin: 0; padding: 0; position: relative; }
.agent-lines li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 9px 0; font-size: 15px; line-height: 1.4; animation: line-in 0.45s var(--ease) both; }
.agent-lines li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 33px; bottom: -6px; width: 2px; background: var(--line); }
.agent-lines li.ok:not(:last-child)::after { background: linear-gradient(var(--green), var(--line)); animation: grow 0.5s var(--ease) both; transform-origin: top; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.agent-lines .mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0; }
.agent-lines li.ok > .mark { background: var(--lime-2); }
.agent-lines li.ok > .mark::before { content: ""; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: translateY(-2px) rotate(-45deg) scale(0); animation: tick 0.35s 0.12s var(--spring) forwards; }
@keyframes tick { to { transform: translateY(-2px) rotate(-45deg) scale(1); } }
.agent-lines li.bad > .mark { background: #fde8e7; }
.agent-lines li.bad > .mark::before { content: "×"; font-size: 20px; font-weight: 900; color: var(--bad); line-height: 1; }
.agent-lines li.work > .mark { background: var(--soft); }
.agent-lines li.work > .mark::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--green); border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.agent-lines li.work { color: var(--forest); font-weight: 600; }
.agent-lines li.final { font-weight: 800; }
.agent-lines li.final.bad { color: var(--warn); }
.agent-lines li.final.bad > .mark { background: #fff3dc; }
.agent-lines li.final.bad > .mark::before { content: "!"; font-size: 16px; color: var(--warn); }
@keyframes line-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* The payout lands. */
.landed { display: none; text-align: center; padding: 18px 8px 6px; }
.agent.paid .landed { display: block; animation: rise 0.6s var(--ease) both; }
.landed .seal { position: relative; width: 84px; height: 84px; margin: 0 auto 12px; }
.landed .seal svg { width: 84px; height: 84px; }
.landed .seal circle { fill: var(--lime); transform-origin: center; animation: pop 0.5s var(--spring) both; }
.landed .seal path { fill: none; stroke: var(--forest); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.5s 0.35s var(--ease) forwards; }
.landed .seal::before, .landed .seal::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--lime); opacity: 0; animation: ring 1.1s 0.2s var(--ease) forwards; }
.landed .seal::after { animation-delay: 0.45s; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.landed .big { font-size: 44px; font-weight: 900; font-variation-settings: "wdth" 85; color: var(--forest); font-variant-numeric: tabular-nums; line-height: 1; }
.landed p { margin: 8px 0 0; color: var(--muted); }
.landed .kept { display: inline-block; margin-top: 12px; background: var(--forest); color: var(--lime); font-weight: 800; border-radius: 999px; padding: 8px 14px; font-size: 14px; }

details.checks { margin-top: 8px; }
details.checks summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--green); list-style: none; }
details.checks summary::-webkit-details-marker { display: none; }
details.checks summary::after { content: " ↓"; }
details.checks[open] summary::after { content: " ↑"; }
details.checks .agent-lines li { font-size: 14px; animation: none; }
details.checks .agent-lines li > .mark::before { animation: none; transform: translateY(-2px) rotate(-45deg) scale(1); }

/* ------------------------------------------------------------ my loans */
.loan { display: grid; gap: 4px; }
.loan .amt { font-size: 22px; font-weight: 900; font-variation-settings: "wdth" 85; color: var(--forest); }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; background: var(--soft); color: var(--forest); }
.tag.active { background: var(--lime); }
.tag.closed { background: var(--forest); color: var(--lime); }
.tag.rejected, .tag.cancelled { background: #fff3dc; color: var(--warn); }

/* ------------------------------------------------------------ proof page */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 18px 0; }
.stats div { background: var(--soft); border-radius: 20px; padding: 16px; }
.stats b { display: block; font-size: 30px; font-weight: 900; font-variation-settings: "wdth" 85; font-variant-numeric: tabular-nums; color: var(--forest); }
.stats span { color: var(--muted); font-size: 14px; }
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.2s var(--ease); }
tbody tr:hover { background: var(--soft); }
th { color: var(--muted); font-weight: 700; white-space: nowrap; background: var(--soft); }
table.kv { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
table.kv th { width: 230px; }
body.proof h1 { font-size: clamp(36px, 6vw, 64px); }
@media (max-width: 640px) {
  table.kv th, table.kv td { display: block; width: auto; border: 0; padding: 2px 12px; }
  table.kv tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
}

/* ------------------------------------------------------------ wide screens: headline beside the calculator */
@media (min-width: 900px) {
  main:has(#connect:not(.hidden)) { max-width: 1120px; padding-top: 20px; }
  #connect { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 56px; align-items: center; min-height: 72vh; }
  #connect h1 { font-size: clamp(64px, 6.6vw, 96px); }
  #connect .hero-copy { font-size: 20px; max-width: 520px; }
  #connect .facts { grid-column: 1 / -1; grid-template-columns: 1fr 1fr 2fr; }
  #connect .fact.wide { grid-column: auto; }
  #connect-proof { text-align: center; }
  body:has(#connect:not(.hidden)) {
    background: radial-gradient(70% 60% at 100% 0%, rgba(198, 243, 107, 0.28) 0%, rgba(198, 243, 107, 0) 60%),
      radial-gradient(50% 50% at 0% 100%, rgba(0, 135, 81, 0.10) 0%, rgba(0, 135, 81, 0) 70%), var(--paper);
    background-attachment: fixed;
  }
  .calc { box-shadow: 0 30px 60px -30px rgba(12, 42, 27, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; }
}

/* agent page */
.agent-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 22px 0 8px; }
.agent-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.agent-card h3 { margin: 22px 0 4px; font-size: 18px; }
.pill i.idle { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); margin-right: 8px; }
.use { margin: 10px 0; }
.use-top { display: flex; justify-content: space-between; gap: 10px; font-variant-numeric: tabular-nums; }
.use-top span { color: var(--muted); }
.bar { height: 10px; background: var(--soft); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-2)); border-radius: 99px; transition: width 0.8s ease; }
.powers { margin: 6px 0 0; padding-left: 20px; line-height: 1.6; }
.stars { color: var(--green); letter-spacing: 2px; }
tr:target td { background: var(--lime-2); }

/* rate the agent after a closed loan */
.rate-agent { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-top: 8px; }
.rate-agent .muted { flex-basis: 100%; margin-bottom: 2px; font-size: 14px; }
.rate-agent .star { background: none; border: 0; padding: 2px 3px; font-size: 26px; line-height: 1; color: var(--line); cursor: pointer; box-shadow: none; min-height: 0; width: auto; transition: transform 0.12s ease, color 0.12s ease; }
.rate-agent:hover .star { color: var(--green); }
.rate-agent .star:hover ~ .star { color: var(--line); }
.rate-agent .star:hover { transform: scale(1.2); }
.rate-agent .star:disabled { cursor: wait; opacity: 0.6; }
.rate-agent .note { flex-basis: 100%; }
.paid { margin: 12px 0 20px; border: 2px solid var(--forest); }
.paid .balance { margin: 4px 0 8px; }
.to-dollars { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); }
.to-dollars p { margin: 0 0 8px; font-size: 14px; }
.to-dollars button { width: 100%; }
.share { margin-top: 14px; }
.share p { font-size: 14px; margin: 0 0 8px; }
