/* Umwelt tools: mining energy-mix estimate (.en-*) and the CO2 footprint chat (.co-*). Light natural theme, scoped to .env. */
.env .en-mod, .env .co-mod { position: relative; border-radius: 26px; padding: clamp(18px, 3vw, 34px); border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(236, 248, 240, .86)); box-shadow: var(--card-sh), 0 30px 70px rgba(24, 90, 70, .1); backdrop-filter: blur(8px); color: var(--text); scroll-margin-top: 90px; }
.env .en-mod::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: 26px 26px 0 0; background: linear-gradient(90deg, #139aa8, #2f9e5b 38%, #a5cf3c 56%, #e6b422 70%, #8e9ca3 82%, #3a4448); opacity: .85; }
.en-head { display: flex; gap: 22px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.en-head h3 { font: 800 clamp(24px, 3.2vw, 34px)/1.15 var(--sans); margin: 4px 0 8px; color: var(--text); letter-spacing: -.01em; }
.en-lead { max-width: 62ch; color: var(--muted); margin: 0; line-height: 1.55; }
.en-side { display: grid; gap: 10px; justify-items: end; }
.en-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; font: 800 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #5a3300; background: linear-gradient(180deg, #ffe0a3, #ffc766); border: 1px solid #e3962a; box-shadow: 0 6px 16px rgba(247, 147, 26, .25); }
.en-badge i { width: 8px; height: 8px; border-radius: 50%; background: #c26a00; box-shadow: 0 0 0 0 rgba(194, 106, 0, .5); animation: en-pulse 2.4s ease-out infinite; }
@keyframes en-pulse { 70%, 100% { box-shadow: 0 0 0 9px rgba(194, 106, 0, 0); } }
.en-how { font-size: 13px; padding: 8px 14px; }

.en-top { display: grid; grid-template-columns: minmax(230px, 320px) 1fr; gap: clamp(18px, 4vw, 48px); align-items: center; margin-top: 26px; }
.en-donut { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1; margin: 0 auto; }
.en-dn { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 12px 22px rgba(24, 90, 70, .18)); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), opacity .8s; }
.en-mod.pre .en-dn { transform: rotate(-70deg) scale(.9); opacity: 0; }
.dn-seg { transition: opacity .2s, stroke-width .2s; cursor: default; }
.en-mod.hl .dn-seg:not(.hot) { opacity: .28; } .dn-seg.hot { stroke-width: 31; }
.en-ctr { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; pointer-events: none; }
.en-pct { font: 800 clamp(38px, 6vw, 56px)/1 var(--sans); color: var(--text); letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .en-pct small { font-size: .5em; margin-left: 2px; color: var(--leaf-d); }
.en-cl { font: 700 13px var(--sans); color: var(--leaf-d); text-transform: uppercase; letter-spacing: .1em; }
.en-rg { font: 600 12px var(--mono); color: var(--muted); }
.lg-groups { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-bottom: 14px; font-size: 14px; color: var(--soft); }
.lg-groups span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(28, 98, 74, .2); }
.lg-groups i { width: 10px; height: 10px; border-radius: 50%; } .lg-groups b { color: var(--text); font-variant-numeric: tabular-nums; }
.lg-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lg-rows li { display: grid; grid-template-columns: 12px minmax(100px, 150px) 1fr 54px; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: 14px; color: var(--soft); transition: background .2s, opacity .2s; }
.lg-rows li:hover, .lg-rows li.hot { background: rgba(47, 158, 91, .1); }
.en-mod.hl .lg-rows li:not(.hot) { opacity: .5; }
.lg-rows li > i { width: 12px; height: 12px; border-radius: 4px; }
.lg-rows b { text-align: right; color: var(--text); font: 700 14px var(--mono); }
.lg-b { height: 8px; border-radius: 99px; background: rgba(28, 98, 74, .1); overflow: hidden; }
.lg-b u { display: block; height: 100%; width: var(--w); border-radius: 99px; transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) .15s; }
.en-mod.pre .lg-b u { transform: scaleX(0); }

.en-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 0; }
.en-stats > div { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(28, 98, 74, .16); display: grid; gap: 2px; align-content: start; }
.en-stats dt { font: 600 12px var(--sans); color: var(--muted); letter-spacing: .01em; } .en-stats dt .lv { font-style: normal; font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #14693f; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(47, 158, 91, .14); }
.en-stats dd { margin: 0; font: 800 clamp(22px, 3vw, 30px)/1.1 var(--sans); color: var(--text); font-variant-numeric: tabular-nums; } .en-stats dd small { font: 600 12px var(--mono); color: var(--muted); margin-left: 5px; }
.en-stats dd.rg { font: 600 12px var(--mono); color: var(--ink-or); }
.en-sn { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 10px 2px 0; max-width: 90ch; }

.en-hist, .en-cmp { margin-top: 30px; padding: 18px clamp(12px, 2vw, 22px) 14px; border-radius: 20px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(28, 98, 74, .16); }
.eh-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.eh-head b { display: block; font: 800 17px var(--sans); color: var(--text); } .eh-head small { color: var(--muted); font-size: 13px; }
.eh-chart { position: relative; min-height: 230px; }
.en-area { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.en-area .e-tick { font: 11px var(--mono); fill: var(--muted); }
.ar-p { transition: opacity .2s; } .en-hist:has(.ar-p:hover) .ar-p:not(:hover) { opacity: .75; }
.ar-cur { stroke: rgba(22, 50, 43, .6); stroke-width: 1.4; stroke-dasharray: 3 3; pointer-events: none; }
.ar-cf { font: 700 10.5px var(--mono); fill: #35504a; letter-spacing: .04em; }
.mk-l { stroke: rgba(22, 50, 43, .5); stroke-width: 1; stroke-dasharray: 2 4; }
.mk-d { stroke: #fff; stroke-width: 1.8; } .mk-d.cam { fill: var(--orange); } .mk-d.sb { fill: #1f6aa3; }
.ar-tip { position: absolute; top: 4px; z-index: 3; pointer-events: none; display: grid; gap: 3px; padding: 9px 12px; border-radius: 12px; font-size: 12.5px; background: rgba(255, 255, 255, .96); color: var(--text); border: 1px solid rgba(28, 98, 74, .3); box-shadow: 0 10px 28px rgba(24, 80, 70, .22); min-width: 190px; }
.ar-tip[hidden] { display: none; } .ar-tip b { font-variant-numeric: tabular-nums; } .ar-tip .tt { color: var(--muted); font-size: 12px; } .ar-tip .tt i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; }
.eh-key { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12.5px; color: var(--muted); margin-top: 8px; align-items: center; }
.eh-key span { display: inline-flex; align-items: center; gap: 6px; } .eh-key .hv { margin-left: auto; font-style: italic; }

.cm-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.cm-row { display: grid; grid-template-columns: minmax(180px, 290px) 1fr 74px; align-items: center; gap: 14px; }
.cm-lab b { display: block; font: 700 14px/1.25 var(--sans); color: var(--text); } .cm-lab small { font: 600 11px var(--mono); color: var(--muted); letter-spacing: .02em; }
.cm-track { position: relative; height: 22px; border-radius: 99px; background: linear-gradient(90deg, rgba(28, 98, 74, .06), rgba(28, 98, 74, .13)); }
.cm-g { position: absolute; top: 4px; bottom: 4px; width: 1px; background: rgba(28, 98, 74, .2); }
.cm-dot { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #1f6aa3; border: 2.5px solid #fff; box-shadow: 0 2px 8px rgba(22, 50, 43, .35); transition: left 1s cubic-bezier(.2, .8, .2, 1); }
.cm-row.me .cm-dot { background: var(--orange); width: 20px; height: 20px; margin: -10px 0 0 -10px; } .cm-bar { position: absolute; top: 4px; bottom: 4px; border-radius: 99px; background: linear-gradient(90deg, rgba(247, 147, 26, .35), rgba(247, 147, 26, .55)); }
.cm-row.old .cm-dot { background: #9aa5a8; } .cm-row.claim .cm-dot { background: repeating-linear-gradient(45deg, #fff 0 3px, #cdd7da 3px 6px); border: 2.5px dashed #6f7d82; box-shadow: none; }
.cm-val { font: 800 15px var(--mono); text-align: right; color: var(--text); }
.en-mod.pre .cm-dot { left: 0 !important; } .en-mod.pre .cm-bar { opacity: 0; }
.en-honest { margin: 22px 0 6px; padding: 14px 18px; border-left: 4px solid var(--orange); background: rgba(247, 147, 26, .09); border-radius: 0 14px 14px 0; color: #5b3a0c; line-height: 1.55; font-size: 14.5px; }
.en-mod .es-src { margin-top: 14px; }

/* shell for the methodology dialog */
.enm { width: min(760px, calc(100vw - 24px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: 24px; background: #f7fbf6; color: var(--text); box-shadow: 0 40px 100px rgba(8, 40, 30, .5); overflow: hidden; }
.enm::backdrop { background: rgba(8, 36, 30, .55); backdrop-filter: blur(4px); }
.enm[open] { animation: enm-in .28s cubic-bezier(.2, .8, .2, 1); } @keyframes enm-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.enm-box { position: relative; padding: clamp(20px, 4vw, 34px); max-height: min(86vh, 900px); overflow: auto; overscroll-behavior: contain; }
.enm-box h3 { font: 800 24px var(--sans); margin: 0 40px 14px 0; } .enm-box h4 { font: 800 15px var(--sans); margin: 24px 0 8px; color: var(--leaf-d); text-transform: uppercase; letter-spacing: .06em; }
.enm-x { position: sticky; top: 0; float: right; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(28, 98, 74, .3); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text); margin: -6px -6px 0 0; z-index: 2; } .enm-x:hover { background: #e5f6e9; }
.enm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .enm-steps li { padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(28, 98, 74, .15); }
.enm-steps b { font: 800 14.5px var(--sans); color: var(--text); } .enm-steps p { margin: 4px 0 0; color: var(--soft); line-height: 1.55; font-size: 14px; }
.enm-ul { margin: 0; padding-left: 20px; color: var(--soft); line-height: 1.55; font-size: 14px; display: grid; gap: 6px; }
.enm-tw { overflow-x: auto; } .enm-tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; } .enm-tbl th, .enm-tbl td { padding: 7px 10px; text-align: right; border-bottom: 1px solid rgba(28, 98, 74, .13); font-variant-numeric: tabular-nums; color: var(--soft); }
.enm-tbl th:first-child, .enm-tbl td:first-child, .enm-tbl th:last-child, .enm-tbl td:last-child { text-align: left; } .enm-tbl thead th { color: var(--muted); font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; } .enm-tbl tbody th { font-weight: 700; color: var(--text); }
html.enm-open { overflow: hidden; }

/* header chip */
.env-widget { margin-top: 16px; min-height: 0; }
.en-widget { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 10px; border-radius: 99px; cursor: pointer; border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .74); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(24, 80, 70, .16); color: var(--text); font-family: var(--sans); transition: transform .15s, box-shadow .2s; animation: ew-in .6s .2s both; }
.en-widget:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(24, 80, 70, .24); }
@keyframes ew-in { from { opacity: 0; transform: translateY(8px); } }
.ew-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #ffe39a, #ffbe4d); font-size: 17px; }
.ew-t { display: grid; text-align: left; line-height: 1.15; } .ew-t small { font-size: 11.5px; color: var(--muted); } .ew-t b { font: 800 16px var(--sans); } .ew-t em { font: 600 12px var(--sans); color: var(--leaf-d); }
.ew-e { font: 800 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; color: #5a3300; background: #ffd488; border: 1px solid #e3962a; }
.ew-go { font-size: 12.5px; color: var(--ink-or); font-weight: 700; }

@media (max-width: 860px) {
  .en-top { grid-template-columns: 1fr; } .en-donut { max-width: 270px; }
  .en-stats { grid-template-columns: 1fr 1fr; }
  .cm-row { grid-template-columns: 1fr 64px; gap: 6px 10px; } .cm-lab { grid-column: 1 / -1; } .cm-track { grid-column: 1; } .cm-val { grid-column: 2; }
  .en-side { justify-items: start; } .eh-key .hv { margin-left: 0; }
  .lg-rows li { grid-template-columns: 12px 1fr 48px; } .lg-b { display: none; }
  .ew-go { display: none; }
}
@media (max-width: 340px) { .en-stats { grid-template-columns: 1fr; } .en-widget { padding-right: 12px; } }
@media (prefers-reduced-motion: reduce) { .en-badge i { animation: none; } .en-mod.pre .en-dn, .en-mod.pre .lg-b u, .en-mod.pre .cm-dot { transition: none; transform: none; opacity: 1; left: unset; } .en-widget { animation: none; } .enm[open] { animation: none; } }
.hatch-k { width: 14px; height: 14px; border-radius: 3px; background: repeating-linear-gradient(135deg, #cfd9d6 0 3px, #fff 3px 6px); border: 1px solid rgba(28,98,74,.35); display: inline-block; }
@media (max-width: 480px) { .en-stats > div { padding: 12px; } .en-stats dd { font-size: 22px; } .en-stats dd small { display: block; margin: 0; } }
@media (max-width: 860px) { .eh-chart { margin-bottom: 142px; } .ar-tip { top: 100%; left: 0 !important; right: 0; margin-top: 6px; transform: none !important; min-width: 0; } }

/* ───────── CO₂ footprint chat (Ivy) ───────── */
.env .co-mod::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: 26px 26px 0 0; background: linear-gradient(90deg, #5fb36a, #a5cf3c 35%, #e6b422 62%, #f7931a); opacity: .9; }
.co-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.co-mod h3 { font: 800 clamp(24px, 3.2vw, 34px)/1.15 var(--sans); margin: 4px 0 10px; letter-spacing: -.01em; color: var(--text); }
.co-intro { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: clamp(16px, 4vw, 44px); align-items: center; }
.co-intro[hidden], .co-chat[hidden], .co-res[hidden] { display: none; }
.co-ivy-big { position: relative; display: grid; place-items: center; padding: 14px; border-radius: 50%; aspect-ratio: 1; background: radial-gradient(closest-side, #fff3c6 0%, rgba(207, 238, 198, .8) 62%, transparent 72%); }
.co-ivy-big .ivy { width: 78%; height: auto; }
.co-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 18px; }
.co-tags li { font: 700 12px var(--mono); letter-spacing: .02em; padding: 5px 11px; border-radius: 99px; background: rgba(95, 179, 106, .16); color: #14693f; border: 1px solid rgba(47, 143, 91, .3); }
.co-cta { display: flex; gap: 10px; flex-wrap: wrap; } .co-later { margin: 14px 0 0; color: var(--soft); font-style: italic; }

/* Ivy drawing */
.ivy { display: block; overflow: visible; width: 100%; height: auto; }
.ivy .iv-sh { fill: rgba(22, 80, 54, .18); }
.ivy .iv-body, .ivy .iv-head { transform-box: fill-box; }
.ivy { animation: iv-bob 3.6s ease-in-out infinite; transform-origin: 50% 100%; } @keyframes iv-bob { 50% { transform: translateY(-3px); } }
.ivy .iv-leaf { transform-box: fill-box; transform-origin: 50% 100%; animation: iv-sway 3s ease-in-out infinite; } @keyframes iv-sway { 50% { transform: rotate(6deg); } 0%, 100% { transform: rotate(-5deg); } }
.ivy .iv-armR { transform-box: view-box; transform-origin: 50px 78px; }
.ivy.wave .iv-armR { animation: iv-wave 1s ease-in-out infinite; } @keyframes iv-wave { 0%, 100% { transform: rotate(-75deg); } 50% { transform: rotate(-45deg); } }
.ivy .iv-eye { transform-box: fill-box; transform-origin: center; animation: iv-blink 5s infinite; } @keyframes iv-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.ivy.nod .iv-head { animation: iv-nod .5s ease; transform-origin: 50px 66px; transform-box: view-box; } @keyframes iv-nod { 40% { transform: rotate(-4deg) translateY(2px); } 70% { transform: rotate(3deg); } }
.co-mod.talk .ivy .iv-mouth { animation: iv-talk .28s steps(2) infinite; } @keyframes iv-talk { 50% { d: path("M44 51 q6 2 12 0"); } }

/* chat */
.co-bar { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(28, 98, 74, .15); }
.co-who { display: flex; align-items: center; gap: 10px; } .co-who .ivy { width: 34px; animation: none; } .co-who b { display: block; font: 800 15px var(--sans); } .co-who small { color: var(--muted); font-size: 12px; }
.co-prog { position: relative; height: 8px; border-radius: 99px; background: rgba(28, 98, 74, .12); margin: 0 6px; }
.co-prog i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, #5fb36a, #a5cf3c); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.co-sprout { position: absolute; top: 50%; left: 0; transform: translate(-50%, -62%); font-size: 18px; transition: left .6s cubic-bezier(.2, .8, .2, 1); }
.co-step { font: 600 12px var(--mono); color: var(--muted); white-space: nowrap; }
.co-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(28, 98, 74, .3); background: #fff; cursor: pointer; font-size: 17px; color: var(--soft); } .co-x:hover { background: #e5f6e9; color: var(--text); }
.co-grid { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding-top: 18px; }
.co-side { align-self: end; padding: 6px 4px 0; } .co-side .ivy { width: 130px; margin: 0 auto; }
.co-main { min-width: 0; }
.co-log { max-height: min(46vh, 430px); min-height: 170px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 2px 6px 8px 2px; scroll-behavior: smooth; }
.co-b { max-width: min(560px, 88%); padding: 11px 16px; border-radius: 18px; line-height: 1.5; font-size: 15px; }
.co-b.ivy { align-self: flex-start; background: #fff; border: 1px solid rgba(28, 98, 74, .18); border-bottom-left-radius: 5px; color: var(--text); box-shadow: 0 4px 14px rgba(24, 80, 70, .08); animation: none; height: auto; width: auto; }
.co-b.me { align-self: flex-end; background: linear-gradient(180deg, #ffbe5c, #f7931a); color: #2a1503; font-weight: 700; border-bottom-right-radius: 5px; box-shadow: 0 6px 16px rgba(247, 147, 26, .28); }
.co-b.in { animation: co-in .35s cubic-bezier(.2, .9, .3, 1.2) both; } @keyframes co-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.co-dots { display: inline-flex; gap: 5px; padding: 4px 2px; } .co-dots i { width: 7px; height: 7px; border-radius: 50%; background: #5fb36a; animation: co-dot 1s infinite; } .co-dots i:nth-child(2) { animation-delay: .15s; } .co-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes co-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.co-in { padding-top: 14px; border-top: 1px dashed rgba(28, 98, 74, .2); margin-top: 6px; min-height: 76px; }
.co-chips { display: flex; flex-wrap: wrap; gap: 10px; } .co-chip { display: inline-grid; gap: 1px; text-align: left; padding: 10px 16px; border-radius: 16px; font: inherit; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.co-chip b { font: 700 14.5px var(--sans); color: var(--text); } .co-chip small { font: 600 11.5px var(--mono); color: var(--muted); }
.co-chip:hover { background: #e5f6e9; border-color: var(--leaf); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31, 107, 67, .18); }
.co-undo { margin-top: 12px; background: none; border: 0; color: var(--muted); font: 600 13px var(--sans); cursor: pointer; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; } .co-undo:hover { color: var(--text); }
.co-cs { position: relative; max-width: 460px; }
.co-cs input { width: 100%; padding: 13px 18px; border-radius: 14px; border: 2px solid rgba(47, 143, 91, .45); font: 600 16px var(--sans); background: #fff; color: var(--text); outline: none; } .co-cs input:focus { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(95, 179, 106, .25); }
.co-cl { position: static; margin: 8px 0 0; padding: 6px; list-style: none; background: #fff; border-radius: 14px; border: 1px solid rgba(28, 98, 74, .25); box-shadow: 0 8px 22px rgba(24, 80, 70, .14); max-height: 250px; overflow: auto; }
.co-cl li { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; cursor: pointer; color: var(--text); font-weight: 600; } .co-cl li small { margin-left: auto; color: var(--muted); font: 600 12px var(--mono); }
.co-cl li:hover, .co-cl li.on { background: #e5f6e9; } .co-cl .none { color: var(--muted); cursor: default; }
.co-guess { margin-top: 10px; }
.co-sl { display: grid; gap: 8px; max-width: 520px; justify-items: start; }
.co-sv { display: flex; align-items: baseline; gap: 12px; } .co-sv b { font: 800 30px var(--sans); color: var(--text); font-variant-numeric: tabular-nums; } .co-sv small { color: var(--muted); font-size: 14px; }
.co-sl input[type=range] { width: 100%; height: 30px; background: transparent; -webkit-appearance: none; appearance: none; --p: 30%; cursor: pointer; }
.co-sl input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, #5fb36a var(--p), rgba(28, 98, 74, .15) var(--p)); }
.co-sl input[type=range]::-moz-range-track { height: 10px; border-radius: 99px; background: rgba(28, 98, 74, .15); } .co-sl input[type=range]::-moz-range-progress { height: 10px; border-radius: 99px; background: #5fb36a; }
.co-sl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid #f7931a; box-shadow: 0 3px 10px rgba(22, 50, 43, .3); }
.co-sl input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #f7931a; }
.co-se { width: 100%; display: flex; justify-content: space-between; font: 600 11.5px var(--mono); color: var(--muted); margin-top: -4px; margin-bottom: 6px; }
.co-fly { display: grid; gap: 12px; max-width: 540px; justify-items: start; }
.co-st { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid rgba(28, 98, 74, .2); } .co-st b { display: block; font: 700 15px var(--sans); } .co-st small { color: var(--muted); font-size: 12.5px; }
.co-stp { display: flex; align-items: center; gap: 12px; } .co-stp button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(47, 143, 91, .5); background: #fff; font: 700 22px/1 var(--sans); color: var(--text); cursor: pointer; } .co-stp button:hover { background: #e5f6e9; } .co-stp output { min-width: 28px; text-align: center; font: 800 24px var(--sans); font-variant-numeric: tabular-nums; }

/* result */
.co-res { display: grid; gap: 26px; }
.cr-head { display: grid; grid-template-columns: 120px 1fr; gap: 10px 26px; align-items: center; }
.cr-ivy .ivy { width: 110px; } .cr-big small { font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-d); }
.cr-n { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .cr-n span { font: 800 clamp(54px, 9vw, 96px)/1 var(--sans); letter-spacing: -.04em; color: var(--text); font-variant-numeric: tabular-nums; } .cr-n em { font: 700 18px var(--sans); font-style: normal; color: var(--soft); }
.cr-vs { margin: 4px 0 0; font: 700 17px var(--sans); } .cr-vs span { color: var(--muted); font-weight: 600; } .cr-vs.lo { color: #14693f; } .cr-vs.hi { color: #a14f00; } .cr-vs.eq { color: #1d5d8c; }
.cr-ap { margin: 4px 0 0; font: 600 12px var(--mono); color: var(--muted); }
.cr-say { grid-column: 1 / -1; max-width: none; }
.cr-sec h4, .cr-btc h4 { font: 800 18px var(--sans); margin: 0 0 6px; color: var(--text); } .co-sub { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.cr-stack { display: flex; height: 34px; border-radius: 12px; overflow: hidden; margin: 12px 0 14px; background: rgba(28, 98, 74, .1); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset; }
.cr-stack i { width: var(--w); background: var(--c); transition: width 1.1s cubic-bezier(.2, .8, .2, 1), opacity .2s; border-right: 2px solid rgba(255, 255, 255, .85); cursor: pointer; } .cr-stack i.shared { background: repeating-linear-gradient(135deg, #b3beba 0 5px, #dfe5e2 5px 10px); }
.co-mod.pre .cr-stack i { width: 0; } .co-mod.pre .cr-rows u { transform: scaleX(0); }
.cr-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.cr-rows li { display: grid; grid-template-columns: 14px minmax(120px, 230px) 1fr 74px; gap: 12px; align-items: center; padding: 7px 10px; border-radius: 10px; color: var(--soft); cursor: pointer; transition: background .2s, opacity .2s; font-size: 14.5px; }
.cr-rows li > i { width: 13px; height: 13px; border-radius: 4px; background: var(--c); } .cr-rows li.shared > i { background: repeating-linear-gradient(135deg, #9aa8a4 0 3px, #dfe5e2 3px 6px); }
.cr-rows li small { display: block; color: var(--muted); font-size: 11.5px; } .cr-rows b { text-align: right; font: 700 14px var(--mono); color: var(--text); }
.rb { height: 8px; border-radius: 99px; background: rgba(28, 98, 74, .1); overflow: hidden; } .rb u { display: block; height: 100%; width: var(--w); background: var(--c); border-radius: 99px; transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) .15s; }
.cr-rows li:hover, .cr-rows li.hot { background: rgba(47, 158, 91, .1); }
.co-mod.crh .cr-stack i:not(.hot) { opacity: .35; } .co-mod.crh .cr-rows li:not(.hot) { opacity: .5; }
.cr-cmp { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.co-cr { display: grid; grid-template-columns: minmax(130px, 230px) 1fr 60px; gap: 12px; align-items: center; font-size: 14.5px; }
.co-cr .cl { display: flex; align-items: center; gap: 6px; color: var(--soft); font-weight: 600; }
.co-cr .ct { height: 22px; border-radius: 99px; background: rgba(28, 98, 74, .08); overflow: hidden; } .co-cr .ct i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #9fc9b0, #6fae8c); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.co-mod.pre .co-cr .ct i { width: 0 !important; }
.co-cr b { text-align: right; font: 700 14px var(--mono); color: var(--text); }
.co-cr.you .cl { color: var(--text); font-weight: 800; } .co-cr.you .ct { height: 30px; } .co-cr.you .ct i { background: linear-gradient(90deg, #ffbe5c, #f7931a); box-shadow: 0 6px 16px rgba(247, 147, 26, .35); } .co-cr.you b { font-size: 17px; }
.co-cr.own .ct i { background: linear-gradient(90deg, #5fb36a, #2f9e5b); } .co-cr.own .cl { color: var(--text); font-weight: 800; }
.co-cr.w .ct i { background: linear-gradient(90deg, #8ec5e8, #3d86c0); } .co-cr.tg .ct i { background: repeating-linear-gradient(135deg, #a5cf3c 0 6px, #cfe58a 6px 12px); }
.co-rm { width: 20px; height: 20px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; opacity: 0; transition: opacity .15s; } .co-cr:hover .co-rm, .co-rm:focus-visible { opacity: 1; } .co-rm:hover { background: #fde4d3; color: #a14f00; }
.cr-add { margin-top: 12px; } .cr-add select { padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(28, 98, 74, .35); background: #fff; font: 600 14px var(--sans); color: var(--text); max-width: 100%; }
.cr-near { margin: 14px 0 0; color: var(--soft); line-height: 1.55; font-size: 15px; } .co-foot { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; max-width: 80ch; }
.cr-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cr-tip { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid rgba(28, 98, 74, .18); box-shadow: 0 8px 22px rgba(24, 80, 70, .08); transition: transform .2s, box-shadow .2s; } .cr-tip:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(24, 80, 70, .16); }
.cr-tip .ti { font-size: 28px; } .cr-tip b { font: 800 16px/1.25 var(--sans); } .cr-tip p { margin: 0; color: var(--soft); font-size: 14px; line-height: 1.5; } .cr-tip em { font: 800 15px var(--mono); font-style: normal; color: #14693f; margin-top: 4px; }
.cr-btc { padding: 18px 20px; border-radius: 18px; background: rgba(255, 244, 224, .72); border: 1px solid rgba(161, 79, 0, .3); } .cr-btc[hidden] { display: none; } .cr-btc p { margin: 6px 0; color: var(--soft); line-height: 1.55; font-size: 14.5px; } .cr-btc .env-btn { margin-top: 8px; }
.cr-end { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .cr-end p { flex-basis: 100%; margin: 6px 0 0; color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .co-intro { grid-template-columns: 1fr; } .co-ivy-big { max-width: 190px; margin: 0 auto; }
  .co-grid { grid-template-columns: 1fr; } .co-side { display: none; }
  .co-bar { grid-template-columns: auto 1fr auto; } .co-step { display: none; }
  .co-b { max-width: 94%; }
  .cr-head { grid-template-columns: 1fr; } .cr-ivy { display: none; }
  .cr-rows li { grid-template-columns: 14px 1fr 64px; } .cr-rows .rb { display: none; }
  .co-cr { grid-template-columns: minmax(110px, 40%) 1fr 54px; gap: 8px; font-size: 13.5px; }
  .cr-tips { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ivy, .ivy .iv-leaf, .ivy .iv-eye, .ivy.wave .iv-armR { animation: none; } .co-b.in { animation: none; } .co-mod.pre .cr-stack i, .co-mod.pre .co-cr .ct i { transition: none; } }
.cr-btc .co-foot{max-width:none}
