/* Analytics: окно дашборда и графики сцен (пины 450-454). Префикс .pan- */
.pan-d { max-width: 760px; }
.pan-d .ui__bar { gap: 8px; }
.pan-per { display: inline-flex; margin-left: auto; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--fill); }
.pan-per span { padding: 3px 10px; border-radius: 7px; font-size: 12px; color: var(--ink-2); }
.pan-per span.on { background: var(--th); color: #fff; }
.pan-d__sub { padding: 12px 22px 0; font-size: 13px; color: var(--ink-3); }
.pan-k { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 22px 0; }
.pan-k > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.pan-k span { display: block; font-size: 12px; color: var(--ink-3); }
.pan-k b { display: block; margin-top: 6px; font-size: 24px; line-height: 1; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.pan-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; padding: 10px 22px 18px; }
.pan-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.pan-card h4 { font-size: 14px; font-weight: 600; }
.pan-card small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); }
.pan-bars { display: flex; align-items: flex-end; gap: 8px; height: 112px; margin-top: 12px; }
.pan-bars > div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; font-size: 11px; color: var(--ink-3); }
.pan-bars i { display: block; width: 100%; min-height: 4px; border-radius: 5px 5px 0 0; background: color-mix(in srgb, var(--th) 70%, #fff); }
.pan-bars .hi i { background: var(--th); }
.pan-bars .hi { color: var(--ink); }
.pan-bars em { font-style: normal; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.pan-donut { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.pan-ring { position: relative; flex: none; width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--th) 0 var(--p, 97%), #d9534f var(--p, 97%) 100%); }
.pan-ring::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--white); }
.pan-ring b { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; line-height: 1.1; }
.pan-ring b small { margin: 0; font-size: 10px; font-weight: 400; }
.pan-leg { flex: 1; min-width: 0; font-size: 13px; }
.pan-leg div { display: flex; align-items: center; gap: 6px; padding: 3px 0; }
.pan-leg i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--th); }
.pan-leg .o i { background: #d9534f; }
.pan-leg b { margin-left: auto; font-weight: 500; }
/* сцены */
.pan-cat { display: flex; align-items: flex-end; gap: 8px; height: 170px; padding: 18px 22px 12px; }
.pan-cat > div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; height: 100%; font-size: 12px; color: var(--ink-2); }
.pan-cat em { font-style: normal; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.pan-cat i { display: block; width: 100%; border-radius: 5px 5px 0 0; background: var(--cc); }
.pan-sup { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.pan-sup:last-child { border-bottom: 0; }
.pan-sup > i { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: var(--th); color: #fff; font-style: normal; font-weight: 600; }
.pan-sup b { display: block; font-weight: 500; }
.pan-sup small { color: var(--ink-3); font-size: 13px; }
.pan-sup > span { font-weight: 600; color: color-mix(in srgb, var(--th) 80%, #000); }
.pan-top { display: grid; grid-template-columns: 22px minmax(0, 1fr) 54px 54px 48px; align-items: center; gap: 10px; padding: 11px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pan-top:last-child { border-bottom: 0; }
.pan-top--h { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.pan-top span:nth-child(n+3) { text-align: right; }
.pan-top b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pan-bands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1180px) { .pan-bands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .pan-bands { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 560px) {
  .pan-d__sub, .pan-k { padding-left: 14px; padding-right: 14px; }
  .pan-k { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pan-row { grid-template-columns: 1fr; padding: 10px 14px 14px; }
  .pan-per span { padding: 3px 7px; }
  .pan-top { grid-template-columns: 16px minmax(0, 1fr) 52px 48px; padding: 10px 14px; gap: 8px; font-size: 13px; }
  .pan-top--h { font-size: 10px; letter-spacing: 0.02em; }
  .pan-top > :nth-child(3) { display: none; }
  .pan-sup { padding: 12px 14px; }
  .pan-cat { padding: 18px 14px 12px; gap: 5px; }
}

/* Пины 696-703 (Саша 22.11). */
/* 696: вместо схемы дашборд в первом экране */
.phb-hero .pah { width: 100%; max-width: 700px; }
.pah .ui__bar { flex-wrap: wrap; }
.pah .pan-k b { font-size: 26px; }
.pah .pah-g { color: var(--th); }
.pah .pan-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); padding-bottom: 12px; }
.pah .pan-leg { font-size: 12px; }
.pah-sup { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 22px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.pah-sup span { display: inline-flex; align-items: center; gap: 8px; }
.pah-sup i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--sc); color: #fff; font-style: normal; font-size: 12px; font-weight: 600; }
.pah-sup b { font-weight: 600; color: var(--ink); }
@media (max-width: 560px) { .pah .pan-per { margin-left: 0; } .pah .pan-k b { font-size: 22px; } .pah-sup { padding: 10px 14px 14px; } }
/* 699: поставщики ярче: цветные значки и полосы маржи */
.pan-sup { --sc: var(--th); }
.pan-sup > i { background: var(--sc); box-shadow: 0 6px 14px -6px var(--sc); }
.pan-sup u { display: block; height: 8px; margin-top: 8px; border-radius: 99px; background: color-mix(in srgb, var(--sc) 16%, #fff); text-decoration: none; overflow: hidden; }
.pan-sup u s { display: block; height: 100%; width: calc(var(--w) * 2.4); max-width: 100%; border-radius: 99px; background: var(--sc); text-decoration: none; }
.pan-sup > span { padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--sc) 14%, #fff); color: color-mix(in srgb, var(--sc) 78%, #000); }
/* 700: первые позиции топа ярче и выноска от окна */
.pan-top--hi { background: linear-gradient(90deg, color-mix(in srgb, #f5b43c 20%, #fff), #fff 80%); }
.pan-top--hi > span:first-child { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #f5b43c; color: #3a2600; font-weight: 700; font-size: 12px; }
.pan-top--hi > span:last-child { color: #12803f; font-weight: 700; }
.scene__vis:has(.pan-call) { position: relative; }
.pan-call { position: absolute; z-index: 3; bottom: -40px; right: 30px; max-width: 320px; padding: 12px 16px; border-radius: 14px; background: #0f1720; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; box-shadow: 0 0 0 1px rgba(255,255,255,.28), 0 16px 30px -12px rgba(0, 0, 0, .6); }
.pan-js .pan-call { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.pan-js .pan-call.is-in { opacity: 1; transform: none; }
.pan-call::after { content: ""; position: absolute; right: 40px; top: -7px; width: 16px; height: 16px; background: #0f1720; transform: rotate(45deg); border-radius: 3px; }
@media (max-width: 860px) { .pan-call { right: 8px; max-width: 260px; } }
/* 702: блок «Grow the way you sell» как на главной */
.home-who { padding-bottom: 0; margin-top: 0; padding-top: 56px; border-top: 0; }
.home-rows > a { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; }
.home-rows .tile__go { margin: 0; padding: 0; color: var(--th); white-space: nowrap; }
.home-rows__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: color-mix(in srgb, var(--th) 12%, #fff); color: var(--th); }
.home-rows__ic svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .home-rows > a { grid-template-columns: 1fr; } }
/* 701: выноска с числом заказов в плитке Orders */
.tpic__chip.tpic__chip--n { font-size: 15px; }

/* Пин 814 (Саша 22.11): дашборд в первом экране чуть ниже, верх окна на уровне заголовка, а не метки */
@media (min-width: 1181px) { .phb-hero .pah { margin-top: 56px; } }
