/* =========================================================
   01. متغیرهای اصلی و تنظیمات پایه
   رنگ برند، پس‌زمینه و خطوط مشترک
========================================================= */

:root {
  --backblue: #1c49bc;
  --backgray: rgb(245 247 250);
  --border: 1px solid #e5e7eb;
  --bordergreen: 1px solid #04a10a;
}

body.PanelPage {
  background: #fff !important;
  color: #1c1b19 !important;
}

/* =========================================================
   02. پوسته اصلی پنل و منوی کناری
========================================================= */

.PanelRoot {
  --brand-color: var(--backblue);
  --brand-ink: #fff;
  --desk-paper: #fff;
  --desk-card: #fff;
  --desk-line: var(--backgray);
  --desk-muted: #636363;
  --desk-soft: var(--backgray);
  --focus-ring: 0 0 0 2px #fff, 0 0 0 4px #1c1b19;

  background: var(--desk-paper);
  color: var(--desk-ink, #1c1b19);
}

.PanelRoot a {
  color: inherit;
}

a.PanelBrand {
  color: inherit;
  text-decoration: none;
}

.PanelSide,
.PanelDrawer {
  background: #fff;
  border-inline-end: 1px solid var(--backgray);
}

.PanelBrandText strong {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.PanelBrandText span,
.PanelNavLabel {
  color: var(--desk-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.PanelNavItem {
  position: relative;
  padding: 9px 12px;
  border-radius: 0;
  color: #3a3834;
  font-weight: 500;
  text-decoration: none;
}

.PanelNavItem svg {
  color: #8a847a;
}

.PanelNavItem:hover {
  background: rgba(28, 27, 25, 0.04);
  color: #1c1b19;
}

.PanelNavItem.is-active {
  background: transparent;
  color: #1c1b19;
  font-weight: 600;
}

.PanelNavItem.is-active svg {
  color: #1c1b19;
}

.PanelNavItem.is-active::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 0;
  background: var(--backblue);
}

.PanelSideFoot {
  border-top-color: var(--backgray);
  background: transparent;
}

.PanelFrame {
  background: transparent;
}

.PanelTop {
  background: #fff;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
}

.PanelSearch input {
  background: var(--backgray);
  border: 1px solid var(--backgray);
  border-radius: 0;
}

.PanelSearch input:focus {
  border-color: #1c1b19;
  box-shadow: 0 0 0 3px rgba(28, 27, 25, 0.08);
}

/* =========================================================
   03. محدوده محتوای پنل و انیمیشن ورود
========================================================= */

.PanelMain {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
  padding: 28px 0 72px;
}

.PanelStage.is-entering {
  animation: desk-in 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes desk-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   04. عنوان‌ها و معرفی داشبورد
========================================================= */

.DeskHello h2,
.DeskHead h1,
.DeskHero h2 {
  margin: 0;
  color: #1c1b19;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.DeskHello h2,
.DeskHead h1 {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
}

.DeskHello {
  margin-bottom: 22px;
}

.DeskKicker {
  margin: 0 0 6px;
  color: var(--desk-muted);
  font-size: 12px;
  font-weight: 600;
}

.DeskHead {
  margin-bottom: 22px;
}

.DeskHead p,
.DeskHero p {
  max-width: 42rem;
  margin: 8px 0 0;
  color: var(--desk-muted);
  line-height: 1.7;
}

.DeskHead p {
  font-weight: 400;
}

/* =========================================================
   05. آمار و کارت‌های آماری
========================================================= */

.DeskStats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.DeskStats .PanelStat,
.PanelRoot .PanelStat {
  min-height: 0;
  padding: 16px 16px 14px;
  background: var(--desk-card);
  border: 1px solid var(--backgray);
  border-radius: 0;
  box-shadow: none;
}

.DeskStats .PanelStat::before,
.PanelRoot .PanelStat::before {
  display: none;
}

.DeskStats .PanelStatLabel,
.PanelRoot .PanelStatLabel {
  color: var(--desk-muted);
  font-size: 12px;
  font-weight: 500;
}

.DeskStats .PanelStatValue,
.PanelRoot .PanelStatValue {
  color: #1c1b19;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.DeskStats .PanelStatIcon,
.PanelRoot .PanelStatIcon {
  display: none;
}

.DeskStats .PanelStat.is-gold {
  background: var(--backgray);
  border-color: var(--backgray);
}

/* =========================================================
   06. بنر اصلی داشبورد
========================================================= */

.DeskHero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 22px;
  padding: 22px 22px 20px;
  background: var(--backblue);
  color: #f6f3ec;
  border-radius: 0;
}

.DeskHero>div {
  min-width: 0;
  flex: 1;
}

.DeskHero .DeskKicker,
.DeskHero p {
  color: rgba(246, 243, 236, 0.72);
}

.DeskHero h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.DeskHero.is-quiet {
  background: var(--desk-card);
  color: #1c1b19;
  border: 1px solid var(--backgray);
}

.DeskHero.is-quiet h2 {
  color: #1c1b19;
  white-space: nowrap;
}

.DeskHero.is-quiet .DeskKicker,
.DeskHero.is-quiet p {
  color: var(--desk-muted);
}

body.PanelPage .DeskHero.is-declined {
  background: #3a2420;
}

body.PanelPage .DeskHero.is-declined h2,
body.PanelPage .DeskHero.is-declined p {
  color: #fff8f4;
}

/* =========================================================
   07. بخش‌ها، فهرست سفارش‌ها و وضعیت سفارش
========================================================= */

.DeskBlock {
  margin-top: 8px;
}

.DeskBlockHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 2px 10px;
}

.DeskBlockHead h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.DeskBlockHead a {
  color: var(--desk-muted);
  font-size: 13px;
  text-decoration: none;
}

.DeskBlockHead a:hover {
  color: #1c1b19;
}

.DeskList {
  overflow: hidden;
  background: var(--desk-card);
  border-radius: 0;
}

.DeskOrder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: var(--border);
  text-decoration: none;
  transition: background 0.18s ease;
}

.DeskOrder:hover {
  background: var(--backgray);
  color: inherit;
}

.DeskOrderCopy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.DeskOrderCopy strong {
  font-weight: 600;
}

.DeskOrderCopy small,
.DeskOrderSum.is-quiet {
  color: var(--desk-muted);
  font-weight: 400;
}

.DeskOrderStage {
  padding: 4px 10px;
  background: #e8eefc;
  border-radius: 0;
  color: #1c49bc;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.DeskOrderStage.is-done,
.DeskOrderStage[data-stage="delivered"] {
  background: #e5f6ed;
  color: #0f6b43;
}

.DeskOrderStage[data-stage="awaiting_balance"] {
  background: #f7f1ea;
  color: #8a4a32;
}

.DeskOrderStage.is-stop,
.DeskOrderStage[data-stage="cancelled"] {
  background: #fde8e8;
  color: #b42318;
}

.DeskOrderSum {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.DeskToolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.DeskEmpty {
  padding: 28px 8px 8px;
  color: var(--desk-muted);
}

.DeskEmpty p {
  margin: 0 0 14px;
}

/* =========================================================
   08. کارت‌ها، فرم‌ها و مراحل ثبت سفارش
========================================================= */

.DeskWizard,
.DeskAccount,
.PanelRoot .PanelCard {
  background: var(--desk-card);
  border: 1px solid var(--backgray);
  border-radius: 0;
  box-shadow: none;
}

.DeskWizardSteps {
  display: flex;
  gap: 18px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.DeskWizardSteps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a847a;
  font-size: 13px;
}

.DeskWizardSteps i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--backgray);
  border-radius: 0;
  font-size: 12px;
  font-style: normal;
}

.DeskWizardSteps .is-current {
  color: #1c1b19;
  font-weight: 600;
}

.DeskWizardSteps .is-current i,
.DeskWizardSteps .is-done i {
  background: #1c1b19;
  border-color: #1c1b19;
  color: #fff;
}

/* نمایش مرحله فعال و پنهان‌کردن مراحل دیگر */
.DeskWizard[data-order-step="1"] [data-step-panel="2"],
.DeskWizard[data-order-step="1"] [data-step-panel="3"],
.DeskWizard[data-order-step="1"] [data-step-back],
.DeskWizard[data-order-step="1"] [data-step-submit],
.DeskWizard[data-order-step="2"] [data-step-panel="1"],
.DeskWizard[data-order-step="2"] [data-step-panel="3"],
.DeskWizard[data-order-step="2"] [data-step-submit],
.DeskWizard[data-order-step="3"] [data-step-panel="1"],
.DeskWizard[data-order-step="3"] [data-step-panel="2"],
.DeskWizard[data-order-step="3"] [data-step-next] {
  display: none;
}

.DeskReview {
  display: grid;
  gap: 14px;
  margin: 0;
}

.DeskReview div {
  display: grid;
  gap: 4px;
}

.DeskReview dt {
  color: var(--desk-muted);
  font-size: 12px;
}

.DeskReview dd {
  margin: 0;
  white-space: pre-wrap;
}

/* ورودی‌های عمومی پنل */
.PanelRoot .PanelField input,
.PanelRoot .PanelField textarea,
.PanelRoot .PanelField select,
.PanelRoot .PanelMoneyInput input {
  background: var(--backgray);
  border: 1px solid var(--backgray);
  border-radius: 0;
}

/* =========================================================
   09. دکمه‌ها و حالت فوکوس
========================================================= */

.PanelRoot .PanelBtnPrimary,
.PanelRoot a.PanelBtnPrimary {
  background: var(--backblue);
  border: 0;
  border-radius: 0;
  font-weight: 600;
  text-decoration: none;
}

.PanelRoot .PanelBtnPrimary:hover,
.PanelRoot a.PanelBtnPrimary:hover {
  background: #fff;
  border: 1px solid var(--backblue);
  color: var(--backblue);
}

.PanelRoot .PanelBtnSecondary {
  background: transparent;
  border: 1px solid var(--backgray);
  border-radius: 0;
  color: #1c1b19;
}

.PanelRoot .PanelBtnPrimary:focus-visible,
.PanelRoot .PanelBtnSecondary:focus-visible,
.PanelNavItem:focus-visible,
.DeskOrder:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* =========================================================
   10. صفحه ورود و جدول‌های پنل
========================================================= */

.PanelLogin {
  background:
    radial-gradient(900px 420px at 100% -10%,
      #1c49bc30,
      transparent 60%),
    #ffffff00;
}

.PanelLoginCard {
  background: #fff;
  border: 1px solid var(--backgray);
  border-radius: 0;
  box-shadow: 0 24px 96px rgb(0 0 0 / 24%);
}

.PanelRoot .PanelTableWrap {
  overflow: hidden;
  background: var(--desk-card);
  border: 1px solid var(--backgray);
  border-radius: 0;
}

/* =========================================================
   11. جزئیات سفارش در استودیو
========================================================= */

body.PanelPage .StudioDetail {
  display: grid;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.PanelPage .StudioCard,
body.PanelPage .StudioScope,
body.PanelPage .StudioChat,
body.PanelPage .StudioFact {
  background: var(--backgray);
  border: 1px solid var(--backgray);
  box-shadow: none;
}

/* کارت تصمیم و توضیحات */
body.PanelPage .StudioDecision {
  padding: 20px 22px;
  background: var(--backgray);
  border: 1px solid var(--backgray);
  border-inline-start: 3px solid var(--backblue);
  border-radius: 0;
}

body.PanelPage .StudioDecision.is-declined {
  background: #fff8f6;
  border-color: #f0d4cc;
  border-inline-start-color: #c45c4a;
}

body.PanelPage .StudioDecisionKicker {
  margin: 0;
  color: #8a8174;
  font-size: 12px;
  letter-spacing: 0;
}

body.PanelPage .StudioDecision h3 {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 500;
}

body.PanelPage .StudioDecision p {
  max-width: 40rem;
  margin: 10px 0 0;
  color: #5f5a52;
  line-height: 1.8;
}

body.PanelPage .StudioDecision blockquote {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: #fff;
  border: 0;
  border-radius: 0;
  color: #1c1b19;
  line-height: 1.85;
}

/* مراحل تصمیم */
body.PanelPage .StudioDecisionSteps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

body.PanelPage .StudioDecisionSteps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--backgray);
  border-radius: 0;
  color: #6f6a62;
  font-size: 12px;
}

body.PanelPage .StudioDecisionSteps i {
  width: 7px;
  height: 7px;
  border-radius: 30px;
  background: #d9d3c7;
}

body.PanelPage .StudioDecisionSteps .is-done {
  color: #1c1b19;
}

body.PanelPage .StudioDecisionSteps .is-done i {
  background: #04a10a;
}

body.PanelPage .StudioDecisionSteps .is-current {
  background: var(--backgray);
  border-color: var(--backblue);
  color: #1c1b19;
}

body.PanelPage .StudioDecisionSteps .is-current i {
  background: var(--backblue);
}

/* =========================================================
   12. کارت اقدام، قرارداد و دکمه‌های استودیو
========================================================= */

body.PanelPage .StudioAction {
  padding: 18px;
  background: #fff;
  border: var(--border);
  border-radius: 0;
  color: #1c1b19;
  white-space: pre-line;
}

body.PanelPage .StudioAction h3,
body.PanelPage .StudioAction p {
  color: #1c1b19;
}

body.PanelPage .StudioAction p {
  color: #5f5a52;
}

body.PanelPage .StudioAction .StudioBtnGhost {
  border-color: var(--backgray);
  color: rgb(28, 27, 25);
}

body.PanelPage .StudioContract {
  max-height: 320px;
  background: #f7f4ee;
  border: 1px solid var(--backgray);
  border-radius: 0;
}

body.PanelPage .StudioContractAccept {
  color: #1c1b19;
}

body.PanelPage .StudioContractAccept input[type="checkbox"] {
  accent-color: #1c1b19;
}

body.PanelPage .StudioBtn,
body.PanelPage .PanelBtnPrimary {
  border-radius: 0;
  color: #fff;
  transition: 0.5s;
}

/* مراحل گردش کار استودیو */
body.PanelPage .StudioSteps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
}

body.PanelPage .StudioStep {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--backgray);
  border-radius: 0;
  color: #6f6a62;
  font-size: 12px;
  line-height: 1.45;
  text-align: start;
}

body.PanelPage .StudioStep::before {
  display: none;
}

body.PanelPage .StudioStep i {
  position: static;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0;
  margin-inline-end: 6px;
  border: 0;
  background: #d9d3c7;
  vertical-align: 1px;
}

body.PanelPage .StudioStep.is-done {
  color: #1c1b19;
}

body.PanelPage .StudioStep.is-done i {
  background: #04a10a;
}

body.PanelPage .StudioStep.is-current {
  background: var(--backblue);
  border: none;
  color: var(--brand-ink);
  box-shadow: 0 2px 10px rgb(67 56 202 / 39%);
}

@keyframes blinkOpacity {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

body.PanelPage .StudioStep.is-current i {
  background: var(--brand-ink);
  border-radius: 30px;
  vertical-align: middle;
  animation: blinkOpacity 1s ease-in-out infinite;
}

body.PanelPage .StudioRow .StudioBtnGhost {
  padding-inline: 0;
  background: transparent;
  border: 0;
  color: var(--backblue);
}

/* =========================================================
   13. مسیرهای ثبت سفارش و پشتیبانی
========================================================= */

.OrderPaths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.OrderPath {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 188px;
  padding: 22px 22px 18px;
  border-radius: 0;
  color: #1c1b19;
  text-decoration: none;
  transition: 0.5s;
}

.OrderPath span,
.OrderPath em {
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0;
}

.OrderPath strong {
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.35;
}

.OrderPath p {
  max-width: 28rem;
  margin: 0;
  color: inherit;
  line-height: 1.75;
  opacity: 0.78;
}

.OrderPath em {
  margin-top: auto;
  padding-top: 8px;
}

.OrderPath.is-support {
  background: var(--backblue);
  color: #fff;
}

a .OrderPath:hover,
.OrderPath.is-support:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.OrderPath.is-app {
  background: var(--backgray);
  border: 1px solid var(--backgray);
}

.OrderPath.is-app em {
  color: #1c1b19;
}

/* =========================================================
   14. اطلاعیه واریز وجه
========================================================= */

.DepositNotice {
  margin: 0;
  color: #1c2434;
  direction: rtl;
}

.DepositNoticeFrame {
  padding: 6px;
  border-radius: 0;
}

.DepositNoticeCard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e4eaf5;
  border-right: 4px solid var(--backblue, #1c49bc);
  border-radius: 0;
  box-shadow: none;
}

.DepositNoticeMark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--backgray, rgb(245 247 250));
  border: 1px solid #dce5f6;
  border-radius: 5px;
  color: var(--backblue, #1c49bc);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.DepositNoticeCard .DepositNoticeKicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--backblue, #1c49bc);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
}

.DepositNoticeCard .DepositNoticeKicker::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--backblue, #1c49bc);
  border-radius: 50%;
}

.DepositNoticeCard h3 {
  margin: 7px 0 0;
  color: #17233b;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.8;
  letter-spacing: -0.025em;
}

.DepositNoticeCard>div>p:not(.DepositNoticeKicker):not(.DepositNoticeAmount) {
  max-width: 46rem;
  margin: 9px 0 0;
  color: #596579;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 2;
}

.DepositNoticeAmount {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  width: 100%;
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--backgray, rgb(245 247 250));
  border: 1px solid #e4eaf5;
  border-radius: 4px;
}

.DepositNoticeAmount span {
  color: #596579;
  font-size: 0.82rem;
  font-weight: 600;
}

.DepositNoticeAmount strong {
  color: var(--backblue, #1c49bc);
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* =========================================================
   15. لغو سفارش
========================================================= */

.OrderCancel {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 22px;
  background: #fff;
  border: var(--border);
  border-radius: 0;
}

.OrderCancel.is-kept {
  background: #fffdf6;
  border: var(--border);
}

.OrderCancel h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
}

.OrderCancel p,
.OrderRule {
  margin: 6px 0 0;
  color: #5c564e;
  line-height: 1.85;
}

.OrderRule {
  margin: 0;
  padding: 14px 16px;
  border-inline-start: 3px solid var(--backblue);
  color: var(--backblue);
  font-weight: bold;
}

.OrderCancel form {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.OrderCancel label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1c1b19;
  line-height: 1.7;
}

.OrderCancel input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: #1c1b19;
}

.OrderCancelBtn {
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--rose-700);
  border-radius: 0;
  color: var(--rose-700);
  font: inherit;
  cursor: pointer;
}

.OrderCancelBtn:hover {
  background: #fff6f4;
}

.OrderCancelBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* =========================================================
   16. لینک بازگشت و بخش اپلیکیشن
========================================================= */

.TicketBack,
a.SupportBack {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--backblue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.AppDesk {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--backgray);
  border-radius: 0;
}

.AppDesk h2 {
  margin: 4px 0 0;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 500;
}

.AppDesk p {
  margin: 8px 0 0;
  color: #5f5a52;
  line-height: 1.8;
}

.AppDesk strong {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
}

.AppPay {
  display: grid;
  gap: 0;
  max-width: 28rem;
}

.AppPay label {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: #6f6a62;
  font-size: 13px;
}

.AppPay input {
  width: 100%;
  padding: 12px 14px;
  background: var(--backgray);
  border: 1px solid var(--backgray);
  border-radius: 0;
  color: #1c1b19;
  font: inherit;
}

.AppPay button {
  margin-top: 14px;
}

/* =========================================================
   17. پیش‌نمایش سایت
========================================================= */

.PreviewSite,
.AddonStack {
  display: grid;
  gap: 14px;
}

/* قاب بیرونی پیش‌نمایش */
.PreviewSiteFrame {
  position: relative;
  padding: 5px;
  overflow: hidden;
  background: var(--backgray, rgb(245 247 250));
  border: 1px solid #e5eaf3;
  border-radius: 0;
}

/* کارت پیش‌نمایش */
.PreviewSiteCard {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6ebf4;
  border-radius: 0;
  box-shadow: none;
  transition: border-color 180ms ease;
}

.PreviewSiteCard:hover {
  border-color: #b9cafa;
}

.PreviewSiteCard.is-waiting {
  border-color: #e5eaf3;
}

/* نوار شبیه مرورگر */
.PreviewSiteWindow {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 42px;
  padding: 10px 13px;
  direction: ltr;
  background: var(--backgray, rgb(245 247 250));
  border: 1px solid #e7ebf2;
  border-radius: 0;
  color: #64718a;
  font-size: 12px;
  font-weight: 500;
}

.PreviewSiteWindow i {
  display: block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1c49bc;
}

.PreviewSiteWindow i:nth-child(2) {
  background: #a9b9d9;
}

.PreviewSiteWindow i:nth-child(3) {
  background: #d5dce8;
}

.PreviewSiteWindow span {
  min-width: 0;
  margin-inline-start: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* تیتر و توضیحات پیش‌نمایش */
.PreviewSiteKicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--backblue, #1c49bc);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.9;
}

.PreviewSiteKicker::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--backblue, #1c49bc);
  border-radius: 0;
}

.PreviewSiteCard h3 {
  margin: 8px 0 0;
  color: #18243a;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 800;
  line-height: 1.9;
  letter-spacing: -0.025em;
}

.PreviewSiteCard>div>p:not(.PreviewSiteKicker) {
  max-width: 42rem;
  margin: 10px 0 0;
  color: #58657a;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 2;
}

/* دکمه مشاهده سایت */
a.PreviewSiteOpen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 46px;
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--backblue, #1c49bc);
  border: 1px solid var(--backblue, #1c49bc);
  border-radius: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.PreviewSiteOpen::after {
  content: "↗";
  font-size: 16px;
  line-height: 1;
  transition: transform 180ms ease;
}

a.PreviewSiteOpen:hover {
  color: #fff;
}

.PreviewSiteOpen:hover::after {
  transform: translate(2px, -2px);
}

.PreviewSiteOpen:focus-visible {
  outline: 3px solid #b9cafa;
  outline-offset: 3px;
}

.PreviewSiteOpen:active {
  transform: translateY(1px);
}

/* =========================================================
   18. فاکتورهای خدمات و درخواست‌ها
   استایل عمومی فاکتور؛ جزئیات وضعیت در بخش‌های بعدی
========================================================= */

.AddonInvoice {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 20px 0;
  padding: 24px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-right: 3px solid var(--backblue);
  color: #172b4d;
  direction: rtl;
}

.AddonInvoice.is-paid {
  /* background: #f7fbf7; */
  box-shadow: none;
}

/* برچسب وضعیت فاکتور */
.AddonInvoice .AddonKicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 5px 12px;
  background: #eaf8f0;
  color: #137a4c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
}

/* عنوان و توضیحات فاکتور */
.AddonInvoice h3 {
  margin: 0 0 8px;
  color: #172b4d;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.AddonInvoice>p:not(.AddonKicker) {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 14px;
  line-height: 2;
  overflow-wrap: anywhere;
}

/* مبلغ فاکتور */
.AddonInvoice>strong {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 26px;
  padding: 12px 16px;
  box-sizing: border-box;
  background: #f4f7fb;
  border-right: 3px solid #16a36a;
  color: #126b48;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.8;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   19. مسیر پیگیری فاکتور
========================================================= */

.AddonInvoice .AddonPath {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.AddonInvoice .AddonPath li {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 14px;
  min-width: 0;
  padding: 0 0 24px;
}

.AddonInvoice .AddonPath li:last-child {
  padding-bottom: 0;
}

.AddonInvoice .AddonPath li>i {
  position: relative;
  z-index: 1;
  display: block;
  width: 12px;
  height: 12px;
  margin: 6px 0 0;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid #cbd5e1;
}

/* خط اتصال مراحل */
.AddonInvoice .AddonPath li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 5px;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

/* مرحله انجام‌شده */
.AddonInvoice .AddonPath li.is-done>i {
  background: var(--backblue);
  border-color: var(--backblue);
}

.AddonInvoice .AddonPath li.is-done:not(:last-child)::after {
  background: rgb(28 73 188 / 31%);
}

/* مرحله جاری */
.AddonInvoice .AddonPath li.is-current>i {
  background: #fff;
  border: 3px solid var(--backblue);
  outline: 3px solid rgb(28 73 188 / 31%);
}

.AddonInvoice .AddonPath li>div {
  min-width: 0;
}

.AddonInvoice .AddonPath li span {
  display: block;
  margin: 0 0 4px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.AddonInvoice .AddonPath li.is-current span {
  color: var(--backblue);
}

.AddonInvoice .AddonPath li time {
  display: block;
  margin: 0 0 7px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.8;
  direction: rtl;
}

.AddonInvoice .AddonPath li p {
  margin: 0;
  padding: 10px 12px;
  background: #f8fafc;
  border-right: 2px solid #e2e8f0;
  color: #64748b;
  font-size: 13px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.AddonInvoice .AddonPath li.is-current p {
  background: #f0faf4;
  border-right-color: #16a36a;
  color: #365b49;
}

/* =========================================================
   20. فاکتور درخواست ثبت‌شده
   این قوانین فقط روی is-request اعمال می‌شوند
========================================================= */

.AddonInvoice.is-request {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e2e8f2;
  border-right: 3px solid var(--backblue, #1c49bc);
  box-shadow: none;
  color: #172b4d;
}

/* برچسب درخواست */
.AddonInvoice.is-request .AddonKicker,
.AddonInvoice.is-request>.AddonKicker {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  padding: 5px 12px;
  background: var(--backgray, rgb(245 247 250));
  border-right: 2px solid var(--backblue, #1c49bc);
  color: var(--backblue, #1c49bc);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.9;
}

.AddonInvoice.is-request .AddonKicker::before,
.AddonInvoice.is-request>.AddonKicker::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--backblue, #1c49bc);
}

/* عنوان و توضیحات درخواست */
.AddonInvoice.is-request h3 {
  margin: 0;
  color: #19253b;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.AddonInvoice.is-request>p:not(.AddonKicker) {
  margin: 0;
  padding: 12px 14px;
  background: var(--backgray, rgb(245 247 250));
  border: 1px solid #e7ebf2;
  color: #58657a;
  font-size: 0.9rem;
  line-height: 2;
  overflow-wrap: anywhere;
}

/* تایم‌لاین درخواست؛ رنگ‌ها مستقل از فاکتور عادی */
.AddonInvoice.is-request .AddonPath {
  margin: 0;
  padding: 0;
  list-style: none;
}

.AddonInvoice.is-request .AddonPath li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 14px;
  position: relative;
  min-width: 0;
  padding: 0 0 20px;
}

.AddonInvoice.is-request .AddonPath li:last-child {
  padding-bottom: 0;
}

.AddonInvoice.is-request .AddonPath li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 5px;
  bottom: 0;
  width: 2px;
  background: #e2e8f2;
}

.AddonInvoice.is-request .AddonPath li>i {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid #cbd5e1;
}

.AddonInvoice.is-request .AddonPath li.is-done>i {
  background: var(--backblue, #1c49bc);
  border-color: var(--backblue, #1c49bc);
}

.AddonInvoice.is-request .AddonPath li.is-done:not(:last-child)::after {
  background: #b9cafa;
}

.AddonInvoice.is-request .AddonPath li.is-current>i {
  background: #fff;
  border: 3px solid var(--backblue, #1c49bc);
  outline: 3px solid #e8eefc;
}

.AddonInvoice.is-request .AddonPath li>div {
  min-width: 0;
}

.AddonInvoice.is-request .AddonPath li span {
  display: block;
  margin: 0 0 4px;
  color: var(--backblue, #1c49bc);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.AddonInvoice.is-request .AddonPath li time {
  display: block;
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.8;
}

.AddonInvoice.is-request .AddonPath li p {
  margin: 0;
  padding: 12px 14px;
  background: var(--backgray, rgb(245 247 250));
  border-right: 2px solid var(--backblue, #1c49bc);
  color: #596579;
  font-size: 13px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.AddonInvoice.is-request .AddonPath li.is-current p {
  background: #edf2fc;
  border-right-color: var(--backblue, #1c49bc);
  color: #35435a;
}

/* دکمه‌ها و عملیات فاکتور */
.AddonInvoiceActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.AddonInvoiceActions .StudioBtn,
.AddonInvoiceActions .StudioBtnGhost {
  margin-top: 0;
}

.AddonInvoice.is-request .AddonInvoiceActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding-top: 16px;
  border-right: 1px solid #e8edf2;
}

.AddonInvoice.is-request .AddonInvoiceActions button {
  max-width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 9px 16px;
  box-sizing: border-box;
  border-radius: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.8;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

/* دکمه لغو درخواست */
.AddonInvoice.is-request .StudioBtnGhost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #dce3ef;
  color: #526078;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  box-shadow: none;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.AddonInvoice.is-request .StudioBtnGhost:hover {
  background: var(--backgray, rgb(245 247 250));
  border-color: var(--backblue, #1c49bc);
  color: var(--backblue, #1c49bc);
}

.AddonInvoice.is-request .StudioBtnGhost:focus-visible {
  outline: 3px solid #b9cafa;
  outline-offset: 3px;
}

/* متن انتظار */
.AddonWait {
  margin: 0;
  color: var(--backblue, #1c49bc);
}

/* =========================================================
   21. کارت اصلی درخواست تغییرات
========================================================= */

.AddonDesk {
  position: relative;
  display: grid;
  gap: 24px;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f2;
  border-right: 3px solid var(--backblue, #1c49bc);
  box-shadow: none;
  color: #19253b;
}

/* بخش معرفی فرم */
.AddonDesk>div:first-child {
  display: grid;
  gap: 8px;
  padding-bottom: 19px;
  border-bottom: 1px solid #e8edf5;
}

.AddonDesk .AddonKicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--backblue, #1c49bc);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.9;
}

.AddonDesk .AddonKicker::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--backblue, #1c49bc);
}

.AddonDesk h3 {
  margin: 0;
  color: #19253b;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.8;
  letter-spacing: -0.02em;
}

.AddonDesk>div:first-child>p:not(.AddonKicker) {
  max-width: 44rem;
  margin: 0;
  color: #5d6a7f;
  font-size: 0.92rem;
  line-height: 2;
}

/* =========================================================
   22. فرم ثبت درخواست تغییرات
========================================================= */

.AddonForm {
  display: grid;
  gap: 17px;
  min-width: 0;
}

.AddonForm label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #35435a;
  font-size: 13px;
  font-weight: 700;
}

.AddonForm label>span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.AddonForm label>span::before {
  content: "";
  width: 3px;
  height: 13px;
  background: #c9d7f4;
}

/* فیلدهای ورودی فرم */
.AddonForm input,
.AddonForm select,
.AddonForm textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  background: var(--backgray, rgb(245 247 250));
  border: 1px solid #dfe6f0;
  color: #19253b;
  font: inherit;
  font-size: 14px;
  line-height: 1.8;
  box-shadow: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.AddonForm input::placeholder,
.AddonForm textarea::placeholder {
  color: #96a1b2;
  opacity: 1;
  font-size: 13px;
  font-weight: 400;
}

.AddonForm input:hover,
.AddonForm select:hover,
.AddonForm textarea:hover {
  border-color: #b8c9eb;
}

.AddonForm input:focus,
.AddonForm select:focus,
.AddonForm textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--backblue, #1c49bc);
  box-shadow: inset 3px 0 0 var(--backblue, #1c49bc);
}

.AddonForm textarea {
  min-height: 100px;
  resize: vertical;
}

.AddonForm select {
  cursor: pointer;
}

/* دکمه ارسال فرم */
.AddonForm .StudioBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 10px;
  min-height: 46px;
  margin-top: 2px;
  padding: 12px 22px;
  background: var(--backblue, #1c49bc);
  border: 1px solid var(--backblue, #1c49bc);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.AddonForm .StudioBtn:hover {
  background: #163b99;
  border-color: #163b99;
}

.AddonForm .StudioBtn:active {
  transform: translateY(1px);
}

.AddonForm .StudioBtn:focus-visible {
  outline: 3px solid #b9cafa;
  outline-offset: 3px;
}

/* =========================================================
   23. مسیر جایگزین ثبت درخواست از طریق تیکت
========================================================= */

a.AddonTicket,
a.AddonTicket:hover {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 17px 18px;
  background: var(--backgray, rgb(245 247 250));
  border: 1px solid #dfe7f5;
  border-right: 3px solid var(--backblue, #1c49bc);
  color: #19253b;
  text-decoration: none;
  box-shadow: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

a.AddonTicket:hover {
  background: #edf2fc;
  border-color: #c3d2ee;
  border-right-color: var(--backblue, #1c49bc);
}

a.AddonTicket strong {
  color: var(--backblue, #1c49bc);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.9;
}

a.AddonTicket span {
  color: #637087;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.9;
}

/* =========================================================
   24. پنل پشتیبانی دو ستونه
========================================================= */

.SupportDesk {
  display: grid;
  grid-template-columns: minmax(240px, 18.5rem) minmax(0, 1fr);
  min-height: min(72vh, 44rem);
  background: #fff;
  border: 1px solid #e2e8f2;
  border-right: 3px solid var(--backblue, #1c49bc);
  color: #19253b;
}

/* ستون فهرست تیکت‌ها */
.SupportSide {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  min-width: 0;
  background: var(--backgray, rgb(245 247 250));
  border-inline-end: 1px solid #e2e8f2;
}

.SupportSideHead {
  display: grid;
  gap: 4px;
  padding: 18px 18px 14px;
}

.SupportKicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--backblue, #1c49bc);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.8;
}

.SupportKicker::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--backblue, #1c49bc);
}

.SupportSideHead h2,
.SupportCompose h2,
.SupportThreadHead h2,
.SupportEmpty h3 {
  margin: 0;
  color: #19253b;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.SupportCount {
  color: #5d6a7f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.8;
}

/* دکمه تیکت جدید */
a.SupportNew {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 14px 12px;
  padding: 10px 14px;
  background: var(--backblue, #1c49bc);
  border: 1px solid var(--backblue, #1c49bc);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.SupportNew:hover,
.SupportNew.is-on {
  background: #163b99;
  border-color: #163b99;
  color: #fff;
}

/* فیلترهای تیکت */
.SupportFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 12px;
}

.SupportFilter {
  min-height: 32px;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid #d5dce8;
  color: #526078;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.SupportFilter.is-on,
.SupportFilter:hover {
  background: #fff;
  border-color: var(--backblue, #1c49bc);
  color: var(--backblue, #1c49bc);
}

/* فهرست تیکت‌ها */
.SupportList {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding: 0 14px 16px;
}

.SupportListEmpty,
.SupportEmpty p,
.SupportLead {
  margin: 0;
  color: #5d6a7f;
  font-size: 13px;
  line-height: 1.9;
}

/* هر تیکت در فهرست */
.SupportSwitch {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 12px 12px 11px;
  background: #fff;
  border: 1px solid #e2e8f2;
  color: #19253b;
  text-decoration: none;
}

.SupportSwitch i {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  background: #d5dce8;
}

.SupportSwitch.is-waiting i {
  background: var(--backblue, #1c49bc);
}

.SupportSwitch.is-done i {
  background: #8aa0c7;
}

.SupportSwitch span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.SupportSwitch strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.SupportSwitch small {
  color: #5d6a7f;
  font-size: 12px;
  line-height: 1.7;
}

.SupportSwitch time {
  color: #7b8798;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.8;
}

.SupportSwitch em {
  color: #5d6a7f;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.SupportSwitch.is-waiting em {
  color: var(--backblue, #1c49bc);
}

.SupportSwitch.is-active {
  background: #fff;
  border-color: var(--backblue, #1c49bc);
  box-shadow: inset 3px 0 0 var(--backblue, #1c49bc);
}

.SupportSwitch:hover {
  background: #edf2fc;
  border-color: #c3d2ee;
}

/* ستون مکالمه */
.SupportPane {
  display: grid;
  min-width: 0;
  background: #fff;
}

.SupportEmpty {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 36px 28px;
}

.SupportPaneBack {
  display: none;
  margin-bottom: 10px;
  color: var(--backblue, #1c49bc);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

/* فرم ایجاد تیکت */
.SupportCompose {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 24px 24px;
}

/* سربرگ و بدنه گفت‌وگو */
.SupportThread {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.SupportThreadHead {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 16px;
  border-bottom: 1px solid #e8edf5;
}

.SupportStatus {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  background: var(--backgray, rgb(245 247 250));
  color: #5d6a7f;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.SupportStatus.is-waiting {
  background: #eaf0ff;
  color: var(--backblue, #1c49bc);
}

/* پیام‌های مکالمه */
.SupportTalk {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow: auto;
  margin: 0;
  padding: 18px 22px;
  list-style: none;
}

.SupportTalk li {
  display: grid;
  gap: 4px;
  max-width: min(100%, 34rem);
  padding: 12px 14px;
}

.SupportTalk .is-customer {
  justify-self: start;
  background: var(--backblue, #1c49bc);
  color: #fff;
}

.SupportTalk .is-studio {
  justify-self: end;
  background: var(--backgray, rgb(245 247 250));
  color: #19253b;
}

.SupportTalk .is-empty {
  justify-self: stretch;
  max-width: none;
  background: var(--backgray, rgb(245 247 250));
  color: #5d6a7f;
}

.SupportTalk small,
.SupportTalk time {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  opacity: 0.78;
}

.SupportTalk p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.85;
  white-space: pre-wrap;
}

/* فرم تیکت و پاسخ */
.SupportForm,
.SupportReply {
  display: grid;
  gap: 12px;
}

.SupportForm {
  margin-top: 6px;
}

.SupportForm label {
  display: grid;
  gap: 8px;
  color: #35435a;
  font-size: 13px;
  font-weight: 700;
}

.SupportForm label>span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.SupportForm label>span::before {
  content: "";
  width: 3px;
  height: 13px;
  background: #c9d7f4;
}

.SupportForm input,
.SupportForm textarea,
.SupportReply textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--backgray, rgb(245 247 250));
  border: 1px solid #dfe6f0;
  color: #19253b;
  font: inherit;
  font-size: 14px;
  line-height: 1.8;
  box-shadow: none;
}

.SupportForm textarea {
  min-height: 132px;
  resize: vertical;
}

.SupportForm input:focus,
.SupportForm textarea:focus,
.SupportReply textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--backblue, #1c49bc);
  box-shadow: inset 3px 0 0 var(--backblue, #1c49bc);
}

.SupportReply {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 14px 22px 18px;
  background: #fff;
  border-top: 1px solid #e8edf5;
}

.SupportReply textarea {
  min-height: 76px;
  resize: vertical;
}

.SupportReply .PanelBtnPrimary,
.SupportForm .PanelBtnPrimary {
  min-height: 46px;
  margin: 0;
  padding: 12px 22px;
  font-weight: 800;
}

/* =========================================================
   25. کارت اقدام پرداخت
========================================================= */

.StudioAction.is-payment-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 24px;
  box-sizing: border-box;
  text-align: right;
}

.StudioAction.is-payment-action>h3 {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8edf5;
  line-height: 1.8;
}

.StudioAction.is-payment-action>p {
  margin: 0;
  line-height: 2;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.StudioAction.is-payment-action .StudioPaymentDescription {
  line-height: 2;
}

.StudioAction.is-payment-action .StudioActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.StudioAction.is-payment-action .StudioActions>a,
.StudioAction.is-payment-action .StudioActions>button {
  margin: 0;
}

/* خلاصه مبلغ پرداخت */
.StudioAction.is-payment-action .StudioPaymentSummary {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: 18px;
  background: #f7f9fd;
  border: 1px solid #e3eaf5;
  border-radius: 0;
  box-sizing: border-box;
}

.StudioAction.is-payment-action .StudioPaymentAmountRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.StudioAction.is-payment-action .StudioPaymentAmountRow>span {
  font-size: 14px;
  font-weight: 600;
}

.StudioAction.is-payment-action .StudioPaymentAmount {
  color: var(--backblue);
  font-size: clamp(18px, 3vw, 21px);
  font-weight: 800;
  line-height: 1.8;
  overflow-wrap: anywhere;
  direction: rtl;
}

.StudioAction.is-payment-action .StudioPaymentMeta {
  margin: 0;
  line-height: 1.9;
}

.StudioAction.is-payment-action .StudioPaymentComposer {
  display: flex;
  width: 100%;
  margin: 0;
}

.StudioAction.is-payment-action .StudioPaymentComposer .StudioBtn {
  width: 100%;
  min-height: 48px;
  margin: 0;
  box-sizing: border-box;
}

.StudioAction.is-balance-action .StudioPaymentSummary.is-balance-pay {
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
}

.StudioAction.is-payment-action .StudioPaymentLedger {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 8px 20px;
  background: #fff;
  border: var(--border, 1px solid #e7ebf2);
  box-sizing: border-box;
  color: #202b3c;
}

.StudioAction.is-payment-action .StudioPaymentLedger>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid #e7ebf2;
}

.StudioAction.is-payment-action .StudioPaymentLedger>div>span {
  color: #596579;
  font-size: 13px;
  font-weight: 500;
}

.StudioAction.is-payment-action .StudioPaymentLedger>div>strong {
  color: #202b3c;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  direction: rtl;
}

.StudioAction.is-payment-action .StudioPaymentLedger>div.is-in>strong {
  color: #168354;
}

.StudioAction.is-payment-action .StudioPaymentLedger>div.is-open {
  margin: 8px -20px -8px;
  padding: 17px 20px;
  background: #1c49bc;
  border: 0;
}

.StudioAction.is-payment-action .StudioPaymentLedger>div.is-open>span,
.StudioAction.is-payment-action .StudioPaymentLedger>div.is-open>strong {
  color: #fff;
}

.StudioAction.is-payment-action .StudioPaymentLedger>div.is-open>span {
  font-size: 14px;
  font-weight: 600;
}

.StudioAction.is-payment-action .StudioPaymentLedger>div.is-open>strong {
  font-size: 17px;
  font-weight: 800;
}

.StudioAction.is-balance-action .StudioPaymentLedger {
  margin-bottom: 4px;
}

.StudioAction.is-balance-action .StudioPaymentMeta,
.StudioAction.is-balance-action .StudioPaymentComposer {
  padding: 0 2px;
}

/* =========================================================
   26. جزئیات کامل سفارش
========================================================= */

.StudioOrderDetails {
  width: 100%;
  min-width: 0;
  margin: 22px 0;
  padding: 22px;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 0;
  box-sizing: border-box;
}

.StudioOrderDetails>.StudioOrderDetailsTitle {
  margin: 0 0 20px;
  padding: 0 0 14px;
  color: #172b4d;
  border-bottom: 1px solid #e8edf5;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.9;
}

.StudioOrderDetailsLead {
  margin: 0 0 18px;
  line-height: 2;
}

.StudioOrderDetailsSections {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* هر بخش از جزئیات */
.StudioOrderDetailsSections>.StudioScope {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px;
  background: #f9faff;
  border: 1px solid #e8edf5;
  border-radius: 0;
  box-sizing: border-box;
}

.StudioOrderDetailsSections>.StudioScope>h3 {
  margin: 0 0 12px;
  padding: 0 0 10px;
  color: var(--backblue);
  border-bottom: 1px solid #e8edf5;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.9;
}

.StudioOrderDetailsSections>.StudioScope>ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.StudioOrderDetailsSections>.StudioScope>ul>li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0f5;
  line-height: 1.9;
}

.StudioOrderDetailsSections>.StudioScope>ul>li:first-child {
  padding-top: 0;
}

.StudioOrderDetailsSections>.StudioScope>ul>li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.StudioOrderDetailsSections>.StudioScope>ul>li>div,
.StudioOrderDetailsSections>.StudioScope>ul>li>label {
  flex: 1;
  min-width: 0;
}

.StudioOrderDetailsSections>.StudioScope>ul>li>span {
  flex-shrink: 0;
  color: #1c49bc;
  font-weight: 750;
  text-align: left;
  overflow-wrap: anywhere;
}

.StudioOrderDetails .StudioMeta {
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.StudioOrderDetails .StudioPick {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.StudioOrderDetails .StudioPick input {
  flex-shrink: 0;
  margin-top: 7px;
}

.StudioOrderDetails .StudioScope .is-off {
  opacity: 0.55;
}

/* =========================================================
   27. واکنش‌گرایی عمومی تبلت و موبایل
========================================================= */

/* نمایشگرهای متوسط */
@media (max-width: 900px) {
  .DeskStats {
    grid-template-columns: 1fr 1fr;
  }

  .DeskHero,
  .DeskOrder {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .DeskHero {
    display: grid;
  }

  .PanelMain {
    width: min(100% - 28px, 1080px);
    padding-top: 18px;
  }
}

/* موبایل */
@media (max-width: 640px) {

  .DeskStats,
  .DeskOrder,
  .OrderPaths {
    grid-template-columns: 1fr;
  }

  .DeskWizardSteps {
    gap: 10px;
  }

  .DeskWizardSteps span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  /* اطلاعیه واریز */
  .DepositNoticeFrame {
    padding: 4px;
  }

  .DepositNoticeCard {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .DepositNoticeMark {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }

  .DepositNoticeCard h3 {
    font-size: 1.03rem;
  }

  .DepositNoticeCard>div>p:not(.DepositNoticeKicker):not(.DepositNoticeAmount) {
    font-size: 0.88rem;
    line-height: 1.9;
  }

  .DepositNoticeAmount {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
  }

  .DepositNoticeAmount strong {
    font-size: 1.08rem;
  }

  /* لغو سفارش */
  .OrderCancelBtn {
    width: 100%;
  }

  /* پیش‌نمایش سایت */
  .PreviewSiteFrame {
    padding: 4px;
    border-radius: 0;
  }

  .PreviewSiteCard {
    gap: 16px;
    padding: 15px;
    border-radius: 0;
  }

  .PreviewSiteWindow {
    min-height: 38px;
    padding: 9px 10px;
    font-size: 11px;
  }

  .PreviewSiteCard h3 {
    margin-top: 6px;
    font-size: 1.05rem;
    line-height: 1.85;
  }

  .PreviewSiteCard>div>p:not(.PreviewSiteKicker) {
    font-size: 0.88rem;
    line-height: 1.95;
  }

  .PreviewSiteOpen {
    width: 100%;
    min-height: 46px;
    margin-top: 17px;
  }

  /* فاکتور و فرم درخواست */
  .AddonInvoiceActions,
  .AddonForm .StudioBtn,
  .PreviewSiteOpen {
    width: 100%;
  }

  .AddonDesk {
    gap: 20px;
    padding: 17px;
    border-right-width: 3px;
  }

  .AddonDesk h3 {
    font-size: 1.08rem;
  }

  .AddonDesk>div:first-child>p:not(.AddonKicker) {
    font-size: 0.88rem;
  }

  .AddonForm {
    gap: 15px;
  }

  .AddonForm input,
  .AddonForm select,
  .AddonForm textarea {
    padding: 11px 12px;
    font-size: 14px;
  }

  .AddonForm .StudioBtn {
    width: 100%;
    justify-self: stretch;
    min-height: 47px;
  }

  a.AddonTicket,
  a.AddonTicket:hover {
    padding: 15px;
  }

  .AddonInvoice.is-request {
    gap: 11px;
    padding: 15px;
  }

  .AddonInvoice.is-request h3 {
    font-size: 1rem;
  }

  .AddonInvoice.is-request .StudioBtnGhost {
    width: 100%;
  }
}

/* =========================================================
   28. واکنش‌گرایی پنل پشتیبانی
========================================================= */

@media (max-width: 860px) {
  .SupportDesk {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .SupportSide {
    border-inline-end: 0;
  }

  .SupportPaneBack {
    display: inline-flex;
  }

  /* نمایش فهرست یا مکالمه بر اساس کلاس وضعیت */
  .SupportDesk.is-list .SupportPane {
    display: none;
  }

  .SupportDesk.is-open .SupportSide {
    display: none;
  }

  .SupportReply {
    grid-template-columns: 1fr;
  }

  .SupportReply .PanelBtnPrimary {
    width: 100%;
  }
}

/* =========================================================
   29. تنظیمات موبایل کوچک
========================================================= */

@media (max-width: 480px) {

  /* کارت پرداخت */
  .StudioAction.is-payment-action {
    gap: 14px;
    padding: 16px;
  }

  .StudioAction.is-payment-action .StudioPaymentSummary {
    padding: 14px;
  }

  .StudioAction.is-balance-action .StudioPaymentSummary.is-balance-pay {
    padding: 0;
  }

  .StudioAction.is-payment-action .StudioPaymentLedger {
    padding: 6px 14px;
  }

  .StudioAction.is-payment-action .StudioPaymentLedger>div.is-open {
    margin: 8px -14px -6px;
    padding: 15px 14px;
  }

  .StudioAction.is-payment-action .StudioActions>a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  /* جزئیات سفارش */
  .StudioOrderDetails {
    margin: 16px 0;
    padding: 14px;
    border-radius: 0;
  }

  .StudioOrderDetailsSections {
    gap: 12px;
  }

  .StudioOrderDetailsSections>.StudioScope {
    padding: 12px;
  }

  .StudioOrderDetailsSections>.StudioScope>ul>li {
    gap: 10px;
    font-size: 13px;
  }

  /* فاکتور عادی */
  .AddonInvoice {
    margin: 14px 0;
    padding: 16px;
  }

  .AddonInvoice h3 {
    font-size: 16px;
  }

  .AddonInvoice>strong {
    width: 100%;
    font-size: 18px;
  }

  .AddonInvoice .AddonPath li {
    column-gap: 10px;
    padding-bottom: 20px;
  }

  .AddonInvoice .AddonPath li p {
    padding: 9px;
    font-size: 12px;
  }

  /* درخواست ثبت‌شده */
  .AddonInvoice.is-request {
    padding: 16px;
  }

  .AddonInvoice.is-request h3 {
    font-size: 16px;
  }

  .AddonInvoice.is-request .AddonPath li {
    column-gap: 10px;
  }

  .AddonInvoice.is-request .AddonPath li p {
    padding: 10px;
    font-size: 12px;
  }

  .AddonInvoice.is-request .AddonInvoiceActions button {
    width: 100%;
  }
}

/* =========================================================
   30. دسترس‌پذیری: احترام به کاهش حرکت
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .PanelStage.is-entering,
  .DeskOrder,
  .PreviewSiteCard,
  .PreviewSiteOpen,
  .PreviewSiteOpen::after,
  .AddonForm input,
  .AddonForm select,
  .AddonForm textarea,
  .AddonForm .StudioBtn,
  a.AddonTicket,
  .AddonInvoice.is-request .StudioBtnGhost,
  .SupportNew,
  .SupportFilter,
  .SupportSwitch,
  .SupportForm input,
  .SupportForm textarea,
  .SupportReply textarea {
    animation: none;
    transition: none;
  }

  body.PanelPage .StudioStep.is-current i {
    animation: none;
  }
}




/* =========================================
   Studio Totals — Flat Brand Design
   Brand: #1c49bc
   ========================================= */

body.PanelPage .StudioScope,
body.PanelPage .StudioScope .StudioTotals {
  --totals-brand: #1c49bc;
  --totals-brand-soft: #eef3ff;
  --totals-border: #e7ebf2;
  --totals-text: #202b3c;
  --totals-muted: #778195;
  --totals-green: #168354;
  --totals-green-soft: #eaf7f0;

  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0px;
  margin: 0;
  background: #fff;
  border: 0px solid var(--totals-border);
  border-radius: 0px;
  color: var(--totals-text);
  direction: rtl;
  text-align: right;
  font-size: 14px;
  line-height: 1.8;
}

body.PanelPage .StudioScope .StudioTotals {
  padding: 8px 20px;

  border: var(--border);
}

/* ردیف‌های اصلی */

.StudioScope .StudioTotals>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--totals-border);
  background: transparent;
  border-radius: 0;
}

/* عنوان هر ردیف */

.StudioScope .StudioTotals>div>span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  color: #596579;
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* مبلغ‌ها */

.StudioScope .StudioTotals>div>span:last-child {
  flex: 0 0 auto;
  color: var(--totals-text);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  direction: rtl;
}

/* جمع اولیه */

.StudioScope .StudioTotals>div.is-grand:not(:last-child) {
  margin-top: 4px;
  padding: 15px 12px;
  background: var(--totals-brand-soft);
  border: 0;
  border-right: 3px solid var(--totals-brand);
  border-radius: 0px;
}

.StudioScope .StudioTotals>div.is-grand:not(:last-child)>span:first-child {
  color: var(--totals-brand);
  font-weight: 700;
}

.StudioScope .StudioTotals>div.is-grand:not(:last-child)>span:last-child {
  color: var(--totals-brand);
  font-size: 15px;
}

/* پیش‌پرداخت و قسط نهایی پرداخت‌شده */

.StudioScope .StudioTotals>div.is-paid {
  align-items: center;
}

.StudioScope .StudioTotals>div.is-paid>span:first-child {
  color: var(--totals-text);
  font-weight: 600;
}

.StudioScope .StudioTotals>div.is-paid>span:last-child {
  color: var(--totals-green);
}

/* برچسب وضعیت پرداخت */

.StudioScope .StudioTotals .StudioMeta.is-paid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  width: fit-content;
  max-width: 100%;
  margin-top: 3px;
  padding: 2px 7px;
  color: var(--totals-green);
  background: var(--totals-green-soft);
  border: 0;
  border-radius: 0px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* اطلاعات فاکتور افزونه */

.StudioScope .StudioTotals>div:not(.is-grand):not(.is-paid)>span:first-child>.StudioMeta:not(.is-paid) {
  display: block;
  margin-top: 3px;
  color: var(--totals-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

/* جمع کل نهایی */

.StudioScope .StudioTotals>div.is-grand:last-child {
  margin: 8px -20px -8px;
  padding: 17px 20px;
  background: var(--totals-brand);
  border: 0;
  border-radius: 0;
}

.StudioScope .StudioTotals>div.is-grand:last-child>span:first-child {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.StudioScope .StudioTotals>div.is-grand:last-child>span:last-child {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.StudioScope .StudioTotals>div.is-balance {
  margin: 8px -20px -8px;
  padding: 17px 20px;
  background: #1c49bc;
  border: 0;
  border-radius: 0;
}

.StudioScope .StudioTotals>div.is-balance>span:first-child,
.StudioScope .StudioTotals>div.is-balance>span:last-child {
  color: #fff;
}

.StudioScope .StudioTotals>div.is-balance>span:first-child {
  font-size: 14px;
  font-weight: 600;
}

.StudioScope .StudioTotals>div.is-balance>span:last-child {
  font-size: 17px;
  font-weight: 800;
}

.StudioScope .StudioTotals>div.is-balance .StudioMeta.is-unpaid {
  color: #ffe7c2;
  background: transparent;
  padding: 0;
}

/* تخفیف مخفی */

.StudioScope .StudioTotals>[data-discount-row].is-hidden {
  display: none !important;
}

/* موبایل */

@media (max-width: 600px) {
  .StudioScope .StudioTotals {
    padding: 6px 14px;
    border-radius: 0px;
    font-size: 13px;
  }

  .StudioScope .StudioTotals>div {
    gap: 12px;
    padding: 12px 0;
  }

  .StudioScope .StudioTotals>div>span:first-child {
    font-size: 12px;
  }

  .StudioScope .StudioTotals>div>span:last-child {
    font-size: 13px;
  }

  .StudioScope .StudioTotals>div.is-grand:not(:last-child) {
    padding: 12px 10px;
  }

  .StudioScope .StudioTotals>div.is-grand:last-child {
    margin: 8px -14px -6px;
    padding: 15px 14px;
  }

  .StudioScope .StudioTotals>div.is-grand:last-child>span:last-child {
    font-size: 15px;
  }

  .StudioScope .StudioTotals>div.is-balance {
    margin: 8px -14px -6px;
    padding: 15px 14px;
  }

  .StudioScope .StudioTotals>div.is-balance>span:last-child {
    font-size: 15px;
  }

  .StudioScope .StudioTotals .StudioMeta.is-paid {
    font-size: 10px;
  }
}

.DeskOrder.is-survey {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
}

.DeskOrderHit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  color: inherit;
  text-decoration: none;
}

.SurveyVeil {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: var(--backblue);
  cursor: pointer;
  background: rgb(245 247 250 / 30%);
  backdrop-filter: blur(8px);
  animation: surveyRise 0.45s ease both;
}

.SurveyVeil:hover,
.SurveyVeil:focus-visible {
  background: rgb(232 238 252 / 96%);
}

.SurveyVeilGlow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgb(28 73 188 / 16%), transparent 68%);
  animation: surveyPulse 2.4s ease-in-out infinite;
}

.SurveyVeilCopy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  color: var(--backblue);
}

.SurveyVeilCopy small {
  font-size: 12px;
  opacity: 0.86;
}

.SurveyVeilMark {
  color: #e2a008;
}

.SurveyVeil strong {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.SurveyScrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 20, 24, 0.46);
  backdrop-filter: blur(8px);
  animation: surveyIn 0.28s ease;
}

.SurveySheet {
  position: relative;
  width: min(560px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 28px 26px 22px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(255, 214, 120, 0.28), transparent 60%),
    #fff;
  box-shadow: 0 30px 80px rgba(18, 20, 24, 0.22);
  animation: surveyRise 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.SurveySheet h2 {
  margin: 6px 0 8px;
  font-size: 26px;
}

.SurveyKicker {
  margin: 0;
  color: #1c49bc;
  font-size: 13px;
}

.SurveyAsk {
  margin: 18px 0 10px;
  font-weight: 650;
}

.SurveyHint,
.SurveySheet>p {
  color: #636363;
}

.SurveyClose {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: #f5f7fa;
  font-size: 22px;
  cursor: pointer;
}

.SurveyStars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.SurveyStar {
  width: 46px;
  height: 46px;
  border: 0;
  background: #f5f7fa;
  color: #c5c8d0;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
  animation: surveyPop 0.4s ease both;
  animation-delay: calc(var(--i) * 40ms);
}

.SurveyStar.is-zero {
  width: 40px;
  font-size: 14px;
  font-weight: 700;
}

.SurveyStar.is-on,
.SurveyStar.is-picked {
  color: #e2a008;
  background: #fff8e8;
}

.SurveyStar:hover {
  transform: translateY(-3px) scale(1.06);
}

.SurveyRange {
  width: 100%;
  margin-top: 14px;
  accent-color: #e2a008;
}

.SurveyChoices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.SurveyChoice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
  animation: surveyPop 0.35s ease both;
  animation-delay: calc(var(--i) * 45ms);
}

.SurveyChoice i {
  width: 14px;
  height: 14px;
  border: 1px solid #c5c8d0;
  border-radius: 999px;
}

.SurveyChoice.is-on {
  border-color: #1c49bc;
  background: #eef3ff;
  color: #1c49bc;
}

.SurveyChoice.is-on i {
  border-color: #1c49bc;
  background: radial-gradient(circle at center, #1c49bc 0 4px, transparent 5px);
}

.SurveyNote {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.SurveyNote textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.SurveySheet .PanelBtnPrimary {
  margin-top: 16px;
}

.SurveySheet.is-thanks {
  text-align: center;
  padding-top: 42px;
}

@keyframes surveyIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes surveyRise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes surveyPop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes surveyPulse {
  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

@media (max-width: 900px) {
  .DeskOrderHit {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .SurveyVeil {
    background: rgb(245 247 250 / 96%);
  }
}

.SurveyInvite {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid #d5e0fb;
  background: #f5f7fa;
  color: var(--backblue);
  text-align: right;
  cursor: pointer;
}

.SurveyInvite strong {
  font-size: 16px;
}

.SurveyInvite span {
  color: #636363;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {

  .SurveyVeil,
  .SurveyStar,
  .SurveyChoice,
  .SurveyScrim,
  .SurveySheet,
  .SurveyVeilGlow {
    animation: none;
    transition: none;
  }
}