/* ToolSphare Partners + Account — professional marketplace UI */
.pt-page { padding-bottom: 3.5rem; }
.pt-hero {
  position: relative;
  padding: 2.75rem 0 2.25rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(0, 174, 239, 0.18), transparent 60%),
    radial-gradient(700px 380px at 88% 0%, rgba(15, 118, 110, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.15));
}
.pt-hero .breadcrumb { margin-bottom: .85rem; opacity: .75; }
.pt-hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 .65rem;
  line-height: 1.15;
}
.pt-hero-lead {
  max-width: 46rem;
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.88);
}
.pt-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.pt-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}
.pt-hero-meta span {
  font-size: .86rem;
  color: rgba(203, 213, 225, 0.9);
}
.pt-hero-meta strong { color: #e2e8f0; }

.pt-section { padding: 2.25rem 0 0; }
.pt-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}
.pt-section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.pt-section-head p {
  margin: .35rem 0 0;
  color: rgba(148, 163, 184, 0.95);
  max-width: 40rem;
  font-size: .95rem;
}

.pt-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.pt-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.pt-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.pt-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.55));
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.22);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.pt-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 174, 239, 0.35);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.32);
}
.pt-card--free { border-color: rgba(20, 184, 166, 0.35); }
.pt-card--paid { border-color: rgba(245, 158, 11, 0.4); }
.pt-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}
.pt-badge--free { background: rgba(15, 118, 110, 0.9); color: #fff; }
.pt-badge--paid { background: rgba(180, 83, 9, 0.95); color: #fff; }
.pt-badge--addon { background: rgba(29, 78, 216, 0.9); color: #fff; }
.pt-card h3 {
  margin: .7rem 0 .35rem;
  font-size: 1.15rem;
  font-weight: 740;
}
.pt-price {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 .55rem;
  color: #f8fafc;
}
.pt-card p {
  margin: 0 0 .85rem;
  color: rgba(203, 213, 225, 0.9);
  font-size: .93rem;
  line-height: 1.5;
}
.pt-card ul {
  margin: 0 0 1rem;
  padding-left: 1.05rem;
  color: rgba(226, 232, 240, 0.88);
  font-size: .9rem;
}
.pt-card li { margin: .28rem 0; }
.pt-card .btn { width: 100%; justify-content: center; }

.pt-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.pt-step {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.4);
}
.pt-step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 750;
  background: rgba(0, 174, 239, 0.2);
  color: #7dd3fc;
  margin-bottom: .55rem;
}
.pt-step h3 { margin: 0 0 .3rem; font-size: .98rem; }
.pt-step p { margin: 0; font-size: .86rem; color: rgba(148, 163, 184, 0.95); line-height: 1.45; }

.pt-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .3rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
  margin-bottom: 1rem;
}
.pt-tabs a {
  text-decoration: none;
  color: rgba(203, 213, 225, 0.9);
  font-size: .86rem;
  font-weight: 600;
  padding: .45rem .85rem;
  border-radius: 999px;
}
.pt-tabs a.is-active {
  background: linear-gradient(135deg, #00aeef, #0284c7);
  color: #fff;
}

.pt-partner-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(165deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.52));
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.pt-partner-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 174, 239, 0.38);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.3);
}
.pt-partner-card.is-featured {
  border-color: rgba(59, 130, 246, 0.45);
}
.pt-partner-card.is-paid {
  border-color: rgba(245, 158, 11, 0.35);
}
.pt-partner-card__media {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.25);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--pt-brand, #00aeef) 35%, transparent), transparent 60%),
    rgba(2, 6, 23, 0.55);
  display: grid;
  place-items: center;
}
.pt-partner-card__media img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  display: block;
}
.pt-partner-card__fallback {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: #7dd3fc;
  background: rgba(0, 174, 239, 0.14);
}
.pt-partner-card__fallback--lg {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  font-size: 2.4rem;
}
.pt-partner-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .75rem;
  align-items: center;
  justify-content: space-between;
}
.pt-partner-card__badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.pt-partner-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.pt-partner-card h3 a { color: inherit; text-decoration: none; }
.pt-partner-card h3 a:hover { color: #7dd3fc; }
.pt-partner-card__tagline {
  margin: .45rem 0 0;
  color: #e2e8f0;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.4;
}
.pt-partner-card__desc {
  margin: .45rem 0 0;
  font-size: .9rem;
  color: rgba(203, 213, 225, 0.9);
  line-height: 1.5;
}
.pt-partner-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .65rem;
  margin-top: .7rem;
}
.pt-partner-card__meta span {
  font-size: .78rem;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  padding: .22rem .55rem;
}
.pt-partner-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
}
.pt-partner-card__tags li {
  font-size: .74rem;
  font-weight: 650;
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  padding: .2rem .55rem;
}
.pt-partner-card__tags--lg li { font-size: .82rem; padding: .3rem .7rem; }
.pt-partner-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .9rem;
}
.pt-partner-card__actions .btn { width: auto; }

.pt-dir-count {
  font-size: .86rem;
  font-weight: 700;
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(14, 165, 233, 0.1);
  border-radius: 999px;
  padding: .35rem .75rem;
}
.pt-dir-block { margin-bottom: 1.5rem; }
.pt-dir-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 0 .85rem;
}
.pt-dir-block-head h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 750;
}
.pt-dir-block-head span {
  font-size: .8rem;
  font-weight: 700;
  color: #94a3b8;
}
.pt-dir-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.pt-empty {
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  color: rgba(148, 163, 184, 0.95);
  background: rgba(15, 23, 42, 0.28);
}
.pt-empty--cta {
  text-align: center;
  padding: 1.75rem 1.25rem;
  display: grid;
  gap: .55rem;
  justify-items: center;
}
.pt-empty--cta strong {
  color: #e2e8f0;
  font-size: 1.05rem;
}
.pt-empty--cta p {
  margin: 0;
  max-width: 28rem;
  line-height: 1.5;
}
.pt-empty--cta .btn { width: auto; }

.pt-showcase a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.4);
  font-weight: 650;
  font-size: .92rem;
  transition: border-color .15s ease, transform .15s ease;
}
.pt-showcase a:hover {
  border-color: rgba(0, 174, 239, 0.4);
  transform: translateY(-1px);
  color: #e2e8f0;
}

/* Submit form panels */
.pt-submit-form { display: grid; gap: 1rem; }
.pt-form-panel {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.5);
  padding: 1.15rem 1.2rem 1.25rem;
}
.pt-form-panel h2 {
  margin: 0 0 .85rem;
  font-size: 1.05rem;
  font-weight: 750;
}
.pt-field-hint {
  display: block;
  margin-top: .35rem;
  font-size: .8rem;
  color: #94a3b8;
}
.pt-submit-form .ac-field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(2, 6, 23, 0.45);
  color: #e2e8f0;
  padding: .72rem .85rem;
}
.pt-submit-note {
  margin: .25rem 0 0;
  opacity: .85;
  font-size: .9rem;
  line-height: 1.5;
}
.pt-submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1rem;
}

/* Partner profile */
.pt-profile-hero {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.pt-profile-logo {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.3);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--pt-brand, #00aeef) 35%, transparent), transparent 60%),
    rgba(2, 6, 23, 0.55);
}
.pt-profile-logo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
}
.pt-profile-copy h1 {
  margin: 0 0 .35rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}
.pt-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .65rem;
}
.pt-profile-meta span {
  font-size: .8rem;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  padding: .25rem .6rem;
}
.pt-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr);
  gap: 1rem;
  align-items: start;
}
.pt-profile-panel {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.48);
  padding: 1.15rem 1.2rem;
  margin-bottom: 1rem;
}
.pt-profile-panel h2 {
  margin: 0 0 .7rem;
  font-size: 1.05rem;
}
.pt-profile-desc {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.92);
}
.pt-profile-highlights {
  margin: 0;
  padding-left: 1.1rem;
  color: #e2e8f0;
}
.pt-profile-highlights li { margin: .35rem 0; line-height: 1.45; }
.pt-profile-dl { margin: 0; display: grid; gap: .75rem; }
.pt-profile-dl div { display: grid; gap: .2rem; }
.pt-profile-dl dt {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #94a3b8;
  font-weight: 700;
}
.pt-profile-dl dd { margin: 0; color: #e2e8f0; word-break: break-word; }
.pt-profile-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.pt-profile-social a {
  color: #7dd3fc;
  font-weight: 650;
  text-decoration: none;
}
.pt-profile-social a:hover { text-decoration: underline; }
.pt-profile-panel--cta p {
  margin: 0 0 .75rem;
  color: #94a3b8;
  font-size: .9rem;
}


/* Auth shell */
.pt-auth {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding: 2rem 0 3rem;
}
.pt-auth-shell {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
}
.pt-auth-aside {
  padding: 2rem 1.75rem;
  background:
    radial-gradient(500px 280px at 20% 0%, rgba(0, 174, 239, 0.22), transparent 60%),
    linear-gradient(165deg, rgba(2, 132, 199, 0.25), rgba(15, 23, 42, 0.2));
  border-right: 1px solid rgba(148, 163, 184, 0.14);
}
.pt-auth-aside h1 {
  margin: .4rem 0 .6rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pt-auth-aside p {
  margin: 0 0 1rem;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.5;
}
.pt-auth-aside ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(203, 213, 225, 0.92);
  font-size: .92rem;
}
.pt-auth-aside li { margin: .35rem 0; }
.pt-auth-main { padding: 2rem 1.75rem; }
.pt-auth-main h2 {
  margin: 0 0 .35rem;
  font-size: 1.35rem;
  font-weight: 750;
}
.pt-auth-main .pt-auth-sub {
  margin: 0 0 1.15rem;
  color: rgba(148, 163, 184, 0.95);
  font-size: .92rem;
}
.pt-auth .ac-field { margin-bottom: .9rem; }
.pt-auth .ac-field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .88rem;
  font-weight: 600;
}
.pt-auth .ac-field input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(2, 6, 23, 0.45);
  color: #e2e8f0;
  padding: .72rem .85rem;
}
.pt-auth .ac-field input:focus {
  outline: none;
  border-color: rgba(0, 174, 239, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}
.pt-auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin: .35rem 0 1rem;
  font-size: .95rem;
  color: #e2e8f0;
}
.pt-auth-remember {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  color: #e2e8f0;
  font-weight: 600;
}
.pt-auth-visual {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 640 / 420;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 0 1rem;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: rgba(2, 6, 23, 0.35);
}
.pt-auth-link {
  color: #7dd3fc !important;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  line-height: 1.4;
}
.pt-auth-link:hover,
.pt-auth-link:focus-visible {
  color: #e0f2fe !important;
  text-decoration-thickness: 2px;
}
.pt-auth-link--strong {
  color: #38bdf8 !important;
  font-size: 1rem;
  font-weight: 800;
}
.pt-auth .btn-primary { width: 100%; justify-content: center; }
.pt-auth-foot {
  margin-top: 1.15rem;
  text-align: center;
  font-size: .98rem;
  color: #cbd5e1;
  font-weight: 600;
  line-height: 1.55;
}
.pt-auth-foot .pt-auth-link {
  display: inline;
  margin-inline-start: .25rem;
}
.pt-alert {
  border-radius: 12px;
  padding: .85rem 1rem;
  margin-bottom: 1rem;
  font-size: .92rem;
}
.pt-alert--ok {
  background: rgba(15, 118, 110, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #99f6e4;
}
.pt-alert--err {
  background: rgba(127, 29, 29, 0.25);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}
.pt-listing {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 1.1rem;
  margin-bottom: 1rem;
  background: rgba(15, 23, 42, 0.45);
}
.pt-paybox {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.pt-paybox pre {
  white-space: pre-wrap;
  font-family: inherit;
  margin: 0 0 .75rem;
  opacity: .9;
}

@media (max-width: 960px) {
  .pt-grid-3, .pt-steps, .pt-grid-4, .pt-dir-grid, .pt-profile-layout { grid-template-columns: 1fr 1fr; }
  .pt-auth-shell { grid-template-columns: 1fr; }
  .pt-auth-aside { border-right: 0; border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
}
@media (max-width: 720px) {
  .pt-partner-card,
  .pt-profile-hero {
    grid-template-columns: 1fr;
  }
  .pt-partner-card__media,
  .pt-profile-logo {
    width: 72px;
    height: 72px;
  }
  .pt-partner-card__media img,
  .pt-profile-logo img {
    width: 72px;
    height: 72px;
  }
  .pt-partner-card__fallback {
    width: 72px;
    height: 72px;
  }
}
@media (max-width: 640px) {
  .pt-grid-3, .pt-grid-2, .pt-steps, .pt-grid-4, .pt-dir-grid, .pt-profile-layout { grid-template-columns: 1fr; }
  .pt-hero { padding: 2rem 0 1.6rem; }
}

/* —— Partner account shell —— */
.ac-hero {
  position: relative;
  padding: 2.4rem 0 1.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(820px 360px at 8% -20%, rgba(0, 174, 239, 0.2), transparent 58%),
    radial-gradient(640px 320px at 92% 0%, rgba(15, 118, 110, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.12));
}
.ac-hero .breadcrumb { margin-bottom: .75rem; opacity: .75; }
.ac-kicker {
  margin: 0 0 .45rem;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5eead4;
}
.ac-hero h1 {
  margin: 0 0 .55rem;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ac-hero-lead {
  max-width: 42rem;
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.55;
}
.ac-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}
.ac-hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.ac-hero-actions .btn { display: inline-flex; align-items: center; gap: .45rem; }
.ac-section { padding: 1.75rem 0 3.25rem; }
.ac-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-areas:
    "tabs tabs"
    "side main";
  gap: 1.35rem;
  align-items: start;
}
.ac-mobile-tabs {
  grid-area: tabs;
  display: none;
  gap: .45rem;
  overflow-x: auto;
  padding: .35rem .15rem .15rem;
  margin: 0 0 .15rem;
  scrollbar-width: thin;
}
.ac-mobile-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
  min-height: 42px;
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
  color: #cbd5e1;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}
.ac-mobile-tab .ac-nav-ico {
  width: 28px;
  height: 28px;
  border-radius: 999px;
}
.ac-mobile-tab .ac-nav-ico svg { width: 15px; height: 15px; }
.ac-mobile-tab.is-active {
  color: #fff;
  border-color: rgba(0, 174, 239, 0.4);
  background: rgba(0, 174, 239, 0.16);
}
.ac-sidebar { grid-area: side; }
.ac-shell-main { grid-area: main; min-width: 0; }

/* Sidebar */
.ac-sidebar {
  position: sticky;
  top: 5.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  padding: 1.05rem;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.52)),
    radial-gradient(420px 180px at 0% 0%, rgba(0, 174, 239, 0.12), transparent 70%);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
}
.ac-sidebar__brand {
  display: flex;
  gap: .85rem;
  align-items: center;
  margin-bottom: 1.05rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.ac-sidebar__identity { min-width: 0; }
.ac-sidebar__identity strong {
  display: block;
  font-size: .95rem;
  line-height: 1.25;
}
.ac-sidebar__identity p {
  margin: .2rem 0 .35rem;
  font-size: .76rem;
  color: rgba(203, 213, 225, 0.8);
  word-break: break-all;
}
.ac-sidebar__phone {
  margin: 0 0 .4rem !important;
  font-size: .78rem !important;
  color: #7dd3fc !important;
  word-break: normal !important;
  font-weight: 650;
}
.ac-sidebar__role {
  display: inline-flex;
  padding: .18rem .5rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #99f6e4;
  background: rgba(15, 118, 110, 0.28);
  border: 1px solid rgba(45, 212, 191, 0.28);
}
.ac-sidebar__label {
  margin: .35rem 0 .4rem;
  padding-inline-start: .35rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
}
.ac-sidebar__nav {
  display: grid;
  gap: .35rem;
  margin-bottom: .85rem;
}
.ac-nav-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .62rem .7rem;
  border-radius: 12px;
  color: #cbd5e1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ac-nav-link:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #fff;
}
.ac-nav-link.is-active {
  background: rgba(0, 174, 239, 0.16);
  border-color: rgba(0, 174, 239, 0.28);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 174, 239, 0.08);
}
.ac-nav-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #7dd3fc;
  line-height: 0;
}
.ac-nav-link.is-active .ac-nav-ico {
  background: rgba(0, 174, 239, 0.22);
  border-color: rgba(0, 174, 239, 0.35);
  color: #e0f2fe;
}
.ac-nav-ico svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}
.ac-nav-text { min-width: 0; display: grid; gap: .1rem; }
.ac-nav-text strong {
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.2;
}
.ac-nav-text small {
  font-size: .72rem;
  color: rgba(148, 163, 184, 0.9);
  font-weight: 550;
}
.ac-nav-link.is-active .ac-nav-text small { color: rgba(186, 230, 253, 0.88); }
.ac-sidebar__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  margin: .25rem 0 1rem;
  padding: .55rem;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.ac-sidebar__stats div {
  text-align: center;
  padding: .35rem .2rem;
}
.ac-sidebar__stats span {
  display: block;
  font-weight: 850;
  font-size: 1rem;
  color: #f8fafc;
  line-height: 1.1;
}
.ac-sidebar__stats small {
  font-size: .68rem;
  color: rgba(148, 163, 184, 0.9);
}
.ac-logout-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ac-logout-btn:hover {
  background: rgba(127, 29, 29, 0.34);
  color: #fff;
}
.ac-logout-btn .ac-nav-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #fecaca;
  background: rgba(2, 6, 23, 0.25);
}

.ac-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(0, 174, 239, 0.35), rgba(15, 118, 110, 0.45));
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #ecfeff;
  font-weight: 800;
  letter-spacing: .02em;
}
.ac-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-avatar--lg { width: 72px; height: 72px; border-radius: 18px; font-size: 1.15rem; }

.ac-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}
.ac-kpi {
  display: flex;
  align-items: center;
  gap: .75rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: .9rem 1rem;
  background: rgba(15, 23, 42, 0.48);
}
.ac-kpi__ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 174, 239, 0.14);
  border: 1px solid rgba(0, 174, 239, 0.22);
  color: #7dd3fc;
  flex-shrink: 0;
  line-height: 0;
}
.ac-kpi__ico svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
}
.ac-kpi__ico--ok { background: rgba(15, 118, 110, 0.22); border-color: rgba(45, 212, 191, 0.28); color: #5eead4; }
.ac-kpi__ico--warn { background: rgba(180, 83, 9, 0.2); border-color: rgba(251, 191, 36, 0.28); color: #fcd34d; }
.ac-kpi__ico--paid { background: rgba(109, 40, 217, 0.18); border-color: rgba(167, 139, 250, 0.28); color: #c4b5fd; }
.ac-kpi span {
  display: block;
  font-size: .78rem;
  color: rgba(203, 213, 225, 0.8);
  margin-bottom: .15rem;
}
.ac-kpi strong {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.ac-panel {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.25rem;
  background: rgba(15, 23, 42, 0.5);
}
.ac-panel--mt { margin-top: 1rem; }
.ac-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.ac-panel-head h2 {
  margin: 0 0 .25rem;
  font-size: 1.12rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.ac-panel-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  background: rgba(0, 174, 239, 0.14);
  border: 1px solid rgba(0, 174, 239, 0.22);
  color: #7dd3fc;
}
.ac-panel-ico svg { width: 16px; height: 16px; }
.ac-panel-head p {
  margin: 0;
  color: rgba(203, 213, 225, 0.82);
  font-size: .9rem;
}

.ac-listing-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: .85rem;
  background: rgba(2, 6, 23, 0.28);
}
.ac-listing-card:last-child { margin-bottom: 0; }
.ac-listing-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.ac-listing-identity {
  display: flex;
  gap: .85rem;
  min-width: 0;
  flex: 1 1 16rem;
}
.ac-listing-identity img,
.ac-listing-fallback {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: cover;
}
.ac-listing-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(0, 174, 239, 0.28), rgba(15, 118, 110, 0.4));
  font-weight: 800;
}
.ac-listing-identity h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  line-height: 1.3;
}
.ac-listing-identity a { word-break: break-all; font-size: .86rem; }
.ac-listing-identity p { margin: .3rem 0 0; font-size: .84rem; }
.ac-listing-meta {
  display: grid;
  justify-items: end;
  gap: .3rem;
  text-align: right;
}
.ac-listing-meta small {
  color: rgba(203, 213, 225, 0.75);
  font-size: .78rem;
}
.ac-listing-note {
  margin: .85rem 0 0;
  padding: .7rem .8rem;
  border-radius: 10px;
  background: rgba(127, 29, 29, 0.22);
  border: 1px solid rgba(248, 113, 113, 0.28);
  color: #fecaca;
  font-size: .88rem;
}
.ac-empty {
  text-align: center;
  padding: 2.2rem 1rem;
}
.ac-empty__ico {
  width: 56px;
  height: 56px;
  margin: 0 auto .85rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(0, 174, 239, 0.12);
  border: 1px solid rgba(0, 174, 239, 0.22);
  color: #7dd3fc;
}
.ac-empty__ico svg { width: 26px; height: 26px; }
.ac-empty h3 { margin: 0 0 .4rem; }
.ac-empty p { margin: 0 0 1rem; color: rgba(203, 213, 225, 0.85); }
.ac-muted { color: rgba(148, 163, 184, 0.9); font-size: .82rem; }

.ac-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem 1rem;
}
.ac-form-grid--narrow { max-width: 30rem; grid-template-columns: 1fr; }
.ac-field { display: grid; gap: .35rem; }
.ac-field > span { font-size: .84rem; font-weight: 650; color: #e2e8f0; }
.ac-field input,
.ac-field textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(2, 6, 23, 0.45);
  color: #f8fafc;
  padding: .7rem .8rem;
  font: inherit;
}
.ac-field input:focus,
.ac-field textarea:focus {
  outline: none;
  border-color: rgba(0, 174, 239, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.14);
}
.ac-field input:disabled {
  opacity: .7;
  cursor: not-allowed;
}
.ac-field--full { grid-column: 1 / -1; }
.ac-avatar-edit {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .85rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  background: rgba(2, 6, 23, 0.28);
}
.ac-avatar-edit label { display: block; font-size: .84rem; font-weight: 650; margin-bottom: .35rem; }
.ac-check {
  display: inline-flex !important;
  align-items: center;
  gap: .45rem;
  margin-top: .55rem;
  font-weight: 600 !important;
  font-size: .84rem !important;
  color: #e2e8f0;
}
.ac-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .25rem;
}

/* Security */
.ac-score-chip {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  background: rgba(15, 118, 110, 0.18);
}
.ac-score-chip__ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(15, 118, 110, 0.28);
  color: #5eead4;
}
.ac-score-chip__ico svg { width: 18px; height: 18px; }
.ac-score-chip strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.ac-score-chip small { color: rgba(204, 251, 241, 0.85); font-size: .74rem; }
.ac-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1rem;
}
.ac-check-card {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .85rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.48);
}
.ac-check-card__ico {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ac-check-card__ico svg { width: 16px; height: 16px; }
.ac-check-card.is-ok .ac-check-card__ico {
  background: rgba(15, 118, 110, 0.28);
  color: #5eead4;
}
.ac-check-card.is-bad .ac-check-card__ico {
  background: rgba(180, 83, 9, 0.25);
  color: #fcd34d;
}
.ac-check-card strong { display: block; font-size: .9rem; margin-bottom: .2rem; }
.ac-check-card p { margin: 0; font-size: .8rem; color: rgba(203, 213, 225, 0.85); line-height: 1.4; }
.ac-pass-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .45rem;
  align-items: center;
}
.ac-pass-wrap input { min-width: 0; }
.ac-pass-toggle {
  min-height: 42px;
  padding: 0 .8rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.65);
  color: #e2e8f0;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.ac-pass-toggle:hover { border-color: rgba(0, 174, 239, 0.4); color: #fff; }
.ac-pass-rules {
  list-style: none;
  margin: 0;
  padding: .7rem .8rem;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.14);
  display: grid;
  gap: .35rem;
  grid-column: 1 / -1;
}
.ac-pass-rules li {
  position: relative;
  padding-inline-start: 1.15rem;
  font-size: .8rem;
  color: rgba(148, 163, 184, 0.95);
}
.ac-pass-rules li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .35rem;
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.55);
}
.ac-pass-rules li.is-ok { color: #99f6e4; }
.ac-pass-rules li.is-ok::before { background: #2dd4bf; }
.ac-pass-rules li.is-bad { color: #fca5a5; }
.ac-pass-rules li.is-bad::before { background: #f87171; }
.ac-secure-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .65rem;
}
.ac-secure-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .7rem .8rem;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.12);
  font-size: .9rem;
}
.ac-secure-list span { color: rgba(226, 232, 240, 0.9); text-align: right; }
.ac-pill {
  display: inline-flex;
  align-items: center;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 750;
}
.ac-pill--ok {
  color: #99f6e4;
  background: rgba(15, 118, 110, 0.25);
  border: 1px solid rgba(45, 212, 191, 0.28);
}
.ac-pill--warn {
  color: #fde68a;
  background: rgba(180, 83, 9, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.28);
}
.ac-verify-box {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(180, 83, 9, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
  justify-content: space-between;
}
.ac-verify-box strong { display: block; margin-bottom: .2rem; }
.ac-verify-box p { margin: 0; font-size: .84rem; color: rgba(254, 243, 199, 0.9); }
.ac-tips-list {
  margin: 0;
  padding-inline-start: 1.15rem;
  display: grid;
  gap: .45rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: .9rem;
  line-height: 1.45;
}

/* Professional phone input */
.ac-phone-field { display: grid; gap: .4rem; }
.ac-phone-field__label {
  font-size: .84rem;
  font-weight: 700;
  color: #e2e8f0;
}
.ac-req { color: #fca5a5; }
.ac-phone {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9.5rem) minmax(0, 1fr);
  gap: .55rem;
  align-items: stretch;
}
.ac-phone__country {
  position: relative;
  display: grid;
}
.ac-phone__select {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(2, 6, 23, 0.5);
  color: #f8fafc;
  padding: .55rem 2.2rem .55rem .7rem;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #94a3b8 50%),
    linear-gradient(135deg, #94a3b8 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 3px),
    calc(100% - 9px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.ac-phone__dial {
  position: absolute;
  right: 1.7rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .68rem;
  font-weight: 800;
  color: #67e8f9;
  pointer-events: none;
  opacity: .85;
}
.ac-phone__number input {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(2, 6, 23, 0.45);
  color: #f8fafc;
  padding: .7rem .85rem;
  font: inherit;
  letter-spacing: .02em;
}
.ac-phone__number input:focus,
.ac-phone__select:focus {
  outline: none;
  border-color: rgba(0, 174, 239, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.14);
}
.ac-phone__hint {
  margin: 0;
  font-size: .78rem;
  color: rgba(148, 163, 184, 0.95);
  line-height: 1.4;
}
.pt-submit-form .ac-phone-field__label { margin-bottom: 0; }
.ac-shell-main .pt-form-panel {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  padding: 1rem 1.05rem 1.1rem;
  margin-bottom: .9rem;
  background: rgba(15, 23, 42, 0.45);
}

@media (max-width: 960px) {
  .ac-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tabs"
      "main"
      "side";
  }
  .ac-mobile-tabs { display: flex; }
  .ac-sidebar { position: static; }
  .ac-kpi-row { grid-template-columns: 1fr 1fr; }
  .ac-check-grid { grid-template-columns: 1fr; }
  .ac-phone { grid-template-columns: minmax(7rem, 8.75rem) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ac-form-grid { grid-template-columns: 1fr; }
  .ac-listing-meta { justify-items: start; text-align: left; }
  .ac-kpi-row { grid-template-columns: 1fr; }
  .ac-sidebar__nav { grid-template-columns: 1fr; }
  .ac-secure-list li { flex-direction: column; align-items: flex-start; }
  .ac-secure-list span { text-align: left; }
  .ac-phone { grid-template-columns: 1fr; }
}
