.ec-wrap { max-width: 1180px; }
.ec-kicker { margin: 0 0 .4rem; font: 700 .78rem/1 'JetBrains Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ec-status { margin-bottom: 2rem; border-color: rgba(251,191,36,.35); }
.ec-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.ec-pill { padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 700; border: 1px solid #3f3f46; color: var(--muted); }
.ec-pill.ok { border-color: #22c55e; color: #86efac; }
.ec-pill.wait { border-color: #fbbf24; color: #fde68a; }
.ec-pill.bad { border-color: #ef4444; color: #fca5a5; }
.ec-grid { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; }
.ec-toc { position: sticky; top: 90px; display: grid; gap: .2rem; max-height: 75vh; overflow: auto; }
.ec-toc a { color: var(--muted); text-decoration: none; font-size: .86rem; padding: .35rem .6rem; border-left: 2px solid #27272a; transition: color .2s, border-color .2s; }
.ec-toc a:hover { color: var(--gold); border-color: var(--gold); }
.ec-doc section { padding: 0 0 2.2rem; margin-bottom: 2.2rem; border-bottom: 1px solid #27272a; animation: ecIn .5s ease both; }
.ec-doc h2 { margin: 0 0 .8rem; font: 700 1.35rem/1.3 'Cinzel', serif; color: var(--gold); }
.ec-doc p { margin: 0 0 .75rem; color: var(--body); line-height: 1.75; }
.ec-doc .ec-lock { font-size: .78rem; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.ec-sign { margin-top: 1rem; }
.ec-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.ec-step { border: 1px solid #27272a; border-radius: 14px; padding: 1.2rem; }
.ec-step h3 { margin: 0 0 .4rem; font-size: 1.05rem; color: var(--ink); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ec-step h3 span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #0b0b0c; font-size: .85rem; }
.ec-step h3 em { font-style: normal; font-size: .75rem; color: var(--muted); font-weight: 600; }
.ec-check { display: flex !important; align-items: center; gap: .5rem; grid-template-columns: none; }
.ec-check input { width: auto !important; }
.ec-admin { margin-top: 2.5rem; }
.ec-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; margin: 1rem 0; }
.ec-metric { border: 1px solid #27272a; border-radius: 12px; padding: .8rem 1rem; }
.ec-metric b { display: block; font: 800 1.6rem/1.1 'Cinzel', serif; color: var(--gold); }
.ec-metric span { font-size: .8rem; color: var(--muted); }
.ec-filter select { background: #0b0b0c; color: var(--ink); border: 1px solid #3f3f46; border-radius: 8px; padding: .4rem .6rem; }
.ec-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid #27272a; font-size: .9rem; color: var(--body); }
.ec-row small { display: block; color: var(--muted); }
.ec-row .ec-acts { display: flex; gap: .4rem; flex-wrap: wrap; }
.ec-row button, .ec-row a { font-size: .8rem; padding: .35rem .7rem; border-radius: 8px; border: 1px solid #3f3f46; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; transition: border-color .2s, color .2s; }
.ec-row button:hover, .ec-row a:hover { border-color: var(--gold); color: var(--gold); }
@keyframes ecIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .ec-grid, .ec-steps { grid-template-columns: 1fr; } .ec-toc { position: static; max-height: none; } .ec-row { grid-template-columns: 1fr; } }
.ec-jump { margin-top: 1rem; display: inline-flex; }
.ec-link { color: var(--gold); font-weight: 700; }
.ec-done { color: #86efac !important; font-weight: 600; }
.ec-file { display: flex !important; align-items: center; justify-content: center; text-align: center; min-height: 64px; margin: .8rem 0; padding: .8rem; border: 1.5px dashed #52525b; border-radius: 12px; cursor: pointer; color: var(--muted); transition: border-color .2s, color .2s; }
.ec-file:hover { border-color: var(--gold); color: var(--gold); }
.ec-file input { position: absolute; width: 1px !important; height: 1px; opacity: 0; }
.ec-filter select { appearance: none; padding: .5rem 2rem .5rem .8rem; border-radius: 999px; border-color: rgba(251,191,36,.4); background: #0b0b0c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23fbbf24'/%3E%3C/svg%3E") no-repeat right .8rem center; cursor: pointer; }
.ec-row button, .ec-row a { border-radius: 999px; padding: .4rem .9rem; font-weight: 700; }
.ec-row button[data-act="approve"] { border-color: #22c55e; color: #86efac; }
.ec-row button[data-act="reject"] { border-color: #ef4444; color: #fca5a5; }
