.vs1-inbox{ display:flex; gap:0; background:#fff; border:1px solid #eef1f4; border-radius:14px; box-shadow:0 2px 10px rgba(40,50,60,.06); margin:0 15px 20px; min-height:640px; height:calc(100vh - 300px); overflow:hidden; }
.vs1-inbox .ib-list{ flex:0 0 400px; max-width:400px; display:flex; flex-direction:column; border-right:1px solid #eef1f4; min-width:0; }
.vs1-inbox .ib-list-head{ padding:16px 16px 12px; border-bottom:1px solid #eef1f4; }
.vs1-inbox .ib-list-head p{ margin:0 0 12px; font-size:16px; }
.vs1-inbox .ib-seg{ display:flex; background:#f3f5f7; border-radius:9px; padding:4px; margin-bottom:12px; }
.vs1-inbox .ib-seg button{ flex:1 1 0; border:0; background:transparent; border-radius:9px; padding:8px 10px; font-size:16px; font-weight:700; cursor:pointer; }
.vs1-inbox .ib-seg button.active{ background:#fff; box-shadow:0 1px 4px rgba(40,50,60,.12); }
.vs1-inbox .ib-tools{ display:flex; gap:8px; }
.vs1-inbox .ib-tools select{ flex:1 1 auto; min-width:0; border:1px solid #dde2e6; border-radius:9px; padding:8px 10px; font-size:16px; background:#fff; }
.vs1-inbox .ib-tools .btn{ font-size:16px; flex:0 0 auto; }
.vs1-inbox .ib-ai{ margin-top:12px; display:flex; flex-direction:column; gap:6px; font-size:16px; }
.vs1-inbox .ib-items{ flex:1 1 auto; overflow-y:auto; padding:12px; }
.vs1-inbox .ib-item{ display:flex; gap:12px; padding:12px; border:1px solid #eef1f4; border-radius:12px; margin-bottom:10px; cursor:pointer; background:#fff; transition:border-color .12s ease, box-shadow .12s ease; }
.vs1-inbox .ib-item:hover{ border-color:#cfe9f3; box-shadow:0 2px 8px rgba(40,50,60,.06); }
.vs1-inbox .ib-item.active{ border-color:#00a3d3; box-shadow:0 0 0 3px rgba(0,163,211,.12); }
.vs1-inbox .ib-thumb{ flex:0 0 56px; width:56px; height:56px; border-radius:10px; background:#f3f5f7; display:flex; align-items:center; justify-content:center; overflow:hidden; font-size:22px; }
.vs1-inbox .ib-thumb img{ width:100%; height:100%; object-fit:cover; }
.vs1-inbox .ib-item-body{ flex:1 1 auto; min-width:0; }
.vs1-inbox .ib-meta{ display:flex; align-items:center; gap:6px; font-size:16px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.vs1-inbox .ib-meta i{ flex:0 0 auto; }
.vs1-inbox .ib-text{ font-size:16px; font-weight:600; margin-top:2px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word; }
.vs1-inbox .ib-count{ flex:0 0 auto; align-self:flex-start; font-size:16px; }
.vs1-inbox .ib-detail{ flex:1 1 auto; display:flex; flex-direction:column; min-width:0; }
.vs1-inbox .ib-detail-head{ display:flex; gap:12px; padding:16px 20px; border-bottom:1px solid #eef1f4; align-items:flex-start; }
.vs1-inbox .ib-detail-head .ib-thumb{ flex-basis:64px; width:64px; height:64px; }
.vs1-inbox .ib-detail-head h3{ margin:2px 0 4px; font-size:16px; font-weight:800; word-break:break-word; }
.vs1-inbox .ib-detail-head a{ font-size:16px; }
.vs1-inbox .ib-back{ display:none; font-size:16px; }
.vs1-inbox .ib-section{ padding:12px 20px 4px; font-size:16px; font-weight:800; text-transform:uppercase; letter-spacing:.3px; }
.vs1-inbox .ib-thread{ flex:1 1 auto; overflow-y:auto; padding:4px 20px 16px; }
.vs1-inbox .ib-comment{ display:flex; gap:12px; padding:12px 0; border-bottom:1px solid #f3f5f7; }
.vs1-inbox .ib-comment:last-child{ border-bottom:0; }
.vs1-inbox .ib-reply-row{ display:flex; gap:10px; padding:10px 0 0; }
.vs1-inbox .ib-avatar{ flex:0 0 40px; width:40px; height:40px; border-radius:50%; background:#eaf7fb; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:16px; overflow:hidden; }
.vs1-inbox .ib-reply-row .ib-avatar{ flex-basis:32px; width:32px; height:32px; }
.vs1-inbox .ib-avatar img{ width:100%; height:100%; object-fit:cover; }
.vs1-inbox .ib-c-body{ flex:1 1 auto; min-width:0; }
.vs1-inbox .ib-c-top{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; font-size:16px; }
.vs1-inbox .ib-c-top strong{ font-weight:800; }
.vs1-inbox .ib-c-text{ font-size:16px; white-space:pre-line; word-break:break-word; margin-top:2px; line-height:1.4; }
.vs1-inbox .ib-c-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:8px; }
.vs1-inbox .ib-act{ display:inline-flex; align-items:center; gap:7px; font-size:16px; font-weight:700; cursor:pointer; padding:4px 12px; white-space:nowrap; }
.vs1-inbox .ib-act i{ font-size:16px; }
.vs1-inbox .ib-c-sep{ display:none; }
.vs1-inbox .ib-act.btn-outline-primary{ color:#00a3d3; }
.vs1-inbox .ib-act.btn-outline-primary:hover, .vs1-inbox .ib-act.btn-outline-primary:focus{ color:#fff; }
.vs1-inbox .ib-act.btn-outline-secondary{ color:#6c757d; }
.vs1-inbox .ib-act.btn-outline-secondary:hover, .vs1-inbox .ib-act.btn-outline-secondary:focus{ color:#fff; }
.vs1-inbox .ib-act.btn-outline-danger{ color:#e74a3b; }
.vs1-inbox .ib-act.btn-outline-danger:hover, .vs1-inbox .ib-act.btn-outline-danger:focus{ color:#fff; }
.vs1-inbox .ib-c-reply{ margin-top:8px; }
.vs1-inbox .ib-c-note{ font-size:16px; color:#8a9199; margin-top:6px; }
.vs1-inbox .ib-you{ font-size:16px; }
.vs1-inbox .ib-composer{ border-top:1px solid #eef1f4; padding:12px 20px 16px; background:#fafbfc; }
.vs1-inbox .ib-chip{ display:inline-flex; align-items:center; gap:8px; background:#eaf7fb; border-radius:12px; padding:4px 12px; font-size:16px; margin-bottom:8px; max-width:100%; }
.vs1-inbox .ib-chip span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.vs1-inbox .ib-chip a{ cursor:pointer; font-weight:800; }
.vs1-inbox .ib-compose-row{ display:flex; gap:10px; align-items:flex-end; }
.vs1-inbox .ib-compose-row textarea{ flex:1 1 auto; min-width:0; box-sizing:border-box; border:1px solid #dde2e6; border-radius:9px; padding:6px 12px; font-size:16px; line-height:24px; resize:none; height:38px; min-height:38px; max-height:220px; overflow-y:hidden; outline:none; background:#fff; transition:height .15s ease; }
.vs1-inbox .ib-compose-row .btn{ height:38px; }
.vs1-inbox .ib-compose-row textarea:focus{ border-color:#00a3d3; box-shadow:0 0 0 3px rgba(0,163,211,.12); }
.vs1-inbox .ib-compose-row .btn{ font-size:16px; flex:0 0 auto; }
.vs1-inbox .ib-hint{ font-size:16px; margin-top:6px; }
.vs1-inbox .ib-empty{ flex:1 1 auto; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px 24px; font-size:16px; }
.vs1-inbox .ib-empty > i{ font-size:40px; margin-bottom:12px; }
.vs1-inbox .ib-empty .btn{ display:inline-flex; align-items:center; justify-content:center; }
.vs1-inbox .ib-loading{ text-align:center; padding:28px 12px; font-size:16px; }
.vs1-inbox .ib-error{ font-size:16px; margin:8px 0; }
.vs1-inbox .ib-bubbles{ flex:1 1 auto; overflow-y:auto; padding:16px 20px; display:flex; flex-direction:column; gap:6px; }
.vs1-inbox .ib-bubble{ max-width:min(560px, 75%); padding:8px 12px; border-radius:12px; font-size:16px; background:#f3f5f7; align-self:flex-start; }
.vs1-inbox .ib-bubble-text{ white-space:pre-line; word-break:break-word; line-height:1.4; }
.vs1-inbox .ib-bubble.mine{ background:#eaf7fb; align-self:flex-end; }
.vs1-inbox .ib-bubble-time{ font-size:16px; margin-top:2px; line-height:1.2; opacity:.8; }
.vs1-inbox .ib-bubble.mine .ib-bubble-time{ text-align:right; }
.vs1-inbox .ib-badge{ flex:0 0 auto; align-self:flex-start; display:inline-flex; align-items:center; justify-content:center; min-width:26px; height:26px; line-height:1; border-radius:13px; padding:0 8px; font-size:16px; font-weight:800; }
@media (max-width: 991px){
  .vs1-inbox{ height:auto; min-height:560px; flex-direction:column; }
  .vs1-inbox .ib-list{ flex:none; max-width:none; border-right:0; }
  .vs1-inbox.has-selection .ib-list{ display:none; }
  .vs1-inbox:not(.has-selection) .ib-detail{ display:none; }
  .vs1-inbox .ib-back{ display:inline-block; }
  .vs1-inbox .ib-thread, .vs1-inbox .ib-bubbles{ max-height:60vh; }
}

#pcSetupWizardPage { display: flex; flex-direction: column; gap: 20px; margin: 4px 0 0; padding: 24px 40px 20px; border-radius: 20px; background: linear-gradient(180deg, rgba(0, 163, 211, .07) 0, rgba(0, 163, 211, 0) 360px), var(--dm-paper2, #f6f8fb); color: var(--dm-text, #5a5c69); }

#pcSetupWizardPage .psw-steps { display: flex; width: 100%; max-width: 1240px; margin: 0 auto; }
#pcSetupWizardPage .psw-step { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px; border: none; background: none; padding: 0 4px; cursor: pointer; font-size: 16px; color: inherit; }
#pcSetupWizardPage .psw-step::before { content: ""; position: absolute; top: 20px; left: calc(-50% + 24px); right: calc(50% + 24px); height: 2px; background: var(--dm-border, #e3e6f0); }
#pcSetupWizardPage .psw-step:first-child::before { display: none; }
#pcSetupWizardPage .psw-step.psw-done::before, #pcSetupWizardPage .psw-step.psw-current::before { background: #00a3d3; }
#pcSetupWizardPage .psw-dot { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; border: 2px solid var(--dm-border-2, #d1d3e2); background: var(--dm-surface, #fff); }
#pcSetupWizardPage .psw-done .psw-dot { background: #1cc88a; border-color: #1cc88a; color: #fff; }
#pcSetupWizardPage .psw-current .psw-dot { background: #00a3d3; border-color: #00a3d3; color: #fff; box-shadow: 0 0 0 6px rgba(0, 163, 211, .22); }
#pcSetupWizardPage .psw-step-label { font-weight: 600; text-align: center; line-height: 1.2; }
#pcSetupWizardPage .psw-current .psw-step-label { font-weight: 800; }

#pcSetupWizardPage .psw-stage { flex: 1 1 auto; display: flex; width: 100%; max-width: 1240px; margin: 0 auto; }
#pcSetupWizardPage .psw-loading { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; }
#pcSetupWizardPage .psw-panel { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 44px 56px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 24px; background: var(--dm-surface, #fff); box-shadow: 0 20px 50px rgba(16, 42, 67, .07); }
#pcSetupWizardPage .psw-main, #pcSetupWizardPage .psw-visual { animation: pswIn .35s ease both; }
#pcSetupWizardPage .psw-visual { animation-delay: .06s; }
@keyframes pswIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

#pcSetupWizardPage .psw-center, #companySetupPage .psw-center { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; animation: pswIn .35s ease both; }
#pcSetupWizardPage .psw-center .psw-h, #pcSetupWizardPage .psw-center .psw-p, #companySetupPage .psw-center .psw-h, #companySetupPage .psw-center .psw-p { margin: 0; }
#pcSetupWizardPage .psw-center .psw-actions, #companySetupPage .psw-center .psw-actions { justify-content: center; margin-top: 10px; }
#pcSetupWizardPage .psw-big-icon, #companySetupPage .psw-big-icon, .vsw-pv-frame .psw-big-icon { width: 88px; height: 88px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2.5rem; background: rgba(0, 163, 211, .12); color: #00a3d3; }
#pcSetupWizardPage .psw-big-icon img, #companySetupPage .psw-big-icon img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
#pcSetupWizardPage .psw-kicker { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #00a3d3; margin-bottom: 14px; }
#pcSetupWizardPage .psw-chip-done { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-size: 16px; letter-spacing: 0; text-transform: none; background: var(--dm-green-soft, #e3f8ef); color: var(--dm-green-text, #12805a); }
#pcSetupWizardPage .psw-h, #companySetupPage .psw-h, #cswFirstStepModal .psw-h, .vsw-pv-frame .psw-h { font-size: 2.5rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 16px; color: inherit; }
#pcSetupWizardPage .psw-p, #companySetupPage .psw-p, #cswFirstStepModal .psw-p, .vsw-pv-frame .psw-p { font-size: 1.25rem; line-height: 1.6; margin: 0 0 28px; max-width: 560px; }

#pcSetupWizardPage .psw-form, #companySetupPage .psw-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; max-width: 600px; }
#pcSetupWizardPage .psw-form-one { grid-template-columns: 1fr; max-width: 420px; }
#pcSetupWizardPage .psw-field label, #companySetupPage .psw-field label { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
#pcSetupWizardPage .psw-field .form-control, #companySetupPage .psw-field .form-control { font-size: 16px; border-radius: 12px; height: 54px; }
#pcSetupWizardPage .psw-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#pcSetupWizardPage .psw-actions .btn, #pcSetupWizardPage .psw-foot .btn-primary { border-radius: 12px; padding: 13px 26px; font-size: 16px; font-weight: 700; }
#pcSetupWizardPage .btn i { margin-right: 8px; }
#pcSetupWizardPage .pswNext i, #pcSetupWizardPage .psw-foot .pswFinish i { margin: 0 0 0 8px; }
#pcSetupWizardPage .psw-note { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 16px; opacity: .8; }

#pcSetupWizardPage .psw-card { padding: 28px; border-radius: 18px; background: var(--dm-surface-2, #f6f8fb); border: 1px solid var(--dm-border, #e9edf3); }
#pcSetupWizardPage .psw-card-head { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; margin-bottom: 20px; }
#pcSetupWizardPage .psw-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; background: var(--dm-surface, #fff); color: #00a3d3; box-shadow: 0 2px 8px rgba(16, 42, 67, .08); }
#pcSetupWizardPage .psw-card-muted { font-size: 16px; margin: 14px 0 0; opacity: .7; }


#pcSetupWizardPage .psw-accounts { display: flex; flex-direction: column; gap: 10px; }
#pcSetupWizardPage .psw-acct { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; background: var(--dm-surface, #fff); }
#pcSetupWizardPage .psw-acct-av { position: relative; flex: 0 0 auto; width: 44px; height: 44px; }
#pcSetupWizardPage .psw-acct-av > img:first-child, #pcSetupWizardPage .psw-acct-av > span { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; font-weight: 800; background: var(--dm-surface-2, #edf1f6); }
#pcSetupWizardPage .psw-acct-badge { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 2px var(--dm-surface, #fff); }
#pcSetupWizardPage .psw-acct-name { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pcSetupWizardPage .psw-platforms { display: flex; gap: 18px; font-size: 2.5rem; opacity: .45; }

#pcSetupWizardPage .psw-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
#pcSetupWizardPage .psw-timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--dm-border-2, #d8e0ea); }
#pcSetupWizardPage .psw-timeline li { position: relative; display: flex; flex-direction: column; padding: 0 0 18px 34px; }
#pcSetupWizardPage .psw-timeline li:last-child { padding-bottom: 0; }
#pcSetupWizardPage .psw-timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--dm-surface, #fff); border: 3px solid #00a3d3; }
#pcSetupWizardPage .psw-tl-day { font-size: 16px; font-weight: 800; }
#pcSetupWizardPage .psw-tl-what { font-size: 16px; opacity: .8; }

#pcSetupWizardPage .psw-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#pcSetupWizardPage .psw-thumb { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--dm-surface, #fff); }
#pcSetupWizardPage .psw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#pcSetupWizardPage .psw-thumb-empty { display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; border: 2px dashed var(--dm-border-2, #d8e0ea); background: transparent; font-size: 1.25rem; opacity: .7; }
#pcSetupWizardPage .psw-thumb-week { position: absolute; left: 8px; bottom: 6px; font-size: 16px; font-weight: 700; }
#pcSetupWizardPage .psw-thumb-empty .psw-thumb-week { position: static; }
#pcSetupWizardPage .psw-thumb:not(.psw-thumb-empty) .psw-thumb-week { padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; }

#pcSetupWizardPage .psw-foot { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 1240px; margin: 0 auto; }
#pcSetupWizardPage .psw-foot .btn-link { font-weight: 700; text-decoration: none; }
#pcSetupWizardPage .psw-foot .btn-link:hover, #pcSetupWizardPage .psw-foot .btn-link:focus, #companySetupPage .psw-foot .btn-link:hover, #companySetupPage .psw-foot .btn-link:focus { color: #00a3d3; background-color: transparent; border-color: transparent; box-shadow: none; animation: none; text-decoration: underline; }
#pcSetupWizardPage .psw-flex { flex: 1 1 auto; }

@media (max-width: 1199px) {
  #pcSetupWizardPage { padding: 20px; }
  #pcSetupWizardPage .psw-panel { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  #pcSetupWizardPage .psw-form { grid-template-columns: 1fr; }
}
#pcSetupWizardPage .psw-note + .psw-actions { margin-top: 20px; }
#pcSetupWizardPage .psw-center .psw-kicker, #companySetupPage .psw-center .psw-kicker { justify-content: center; margin-bottom: 0; }
#pcSetupWizardPage .psw-plats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 760px; margin-top: 8px; }
#pcSetupWizardPage .psw-plat { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 8px 16px; border: 2px solid var(--dm-border, #e3e6f0); border-radius: 16px; background: var(--dm-surface, #fff); font-size: 16px; font-weight: 700; color: inherit; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
#pcSetupWizardPage .psw-plat img { width: 40px; height: 40px; opacity: .45; filter: grayscale(1); transition: opacity .15s ease, filter .15s ease; }
#pcSetupWizardPage .psw-plat-on { border-color: #00a3d3; box-shadow: 0 8px 20px rgba(0, 163, 211, .14); }
#pcSetupWizardPage .psw-plat-on img { opacity: 1; filter: none; }
#pcSetupWizardPage .psw-plat-tick { position: absolute; top: 10px; right: 10px; font-size: 16px; opacity: .35; }
#pcSetupWizardPage .psw-plat-on .psw-plat-tick { color: #00a3d3; opacity: 1; }
#pcSetupWizardPage .psw-rows { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 640px; margin-top: 8px; text-align: left; }
#pcSetupWizardPage .psw-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 14px; background: var(--dm-surface, #fff); }
#pcSetupWizardPage .psw-row .form-control { font-size: 16px; border-radius: 10px; height: 44px; }
#pcSetupWizardPage .psw-row-name { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
#pcSetupWizardPage .psw-row-name img { width: 26px; height: 26px; }
#pcSetupWizardPage .psw-days { display: inline-flex; gap: 8px; margin-top: 4px; }
#pcSetupWizardPage .psw-days .btn { border-radius: 999px; padding: 8px 22px; font-size: 16px; font-weight: 700; }
#pcSetupWizardPage .psw-progress { width: 100%; max-width: 460px; height: 10px; border-radius: 999px; overflow: hidden; background: var(--dm-surface-2, #edf1f6); }
#pcSetupWizardPage .psw-progress-bar { width: 100%; height: 100%; border-radius: 999px; background: #00a3d3; transform-origin: left center; transition: transform .4s ease; }
#pcSetupWizardPage .psw-row-2 { grid-template-columns: 180px minmax(0, 1fr); max-width: 480px; margin: 0 auto; width: 100%; }
#pcSetupWizardPage .psw-acc-groups, .pw .psw-acc-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; max-width: 900px; margin-top: 8px; }
#pcSetupWizardPage .psw-acc-group, .pw .psw-acc-group { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 16px 12px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 16px; background: var(--dm-surface, #fff); }
#pcSetupWizardPage .psw-acc-plat, .pw .psw-acc-plat { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
#pcSetupWizardPage .psw-acc-plat img, .pw .psw-acc-plat img { width: 22px; height: 22px; }
#pcSetupWizardPage .psw-acc-group .pst-acc-list { gap: 10px; }
#pcSetupWizardPage .psw-step.psw-locked { cursor: not-allowed; opacity: .55; }
#pcSetupWizardPage .psw-next-hint { font-size: 16px; opacity: .75; }
#pcSetupWizardPage .pswNext:disabled { opacity: .45; cursor: not-allowed; }
#pcSetupWizardPage .psw-results { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 16px; margin-top: 12px; }
#pcSetupWizardPage .psw-result { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: none; background: none; color: inherit; cursor: pointer; }
#pcSetupWizardPage .psw-result-box { position: relative; display: block; height: 180px; max-width: 320px; border-radius: 12px; overflow: hidden; background: var(--dm-surface-2, #edf1f6); box-shadow: 0 6px 18px rgba(16, 42, 67, .12); transition: transform .15s ease; }
#pcSetupWizardPage .psw-result:hover .psw-result-box { transform: translateY(-2px); }
#pcSetupWizardPage .psw-result-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
#pcSetupWizardPage .psw-result-icon { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .55); color: #fff; }
#pcSetupWizardPage .psw-result-name { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; }
#pcSetupWizardPage .psw-result-name img { width: 20px; height: 20px; }
#pswPreviewModal .psw-preview-body { display: flex; flex-direction: column; align-items: center; gap: 14px; }
#pswPreviewModal .psw-preview-media { display: block; flex: 0 1 auto; min-height: 160px; max-width: 100%; max-height: 55vh; object-fit: contain; border-radius: 10px; }
#pswPreviewModal .psw-preview-caption { flex: none; width: 100%; font-size: 16px; white-space: pre-wrap; }
#pswPreviewModal .psw-loading { min-height: 240px; display: flex; align-items: center; justify-content: center; gap: 8px; }
#pcSetupWizardPage .psw-acc-group { padding: 20px 24px 18px; gap: 16px; }
#pcSetupWizardPage .psw-acc-plat { font-size: 1.25rem; }
#pcSetupWizardPage .psw-acc-plat img { width: 30px; height: 30px; }
#pcSetupWizardPage .psw-acc-group .pst-acc-list { gap: 18px; }
#pcSetupWizardPage .pst-acc-tile { width: 140px; gap: 12px; }
#pcSetupWizardPage .pst-acc-circle { width: 104px; height: 104px; }
#pcSetupWizardPage .pst-acc-av, #pcSetupWizardPage .pst-acc-init { width: 104px; height: 104px; font-size: 2.5rem; }
#pcSetupWizardPage .pst-acc-tick { width: 32px; height: 32px; right: 0; bottom: 0; font-size: 1.25rem; }
#pcSetupWizardPage .pst-acc-name { max-width: 140px; font-size: 1.25rem; }
#pcSetupWizardPage .psw-provs { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 460px; margin-top: 18px; }
#pcSetupWizardPage .psw-prov { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 14px; background: var(--dm-surface, #fff); color: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
#pcSetupWizardPage .psw-prov:hover:not([disabled]) { border-color: #00a3d3; transform: translateY(-1px); }
#pcSetupWizardPage .psw-prov[disabled] { opacity: .45; cursor: not-allowed; }
#pcSetupWizardPage .psw-prov img { width: 30px; height: 30px; border-radius: 50%; flex: none; }
#pcSetupWizardPage .psw-prov-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#pcSetupWizardPage .psw-prov-title { font-size: 16px; font-weight: 700; }
#pcSetupWizardPage .psw-prov-desc { font-size: 16px; opacity: .7; }
#pcSetupWizardPage .psw-tasks, #companySetupPage .psw-tasks, #companyKnowledgeModal .psw-tasks { list-style: none; margin: 18px auto 6px; padding: 8px; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 16px; background: var(--dm-surface, #fff); text-align: left; }
#pcSetupWizardPage .psw-task, #companySetupPage .psw-task, #companyKnowledgeModal .psw-task { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 10px; font-size: 16px; transition: background-color .2s ease, opacity .2s ease; }
#pcSetupWizardPage .psw-task-dot, #companySetupPage .psw-task-dot, #companyKnowledgeModal .psw-task-dot { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; border: 2px solid var(--dm-border-2, #d1d3e2); transition: background-color .2s ease, border-color .2s ease; }
#pcSetupWizardPage .psw-task-todo, #companySetupPage .psw-task-todo { opacity: .5; }
#pcSetupWizardPage .psw-task-done .psw-task-dot, #companySetupPage .psw-task-done .psw-task-dot { border-color: #1cc88a; background: #1cc88a; color: #fff; animation: psw-pop .25s ease-out; }
#pcSetupWizardPage .psw-task-running, #companySetupPage .psw-task-running, #companyKnowledgeModal .psw-task-running { background: rgba(0, 163, 211, .08); font-weight: 700; }
#pcSetupWizardPage .psw-task-running .psw-task-dot, #companySetupPage .psw-task-running .psw-task-dot, #companyKnowledgeModal .psw-task-running .psw-task-dot { border-color: rgba(0, 163, 211, .2); border-top-color: #00a3d3; animation: psw-spin .8s linear infinite; }
#pcSetupWizardPage .psw-task-failed .psw-task-dot, #companySetupPage .psw-task-failed .psw-task-dot { border-color: #e74a3b; background: #e74a3b; color: #fff; }
@keyframes psw-spin { to { transform: rotate(360deg); } }
@keyframes psw-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { #pcSetupWizardPage .psw-task-done .psw-task-dot, #companySetupPage .psw-task-done .psw-task-dot { animation: none; } #pcSetupWizardPage .psw-task-running .psw-task-dot, #companySetupPage .psw-task-running .psw-task-dot { animation-duration: 2s; } }
#pcSetupWizardPage .psw-alert, #companySetupPage .psw-alert { display: flex; align-items: flex-start; gap: 14px; width: 100%; max-width: 520px; margin: 18px auto 0; padding: 16px 18px; border: 1px solid rgba(231, 74, 59, .25); border-radius: 16px; background: rgba(231, 74, 59, .06); text-align: left; }
#pcSetupWizardPage .psw-alert-icon, #companySetupPage .psw-alert-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; background: #e74a3b; color: #fff; }
#pcSetupWizardPage .psw-alert-text, #companySetupPage .psw-alert-text { display: flex; flex-direction: column; gap: 2px; font-size: 16px; }
#pcSetupWizardPage .psw-alert-title, #companySetupPage .psw-alert-title { font-weight: 800; }
#pswPreviewModal .modal-content { max-height: calc(100vh - 3.5rem); }
#pswPreviewModal .modal-body { overflow-y: auto; min-height: 0; }
#pswPreviewModal .modal-header, #pswPreviewModal .modal-footer { flex: none; }
#pcSetupWizardPage .psw-link { padding: 0; border: none; background: none; color: #00a3d3; font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#pcSetupWizardPage .psw-link[disabled] { opacity: .6; cursor: default; }
#pcSetupWizardPage .psw-thumb-open { display: block; width: 100%; height: 100%; padding: 0; border: none; background: none; cursor: zoom-in; }
#pcSetupWizardPage .psw-thumb-open img { transition: transform .2s ease; }
#pcSetupWizardPage .psw-thumb-open:hover img { transform: scale(1.04); }
#pcSetupWizardPage .psw-thumb-del { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; transition: background-color .15s ease; }
#pcSetupWizardPage .psw-thumb-del:hover, #pcSetupWizardPage .psw-thumb-del:focus-visible { background: #e74a3b; }
#pcSetupWizardPage .psw-info { display: flex; align-items: flex-start; gap: 14px; width: 100%; max-width: 520px; margin-top: 20px; padding: 16px 18px; border: 1px solid rgba(246, 194, 62, .55); border-radius: 16px; background: rgba(246, 194, 62, .12); text-align: left; }
#pcSetupWizardPage .psw-center .psw-info { margin-left: auto; margin-right: auto; }
#pcSetupWizardPage .psw-info-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; background: #f6c23e; color: #fff; }
#pcSetupWizardPage .psw-info-text { display: flex; flex-direction: column; gap: 2px; font-size: 16px; }
#pcSetupWizardPage .psw-info-title { font-weight: 800; }
#pcSetupWizardPage .psw-info + .psw-actions, #pcSetupWizardPage .psw-info + .psw-provs { margin-top: 20px; }
#pcSetupWizardPage .psw-main .psw-info { max-width: 460px; }
#pcSetupWizardPage .psw-done-card { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 460px; margin-top: 20px; padding: 16px 18px; border: 1px solid rgba(28, 200, 138, .35); border-radius: 16px; background: rgba(28, 200, 138, .08); }
#pcSetupWizardPage .psw-done-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; background: #1cc88a; color: #fff; }
#pcSetupWizardPage .psw-done-text { display: flex; flex-direction: column; gap: 2px; font-size: 16px; }
#pcSetupWizardPage .psw-done-title { font-size: 1.25rem; font-weight: 800; }

#companyKnowledgeModal { z-index: 1070; }
.modal-backdrop.ckm-backdrop { z-index: 1065; }
#companyKnowledgeModal .ckm-intro { font-size: 16px; margin-bottom: 16px; }
#companyKnowledgeModal .ckm-label { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
#companyKnowledgeModal .ckm-text { font-size: 16px; line-height: 1.5; min-height: 280px; max-height: 55vh; resize: vertical; }
#companyKnowledgeModal .ckm-error { margin: 14px 0 0; font-size: 16px; }

.pst { height: calc(100vh - 120px); min-height: 680px; display: flex; flex-direction: column; background: var(--dm-surface-2, #f8f9fc); margin: 0 15px 15px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 8px; overflow: hidden; font-size: 16px; color: var(--dm-text-muted, #5a5c69); }
.pst * { box-sizing: border-box; }
.pst-loading { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 40px; flex: 1; }
.pst-mono { font-family: SFMono-Regular, Menlo, Consolas, monospace; }
.pst-muted { color: var(--dm-text-muted, #6e707e); }
.pst-strong { font-weight: 800; color: var(--dm-text, #3a3b45); }
.pst-label { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dm-text-muted, #858796); }
.pst-flex { flex: 1; }
.pst-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pst-nowrap { white-space: nowrap; }
.pst-center { text-align: center; }

.pst-header { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; padding: 10px 18px; background: var(--dm-surface, #fff); border-bottom: 1px solid var(--dm-border, #e3e6f0); flex: none; }
.pst-iconbtn { width: 34px; height: 34px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 6px; background: var(--dm-surface, #fff); color: var(--dm-text-muted, #5a5c69); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pst-titleblock { display: flex; flex-direction: column; min-width: 220px; flex: 1; }
.pst-name { font: inherit; font-size: 17px; font-weight: 800; color: var(--dm-text, #3a3b45); border: 1px solid transparent; border-radius: 6px; padding: 1px 6px; margin-left: -7px; background: transparent; outline: none; min-width: 0; width: 100%; max-width: 440px; }
.pst-name:hover { border-color: var(--dm-border, #e3e6f0); }
.pst-name:focus { border-color: #00a3d3; background: var(--dm-surface, #fff); }
.pst-sub { color: var(--dm-text-muted, #6e707e); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pst-phases { display: flex; align-items: center; gap: 10px; }
.pst-phase { display: flex; align-items: center; gap: 8px; }
.pst-phase-dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.pst-phase-label { font-weight: 700; white-space: nowrap; }
.pst-phase-line { width: 24px; height: 1px; background: var(--dm-border-2, #d1d3e2); }
.pst-actions { display: flex; gap: 8px; align-items: center; }
.pst-btn { height: 36px; padding: 0 14px; border: 1px solid transparent; border-radius: 6px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; color: #fff; white-space: nowrap; }
.pst-btn-white { background: var(--dm-surface, #fff); border-color: var(--dm-border, #e3e6f0); color: var(--dm-text, #3a3b45); }
.pst-btn-white:hover { border-color: #00a3d3; color: #00a3d3; }
.pst-btn-primary { background: #00a3d3; border-color: #00a3d3; color: #fff; }
.pst-btn-disabled { background: var(--dm-surface, #fff); border-color: var(--dm-border, #e3e6f0); color: #b7b9cc; cursor: not-allowed; }
.pst-btn-danger { background: #e74a3b; border-color: #e74a3b; color: #fff; }
.pst-btn-green { background: #1cc88a; border-color: #1cc88a; color: #fff; }
.pst-splitter { flex: none; width: 6px; margin: 0 -3px; position: relative; z-index: 3; cursor: col-resize; background: transparent; }
.pst-splitter:hover, .pst-resizing .pst-splitter { background: var(--dm-surface-3, #bfe7f4); }
body.pst-resizing { cursor: col-resize; user-select: none; }
.pst-sched-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; color: var(--dm-text, #3a3b45); }
.pst-sched-when { color: var(--dm-text-muted, #6e707e); white-space: nowrap; }
.pst-sched-hook { min-width: 0; }
.pst-sched-icons { display: flex; gap: 6px; color: var(--dm-text-muted, #5a5c69); }

.pst-body { flex: 1; min-height: 0; display: flex; }
.pst-sidebar { width: 296px; flex: none; background: var(--dm-surface, #fff); border-right: 1px solid var(--dm-border, #e3e6f0); display: flex; flex-direction: column; padding: 14px 10px; gap: 4px; overflow-y: auto; }
.pst-company { display: flex; flex-direction: column; gap: 2px; padding: 0 8px 10px; border-bottom: 1px solid var(--dm-border, #eef0f6); margin-bottom: 6px; }
.pst-company-name { font-weight: 800; color: var(--dm-text, #3a3b45); display: flex; align-items: center; gap: 8px; }
.pst-company-name i { color: var(--dm-text-muted, #858796); }
.pst-section-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 4px; }
.pst-section-gap { padding-top: 16px; }
.pst-sqbtn { width: 30px; height: 30px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 6px; background: var(--dm-surface, #fff); color: #00a3d3; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pst-sqbtn:hover:not([disabled]) { border-color: #00a3d3; }
.pst-item { display: flex; flex-direction: column; gap: 3px; padding: 9px 10px; border-radius: 6px; cursor: pointer; }
.pst-item:hover { background: var(--dm-surface-3, #e8f1f7); }
.pst-item.active { background: var(--dm-surface-3, #e8f1f7); box-shadow: inset 3px 0 0 #00a3d3; }
.pst-item .pst-muted { line-height: 1.35; }
.pst-item-name { color: var(--dm-text, #3a3b45); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pst-badge { align-self: flex-start; font-weight: 700; padding: 0 8px; border-radius: 4px; }

.pst-chat { width: clamp(340px, 34%, 480px); flex: none; display: flex; flex-direction: column; background: var(--dm-surface, #fff); border-right: 1px solid var(--dm-border, #e3e6f0); min-height: 0; }
.pst-chat-head { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--dm-border, #e3e6f0); min-height: 76px; }
.pst-vicky { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; object-fit: cover; background: var(--dm-surface-3, #e8f6fb); border: 1px solid var(--dm-border, #e3e6f0); }
.pst-choices-q .pst-vicky { width: 44px; height: 44px; flex: 0 0 44px; }
.pst-transcript { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.pst-group { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.pst-rule { flex: 1; height: 1px; background: var(--dm-border, #e3e6f0); }
.pst-user { display: flex; gap: 8px; padding: 9px 12px; background: var(--dm-surface-2, #f3f5fa); border: 1px solid var(--dm-border, #e3e6f0); border-radius: 8px; color: var(--dm-text, #3a3b45); line-height: 1.5; }
.pst-prompt { color: var(--dm-text-muted, #858796); }
.pst-pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.pst-text { display: flex; gap: 10px; line-height: 1.55; color: var(--dm-text, #3a3b45); }
.pst-text > span:last-child { white-space: pre-wrap; overflow-wrap: anywhere; }
.pst-bullet { font-size: 10px; line-height: 24px; flex: none; }
.pst-error .pst-bullet { color: #e74a3b; }
.pst-tool { display: flex; flex-direction: column; gap: 2px; line-height: 1.55; }
.pst-tool-head { display: flex; gap: 10px; align-items: baseline; color: var(--dm-text, #3a3b45); }
.pst-tool-result { display: flex; gap: 8px; padding-left: 4px; color: var(--dm-text-muted, #6e707e); }
.pst-results { margin-left: 20px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 12px; background: var(--dm-surface, #fff); }
.pst-results-title { font-weight: 800; color: var(--dm-text, #3a3b45); display: flex; align-items: center; gap: 8px; }
.pst-results-items { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.pst-result { display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.pst-result-box { position: relative; border-radius: 6px; border: 1px solid var(--dm-border, #e3e6f0); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pst-result-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pst-result-box i { position: relative; color: var(--dm-text-muted, #5a5c69); font-size: 18px; background: var(--dm-glass, var(--dm-surface, rgba(255, 255, 255, .8))); border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.pst-result-name { font-weight: 700; color: var(--dm-text, #3a3b45); display: flex; align-items: center; gap: 6px; }
.pst-result .pst-muted { line-height: 1.3; }
.pst-results-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pst-results-actions .pst-btn { height: 34px; padding: 0 12px; }
.pst-working { display: flex; align-items: center; gap: 10px; margin-top: 6px; color: var(--dm-text-muted, #6e707e); }
.pst-composer-wrap { padding: 10px 14px 14px; border-top: 1px solid var(--dm-border, #e3e6f0); }
.pst-composer { border: 1px solid var(--dm-border-2, #d1d3e2); border-radius: 10px; background: var(--dm-surface, #fff); display: flex; flex-direction: column; }
.pst-input { border: none; outline: none; resize: none; padding: 10px 12px 4px; font: inherit; font-size: 16px; color: var(--dm-text, #3a3b45); background: transparent; }
.pst-composer-foot { display: flex; align-items: center; gap: 8px; padding: 6px 8px 8px 10px; }
.pst-hint { font-weight: 700; color: #2c9faf; display: flex; align-items: center; gap: 6px; }
.pst-mic, .pst-send { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 20px; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pst-mic { border: none; background: #00a3d3; color: #fff; }
.pst-mic.listening { background: #e74a3b; animation: pst-mic-pulse 1.4s ease-in-out infinite; }
.pst-send { border: 1px solid var(--dm-border-2, #d1d3e2); background: var(--dm-surface, #fff); color: var(--dm-text-muted, #858796); }
.pst-send:not([disabled]):hover { border-color: #00a3d3; color: #00a3d3; }
.pst-mic[disabled], .pst-send[disabled] { opacity: .5; cursor: not-allowed; animation: none; }
@keyframes pst-mic-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(231, 74, 59, .45); } 50% { box-shadow: 0 0 0 7px rgba(231, 74, 59, 0); } }

.pst-work { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pst-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 8px 16px; border-bottom: 1px solid var(--dm-border, #e3e6f0); background: var(--dm-surface, #fff); min-height: 48px; }
.pst-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pst-chip { height: 32px; padding: 0 11px; border: 1px solid; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 7px; }
.pst-dashbtn { height: 32px; padding: 0 10px; border: 1px dashed var(--dm-border-2, #c9ccd9); border-radius: 6px; background: var(--dm-surface, #fff); color: var(--dm-text-muted, #5a5c69); font: inherit; font-size: 16px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.pst-dashbtn:hover { border-color: #00a3d3; color: #00a3d3; }
.pst-canvas-wrap { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; }
.pst-canvas { flex: 1; min-height: 0; position: relative; overflow: auto; user-select: none; background-color: var(--dm-surface-2, #f8f9fc); background-image: radial-gradient(var(--dm-border, #dfe2ec) 1px, transparent 1px); background-size: 18px 18px; }
.pst-canvas-size { position: relative; margin: 0 auto; }
.pst-canvas-inner { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.pst-svg { position: absolute; inset: 0; overflow: visible; }
.pst-edge-label { position: absolute; transform: translate(-50%, -50%); font-weight: 600; line-height: 1.2; background: var(--dm-surface, #fff); border: 1px solid; border-radius: 4px; padding: 2px 7px; white-space: nowrap; max-width: 116px; overflow: hidden; text-overflow: ellipsis; cursor: pointer; z-index: 1; }
.pst-edge-label:hover { border-color: #00a3d3 !important; color: #00a3d3 !important; }
.pst-node { position: absolute; width: 208px; height: 132px; border-radius: 10px; background: var(--dm-surface, #fff); padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; overflow: hidden; z-index: 2; }
.pst-node-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pst-node-tag { color: var(--dm-text-muted, #858796); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pst-node-icons { display: flex; align-items: center; gap: 8px; }
.pst-node-edit { width: 24px; height: 24px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 6px; background: var(--dm-surface, #fff); color: var(--dm-text-muted, #5a5c69); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.pst-node-edit:hover { background: var(--dm-surface-3, #e8f1f7); color: #00a3d3; border-color: #00a3d3; }
.pst-node-title { font-weight: 800; color: var(--dm-text, #3a3b45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pst-node-summary { color: var(--dm-text-muted, #6e707e); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pst-node-foot { display: flex; align-items: flex-end; gap: 6px; }
.pst-node-status { font-weight: 800; white-space: nowrap; }
.pst-node-box { border-radius: 2px; border: 1px solid var(--dm-border-2, #c9ccd9); }
.pst-node-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--dm-surface-3, #e8f1f7); }
.pst-node-progress div { height: 3px; width: 60%; background: #00a3d3; }
.pst-zoom { position: absolute; left: 12px; bottom: 12px; z-index: 3; box-shadow: 0 2px 8px rgba(58, 59, 69, .12); display: flex; background: var(--dm-surface, #fff); border: 1px solid var(--dm-border, #e3e6f0); border-radius: 6px; overflow: hidden; }
.pst-zoom button { height: 30px; border: none; background: var(--dm-surface, #fff); color: var(--dm-text-muted, #5a5c69); cursor: pointer; }
.pst-zoom-out, .pst-zoom-in { width: 32px; }
.pst-zoom-fit { padding: 0 8px; border-left: 1px solid var(--dm-border, #e3e6f0) !important; border-right: 1px solid var(--dm-border, #e3e6f0) !important; color: var(--dm-text, #3a3b45) !important; font: inherit; font-size: 16px; font-weight: 700; min-width: 60px; }

.pst-drawer-head { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--dm-border, #eef0f6); }
.pst-pill { font-weight: 800; padding: 2px 9px; border-radius: 999px; color: #fff; }
.pst-btn-sm { height: 32px; padding: 0 10px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 6px; background: var(--dm-surface, #fff); color: var(--dm-text, #3a3b45); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.pst-btn-sm:hover { border-color: #00a3d3; color: #00a3d3; }
.pst-btn-sm.pst-btn-primary { background: #00a3d3; border-color: #00a3d3; color: #fff; }
.pst-remove-step { color: #e74a3b; font-weight: 400; }
.pst-close { width: 32px; height: 32px; border: none; background: none; color: var(--dm-text-muted, #858796); cursor: pointer; font-size: 16px; }
.pst-drawer-grid { flex: 1; min-height: 0; display: grid; }
.pst-grid-step { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.pst-grid-plat { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, .8fr); }
.pst-grid-pub { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pst-drawer-col { padding: 12px 18px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; border-right: 1px solid var(--dm-border, #e3e6f0); }
.pst-drawer-col:last-child { border-right: none; }
.pst-row-between { display: flex; align-items: center; justify-content: space-between; }
.pst-row-gap { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pst-instr { margin: 0; line-height: 1.55; color: var(--dm-text-muted, #5a5c69); white-space: pre-wrap; }
.pst-field { display: flex; flex-direction: column; gap: 4px; margin: 0; font-weight: 400; }
.pst-field input, .pst-field textarea, .pst-field select { border: 1px solid var(--dm-border-2, #d1d3e2); border-radius: 6px; padding: 0 10px; font: inherit; font-size: 16px; color: var(--dm-text, #3a3b45); background: var(--dm-surface, #fff); outline: none; }
.pst-field input, .pst-field select { height: 36px; }
.pst-field textarea { padding: 8px 10px; line-height: 1.5; resize: vertical; min-height: 64px; }
.pst-field input:focus, .pst-field textarea:focus, .pst-field select:focus { border-color: #00a3d3; box-shadow: 0 0 0 3px rgba(0, 163, 211, .15); }
.pst-link-row { display: flex; align-items: center; gap: 8px; color: var(--dm-text, #3a3b45); }
.pst-jump { cursor: pointer; }
.pst-link-input { flex: 1; min-width: 0; height: 32px; border: 1px solid var(--dm-border-2, #d1d3e2); border-radius: 6px; padding: 0 8px; font-size: 16px; color: var(--dm-text, #3a3b45); outline: none; }
.pst-link-input:focus { border-color: #00a3d3; }
.pst-gap-top { margin-top: 8px; }
.pst-formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pst-format { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font: inherit; text-align: left; cursor: pointer; }
.pst-format-ico { width: 34px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; }
.pst-format-ico > span { border: 1.5px solid #5a5c69; border-radius: 3px; display: flex; align-items: center; justify-content: center; color: var(--dm-text-muted, #5a5c69); }
.pst-format-text { display: flex; flex-direction: column; min-width: 0; }
.pst-set-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pst-set-label { font-weight: 700; color: var(--dm-text, #3a3b45); width: 96px; }
.pst-seg { display: flex; border: 1px solid var(--dm-border-2, #d1d3e2); border-radius: 6px; overflow: hidden; }
.pst-seg button { height: 32px; padding: 0 10px; border: none; border-right: 1px solid var(--dm-border, #e3e6f0); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.pst-seg button:last-child { border-right: none; }
.pst-switch { width: 42px; height: 24px; border: none; border-radius: 12px; padding: 2px; cursor: pointer; display: flex; }
.pst-switch span { width: 20px; height: 20px; border-radius: 50%; background: var(--dm-surface, #fff); transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.pst-stepper { display: flex; align-items: center; border: 1px solid var(--dm-border-2, #d1d3e2); border-radius: 6px; overflow: hidden; }
.pst-stepper button { width: 32px; height: 32px; border: none; background: var(--dm-surface, #fff); color: var(--dm-text-muted, #5a5c69); cursor: pointer; }
.pst-stepper span { min-width: 36px; text-align: center; font-weight: 800; color: var(--dm-text, #3a3b45); }
.pst-preview-col { align-items: center; justify-content: center; background: var(--dm-surface-2, #f8f9fc); }
.pst-preview-box { border-radius: 6px; border: 1px solid var(--dm-border-2, #d1d3e2); display: flex; align-items: center; justify-content: center; }
.pst-preview-box i { color: var(--dm-text-muted, #5a5c69); font-size: 18px; }

.pst-modal-content { border: none; border-radius: 12px; box-shadow: 0 12px 40px rgba(58, 59, 69, .25); overflow: hidden; font-size: 16px; color: var(--dm-text-muted, #5a5c69); }
.pst-modal-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--dm-border, #e3e6f0); cursor: move; }
.pst-drawer-head { cursor: move; }
.pst-modal-head .close, .pst-drawer-head .close { margin: -8px -8px -8px 0; padding: 0 8px; }
.pst-modal-title { font-size: 18px; font-weight: 800; color: var(--dm-text, #3a3b45); flex: 1; }
.pst-modal-body { max-height: calc(100vh - 220px); overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }
.pst-node-body { padding: 0; min-height: 280px; display: flex; flex-direction: column; }
.pst-node-body .pst-drawer-grid { min-height: 280px; }
.pst-modal-foot { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--dm-border, #e3e6f0); background: var(--dm-surface-2, #f8f9fc); cursor: move; }
.pst-modal-foot > * { margin: 0; }
.pst-modal-foot .pst-btn { height: 38px; cursor: pointer; }
.pst-confirm-auto { color: #fff; border: none; }
.pst-failure { display: flex; align-items: center; gap: 16px; margin: 14px 18px 0; padding: 12px 14px; border: 1px solid #e74a3b; border-radius: 8px; background: var(--dm-red-soft, var(--dm-surface-2, #fdf1f0)); }
.pst-failure > div { flex: 1; }
.pst-failure p { margin: 4px 0 0; color: var(--dm-text, #3a3b45); }
.pst-inline-btn { display: inline-flex; margin-left: 10px; vertical-align: middle; height: 30px; }
.pst-choices { margin-left: 20px; border: 1px solid #00a3d3; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--dm-surface-2, #f5fbfd); }
.pst-choices-q { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--dm-text, #3a3b45); }
.pst-choices-answered { display: flex; align-items: center; gap: 8px; color: #17a673; font-weight: 700; }
.pst-choice { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 8px; background: var(--dm-surface, #fff); font: inherit; text-align: left; cursor: pointer; }
.pst-choice:hover { border-color: #00a3d3; background: var(--dm-surface-3, #e8f6fb); }
.pst-choice-num { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--dm-surface-2, #f3f5fa); color: var(--dm-text, #3a3b45); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.pst-choice-text { display: flex; flex-direction: column; gap: 2px; color: var(--dm-text, #3a3b45); }
.pst-choice-other { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 10px; border: 1px dashed var(--dm-border-2, #c9ccd9); border-radius: 8px; background: var(--dm-surface, #fff); }
.pst-choice-input { flex: 1; min-width: 0; border: none; outline: none; font: inherit; font-size: 16px; color: var(--dm-text, #3a3b45); background: transparent; }
.pst-choice-send { width: 32px; height: 32px; border: none; border-radius: 8px; background: #00a3d3; color: #fff; cursor: pointer; }
.pst-preview-body { align-items: center; }
.pst-preview-media { max-width: 100%; max-height: 60vh; border-radius: 6px; }
.pst-preview-caption { white-space: pre-wrap; align-self: stretch; color: var(--dm-text, #3a3b45); line-height: 1.5; }

.pst-posting { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 14px 18px; border-top: 1px solid var(--dm-border, #e3e6f0); }
.pst-posting-accounts, .pst-posting-time { display: flex; flex-direction: column; gap: 8px; }
.pst-acc-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pst-acc { height: 36px; padding: 0 11px; border: 1px solid; border-radius: 6px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 7px; }
.pst-acc-list .pst-dashbtn { height: 36px; color: #00a3d3; }
.pst-invalid { color: #e74a3b; }
.pst-invalid-inline { color: #e74a3b; }
.pst-posting-time select, .pst-set-row select { height: 36px; border: 1px solid var(--dm-border-2, #d1d3e2); border-radius: 6px; padding: 0 8px; font: inherit; font-size: 16px; color: var(--dm-text, #3a3b45); background: var(--dm-surface, #fff); outline: none; }
.pst-set-row select { flex: 1; min-width: 200px; }
.pst-rec { color: #17a673; display: flex; align-items: center; gap: 5px; }
.pst-linkbtn { border: none; background: none; padding: 0; text-align: left; font: inherit; font-size: 16px; color: #00a3d3; cursor: pointer; }
.pst-pub-row { display: grid; grid-template-columns: 130px 60px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.pst-pub-row .pst-strong { display: flex; align-items: center; gap: 7px; }

@media (max-width: 991px) {
  .pst-posting { grid-template-columns: 1fr; }
  .pst-body { flex-direction: column; overflow-y: auto; }
  .pst-chat { width: 100%; min-height: 420px; border-right: none; border-bottom: 1px solid var(--dm-border, #e3e6f0); }
  .pst-work { min-height: 560px; }
  .pst-grid-step, .pst-grid-plat, .pst-grid-pub { grid-template-columns: 1fr; }
  .pst-splitter { display: none; }
  .pst-chat { width: 100% !important; }
}
.pst-rule-row { display: flex; align-items: center; gap: 8px; line-height: 1.5; }
.pst-rule-row span { flex: 1; min-width: 0; }
.pst-rule-add { display: flex; gap: 8px; margin-top: 4px; }
.pst-rule-input { flex: 1; min-width: 0; height: 32px; border: 1px solid var(--dm-border-2, #d1d3e2); border-radius: 6px; padding: 0 10px; font: inherit; font-size: 16px; outline: none; }
.pst-rule-input:focus { border-color: #00a3d3; box-shadow: 0 0 0 3px rgba(0, 163, 211, .15); }
.pst-plat-ico { width: 18px; height: 18px; border-radius: 50%; flex: none; vertical-align: middle; object-fit: cover; }
.pst-acc-tile { width: 88px; border: none; background: none; padding: 4px 0; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 7px; transition: opacity .15s; }
.pst-acc-circle { position: relative; width: 56px; height: 56px; }
.pst-acc-av, .pst-acc-init { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.pst-acc-init.d-none { display: none; }
.pst-acc-plus { border: 1px dashed var(--dm-border-2, #c9ccd9); color: #00a3d3; background: var(--dm-surface, #fff); }
.pst-acc-tick { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--dm-surface, #fff); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .22); }
.pst-acc-name { max-width: 88px; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pst-time-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: .4rem; padding: 10px 11px; }
.pst-time-row .pst-plat-tz { width: auto; min-width: 250px; max-width: 100%; font-size: 16px; font-weight: 700; }
.pst-tz-pill { font-size: 16px; font-weight: 800; color: var(--dm-text-muted, #858796); background: var(--dm-surface-2, #f0f1f5); border-radius: 20px; padding: 3px 9px; }
.pst-time-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--dm-border-2, #d1d3e2); border-radius: .35rem; padding: 3px 4px 3px 8px; }
.pst-time-chip .far { color: #b7b9cc; }
.pst-actions .btn { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.pst-node-body .pst-grid-compact { min-height: 0; flex: none; }
.pst-avatars { border-top: 1px solid var(--dm-border, #e3e6f0); display: flex; flex-direction: column; padding-bottom: 18px; }
.pst-av-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 16px 18px; background: var(--dm-surface-2, #f8f9fc); border-bottom: 1px solid var(--dm-border, #e3e6f0); }
.pst-av-current { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pst-av-current-img { width: 56px; height: 56px; border-radius: 50%; flex: none; background: var(--dm-surface, #fff); border: 1px solid var(--dm-border, #e3e6f0); display: flex; align-items: center; justify-content: center; color: #b7b9cc; font-size: 22px; overflow: hidden; }
.pst-av-current-img img { width: 100%; height: 100%; object-fit: cover; }
.pst-av-current-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pst-av-voice { display: flex; align-items: center; gap: 10px; margin: 0; }
.pst-av-voice select { width: 280px; max-width: 100%; font-size: 16px; }
.pst-av-note { display: flex; align-items: center; gap: 8px; margin: 14px 18px 0; padding: 10px 12px; border-radius: 6px; background: var(--dm-surface-2, #f3f5fa); color: var(--dm-text-muted, #5a5c69); }
.pst-av-body { padding: 14px 18px 0; display: flex; flex-direction: column; gap: 14px; }
.pst-avatars-locked .pst-av-body { opacity: .5; pointer-events: none; }
.pst-av-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--dm-border, #e3e6f0); }
.pst-av-tab { border: none; background: none; padding: 0 0 10px; margin-bottom: -1px; font: inherit; font-size: 16px; font-weight: 700; color: var(--dm-text-muted, #858796); border-bottom: 2px solid transparent; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.pst-av-tab.active { color: #00a3d3; border-bottom-color: #00a3d3; }
.pst-av-count { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--dm-surface-2, #f0f1f5); color: var(--dm-text-muted, #6e707e); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.pst-av-tab.active .pst-av-count { background: var(--dm-surface-3, #e8f6fb); color: var(--dm-blue, #007ea3); }
.pst-av-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.pst-av-card { position: relative; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 10px; background: var(--dm-surface, #fff); padding: 10px 10px 12px; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transition: border-color .15s, box-shadow .15s; }
.pst-av-card:hover { border-color: #00a3d3; box-shadow: 0 2px 10px rgba(0, 163, 211, .12); }
.pst-av-card.selected { border: 2px solid #00a3d3; padding: 9px 9px 11px; box-shadow: 0 0 0 3px rgba(0, 163, 211, .15); }
.pst-av-card:disabled { cursor: default; opacity: .6; box-shadow: none; border-color: var(--dm-border, #e3e6f0); }
.pst-av-thumb { position: relative; width: 100%; aspect-ratio: 1; border-radius: 8px; background: var(--dm-surface-2, #f0f1f5); display: flex; align-items: center; justify-content: center; color: #b7b9cc; font-size: 28px; overflow: hidden; }
.pst-av-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pst-av-plus { background: var(--dm-surface-2, #f5fbfd); border: 1px dashed var(--dm-border-2, #9fd9ec); color: #00a3d3; }
.pst-av-new { border-style: dashed; }
.pst-av-tick { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: #00a3d3; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.pst-av-name { width: 100%; font-size: 16px; font-weight: 700; color: var(--dm-text, #3a3b45); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pst-av-sub { font-size: 14px; color: var(--dm-text-muted, #858796); }
.pst-av-pill { font-size: 14px; font-weight: 700; padding: 2px 9px; border-radius: 10px; background: var(--dm-surface-2, #f0f1f5); color: var(--dm-text-muted, #6e707e); }
.pst-av-pill.processing { background: var(--dm-surface-3, #e8f6fb); color: var(--dm-blue, #007ea3); }
.pst-av-pill.failed { background: var(--dm-red-soft, var(--dm-surface-2, #fdecea)); color: var(--dm-red-text, var(--dm-text, #c0392b)); }
.pst-av-empty { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 28px 16px; border: 1px dashed var(--dm-border-2, #d1d3e2); border-radius: 10px; color: var(--dm-text-muted, #6e707e); text-align: center; }
.pst-av-hint { color: var(--dm-text-muted, #6e707e); }
.pst-av-form { border: 1px solid var(--dm-border, #e3e6f0); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--dm-surface, #fdfdfe); }
.pst-av-form-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pst-av-form-foot { display: flex; justify-content: flex-end; gap: 8px; }
.pst-av-form-foot .btn { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; }
.pst-av-conn { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 18px 0; padding: 10px 12px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 8px; color: var(--dm-text-muted, #5a5c69); }
.pst-av-conn > span { flex: 1; min-width: 220px; }
.pst-av-conn > i { color: var(--dm-text-muted, #858796); }
.pst-av-conn.connected { background: var(--dm-green-soft, var(--dm-surface-2, #f1fbf6)); border-color: var(--dm-green-border, var(--dm-border, #c7eedb)); }
.pst-av-conn.connected > i { color: #1cc88a; }
.pst-av-conn .btn { font-size: 16px; }
.pst-canvas-logo { position: absolute; top: 12px; left: 12px; z-index: 5; padding: 6px 10px; background: var(--dm-surface, #fff); border: 1px solid var(--dm-border, #e3e6f0); border-radius: 8px; box-shadow: 0 1px 3px rgba(58, 59, 69, .08); pointer-events: none; }
.pst-canvas-logo img { display: block; max-height: 40px; max-width: 160px; object-fit: contain; }
.pst-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px 24px; text-align: center; }
.pst-empty .pst-muted { max-width: 460px; }
.pst-empty-vicky { width: 88px; height: 88px; flex: none; }
.pst-empty-title { font-size: 20px; }
.pst-empty-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; margin-top: 4px; }
.pst-empty-btn i { margin-right: 2px; }
.pst-angles { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0; }
.pst-angle { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 4px 0 4px; border: 1px solid var(--dm-border-2, #bfe7f4); border-radius: 999px; background: var(--dm-surface-3, #e8f6fb); color: var(--dm-blue, #007ea3); font-weight: 700; }
.pst-angle img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.pst-angle-num { width: 22px; height: 22px; border-radius: 50%; background: #00a3d3; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.pst-angle-name { max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pst-angle-remove { width: 24px; height: 24px; border: none; border-radius: 50%; background: transparent; color: var(--dm-blue, #007ea3); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pst-angle-remove:hover { background: var(--dm-surface, #fff); }
#pstNodeModal .modal-dialog-scrollable .modal-content { max-height: calc(100vh - 3.5rem); }
#pstNodeModal .modal-dialog-scrollable .pst-node-body { overflow-y: auto; }
.pst-work-strip { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0 2px 18px; }
.pst-work-thumb { position: relative; width: 64px; height: 64px; padding: 0; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 6px; background: var(--dm-surface-2, #f8f9fc); overflow: hidden; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--dm-text-muted, #858796); }
.pst-work-thumb:hover { border-color: #00a3d3; box-shadow: 0 0 0 2px var(--dm-surface-3, #e8f6fb); }
.pst-work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pst-work-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0, 0, 0, .25); }
.pst-work-panel { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-bottom: 1px solid var(--dm-border, #e3e6f0); }
.pst-work-strip-lg { padding: 0; gap: 10px; }
.pst-work-strip-lg .pst-work-thumb { width: 150px; height: 150px; flex-direction: column; }
.pst-work-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 6px; background: rgba(0, 0, 0, .55); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.pst-run-menu { display: inline-block; }
.pst-run-menu .dropdown-menu { min-width: 220px; }
.pst-run-menu .dropdown-item { font-size: 16px; padding: 8px 16px; }
.pst-dm-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.pst-dm-keyword { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--dm-surface-3, #e8f6fb); color: var(--dm-blue, #007ea3); font-weight: 800; letter-spacing: .04em; }
.pst-dm-message { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--dm-surface-2, #f3f5fa); white-space: pre-wrap; }
.pst-dm-readd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--dm-border, #e3e6f0); }
.pst-node.pst-node-dm { background: var(--dm-purple-soft, var(--dm-surface-2, #f6f2ff)); border-left: 4px solid #8a6df1 !important; }
.pst-node.pst-node-form { background: var(--dm-amber-soft, var(--dm-surface-2, #fff8e5)); border-left: 4px solid #f6c23e !important; }
.pst-node.pst-node-lead { background: var(--dm-green-soft, var(--dm-surface-2, #effaf4)); border-left: 4px solid #1cc88a !important; }
.pst-lead-switch { font-size: 16px; }
.pst-intro { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 960px; margin: 8px auto 20px; padding: 0 16px; text-align: center; }
.pst-intro-title { display: inline-flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 800; line-height: 1.25; }
.pst-intro-title > i { color: #00a3d3; }
.pst-intro-text { font-size: 20px; line-height: 1.5; }
.pst-brief-need { display: flex; gap: 14px; margin: 4px 0 14px; padding: 14px 16px; border: 1px solid var(--dm-border-2, #bfe7f4); border-radius: 12px; background: var(--dm-surface-3, #e8f6fb); }
.pst-brief-need-icon { width: 44px; height: 44px; border-radius: 50%; background: #00a3d3; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 1.25rem; }
.pst-brief-need-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pst-brief-need-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pst-approve-hint { display: inline-flex; align-items: center; gap: 6px; }
.pst-brief-need-btns .btn { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.pst-approve-wrap { display: inline-flex; cursor: not-allowed; }
.pst-approve-wrap .pst-btn[disabled] { opacity: .5; pointer-events: none; }
.pst-run-beta { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid #f6c23e; border-radius: 8px; background: var(--dm-amber-soft, var(--dm-surface-2, #fff8e5)); font-weight: 700; white-space: nowrap; }
.pst-run-beta > i { color: #dda20a; }
.pst-run-beta.pst-run-beta-wrap { height: auto; min-height: 38px; padding: 8px 14px; white-space: normal; line-height: 1.35; max-width: 100%; box-sizing: border-box; align-items: flex-start; }
.pst-run-beta-wrap > i { margin-top: 3px; flex: none; }
.pst-chat-head .pst-chat-close { margin-left: auto; flex: none; }
.pst-iconbtn.pst-iconbtn-on { border-color: #00a3d3; color: #00a3d3; }
.pst-form-link { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 8px; }
.pst-form-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes pst-next-pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--pst-next-rgb), .9), 0 0 18px 4px rgba(var(--pst-next-rgb), .55); } 70% { box-shadow: 0 0 0 22px rgba(var(--pst-next-rgb), 0), 0 0 18px 4px rgba(var(--pst-next-rgb), .15); } 100% { box-shadow: 0 0 0 0 rgba(var(--pst-next-rgb), 0), 0 0 18px 4px rgba(var(--pst-next-rgb), .55); } }
@keyframes pst-next-fill { 0%, 100% { background-color: rgba(var(--pst-next-rgb), .28); } 50% { background-color: rgba(var(--pst-next-rgb), .06); } }
.pst-node.pst-node-next { --pst-next: #f6c23e; --pst-next-rgb: 246, 194, 62; border: 3px solid var(--pst-next) !important; opacity: 1 !important; animation: pst-next-pulse 1.1s ease-out infinite, pst-next-fill 1.1s ease-in-out infinite; z-index: 3; }
.pst-node.pst-node-dm.pst-node-next { --pst-next: #8a6df1; --pst-next-rgb: 138, 109, 241; border-left-width: 5px !important; }
.pst-node.pst-node-form.pst-node-next { --pst-next: #f6c23e; --pst-next-rgb: 246, 194, 62; border-left-width: 5px !important; }
.pst-node.pst-node-lead.pst-node-next { --pst-next: #1cc88a; --pst-next-rgb: 28, 200, 138; border-left-width: 5px !important; }
.pst-next-btn { --pst-next-rgb: 0, 163, 211; animation: pst-next-pulse 1.1s ease-out infinite; }
.pst-btn-green.pst-next-btn { --pst-next-rgb: 28, 200, 138; }
@media (prefers-reduced-motion: reduce) { .pst-node.pst-node-next, .pst-next-btn { animation: none; box-shadow: 0 0 0 5px rgba(var(--pst-next-rgb), .5); } }
.pst-adv { margin-top: 12px; border-top: 1px solid var(--dm-border, #e3e6f0); padding-top: 10px; }
.pst-adv summary { cursor: pointer; font-weight: 700; }
.pst-adv[open] summary { margin-bottom: 8px; }
.pst-tt { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 10px; }
.pst-tt .custom-control-label { cursor: pointer; }
.pst-vc-open { margin-top: 6px; }
.pst-vc-form { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; padding: 14px 16px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 10px; }
.pst-vc-script { padding: 10px 12px; border-radius: 8px; background: var(--dm-surface-2, #f3f5fa); }
.pst-vc-script p { margin: 6px 0 0; }
.pst-vc-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pst-vc-upload { margin: 0; cursor: pointer; }
.pst-vc-preview { display: flex; flex-direction: column; gap: 4px; }
.pst-vc-preview audio { width: 100%; }
.pst-vc-consent-row .custom-control-label { cursor: pointer; }
.pst-vc-status { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; padding: 8px 12px; border-radius: 8px; background: var(--dm-surface-2, #f3f5fa); }
.pst-vc-status > i { margin-top: 4px; }
.pst-wfc-card { margin-left: 0; background: var(--dm-paper, #fff); }
.pst-wfc-tool { padding-left: 44px; }
.pst-wfc-tool .pst-work-strip { padding-left: 0; }
.pst-wfc-sched { grid-template-columns: minmax(0, 1fr) auto; }
.pst-wfc-sched .pst-sched-when { grid-column: 1 / -1; }
.pst-wfc-error { border-left: 3px solid #e74a3b; }
.pst-live { border: 1px solid #00a3d3; border-radius: 10px; padding: 12px 14px; background: var(--dm-paper, #fff); display: flex; flex-direction: column; gap: 6px; }
.pst-live-head { display: flex; align-items: center; gap: 8px; }
.pst-live-step { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.pst-live-step > i { flex: none; width: 18px; margin-top: 4px; text-align: center; }
.pst-live-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pst-live-running { color: #00a3d3; }
.pst-live-done { color: #1cc88a; }
.pst-live-failed { color: #e74a3b; }
.pst-live-time { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }

.pcr .pcr-stage { flex: 1 1 auto; min-width: 0; min-height: 0; display: flex; flex-direction: column; position: relative; background: var(--dm-surface-2, #f8f9fc); }
.pcr .pcr-stage.pcr-dragover::after { content: 'Drop to attach'; position: absolute; inset: 8px; display: flex; align-items: center; justify-content: center; border: 2px dashed #00a3d3; border-radius: 12px; background: var(--dm-glass-blue, var(--dm-surface-3, rgba(232, 246, 251, .85))); color: var(--dm-blue, #007ea3); font-weight: 800; pointer-events: none; z-index: 5; }
.pcr-canvas { position: relative; flex: 1 1 auto; min-height: 0; }
.pcr-gallery { position: absolute; inset: 0; overflow-y: auto; padding: 18px; container-type: size; }
.pcr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, calc(100cqh - 4px))); justify-content: center; gap: 20px; align-items: start; }
@media (max-width: 1599px) { .pcr-grid { grid-template-columns: repeat(2, minmax(0, calc(100cqh - 4px))); } }
.pcr-grid .pcr-tile { width: auto; }
.pcr .pcr-empty { min-height: 100%; justify-content: center; margin: 0 auto; }
.pcr .pcr-empty .pst-empty-vicky { margin-bottom: 14px; }
.pcr-grid .pcr-tile-img { height: auto; aspect-ratio: 1 / 1; overflow: hidden; }
.pcr-grid .pcr-tile-img img { position: absolute; inset: 0; }
.pcr-grid .pcr-tile { position: relative; }
.pcr-grid .pcr-tile-foot { position: absolute; left: 0; right: 0; bottom: 0; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 40px 12px 12px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .7)); color: #fff; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.pcr-grid .pcr-tile:hover .pcr-tile-foot, .pcr-grid .pcr-tile:focus-within .pcr-tile-foot { opacity: 1; pointer-events: auto; }
.pcr-grid .pcr-tile-foot .pst-muted { color: rgba(255, 255, 255, .8); }
.pcr-grid .pcr-pending .pcr-tile-foot { flex-direction: column; align-items: flex-start; gap: 2px; padding-bottom: 16px; }
.pcr-grid .pcr-act { width: 42px; height: 42px; border-radius: 10px; font-size: 18px; background: rgba(255, 255, 255, .88); border-color: transparent; }
.pcr-grid .pcr-tile-acts { gap: 8px; }
.pcr-grid .pcr-act:hover { background: #fff; }
@media (hover: none) { .pcr-grid .pcr-tile-foot { opacity: 1; pointer-events: auto; } }
@media (prefers-reduced-motion: reduce) { .pcr-grid .pcr-tile-foot { transition: none; } }
.pcr-prefs-line { margin: -2px 0 6px 22px; color: var(--dm-text-muted, #858796); }

.pcr-pending-card { position: relative; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, #1b1f2a, #2a3040); color: rgba(255, 255, 255, .92); overflow: hidden; }
.pcr-pending-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%); background-size: 250% 100%; animation: pcr-shimmer 2.2s linear infinite; }
.pcr-pending-pct { position: relative; font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.pcr-pending-what { position: relative; display: inline-flex; align-items: center; gap: 8px; opacity: .75; }
.pcr-pending-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .12); }
.pcr-pending-bar > span { display: block; height: 100%; background: #00a3d3; transition: width 1s linear; }
@keyframes pcr-shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .pcr-pending-card::before { animation: none; } .pcr-pending-bar > span { transition: none; } }

.pcr-dock { flex: none; background: var(--dm-surface, #fff); border-top: 1px solid var(--dm-border, #e3e6f0); }
.pcr-dock .pcr-toolbar { border-top: none; }

.pcr-media { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 12px 22px; }
.pcr-tile { width: 240px; display: flex; flex-direction: column; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 12px; background: var(--dm-surface, #fff); overflow: hidden; }
.pcr-tile[draggable="true"] { cursor: grab; }
.pcr-tile-img { position: relative; height: 240px; padding: 0; border: none; background: var(--dm-surface-2, #f3f5fa); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--dm-text-muted, #858796); }
.pcr-tile-img img { width: 100%; height: 100%; object-fit: contain; background: var(--dm-surface-2, #f3f5fa); }
.pcr-tile-img > i { font-size: 30px; }
.pcr-tile-state { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--dm-glass, var(--dm-surface, rgba(255, 255, 255, .78))); font-weight: 700; color: var(--dm-text, #3a3b45); }
.pcr-tile-failed { color: #e74a3b; padding: 16px; }
.pcr-fail-card { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 85%; padding: 14px 18px; border: 1px solid #f5c2c7; border-radius: 12px; background: #fdecea; text-align: center; box-shadow: 0 4px 14px rgba(231, 74, 59, .12); }
.pcr-fail-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.pcr-fail-text { font-weight: 400; line-height: 1.45; color: #a8322a; }
.pcr-tile-foot { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 10px 10px; min-width: 0; }
.pcr-tile-name { min-width: 0; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcr-tile-acts { display: flex; gap: 4px; flex: none; }
.pcr-media-sm .pcr-tile { width: 140px; }
.pcr-media-sm .pcr-tile-img { height: 120px; }
.pcr-media-sm .pcr-tile-acts { display: none; }
.pcr-act { width: 32px; height: 32px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 8px; background: var(--dm-surface, #fff); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--dm-text-muted, #5a5c69); }
.pcr-act:hover { border-color: #00a3d3; color: #00a3d3; }

.pcr-toolbar { display: flex; flex-direction: column; gap: 8px; padding: 10px 16px 4px; border-top: 1px solid var(--dm-border, #e3e6f0); background: var(--dm-surface, #fff); }
.pcr-tool-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pcr-seg .btn { font-size: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; }
.pcr-ratio-box { display: inline-block; border: 2px solid currentColor; border-radius: 3px; flex: none; }
.pcr .pcr-select { width: auto; flex: 0 0 auto; min-width: 170px; height: 38px; font-size: 16px; }
.pcr-logo-switch { font-size: 16px; margin-left: 4px; white-space: nowrap; flex: 0 0 auto; }
.pcr-logo-switch .custom-control-label { width: auto; }

.pcr-attached { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 12px 10px; margin-bottom: 4px; border-bottom: 1px dashed var(--dm-border, #e3e6f0); }
.pcr-att { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 12px; background: var(--dm-surface-2, #f8f9fc); max-width: 300px; }
.pcr-att-thumb { position: relative; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--dm-border, #e3e6f0); flex: none; }
.pcr-att-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pcr-att-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .28); color: #fff; }
.pcr-att-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.pcr-att-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcr-chip-x { border: none; background: var(--dm-surface, #fff); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; flex: none; box-shadow: 0 0 0 1px var(--dm-border, #e3e6f0); display: inline-flex; align-items: center; justify-content: center; }
.pcr-chip-x:hover { box-shadow: 0 0 0 1px #e74a3b; color: #e74a3b; }
.pcr-clip { border: none; background: none; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; color: var(--dm-text-muted, #5a5c69); flex: none; }
.pcr-clip:hover { background: var(--dm-surface-2, #f3f5fa); color: #00a3d3; }

.pcr-preview-body { display: flex; align-items: center; justify-content: center; background: #111; min-height: 320px; }
.pcr-preview-media { max-width: 100%; max-height: 70vh; border-radius: 8px; }

@media (max-width: 767px) {
  .pcr .pcr-stage { min-height: 640px; }
    .pcr .pcr-select { min-width: 0; flex: 1 1 auto; }
}
#pcrPreviewModal .modal-footer .btn { display: inline-flex; align-items: center; gap: 6px; }
.pcr-steps { display: flex; flex-direction: column; gap: 6px; }
.pcr-step { display: flex; align-items: baseline; gap: 10px; line-height: 1.4; }
.pcr-step > i { flex: 0 0 16px; text-align: center; color: #00a3d3; }
.pcr-step-done { opacity: .7; }
.pcr-step-done > i { color: #1cc88a; }

.pc-an-head { gap: 6px; }
.pc-an-head > .col { flex: 0 0 auto; width: auto; max-width: none; padding-left: 0; padding-right: 0; }
.pc-an-head .dropdownMobile { margin-left: 0; }
.pc-an-fresh { display: flex; align-items: center; gap: 10px; flex: none; white-space: nowrap; margin-top: 16px; font-size: 16px; }
.pc-an-fresh .btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; font-size: 16px; }
@media (max-width: 767px) { .pc-an-head { flex-wrap: wrap; justify-content: flex-start; } }

#companyKnowledgeModal .ckm-note, #companySetupPage .psw-muted { text-align: center; font-size: 16px; margin: 6px 0 0; opacity: .75; }
.pc-chart-delta { margin-left: 10px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.pc-chart-delta.pc-delta-up { color: var(--dm-green-text, #1cc88a); }
.pc-chart-delta.pc-delta-down { color: var(--dm-red-text, #e74a3b); }
.vicky-msg-assistant.pst-wfc-bubble { white-space: normal; }
.pst-wfc-bubble .pst-wfc-strip { padding-left: 0; margin-top: 8px; }
.pst-wfc-bubble .pst-wfc-inner { margin: 0; padding: 0; border: 0; background: transparent; }

.promo-subtabs.nav-tabs .nav-link {
  color: #ffffff !important;
  background-color: #00a3d3 !important;
  border-color: #00a3d3 !important;
  font-weight: 600;
}

.promo-subtabs.nav-tabs .nav-link.active {
  color: #00a3d3 !important;
  background-color: var(--dm-paper2, #ededed) !important;
  border-color: #00a3d3 #00a3d3 var(--dm-paper2, #ededed) #00a3d3 !important;
}

.promo-subpane {
  background-color: var(--dm-paper2, #ededed);
  border-color: #00a3d3 !important;
  border-top-color: var(--dm-paper2, #ededed) !important;
}

.promo-chip {
  border-radius: 999px;
  padding: 3px 12px;
  font-weight: 700;
  white-space: nowrap;
}

.promo-chip-ok { background: var(--dm-surface-3, #e8f9f2); color: #0f8a5f; }
.promo-chip-warn { background: #fcf1d8; color: #8a6414; }
.promo-chip-bad { background: #fbe6e3; color: #9d3127; }
.promo-chip-idle { background: var(--dm-surface, #eef0f4); color: var(--dm-text-muted, #6e707e); }

.pc-beta-close {
  position: absolute;
  top: 10px;
  right: 16px;
  color: #ffffff;
  opacity: .85;
  text-shadow: none;
}

.pc-beta-close:hover {
  color: #ffffff;
  opacity: 1;
}

.pc-promote-off {
  opacity: .55;
  cursor: not-allowed !important;
}

.pc-pick-post {
  border: 1px solid var(--dm-border, #e3e6f0);
  border-radius: .5rem;
  padding: 9px;
  cursor: pointer;
  background: var(--dm-paper, #fff);
}

.pc-pick-post.pc-pick-on {
  border-color: #00a3d3;
  box-shadow: 0 0 0 2px rgba(0, 163, 211, .18);
}

.pc-pick-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 170px;
  border-radius: .4rem;
  overflow: hidden;
  background: var(--dm-surface-2, #f0f1f5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c3c6d4;
}

.pc-pick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-pick-tick {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--dm-paper, #fff);
  border: 1px solid var(--dm-border, #e3e6f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}

.pc-pick-post.pc-pick-on .pc-pick-tick {
  background: #00a3d3;
  border-color: #00a3d3;
  color: #fff;
}

.pc-pick-title {
  font-weight: 600;
  margin-top: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-pick-meta {
  color: var(--dm-text-muted, #858796);
}

.pc-alert {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border-radius: .5rem;
  padding: 13px 15px;
  border: 1px solid;
  font-size: 16px;
}

.pc-alert i {
  margin-top: 2px;
  flex: none;
}

.pc-alert-danger {
  background: var(--dm-red-soft, #fdecea);
  border-color: #e7a9a2;
  color: #9d3127;
}

.pc-alert-warn {
  background: var(--dm-amber-soft, #fdf3dc);
  border-color: #e8cf96;
  color: #7a5a10;
}

.pc-promote-plat {
  background: var(--dm-paper, #fff);
  color: var(--dm-text-muted, #6c757d);
  border: 1px solid var(--dm-border-2, #ced4da);
}

.pc-promote-plat[data-on="true"] {
  background: #00a3d3;
  color: #ffffff;
  border-color: #00a3d3;
}

.pc-promote-plat:disabled {
  opacity: .5;
  cursor: not-allowed;
}

html.dark-mode .promo-chip-ok { background: var(--dm-green-soft); color: var(--dm-green-text); }
html.dark-mode .promo-chip-warn { background: var(--dm-amber-soft); color: var(--dm-amber-text); }
html.dark-mode .promo-chip-bad { background: var(--dm-red-soft); color: var(--dm-red-text); }
html.dark-mode .promo-chip-idle { background: var(--dm-surface-2); color: var(--dm-text-muted); }

html.dark-mode .pc-alert-danger {
  background: var(--dm-red-soft);
  border-color: var(--dm-red-border);
  color: var(--dm-red-text);
}

html.dark-mode .pc-alert-warn {
  background: var(--dm-amber-soft);
  border-color: var(--dm-amber-border);
  color: var(--dm-amber-text);
}

html.dark-mode .pc-pick-thumb { color: var(--dm-text-muted); }

html.dark-mode .vs1-inbox {
  background: var(--dm-surface);
  border-color: var(--dm-border);
}

html.dark-mode .vs1-inbox .ib-list,
html.dark-mode .vs1-inbox .ib-list-head,
html.dark-mode .vs1-inbox .ib-detail-head,
html.dark-mode .vs1-inbox .ib-composer,
html.dark-mode .vs1-inbox .ib-comment { border-color: var(--dm-border); }

html.dark-mode .vs1-inbox .ib-composer { background: var(--dm-surface-2); }

html.dark-mode .vs1-inbox .ib-seg,
html.dark-mode .vs1-inbox .ib-thumb,
html.dark-mode .vs1-inbox .ib-bubble { background: var(--dm-surface-2); }

html.dark-mode .vs1-inbox .ib-seg button.active { background: var(--dm-surface-3); }

html.dark-mode .vs1-inbox .ib-tools select,
html.dark-mode .vs1-inbox .ib-compose-row textarea {
  background: var(--dm-input-bg);
  border-color: var(--dm-border);
  color: var(--dm-text);
}

html.dark-mode .vs1-inbox .ib-item {
  background: var(--dm-surface-2);
  border-color: var(--dm-border);
}

html.dark-mode .vs1-inbox .ib-item:hover { border-color: var(--dm-border-2); }

html.dark-mode .vs1-inbox .ib-avatar,
html.dark-mode .vs1-inbox .ib-chip,
html.dark-mode .vs1-inbox .ib-bubble.mine { background: var(--dm-surface-3); }

html.dark-mode .vs1-inbox .ib-c-note,
html.dark-mode .vs1-inbox .ib-act.btn-outline-secondary { color: var(--dm-text-muted); }

html.dark-mode .pcr-fail-card {
  background: var(--dm-red-soft);
  border-color: var(--dm-red-border);
}

html.dark-mode .pcr-fail-text { color: var(--dm-red-text); }

html.dark-mode .pcr-grid .pcr-act:hover { background: var(--dm-surface-3); }

html.dark-mode .pst-hint { color: var(--dm-blue); }

html.dark-mode .pst-format-ico > span { border-color: var(--dm-border-2); }

html.dark-mode .pst-btn-disabled { color: var(--dm-text-muted); }

.pc-topup-card {
  border: 1px solid var(--dm-border, #e3e6f0);
  border-radius: .6rem;
  padding: 15px 17px;
  background: var(--dm-surface, #fff);
  box-shadow: 0 .15rem .6rem rgba(58, 59, 69, .07);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pc-topup-head {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 1 1 260px;
  min-width: 0;
}

.pc-topup-icon {
  flex: none;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.pc-topup-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--dm-text, #3a3b45);
}

.pc-topup-sub {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 3px;
  color: var(--dm-text-muted, #858796);
}

.pc-topup-cta {
  flex: none;
  padding: 10px 22px;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: .5rem;
  box-shadow: 0 .2rem .7rem rgba(28, 200, 138, .32);
  transition: transform .12s ease, box-shadow .12s ease;
}

.pc-topup-cta:hover, .pc-topup-cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 .35rem 1rem rgba(28, 200, 138, .42);
}

html.dark-mode .pc-topup-card {
  background: var(--dm-surface-2);
  border-color: var(--dm-border);
}


.pc-promote-steps {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}

.pc-promote-steps .psw-step {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--dm-border, #e3e6f0);
  background: var(--dm-surface, #fff);
  border-radius: .5rem;
  padding: 11px 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--dm-text-muted, #858796);
  cursor: pointer;
  text-align: left;
}

.pc-promote-steps .psw-step[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

.pc-promote-steps .psw-dot {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  background: var(--dm-surface-2, #eef0f6);
  color: var(--dm-text-muted, #858796);
}

.pc-promote-steps .psw-current {
  border-color: #00a3d3;
  color: var(--dm-text, #3a3b45);
}

.pc-promote-steps .psw-current .psw-dot {
  background: #00a3d3;
  color: #fff;
}

.pc-promote-steps .psw-done .psw-dot {
  background: #1cc88a;
  color: #fff;
}

html.dark-mode .pc-promote-steps .psw-step { background: var(--dm-surface-2); }

.pcp-perf {
  flex: 0 0 auto;
  overflow: hidden;
}

.pcp-perf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--dm-surface-2, #f8f9fc);
  border-bottom: 1px solid var(--dm-border, #e3e6f0);
}

.pcp-perf-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--dm-text, #3a3b45);
}

.pcp-perf-sum {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--dm-border, #e3e6f0);
}

.pcp-sum {
  flex: 1 1 130px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 14px 18px;
  border-right: 1px solid var(--dm-border, #e3e6f0);
}

.pcp-sum:last-child {
  border-right: 0;
}

.pcp-sum > i {
  font-size: 16px;
  color: #00a3d3;
  margin-bottom: 4px;
}

.pcp-sum-n {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dm-text, #3a3b45);
  overflow-wrap: anywhere;
}

.pcp-sum-l {
  color: var(--dm-text-muted, #858796);
}

.pcp-perf-wrap {
  overflow-x: auto;
}

.pcp-perf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.pcp-perf-table th {
  text-align: left;
  white-space: nowrap;
  padding: 12px 18px;
  font-weight: 700;
  color: var(--dm-text-muted, #858796);
  border-bottom: 1px solid var(--dm-border, #e3e6f0);
}

.pcp-perf-table th i {
  color: #00a3d3;
  padding-right: 4px;
}

.pcp-perf-table td {
  padding: 12px 18px;
  vertical-align: middle;
  border-bottom: 1px solid var(--dm-border, #e3e6f0);
}

.pcp-perf-table tbody tr:last-child td {
  border-bottom: 0;
}

.pcp-perf-table tbody tr:hover {
  background: var(--dm-surface-2, #f8f9fc);
}

.pcp-perf-table tbody tr.pcp-perf-this {
  background: var(--dm-surface-3, #eaf7fb);
}

.pcp-perf-ad {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}

.pcp-perf-ico {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.pcp-perf-adtext {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pcp-perf-adname {
  font-weight: 700;
  color: var(--dm-text, #3a3b45);
  overflow-wrap: anywhere;
}

.pcp-n {
  display: block;
  font-weight: 700;
  color: var(--dm-text, #3a3b45);
  white-space: nowrap;
}

.pcp-bar {
  display: block;
  min-width: 64px;
  height: 4px;
  margin-top: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--dm-surface, #eef0f4);
}

.pcp-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #00a3d3;
}

.pcp-perf-err {
  padding: 12px 18px;
  border-top: 1px solid var(--dm-border, #e3e6f0);
  color: #9d3127;
}

html.dark-mode .pcp-perf-head { background: var(--dm-surface-2); }
html.dark-mode .pcp-perf-table tbody tr:hover { background: var(--dm-surface-2); }
html.dark-mode .pcp-perf-table tbody tr.pcp-perf-this { background: var(--dm-surface-3); }
html.dark-mode .pcp-bar { background: var(--dm-surface-2); }
html.dark-mode .pcp-perf-err { color: var(--dm-red-text); }

.pc-aud { display: flex; flex-direction: column; gap: 8px; }
.pc-aud-modes { align-self: flex-start; }
.pc-aud-note { font-size: 16px; color: var(--dm-text-muted, #858796); }
.pc-aud-grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 14px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 10px; background: var(--dm-surface-2, #f8f9fc); }
.pc-aud-chips { margin-bottom: 8px; }
.pc-aud-chip { background: var(--dm-surface, #fff); border-color: var(--dm-border-2, #d1d3e2); color: var(--dm-text-muted, #858796); }
.pc-aud-chip.pc-aud-on { color: inherit; }
.pc-aud-chip.pc-aud-on { background: #e6f6fb; border-color: #00a3d3; }
.pc-aud-country-remove, .pst-pr-country-remove { border: none; background: transparent; padding: 0 0 0 2px; cursor: pointer; display: inline-flex; align-items: center; }
.pc-aud-country-remove:hover, .pst-pr-country-remove:hover { color: #e74a3b; }
html.dark-mode .pc-aud-chip { background: var(--dm-surface); border-color: var(--dm-border-2); }
html.dark-mode .pc-aud-chip.pc-aud-on { background: rgba(0, 163, 211, .28); border-color: #00a3d3; }
html.dark-mode .pc-aud-chip:not(.pc-aud-on) { color: var(--dm-text-muted); }

.pc-aud-consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: 16px; cursor: pointer; }
.pc-aud-consent input { margin-top: 4px; flex: none; }
.pcp-perf-outcome { border-top: 1px dashed var(--dm-border, #e3e6f0); }

.pw {
  --pw-tile: #f4f7fa;
  --pw-tile-line: #d9e2ea;
  --pw-tile-on: #e5f6fb;
  --pw-accent: #00a3d3;
  --pw-icon: #e3f1f7;
  --pw-icon-ink: #0b7fa6;
  --pw-on-ink: #ffffff;
  --pw-line: #dbe3ea;
  --pw-dash: #c3cfd9;
  --pw-ok: #13a26f;
  --pw-ok-soft: #dcf6ec;
  --pw-dark-chip: rgba(15, 30, 42, .78);
}
html.dark-mode .pw {
  --pw-tile: #1b3446;
  --pw-tile-line: #2f4b60;
  --pw-tile-on: #1d3a4e;
  --pw-icon: #23465c;
  --pw-icon-ink: #8fdcf3;
  --pw-on-ink: #06222e;
  --pw-line: #2c4558;
  --pw-dash: #3d5a70;
  --pw-ok: #5fe0a9;
  --pw-ok-soft: #10402f;
}
.pw .pw-modal-title { font-size: 20px; font-weight: 800; }
.pw .pw-body { padding: 26px 30px; display: flex; flex-direction: column; gap: 22px; font-size: 16px; }
.pw .pw-h { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.2; }
.pw .pw-head-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pw .pw-muted, .pw .pw-card-s { font-size: 16px; }
html.dark-mode .pw .pw-muted, html.dark-mode .pw .pw-card-s { opacity: .72; }
.pw .pw-card-t { font-size: 19px; font-weight: 800; line-height: 1.25; }
.pw .pw-big { font-size: 28px; font-weight: 800; line-height: 1.15; }
.pw .pw-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pw .pw-row-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; text-align: left; }

.pw .pw-dots { display: flex; align-items: center; gap: 10px; }
.pw .pw-dot { width: 34px; height: 34px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; box-sizing: border-box; }
.pw .pw-dot-todo { border: 2px solid var(--pw-dash); opacity: .7; }
.pw .pw-dot-now { background: var(--pw-accent); color: var(--pw-on-ink); }
.pw .pw-dot-done { background: var(--pw-icon); color: var(--pw-icon-ink); }
.pw .pw-dot-line { flex: 1; height: 4px; border-radius: 2px; background: var(--pw-line); }
.pw .pw-dot-line.pw-on { background: var(--pw-accent); }

.pw .pw-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pw .pw-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pw .pw-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pw .pw-list { display: flex; flex-direction: column; gap: 12px; }

.pw .pw-card, .pw .pw-tile, .pw .pw-row {
  position: relative; font: inherit; color: inherit; cursor: pointer;
  background: var(--pw-tile); border: 2px solid var(--pw-tile-line); border-radius: 18px;
  transition: border-color .15s, background-color .15s;
}
.pw .pw-card:hover, .pw .pw-tile:hover, .pw .pw-row:hover { border-color: var(--pw-accent); }
.pw .pw-card:focus-visible, .pw .pw-tile:focus-visible, .pw .pw-row:focus-visible, .pw .pw-pill:focus-visible, .pw .pw-post:focus-visible { outline: 3px solid var(--pw-accent); outline-offset: 2px; }
.pw .pw-card.pw-on, .pw .pw-tile.pw-on, .pw .pw-row.pw-on { border: 3px solid var(--pw-accent); background: var(--pw-tile-on); }
.pw .pw-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 26px 14px; min-height: 210px; text-align: center; }
.pw .pw-card-sm { min-height: 0; padding: 18px 12px; gap: 4px; }
.pw .pw-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px; min-height: 150px; text-align: center; min-width: 0; }
.pw .pw-tile.pw-off, .pw .pw-row.pw-off { opacity: .5; cursor: not-allowed; }
.pw .pw-tile.pw-off:hover, .pw .pw-row.pw-off:hover { border-color: var(--pw-tile-line); }
.pw .pw-row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; width: 100%; }

.pw .pw-tick { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--pw-accent); color: var(--pw-on-ink); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.pw .pw-tick-inline { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--pw-accent); color: var(--pw-on-ink); display: flex; align-items: center; justify-content: center; font-size: 16px; }

.pw .pw-ico { flex: none; border-radius: 50%; background: var(--pw-icon); color: var(--pw-icon-ink); display: flex; align-items: center; justify-content: center; }
.pw .pw-ico-sm { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
.pw .pw-ico-md { width: 50px; height: 50px; font-size: 22px; }
.pw .pw-ico-lg { width: 84px; height: 84px; font-size: 36px; }
.pw .pw-ico-xl { width: 96px; height: 96px; font-size: 42px; }
.pw .pw-on > .pw-ico, .pw .pw-sum-body.pw-on .pw-ico { background: var(--pw-accent); color: var(--pw-on-ink); }

.pw .pw-plat-ico { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: flex; flex: none; box-shadow: 0 0 0 1px var(--pw-tile-line); }
.pw .pw-plat-ico img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pw .pw-plat-ico-sm { width: 46px; height: 46px; }

.pw .pw-where { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: start; }
.pw .pw-post-thumb { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--pw-icon); color: var(--pw-icon-ink); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.pw .pw-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pw .pw-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }

.pw .pw-stack { position: relative; width: 52px; height: 52px; flex: none; }
.pw .pw-stack span { position: absolute; width: 38px; height: 38px; border-radius: 9px; background: var(--pw-icon); border: 2px solid var(--pw-tile); }
.pw .pw-stack span:nth-child(1) { left: 0; top: 0; opacity: .55; }
.pw .pw-stack span:nth-child(2) { left: 7px; top: 7px; opacity: .8; }
.pw .pw-stack span:nth-child(3) { left: 14px; top: 14px; background: var(--pw-accent); }

.pw .pw-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pw .pw-pill { height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--pw-tile-line); background: var(--pw-tile); color: inherit; font: inherit; font-size: 16px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.pw .pw-pill img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.pw .pw-pill.pw-on { border-color: var(--pw-accent); background: var(--pw-tile-on); box-shadow: inset 0 0 0 1px var(--pw-accent); }
.pw .pw-pill[disabled] { opacity: .45; cursor: not-allowed; }

.pw .pw-post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pw .pw-post { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; padding: 0; border: 3px solid transparent; background: var(--pw-icon); color: inherit; font: inherit; cursor: pointer; }
.pw div.pw-post { cursor: default; }
.pw .pw-post.pw-on { border-color: var(--pw-accent); }
.pw button.pw-post:not(.pw-on) .pw-post-img { opacity: .55; }
.pw .pw-post-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pw .pw-post-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 34px; color: var(--pw-icon-ink); }
.pw .pw-post-check { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: var(--pw-dark-chip); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.pw .pw-post.pw-on .pw-post-check { background: var(--pw-accent); border-color: var(--pw-accent); color: var(--pw-on-ink); }
.pw .pw-post-x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--pw-dark-chip); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; }
.pw .pw-best { position: absolute; top: 8px; left: 8px; padding: 3px 10px; border-radius: 999px; background: #f6c23e; color: #3a2a00; font-size: 16px; font-weight: 800; }
.pw .pw-post-plats { position: absolute; bottom: 8px; left: 8px; display: flex; gap: 4px; }
.pw .pw-post-text { position: absolute; inset: 0; padding: 14px 44px 46px 14px; text-align: left; font-size: 16px; line-height: 1.35; overflow: hidden; }
.pw .pw-post-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 10px 10px; text-align: left; font-size: 16px; line-height: 1.3; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0)); }
.pw .pw-clamp { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.pw .pw-clamp-2 { -webkit-line-clamp: 2; }
.pw .pw-clamp-5 { -webkit-line-clamp: 5; }
.pw .pw-post-cap ~ .pw-post-plats { top: 8px; bottom: auto; z-index: 1; }
.pw button.pc-pick-post { animation: pswIn .35s ease both; transition: transform .18s ease, border-color .18s ease; }
.pw button.pc-pick-post:hover { transform: translateY(-3px); }
.pw button.pc-pick-post:nth-child(2) { animation-delay: .03s; }
.pw button.pc-pick-post:nth-child(3) { animation-delay: .06s; }
.pw button.pc-pick-post:nth-child(4) { animation-delay: .09s; }
.pw button.pc-pick-post:nth-child(5) { animation-delay: .12s; }
.pw button.pc-pick-post:nth-child(6) { animation-delay: .15s; }
.pw button.pc-pick-post:nth-child(7) { animation-delay: .18s; }
.pw button.pc-pick-post:nth-child(8) { animation-delay: .21s; }
.pw .pw-post.pw-on .pw-post-check { animation: psw-pop .2s ease; }
.pw .pw-post-skel { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--pw-icon); }
.pw .pw-post-skel::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); background-size: 250% 100%; animation: pcr-shimmer 1.6s linear infinite; }
.pw .pw-post-skel::after { content: ''; position: absolute; left: 12px; right: 30%; bottom: 14px; height: 12px; border-radius: 6px; background: var(--pw-line); box-shadow: 0 -20px 0 0 var(--pw-line); }
html.dark-mode .pw .pw-post-skel::before { background-image: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .08) 50%, transparent 70%); }
.pw .pw-load-note { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pw .pw-load-dot { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--pw-line); border-top-color: var(--pw-accent); animation: psw-spin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .pw button.pc-pick-post, .pw .pw-post-skel::before, .pw .pw-load-dot, .pw .pw-post.pw-on .pw-post-check { animation: none; } .pw button.pc-pick-post:hover { transform: none; } }
.pw .pw-post-plats img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.pw .pw-count { font-size: 18px; font-weight: 800; text-align: right; }

.pw .pw-url { display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 20px; border-radius: 16px; border: 2px solid var(--pw-tile-line); background: var(--pw-tile); margin: 0; cursor: text; }
.pw .pw-url.pw-on, .pw .pw-url:focus-within { border: 3px solid var(--pw-accent); background: var(--pw-tile-on); }
.pw .pw-url-ico { font-size: 26px; color: var(--pw-icon-ink); display: flex; }
.pw .pw-url-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; font-size: 21px; font-weight: 700; }
.pw .pw-ok { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--pw-ok-soft); color: var(--pw-ok); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.pw .pw-preview { display: flex; gap: 20px; padding: 20px; border-radius: 18px; background: var(--pw-tile); align-items: center; }
.pw .pw-preview-img { width: 160px; height: 110px; flex: none; border-radius: 12px; background: var(--pw-icon); color: var(--pw-icon-ink); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.pw .pw-ok-text { font-size: 16px; font-weight: 800; color: var(--pw-ok); }

.pw .pw-note { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: var(--pw-tile); font-size: 17px; font-weight: 700; }

.pw .pw-link { align-self: flex-start; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 17px; font-weight: 700; color: var(--pw-icon-ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.pw .pw-link:hover { text-decoration: underline; }
.pw .pw-consent { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--pw-tile); font-size: 16px; margin: 0; }
.pw .pw-consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.pw .pw-aud-grid { background: var(--pw-tile); border-color: var(--pw-tile-line); }

.pw .pw-days { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pw .pw-days-ico { font-size: 24px; color: var(--pw-icon-ink); margin-right: 4px; }
.pw .pw-other { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.pw .pw-coins-input { width: 160px; font-size: 16px; }
.pw .pw-estimate { display: flex; align-items: center; gap: 20px; padding: 20px 22px; border-radius: 18px; background: var(--pw-tile-on); border: 2px solid var(--pw-tile-line); }

.pw .pw-sum { border-radius: 16px; background: var(--pw-tile); border: 2px solid var(--pw-tile-line); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pw .pw-sum-top { display: flex; align-items: center; justify-content: space-between; }
.pw .pw-sum-body { display: flex; align-items: center; gap: 12px; min-height: 50px; min-width: 0; flex-wrap: wrap; }
.pw .pw-edit { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--pw-icon); color: var(--pw-icon-ink); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pw .pw-edit:hover { background: var(--pw-accent); color: var(--pw-on-ink); }
.pw .pw-token { width: 50px; height: 50px; flex: none; object-fit: contain; }
.pw .pw-token-sm { width: 22px; height: 22px; object-fit: contain; }
.pw .pw-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pw .pw-footer { display: flex; align-items: center; gap: 10px; }
.pw .pw-footer-gap { flex: 1; }
.pw .pw-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.pw .btn-primary.pw-btn, .pw .btn-outline-primary.pw-btn, .pw .btn-success.pw-btn { border-radius: 12px; padding: 13px 26px; }
.pw .btn-link.pw-btn { text-decoration: none; }
.pw .btn-link.pw-btn:hover, .pw .btn-link.pw-btn:focus { color: var(--pw-accent); background-color: transparent; border-color: transparent; box-shadow: none; text-decoration: underline; }

.pw .pw-res { display: flex; flex-direction: column; gap: 18px; padding-bottom: 22px; border-bottom: 2px solid var(--pw-line); }
.pw .pw-res:last-of-type { border-bottom: 0; padding-bottom: 0; }
.pw .pw-res-head { display: flex; align-items: flex-start; gap: 14px; }
.pw .pw-res-name { font-size: 24px; font-weight: 800; line-height: 1.2; }
.pw .pw-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 16px; font-weight: 800; flex: none; background: var(--pw-tile); }
.pw .pw-chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pw-dash); }
.pw .pw-chip-ok { background: var(--pw-ok-soft); }
.pw .pw-chip-ok .pw-chip-dot { background: var(--pw-ok); }
.pw .pw-chip-warn .pw-chip-dot { background: #f6c23e; }
.pw .pw-chip-bad .pw-chip-dot { background: #e74a3b; }
.pw .pw-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border-radius: 16px; background: var(--pw-tile); min-width: 0; }
.pw .pw-stat .pw-big { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pw .pw-budget { display: flex; flex-direction: column; gap: 10px; }
.pw .pw-budget-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pw .pw-bar { height: 14px; border-radius: 7px; background: var(--pw-line); overflow: hidden; }
.pw .pw-bar span { display: block; height: 100%; border-radius: 7px; background: var(--pw-accent); }
.pw .pw-res-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pw .pw-details summary { list-style: none; cursor: pointer; font-size: 17px; font-weight: 700; color: var(--pw-icon-ink); display: inline-flex; align-items: center; gap: 8px; }
.pw .pw-details summary::-webkit-details-marker { display: none; }
.pw .pw-details summary i { transition: transform .15s; }
.pw .pw-details[open] summary i { transform: rotate(90deg); }
.pw .pw-details .pcp-perf-wrap { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .pw .pw-card, .pw .pw-tile, .pw .pw-row, .pw .pw-details summary i { transition: none; }
}
@media (max-width: 720px) {
  .pw .pw-body { padding: 18px 16px; }
  .pw .pw-h { font-size: 24px; }
  .pw .pw-grid2, .pw .pw-grid3 { grid-template-columns: 1fr; }
  .pw .pw-grid4, .pw .pw-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pw .pw-card { min-height: 0; flex-direction: row; justify-content: flex-start; text-align: left; padding: 16px; }
  .pw .pw-ico-lg, .pw .pw-ico-xl { width: 60px; height: 60px; font-size: 26px; }
  .pw .pw-where { grid-template-columns: 1fr; }
  .pw .pw-post-thumb { max-width: 160px; }
  .pw .pw-dot { width: 28px; height: 28px; }
  .pw .pw-preview-img { display: none; }
}

.pw.pw-accts { --pw-tok: #9a6b00; --pw-tok-soft: #fdf1d3; --pw-own-soft: #dcf6ec; --pw-sunk: #e9eef3; display: flex; flex-direction: column; gap: 12px; }
html.dark-mode .pw.pw-accts { --pw-tok: #f6c23e; --pw-tok-soft: #3d3415; --pw-own-soft: #10402f; --pw-sunk: #0f2231; }
.pw .pw-accts-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 4px; }
.pw .pw-accts-intro { display: flex; align-items: center; gap: 16px; flex: 1 1 420px; max-width: 760px; }
.pw .pw-accts-intro-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pw .pw-optional { padding: 3px 12px; border-radius: 999px; background: var(--pw-icon); color: var(--pw-icon-ink); font-size: 16px; font-weight: 800; }
.pw .pw-legend { display: flex; flex-direction: column; gap: 6px; font-size: 16px; padding: 12px 18px; border-radius: 14px; background: var(--pw-tile); border: 2px solid var(--pw-tile-line); }
.pw .pw-ink-tok { color: var(--pw-tok); }
.pw .pw-ink-own { color: var(--pw-ok); }

.pw .pw-acct { display: grid; grid-template-columns: 240px 300px minmax(0, 1fr); align-items: center; gap: 24px; padding: 14px 20px; border-radius: 18px; background: var(--pw-tile); border: 2px solid var(--pw-tile-line); }
.pw .pw-acct-soon { opacity: .55; }
.pw .pw-acct-alert { border-color: #f6c23e; }
.pw .pw-acct-plat { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pw .pw-acct-linked { white-space: nowrap; }
.pw .pw-acct-linked i { color: var(--pw-icon-ink); }

.pw .pw-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--pw-sunk); }
.pw .pw-seg-btn { height: 44px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; opacity: .7; }
.pw .pw-seg-btn:hover:not([disabled]) { opacity: 1; }
.pw .pw-seg-btn[disabled] { cursor: not-allowed; }
.pw .pw-seg-btn:focus-visible { outline: 3px solid var(--pw-accent); outline-offset: 1px; }
.pw .pw-seg-tok { background: var(--pw-tok-soft); color: var(--pw-tok); opacity: 1; }
.pw .pw-seg-own { background: var(--pw-own-soft); color: var(--pw-ok); opacity: 1; cursor: default; }

.pw .pw-acct-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; font-size: 16px; min-width: 0; }
.pw .pw-steps { display: flex; flex-direction: column; gap: 4px; }
.pw .pw-step { display: flex; align-items: center; gap: 8px; opacity: .72; }
.pw .pw-step-on { opacity: 1; }
.pw .pw-step i { color: var(--pw-ok); width: 18px; text-align: center; }
.pw .pw-step-ring { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--pw-dash); box-sizing: border-box; }

.pw .pw-acct-pick { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 14px 6px 16px; border-radius: 12px; border: 2px solid var(--pw-tile-line); background: var(--pw-sunk); color: inherit; font: inherit; text-align: left; cursor: pointer; max-width: 340px; }
.pw .pw-acct-pick-static { cursor: default; }
.pw .pw-acct-pick .pw-card-s { white-space: nowrap; }
.pw button.pw-acct-pick:hover { border-color: var(--pw-accent); }
.pw .pw-acct-name { font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw .pw-acct-menu { min-width: 300px; }
.pw .pw-acct-menu .dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; font-size: 16px; }
.pw .pw-acct-tick { width: 18px; flex: none; color: var(--pw-ok); }
.pw .dropdown-menu .dropdown-item { font-size: 16px; }
.pw .dropdown-menu .dropdown-item i { width: 20px; }
.pw .pw-more { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; background: var(--pw-icon); color: var(--pw-icon-ink); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pw .pw-more:hover { background: var(--pw-accent); color: var(--pw-on-ink); }

@media (max-width: 1100px) {
  .pw .pw-acct { grid-template-columns: minmax(0, 1fr) 260px; }
  .pw .pw-acct-right { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 720px) {
  .pw .pw-acct { grid-template-columns: 1fr; gap: 12px; }
}

.pw .pw-pd-head { display: flex; align-items: center; gap: 18px; }
.pw .pw-pd-thumbs { display: flex; flex: none; }
.pw .pw-pd-thumbs img, .pw .pw-pd-thumb-ph { width: 70px; height: 70px; border-radius: 14px; object-fit: cover; border: 3px solid var(--dm-surface, #fff); background: var(--pw-icon); }
.pw .pw-pd-thumbs img + img { margin-left: -26px; }
.pw .pw-pd-thumb-ph { display: flex; align-items: center; justify-content: center; color: var(--pw-icon-ink); font-size: 28px; }
.pw .pw-promo-tabs-note { align-self: center; margin-left: 6px; }
.pw .pw-pd-cards { grid-auto-rows: 1fr; }
@media (max-width: 720px) { .pw .pw-pd-head { flex-wrap: wrap; } }
.pst-tt-privacy.pst-tt-attention { border-color: #00a3d3; box-shadow: 0 0 0 4px rgba(0, 163, 211, .25); transition: box-shadow .2s; }
.pw .pw-acct-row { display: flex; flex-wrap: wrap; gap: 18px; margin: 4px 0 16px; }
.pw .pw-acct-av { position: relative; width: 88px; display: flex; flex-direction: column; align-items: center; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; transition: opacity .15s, transform .15s; }
.pw .pw-acct-av:hover { transform: translateY(-2px); }
.pw .pw-acct-av-name { display: block; width: 100%; margin-top: 7px; font-size: 16px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw .pw-more-skel { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .pw .pw-acct-av:hover { transform: none; } }
.pc-av { position: relative; display: inline-block; flex: none; vertical-align: middle; }
.pc-av .pc-av-pic { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.pc-av .pc-av-fb { display: flex; align-items: center; justify-content: center; font-weight: 800; }
.pc-av .pc-av-corner { position: absolute; right: -3px; bottom: -3px; border-radius: 50%; background: var(--dm-surface, #fff); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .22); font-size: 16px; }
.pc-av .pc-av-corner img { width: 78%; height: 78%; border-radius: 50%; }
.pw .pw-row.pw-who { cursor: default; }
.pw .pw-row.pw-who:hover { border-color: var(--pw-tile-line); }
.pw .pw-who .pw-who-change { align-self: center; flex: none; }
.pw .pw-who + .pw-aud-grid { margin-top: 14px; }
.pst-pr-col > * { flex-shrink: 0; }
.pst-pr-col .pst-seg { flex-wrap: wrap; }
.pst-pr-lead { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.pst-pr-col .pst-pr-more { align-self: flex-start; margin-top: 6px; }
.pst-pr-problem { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.pw .pw-own-note { margin: 10px 0 0; }
.pw .psw-acc-groups { justify-content: flex-start; max-width: none; margin: 0 0 14px; }
.pw .psw-acc-group .pw-acct-row { margin: 0; align-self: stretch; display: flex; justify-content: center; }
.pw button.psw-acc-group { cursor: pointer; font: inherit; text-align: left; }
.pw button.psw-acc-group:hover { border-color: var(--pw-accent); }
.pw button.psw-acc-group.pw-on { border: 2px solid var(--pw-accent); background: var(--pw-tile-on); }
.pw .pw-pd-all-icons { display: flex; gap: 8px; align-self: stretch; justify-content: center; align-items: center; min-height: 56px; }
.pw .pw-pd-all-icons img { width: 30px; height: 30px; }
.vk-copy-block { margin: 8px 0 4px; border: 1px solid var(--dm-border, #e3e6f0); border-radius: 8px; background: var(--dm-surface-2, #f8f9fc); padding: 8px; }
.vk-copy-block .vk-copy-text { max-height: 220px; overflow: auto; white-space: pre-wrap; word-break: break-word; margin: 0 0 8px; font-size: 16px; }
