/* Pro CODE Core v1.1.1 — rebuilt customer subscription interface */
.pccore-account-section,.pccore-account-section *{box-sizing:border-box}
.pccore-account-section{width:100%;max-width:none;min-width:0;color:#fff}
.pccore-account-section a{color:inherit}
.pccore-account-section button,.pccore-account-section input,.pccore-account-section select{font:inherit}
.pccore-account-section{width:100%;min-width:0}
.pccore-account-section [hidden]{display:none!important}
.pccore-subscriptions-section{display:grid;gap:18px}
.pccore-subscriptions-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,330px);align-items:stretch;gap:16px;padding:22px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.015));overflow:hidden}
.pccore-subscriptions-hero__copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.pccore-subscriptions-eyebrow{display:block;margin:0 0 7px;color:#ffff00;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.pccore-subscriptions-hero h3{margin:0;font-size:clamp(24px,3vw,34px);line-height:1.08}
.pccore-subscriptions-hero p{max-width:64ch;margin:10px 0 0;color:#bdbdb6;font-size:14px;line-height:1.6}
.pccore-next-renewal{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:18px;border:1px solid rgba(255,255,0,.28);border-radius:15px;background:linear-gradient(145deg,rgba(255,255,0,.09),rgba(255,255,0,.025))}
.pccore-next-renewal.is-empty{border-color:rgba(255,255,255,.11);background:rgba(0,0,0,.18)}
.pccore-next-renewal small,.pccore-overview-card small,.pccore-subscription-kicker,.pccore-subscription-expiry small,.pccore-subscription-facts small,.pccore-subscription-emails>small,.pccore-subscription-access small{display:block;color:#aaa9a2;font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.pccore-next-renewal strong{display:block;margin-top:7px;color:#fff;font-size:21px;line-height:1.2}
.pccore-next-renewal span{display:block;margin-top:5px;color:#d1d1ca;font-size:12px;line-height:1.4}
.pccore-subscription-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.pccore-overview-card{position:relative;min-width:0;padding:16px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:rgba(255,255,255,.026);overflow:hidden}
.pccore-overview-card::before{content:"";position:absolute;top:0;left:0;width:100%;height:2px;background:rgba(255,255,255,.26)}
.pccore-overview-card--active::before{background:#2ad0a9}
.pccore-overview-card--expiring::before{background:#ffff00}
.pccore-overview-card--expired::before{background:#f2520a}
.pccore-overview-card strong{display:block;margin-top:8px;color:#fff;font-size:26px;line-height:1}
.pccore-overview-card span{display:block;margin-top:7px;color:#9f9f98;font-size:11px;line-height:1.35}
.pccore-subscription-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:2px 0}
.pccore-subscription-filters{display:flex;flex-wrap:wrap;gap:7px}
.pccore-subscription-filters button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:7px 12px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:#080808;color:#fff;font:inherit;font-size:12px;font-weight:850;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,color .16s ease}
.pccore-subscription-filters button span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.09);font-size:10px}
.pccore-subscription-filters button:hover,.pccore-subscription-filters button:focus-visible{border-color:#fff}
.pccore-subscription-filters button.is-active{border-color:#ffff00;background:#ffff00;color:#000}
.pccore-subscription-filters button.is-active span{background:rgba(0,0,0,.12)}
.pccore-subscription-result-count{color:#aaa9a2;font-size:12px;white-space:nowrap}
.pccore-subscription-list{display:grid;gap:14px}
.pccore-subscription-card{position:relative;min-width:0;padding:18px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));overflow:hidden;transition:border-color .16s ease,background-color .16s ease}
.pccore-subscription-card:hover{border-color:rgba(255,255,255,.25)}
.pccore-subscription-card--expiring{border-color:rgba(255,255,0,.24)}
.pccore-subscription-card--expired,.pccore-subscription-card--refunded{border-color:rgba(242,82,10,.25)}
.pccore-subscription-card__top{display:grid;grid-template-columns:88px minmax(0,1fr) minmax(190px,230px);align-items:center;gap:16px;min-width:0}
.pccore-subscription-media{width:88px;height:88px;border:1px solid rgba(255,255,255,.13);border-radius:15px;background:#0d0d0d;overflow:hidden}
.pccore-subscription-media>a{display:block;width:100%;height:100%}
.pccore-subscription-image{width:100%;height:100%;object-fit:cover}
.pccore-subscription-image-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:linear-gradient(145deg,#1b1b1b,#090909)}
.pccore-subscription-image-placeholder svg{width:36px;height:36px;fill:#ffff00}
.pccore-subscription-identity{min-width:0}
.pccore-subscription-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px}
.pccore-subscription-kicker span+span{position:relative;padding-left:13px;color:#d2d2cc}
.pccore-subscription-kicker span+span::before{content:"";position:absolute;left:0;top:50%;width:4px;height:4px;border-radius:50%;background:#ffff00;transform:translateY(-50%)}
.pccore-subscription-identity h4{margin:7px 0 10px;color:#fff;font-size:20px;line-height:1.25;overflow-wrap:anywhere}
.pccore-subscription-identity h4 a:hover{text-decoration:underline;text-decoration-color:#ffff00;text-underline-offset:4px}
.pccore-subscription-badges{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.pccore-status,.pccore-install-status{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 9px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(255,255,255,.05);color:#ddd;font-size:11px;font-weight:850;line-height:1.2;text-align:center}
.pccore-status--active{border-color:rgba(42,208,169,.35);background:rgba(42,208,169,.13);color:#69e5c7}
.pccore-status--expiring{border-color:rgba(255,255,0,.3);background:rgba(255,255,0,.1);color:#ffff4d}
.pccore-status--expired,.pccore-status--refunded{border-color:rgba(242,82,10,.34);background:rgba(242,82,10,.12);color:#ff956b}
.pccore-install-status--ready{border-color:rgba(255,255,0,.28);background:rgba(255,255,0,.08);color:#ffff4d}
.pccore-install-status--in_progress{border-color:rgba(82,168,255,.34);background:rgba(82,168,255,.1);color:#8dccff}
.pccore-install-status--completed{border-color:rgba(42,208,169,.35);background:rgba(42,208,169,.12);color:#69e5c7}
.pccore-subscription-expiry{min-width:0;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:rgba(0,0,0,.25)}
.pccore-subscription-expiry strong{display:block;margin-top:6px;color:#fff;font-size:15px;line-height:1.25;overflow-wrap:anywhere}
.pccore-subscription-expiry span{display:block;margin-top:5px;color:#aaa9a2;font-size:11px}
.pccore-subscription-progress{height:5px;margin:15px 0 16px;border-radius:999px;background:rgba(255,255,255,.09);overflow:hidden}
.pccore-subscription-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2ad0a9,#ffff00)}
.pccore-subscription-card--expired .pccore-subscription-progress span,.pccore-subscription-card--refunded .pccore-subscription-progress span{background:#f2520a}
.pccore-subscription-card__body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);align-items:stretch;gap:14px;min-width:0}
.pccore-subscription-primary-details{display:grid;align-content:start;gap:12px;min-width:0}
.pccore-subscription-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0}
.pccore-subscription-facts>div{min-width:0;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:rgba(0,0,0,.2)}
.pccore-subscription-facts strong{display:block;margin-top:5px;color:#f7f7f5;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.pccore-subscription-emails{min-width:0;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:rgba(0,0,0,.17)}
.pccore-subscription-emails>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.pccore-subscription-emails span{display:inline-flex;max-width:100%;padding:6px 9px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:rgba(255,255,255,.055);color:#eee;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.pccore-subscription-access{display:flex;flex-direction:column;min-width:0;padding:14px;border:1px solid rgba(255,255,0,.18);border-radius:13px;background:linear-gradient(145deg,rgba(255,255,0,.045),rgba(0,0,0,.18))}
.pccore-subscription-access__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pccore-subscription-access__head strong{display:block;margin-top:5px;color:#fff;font-size:14px;line-height:1.3}
.pccore-access-icon{display:flex;width:34px;height:34px;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid rgba(255,255,0,.28);border-radius:10px;background:rgba(255,255,0,.08)}
.pccore-access-icon svg{width:18px;height:18px;fill:#ffff00}
.pccore-access-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.pccore-access-facts>div{min-width:0;padding:9px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(0,0,0,.17)}
.pccore-access-facts strong{display:block;margin-top:4px;color:#fff;font-size:12px;overflow-wrap:anywhere}
.pccore-access-note{margin:12px 0 0;color:#cecec7;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.pccore-access-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:auto;padding-top:13px}
.pccore-access-actions .btn{width:100%;min-width:0;padding-left:9px;padding-right:9px;white-space:normal;text-align:center}
.pccore-subscription-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.1)}
.pccore-subscription-actions__secondary{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.pccore-renew-form{margin:0}
.pccore-subscription-actions>.btn-primary,.pccore-renew-form .btn-primary{border-color:#ffff00;background:#ffff00;color:#000}
.pccore-subscription-actions>.btn-primary:hover,.pccore-subscription-actions>.btn-primary:focus-visible,.pccore-renew-form .btn-primary:hover,.pccore-renew-form .btn-primary:focus-visible{border-color:#fff;background:#fff;color:#000}
.pccore-filter-empty,.pccore-subscription-empty-state{display:flex;min-height:230px;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:28px;border:1px dashed rgba(255,255,255,.2);border-radius:16px;background:rgba(255,255,255,.018);text-align:center}
.pccore-filter-empty strong,.pccore-subscription-empty-state strong{font-size:17px}
.pccore-filter-empty span,.pccore-subscription-empty-state p{max-width:48ch;color:#aaa9a2;font-size:13px;line-height:1.55}
.pccore-subscription-empty-state>span{display:flex;width:58px;height:58px;align-items:center;justify-content:center;margin-bottom:4px;border:1px solid rgba(255,255,0,.26);border-radius:15px;background:rgba(255,255,0,.06)}
.pccore-subscription-empty-state>span svg{width:30px;height:30px;fill:#ffff00}
.pccore-subscription-empty-state .btn{margin-top:8px}
.pccore-notification-list{display:grid;gap:10px}
.pccore-notification{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:rgba(255,255,255,.025)}
.pccore-notification.is-unread{border-color:rgba(255,255,0,.35);background:rgba(255,255,0,.04)}
.pccore-notification-dot{width:8px;height:8px;border-radius:50%;background:#555}
.pccore-notification.is-unread .pccore-notification-dot{background:#ffff00;box-shadow:0 0 0 4px rgba(255,255,0,.1)}
.pccore-notification strong{font-size:14px}
.pccore-notification p{margin:4px 0;color:#c6c6be;font-size:13px;line-height:1.45}
.pccore-notification time{font-size:11px;color:#8f8f88}
.pccore-inline-count{display:inline-flex;min-width:24px;height:24px;align-items:center;justify-content:center;border-radius:999px;background:#ffff00;color:#000;font-size:12px;vertical-align:middle}
@media(max-width:980px){
  .pccore-subscription-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pccore-subscription-card__top{grid-template-columns:78px minmax(0,1fr)}
  .pccore-subscription-media{width:78px;height:78px}
  .pccore-subscription-expiry{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 13px}
  .pccore-subscription-expiry strong,.pccore-subscription-expiry span{margin:0}
  .pccore-subscription-expiry span{text-align:right}
  .pccore-subscription-card__body{grid-template-columns:1fr}
  .pccore-subscription-access{min-height:0}
  .pccore-access-actions{grid-template-columns:repeat(2,minmax(0,220px));margin-top:12px;padding-top:0}
}
@media(max-width:720px){
  .pccore-subscriptions-section{gap:14px}
  .pccore-subscriptions-hero{grid-template-columns:1fr;padding:17px}
  .pccore-next-renewal{padding:14px}
  .pccore-subscription-toolbar{align-items:flex-start;flex-direction:column}
  .pccore-subscription-result-count{white-space:normal}
  .pccore-subscription-card{padding:14px;border-radius:15px}
  .pccore-subscription-card__top{grid-template-columns:66px minmax(0,1fr);gap:12px}
  .pccore-subscription-media{width:66px;height:66px;border-radius:12px}
  .pccore-subscription-image-placeholder svg{width:28px;height:28px}
  .pccore-subscription-identity h4{font-size:17px}
  .pccore-subscription-expiry{grid-template-columns:1fr;gap:4px}
  .pccore-subscription-expiry span{text-align:left}
  .pccore-subscription-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pccore-subscription-actions{align-items:stretch;flex-direction:column}
  .pccore-subscription-actions__secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .pccore-subscription-actions .btn,.pccore-renew-form,.pccore-renew-form .btn{width:100%}
  .pccore-notification{grid-template-columns:9px minmax(0,1fr)}
  .pccore-notification>.btn{grid-column:2;width:100%}
}
@media(max-width:480px){
  .pccore-subscription-overview{gap:8px}
  .pccore-overview-card{padding:13px}
  .pccore-overview-card strong{font-size:23px}
  .pccore-subscription-filters{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
  .pccore-subscription-filters button{width:100%}
  .pccore-subscription-card__top{grid-template-columns:56px minmax(0,1fr)}
  .pccore-subscription-media{width:56px;height:56px}
  .pccore-subscription-kicker{align-items:flex-start;flex-direction:column;gap:4px}
  .pccore-subscription-kicker span+span{padding-left:0}
  .pccore-subscription-kicker span+span::before{display:none}
  .pccore-subscription-facts{grid-template-columns:1fr 1fr}
  .pccore-access-facts,.pccore-access-actions,.pccore-subscription-actions__secondary{grid-template-columns:1fr}
}
@media(max-width:360px){
  .pccore-subscription-facts{grid-template-columns:1fr}
  .pccore-overview-card{padding:11px}
  .pccore-overview-card span{font-size:10px}
}
@media(hover:none),(pointer:coarse){.pccore-subscription-card:hover{border-color:rgba(255,255,255,.14)}}


/* v1.1.1 final visibility and balance pass */
html body #account-subscriptions.pccore-subscriptions-section{display:grid;width:100%;max-width:none;gap:18px;padding:0;background:transparent;color:#fff}
html body #account-subscriptions.pccore-subscriptions-section.is-hidden{display:none}
html body #account-subscriptions .pccore-subscriptions-hero,
html body #account-subscriptions .pccore-overview-card,
html body #account-subscriptions .pccore-subscription-card{box-shadow:0 14px 34px rgba(0,0,0,.18)}
html body #account-subscriptions .pccore-subscription-image{display:block;width:100%;height:100%;object-fit:cover}
html body #account-subscriptions .pccore-subscription-card__top,
html body #account-subscriptions .pccore-subscription-card__body,
html body #account-subscriptions .pccore-subscription-facts{min-width:0}
html body #account-subscriptions .pccore-subscription-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:10px}
@media(max-width:720px){
  html body #account-subscriptions.pccore-subscriptions-section{gap:14px}
  html body #account-subscriptions .pccore-subscription-actions .btn{width:100%}
}

/* v1.1.2 - My Subscriptions invoice button */
html body #account-subscriptions .pccore-view-invoice-button{
  border:1px solid #ffff00;
  background:#ffff00;
  color:#000;
  font-weight:850;
  box-shadow:none;
}
html body #account-subscriptions .pccore-view-invoice-button:hover,
html body #account-subscriptions .pccore-view-invoice-button:focus-visible{
  border-color:#fff;
  background:#fff;
  color:#000;
}

/* v1.1.3 - Clear installation label and reliable invoice-button contrast */
html body #account-subscriptions a.pccore-view-invoice-button,
html body #account-subscriptions a.pccore-view-invoice-button:link,
html body #account-subscriptions a.pccore-view-invoice-button:visited,
html body #account-subscriptions a.pccore-view-invoice-button:hover,
html body #account-subscriptions a.pccore-view-invoice-button:focus,
html body #account-subscriptions a.pccore-view-invoice-button:focus-visible,
html body #account-subscriptions a.pccore-view-invoice-button:active{
  border-color:#ffff00 !important;
  background:#ffff00 !important;
  color:#000 !important;
  -webkit-text-fill-color:#000 !important;
  text-shadow:none !important;
  opacity:1 !important;
}
html body #account-subscriptions a.pccore-view-invoice-button:hover,
html body #account-subscriptions a.pccore-view-invoice-button:focus-visible{
  border-color:#fff !important;
  background:#fff !important;
  color:#000 !important;
  -webkit-text-fill-color:#000 !important;
}


/* v1.1.4 - completed-order installation readiness */
.pccore-subscription-access--ready .pccore-access-icon,
.pccore-subscription-access--in_progress .pccore-access-icon,
.pccore-subscription-access--completed .pccore-access-icon{
  border-color:rgba(42,208,169,.52);
  background:rgba(42,208,169,.14);
  box-shadow:0 0 0 1px rgba(42,208,169,.06) inset;
}
.pccore-subscription-access--ready .pccore-access-icon svg,
.pccore-subscription-access--in_progress .pccore-access-icon svg,
.pccore-subscription-access--completed .pccore-access-icon svg{fill:#2ad0a9}
