/* Niyat Biznes door. Prefix bz-. Tokens only. */
.bz-wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; display: grid; grid-template-columns: 190px 390px minmax(260px, 340px); justify-content: center; gap: clamp(24px, 4vw, 64px); align-items: start; }
.bz-rail { position: sticky; top: 104px; display: grid; gap: 18px; }
.bz-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bz-rail li { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 600; color: var(--label-3); padding: 7px 0; letter-spacing: -0.01em; }
.bz-rail li span { width: 28px; height: 28px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--fill); font-size: 13px; font-weight: 700; color: var(--label-2); }
.bz-rail li span .i { width: 15px; height: 15px; }
.bz-rail li.done { color: var(--label-2); }
.bz-rail li.done span { background: rgba(var(--green-rgb), .18); color: var(--green); }
.bz-rail li.cur { color: var(--ink); }
.bz-rail li.cur span { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 20px -8px rgba(var(--brand-rgb), .8); }
html[data-theme="light"] .bz-rail li.done span { color: var(--green-deep); }

/* phone */
.bz-phone { position: relative; width: 390px; height: min(800px, calc(100dvh - 118px)); min-height: 620px; border-radius: 52px; padding: 12px; background: var(--night-3); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 0 80px -30px rgba(var(--brand-rgb), .5); display: flex; flex-direction: column; overflow: hidden; }
.bz-phone::before { content: ""; position: absolute; inset: 12px; border-radius: 40px; background: radial-gradient(70% 40% at 15% 0%, rgba(var(--brand-rgb), .22), transparent 70%), radial-gradient(70% 36% at 95% 22%, rgba(var(--green-rgb), .14), transparent 70%), var(--bg); }
.bz-status { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 11px 28px 4px; font-size: 13px; font-weight: 700; color: var(--ink); }
.bz-notch { position: absolute; left: 50%; top: 9px; translate: -50% 0; width: 96px; height: 26px; border-radius: 16px; background: var(--night); }
.bz-scr { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none; }
.bz-scr::-webkit-scrollbar { display: none; }
.bz-scr > * { flex: none; }
.bz-tabs { position: relative; flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px 14px; box-shadow: inset 0 1px 0 var(--sep); }
.bz-tabs a { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border-radius: 14px; font-size: 11.5px; font-weight: 600; color: var(--label-3); text-decoration: none; }
.bz-tabs a .i { width: 21px; height: 21px; }
.bz-tabs a[aria-current="page"] { color: var(--brand-ink); }

/* feed */
.bz-feed { position: sticky; top: 104px; display: grid; gap: 14px; min-width: 0; }
.bz-j { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.bz-j li { display: grid; gap: 3px; padding: 10px 0; font-size: 14px; color: var(--ink-soft); box-shadow: inset 0 1px 0 var(--sep); }
.bz-j .bz-mono { color: var(--label-3); }
.bz-mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12px; color: var(--label-2); }

/* pieces */
.bz-dim { color: var(--label-2); font-size: 14px; }
.bz-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bz-mt { margin-top: 12px; }
.bz-center { text-align: center; }
.bz-card { padding: 15px 16px; border-radius: var(--r-md); background: var(--card-fill); box-shadow: var(--card-rims), var(--card-shadow); min-width: 0; }
.bz-card h3 { font-size: 16px; letter-spacing: -0.02em; }
.bz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bz-two .ny-kpi b { font-size: 24px; }
.bz-two .ny-kpi span { font-size: 13px; }
.bz-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bz-top b { font-size: 17px; letter-spacing: -0.02em; text-align: center; }
.bz-ib { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--fill); color: var(--ink); }
.bz-ib:active { transform: scale(.9); }
.bz-ib .i { width: 18px; height: 18px; }
.bz-ib-s { width: 38px; flex: none; }
.bz-hello { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bz-hello h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-top: 2px; }
.bz-on { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--fill); }
.bz-ban { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(229, 72, 77, .16); color: var(--ink); font-size: 14px; }
.bz-ban .i { width: 20px; height: 20px; color: var(--danger); flex: none; margin-top: 1px; }
.bz-ban p { font-size: 13px; color: var(--label-2); }
.bz-mand-t { display: block; margin-top: 6px; font-size: 16px; letter-spacing: -0.015em; }
.bz-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.bz-tiers span { display: grid; gap: 1px; padding: 8px 10px; border-radius: 12px; background: var(--fill); font-size: 12.5px; color: var(--label-2); }
.bz-tiers b { font-size: 14px; color: var(--ink); }
.bz-micwrap { display: grid; justify-items: center; gap: 10px; padding: 12px 0 6px; }
.bz-mic { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: var(--on-brand); background: linear-gradient(150deg, #36CDFB, #0ABCF3 60%, #07E7B7); box-shadow: 0 18px 40px -12px rgba(var(--brand-rgb), .85), 0 0 0 10px rgba(var(--brand-rgb), .1), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform var(--t-fast) ease; }
.bz-mic:active { transform: scale(.94); }
.bz-mic .i { width: 36px; height: 36px; }
.bz-input { display: flex; gap: 8px; align-items: center; padding: 5px 5px 5px 16px; border-radius: 99px; background: var(--bg-sunk); }
.bz-input input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; outline: 0; padding: 8px 0; }
.bz-input input::placeholder { color: var(--label-3); }
.bz-send { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink-fill); color: var(--on-ink); }
.bz-send .i { width: 17px; height: 17px; }
.bz-sugs { display: grid; gap: 7px; }
.bz-sug { text-align: left; padding: 10px 14px; border-radius: 14px; background: var(--fill); color: var(--ink-soft); font-size: 14px; line-height: 1.3; transition: background-color var(--t-fast) ease; }
.bz-sug:active { background: var(--fill-2); }
.bz-listen { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: var(--bg); }
.bz-wave { display: flex; align-items: center; gap: 4px; height: 72px; }
.bz-wave i { width: 5px; height: 100%; border-radius: 4px; background: linear-gradient(180deg, #0ABCF3, #07E7B7); animation: bz-w 1s ease-in-out infinite alternate; transform: scaleY(.2); }
@keyframes bz-w { to { transform: scaleY(1); } }
.bz-tr { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; min-height: 3.2em; color: var(--ink); line-height: 1.3; }
.bz-form { display: grid; gap: 14px; }
.bz-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bz-field > span { font-size: 14px; font-weight: 600; color: var(--label-2); }
.bz-field .stepper button { width: 38px; }
.bz-field .stepper output { min-width: 94px; font-size: 14px; }
.bz-group { display: grid; gap: 8px; }
.bz-lab { font-size: 14px; font-weight: 600; color: var(--label-2); }
.bz-opts { gap: 6px; }
.bz-opts .chip { padding: 8px 13px; font-size: 14px; }
.bz-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 2px 4px; }
.bz-sum span { color: var(--label-2); font-size: 14px; }
.bz-sum b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.bz-rules { display: grid; gap: 2px; padding: 8px 14px; }
.bz-rule { display: flex; gap: 12px; align-items: center; padding: 9px 0; }
.bz-rule + .bz-rule { box-shadow: inset 0 1px 0 var(--sep); }
.bz-rule-i { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--fill); }
.bz-rule-i .i { width: 15px; height: 15px; }
.bz-rule b { font-size: 14.5px; }
.bz-rule p { font-size: 13px; color: var(--label-2); line-height: 1.3; }
.bz-rule.is-wait { opacity: .5; }
.bz-rule.is-ok .bz-rule-i { background: rgba(var(--green-rgb), .2); color: var(--green); }
.bz-rule.is-bad .bz-rule-i { background: rgba(229, 72, 77, .2); color: var(--danger); }
html[data-theme="light"] .bz-rule.is-ok .bz-rule-i { color: var(--green-deep); }
.bz-rule.is-new .bz-rule-i { animation: bz-pop .42s var(--spring); }
@keyframes bz-pop { from { transform: scale(.4); } to { transform: none; } }
.bz-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--fill-2); border-top-color: var(--brand); animation: bz-sp .8s linear infinite; }
@keyframes bz-sp { to { transform: rotate(360deg); } }
.bz-verd { display: grid; gap: 3px; }
.bz-verd b { font-size: 16px; letter-spacing: -0.015em; }
.bz-mid { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 22px 8px; }
.bz-mid h2 { font-size: 23px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.bz-ringw { position: relative; width: 190px; margin: 6px auto 0; }
.bz-ringsvg { width: 100%; display: block; transform: rotate(-90deg); }
.bz-ring-bg, .bz-ring { fill: none; stroke-width: 9; }
.bz-ring-bg { stroke: var(--fill); }
.bz-ring { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 440; transition: stroke-dashoffset 1s linear; }
.bz-ring-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.bz-ring-c b { font-size: 56px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.bz-ring-c span { color: var(--label-2); font-size: 13px; }
.bz-price { display: grid; justify-items: start; gap: 4px; }
.bz-price b { font-size: 38px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; }
.bz-why { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; gap: 8px; }
.bz-why li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.32; }
.bz-why .i { width: 16px; height: 16px; flex: none; color: var(--brand); margin-top: 1px; }
.bz-leg { display: flex; gap: 14px; font-size: 12.5px; color: var(--label-2); margin-top: 2px; }
.bz-leg span { display: inline-flex; align-items: center; gap: 6px; }
.bz-leg i { width: 14px; height: 3px; border-radius: 3px; }
.bz-leg i.is-a { background: var(--brand); }
.bz-leg i.is-b { background: var(--green); }
.bz-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--label-2); box-shadow: inset 0 1px 0 var(--sep); }
.bz-card h3 + .bz-row { margin-top: 8px; }
.bz-row b { color: var(--ink); font-weight: 600; text-align: right; }
.bz-row.is-ok b { color: var(--green); }
html[data-theme="light"] .bz-row.is-ok b { color: var(--green-deep); }
.bz-row.is-tot { font-size: 16px; color: var(--ink); font-weight: 700; }
.bz-row.is-tot b { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.bz-scan { display: grid; justify-items: center; gap: 8px; padding: 6px; font-size: 14px; }
.bz-scan-f { position: relative; width: 130px; height: 130px; border-radius: 34px; display: grid; place-items: center; background: var(--fill); overflow: hidden; }
.bz-scan-f > .i { width: 66px; height: 66px; color: var(--brand); }
.bz-scan.is-done .bz-scan-f { background: rgba(var(--green-rgb), .2); }
.bz-scan.is-done .bz-scan-f > .i { color: var(--green); }
.bz-scan-l { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--green); box-shadow: 0 0 16px 4px rgba(var(--green-rgb), .6); opacity: 0; }
.bz-scan.is-on .bz-scan-l { opacity: 1; animation: bz-sc 1.1s ease-in-out infinite alternate; }
@keyframes bz-sc { to { transform: translateY(128px); } }
.bz-list { display: grid; gap: 10px; }
.bz-deal { display: flex; justify-content: space-between; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 14px 15px; border-radius: var(--r-md); background: var(--card-fill); box-shadow: var(--card-rims), var(--card-shadow); color: var(--ink); }
.bz-deal:active { transform: scale(.985); }
.bz-deal-t, .bz-deal-r { display: grid; gap: 4px; }
.bz-deal-t b, .bz-deal-r b { font-size: 15px; letter-spacing: -0.015em; }
.bz-deal-r { justify-items: end; }
.bz-deal-r .tag { font-size: 12px; padding: 3px 9px; }
.bz-tl { display: grid; }
.bz-tl-r { position: relative; display: flex; gap: 12px; padding: 10px 0; }
.bz-tl-r:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 46px; bottom: -6px; width: 2px; background: var(--fill-2); }
.bz-tl-r.done:not(:last-child)::after { background: linear-gradient(180deg, #0ABCF3, #07E7B7); }
.bz-tl-i { width: 34px; height: 34px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--fill); color: var(--label-2); }
.bz-tl-i .i { width: 17px; height: 17px; }
.bz-tl-r.done .bz-tl-i { background: rgba(var(--green-rgb), .2); color: var(--green); }
.bz-tl-r.cur .bz-tl-i { background: var(--brand); color: var(--on-brand); }
html[data-theme="light"] .bz-tl-r.done .bz-tl-i { color: var(--green-deep); }
.bz-tl-r b { font-size: 15px; letter-spacing: -0.015em; }
.bz-tl-r p { font-size: 13px; color: var(--label-2); }
.bz-tl-r:not(.done):not(.cur) { opacity: .55; }
.bz-tog { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; color: var(--ink); }
.bz-tog-t { display: grid; gap: 2px; }
.bz-tog-t b { font-size: 16px; }
.bz-corr { margin-top: 4px; }
.bz-corr b { font-size: 19px; font-weight: 800; letter-spacing: -0.025em; }
.bz-pool { display: grid; gap: 9px; }
.bz-pool .bz-between.bz-dim { font-size: 13px; }
.bz-save { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--green); }
.bz-save .i { width: 17px; height: 17px; }
html[data-theme="light"] .bz-save { color: var(--green-deep); }
html[data-door="biznes"] .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }

@media (max-width: 1240px) { .bz-wrap { grid-template-columns: 170px 390px minmax(220px, 300px); gap: 22px; } }
@media (max-width: 1040px) { .bz-wrap { grid-template-columns: 390px minmax(220px, 320px); } .bz-rail { display: none; } }
@media (max-width: 860px) {
  .bz-wrap { width: 100%; display: block; }
  .bz-feed, .bz-status { display: none; }
  .bz-phone { width: 100%; height: auto; min-height: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; overflow: visible; }
  .bz-phone::before { display: none; }
  .bz-scr { padding: 0 16px 96px; overflow: visible; }
  .bz-tabs { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 5px; border-radius: 22px; background: var(--bg-elev); box-shadow: var(--card-rims), 0 16px 40px -14px rgba(0, 0, 0, .6); }
  .bz-listen { position: fixed; z-index: 60; }
}
