/* Orders: карточки заказов над окном (пин 439), дашборд на цветной полосе (пин 449). Классы .por-/.pod */
.hub.por-hub { max-width: 940px; }
.por-hub .hub__in { max-width: 760px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 12px; }
.por-hub .hub__in b.por-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: auto; padding: 14px 8px 12px; border-radius: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.por-card .por-lg { height: 22px; width: auto; max-width: 78px; object-fit: contain; filter: brightness(0); opacity: 0.86; }
.por-card span { display: block; }
.por-hub .ui { margin-top: 0; }
.pod { max-width: 1000px; margin: 0 auto; }
.pod .plat-kpis { border-bottom: 1px solid var(--line); }
.pod__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pod__cols > div { padding: 8px 0 6px; border-right: 1px solid var(--line); }
.pod__cols > div:last-child { border-right: 0; }
.pod__cols h4 { padding: 14px 22px 4px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.pod .plat-hb { border-bottom: 0; }
@media (max-width: 860px) {
  .por-hub .hub__in { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-bottom: 36px; position: relative; }
  .por-hub .hub__in::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 14px; height: 14px; margin-left: -7px; border-right: 3px solid var(--th); border-bottom: 3px solid var(--th); transform: rotate(45deg); }
  .por-hub .hub__in > div > i { display: none; }
  .por-hub .hub__in b.por-card { font-size: 11px; padding: 12px 4px 10px; }
  .por-card .por-lg { height: 18px; max-width: 60px; }
  .pg .flow.flow--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 22px; }
  .pg .flow.flow--5 > div > i { display: none; }
  .pg .flow.flow--5 > div { gap: 0; padding: 10px 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .pg .flow.flow--5 b { font-size: 14px; }
  .pod .plat-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pod .plat-kpis > div:nth-child(2) { border-right: 0; }
  .pod .plat-kpis > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pod .plat-kpis b { font-size: 30px; }
  .pod__cols { grid-template-columns: 1fr; }
  .pod__cols > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .pod__cols > div:last-child { border-bottom: 0; }
  .pod .plat-hb { grid-template-columns: 92px minmax(0, 1fr) 36px; padding: 12px 18px; }
}

/* Пины 683-695 (Саша 22.11). */
/* 683: площадки слева, интерфейс с заказом справа; ленты зеркально */
.phb-hub.phb-hub--rev { grid-template-columns: 390px 40px 290px; position: relative; padding: 56px 0 76px; }
.phb-hub--rev > .phb-src { grid-column: 1; }
.phb-hub--rev > .phb-out { grid-column: 3; }
.phb-hub--rev > .phb-ln { transform: scaleX(-1); }
/* 685: плавающие цифры вокруг схемы */
.phb-fls { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.phb-fl { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 10px 16px 11px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16,22,19,.06), 0 14px 30px -12px rgba(16,22,19,.35); font-size: 13px; line-height: 1.2; color: var(--ink-3); white-space: nowrap; animation: phb-float 6s ease-in-out infinite; }
.phb-fl b { font-size: 30px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--th); }
.phb-fl--a { top: 0; right: 0; }
.phb-fl--c { top: 4px; left: 150px; animation-delay: -3s; }
.phb-fl--d { left: 0; bottom: 0; animation-delay: -4.2s; }
.phb-fl--e { left: 215px; bottom: 6px; animation-delay: -2.2s; }
.phb-fl--b { right: 0; bottom: 0; animation-delay: -1.5s; }
@keyframes phb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .phb-fl { animation: none; } }
@media (max-width: 860px) {
  .phb-hub.phb-hub--rev { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .phb-fls { position: static; grid-column: 1; display: flex; flex-wrap: wrap; gap: 8px; order: 9; }
  .phb-fl { position: static; padding: 8px 12px; animation: none; }
  .phb-fl b { font-size: 22px; }
  .phb-fl--d, .phb-fl--e { display: none; }
}
/* 687: первая сцена, список заказов всех каналов */

.por-o { display: grid; grid-template-columns: 62px 66px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 13px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.por-o:last-child { border-bottom: 0; }
.por-o small { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.por-o em { display: none; font-style: normal; font-size: 13px; color: var(--ink-3); }
.por-ch { display: flex; align-items: center; height: 22px; }
.por-ch img { height: 20px; width: auto; max-width: 58px; object-fit: contain; }
.por-220 { font-size: 14px; font-weight: 700; color: #e5322d; letter-spacing: -0.02em; }
.scene .pod { max-width: 620px; }
@media (max-width: 560px) { .por-o { grid-template-columns: 50px minmax(0, 1fr) auto; padding: 12px 14px; } .por-o > b, .por-o > em { display: none; } }
/* 688: кнопка Print labels вынесена перед интерфейсом */
.scene__vis:has(.por-out) { position: relative; }
.por-out { position: absolute; z-index: 3; top: -22px; right: 18px; box-shadow: 0 14px 28px -10px rgba(16,22,19,.45); }
/* 692: плашки тарифов как на странице цен */
.por-price .sec__head { margin-bottom: 28px; }
.por-plans { margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.por-plans .plan { padding: 26px; transition: transform .15s, border-color .15s; }
.por-plans .plan:hover { transform: translateY(-3px); border-color: var(--th); }
.por-plans .plan__sub { min-height: 0; }
.por-plans .plan ul { margin-top: 20px; padding-top: 20px; }
.plans.por-plans .plan--top { border: 2px solid var(--th) !important; background: #f1f8f3 !important; box-shadow: 0 28px 44px -26px rgba(16,22,19,.4), 0 0 0 4px rgba(22,101,52,.14); transform: translateY(-8px); }
.por-plans .plan--top:hover { transform: translateY(-11px); }
@media (max-width: 1180px) { .por-plans .plan--top, .por-plans .plan--top:hover { transform: none; } }
.por-plans .plan--top .plan__name em { background: var(--th); color: #fff; }
.por-plans .plan__name em { background: var(--th); color: #fff; }
@media (max-width: 1180px) { .por-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .por-plans { grid-template-columns: 1fr; } }
/* 694: «Why sellers choose» как на главной (правила из sec-home.css) */
.home-why { padding-bottom: 0; padding-top: 96px; }
.home-why__frame { border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; background: var(--white); }
.home-why__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; border-bottom: 1px solid var(--line); }
.home-why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; padding: 36px 40px 40px; }
.home-why__grid > div { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 14px; align-content: start; }
.home-why__grid svg { width: 20px; height: 20px; margin-top: 2px; color: var(--th); }
.home-why__grid h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.home-why__grid p, .home-why__btn { grid-column: 2; }
.home-why__grid p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); max-width: 520px; }
.home-why__grid p a { color: var(--th); text-decoration: underline; }
.home-why__btn { justify-self: start; margin-top: 12px; }
@media (max-width: 860px) { .home-why { padding-top: 56px; } .home-why__head { flex-direction: column; align-items: flex-start; padding: 24px 20px; } .home-why__grid { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px 28px; } }

/* пин 746 (Саша 22.11): две крупные выноски вместо пяти мелких: число заказов и статус PAID */
.phb-fl { padding: 16px 24px 18px; border-radius: 18px; font-size: 15px; }
.phb-fl b { font-size: 46px; }
.phb-fl b.phb-fl__ok { display: inline-block; align-self: flex-start; padding: 4px 14px 6px; border-radius: 10px; background: #e7f6ee; color: #1d7a4c; font-size: 34px; letter-spacing: 0.01em; margin-bottom: 4px; }
.phb-fl--a { top: -30px; right: 0; }
.phb-fl--b { right: 0; bottom: -34px; left: auto; animation-delay: -1.5s; }
@media (max-width: 860px) { .phb-fl { padding: 12px 18px 14px; } .phb-fl b { font-size: 32px; } .phb-fl b.phb-fl__ok { font-size: 26px; } .phb-fl--a, .phb-fl--b { top: auto; bottom: auto; right: auto; } }
/* пины 749, 750: цена самого плана мелко под названием, в подписи цена за заказ */
.por-plans .plan__own { margin-top: 2px; font-size: 13px; color: var(--ink-3); }
/* пин 747: подписи над цифрами в две строки у всех, цифры стоят на одной линии */
.pod .plat-kpis span { min-height: 3.4em; }
.phb-fl--a { top: -44px; } .phb-fl--b { bottom: -48px; }
/* выноски 248 и PAID: одной ширины с карточкой Sync2Sys (290px), с равными зазорами сверху и снизу, на одной вертикали справа */
@media (min-width: 861px) {
  .phb-hub.phb-hub--rev { padding: 118px 0 118px; }
  .phb-fl { width: 290px; box-sizing: border-box; left: auto; right: 0; }
  .phb-fl--a { top: 0; bottom: auto; }
  .phb-fl--b { bottom: 0; top: auto; }
}
/* статус как в панели: плашка с точкой слева, подпись справа (пин 746, Саша 22.11 18:15) */
@media (min-width: 861px) { .phb-fl--b { flex-direction: row; align-items: center; gap: 14px; padding: 18px 20px; } }
.phb-fl--b { flex-direction: row; align-items: center; gap: 12px; }
.phb-fl--b > span { font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.phb-fl__pill { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 14px; border-radius: 99px; background: #e3f5ea; color: #1d7a4c; font-style: normal; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.phb-fl__pill u { width: 10px; height: 10px; border-radius: 50%; background: #1fb574; text-decoration: none; }
.phb-fl--b > span { flex: 1 1 0; min-width: 0; white-space: normal; }
.phb-fl__pill { font-size: 20px; padding: 8px 14px 8px 12px; }

/* пины 808-813 (Саша 22.11): выноски маленькие и сидят на углах карточки Sync2Sys, не заходят на соседние блоки; статус Paid только в обводке; заголовок как у Supplier import */
@media (min-width: 861px) {
  .phb-hub.phb-hub--rev { padding: 44px 0 44px; }
  .phb-fl { width: auto; }
  .phb-fl--a { top: 4px; right: -14px; padding: 10px 18px 12px; border-radius: 14px; font-size: 13px; }
  .phb-fl--a b { font-size: 28px; }
  .phb-fl--b { bottom: 8px; right: 24px; top: auto; padding: 0; background: transparent; box-shadow: none; }
}
.phb-fl--b .phb-fl__pill { background: #fff; border: 2px solid #1fb574; box-shadow: 0 10px 22px -12px rgba(16, 22, 19, .4); padding: 7px 16px 7px 13px; }
@media (min-width: 1400px) { .phb-hero .hero__text .h1 { font-size: 72px; } }
/* пин 813: блок In short выше, пустой тёмный низ первого экрана короче */
@media (min-width: 1181px) { .phb-hero > .wrap { padding-bottom: 60px; } }
@media (min-width: 1400px) { .phb-hero > .wrap { padding-bottom: 70px; } }
