/* SMP Clipper v1.8.56.0.50 unified Trial, Basic, VIP Pro UI */

.simple-pricing-grid.three-plans,
.plan-policy-grid,
.trial-platform-grid {
  display: grid;
  gap: 18px;
}

.simple-pricing-grid.three-plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.simple-price-card.is-trial {
  border-color: rgba(24, 199, 181, .28);
  background:
    radial-gradient(circle at 10% 0%, rgba(24, 199, 181, .13), transparent 36%),
    linear-gradient(180deg, rgba(15, 25, 30, .96), rgba(11, 15, 22, .98));
}

.simple-price-card.is-trial .simple-plan-head span,
.simple-price-card.is-trial .simple-price strong {
  color: #51dfc9;
}

.trial-center {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(120, 132, 166, .2);
  border-radius: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(var(--secondary-rgb), .11), transparent 34%),
    radial-gradient(circle at 100% 0, rgba(var(--primary-rgb), .13), transparent 38%),
    #0d1119;
}

.trial-center.orders {
  margin-top: 20px;
}

.trial-center .section-title {
  margin-bottom: 18px;
}

.trial-center .section-title p {
  max-width: 760px;
  color: #8994aa;
  margin: 7px 0 0;
}

.trial-platform-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trial-platform-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(124, 138, 170, .19);
  border-radius: 20px;
  padding: 20px;
  background: rgba(14, 19, 29, .88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.trial-platform-card.active {
  border-color: rgba(24, 199, 181, .4);
  background: linear-gradient(145deg, rgba(24,199,181,.09), rgba(14,19,29,.94));
}

.trial-platform-card.cooldown {
  border-color: rgba(245, 158, 11, .4);
  background: linear-gradient(145deg, rgba(245,158,11,.08), rgba(14,19,29,.94));
}

.trial-platform-card.paid {
  border-color: rgba(var(--primary-rgb), .38);
}

.trial-platform-card.disabled {
  opacity: .72;
}

.trial-platform-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.trial-platform-head > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #9ea9ff;
  background: rgba(var(--primary-rgb), .12);
}

.trial-platform-head small {
  display: block;
  margin-bottom: 3px;
  color: #717d94;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 10px;
}

.trial-platform-head h3 {
  margin: 0;
  font-size: 17px;
}

.trial-platform-head em {
  border: 1px solid rgba(124,138,170,.22);
  border-radius: 999px;
  padding: 6px 9px;
  color: #99a5ba;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
}

.trial-platform-card > p {
  min-height: 42px;
  margin: 16px 0;
  color: #8e99ad;
  line-height: 1.6;
}

.trial-countdown {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 16px;
  border: 1px solid rgba(124,138,170,.16);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(4, 8, 14, .38);
}

.trial-countdown small {
  color: #7f8ba0;
  font-weight: 700;
}

.trial-countdown strong {
  color: #f5f7fb;
  font-variant-numeric: tabular-nums;
  font-size: 21px;
  letter-spacing: .035em;
}

.trial-key-hint {
  border: 1px solid rgba(24,199,181,.24);
  border-radius: 13px;
  padding: 12px 13px;
  color: #98a4b8;
  background: rgba(24,199,181,.06);
}

.trial-key-hint code {
  color: #65e3d0;
}

.plan-policy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.plan-policy-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(123,136,168,.2);
  border-radius: 22px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(18,23,34,.98), rgba(13,17,25,.98));
  box-shadow: 0 22px 55px rgba(0,0,0,.16);
}

.plan-policy-card.trial {
  border-color: rgba(24,199,181,.3);
}

.plan-policy-card.pro {
  border-color: rgba(var(--primary-rgb), .4);
  background:
    radial-gradient(circle at 100% 0, rgba(var(--primary-rgb), .13), transparent 42%),
    linear-gradient(180deg, rgba(19,21,38,.98), rgba(13,17,25,.98));
}

.plan-policy-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 17px;
}

.plan-policy-head h3 {
  margin: 6px 0 0;
  font-size: 24px;
}

.plan-policy-card .form-group {
  margin-bottom: 14px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.policy-grid .form-group {
  min-width: 0;
}

.feature-switch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 4px 0 18px;
}

.feature-switch-grid label,
.switch-field {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid rgba(123,136,168,.16);
  border-radius: 12px;
  padding: 9px 11px;
  color: #aab4c6;
  background: rgba(6,10,17,.24);
  cursor: pointer;
}

.feature-switch-grid input,
.switch-field input {
  accent-color: var(--primary);
}

.switch-field.wide {
  grid-column: 1 / -1;
}

.trial-policy-fields {
  border-top: 1px solid rgba(123,136,168,.15);
  padding-top: 15px;
  margin-top: 6px;
}

.plan-policy-card textarea {
  resize: vertical;
}

.auth-section .auth-shell {
  box-shadow: 0 40px 120px rgba(0,0,0,.3);
}

.auth-showcase.login {
  background:
    radial-gradient(circle at 15% 15%, rgba(var(--secondary-rgb), .18), transparent 35%),
    radial-gradient(circle at 85% 0, rgba(var(--primary-rgb), .23), transparent 40%),
    linear-gradient(145deg, #111625, #0a0e16 72%);
}

@media (max-width: 1180px) {
  .simple-pricing-grid.three-plans,
  .plan-policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-policy-card.trial {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .simple-pricing-grid.three-plans,
  .plan-policy-grid,
  .trial-platform-grid,
  .policy-grid,
  .feature-switch-grid {
    grid-template-columns: 1fr;
  }
  .plan-policy-card.trial {
    grid-column: auto;
  }
  .trial-center {
    padding: 17px;
    border-radius: 19px;
  }
  .trial-platform-head {
    grid-template-columns: auto 1fr;
  }
  .trial-platform-head em {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .trial-countdown {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* FIX13 — professional entitlement, plan alignment, and distinct account surfaces */
.simple-pricing-grid,
.simple-pricing-grid.three-plans {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  align-items: stretch;
}
.simple-price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
.simple-plan-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.simple-plan-content .simple-check-list {
  flex: 1 1 auto;
}
.simple-plan-cta {
  margin-top: auto;
  padding-top: 20px;
}
.simple-plan-cta .button,
.checkout-card .button,
.plan-card-actions .button {
  min-height: 46px;
  justify-content: center;
}

.plan-policy-grid,
.checkout-grid.dynamic-checkout-grid {
  align-items: stretch;
}
.plan-policy-card,
.admin-plan-card,
.checkout-card {
  height: 100%;
}
.plan-policy-card > form,
.admin-plan-card > form,
.checkout-card > form {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-card-body,
.checkout-card .checkout-card-body {
  flex: 1 1 auto;
}
.plan-card-actions,
.checkout-card .checkout-actions {
  margin-top: auto;
  padding-top: 18px;
}

.license-secret {
  min-width: min(100%, 420px);
  border: 1px solid rgba(91, 110, 155, .2);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(17, 25, 43, .96), rgba(10, 16, 29, .98));
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.license-secret > span,
.license-secret > div > span {
  display: block;
  margin-bottom: 7px;
  color: #93a3be;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.secret-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}
.secret-input-row input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  color: #eef6ff;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  letter-spacing: .025em;
  border: 1px solid rgba(113, 142, 197, .26);
  border-radius: 10px;
  background: rgba(3, 8, 17, .7);
}
.license-secret .icon-button {
  width: auto;
  min-width: 88px;
  height: 42px;
  padding: 0 11px;
  gap: 7px;
  border: 1px solid rgba(100, 132, 196, .25);
  border-radius: 10px;
  color: #dce9ff;
  background: rgba(34, 48, 76, .74);
}
.license-secret .icon-button:hover,
.license-secret .icon-button:focus-visible {
  border-color: rgba(var(--primary-rgb), .72);
  background: rgba(var(--primary-rgb), .16);
}
.license-secret.unavailable {
  color: #b7c1d3;
  background: rgba(34, 26, 28, .66);
  border-color: rgba(236, 114, 114, .26);
}
.license-secret.unavailable strong {
  color: #fff0f0;
  font-family: "Cascadia Mono", Consolas, monospace;
}
.license-secret.unavailable small {
  display: block;
  margin-top: 8px;
  color: #e5a6a6;
  line-height: 1.45;
}
.admin-license-secret-cell {
  min-width: 390px;
}

.user-dashboard-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(34,211,238,.22), transparent 30%),
    linear-gradient(135deg, #17203c, #0a1120 62%, #071825);
  border: 1px solid rgba(87, 145, 196, .22);
}
.dashboard-access-section {
  border-left: 4px solid #22d3ee;
}
.access-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 14px;
}
.package-catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 94% 0, rgba(251,191,36,.22), transparent 33%),
    radial-gradient(circle at 8% 100%, rgba(139,92,246,.26), transparent 38%),
    linear-gradient(135deg, #26164a, #10192d 64%, #0b1220);
  border: 1px solid rgba(185, 143, 255, .26);
  box-shadow: 0 28px 80px rgba(15, 10, 34, .24);
}
.package-catalog-hero h1 { margin-bottom: 10px; }
.package-catalog-hero p { color: #d7d9ec; max-width: 780px; }
.catalog-badge {
  display: grid;
  place-items: center;
  min-width: 175px;
  padding: 21px 18px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.17);
  backdrop-filter: blur(12px);
}
.catalog-badge svg { width: 28px; height: 28px; color: #fbbf24; }
.catalog-badge strong { margin-top: 8px; }
.catalog-badge span { color: #c7c9dd; font-size: 12px; }
.package-catalog-section {
  margin-top: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.token-replace {
  min-width: 190px;
  border: 1px solid rgba(105, 122, 157, .2);
  border-radius: 10px;
  background: rgba(20, 28, 44, .04);
}
.token-replace > summary {
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 750;
}
.token-replace form { padding: 0 10px 10px; }
.branding-runtime-note {
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(34, 211, 238, .25);
  border-radius: 14px;
  color: #bcd6e7;
  background: rgba(10, 30, 43, .58);
}
.branding-runtime-note strong { color: #e6fbff; }
.branding-logo-preview {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(112, 145, 195, .28);
  background: #02060c;
}

@media (max-width: 760px) {
  .simple-pricing-grid,
  .simple-pricing-grid.three-plans { grid-template-columns: 1fr; }
  .package-catalog-hero { grid-template-columns: 1fr; }
  .catalog-badge { width: 100%; }
  .secret-input-row { grid-template-columns: 1fr 1fr; }
  .secret-input-row input { grid-column: 1 / -1; }
  .license-secret .icon-button { min-width: 0; justify-content: center; }
  .admin-license-secret-cell { min-width: 300px; }
}


.secret-toggle,
.secret-copy { white-space: nowrap; }

/* v1.8.56.0.50: package catalog inherits the dashboard workspace background. */
.content-section.package-catalog-section{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.automation-policy-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0}
@media(max-width:980px){.automation-policy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.automation-policy-grid{grid-template-columns:1fr}}

/* v1.8.56.0.50: runtime server connection and responsive release status */
.connection-card{width:min(720px,100%);text-align:left}.connection-origin{display:grid;gap:5px;margin:20px 0;padding:16px;border:1px solid var(--line,#293041);border-radius:16px;background:rgba(8,13,22,.58)}.connection-origin small{color:var(--muted,#94a3b8);font-weight:800;text-transform:uppercase;letter-spacing:.08em}.connection-origin strong{overflow-wrap:anywhere;font-size:1rem}.connection-origin code{width:max-content;max-width:100%;padding:4px 8px;border-radius:8px;background:rgba(124,92,255,.12);color:#b9aaff}@media(max-width:640px){.connection-card{padding:22px}.connection-origin{padding:13px}.connection-card .button{width:100%;justify-content:center}}

/* HF4: two-artifact release health and administrator system tools */
.release-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 22px}
.release-health-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:18px 20px;border:1px solid var(--border,#e4e7ee);border-radius:18px;background:var(--surface,#fff);box-shadow:0 14px 34px rgba(21,25,42,.06)}
.release-health-card>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(99,102,241,.1);color:#635bff}
.release-health-card small,.system-tool-card small{display:block;font-size:11px;font-weight:800;letter-spacing:.11em;color:var(--muted,#7a8496)}
.release-health-card strong{display:block;margin-top:2px;font-size:17px}
.release-health-card p{margin:5px 0 0;color:var(--muted,#6b7280);font-size:13px}
.release-health-card>b{padding:7px 10px;border-radius:999px;font-size:11px;letter-spacing:.08em}
.release-health-card.ready>b{background:rgba(16,185,129,.12);color:#047857}
.release-health-card.error>b{background:rgba(239,68,68,.11);color:#b91c1c}
.system-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}
.system-tool-card{display:flex;flex-direction:column;min-height:275px;padding:22px;border:1px solid var(--border,#e4e7ee);border-radius:20px;background:var(--surface,#fff);box-shadow:0 16px 40px rgba(21,25,42,.06)}
.system-tool-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}
.system-tool-head>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(99,102,241,.1);color:#635bff}
.system-tool-card h2{margin:2px 0 0;font-size:18px}
.system-tool-card>p{flex:1;margin:18px 0;color:var(--muted,#6b7280);line-height:1.65}
.system-tool-card dl{display:grid;gap:8px;margin:0 0 18px}
.system-tool-card dl>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--border,#eceef3)}
.system-tool-card dt{color:var(--muted,#6b7280)}
.system-tool-card dd{margin:0;text-align:right;overflow-wrap:anywhere}
@media(max-width:1100px){.system-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.release-health-grid,.system-tools-grid{grid-template-columns:1fr}.release-health-card{grid-template-columns:auto 1fr}.release-health-card>b{grid-column:1/-1;justify-self:start}.system-tool-head{grid-template-columns:auto 1fr}.system-tool-head>.status-pill{grid-column:1/-1;justify-self:start}}
