@charset "UTF-8";
/* Customer panel (/account): side menu on the right, content on a soft background. */
.pn-body { background: var(--bg); }
.pn { display: flex; min-height: 100vh; }

/* ---- side menu */
.pn-side { position: sticky; top: 0; flex: none; width: 272px; height: 100vh; display: flex; flex-direction: column; background: var(--surface); border-inline-end: 1px solid var(--border); overflow-y: auto; }
.pn-side-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; }
.pn-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.pn-brand svg { width: 40px; height: auto; }
.pn-brand img { display: block; max-width: 160px; height: 36px; width: auto; }
.pn-user { display: flex; align-items: center; gap: 12px; margin: 4px 14px 10px; padding: 12px; border-radius: 14px; background: var(--bg); }
.pn-avatar { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px rgba(21, 96, 255, .18); }
.pn-avatar-svg { display: block; width: 100%; height: 100%; border-radius: 50%; }
.pn-avatar-badge { position: absolute; inset-inline-start: -2px; bottom: -2px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #16a05a; color: #fff; box-shadow: 0 0 0 2px var(--surface); }
.pn-avatar-badge .icon { width: 12px; height: 12px; stroke-width: 3; }
.pn-user-go { margin-inline-start: auto; color: var(--muted); opacity: 0; transition: opacity .15s, transform .15s; }
.pn-user-go .icon { width: 18px; height: 18px; }
a.pn-user { text-decoration: none; transition: background .15s, box-shadow .15s; }
a.pn-user:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--border); }
a.pn-user:hover .pn-user-go { opacity: 1; transform: translateX(-2px); }
.pn-user-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.5; }
.pn-user-text b { font-size: .95rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-user-text bdi { font-size: .82rem; color: var(--muted); text-align: right; }
.pn-nav { display: flex; flex-direction: column; gap: 2px; padding: 4px 12px 12px; flex: 1; }
.pn-nav-label { margin: 14px 10px 6px; font-size: .74rem; font-weight: 800; color: #93a1b6; letter-spacing: .02em; }
.pn-nav-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 11px; background: none; color: #33445c; font: inherit; font-size: .94rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.pn-nav-item .icon { width: 21px; height: 21px; flex: none; color: #8193ab; transition: color .15s; }
.pn-nav-item:hover { background: var(--bg); color: var(--ink); text-decoration: none; }
.pn-nav-item:hover .icon { color: var(--primary); }
.pn-nav-item.is-active { background: var(--primary-soft); color: var(--primary-dark); }
.pn-nav-item.is-active .icon { color: var(--primary); }
.pn-side-foot { padding: 10px 12px 18px; border-top: 1px solid var(--border); }
.pn-logout:hover { background: #fdecec; color: #a61b1b; }
.pn-logout:hover .icon { color: #c62828; }

/* ---- top bar */
.pn-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pn-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 28px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.pn-title { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.pn-top-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.pn-icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--border); border-radius: 11px; background: #fff; color: #4b5d76; cursor: pointer; text-decoration: none; }
.pn-icon-btn:hover { color: var(--primary); border-color: #c9dafc; }
.pn-icon-btn .icon { width: 20px; height: 20px; }
.pn-site-link { min-height: 40px; padding: 0 14px; gap: 6px; }
.pn-site-link .icon { width: 18px; height: 18px; }
.pn-icon-btn.pn-close, .pn-icon-btn.pn-toggle { display: none; }

/* ---- content */
.pn-content { padding: 26px 32px 48px; display: flex; flex-direction: column; gap: 22px; width: 100%; }
.pn-banner { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff8e6; border: 1px solid #f6dfa0; color: #7a5300; font-size: .9rem; line-height: 1.9; }
.pn-banner .icon { flex: none; width: 22px; height: 22px; margin-top: 3px; }
.pn-banner p { margin: 0; }
.pn-banner a { color: #7a5300; font-weight: 800; }
.pn-alert { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: .92rem; }
.pn-alert.is-success { background: #e9f8ef; color: #186b3a; border: 1px solid #bfe8cf; }
.pn-alert.is-danger { background: #fdecec; color: #a61b1b; border: 1px solid #f5c2c2; }
.pn-alert.is-info { background: var(--primary-soft); color: var(--primary-dark); border: 1px solid #c9dafc; }
.pn-alert.is-warning { background: #fff7e6; color: #8a5300; border: 1px solid #f3dca8; }
a.pn-complete { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; text-decoration: none; }
a.pn-complete span { flex: 1 1 260px; }
a.pn-complete b { white-space: nowrap; }
.pn-req { color: #d12d2d; }
.pn-field-wide { grid-column: 1 / -1; }

.pn-hello { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 26px; border-radius: 18px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #2f6bff 0%, #1745c9 45%, #0c0834 100%); box-shadow: 0 18px 40px -22px rgba(21, 96, 255, .7); }
.pn-hello h2 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 800; }
.pn-hello p { margin: 0; opacity: .85; }
.pn-hello-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pn-hello .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: none; }
.pn-hello .btn-light { background: rgba(255, 255, 255, .14); color: #fff; }
.pn-hello .btn .icon, .pn-section-actions .btn .icon { width: 18px; height: 18px; }

.pn-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pn-stat { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.pn-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.pn-stat-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 4px; }
.pn-stat-icon .icon { width: 22px; height: 22px; }
.pn-stat-num { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.pn-stat-label { color: var(--muted); font-size: .86rem; }
.is-blue .pn-stat-icon { background: #e8f0ff; color: #1560ff; }
.is-violet .pn-stat-icon { background: #f0eaff; color: #6d4cff; }
.is-green .pn-stat-icon { background: #e6f7ee; color: #16a05a; }
.is-amber .pn-stat-icon { background: #fff4dd; color: #d48806; }
.is-rose .pn-stat-icon { background: #ffeaf0; color: #e0335f; }

.pn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pn-grid.is-wallet { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.pn-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; box-shadow: 0 1px 2px rgba(11, 27, 51, .03); min-width: 0; }
.pn-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pn-card-head h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; color: var(--ink); }
.pn-card-head h3 .icon { width: 20px; height: 20px; color: var(--primary); }
.pn-card-head a { font-size: .86rem; font-weight: 700; }
.pn-card-foot { margin: 18px -22px -20px; padding: 14px 22px; border-top: 1px solid var(--border); background: var(--bg); border-radius: 0 0 18px 18px; color: var(--muted); font-size: .88rem; }
.pn-muted { color: var(--muted); line-height: 1.9; font-size: .92rem; }
.pn-muted.small { font-size: .82rem; margin-bottom: 0; }

.pn-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pn-section-title { display: flex; gap: 14px; align-items: flex-start; }
.pn-section-icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.pn-section-icon .icon { width: 24px; height: 24px; }
.pn-section-title h2 { margin: 0 0 4px; font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.pn-section-title p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.pn-section-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.pn-tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; padding-bottom: 2px; }
.pn-tab { flex: none; padding: 8px 14px; border-radius: 10px; font-size: .88rem; font-weight: 700; color: var(--muted); background: var(--bg); cursor: default; }
.pn-tab small { margin-inline-start: 4px; padding: 1px 7px; border-radius: 999px; background: #fff; font-size: .75rem; }
.pn-tab.is-active { background: var(--ink); color: #fff; }
.pn-tab.is-active small { background: rgba(255, 255, 255, .18); color: #fff; }

.pn-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.pn-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pn-table th { padding: 12px 16px; background: var(--bg); color: #5d6f88; font-size: .8rem; font-weight: 800; text-align: start; white-space: nowrap; border-bottom: 1px solid var(--border); }
.pn-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text); }
.pn-table tbody tr:last-child td { border-bottom: 0; }
.pn-table tbody tr:hover td { background: #fafcff; }
.pn-table td:has(> .pn-empty) { padding: 0; background: none !important; }
.pn-table td b { font-weight: 700; color: var(--ink); }
.pn-table td small { display: block; margin-top: 2px; color: var(--muted); font-size: .78rem; }
.pn-table td a { color: inherit; }
.pn-table td a:hover b, .pn-table td a:hover { color: var(--primary); }
.pn-table .is-ltr { direction: ltr; text-align: right; unicode-bidi: plaintext; }
.pn-table .is-end { text-align: left; white-space: nowrap; }
.pn-table tfoot th { padding: 10px 16px; background: var(--bg); color: var(--muted); font-weight: 700; border-top: 1px solid var(--border); text-align: start; }
.pn-table tfoot th.is-end { text-align: left; }
.pn-table tfoot .is-total th { color: var(--ink); font-size: 1rem; font-weight: 800; }
.pn-pre { line-height: 1.9; }
.pn-row-actions { text-align: left; white-space: nowrap; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: .84rem; border-radius: 9px; }
.is-ok { color: #16a05a; } .is-warn { color: #c47d00; } .is-bad { color: #d12d2d; }

.pn-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.pn-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pn-status.is-ok { background: #e6f7ee; color: #16a05a; }
.pn-status.is-wait { background: #e8f0ff; color: #1560ff; }
.pn-status.is-warn { background: #fff4dd; color: #b87400; }
.pn-status.is-bad { background: #fdecec; color: #d12d2d; }
.pn-status.is-off { background: #eef1f5; color: #6b7a90; }
.pn-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 8px; background: var(--bg); color: #4b5d76; font-size: .8rem; }
.pn-chip .icon { width: 15px; height: 15px; }

.pn-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 44px 20px; }
.pn-empty-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; margin-bottom: 8px; background: var(--primary-soft); color: var(--primary); }
.pn-empty-icon .icon { width: 30px; height: 30px; }
.pn-empty h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.pn-empty p { margin: 0; max-width: 440px; color: var(--muted); font-size: .9rem; line-height: 1.9; }
.pn-empty.is-compact { flex-direction: row; text-align: start; padding: 16px; gap: 12px; border-radius: 12px; background: var(--bg); }
.pn-empty.is-compact > .icon { flex: none; width: 24px; height: 24px; color: #16a05a; }
.pn-table .pn-empty.is-compact { background: none; justify-content: center; }

.pn-wallet-mini { display: flex; align-items: baseline; justify-content: space-between; padding: 16px; border-radius: 12px; background: var(--bg); color: var(--muted); }
.pn-wallet-mini b { font-size: 1.5rem; color: var(--ink); }
.pn-wallet-mini small, .pn-balance-num small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.pn-balance { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; background: linear-gradient(160deg, #fff 0%, var(--primary-soft) 100%); }
.pn-balance-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; }
.pn-balance-label .icon { width: 20px; height: 20px; color: var(--primary); }
.pn-balance-num { font-size: 2rem; color: var(--ink); }
.pn-balance p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.9; }

.pn-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pn-checklist li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.pn-checklist .icon { width: 20px; height: 20px; color: #c3ccd9; }
.pn-checklist .is-done { color: var(--ink); }
.pn-checklist .is-done .icon { color: #16a05a; }
.pn-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #fff4dd; color: #a86b00; font-size: .72rem; font-weight: 800; }
.pn-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.pn-badge .icon { width: 15px; height: 15px; }
.pn-badge.is-ok { background: #e6f7ee; color: #16a05a; }
.pn-badge.is-off, .pn-badge.is-bad { background: #fdecec; color: #c62828; }
.pn-badge.is-unknown, .pn-badge[data-vps-state]:not(.is-ok):not(.is-off) { background: var(--bg); color: var(--muted); }
.pn-card-head .pn-badge { margin-inline-start: auto; }
.pn-vnc { margin-top: 16px; padding: 14px; border: 1px dashed var(--border); border-radius: 12px; background: var(--bg); }
.btn.is-soon { opacity: .55; cursor: not-allowed; }

.pn-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.pn-field { display: flex; flex-direction: column; gap: 6px; }
.pn-label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.pn-value { min-height: 50px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0 14px; border-radius: 12px; background: var(--bg); }
.pn-field .acc-input:disabled { background: var(--bg); color: var(--muted); cursor: not-allowed; }
.acc-input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; font: inherit; }
.acc-input.is-ltr { direction: ltr; text-align: left; }

.pn-devices { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pn-devices li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.pn-devices li > .icon { flex: none; width: 22px; height: 22px; color: var(--primary); }
.pn-devices span { display: flex; flex-direction: column; line-height: 1.6; min-width: 0; flex: 1; }
.pn-devices small { color: var(--muted); }

/* ---- details: invoice, ticket, lists */
.pn-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; color: var(--muted); font-size: .9rem; }
.pn-pager a { padding: 8px 16px; border-radius: 10px; background: var(--bg); font-weight: 700; text-decoration: none; }
.pn-pager a:hover { background: var(--primary-soft); }
.pn-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: .9rem; text-decoration: none; margin-bottom: -8px; }
.pn-back:hover { color: var(--primary); }
.pn-back .icon { width: 18px; height: 18px; }
.pn-invoice-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pn-invoice-head h2 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.pn-invoice-head p { margin: 0; color: var(--muted); font-size: .88rem; }
.pn-thread { display: flex; flex-direction: column; gap: 14px; }
.pn-msg { border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; background: #fff; width: min(88%, 920px); }
.pn-msg.is-staff { background: #f4f8ff; border-color: #d6e3ff; margin-inline-start: auto; }
.pn-msg header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pn-msg header b { color: var(--ink); font-size: .92rem; }
.pn-msg time { margin-inline-start: auto; color: var(--muted); font-size: .8rem; }
.pn-msg-avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: #5d6f88; }
.pn-msg.is-staff .pn-msg-avatar { background: var(--primary); color: #fff; }
.pn-msg-avatar .icon { width: 18px; height: 18px; }
.pn-msg-body { line-height: 2; color: var(--text); overflow-wrap: anywhere; }
.pn-msg-files { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); color: var(--muted); }
.pn-msg-files > .icon { width: 18px; height: 18px; }
.pn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pn-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--border); }
.pn-list li:last-child { border-bottom: 0; }
.pn-list a, .pn-list li > span:first-child { display: flex; flex-direction: column; min-width: 0; color: var(--ink); text-decoration: none; }
.pn-list a b, .pn-list li > span:first-child b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.pn-list a:hover b { color: var(--primary); }
.pn-list small { color: var(--muted); font-size: .8rem; }
.pn-list-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.is-ltr-text { direction: ltr; unicode-bidi: plaintext; text-align: right; }
.pn-linkcard { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px; background: var(--surface); border: 1px dashed #b9cdf7; color: var(--ink); text-decoration: none; }
.pn-linkcard:hover { border-style: solid; border-color: var(--primary); }
.pn-linkcard > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; gap: 2px; }
.pn-linkcard small { color: var(--muted); }
.pn-linkcard > .icon { width: 22px; height: 22px; color: var(--primary); }
.pn-tag.is-link { background: var(--primary-soft); color: var(--primary-dark); text-decoration: none; }
.pn-narrow { max-width: 640px; }
.pn-form { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.pn-form .btn { align-self: flex-start; }

/* ---- tablet and phone: the side menu slides in */
/* Wide screens: the panel fills the width, cards and text grow a little. */
@media (min-width: 1500px) {
  .pn-side { width: 296px; }
  .pn-content { padding: 32px 40px 56px; gap: 26px; }
  .pn-stat { padding: 22px; }
  .pn-stat-num { font-size: 1.9rem; }
  .pn-grid { gap: 24px; }
  .pn-card { padding: 24px 26px; }
}
@media (max-width: 1100px) {
  .pn-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .pn-side { position: fixed; z-index: 80; inset-block: 0; inset-inline-start: 0; height: 100%; transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; box-shadow: none; }
  .pn-open .pn-side { transform: none; visibility: visible; box-shadow: 0 0 40px rgba(11, 27, 51, .3); }
  .pn-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(11, 27, 51, .45); }
  .pn-icon-btn.pn-close, .pn-icon-btn.pn-toggle { display: inline-grid; }
  .pn-top { padding: 0 16px; }
  .pn-content { padding: 18px 16px 40px; }
  .pn-grid, .pn-grid.is-wallet { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .pn-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pn-stat { padding: 14px; }
  .pn-hello { padding: 20px; }
  .pn-hello-actions, .pn-hello-actions .btn { width: 100%; justify-content: center; }
  .pn-site-link span { display: none; }
  .pn-site-link { width: 40px; padding: 0; justify-content: center; }
  .pn-form-grid { grid-template-columns: minmax(0, 1fr); }
  .pn-card { padding: 18px 16px; }
  .pn-card-foot { margin: 16px -16px -18px; padding: 12px 16px; }
  .pn-msg { width: 100%; padding: 12px 14px; }
  /* Lists become cards: one row per card, each value with its column name. */
  .pn-table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .pn-table thead { display: none; }
  .pn-table, .pn-table tbody, .pn-table tr { display: block; width: 100%; }
  .pn-table tbody tr { margin-bottom: 12px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; }
  .pn-table tbody tr:hover td { background: none; }
  .pn-table tbody td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
  .pn-table tbody td::before { content: attr(data-label); flex: none; color: var(--muted); font-size: .8rem; font-weight: 700; text-align: right; }
  .pn-table tbody td[data-label=""]::before { display: none; }
  .pn-table tbody td:first-child { background: var(--bg); }
  .pn-table tbody td:first-child b { font-size: .95rem; }
  .pn-table tbody td > b, .pn-table tbody td > a { text-align: left; }
  .pn-table td small { text-align: left; }
  .pn-table tbody td.is-ltr { direction: rtl; }
  .pn-table tbody td:empty, .pn-table tbody td.pn-row-actions:empty { display: none; }
  .pn-table tbody td:has(> .pn-empty) { display: block; border: 0; }
  .pn-table tbody td:has(> .pn-empty)::before { display: none; }
  .pn-table tbody tr:has(.pn-empty) { border: 1px solid var(--border); }
  .pn-table tfoot { display: table; width: 100%; }
  .pn-invoice .pn-table thead { display: none; }
  .pn-table td, .pn-table th { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pn-side { transition: none; } }
.pn-form-foot { display: flex; justify-content: flex-end; }
.acc-input.is-invalid { border-color: #d12d2d; }
.pn-impersonating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: #2b1d5c; color: #fff; font-size: .9rem; }
.pn-impersonating .icon { width: 22px; height: 22px; flex: none; }
.pn-impersonating p { margin: 0; flex: 1; line-height: 1.8; }
.pn-impersonating form { margin: 0; }
.pn-impersonating .btn { min-height: 36px; background: #fff; color: #2b1d5c; }

/* ---- tickets */
.pn-ticket-form { display: flex; flex-direction: column; gap: 16px; }
.pn-ticket-form .pn-section-head { margin-bottom: 0; }
.tk-rules { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff8eb; border: 1px solid #f5d9a6; color: #6b4708; }
.tk-rules-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fdecc8; color: #b45309; }
.tk-rules-icon .icon { width: 20px; height: 20px; }
.tk-rules-title { display: block; margin-bottom: 4px; font-size: .95rem; color: #92400e; }
.tk-rules-text { margin: 0; font-size: .88rem; line-height: 2; }
.tk-rules-text b { color: #7c2d12; }
.acc-card .tk-rules { margin: 4px 0 18px; }
.pn-departments { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pn-department { position: relative; display: block; cursor: pointer; }
.pn-department input { position: absolute; opacity: 0; inset: 0; }
.pn-department span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; transition: border-color .15s, background .15s; }
.pn-department small { color: var(--muted); font-size: .8rem; }
.pn-department input:checked + span { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px var(--primary-soft); }
.pn-department input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.pn-textarea { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.9; resize: vertical; }
select.acc-input { appearance: auto; }
.pn-file { display: block; width: 100%; padding: 10px; border: 1px dashed #b9cdf7; border-radius: 12px; background: var(--bg); font: inherit; font-size: .88rem; cursor: pointer; }
.pn-reply { display: flex; flex-direction: column; gap: 12px; }
.pn-reply-title { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; color: var(--ink); }
.pn-reply-title .icon { width: 20px; height: 20px; color: var(--primary); }
.pn-reply-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pn-reply-foot > div { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 6px; }
.pn-ticket-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pn-ticket-actions form { margin: 0; }
.pn-new { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: #e0335f; color: #fff; font-size: .7rem; font-weight: 800; vertical-align: middle; }
.pn-msg-files a.pn-chip { text-decoration: none; color: var(--primary-dark); background: var(--primary-soft); }
.pn-msg-files a.pn-chip:hover { background: #d6e3ff; }
.pn-msg-files .pn-chip small { color: var(--muted); }
.pn-msg-body a { color: var(--primary); overflow-wrap: anywhere; }
.btn.is-busy { opacity: .6; cursor: progress; }
.pn-nav-badge { margin-inline-start: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: #e0335f; color: #fff; font-size: .75rem; font-weight: 800; }

/* Wallet: charge form and payment result */
.pn-stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pn-balance-split { font-weight: 700; color: var(--ink) !important; }
.pn-charge-body { display: flex; flex-direction: column; gap: 10px; padding: 0 20px 18px; }
.pn-amount { font-size: 1.25rem; font-weight: 800; letter-spacing: .5px; text-align: center; }
.pn-presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.pn-preset { padding: 8px 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s; }
.pn-preset:hover, .pn-preset.is-active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
.pn-quote { margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.pn-quote div { display: flex; justify-content: space-between; gap: 12px; }
.pn-quote dt { color: var(--muted); }
.pn-quote dd { margin: 0; font-weight: 700; }
.pn-quote .is-total { padding-top: 8px; border-top: 1px dashed var(--line); font-size: 1rem; }
.pn-quote .is-total dd { color: var(--primary-dark); font-weight: 900; }
.pn-hint { color: var(--muted); font-size: .8rem; line-height: 1.9; }
.pn-pay-btn { width: 100%; justify-content: center; }
.pn-charge .pn-card-foot { padding: 0 20px 20px; border: 0; }
.pn-pay-result { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid; margin-bottom: 20px; }
.pn-pay-result b { display: block; font-size: 1rem; }
.pn-pay-result p { margin: 4px 0 0; font-size: .87rem; line-height: 1.9; }
.pn-pay-result-icon .icon { width: 30px; height: 30px; }
.pn-pay-result.is-ok { background: #e9f8ef; border-color: #bfe8cf; color: #186b3a; }
.pn-pay-result.is-warn { background: #fff7e6; border-color: #f6dca6; color: #8a5a00; }
.pn-pay-result.is-bad { background: #fdecec; border-color: #f5c2c2; color: #a61b1b; }
.pn-inline-form { display: inline; margin: 0; }
.pn-chip.is-action { border: 0; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; background: var(--primary-soft); color: var(--primary-dark); }
.pn-chip.is-action:hover { background: var(--primary); color: #fff; }
.pn-chip.is-renew { border: 0; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 800; background: #fef3c7; color: #92400e; }
.pn-chip.is-renew:hover { background: #f59e0b; color: #fff; }

/* Orders: the invoice beside the payment box */
.pn-grid.is-order { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.pn-paybox-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; }
.pn-paybox-body form { display: flex; flex-direction: column; gap: 6px; }
.pn-paybox-body .pn-muted { margin: 0; font-size: .84rem; }
.pn-link-danger { align-self: flex-start; background: none; border: 0; padding: 0; color: #d12d2d; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.pn-link-danger:hover { text-decoration: underline; }
@media (max-width: 900px) { .pn-grid.is-order { grid-template-columns: minmax(0, 1fr); } }

/* Domain names and bank references in Latin digits (the site font draws Persian ones). */
.pn-invoice bdi[dir="ltr"], .pn-pay-result bdi[dir="ltr"] { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* Service and domain details */
.pn-kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 18px; margin: 0; }
.pn-kv dt { color: var(--muted); font-size: .88rem; }
.pn-kv dd { margin: 0; color: var(--ink); font-weight: 700; }
.pn-kv dd small { margin-inline-start: 8px; font-weight: 700; font-size: .78rem; }
.pn-kv dd small.is-warn { color: #a86b00; }
.pn-kv dd small.is-bad { color: #c0262d; }
.pn-kv .is-ltr, .pn-chip.is-ltr { direction: ltr; unicode-bidi: isolate; }
.pn-copy { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pn-copy label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.pn-copy-row { display: flex; gap: 8px; }
.pn-copy-row .acc-input { height: 44px; flex: 1; min-width: 0; }
.pn-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px; }
.pn-actions form { margin: 0; }
.pn-renew { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); }
.pn-row-link { font-weight: 700; text-decoration: none; }
/* Host names, user names and passwords: the site font draws Persian digits, so Latin text keeps Latin digits. */
.pn-copy .acc-input, .pn-form .acc-input.is-ltr, .pn-kv dd.is-ltr, .pn-chip.is-ltr, .pn-invoice-head bdi[dir="ltr"] {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.pn-copy .acc-input::placeholder, .pn-form .acc-input.is-ltr::placeholder { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.pn-card .btn-light { border: 1px solid var(--border); background: var(--surface); }
.pn-card .btn-light:hover { border-color: var(--primary); background: var(--primary-soft); }

/* .ir domain: IRNIC handle after payment */
.pn-irnic { border: 1px solid #f3dca8; background: linear-gradient(180deg, #fffaf0 0%, #fff 140px); margin-bottom: 18px; }
.pn-irnic-lead { margin: 0 0 14px; line-height: 1.9; }
.pn-irnic-form { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px dashed var(--border); }
.pn-irnic-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pn-irnic-row .acc-input { flex: 1 1 220px; max-width: 360px; }
.pn-irnic-guide { margin-top: 10px; display: grid; gap: 8px; }
.pn-irnic-guide details { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 10px 14px; }
.pn-irnic-guide summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 8px; list-style: none; }
.pn-irnic-guide summary::-webkit-details-marker { display: none; }
.pn-irnic-guide summary .icon { width: 18px; height: 18px; color: var(--primary); }
.pn-irnic-guide ol { margin: 10px 0 2px; padding-inline-start: 22px; line-height: 2; font-size: .9rem; }
.pn-irnic-guide p { margin: 8px 0 0; font-size: .9rem; line-height: 1.9; }
/* Handles and domain names are typed and read in Latin digits (the site font shows Persian ones). */
.pn-irnic .is-ltr, .pn-irnic bdi { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-feature-settings: normal; }

/* ---- site repairs (خدمات وب‌سایت) */
.rp-form .rp-step { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; font-size: 1.02rem; color: var(--ink); }
.rp-form .rp-step:first-of-type { margin-top: 6px; }
.rp-form .rp-step > span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .9rem; }
.rp-form .rp-step small { font-weight: 400; }
.rp-sub { margin: 14px 0 8px; font-size: .92rem; color: var(--muted); }
.rp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-cms { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.rp-cms-item input { position: absolute; opacity: 0; pointer-events: none; }
.rp-cms-item span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; text-align: center; font-size: .86rem; transition: border-color .15s, background .15s; }
.rp-cms-item span .icon { width: 26px; height: 26px; color: var(--muted); }
.rp-cms-item input:checked + span { border-color: var(--primary); background: var(--primary-soft); }
.rp-cms-item input:checked + span .icon { color: var(--primary); }
.rp-cms-item input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.rp-note { display: flex; gap: 10px; align-items: flex-start; line-height: 1.9; }
.rp-note .icon { flex: none; margin-top: 4px; }
.rp-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 18px 0 4px; padding: 0; counter-reset: none; }
.rp-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--muted); }
.rp-steps li:not(:last-child)::after { content: ""; position: absolute; top: 16px; inset-inline-start: calc(50% + 20px); width: calc(100% - 40px); height: 2px; background: var(--border); }
.rp-steps li.is-done:not(:last-child)::after { background: var(--primary); }
.rp-steps .rp-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border); background: var(--surface); font-weight: 700; }
.rp-steps .rp-dot .icon { width: 18px; height: 18px; }
.rp-steps li.is-done .rp-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.rp-steps li.is-now .rp-dot { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.rp-steps li.is-now b, .rp-steps li.is-done b { color: var(--ink); }
.rp-steps b { font-size: .88rem; }
.rp-steps small { font-size: .74rem; line-height: 1.6; }
.rp-state { display: flex; gap: 14px; align-items: flex-start; }
.rp-state-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.rp-state p { margin: 6px 0 0; color: var(--muted); line-height: 1.9; }
.rp-quote-body { display: flex; flex-direction: column; gap: 12px; }
.rp-price { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 14px; background: var(--primary-soft); }
.rp-price b { font-size: 1.7rem; color: var(--primary-dark); }
.rp-price small { color: var(--muted); }
.rp-text p { margin: 6px 0 0; line-height: 1.9; white-space: normal; }
.rp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rp-actions form { margin: 0; }
@media (max-width: 900px) {
  .rp-cms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rp-grid-3 { grid-template-columns: 1fr; }
  .rp-steps { grid-template-columns: 1fr; gap: 10px; }
  .rp-steps li { flex-direction: row; text-align: start; gap: 10px; }
  .rp-steps li:not(:last-child)::after { display: none; }
  .rp-steps small { display: none; }
}
.rp-form .pn-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.rp-form .pn-form-foot .pn-muted { flex: 1 1 240px; }

/* ---- site repair: request page (graphic header with steps, action cards, timeline) */
.rpx-hero { position: relative; overflow: hidden; margin-bottom: 18px; padding: 24px 26px 22px; border-radius: 22px; color: #fff; background: radial-gradient(420px 260px at 0% 0%, rgba(167, 243, 208, .32), transparent 70%), radial-gradient(380px 260px at 100% 120%, rgba(129, 140, 248, .35), transparent 70%), linear-gradient(160deg, #1e3a5f 0%, #2a8a9b 100%); box-shadow: 0 24px 50px -30px rgba(18, 48, 71, .7); }
.rpx-hero.is-closed { background: linear-gradient(160deg, #334155, #64748b); }
.rpx-hero-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rpx-hero-site { display: flex; align-items: center; gap: 14px; min-width: 0; }
.rpx-hero-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); }
.rpx-hero-icon .icon { width: 28px; height: 28px; }
.rpx-hero h2 { margin: 0; font-size: 1.45rem; color: #fff; overflow-wrap: anywhere; }
.rpx-hero p { margin: 4px 0 0; color: rgba(255, 255, 255, .78); font-size: .88rem; }
.rpx-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: .84rem; font-weight: 800; white-space: nowrap; background: #eef2f7; color: #334155; }
.rpx-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.rpx-pill.is-ok { background: #dcfce7; color: #15803d; }
.rpx-pill.is-warn { background: #fef3c7; color: #b45309; }
.rpx-pill.is-wait { background: #e0f2fe; color: #0369a1; }
.rpx-pill.is-off { background: #f1f5f9; color: #64748b; }
.rpx-hero .rpx-pill { background: rgba(255, 255, 255, .95); }
.rpx-progress { height: 6px; margin: 22px 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.rpx-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a7f3d0, #5eead4); }
.rpx-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.rpx-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: rgba(255, 255, 255, .62); }
.rpx-steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; inset-inline-start: calc(50% + 28px); width: calc(100% - 56px); border-top: 2px dashed rgba(255, 255, 255, .28); }
.rpx-steps li.is-done:not(:last-child)::after { border-top-style: solid; border-color: #a7f3d0; }
.rpx-dot { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .25); transition: transform .2s; }
.rpx-dot .icon { width: 22px; height: 22px; }
.rpx-steps li.is-done .rpx-dot { background: #a7f3d0; border-color: #a7f3d0; color: #123047; }
.rpx-steps li.is-now .rpx-dot { background: #fff; border-color: #fff; color: #1e3a5f; box-shadow: 0 0 0 6px rgba(255, 255, 255, .18); animation: rpx-pulse 2.2s ease-in-out infinite; }
.rpx-steps li.is-now, .rpx-steps li.is-done { color: #fff; }
.rpx-steps b { font-size: .9rem; }
.rpx-steps small { font-size: .74rem; line-height: 1.6; color: rgba(255, 255, 255, .7); }
@keyframes rpx-pulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(255, 255, 255, .18); } 50% { box-shadow: 0 0 0 11px rgba(255, 255, 255, .06); } }
@media (prefers-reduced-motion: reduce) { .rpx-steps li.is-now .rpx-dot { animation: none; } }
.rpx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 18px; align-items: start; }
.rpx-main, .rpx-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.rpx-card { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 14px 34px -28px rgba(18, 48, 71, .45); }
.rpx-card h3 { margin: 0; font-size: 1.08rem; color: var(--ink); }
.rpx-card-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px !important; }
.rpx-card-title .icon { width: 20px; height: 20px; color: #2a8a9b; }
.rpx-art { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(140deg, #e0f2fe, #ccfbf1); color: #1e6f80; }
.rpx-art .icon { width: 30px; height: 30px; }
.rpx-art.is-warn { background: linear-gradient(140deg, #fef3c7, #ffedd5); color: #b45309; }
.rpx-art.is-ok { background: linear-gradient(140deg, #dcfce7, #ccfbf1); color: #15803d; }
.rpx-art.is-off { background: #f1f5f9; color: #64748b; }
.rpx-art.is-work .icon { animation: rpx-wiggle 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes rpx-wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(0); } }
.rpx-state { display: flex; gap: 16px; align-items: flex-start; }
.rpx-state p { margin: 8px 0 0; color: var(--muted); line-height: 1.9; }
.rpx-offer > header, .rpx-done > header { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.rpx-offer header p, .rpx-done header p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.rpx-price { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, #f0fdfa, #eef2ff); border: 1px solid #d5ecef; }
.rpx-price small { color: var(--muted); font-size: .82rem; }
.rpx-price b { font-size: 2rem; line-height: 1.3; color: #1e3a5f; }
.rpx-price b span { font-size: 1rem; font-weight: 700; color: var(--muted); }
.rpx-scope { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.rpx-scope b { display: flex; align-items: center; gap: 6px; color: var(--ink); }
.rpx-scope b .icon { width: 18px; height: 18px; color: #2a8a9b; }
.rpx-scope p { margin: 8px 0 0; line-height: 1.9; color: var(--text, var(--ink)); }
.rpx-scope.is-plain { padding: 0; background: none; }
.rpx-assure { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; }
.rpx-assure li { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; border: 1px dashed var(--border); font-size: .84rem; line-height: 1.7; color: var(--muted); }
.rpx-assure .icon { width: 20px; height: 20px; color: #2a8a9b; }
.rpx-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rpx-actions form { margin: 0; }
.rpx-cta { min-height: 48px; padding-inline: 24px; font-size: 1rem; background: linear-gradient(135deg, #1e3a5f, #2a8a9b) !important; border-color: transparent !important; box-shadow: 0 14px 26px -16px rgba(30, 58, 95, .9); }
.rpx-muted { margin: 12px 0 0; color: var(--muted); font-size: .88rem; }
.rpx-timeline { list-style: none; position: relative; margin: 0; padding: 0; }
.rpx-timeline li { position: relative; display: flex; gap: 12px; padding-bottom: 16px; }
.rpx-timeline li:not(:last-child)::before { content: ""; position: absolute; top: 34px; bottom: 0; inset-inline-start: 16px; border-inline-start: 2px solid var(--border); }
.rpx-timeline li > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); }
.rpx-timeline li:first-child > span { background: linear-gradient(135deg, #1e3a5f, #2a8a9b); color: #fff; }
.rpx-timeline .icon { width: 18px; height: 18px; }
.rpx-timeline b { display: block; font-size: .92rem; color: var(--ink); }
.rpx-timeline small { color: var(--muted); font-size: .8rem; }
.rpx-kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; margin: 0 0 14px; font-size: .9rem; }
.rpx-kv dt { color: var(--muted); }
.rpx-kv dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.rpx-kv dd.is-ltr { direction: ltr; text-align: end; }
.rpx-lock { display: inline-flex; align-items: center; gap: 3px; margin-inline-start: 4px; padding: 1px 8px; border-radius: 999px; background: #ecfdf5; color: #15803d; font-size: .76rem; font-weight: 700; }
.rpx-lock .icon { width: 12px; height: 12px; }
.rpx-help { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 18px; background: linear-gradient(135deg, #eff6ff, #f0fdfa); border: 1px solid #dbeafe; color: var(--ink); text-decoration: none; }
.rpx-help > .icon { width: 28px; height: 28px; color: #2a8a9b; flex: none; }
.rpx-help b { display: block; }
.rpx-help small { color: var(--muted); }
/* list of requests */
.rpx-list { display: flex; flex-direction: column; gap: 10px; }
.rpx-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.rpx-item:hover { border-color: #b6d4dc; box-shadow: 0 12px 26px -22px rgba(18, 48, 71, .6); transform: translateY(-1px); }
.rpx-item-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(140deg, #e0f2fe, #ccfbf1); color: #1e6f80; }
.rpx-item-icon .icon { width: 24px; height: 24px; }
.rpx-item-main { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rpx-item-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpx-item-main small { color: var(--muted); font-size: .8rem; }
.rpx-mini { display: flex; gap: 4px; margin-top: 4px; max-width: 220px; }
.rpx-mini i { flex: 1; height: 5px; border-radius: 999px; background: var(--border); }
.rpx-mini i.is-done { background: #2a8a9b; }
.rpx-mini i.is-now { background: linear-gradient(90deg, #2a8a9b, #a7f3d0); }
@media (max-width: 960px) { .rpx-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .rpx-hero { padding: 20px 16px 18px; border-radius: 18px; }
  .rpx-hero h2 { font-size: 1.15rem; }
  .rpx-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .rpx-steps li:not(:last-child)::after { top: 17px; inset-inline-start: calc(50% + 21px); width: calc(100% - 42px); }
  .rpx-dot { width: 36px; height: 36px; border-radius: 12px; }
  .rpx-dot .icon { width: 18px; height: 18px; }
  .rpx-steps b { font-size: .7rem; }
  .rpx-steps small { display: none; }
  .rpx-assure { grid-template-columns: 1fr; }
  .rpx-price b { font-size: 1.6rem; }
  .rpx-item { flex-wrap: wrap; }
  .rpx-item .btn { margin-inline-start: auto; }
}
.pn-renew-inline { display: block; margin-top: 6px; }

/* New ticket: pick the service it is about (active first, colour by status). */
.pn-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; max-height: 360px; overflow-y: auto; padding: 2px; }
.pn-related-item { position: relative; display: block; cursor: pointer; }
.pn-related-item input { position: absolute; opacity: 0; inset: 0; }
.pn-related-item > span { display: grid; grid-template-columns: 36px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; height: 100%; padding: 10px 12px; border: 1px solid var(--border); border-inline-start: 4px solid #cbd5e1; border-radius: 12px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.pn-related-icon { grid-row: 1 / span 2; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--bg); color: #4b5d76; font-style: normal; }
.pn-related-icon .icon { width: 20px; height: 20px; }
.pn-related-item b { font-size: .9rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-related-item small { grid-column: 2; color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-related-item em { grid-column: 3; grid-row: 1 / span 2; font-style: normal; font-size: .74rem; }
.pn-related-item.is-ok > span { border-inline-start-color: #16a05a; }
.pn-related-item.is-ok .pn-related-icon { background: #e6f7ee; color: #16a05a; }
.pn-related-item.is-wait > span { border-inline-start-color: #1560ff; }
.pn-related-item.is-wait .pn-related-icon { background: #e8f0ff; color: #1560ff; }
.pn-related-item.is-warn > span { border-inline-start-color: #e0a100; }
.pn-related-item.is-warn .pn-related-icon { background: #fff4dd; color: #b87400; }
.pn-related-item.is-bad > span { border-inline-start-color: #d12d2d; }
.pn-related-item.is-bad .pn-related-icon { background: #fdecec; color: #d12d2d; }
.pn-related-item.is-off > span { opacity: .72; }
.pn-related-item input:checked + span { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px var(--primary-soft); opacity: 1; }
.pn-related-item input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.pn-invoice-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

/* Site repairs: what this section is (a specialised website service). */
.rpx-intro { position: relative; padding: 26px 28px 22px; border-radius: 22px; color: #e6fffa; overflow: hidden;
  background: radial-gradient(420px 220px at 10% 0%, rgba(167, 243, 208, .22), transparent 60%), linear-gradient(135deg, #1e3a5f 0%, #24607a 55%, #2a8a9b 100%); box-shadow: 0 18px 40px -26px rgba(30, 58, 95, .9); }
.rpx-intro-top { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 24px; align-items: center; }
.rpx-intro h2 { margin: 8px 0 8px; font-size: 1.5rem; color: #fff; }
.rpx-intro p { margin: 0; line-height: 2; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.rpx-intro p b { color: #fde68a; }
.rpx-intro-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: .8rem; font-weight: 700; }
.rpx-intro-tag .icon { width: 15px; height: 15px; }
.rpx-intro-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .86rem; }
.rpx-intro-points li { display: inline-flex; align-items: center; gap: 6px; }
.rpx-intro-points .icon { width: 17px; height: 17px; color: #a7f3d0; }
.rpx-intro-art { width: 100%; height: auto; display: block; }
.rpx-flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .2); }
.rpx-flow li { position: relative; display: grid; justify-items: center; gap: 2px; text-align: center; }
.rpx-flow li::after { content: ""; position: absolute; top: 15px; inset-inline-start: calc(50% + 22px); width: calc(100% - 34px); height: 2px; background: linear-gradient(90deg, rgba(167, 243, 208, .15), rgba(167, 243, 208, .6)); }
.rpx-flow li:last-child::after { display: none; }
.rpx-flow li span { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 4px; border-radius: 50%; background: #fff; color: #1e3a5f; font-weight: 900; font-size: .9rem; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.rpx-flow b { font-size: .86rem; color: #fff; }
.rpx-flow small { color: rgba(255, 255, 255, .72); font-size: .76rem; }
.rpx-ask { display: flex; align-items: flex-start; gap: 18px; margin: 16px 0; padding: 22px 24px; border-radius: 20px; background: linear-gradient(180deg, #f2fbf9, var(--surface)); border: 1px solid #9fd6cf; box-shadow: 0 14px 30px -26px rgba(30, 111, 128, .7); }
.rpx-ask-icon { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(140deg, #ccfbf1, #e0f2fe); color: #1e6f80; }
.rpx-ask-icon .icon { width: 30px; height: 30px; }
.rpx-ask-body { flex: 1; min-width: 0; }
.rpx-ask-body h3 { margin: 0 0 6px; font-size: 1.12rem; }
.rpx-ask-body p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 2; }
.rpx-ask-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; white-space: nowrap; }
.rpx-none { display: flex; align-items: center; gap: 6px; margin: 0; }
.rpx-ack { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #fff8e6; border: 1px solid #f3dca8; color: #6b4a00; font-size: .88rem; line-height: 1.9; cursor: pointer; }
.rpx-ack input { margin-top: 6px; width: 18px; height: 18px; flex: none; }
@media (max-width: 900px) { .rpx-intro-top { grid-template-columns: 1fr; } .rpx-intro-art { max-width: 220px; justify-self: center; order: -1; } } @media (max-width: 560px) { .rpx-ask { flex-direction: column; gap: 12px; padding: 18px; } .rpx-ask-btn { width: 100%; justify-content: center; } }
@media (max-width: 700px) {
  .rpx-intro { padding: 20px 18px; }
  .rpx-flow { grid-template-columns: 1fr; gap: 12px; }
  .rpx-flow li { grid-template-columns: 32px 1fr; justify-items: start; text-align: right; column-gap: 12px; }
  .rpx-flow li span { grid-row: 1 / span 2; margin: 0; }
  .rpx-flow li::after { top: 36px; inset-inline-start: 15px; width: 2px; height: calc(100% - 22px); background: rgba(167, 243, 208, .35); }
}
@media (max-width: 560px) {
  .rpx-item { flex-wrap: wrap; }
  .rpx-item-main { flex: 1 1 calc(100% - 64px); min-width: 0; }
  .rpx-item .rpx-pill { margin-inline-start: 60px; }
  .rpx-item > .btn { margin-inline-start: auto; }
}
.pn-related-select optgroup { font-weight: 800; color: #334155; }
.pn-related-select option { font-weight: 500; color: #0b1b33; }
.pn-ns-ours { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--primary-soft); color: #33435c; font-size: .88rem; line-height: 2; }
.pn-ns-ours > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.rpx-choice-badge { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; vertical-align: middle; }
/* dark-css: skip */
/* Light / dark switch in the top bar: a day sky with a glowing sun, sliding into a starry night with a moon. */
.pn-theme-form { display: inline-flex; margin: 0; }
.pn-theme-btn {
  position: relative; flex: none; width: 66px; height: 34px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: none; direction: ltr; -webkit-tap-highlight-color: transparent; transition: transform .2s ease;
}
.pn-theme-btn:hover { transform: translateY(-1px) scale(1.04); }
.pn-theme-btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.pts-track {
  position: absolute; inset: 0; overflow: hidden; border-radius: inherit;
  background: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 45%, #2563eb 100%);
  box-shadow: inset 0 2px 6px rgba(15, 23, 42, .18), 0 6px 16px -6px rgba(59, 130, 246, .7);
  transition: background .5s ease, box-shadow .5s ease;
}
.pts-cloud { position: absolute; right: 9px; top: 15px; width: 18px; height: 7px; border-radius: 999px; background: #fff; opacity: .95; transition: transform .5s ease, opacity .4s ease; }
.pts-cloud::before, .pts-cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.pts-cloud::before { width: 9px; height: 9px; left: 3px; top: -5px; }
.pts-cloud::after { width: 7px; height: 7px; left: 9px; top: -3px; }
.pts-star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0; transform: scale(.3); transition: opacity .4s ease, transform .4s ease; }
.pts-star:nth-child(1) { left: 12px; top: 8px; }
.pts-star:nth-child(2) { left: 22px; top: 19px; width: 2px; height: 2px; }
.pts-star:nth-child(3) { left: 30px; top: 9px; width: 2px; height: 2px; }
.pts-knob {
  position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; transform: scale(.78);
  background: radial-gradient(circle at 35% 35%, #fff7c2 0%, #fde047 45%, #f59e0b 100%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .45), 0 0 14px 3px rgba(255, 247, 214, .9);
  transition: transform .55s cubic-bezier(.68, -.35, .27, 1.35), background .5s ease, box-shadow .5s ease;
  animation: pts-glow 2.6s ease-in-out infinite;
}
.pts-rays {
  position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(rgba(255, 255, 255, .95) 0deg 8deg, transparent 8deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 15px, #000 16px, #000 19px, transparent 20px);
  mask: radial-gradient(circle, transparent 15px, #000 16px, #000 19px, transparent 20px);
  animation: pts-spin 9s linear infinite; transition: opacity .3s ease;
}
.pts-crater { position: absolute; inset: 0; border-radius: 50%; opacity: 0; transition: opacity .4s ease .1s; }
.pts-crater::before, .pts-crater::after { content: ""; position: absolute; border-radius: 50%; background: rgba(100, 116, 139, .45); }
.pts-crater::before { width: 7px; height: 7px; left: 6px; top: 7px; }
.pts-crater::after { width: 4px; height: 4px; left: 15px; top: 15px; box-shadow: -7px 2px 0 -1px rgba(100, 116, 139, .4); }
html[data-theme="dark"] .pts-track { background: linear-gradient(135deg, #0f172a 0%, #312e81 70%, #4c1d95 120%); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45), 0 6px 16px -6px rgba(99, 102, 241, .8); }
html[data-theme="dark"] .pts-cloud { transform: translateX(16px); opacity: 0; }
html[data-theme="dark"] .pts-star { opacity: 1; transform: scale(1); animation: pts-twinkle 2.4s ease-in-out infinite; }
html[data-theme="dark"] .pts-star:nth-child(2) { animation-delay: .8s; }
html[data-theme="dark"] .pts-star:nth-child(3) { animation-delay: 1.5s; }
html[data-theme="dark"] .pts-knob {
  transform: translateX(32px) rotate(-30deg);
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #e2e8f0 55%, #94a3b8 100%);
  box-shadow: 0 0 0 3px rgba(226, 232, 240, .14), 0 0 14px 2px rgba(165, 180, 252, .6);
  animation: none;
}
html[data-theme="dark"] .pts-rays { opacity: 0; }
html[data-theme="dark"] .pts-crater { opacity: 1; }
@keyframes pts-spin { to { transform: rotate(360deg); } }
@keyframes pts-glow { 50% { box-shadow: 0 0 0 5px rgba(255, 255, 255, .3), 0 0 22px 7px rgba(255, 247, 214, .95); } }
@keyframes pts-twinkle { 50% { opacity: .25; transform: scale(.6); } }
@media (prefers-reduced-motion: reduce) {
  .pts-knob, .pts-rays, html[data-theme="dark"] .pts-star { animation: none; }
  .pts-knob, .pts-track, .pts-cloud, .pts-star { transition: none; }
}
@media (max-width: 640px) { .pn-theme-btn { width: 58px; height: 30px; } .pts-knob { width: 22px; height: 22px; } html[data-theme="dark"] .pts-knob { transform: translateX(28px) rotate(-30deg); } .pts-rays { inset: -6px; -webkit-mask: radial-gradient(circle, transparent 13px, #000 14px, #000 16px, transparent 17px); mask: radial-gradient(circle, transparent 13px, #000 14px, #000 16px, transparent 17px); } .pts-cloud { right: 7px; top: 13px; } }
/* dark-css: end */

/* «قالب وردپرس» in the panel */
.rpx-intro.is-wp { background: radial-gradient(420px 220px at 10% 0%, rgba(253, 230, 138, .2), transparent 60%), linear-gradient(135deg, #0b2545 0%, #13456b 50%, #21759b 100%); }
.rpx-item-icon.is-wp { background: linear-gradient(140deg, #dbeafe, #e0f2fe); color: #21759b; }
.pnt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.pnt-card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.pnt-media { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(135deg, #e0f2fe, #eef2ff); overflow: hidden; }
.pnt-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pnt-card b { font-size: .92rem; }
.pnt-free { display: inline-flex; align-items: center; gap: 4px; color: #c2410c; font-weight: 800; font-size: .78rem; }
.pnt-free .icon { width: 15px; height: 15px; }
.pnt-actions { display: flex; gap: 6px; margin-top: auto; }
.pnt-actions .btn { flex: 1; }
.pnt-cover { width: 100%; max-width: 420px; border-radius: 14px; margin: 6px 0 12px; display: block; }
.pn-badge.is-warn { background: #fff7e6; color: #8a5300; }
.pn-identity-form { margin-top: 10px; }
.pn-identity-form .pn-label { display: block; margin-bottom: 6px; }
.pn-upgrades { display: grid; gap: 8px; margin-top: 10px; }
.pn-upgrade { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; }
.pn-upgrade small { display: block; color: var(--muted); font-size: .82rem; }
@media (max-width: 560px) { .pn-upgrade { flex-direction: column; align-items: stretch; } }
.pn-upgrade-custom { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 10px 0; }
.pn-upgrade-custom label { display: grid; gap: 4px; min-width: 140px; flex: 1 1 140px; font-size: .9rem; }
.pn-upgrade-custom label small { color: var(--muted); }
[data-up-quote].is-busy { opacity: .55; transition: opacity .15s; }

/* «بازاریابی» */
.aff-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 28px; margin-bottom: 20px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #1560ff 0%, #6d4cff 60%, #b44cff 100%); box-shadow: 0 12px 30px rgba(21, 96, 255, .22); }
.aff-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: .82rem; font-weight: 800; }
.aff-eyebrow .icon { width: 16px; height: 16px; }
.aff-hero h2 { margin: 12px 0 8px; font-size: 1.45rem; font-weight: 900; line-height: 1.6; color: #fff; }
.aff-hero h2 b { display: inline-block; padding: 0 10px; border-radius: 10px; background: #ffd84d; color: #3a2a00; }
.aff-hero p { margin: 0 0 16px; color: rgba(255, 255, 255, .9); line-height: 1.9; max-width: 640px; }
.aff-link { display: flex; gap: 8px; max-width: 620px; }
.aff-link .acc-input { flex: 1; min-width: 0; background: #fff; color: #0b1b33; border-color: transparent; font-weight: 700; }
.aff-link .btn-primary { background: #0b1b33; border-color: #0b1b33; color: #fff; white-space: nowrap; }
.aff-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.aff-share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: .86rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.aff-share-btn:hover { background: rgba(255, 255, 255, .24); color: #fff; text-decoration: none; }
.aff-share-btn .icon { width: 18px; height: 18px; }
/* A QR code stays dark on white so phones can read it. */
/* dark-css: skip */
.aff-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; border-radius: 16px; background: #fff; color: #5d6f88; }
.aff-qr > div { width: 132px; height: 132px; }
.aff-qr svg { width: 100%; height: 100%; display: block; }
.aff-qr small { font-size: .75rem; }
/* dark-css: end */
.aff-stats { margin-bottom: 20px; }
.aff-grid { margin-bottom: 20px; }
.aff-balance { display: flex; flex-direction: column; gap: 4px; padding: 16px; margin-bottom: 14px; border-radius: 14px; background: var(--bg); }
.aff-balance > span { color: var(--muted); font-size: .86rem; }
.aff-balance b { font-size: 1.7rem; font-weight: 900; color: #16a05a; }
.aff-balance b small { font-size: .9rem; color: var(--muted); font-weight: 700; }
.aff-balance .pn-muted { font-size: .8rem; line-height: 1.6; }
.aff-form { display: flex; flex-direction: column; gap: 8px; }
.aff-form .btn { align-self: flex-start; margin-top: 6px; }
.aff-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 6px; }
.aff-method { position: relative; display: block; cursor: pointer; }
.aff-method input { position: absolute; opacity: 0; pointer-events: none; }
.aff-method > span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: 14px; transition: border-color .15s, background .15s; }
.aff-method > span .icon { width: 22px; height: 22px; color: var(--primary); }
.aff-method b { font-size: .92rem; color: var(--ink); }
.aff-method small { color: var(--muted); font-size: .78rem; line-height: 1.6; }
.aff-method input:checked + span { border-color: var(--primary); background: var(--primary-soft); }
.aff-method input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.aff-method.is-off { cursor: not-allowed; opacity: .6; }
.aff-bank { display: flex; flex-direction: column; gap: 8px; }
.aff-steps { list-style: none; margin: 0 0 16px; padding: 0; counter-reset: aff; display: flex; flex-direction: column; gap: 12px; }
.aff-steps li { position: relative; display: flex; flex-direction: column; gap: 2px; padding-inline-start: 46px; min-height: 34px; counter-increment: aff; }
.aff-steps li::before { content: counter(aff, persian); position: absolute; inset-inline-start: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 900; }
.aff-steps b { color: var(--ink); font-size: .94rem; }
.aff-steps span { color: var(--muted); font-size: .86rem; line-height: 1.8; }
.aff-rates { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.aff-rate { padding: 6px 12px; border-radius: 999px; background: #e6f7ee; color: #16a05a; font-size: .86rem; font-weight: 700; }
.aff-rate b { font-weight: 900; }
.aff-links { display: flex; flex-direction: column; gap: 8px; }
.aff-links .pn-copy-row { display: flex; gap: 8px; }
.aff-links .acc-input { flex: 1; min-width: 0; font-size: .82rem; }
.aff-sub { display: block; margin-top: 4px; color: var(--muted); font-size: .76rem; }
.aff-people { list-style: none; margin: 0; padding: 0; }
.aff-people li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.aff-people li:last-child { border-bottom: 0; }
.aff-person { font-weight: 700; color: var(--ink); }
.aff-people small { color: var(--muted); font-size: .8rem; }
.aff-people .pn-status { margin-inline-start: auto; }
.aff-note { flex-basis: 100%; }
.aff-rules details { padding: 12px 0; border-bottom: 1px solid var(--border); }
.aff-rules details:last-child { border-bottom: 0; }
.aff-rules summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.aff-rules details p { margin: 8px 0 0; color: var(--muted); line-height: 1.9; font-size: .9rem; }
@media (max-width: 900px) {
  .aff-hero { grid-template-columns: 1fr; padding: 22px 18px; }
  .aff-qr { display: none; }
  .aff-hero h2 { font-size: 1.2rem; }
}
@media (max-width: 560px) {
  .aff-link { flex-direction: column; }
  .aff-methods { grid-template-columns: 1fr; }
}
.aff-banners { margin-bottom: 20px; }
.aff-banners .pn-card-head { flex-wrap: wrap; }
.aff-banner-tools { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.aff-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 6px; }
.aff-size { position: relative; cursor: pointer; }
.aff-size input { position: absolute; opacity: 0; pointer-events: none; }
.aff-size > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 8px 12px; border: 2px solid var(--border); border-radius: 12px; transition: border-color .15s, background .15s; }
.aff-size b { font-size: .95rem; color: var(--ink); text-align: right; }
.aff-size small { font-size: .74rem; color: var(--muted); line-height: 1.6; }
.aff-size input:checked + span { border-color: var(--primary); background: var(--primary-soft); }
.aff-size input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.aff-banners select.acc-input { max-width: 320px; }
.aff-banner-preview { display: flex; justify-content: center; align-items: center; min-height: 140px; padding: 18px; margin-bottom: 14px; border-radius: 14px; background: var(--bg); overflow-x: auto; }
.aff-banner-preview img { display: block; max-width: 100%; height: auto; }
.aff-code { width: 100%; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; direction: ltr; text-align: left; font-size: .76rem; line-height: 1.6; resize: vertical; }
.aff-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 8px; }
