/*
 * thenetMonster | PNLCS 1.26.0 | Phase 20 shared authenticated client UI.
 * Loaded once by the existing shared Blade client layout AFTER its original
 * per-page styles and client-shell.css. Does not create a second layout.
 *
 * Source-of-truth: screenshots of Open Support Ticket and My Services.
 * Applies consistent dark charcoal / evergreen / lime treatment to PNLCS
 * structural components. All badge, alert, transaction and domain-status
 * semantics retain their original source and class/route behavior.
 *
 * Light mode remains natively functional and is not forced to dark.
 */
:root[data-theme="dark"] body > .pn-main{
  --tm-ui-bg:#0c0f10;
  --tm-ui-card:#18271d;
  --tm-ui-heading:#1e3223;
  --tm-ui-input:#0d1b12;
  --tm-ui-border:#49664d;
  --tm-ui-text:#f1f9ed;
  --tm-ui-muted:#cadcc5;
  --tm-ui-lime:#bef24a;
  color:var(--tm-ui-text);
  background:
    radial-gradient(ellipse 940px 560px at 96% 0,
      rgba(149,198,73,.085),transparent 75%),
    repeating-linear-gradient(90deg,
      transparent 0 74px,rgba(151,202,113,.021) 74px 75px),
    var(--tm-ui-bg)!important;
  min-width:0;
}
/* These dark-mode native PNLCS rules use !important with blue backgrounds.
   Match their scope and override only authenticated client components. */
:root[data-theme="dark"] body > .pn-main .pn-card{
  background:var(--tm-ui-card,#18271d)!important;
  border-color:var(--tm-ui-border,#49664d)!important;
  color:var(--tm-ui-text,#f1f9ed)!important;
}
:root[data-theme="dark"] body > .pn-main .pn-card-header{
  background:var(--tm-ui-heading,#1e3223)!important;
  border-bottom:1px solid var(--tm-ui-border,#49664d)!important;
  color:var(--tm-ui-text,#f1f9ed)!important;
}
:root[data-theme="dark"] body > .pn-main :is(.pn-card-title,.pn-page-title){
  color:var(--tm-ui-text,#f1f9ed)!important;
}
:root[data-theme="dark"] body > .pn-main :is(.pn-page-subtitle,.form-hint){
  color:var(--tm-ui-muted,#cadcc5)!important;
}
/* A common heading container. Original actions and visual hierarchy remain
   untouched; intentionally exclude dashboard's distinct .pn-welcome hero. */
:root[data-theme="dark"] body > .pn-main .pn-page-header{
  background:linear-gradient(112deg,#17251b,#2a452c)!important;
  border:1px solid var(--tm-ui-border,#49664d)!important;
  border-top:3px solid var(--tm-ui-lime,#bef24a)!important;
  border-radius:14px;
  padding:24px 27px;
  gap:16px 22px;
  flex-wrap:wrap;
}
:root[data-theme="dark"] body > .pn-main .pn-page-header .pn-page-title{
  font-size:clamp(22px,2.3vw,30px)!important;
  font-weight:800!important;
}
:root[data-theme="dark"] body > .pn-main .pn-page-header .pn-page-subtitle{
  font-size:14px!important;
  line-height:1.6;
}
/* Table header belongs to the same design family as card headers; row and
   cell fills are intentionally left to page classes/status highlights. */
:root[data-theme="dark"] body > .pn-main .pn-table thead,
:root[data-theme="dark"] body > .pn-main .pn-table th{
  background:var(--tm-ui-heading,#1e3223)!important;
  border-color:var(--tm-ui-border,#49664d)!important;
  color:#e0f0da!important;
}
:root[data-theme="dark"] body > .pn-main .pn-table td{
  border-color:#3e5944!important;
}
:root[data-theme="dark"] body > .pn-main .pn-table .pn-empty{
  color:#d3e5cd!important;
}
:root[data-theme="dark"] body > .pn-main .pn-empty p{
  color:var(--tm-ui-muted,#cadcc5)!important;
}
/* Reuse one control treatment across content, without touching hidden fields,
   card gateway widgets or custom domain availability badges. */
:root[data-theme="dark"] body > .pn-main
  :is(.form-control,.pn-input,.pn-select){
  background:var(--tm-ui-input,#0d1b12)!important;
  border-color:#5d7a62!important;
  color:var(--tm-ui-text,#f1f9ed)!important;
  color-scheme:dark;
}
:root[data-theme="dark"] body > .pn-main
  :is(.form-control,.pn-input,.pn-select):focus{
  border-color:var(--tm-ui-lime,#bef24a)!important;
  box-shadow:0 0 0 3px rgba(190,242,74,.18)!important;
}
:root[data-theme="dark"] body > .pn-main
  :is(.form-control,.pn-input)::placeholder{
  color:#b4c9ae!important;
  opacity:1;
}
:root[data-theme="dark"] body > .pn-main
  :is(.form-control,.pn-input,.pn-select):disabled{
  opacity:.65;
  cursor:not-allowed;
}
:root[data-theme="dark"] body > .pn-main
  :is(.form-label,.pn-label){
  color:#e3f0df!important;
}
/* Buttons only by native common class. Distinct danger, destructive and
   semantic warning buttons are deliberately not targeted. */
:root[data-theme="dark"] body > .pn-main .btn-primary:not(.btn-danger){
  background:#bef24a!important;
  border-color:#bef24a!important;
  color:#17230f!important;
  font-weight:750;
}
:root[data-theme="dark"] body > .pn-main .btn-primary:not(.btn-danger):hover{
  background:#d7ff80!important;
  border-color:#d7ff80!important;
  color:#14200d!important;
}
:root[data-theme="dark"] body > .pn-main .btn-outline:not(.btn-danger){
  background:#243a2a!important;
  border-color:#68866a!important;
  color:#edf8e6!important;
}
:root[data-theme="dark"] body > .pn-main .btn-outline:not(.btn-danger):hover{
  background:#34553a!important;
  border-color:#bef24a!important;
  color:#eaffc7!important;
}
:root[data-theme="dark"] body > .pn-main
  :is(a,button,input,select,textarea):focus-visible{
  outline:3px solid #bef24a!important;
  outline-offset:3px!important;
}
/* The client navbar alone uses the text-only two-line wordmark. Its image
   comes from an exact crop of the supplied original brand artwork; no
   mascot/text styling on the login, email, or public-site logos is changed. */
body > .pn-navbar .pn-navbar-inner{
  height:76px;
}
body > .pn-navbar .pn-brand .tm-header-wordmark{
  display:block;
  width:132px;
  height:auto;
  max-height:60px!important;
  object-fit:contain;
  object-position:left center;
}
@media(max-width:960px){
  body > .pn-navbar .pn-navbar-inner{
    height:70px;
  }
  body > .pn-navbar .pn-brand .tm-header-wordmark{
    width:122px;
    max-height:57px!important;
  }
}
@media(max-width:600px){
  body > .pn-navbar .pn-navbar-inner{
    height:64px;
  }
  body > .pn-navbar .pn-brand .tm-header-wordmark{
    width:106px;
    max-height:52px!important;
  }
  :root[data-theme="dark"] body > .pn-main .pn-page-header{
    padding:19px 17px;
  }
}
@media(prefers-reduced-motion:reduce){
  :root[data-theme="dark"] body > .pn-main
    :is(.form-control,.pn-input,.pn-select,.btn-primary,.btn-outline){
    transition:none!important;
  }
}
