:root { --bg: #050607; --s1: #0d0f11; --s2: #15181b; --s3: #1d2125; --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .16); --text: #f1f3f5; --muted: rgba(241, 243, 245, .56); --white: #f4f6f8; --up: #3ce3ab; --down: #f23674; --head: "Funnel Display", "Albert Sans", Arial, sans-serif; --font: "Albert Sans", Inter, Arial, sans-serif; --mono: "Azeret Mono", ui-monospace, monospace; --r: 4px }
* { box-sizing: border-box; margin: 0; padding: 0 }
[hidden] { display: none !important }
html { background: var(--bg); color-scheme: dark } body { background: var(--bg); color: var(--text); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; min-height: 100vh }
a { color: inherit; text-decoration: none; cursor: pointer } button, input, textarea { font: inherit; color: inherit } button { cursor: pointer; border: 0; background: none } em, i { font-style: normal }
.muted { color: var(--muted) } .mono { font-family: var(--mono) }
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent }
.btn { height: 40px; padding: 0 16px; border-radius: var(--r); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line2); transition: opacity .15s, background .15s }
.btn.white { background: var(--white); color: #050607; border-color: transparent } .btn.white:hover { opacity: .88 } .btn[disabled] { opacity: .35; cursor: not-allowed }
.btn.wire:hover:not([disabled]) { background: rgba(255,255,255,.05) } .btn.wide { width: 100%; margin-top: 10px; height: 46px }
.top { position: sticky; top: 0; z-index: 10; height: 62px; display: flex; align-items: center; gap: 28px; padding: 0 20px; background: rgba(5,6,7,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) }
.logo { display: flex; align-items: center; gap: 9px; font: 600 19px var(--head); letter-spacing: -.02em } .logo img { width: 26px; height: 26px; object-fit: contain } .logo span { transform: translateY(-1px) }
.top nav { display: flex; gap: 2px } .top nav a { height: 34px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: var(--r); color: var(--muted); font-weight: 500 } .top nav a.on { color: var(--text); background: var(--s2) } .top nav a:hover { color: var(--text) }
.top .right { margin-left: auto; display: flex; gap: 8px; align-items: center }
.net { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; border-radius: var(--r); border: 1px solid var(--line); color: var(--muted); font-size: 13px } .net img { width: 16px; height: 16px }

.layout { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 12px; padding: 12px; max-width: 1480px; margin: 0 auto; align-items: start }
.panel { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r) }
.form { padding: 20px }
.step { display: flex; align-items: center; gap: 10px; margin: 26px 0 10px } .step:first-child { margin-top: 0 } .step b { font: 400 22px var(--head); letter-spacing: -.02em }
.step .n { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 50%; font: 12px var(--mono); color: var(--muted) }
.pick { width: 100%; height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); text-align: left } .pick:hover { border-color: var(--line2) }
.pick img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--s3) } .pick b { font-size: 15px } .pick small { margin-left: auto; color: var(--muted); font: 12px var(--mono) }
.car { width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-3px); margin-left: 6px }
.menu { margin-top: 6px; border: 1px solid var(--line2); border-radius: var(--r); background: var(--s2); overflow: hidden }
.menu input { width: 100%; height: 42px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--line); background: none; outline: none }
#menuList { max-height: 300px; overflow: auto } #menuList a { display: flex; align-items: center; gap: 10px; padding: 9px 12px } #menuList a:hover { background: var(--s3) }
#menuList img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--s3) } #menuList b { display: block } #menuList small { display: block; color: var(--muted); font-size: 11px } #menuList .h { margin-left: auto; text-align: right; font: 12px var(--mono); color: var(--muted) }
.prog { height: 3px; background: var(--s3); margin-top: 10px; overflow: hidden } .prog i { display: block; height: 100%; width: 0; background: var(--white); transition: width .3s }
.hint { margin-top: 8px; color: var(--muted); font-size: 12px }
.f { display: block; margin-top: 12px } .f > span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px }
.f > input, .f textarea, .in { width: 100%; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); outline: none } .f > input { height: 44px; padding: 0 12px; font: 13px var(--mono) } .f textarea { padding: 10px 12px; font: 12px var(--mono); resize: vertical }
.f > input:focus, .f textarea:focus, .in:focus-within { border-color: rgba(255,255,255,.4) }
.in { height: 50px; display: flex; align-items: center; padding-right: 12px } .in input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0; background: none; outline: none; font: 400 20px var(--mono) } .unit { color: var(--muted); font: 13px var(--mono) }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line) } .seg a { flex: 1; height: 34px; display: flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 3px; color: var(--muted); font-weight: 500; white-space: nowrap } .seg a.on { background: var(--s3); color: var(--text) }
.tog { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; cursor: pointer } .tog input { display: none }
.tog .sw { width: 40px; height: 22px; border-radius: 999px; background: var(--s3); position: relative; flex: none; transition: background .2s; margin-top: 1px } .tog .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s }
.tog input:checked + .sw { background: #5d6470 } .tog input:checked + .sw::after { transform: translateX(18px) }
.tog b { display: block; font-weight: 600 } .tog small { display: block; color: var(--muted); font-size: 12px }
.go { width: 100%; height: 52px; margin-top: 18px; font-size: 15px }

.prev { position: sticky; top: 74px; max-height: calc(100vh - 86px); display: flex; flex-direction: column }
.ph { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 16px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap } .ph b { font: 400 22px var(--head) }
.thead, .rw { display: grid; grid-template-columns: 44px minmax(0, 1fr) 1fr .7fr 1fr; gap: 10px; align-items: center; padding: 0 18px }
.thead { height: 36px; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line) } .r { text-align: right }
#rows { overflow: auto } .rw { height: 44px; border-bottom: 1px solid var(--line); font: 12px var(--mono) } .rw .w { overflow: hidden; text-overflow: ellipsis } .rw.x { color: var(--muted); text-decoration: line-through } .rw .nm { color: var(--text) }
.empty { padding: 70px 20px; text-align: center; color: var(--muted) } .empty b { display: block; font: 300 26px var(--head); color: var(--text); margin-bottom: 6px } .empty .btn { margin-top: 16px }

.log { max-width: 980px; margin: 0 auto; padding: 40px 20px 80px } .lh { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px } .lh h1 { font: 300 40px var(--head); letter-spacing: -.03em } .lh .seg { width: 240px }
.drop { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line) } .drop:first-child { border-top: 1px solid var(--line) }
.drop img { width: 42px; height: 42px; border-radius: 50%; background: var(--s2); object-fit: cover } .drop b { font-size: 16px } .drop b span { font-family: var(--mono); font-weight: 400 } .drop p { color: var(--muted); font-size: 13px } .drop time { color: var(--muted); font: 12px var(--mono) }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; background: var(--s2); border: 1px solid var(--line2); border-radius: var(--r); padding: 12px 18px; z-index: 40; transition: .25s; pointer-events: none; max-width: 92vw } .toast.on { opacity: 1; transform: translate(-50%, 0) } .toast.bad { border-color: rgba(242,54,116,.6) }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr } .prev { position: static; max-height: 640px } .top nav, .net { display: none } }
@media (max-width: 520px) { .thead, .rw { grid-template-columns: 34px 1fr 1fr; } .thead span:nth-child(3), .rw span:nth-child(3), .thead span:nth-child(4), .rw span:nth-child(4) { display: none } .row2 { grid-template-columns: 1fr } }
