/* =========================================================
   PROFITECH ERP — SKIN v20.2

   The single visual layer of the ERP, loaded after every legacy
   stylesheet by private/ui_assets.php.

   Look: light workspace. hPanel-style navigation (icon rail + page
   panel), cool grey canvas, white cards, deep pine-green brand.

   To restyle the whole system, change the tokens in :root.
   Every rule is prefixed with
     html body.pt-shell-ready:not(#pt-skin)
   (ID-level specificity), so legacy !important rules never win.
========================================================= */

:root{
  /* Brand */
  --sk-brand:#0f5c46;          /* pine green: active states, links, focus */
  --sk-brand-600:#15745a;
  --sk-brand-50:#ecf6f1;
  --sk-brand-100:#d3ece0;
  --sk-primary:#10372d;        /* main buttons (near-black pine) */
  --sk-primary-hover:#0a261f;

  /* Hero banner */
  --sk-hero-1:#0d3a2f;
  --sk-hero-2:#14523f;
  --sk-hero-3:#1d6e55;

  /* Neutrals */
  --sk-canvas:#eef1f5;
  --sk-surface:#ffffff;
  --sk-surface-2:#f7f8fa;
  --sk-surface-3:#f1f3f6;
  --sk-ink:#111827;
  --sk-ink-2:#374151;
  --sk-muted:#6b7280;
  --sk-subtle:#9ca3af;
  --sk-line:#e6e8ec;
  --sk-line-soft:#eff1f4;
  --sk-line-strong:#d1d5db;

  /* Status */
  --sk-ok:#15803d;    --sk-ok-bg:#e8f8ee;    --sk-ok-line:#bfe8cf;   --sk-ok-bar:#5fc98a;
  --sk-warn:#b45309;  --sk-warn-bg:#fff4e0;  --sk-warn-line:#f6d9a6; --sk-warn-bar:#f0b04e;
  --sk-bad:#b91c1c;   --sk-bad-bg:#fdecec;   --sk-bad-line:#f5c4c4;  --sk-bad-bar:#e57373;
  --sk-info:#1d4ed8;  --sk-info-bg:#eaf1fe;  --sk-info-line:#c7d7fb;
  --sk-count:#f5a524;

  /* Type */
  --sk-font:"Readex Pro","IBM Plex Sans Arabic",-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
  --sk-fs:14px;

  /* Shape & depth */
  --sk-r-control:10px; --sk-r-card:16px; --sk-r-modal:20px; --sk-r-hero:20px;
  --sk-shadow-card:0 1px 2px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.06);
  --sk-shadow-raise:0 8px 22px rgba(16,24,40,.08),0 2px 6px rgba(16,24,40,.05);
  --sk-shadow-pop:0 24px 48px rgba(16,24,40,.18),0 6px 14px rgba(16,24,40,.08);
  --sk-focus:0 0 0 4px rgba(15,92,70,.14);

  /* Layout */
  --sk-side-w:284px; --sk-rail-w:74px; --sk-nav-bg:#f1f5f3; --sk-nav-ink:#16191d; --sk-side:var(--sk-side-w); --sk-top:60px;

  /* Legacy variables follow the skin */
  --pt-canvas:var(--sk-canvas); --pt-bg:var(--sk-canvas);
  --pt-surface:var(--sk-surface); --pt-card:var(--sk-surface);
  --pt-surface-soft:var(--sk-surface-2); --pt-surface-muted:var(--sk-surface-3);
  --pt-ink:var(--sk-ink); --pt-ink-strong:var(--sk-ink); --pt-text:var(--sk-ink);
  --pt-muted:var(--sk-muted); --pt-muted-2:var(--sk-subtle);
  --pt-border:var(--sk-line); --pt-border-soft:var(--sk-line-soft); --pt-border-strong:var(--sk-line-strong);
  --pt-primary:var(--sk-brand); --pt-primary-dark:var(--sk-primary);
  --pt-primary-soft:var(--sk-brand-100); --pt-primary-softer:var(--sk-brand-50);
  --pt-green-950:var(--sk-primary); --pt-green-900:var(--sk-brand); --pt-green-800:var(--sk-brand);
  --pt-green-700:var(--sk-brand-600); --pt-green-600:var(--sk-brand-600);
  --pt-green-100:var(--sk-brand-100); --pt-green-50:var(--sk-brand-50);
  --pt-success:var(--sk-ok); --pt-success-bg:var(--sk-ok-bg);
  --pt-warning:var(--sk-warn); --pt-warning-bg:var(--sk-warn-bg);
  --pt-danger:var(--sk-bad); --pt-danger-bg:var(--sk-bad-bg);
  --pt-info:var(--sk-info); --pt-info-bg:var(--sk-info-bg);
  --pt-font:var(--sk-font);
  --pt-radius-sm:var(--sk-r-control); --pt-radius-md:12px; --pt-radius-lg:var(--sk-r-card); --pt-radius:var(--sk-r-card);
  --pt-shadow-xs:var(--sk-shadow-card); --pt-shadow-sm:var(--sk-shadow-card); --pt-shadow:var(--sk-shadow-card); --pt-shadow-md:var(--sk-shadow-raise);
  --pt-side-width:var(--sk-side); --pt-top-height:var(--sk-top);
  --px-side-width:var(--sk-side); --px-top-height:var(--sk-top);
  --px-ink:var(--sk-ink); --px-subtle:var(--sk-muted); --px-border:var(--sk-line);
  --px-surface:var(--sk-surface); --px-canvas:var(--sk-canvas); --px-shadow:var(--sk-shadow-card);
  --px-font:var(--sk-font);
}

/* =========================================================
   BASE
========================================================= */
html body:not(#pt-skin){font-family:var(--sk-font)!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
html body:not(#pt-skin) :is(input,select,textarea,button){font-family:inherit!important}
html body.pt-shell-ready:not(#pt-skin){
  background:var(--sk-canvas)!important;color:var(--sk-ink)!important;
  font-size:var(--sk-fs)!important;line-height:1.6;
  padding-right:var(--sk-side)!important;padding-top:var(--sk-top)!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.num,.number,.money,.number-col,.value,.stat-value,.pt-kpi strong,.ci-kpi strong,.sf-money,.lp-number){font-variant-numeric:tabular-nums lining-nums}
::selection{background:var(--sk-brand-100);color:var(--sk-ink)}
html body:not(#pt-skin) :focus-visible{outline:none!important;box-shadow:var(--sk-focus)!important}
html body.pt-shell-ready:not(#pt-skin) a:not([class]){color:var(--sk-brand);text-decoration:none}
html body.pt-shell-ready:not(#pt-skin) a:not([class]):hover{text-decoration:underline}
html body.pt-shell-ready:not(#pt-skin) hr{border:0!important;border-top:1px solid var(--sk-line)!important}

/* Reserve the shell's space before JavaScript finishes (no jump, no old header). */
html.pt-shell-pending body:not(.pt-shell-ready):not(.pt-login-page):not(.pt-pos-screen){padding-right:var(--sk-side)!important;padding-top:var(--sk-top)!important;background:var(--sk-canvas)!important}
html.pt-shell-pending body:not(.pt-shell-ready):not(.pt-login-page):not(.pt-pos-screen)>.header{display:none!important}
html.pt-shell-pending body:not(.pt-shell-ready):not(.pt-login-page):not(.pt-pos-screen)::before{content:"";position:fixed;top:0;right:0;bottom:0;width:var(--sk-side);background:var(--sk-surface);border-left:1px solid var(--sk-line);z-index:1000}
html.pt-shell-pending body:not(.pt-shell-ready):not(.pt-login-page):not(.pt-pos-screen)::after{content:"";position:fixed;top:0;left:0;right:var(--sk-side);height:var(--sk-top);background:var(--sk-canvas);z-index:990}

/* One calm entrance for the page content */
@keyframes sk-rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes sk-fade{from{opacity:0}to{opacity:1}}
@keyframes sk-pop{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
html body.pt-shell-ready:not(#pt-skin)>:is(main.container,.container,.wrap,.page-container,main){animation:sk-rise .32s cubic-bezier(.2,.7,.2,1) both}

/* =========================================================
   SIDEBAR — v20.1 (hPanel layout)
   An icon rail for the main sections and a panel that lists
   the pages of the selected section. Built from the same
   navigation data; only the presentation changes.
========================================================= */
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar{
  width:var(--sk-side-w)!important;background:var(--sk-nav-bg)!important;background-image:none!important;
  color:var(--sk-nav-ink)!important;border:0!important;border-left:1px solid #e1e8e4!important;box-shadow:none!important;
}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp{display:grid!important;grid-template-columns:var(--sk-rail-w) minmax(0,1fr)!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;grid-template-areas:"brand brand" "rail panel" "foot foot"!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp>.pt-side-brand{grid-area:brand}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp>.sk-rail{grid-area:rail}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp>.pt-side-scroll{grid-area:panel}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp>.pt-side-footer{grid-area:foot}

/* Brand: centred wordmark only */
html body.pt-shell-ready:not(#pt-skin) .pt-side-brand{position:relative!important;height:54px!important;padding:0 18px!important;gap:0!important;display:flex!important;
  align-items:center!important;justify-content:center!important;border-bottom:0!important;background:transparent!important}
html body.pt-shell-ready:not(#pt-skin) .pt-side-brand>img,html body.pt-shell-ready:not(#pt-skin) .pt-side-brand>button,html body.pt-shell-ready:not(#pt-skin) .pt-brand-name small{display:none!important}
html body.pt-shell-ready:not(#pt-skin) .pt-brand-name{display:flex!important;flex:0 0 auto!important;justify-content:center!important;align-items:center!important;margin:0 auto!important}
html body.pt-shell-ready:not(#pt-skin) .pt-brand-name strong{font-size:15px!important;font-weight:700!important;letter-spacing:.26em!important;line-height:1!important;
  color:var(--sk-nav-ink)!important;margin:0!important;padding-inline-start:.26em!important;direction:ltr!important}
html body.pt-shell-ready:not(#pt-skin) .pt-side-brand::after{content:"";position:absolute;bottom:6px;left:50%;width:28px;height:2px;margin-left:-14px;border-radius:2px;background:var(--sk-brand)}

/* Hidden: workspace label, search box, expand / collapse buttons */
html body.pt-shell-ready:not(#pt-skin) :is(.pt-nav-eyebrow,.pt-side-search,.pt-side-actions,.pt-nav-search-status,.pt-nav-empty){display:none!important}

/* Rail: one button per section, icon above its name */
html body.pt-shell-ready:not(#pt-skin) .sk-rail{display:flex;flex-direction:column;align-items:stretch;gap:2px;padding:6px 6px 12px;overflow-y:auto;overflow-x:hidden;
  scrollbar-width:none;border-left:1px solid #e1e8e4}
html body.pt-shell-ready:not(#pt-skin) .sk-rail::-webkit-scrollbar{display:none}
html body.pt-shell-ready:not(#pt-skin) .sk-rail-btn{flex:0 0 auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  width:100%!important;min-height:0!important;height:auto!important;padding:8px 3px 7px!important;margin:0!important;border:0!important;border-radius:12px!important;
  background:transparent!important;box-shadow:none!important;color:#2b3036!important;font:inherit!important;font-size:10.5px!important;font-weight:500!important;
  line-height:1.3!important;text-align:center!important;white-space:normal!important;cursor:pointer;transition:background-color .16s,color .16s!important}
html body.pt-shell-ready:not(#pt-skin) .sk-rail-btn svg{flex:0 0 20px!important;width:20px!important;height:20px!important;min-height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;transition:transform .16s!important}
html body.pt-shell-ready:not(#pt-skin) .sk-rail-btn:hover{background:rgba(255,255,255,.7)!important;color:var(--sk-nav-ink)!important}
html body.pt-shell-ready:not(#pt-skin) .sk-rail-btn:hover svg{transform:translateY(-1px)}
html body.pt-shell-ready:not(#pt-skin) .sk-rail-btn[aria-pressed="true"]{background:#fff!important;color:var(--sk-brand)!important;font-weight:600!important;box-shadow:0 1px 2px rgba(16,24,40,.06),0 4px 12px -6px rgba(16,24,40,.12)!important}
html body.pt-shell-ready:not(#pt-skin) .sk-rail-btn.sk-has-current:not([aria-pressed="true"])::after{content:"";width:5px;height:5px;border-radius:50%;background:var(--sk-brand);margin-top:-2px}
html body.pt-shell-ready:not(#pt-skin) .sk-rail-btn:focus-visible{outline:2px solid var(--sk-brand)!important;outline-offset:-2px}

/* Panel: only the selected section is shown */
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-side-scroll{padding:4px 10px 14px!important;overflow-y:auto!important;scrollbar-width:thin;scrollbar-color:transparent transparent!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-side-scroll:hover{scrollbar-color:#cfd8d3 transparent!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-section{display:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-section[open]{display:block!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-section>summary{display:flex!important;align-items:center!important;min-height:0!important;padding:8px 10px 8px!important;margin:0 0 2px!important;
  font-size:14.5px!important;font-weight:700!important;color:var(--sk-nav-ink)!important;background:transparent!important;border:0!important;box-shadow:none!important;cursor:default!important;list-style:none!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-section>summary::-webkit-details-marker{display:none}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-section>summary>svg{display:none!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-items{display:flex!important;flex-direction:column!important;gap:2px!important;margin:0!important;padding:0!important;border:0!important;animation:sk-nav-open .22s ease both}
@keyframes sk-nav-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-item{position:relative;display:flex!important;align-items:center!important;gap:11px!important;min-height:38px!important;padding:7px 10px!important;margin:0!important;
  font-size:13.5px!important;font-weight:600!important;line-height:1.4!important;color:var(--sk-nav-ink)!important;background:transparent!important;border:0!important;
  border-radius:10px!important;box-shadow:none!important;text-decoration:none!important;transition:background-color .15s,box-shadow .15s!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-items::before,html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-items::after,html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-item::before,html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-item::after{display:none!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-item .pt-item-emoji{display:none!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-item .sk-item-ico{display:inline-grid!important;place-items:center!important;flex:0 0 20px!important;width:20px!important;height:20px!important;color:#2b3036!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-item .sk-item-ico svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.6!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-item:hover{background:rgba(255,255,255,.7)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-item[aria-current="page"]{background:#fff!important;box-shadow:0 1px 2px rgba(16,24,40,.05),0 4px 12px -6px rgba(16,24,40,.12)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-item[aria-current="page"] .sk-item-ico{color:var(--sk-brand)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-sidebar.sk-hp .pt-nav-item:focus-visible{outline:2px solid var(--sk-brand)!important;outline-offset:-2px}

/* User card */
html body.pt-shell-ready:not(#pt-skin) .pt-side-footer{margin:0!important;padding:10px 14px!important;gap:10px!important;border:0!important;border-top:1px solid #e1e8e4!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body.pt-shell-ready:not(#pt-skin) .pt-side-footer .pt-avatar{overflow:hidden!important;width:34px!important;height:34px!important;border-radius:50%!important;background:linear-gradient(135deg,var(--sk-brand-600),var(--sk-primary))!important;color:#fff!important;font-size:14px!important;font-weight:600!important}
html body.pt-shell-ready:not(#pt-skin) .pt-side-person strong{font-size:13.5px!important;font-weight:600!important;color:var(--sk-nav-ink)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-side-person span{font-size:12px!important;color:var(--sk-muted)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-side-footer>a:not(.pt-side-person){width:34px!important;height:34px!important;display:grid!important;place-items:center!important;color:#4b5563!important;border-radius:10px!important;transition:background-color .16s,color .16s!important}
html body.pt-shell-ready:not(#pt-skin) .pt-side-footer>a:not(.pt-side-person):hover{color:var(--sk-bad)!important;background:var(--sk-bad-bg)!important}

html body.pt-shell-ready.pt-sidebar-hidden:not(#pt-skin){--sk-side:0px}

/* =========================================================
   APP BAR — sits on the canvas, no heavy chrome
========================================================= */
html body.pt-shell-ready:not(#pt-skin) .pt-appbar{
  height:var(--sk-top)!important;right:var(--sk-side)!important;padding:0 28px!important;gap:12px!important;
  background:rgba(238,241,245,.86)!important;backdrop-filter:saturate(1.4) blur(10px)!important;-webkit-backdrop-filter:saturate(1.4) blur(10px)!important;
  border-bottom:1px solid transparent!important;box-shadow:none!important;transition:border-color .2s!important;
}
html body.pt-shell-ready:not(#pt-skin) .pt-appbar-start{gap:10px!important}
html body.pt-shell-ready:not(#pt-skin) .pt-appbar-end{gap:6px!important}
html body.pt-shell-ready:not(#pt-skin) .pt-appbar .pt-square-btn{
  width:36px!important;height:36px!important;min-height:36px!important;border-radius:var(--sk-r-control)!important;
  border:1px solid var(--sk-line)!important;background:var(--sk-surface)!important;color:var(--sk-ink-2)!important;box-shadow:var(--sk-shadow-card)!important;
}
html body.pt-shell-ready:not(#pt-skin) .pt-appbar .pt-square-btn:hover{color:var(--sk-ink)!important;border-color:var(--sk-line-strong)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-appbar .pt-square-btn svg{width:18px!important;height:18px!important}
html body.pt-shell-ready:not(#pt-skin) .pt-bell-count{background:var(--sk-count)!important;color:#fff!important;font-size:10px!important;font-weight:700!important;border:2px solid #fff!important;min-width:19px!important;height:19px!important;border-radius:10px!important}
html body.pt-shell-ready:not(#pt-skin) .pt-appbar-crumb{gap:0!important}
html body.pt-shell-ready:not(#pt-skin) .pt-appbar-crumb small{font-size:12px!important;font-weight:400!important;color:var(--sk-muted)!important;letter-spacing:0!important;text-transform:none!important}
html body.pt-shell-ready:not(#pt-skin) .pt-appbar-crumb strong{font-size:15px!important;font-weight:600!important;color:var(--sk-ink)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-appbar-company{
  font-size:12.5px!important;font-weight:600!important;color:var(--sk-ink)!important;letter-spacing:0!important;text-transform:none!important;
  background:var(--sk-surface)!important;border:1px solid var(--sk-line)!important;border-radius:999px!important;padding:6px 12px!important;box-shadow:var(--sk-shadow-card)!important;
}
html body.pt-shell-ready:not(#pt-skin) .pt-appbar-company::before{background:#22c55e!important;width:7px!important;height:7px!important;box-shadow:0 0 0 3px rgba(34,197,94,.18)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-appbar-date{font-size:12.5px!important;font-weight:400!important;color:var(--sk-muted)!important;margin-inline:6px!important}
html body.pt-shell-ready:not(#pt-skin) .pt-back-button{display:none!important}

/* Header tools: quick search + quick create (all users) */
html body.pt-shell-ready:not(#pt-skin) .sk-hdr-tools{flex:0 1 560px;min-width:0;display:flex;align-items:center;gap:8px;margin-inline:auto}
html body.pt-shell-ready:not(#pt-skin) .sk-qs{position:relative;flex:1;min-width:0;height:38px;display:flex;align-items:center;gap:8px;padding:0 10px 0 8px;
  background:var(--sk-surface);border:1px solid var(--sk-line);border-radius:11px;box-shadow:var(--sk-shadow-card);cursor:text;transition:border-color .15s,box-shadow .15s}
html body.pt-shell-ready:not(#pt-skin) .sk-qs:hover{border-color:var(--sk-line-strong)}
html body.pt-shell-ready:not(#pt-skin) .sk-qs.is-open,html body.pt-shell-ready:not(#pt-skin) .sk-qs:focus-within{border-color:var(--sk-brand);box-shadow:var(--sk-focus)}
html body.pt-shell-ready:not(#pt-skin) .sk-qs>svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:#6b7280;stroke-width:1.9;stroke-linecap:round}
html body.pt-shell-ready:not(#pt-skin) .sk-qs input{flex:1;min-width:0;height:100%!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;outline:0!important;
  background:transparent!important;box-shadow:none!important;font:inherit!important;font-size:13.5px!important;color:var(--sk-ink)!important}
html body.pt-shell-ready:not(#pt-skin) .sk-qs input::placeholder{color:#8b929c}
html body.pt-shell-ready:not(#pt-skin) .sk-qs input::-webkit-search-cancel-button{display:none}
html body.pt-shell-ready:not(#pt-skin) .sk-qs kbd{flex:none;font:inherit;font-size:11px;font-weight:500;color:#6b7280;background:var(--sk-surface-3);border:1px solid var(--sk-line);border-radius:6px;padding:1px 6px;direction:ltr}
html body.pt-shell-ready:not(#pt-skin) .sk-qs.is-open kbd{visibility:hidden}

html body.pt-shell-ready:not(#pt-skin) .sk-qc{position:relative;flex:none}
html body.pt-shell-ready:not(#pt-skin) .sk-qc-btn{display:inline-flex!important;align-items:center!important;gap:6px!important;height:38px!important;min-height:38px!important;padding:0 14px 0 12px!important;margin:0!important;
  border:0!important;border-radius:11px!important;background:var(--sk-primary)!important;color:#fff!important;font:inherit!important;font-size:13.5px!important;font-weight:600!important;
  box-shadow:0 4px 12px -6px rgba(16,55,45,.6)!important;cursor:pointer;transition:background-color .15s,transform .15s!important}
html body.pt-shell-ready:not(#pt-skin) .sk-qc-btn:hover{background:var(--sk-primary-hover)!important;transform:translateY(-1px)}
html body.pt-shell-ready:not(#pt-skin) .sk-qc-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
html body.pt-shell-ready:not(#pt-skin) .sk-qc-btn[aria-expanded="true"] svg{transform:rotate(45deg);transition:transform .18s}

/* Shared dropdown panel */
@keyframes sk-hp-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
html body.pt-shell-ready:not(#pt-skin) .sk-hpanel{display:none;position:absolute;top:calc(100% + 8px);z-index:2147483000;padding:6px;background:var(--sk-surface);
  border:1px solid var(--sk-line);border-radius:14px;box-shadow:var(--sk-shadow-pop);max-height:min(440px,70vh);overflow-y:auto;text-align:start}
html body.pt-shell-ready:not(#pt-skin) .sk-hpanel.sk-open{display:block;animation:sk-hp-in .16s ease both}
html body.pt-shell-ready:not(#pt-skin) .sk-qs-panel{right:-1px;left:-1px}
html body.pt-shell-ready:not(#pt-skin) .sk-qc-panel{left:0;width:240px}
html body.pt-shell-ready:not(#pt-skin) .sk-hp-title{padding:8px 10px 6px;font-size:12px;font-weight:500;color:var(--sk-muted)}
html body.pt-shell-ready:not(#pt-skin) .sk-hp-empty{padding:16px 10px;font-size:13px;color:var(--sk-muted);text-align:center}
html body.pt-shell-ready:not(#pt-skin) .sk-hp-item{display:flex!important;align-items:center!important;gap:10px!important;min-height:40px;padding:7px 10px!important;border-radius:10px!important;
  color:var(--sk-ink)!important;text-decoration:none!important;background:transparent!important;box-shadow:none!important}
html body.pt-shell-ready:not(#pt-skin) .sk-hp-item:hover,html body.pt-shell-ready:not(#pt-skin) .sk-hp-item.is-active,html body.pt-shell-ready:not(#pt-skin) .sk-hp-item:focus-visible{background:var(--sk-surface-3)!important}
html body.pt-shell-ready:not(#pt-skin) .sk-hp-item.is-active .sk-hico{background:var(--sk-brand);color:#fff}
html body.pt-shell-ready:not(#pt-skin) .sk-hico{flex:0 0 30px;width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:var(--sk-brand-50);color:var(--sk-brand);transition:background-color .15s,color .15s}
html body.pt-shell-ready:not(#pt-skin) .sk-hico svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body.pt-shell-ready:not(#pt-skin) .sk-hp-text{display:flex;flex-direction:column;min-width:0}
html body.pt-shell-ready:not(#pt-skin) .sk-hp-text strong{font-size:13.5px;font-weight:600;color:var(--sk-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.pt-shell-ready:not(#pt-skin) .sk-hp-text small{font-size:11.5px;color:var(--sk-muted)}

/* Profile chip (photo + name) */
html body.pt-shell-ready:not(#pt-skin) .pt-appbar .sk-profile-chip{width:auto!important;height:38px!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;
  padding:0 12px 0 4px!important;border-radius:999px!important;text-decoration:none!important}
html body.pt-shell-ready:not(#pt-skin) .sk-avatar{flex:0 0 30px;width:30px;height:30px;border-radius:50%;overflow:hidden;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--sk-brand-600),var(--sk-primary));color:#fff;font-size:13px;font-weight:600}
html body.pt-shell-ready:not(#pt-skin) .sk-avatar img,html body.pt-shell-ready:not(#pt-skin) .pt-side-footer .pt-avatar img{width:100%;height:100%;object-fit:cover;display:block}
html body.pt-shell-ready:not(#pt-skin) .sk-profile-name{font-size:13px;font-weight:600;color:var(--sk-ink);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media (max-width:1280px){ html body.pt-shell-ready:not(#pt-skin) .sk-qs kbd{display:none} html body.pt-shell-ready:not(#pt-skin) .pt-appbar-date{display:none!important} }
@media (max-width:1100px){ html body.pt-shell-ready:not(#pt-skin) .sk-profile-name{display:none} html body.pt-shell-ready:not(#pt-skin) .pt-appbar .sk-profile-chip{padding:0 4px!important} }
@media (max-width:760px){
  html body.pt-shell-ready:not(#pt-skin) .sk-hdr-tools{flex:0 0 auto;margin-inline-start:auto;margin-inline-end:0;gap:6px}
  html body.pt-shell-ready:not(#pt-skin) .sk-qs{flex:0 0 38px;width:38px;padding:0;justify-content:center;cursor:pointer}
  html body.pt-shell-ready:not(#pt-skin) .sk-qs input,html body.pt-shell-ready:not(#pt-skin) .sk-qs kbd{position:absolute;opacity:0;pointer-events:none}
  html body.pt-shell-ready:not(#pt-skin) .sk-qs:focus-within,html body.pt-shell-ready:not(#pt-skin) .sk-qs.is-open{position:fixed;top:12px;right:12px;left:12px;width:auto;height:46px;z-index:2147483001;padding:0 12px;justify-content:flex-start}
  html body.pt-shell-ready:not(#pt-skin) .sk-qs:focus-within input,html body.pt-shell-ready:not(#pt-skin) .sk-qs.is-open input{position:static;opacity:1;pointer-events:auto}
  html body.pt-shell-ready:not(#pt-skin) .sk-qs-panel{top:calc(100% + 6px)}
  html body.pt-shell-ready:not(#pt-skin) .sk-qc-btn span{display:none}
  html body.pt-shell-ready:not(#pt-skin) .sk-qc-btn{width:38px!important;padding:0!important;justify-content:center!important}
  html body.pt-shell-ready:not(#pt-skin) .sk-qc-panel{position:fixed;top:64px;left:12px;right:auto}
}

html body:not(#pt-skin) #pt-global-back-v1795{
  bottom:20px!important;left:20px!important;min-width:0!important;padding:9px 16px!important;gap:6px!important;
  background:var(--sk-surface)!important;color:var(--sk-ink)!important;border:1px solid var(--sk-line)!important;
  border-radius:999px!important;box-shadow:var(--sk-shadow-raise)!important;font:600 13px/1.2 var(--sk-font)!important;
  transition:transform .15s,box-shadow .15s!important;
}
html body:not(#pt-skin) #pt-global-back-v1795:hover{transform:translateY(-1px)!important;box-shadow:var(--sk-shadow-pop)!important}

/* =========================================================
   PAGE FRAME & TYPE
========================================================= */
html body.pt-shell-ready:not(#pt-skin)>.header,html body.pt-shell-ready:not(#pt-skin)>header.header{display:none!important}
html body.pt-shell-ready:not(#pt-skin)>:is(main.container,.container,.wrap,.page-container,main){width:calc(100% - 64px)!important;max-width:1500px!important;margin:24px auto 90px!important;padding:0!important}
html body.pt-shell-ready:not(#pt-skin) h1{font-size:26px!important;font-weight:700!important;line-height:1.3!important;color:var(--sk-ink)!important;letter-spacing:-.01em!important;margin:0 0 6px!important}
html body.pt-shell-ready:not(#pt-skin) h2{font-size:19px!important;font-weight:600!important;line-height:1.4!important;color:var(--sk-ink)!important;letter-spacing:0!important}
html body.pt-shell-ready:not(#pt-skin) h3{font-size:16px!important;font-weight:600!important;line-height:1.45!important;color:var(--sk-ink)!important;letter-spacing:0!important}
html body.pt-shell-ready:not(#pt-skin) h4{font-size:14px!important;font-weight:600!important;color:var(--sk-ink)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.subtitle,.muted,.help,.note,.rpt-note,.ci-footnote,.sf-muted,.sob-muted,.small){color:var(--sk-muted)!important}
html body.pt-shell-ready:not(#pt-skin) .subtitle{font-size:14px!important;font-weight:400!important;margin:0!important;max-width:80ch}
html body.pt-shell-ready:not(#pt-skin) :is(.box,.card,.panel,.setup-card)>:is(h2,h3):first-child+:is(p,.muted,.subtitle,.help){margin-top:-8px!important;margin-bottom:16px!important;font-size:13px!important}

/* Kicker labels: small, quiet */
html body.pt-shell-ready:not(#pt-skin) :is(.pt-kicker,[class*="eyebrow"]:not(.pt-nav-eyebrow),[class*="kicker"],[class*="overline"]){
  font-size:12px!important;font-weight:500!important;letter-spacing:.02em!important;text-transform:none!important;color:var(--sk-muted)!important;
  background:none!important;border:0!important;padding:0!important;box-shadow:none!important;
}

/* =========================================================
   HERO BANNER — the page's signature block
   Deep pine gradient with a fine dot grid and a soft light.
========================================================= */
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.page-hero,.report-hero,.analytics-hero,.ws-hero,.workspace-hero,.module-hero,.pt-hero,.pt-command-hero,.dashboard-hero,.f43hero,[class$="hero"],[class*="hero "]){
  position:relative!important;overflow:hidden!important;isolation:isolate;
  background:linear-gradient(125deg,var(--sk-hero-1) 0%,var(--sk-hero-2) 55%,var(--sk-hero-3) 100%)!important;
  color:#fff!important;border:0!important;border-radius:var(--sk-r-hero)!important;
  box-shadow:0 18px 40px -18px rgba(13,58,47,.55)!important;
  padding:30px 34px!important;margin:0 0 24px!important;min-height:0!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.page-hero,.report-hero,.analytics-hero,.ws-hero,.workspace-hero,.module-hero,.pt-hero,.pt-command-hero,.dashboard-hero,.f43hero,[class$="hero"],[class*="hero "])::before{
  content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:-1!important;pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.13) 1px,transparent 1.2px)!important;background-size:18px 18px!important;
  -webkit-mask-image:linear-gradient(105deg,transparent 30%,#000 100%);mask-image:linear-gradient(105deg,transparent 30%,#000 100%);
  opacity:1!important;border:0!important;transform:none!important;width:auto!important;height:auto!important;border-radius:0!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.page-hero,.report-hero,.analytics-hero,.ws-hero,.workspace-hero,.module-hero,.pt-hero,.pt-command-hero,.dashboard-hero,.f43hero,[class$="hero"],[class*="hero "])::after{
  content:""!important;display:block!important;position:absolute!important;z-index:-1!important;pointer-events:none;
  width:420px!important;height:420px!important;top:-210px!important;right:-120px!important;left:auto!important;bottom:auto!important;border-radius:50%!important;
  background:radial-gradient(circle,rgba(130,230,190,.28),transparent 65%)!important;opacity:1!important;border:0!important;transform:none!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.page-hero,.report-hero,.analytics-hero,.ws-hero,.workspace-hero,.module-hero,.pt-hero,.pt-command-hero,.dashboard-hero,.f43hero,[class$="hero"],[class*="hero "]) :is(h1,h2,h3,strong){color:#fff!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.page-hero,.report-hero,.analytics-hero,.ws-hero,.workspace-hero,.module-hero,.pt-hero,.pt-command-hero,.dashboard-hero,.f43hero,[class$="hero"],[class*="hero "]) :is(p,.subtitle,small,span,li,div){color:rgba(255,255,255,.78)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.page-hero,.report-hero,.analytics-hero,.ws-hero,.workspace-hero,.module-hero,.pt-hero,.pt-command-hero,.dashboard-hero,.f43hero,[class$="hero"],[class*="hero "]) h1{font-size:28px!important;margin-bottom:6px!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.page-hero,.report-hero,.analytics-hero,.ws-hero,.workspace-hero,.module-hero,.pt-hero,.pt-command-hero,.dashboard-hero,.f43hero,[class$="hero"],[class*="hero "]) :is(.pt-kicker,[class*="eyebrow"],[class*="kicker"],[class*="overline"]),
html body.pt-shell-ready:not(#pt-skin) .pt-report-hero>span:first-child{
  display:inline-flex!important;align-items:center!important;gap:6px!important;width:auto!important;
  margin-bottom:12px!important;padding:4px 11px!important;border-radius:999px!important;
  background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;
  color:rgba(255,255,255,.88)!important;font-size:11.5px!important;font-weight:500!important;letter-spacing:.04em!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.f43hero,[class$="hero"],[class*="hero "]) [class*="meta"]{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:14px!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.f43hero,[class$="hero"],[class*="hero "]) [class*="meta"]>*{
  background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:999px!important;
  padding:4px 12px!important;font-size:12px!important;color:rgba(255,255,255,.85)!important;
}
/* Buttons and links placed on the hero */
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.page-hero,.report-hero,.analytics-hero,.ws-hero,.workspace-hero,.module-hero,.pt-hero,.pt-command-hero,.dashboard-hero,.f43hero,[class$="hero"],[class*="hero "]) :is(a,button,.pt-btn,.btn,input[type=submit]):not(:is(h1,h2,h3) a){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  height:40px!important;min-height:40px!important;padding:0 16px!important;border-radius:var(--sk-r-control)!important;
  font-size:13.5px!important;font-weight:600!important;text-decoration:none!important;opacity:1!important;transform:none!important;
  background:rgba(255,255,255,.1)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:none!important;
  transition:background-color .15s,transform .15s!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.page-hero,.report-hero,.analytics-hero,.ws-hero,.workspace-hero,.module-hero,.pt-hero,.pt-command-hero,.dashboard-hero,.f43hero,[class$="hero"],[class*="hero "]) :is(a,button,.pt-btn,.btn,input[type=submit]):not(:is(h1,h2,h3) a):hover{background:rgba(255,255,255,.18)!important;transform:translateY(-1px)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-hero-tools,.hero-actions,.cc-hero-actions,.ci-hero-actions)>:is(a,button,.pt-btn):first-child{background:#fff!important;color:var(--sk-primary)!important;border-color:#fff!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-hero-tools,.hero-actions,.cc-hero-actions,.ci-hero-actions)>:is(a,button,.pt-btn):first-child:hover{background:#f1f5f3!important}
/* inputs on the hero (finance month picker etc.) */
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.f43hero,[class$="hero"],[class*="hero "]) :where(input,select){background:rgba(255,255,255,.96)!important;border-color:transparent!important;color:var(--sk-ink)!important}

/* Plain page headers (no banner) */
html body.pt-shell-ready:not(#pt-skin) :is(.page-head,.page-header,.pt-page-head,.mc-page-heading,.fin-page-heading,.pt-rsuite-head,.page-banner,.module-banner,.report-banner,.workspace-banner):not(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.page-hero,.report-hero,.analytics-hero,.ws-hero,.workspace-hero,.module-hero,.pt-hero,.pt-command-hero,.dashboard-hero,.f43hero,[class$="hero"],[class*="hero "]){
  background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  padding:4px 0 6px!important;margin:0 0 20px!important;
}

/* =========================================================
   SURFACES — white cards with soft depth
========================================================= */
html body.pt-shell-ready:not(#pt-skin) :is(.box,.panel,.card,.setup-card,.sf-card,.ws-card,.ws-panel,.ic-panel,.sob-card,.p360-card,.metric-card,.mc-table-card,.mc-filter-card,.active-card,.filter-card,.form-card,.section-card,.content-card,.pt-card,.f43panel){
  background:var(--sk-surface)!important;background-image:none!important;
  border:1px solid var(--sk-line-soft)!important;border-radius:var(--sk-r-card)!important;box-shadow:var(--sk-shadow-card)!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.box,.panel,.setup-card,.ws-panel,.ic-panel){padding:22px 24px!important;margin-bottom:20px}
html body.pt-shell-ready:not(#pt-skin) :is(.box,.panel,.card,.setup-card)>:is(h2,h3):first-child{margin-top:0!important;margin-bottom:14px!important}
html body.pt-shell-ready:not(#pt-skin) :is(.box,.panel,.card,.setup-card) :is(.box,.panel,.card,.setup-card){box-shadow:none!important;border-color:var(--sk-line)!important;border-radius:12px!important}
/* Linked cards lift on hover */
html body.pt-shell-ready:not(#pt-skin) a:is(.card,.action,.route-item,.dashboard-btn,.stat-link){transition:transform .16s ease,box-shadow .16s ease,border-color .16s!important;text-decoration:none!important}
html body.pt-shell-ready:not(#pt-skin) a:is(.card,.action,.route-item,.stat-link):hover{transform:translateY(-2px)!important;box-shadow:var(--sk-shadow-raise)!important;border-color:var(--sk-line)!important}
html body.pt-shell-ready:not(#pt-skin) .module-grid>a.card::before{display:none!important}

/* =========================================================
   KPI CARDS
========================================================= */
html body.pt-shell-ready:not(#pt-skin) :is(.pt-kpi-grid,.ci-kpis,.stats,.stat-grid,.metrics-grid,.kpi-grid,.sf-kpis,.f43cards){
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:14px!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0 0 22px!important;overflow:visible!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-kpi-grid,.ci-kpis,.stats,.stat-grid,.metrics-grid,.kpi-grid,.sf-kpis,.f43cards)>*{
  position:relative;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:6px!important;
  background:var(--sk-surface)!important;background-image:none!important;
  border:1px solid var(--sk-line-soft)!important;border-radius:var(--sk-r-card)!important;box-shadow:var(--sk-shadow-card)!important;
  padding:18px 20px!important;margin:0!important;min-height:0!important;transform:none;text-align:start!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-kpi-grid,.ci-kpis,.stats,.stat-grid,.metrics-grid,.kpi-grid,.sf-kpis,.f43cards)>*::before,
html body.pt-shell-ready:not(#pt-skin) :is(.pt-kpi-grid,.ci-kpis,.stats,.stat-grid,.metrics-grid,.kpi-grid,.sf-kpis,.f43cards)>*::after{display:none!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-kpi,.ci-kpi,.stat,.sf-kpi,.kpi,.metric,.f43card,.statx,.ci-hub-kpi,.ops-metric,.ic-stat,.summary-card,.pt-pulse-kpi,.ws-category-kpi,.pos-report-kpi,.p29tile,.total-card)>:is(span:first-child,small:first-child,.label,.k),
html body.pt-shell-ready:not(#pt-skin) :is(.stat-label,.kpi-label,.metric-label){
  font-size:13px!important;font-weight:500!important;color:var(--sk-muted)!important;letter-spacing:0!important;text-transform:none!important;line-height:1.4!important;order:0;margin:0!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-kpi,.ci-kpi,.stat,.sf-kpi,.kpi,.metric,.f43card,.statx,.ci-hub-kpi,.ops-metric,.ic-stat,.summary-card,.pt-pulse-kpi,.ws-category-kpi,.pos-report-kpi,.p29tile,.total-card)>:is(strong,.value,.v,.num),
html body.pt-shell-ready:not(#pt-skin) :is(.stat-value,.kpi-value,.metric-value,.hero-count){
  font-size:24px!important;font-weight:700!important;line-height:1.2!important;color:var(--sk-ink)!important;letter-spacing:-.01em!important;order:1;margin:0!important;
  font-variant-numeric:tabular-nums lining-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html body.pt-shell-ready:not(#pt-skin) :is(.cc-stat-foot,.stat-foot,.kpi-foot,.metric-foot,.stat .foot,.stat small){font-size:12px!important;color:var(--sk-subtle)!important;order:2}
html body.pt-shell-ready:not(#pt-skin) :is(.cc-stat-icon,.stat-icon,.kpi-icon,.metric-icon){
  order:-1;width:34px!important;height:34px!important;display:grid!important;place-items:center!important;margin:0 0 4px!important;
  border-radius:10px!important;background:var(--sk-brand-50)!important;color:var(--sk-brand)!important;font-size:15px!important;border:0!important;box-shadow:none!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-kpi,.ci-kpi,.stat,.sf-kpi,.kpi,.metric,.f43card,.statx,.ci-hub-kpi,.ops-metric,.ic-stat,.summary-card,.pt-pulse-kpi,.ws-category-kpi,.pos-report-kpi,.p29tile,.total-card) :is(.good,.ok,.success){color:var(--sk-ok)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-kpi,.ci-kpi,.stat,.sf-kpi,.kpi,.metric,.f43card,.statx,.ci-hub-kpi,.ops-metric,.ic-stat,.summary-card,.pt-pulse-kpi,.ws-category-kpi,.pos-report-kpi,.p29tile,.total-card) :is(.bad,.danger,.error){color:var(--sk-bad)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-kpi,.ci-kpi,.stat,.sf-kpi,.kpi,.metric,.f43card,.statx,.ci-hub-kpi,.ops-metric,.ic-stat,.summary-card,.pt-pulse-kpi,.ws-category-kpi,.pos-report-kpi,.p29tile,.total-card) :is(.warn,.warning){color:var(--sk-warn)!important}

/* =========================================================
   TABLES
========================================================= */
html body.pt-shell-ready:not(#pt-skin) :is(.table-wrap,.table-responsive,.table-container,.pos-report-table-scroll){
  background:var(--sk-surface)!important;border:1px solid var(--sk-line-soft)!important;border-radius:var(--sk-r-card)!important;
  box-shadow:var(--sk-shadow-card)!important;overflow:auto!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.box,.panel,.card,.setup-card,.mc-table-card) :is(.table-wrap,.table-responsive,.table-container,.pos-report-table-scroll){box-shadow:none!important;border-color:var(--sk-line)!important;border-radius:12px!important}
html body.pt-shell-ready:not(#pt-skin) table{border-collapse:separate!important;border-spacing:0!important;width:100%;font-size:13.5px!important;background:transparent!important}
html body.pt-shell-ready:not(#pt-skin) table :is(th,td){border:0!important;border-bottom:1px solid var(--sk-line-soft)!important;padding:11px 13px!important;vertical-align:middle;line-height:1.5;color:var(--sk-ink-2)}
html body.pt-shell-ready:not(#pt-skin) table thead th,html body.pt-shell-ready:not(#pt-skin) table tr:first-child>th{
  background:var(--sk-surface)!important;color:var(--sk-muted)!important;font-size:12.5px!important;font-weight:500!important;
  letter-spacing:0!important;text-transform:none!important;white-space:nowrap;border-bottom:1px solid var(--sk-line)!important;
  padding-top:11px!important;padding-bottom:11px!important;position:sticky;top:0;z-index:1;
}
html body.pt-shell-ready:not(#pt-skin) table tbody tr{background:transparent!important;transition:background-color .12s}
html body.pt-shell-ready:not(#pt-skin) table tbody tr:hover>td{background:var(--sk-surface-2)!important}
html body.pt-shell-ready:not(#pt-skin) table tbody tr:last-child>td{border-bottom:0!important}
html body.pt-shell-ready:not(#pt-skin) table td:first-child{color:var(--sk-ink);font-weight:500}
html body.pt-shell-ready:not(#pt-skin) table :is(tfoot td,tfoot th,tr.total td,tr.sum-row td,.total-row td){background:var(--sk-surface-2)!important;font-weight:600!important;color:var(--sk-ink)!important;border-top:1px solid var(--sk-line)!important}
html body.pt-shell-ready:not(#pt-skin) table :is(td,th):is(.num,.number,.money,.number-col,.pt-nw){font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
html body.pt-shell-ready:not(#pt-skin) table :is(td,th) :where(input,select){min-height:34px!important;height:34px!important;padding:4px 9px!important;font-size:13px!important;border-radius:8px!important}

/* Table tools injected by profitech-ui.js */
html body.pt-shell-ready:not(#pt-skin) .pt-table-tools{display:flex!important;gap:6px!important;justify-content:flex-end!important;margin:0 0 10px!important;background:none!important;border:0!important;padding:0!important}
html body.pt-shell-ready:not(#pt-skin) .pt-table-tools .pt-btn{height:32px!important;min-height:32px!important;padding:0 12px!important;font-size:12.5px!important}

/* =========================================================
   BUTTONS
========================================================= */
html body.pt-shell-ready:not(#pt-skin) :is(.pt-btn,.btn,.button,.dashboard-btn,.f43btn,input[type=submit],button[type=submit]){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  height:40px!important;min-height:40px!important;padding:0 18px!important;
  font-size:13.5px!important;font-weight:600!important;line-height:1!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap;
  border-radius:var(--sk-r-control)!important;border:1px solid var(--sk-primary)!important;
  background:var(--sk-primary)!important;background-image:none!important;color:#fff!important;
  box-shadow:0 1px 2px rgba(16,24,40,.12),inset 0 1px 0 rgba(255,255,255,.08)!important;transform:none!important;text-decoration:none!important;cursor:pointer;
  transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s,transform .15s!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-btn,.btn,.button,.dashboard-btn,.f43btn,input[type=submit],button[type=submit]):hover{background:var(--sk-primary-hover)!important;border-color:var(--sk-primary-hover)!important;color:#fff!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-btn,.btn,.button,.dashboard-btn,.f43btn,input[type=submit],button[type=submit]):active{transform:translateY(1px)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-btn,.btn,.button,.dashboard-btn):is(.light,.secondary,.ghost,.outline,.btn-light,.btn-secondary,.btn-outline){
  background:var(--sk-surface)!important;color:var(--sk-ink)!important;border-color:var(--sk-line-strong)!important;box-shadow:0 1px 2px rgba(16,24,40,.05)!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-btn,.btn,.button,.dashboard-btn):is(.light,.secondary,.ghost,.outline,.btn-light,.btn-secondary,.btn-outline):hover{background:var(--sk-surface-2)!important;color:var(--sk-ink)!important;border-color:var(--sk-subtle)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-btn,.btn,.button,input[type=submit],button[type=submit]):is(.danger,.btn-danger,.delete,.remove){background:var(--sk-surface)!important;color:var(--sk-bad)!important;border-color:var(--sk-bad-line)!important;box-shadow:none!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-btn,.btn,.button,input[type=submit],button[type=submit]):is(.danger,.btn-danger,.delete,.remove):hover{background:var(--sk-bad)!important;color:#fff!important;border-color:var(--sk-bad)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-btn,.btn,.button,input[type=submit],button[type=submit]):is(.small,.sm,.btn-sm){height:32px!important;min-height:32px!important;padding:0 12px!important;font-size:12.5px!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-btn,.btn,.button,input[type=submit],button[type=submit]):disabled{opacity:.45!important;cursor:not-allowed!important;transform:none!important}
html body.pt-shell-ready:not(#pt-skin) :is(.pt-page-actions,.actions,.toolbar,.toolbar-actions,.header-links,.mc-heading-actions,.table-actions){gap:8px!important}

/* =========================================================
   FORMS
========================================================= */
html body.pt-shell-ready:not(#pt-skin) :where(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]):not([type=hidden]):not([type=color]):not([type=range]),select,textarea){
  min-height:42px!important;padding:8px 13px!important;font-size:14px!important;color:var(--sk-ink)!important;
  background:var(--sk-surface)!important;border:1px solid var(--sk-line-strong)!important;border-radius:var(--sk-r-control)!important;
  box-shadow:0 1px 2px rgba(16,24,40,.04)!important;transition:border-color .15s,box-shadow .15s!important;
}
html body.pt-shell-ready:not(#pt-skin) :where(select){padding-left:32px!important}
html body.pt-shell-ready:not(#pt-skin) :where(textarea){min-height:88px!important;line-height:1.6!important}
html body.pt-shell-ready:not(#pt-skin) :where(input,select,textarea):hover:not(:disabled):not(:focus){border-color:var(--sk-subtle)!important}
html body.pt-shell-ready:not(#pt-skin) :where(input,select,textarea):focus{outline:none!important;border-color:var(--sk-brand)!important;box-shadow:var(--sk-focus)!important}
html body.pt-shell-ready:not(#pt-skin) :where(input,select,textarea):is(:disabled,[readonly]){background:var(--sk-surface-2)!important;color:var(--sk-muted)!important}
html body.pt-shell-ready:not(#pt-skin) ::placeholder{color:var(--sk-subtle)!important;opacity:1}
html body.pt-shell-ready:not(#pt-skin) :where(input[type=checkbox],input[type=radio]){accent-color:var(--sk-brand);width:16px;height:16px}
html body.pt-shell-ready:not(#pt-skin) :is(.field,.form-grid,.filters,.rpt-filters,.lp-filter-grid) label,
html body.pt-shell-ready:not(#pt-skin) label:not(:has(input[type=checkbox],input[type=radio])){font-size:13px!important;font-weight:500!important;color:var(--sk-ink-2)!important;letter-spacing:0!important}
html body.pt-shell-ready:not(#pt-skin) :is(.form-grid,.filters,.rpt-filters){gap:16px 18px!important}
html body.pt-shell-ready:not(#pt-skin) :is(.filters,.filter-bar,.ci-filter,.rpt-filters){background:transparent!important;border:0!important;box-shadow:none!important}
html body.pt-shell-ready:not(#pt-skin) .box :is(.filters,.rpt-filters){padding:0!important}


/* =========================================================
   ROW ACTIONS — "⋮" menu built by profitech-skin.js
========================================================= */
html body.pt-shell-ready:not(#pt-skin) td.sk-actions-cell{width:1%!important;white-space:nowrap!important;text-align:center!important}
html body.pt-shell-ready:not(#pt-skin) .sk-kebab{
  display:inline-grid!important;place-items:center!important;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;margin:0!important;
  border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:#4b5563!important;box-shadow:none!important;cursor:pointer;
  transition:background-color .15s,border-color .15s,color .15s!important;
}
html body.pt-shell-ready:not(#pt-skin) .sk-kebab svg{width:18px!important;height:18px!important;fill:currentColor!important;stroke:none!important}
html body.pt-shell-ready:not(#pt-skin) .sk-kebab:hover,html body.pt-shell-ready:not(#pt-skin) td.sk-actions-open .sk-kebab{background:var(--sk-surface)!important;border-color:var(--sk-line)!important;color:var(--sk-ink)!important;box-shadow:var(--sk-shadow-card)!important}
html body.pt-shell-ready:not(#pt-skin) table tbody tr:hover .sk-kebab{color:var(--sk-ink)!important}
@keyframes sk-menu-in{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
html body.pt-shell-ready:not(#pt-skin) .sk-menu{
  display:none!important;position:fixed!important;z-index:2147483100!important;min-width:184px!important;max-width:280px!important;
  padding:6px!important;margin:0!important;background:var(--sk-surface)!important;border:1px solid var(--sk-line)!important;
  border-radius:14px!important;box-shadow:var(--sk-shadow-pop)!important;text-align:start!important;white-space:normal!important;
}
html body.pt-shell-ready:not(#pt-skin) .sk-menu.sk-open{display:flex!important;flex-direction:column!important;gap:2px!important;animation:sk-menu-in .16s ease both}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(form,div,span,p){display:contents!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu br{display:none!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu{font-size:0!important;color:transparent!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu .sk-ico{display:inline-grid!important;place-items:center!important;width:18px!important;height:18px!important;flex:0 0 18px!important;color:#6b7280!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu .sk-ico svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input).sk-danger{position:relative;color:var(--sk-bad)!important;margin-top:5px!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input).sk-danger::before{content:"";position:absolute;top:-3px;left:8px;right:8px;height:1px;background:var(--sk-line)}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input).sk-danger~.sk-danger{margin-top:0!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input).sk-danger~.sk-danger::before{display:none}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input).sk-danger .sk-ico{color:var(--sk-bad)!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input).sk-danger:hover{background:var(--sk-bad-bg)!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input).sk-primary,html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input).sk-primary .sk-ico{color:var(--sk-brand)!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input[type=submit],input[type=button]){
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;
  height:auto!important;min-height:36px!important;padding:8px 12px!important;margin:0!important;
  font-size:13.5px!important;font-weight:500!important;line-height:1.4!important;text-align:start!important;white-space:nowrap!important;text-decoration:none!important;
  color:var(--sk-ink)!important;background:transparent!important;border:0!important;border-radius:9px!important;box-shadow:none!important;transform:none!important;cursor:pointer;
}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input[type=submit],input[type=button]):hover,
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input[type=submit],input[type=button]):focus-visible{background:var(--sk-surface-3)!important;color:var(--sk-ink)!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input):is(.danger,.btn-danger,.delete,.remove,.red,[class*="danger"],[class*="delete"]){color:var(--sk-bad)!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input):is(.danger,.btn-danger,.delete,.remove,.red,[class*="danger"],[class*="delete"]):hover{background:var(--sk-bad-bg)!important}
html body.pt-shell-ready:not(#pt-skin) .sk-menu :is(a,button,input):is(.primary,.success,.approve,[class*="approve"],[class*="post"]){color:var(--sk-brand)!important}
@media print{html body:not(#pt-skin) :is(.sk-kebab,.sk-menu){display:none!important}}

/* =========================================================
   MESSAGES, BADGES, CHIPS, TABS
========================================================= */
html body.pt-shell-ready:not(#pt-skin) :is(.message,.msg,.alert,.notice,.inline-alert){
  border-radius:12px!important;padding:12px 16px!important;font-size:13.5px!important;box-shadow:none!important;background-image:none!important;
  background:var(--sk-info-bg)!important;color:var(--sk-info)!important;border:1px solid var(--sk-info-line)!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.message,.msg,.alert,.notice,.inline-alert):is(.success,.ok){background:var(--sk-ok-bg)!important;color:var(--sk-ok)!important;border-color:var(--sk-ok-line)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.message,.msg,.alert,.notice,.inline-alert):is(.error,.danger,.err){background:var(--sk-bad-bg)!important;color:var(--sk-bad)!important;border-color:var(--sk-bad-line)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.message,.msg,.alert,.notice,.inline-alert):is(.warning,.warn){background:var(--sk-warn-bg)!important;color:var(--sk-warn)!important;border-color:var(--sk-warn-line)!important}

html body.pt-shell-ready:not(#pt-skin) :is(.badge,.status,.status-pill,.status-badge,.pt-status,.ci-status,.ci-label,.cost-badge,.ready-badge,.pos-chip){
  display:inline-flex!important;align-items:center!important;gap:5px!important;
  padding:3px 10px!important;border-radius:8px!important;font-size:12px!important;font-weight:500!important;line-height:1.5!important;
  letter-spacing:0!important;text-transform:none!important;box-shadow:none!important;background-image:none!important;white-space:nowrap;
  background:var(--sk-surface-3);color:var(--sk-ink-2);border:0!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.badge,.status,.status-pill,.status-badge,.pt-status,.ci-status,.ci-label):is(.success,.ok,.active,.posted,.approved,.good,.ready){background:var(--sk-ok-bg)!important;color:var(--sk-ok)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.badge,.status,.status-pill,.status-badge,.pt-status,.ci-status,.ci-label):is(.danger,.error,.bad,.blocked,.ci-status-blocked,.suspended,.cancelled,.rejected){background:var(--sk-bad-bg)!important;color:var(--sk-bad)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.badge,.status,.status-pill,.status-badge,.pt-status,.ci-status,.ci-label):is(.warning,.warn,.pending,.draft,.review){background:var(--sk-warn-bg)!important;color:var(--sk-warn)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.badge,.status,.status-pill,.status-badge,.pt-status,.ci-status,.ci-label):is(.info){background:var(--sk-info-bg)!important;color:var(--sk-info)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.good){color:var(--sk-ok)!important}
html body.pt-shell-ready:not(#pt-skin) .sync-pending{color:var(--sk-warn)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.bad){color:var(--sk-bad)!important}

/* Selectable chips (rounded outline pills) */
html body.pt-shell-ready:not(#pt-skin) :is(.chip,.pill,.tag,.filter-chip){
  display:inline-flex!important;align-items:center!important;gap:6px!important;height:32px;padding:0 14px!important;
  border-radius:999px!important;border:1px solid var(--sk-line-strong)!important;background:var(--sk-surface)!important;color:var(--sk-ink-2)!important;
  font-size:13px!important;font-weight:500!important;box-shadow:none!important;transition:background-color .15s,border-color .15s,color .15s!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.chip,.pill,.tag,.filter-chip):is(.active,.selected,[aria-pressed=true]){background:var(--sk-primary)!important;color:#fff!important;border-color:var(--sk-primary)!important}

/* Tabs: segmented control */
html body.pt-shell-ready:not(#pt-skin) :is(.tabs,.nav-tabs,.tab-list){display:inline-flex!important;flex-wrap:wrap;gap:4px!important;padding:4px!important;border:1px solid var(--sk-line)!important;border-radius:12px!important;background:var(--sk-surface-3)!important;box-shadow:none!important;max-width:100%}
html body.pt-shell-ready:not(#pt-skin) :is(.tabs,.nav-tabs,.tab-list)>:is(a,button){
  background:transparent!important;border:0!important;border-radius:9px!important;box-shadow:none!important;
  color:var(--sk-muted)!important;font-weight:500!important;font-size:13px!important;padding:7px 14px!important;margin:0!important;height:auto!important;min-height:0!important;
  transition:background-color .15s,color .15s,box-shadow .15s!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.tabs,.nav-tabs,.tab-list)>:is(a,button):hover{color:var(--sk-ink)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.tabs,.nav-tabs,.tab-list)>:is(a,button):is(.active,[aria-selected=true],[aria-current]){background:var(--sk-surface)!important;color:var(--sk-ink)!important;font-weight:600!important;box-shadow:var(--sk-shadow-card)!important}

/* Modals: soft pop-in, items arrive in order */
html body:not(#pt-skin) :is(.modal-backdrop,.pos-modal-backdrop){background:rgba(17,24,39,.36)!important;backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important;animation:sk-fade .2s ease both}
html body.pt-shell-ready:not(#pt-skin) :is(.modal,.modal-content,.modal-card,.dialog){border-radius:var(--sk-r-modal)!important;border:0!important;box-shadow:var(--sk-shadow-pop)!important;background:var(--sk-surface)!important;animation:sk-pop .26s cubic-bezier(.2,.8,.2,1) both}
html body.pt-shell-ready:not(#pt-skin) :is(.modal,.modal-content,.modal-card,.dialog) :is(.modal-actions,.modal-footer){border-top:1px solid var(--sk-line)!important;padding-top:14px!important;margin-top:18px!important}

/* Empty states */
html body.pt-shell-ready:not(#pt-skin) :is(.empty,.pt-empty,.empty-state){color:var(--sk-muted)!important;background:var(--sk-surface-2)!important;border:1px dashed var(--sk-line-strong)!important;border-radius:12px!important;padding:24px!important;text-align:center}

/* Scrollbars */
html body.pt-shell-ready:not(#pt-skin) *{scrollbar-width:thin;scrollbar-color:#cdd2d9 transparent}



/* KPI-style cards that live outside the standard grids */
html body.pt-shell-ready:not(#pt-skin) :is(.statx,.ci-hub-kpi,.ops-metric,.ic-stat,.summary-card,.pt-pulse-kpi,.ws-category-kpi,.pos-report-kpi,.p29tile,.total-card){
  display:flex!important;flex-direction:column!important;gap:6px!important;text-align:start!important;
  background:var(--sk-surface)!important;background-image:none!important;border:1px solid var(--sk-line-soft)!important;
  border-radius:var(--sk-r-card)!important;box-shadow:var(--sk-shadow-card)!important;padding:18px 20px!important;
}
html body.pt-shell-ready:not(#pt-skin) :is(.statx,.ci-hub-kpi,.ops-metric,.ic-stat,.summary-card,.pt-pulse-kpi,.ws-category-kpi,.pos-report-kpi,.p29tile,.total-card)::before{display:none!important}

/* Report center feature icons (injected by profitech-enterprise.js) */
html body.pt-shell-ready:not(#pt-skin) .pt-feature-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;flex:0 0 40px!important;margin:0 0 8px!important;padding:0!important;border-radius:12px!important;background:var(--sk-brand-50)!important;color:var(--sk-brand)!important;border:0!important;box-shadow:none!important}
html body.pt-shell-ready:not(#pt-skin) .pt-feature-icon svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body.pt-shell-ready:not(#pt-skin) .report-no{background:var(--sk-surface-3)!important;color:var(--sk-muted)!important;border:0!important;border-radius:8px!important;font-size:11.5px!important;font-weight:600!important;padding:2px 8px!important;box-shadow:none!important}
html body.pt-shell-ready:not(#pt-skin) .module-code{background:transparent!important;color:var(--sk-muted)!important;border:0!important;padding:0!important;font-size:11.5px!important;letter-spacing:.04em!important;box-shadow:none!important}

/* Counter block placed on a banner */
html body.pt-shell-ready:not(#pt-skin) [class*="hero"] .hero-count{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:16px!important;box-shadow:none!important;padding:16px 22px!important;color:#fff!important;text-align:center}
html body.pt-shell-ready:not(#pt-skin) [class*="hero"] .hero-count strong{display:block;font-size:32px!important;line-height:1.1!important;color:#fff!important}
html body.pt-shell-ready:not(#pt-skin) [class*="hero"] .hero-count span{color:rgba(255,255,255,.8)!important;font-size:13px!important}


/* Inner wrappers of a banner never paint their own box (no box-in-box) */
html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.page-hero,.report-hero,.analytics-hero,.ws-hero,.workspace-hero,.module-hero,.pt-hero,.pt-command-hero,.dashboard-hero,.f43hero,[class$="hero"],[class*="hero "])>:is(div,section,header,form):not(.hero-count){background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important}

/* Legacy in-page headers (logo + links) are replaced by the app bar */
html body.pt-shell-ready:not(#pt-skin) :is(.header,header,[class*="-header"]):has(>.logo):not(.pt-appbar){display:none!important}

/* Kickers and labels that sit on a dark banner */
html body.pt-shell-ready:not(#pt-skin) [class*="hero"] :is([class*="eyebrow"],[class*="kicker"],[class*="overline"],.pt-kicker){color:rgba(255,255,255,.88)!important}
html body.pt-shell-ready:not(#pt-skin) [class*="hero"] label:not(#pt-skin-x){color:rgba(255,255,255,.82)!important}

/* Finance module (f43) */
html body.pt-shell-ready:not(#pt-skin) :is(.f43card,.f43quick) .em{display:none!important}
html body.pt-shell-ready:not(#pt-skin) .f43quick{gap:12px!important}
html body.pt-shell-ready:not(#pt-skin) .f43quick>a{
  display:flex!important;align-items:center!important;gap:10px!important;min-height:52px!important;padding:12px 16px!important;
  background:var(--sk-surface)!important;border:1px solid var(--sk-line-soft)!important;border-radius:14px!important;box-shadow:var(--sk-shadow-card)!important;
  color:var(--sk-ink)!important;font-weight:500!important;text-decoration:none!important;transition:transform .16s ease,box-shadow .16s ease!important;
}
html body.pt-shell-ready:not(#pt-skin) .f43quick>a:hover{transform:translateY(-2px)!important;box-shadow:var(--sk-shadow-raise)!important}
html body.pt-shell-ready:not(#pt-skin) .f43quick .f43arrow{margin-inline-start:auto!important;color:var(--sk-muted)!important}
html body.pt-shell-ready:not(#pt-skin) :is(.f43period,.f43h){color:var(--sk-ink)!important}
html body.pt-shell-ready:not(#pt-skin) .f43period{background:var(--sk-surface)!important;border:1px solid var(--sk-line)!important;color:var(--sk-muted)!important;border-radius:999px!important;padding:3px 10px!important;box-shadow:none!important}

/* =========================================================
   PROFILE PAGES — user_profile.php, company_profile.php
========================================================= */
html body.pt-shell-ready:not(#pt-skin) .pt-profile{max-width:1120px!important}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:4px 0 20px}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-head h1{font-size:26px!important;margin:0 0 4px!important;color:var(--sk-ink)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-head p{margin:0;color:var(--sk-muted);font-size:14px}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-code{font-size:12px;font-weight:600;color:var(--sk-muted);background:var(--sk-surface);border:1px solid var(--sk-line);border-radius:999px;padding:5px 12px}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-alert{padding:12px 16px;border-radius:12px;margin:0 0 16px;font-size:13.5px;background:var(--sk-info-bg);color:var(--sk-info)}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-alert.is-ok{background:var(--sk-ok-bg);color:var(--sk-ok)}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-alert.is-error{background:var(--sk-bad-bg);color:var(--sk-bad)}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-main{display:grid;gap:20px;min-width:0}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-card{background:var(--sk-surface);border:1px solid var(--sk-line);border-radius:var(--sk-r-card);box-shadow:var(--sk-shadow-card);padding:24px}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-card-head{margin-bottom:18px}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-card-head h2{font-size:16px!important;font-weight:600!important;margin:0 0 4px!important;color:var(--sk-ink)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-card-head p{margin:0;font-size:13px;color:var(--sk-muted)}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-fields.is-3{grid-template-columns:repeat(3,minmax(0,1fr))}
html body.pt-shell-ready:not(#pt-skin) .pt-field.is-full{grid-column:1/-1}
html body.pt-shell-ready:not(#pt-skin) .pt-field label{display:block;font-size:13px;font-weight:500;color:var(--sk-ink-2);margin:0 0 7px}
html body.pt-shell-ready:not(#pt-skin) .pt-field input{width:100%!important}
html body.pt-shell-ready:not(#pt-skin) .pt-field input:disabled{background:var(--sk-surface-2)!important;color:var(--sk-ink-2)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid var(--sk-line-soft)}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-foot .pt-btn:only-child{margin-inline-start:auto}
html body.pt-shell-ready:not(#pt-skin) .pt-check{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--sk-ink-2);cursor:pointer}
html body.pt-shell-ready:not(#pt-skin) .pt-btn-quiet-danger{color:var(--sk-bad)!important}
html body.pt-shell-ready:not(#pt-skin) .pt-btn-quiet-danger:hover{background:var(--sk-bad-bg)!important;border-color:transparent!important}

/* identity card */
html body.pt-shell-ready:not(#pt-skin) .pt-profile-id{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:30px}
html body.pt-shell-ready:not(#pt-skin) .pt-avatar-xl{position:relative;width:112px;height:112px;border-radius:50%;cursor:pointer;display:grid;place-items:center;overflow:visible;
  background:linear-gradient(135deg,var(--sk-brand-600),var(--sk-primary));color:#fff;font-size:42px;font-weight:600;box-shadow:0 0 0 5px var(--sk-surface),0 0 0 6px var(--sk-line)}
html body.pt-shell-ready:not(#pt-skin) .pt-avatar-xl img{width:100%;height:100%;border-radius:50%;object-fit:cover}
html body.pt-shell-ready:not(#pt-skin) .pt-avatar-edit{position:absolute;bottom:2px;left:2px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--sk-surface);color:var(--sk-ink);
  box-shadow:0 2px 8px rgba(16,24,40,.18);transition:transform .15s}
html body.pt-shell-ready:not(#pt-skin) .pt-avatar-xl:hover .pt-avatar-edit{transform:scale(1.08)}
html body.pt-shell-ready:not(#pt-skin) .pt-avatar-edit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-name{display:block;margin-top:18px;font-size:18px;font-weight:600;color:var(--sk-ink)}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-mail{display:block;margin-top:2px;font-size:13px;color:var(--sk-muted);direction:ltr}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:12px}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-tags span{font-size:12px;font-weight:500;padding:3px 10px;border-radius:8px;background:var(--sk-brand-50);color:var(--sk-brand)}
html body.pt-shell-ready:not(#pt-skin) .pt-avatar-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:20px}
html body.pt-shell-ready:not(#pt-skin) .pt-avatar-actions form{display:contents}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-hint{font-size:12px;color:var(--sk-muted);margin:10px 0 0}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-facts{width:100%;margin:20px 0 0;padding:16px 0 0;border-top:1px solid var(--sk-line-soft);display:grid;gap:10px;text-align:start}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-facts div{display:flex;justify-content:space-between;gap:10px;font-size:13px}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-facts dt{color:var(--sk-muted)}
html body.pt-shell-ready:not(#pt-skin) .pt-profile-facts dd{margin:0;color:var(--sk-ink);font-weight:500}

/* password strength */
html body.pt-shell-ready:not(#pt-skin) .pt-strength{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:8px}
html body.pt-shell-ready:not(#pt-skin) .pt-strength i{height:4px;border-radius:2px;background:var(--sk-line)}
html body.pt-shell-ready:not(#pt-skin) .pt-strength[data-level="1"] i:nth-child(-n+1){background:var(--sk-bad)}
html body.pt-shell-ready:not(#pt-skin) .pt-strength[data-level="2"] i:nth-child(-n+2){background:var(--sk-warn)}
html body.pt-shell-ready:not(#pt-skin) .pt-strength[data-level="3"] i:nth-child(-n+3),html body.pt-shell-ready:not(#pt-skin) .pt-strength[data-level="4"] i{background:var(--sk-ok)}

/* company logo + report header preview */
html body.pt-shell-ready:not(#pt-skin) .pt-logo-drop{display:grid;place-items:center;height:170px;border:1.5px dashed var(--sk-line-strong);border-radius:14px;background:var(--sk-surface-2);
  color:var(--sk-muted);font-size:13px;cursor:pointer;margin-bottom:12px;transition:border-color .15s,background-color .15s}
html body.pt-shell-ready:not(#pt-skin) .pt-logo-drop:hover{border-color:var(--sk-brand);background:var(--sk-brand-50)}
html body.pt-shell-ready:not(#pt-skin) .pt-logo-drop.is-readonly{cursor:default}
html body.pt-shell-ready:not(#pt-skin) .pt-logo-drop img{max-width:80%;max-height:130px;object-fit:contain}
html body.pt-shell-ready:not(#pt-skin) .pt-report-preview{margin-bottom:20px}
html body.pt-shell-ready:not(#pt-skin) .pt-rh{display:grid;grid-template-columns:150px 1fr 150px;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--sk-line);border-radius:12px;background:#fff;
  border-bottom:3px solid var(--sk-brand)}
html body.pt-shell-ready:not(#pt-skin) .pt-rh-logo{height:56px;display:flex;align-items:center}
html body.pt-shell-ready:not(#pt-skin) .pt-rh-company{justify-content:flex-start}
html body.pt-shell-ready:not(#pt-skin) .pt-rh-profitech{justify-content:flex-end}
html body.pt-shell-ready:not(#pt-skin) .pt-rh-logo img{max-height:56px;max-width:150px;object-fit:contain}
html body.pt-shell-ready:not(#pt-skin) .pt-rh-company span{font-size:12px;color:var(--sk-muted);border:1px dashed var(--sk-line-strong);border-radius:8px;padding:14px 12px}
html body.pt-shell-ready:not(#pt-skin) .pt-rh-center{text-align:center;display:flex;flex-direction:column;gap:3px}
html body.pt-shell-ready:not(#pt-skin) .pt-rh-center strong{font-size:17px;color:var(--sk-ink)}
html body.pt-shell-ready:not(#pt-skin) .pt-rh-center span{font-size:13.5px;font-weight:600;color:var(--sk-brand)}
html body.pt-shell-ready:not(#pt-skin) .pt-rh-center small{font-size:11.5px;color:var(--sk-muted)}
@media (max-width:900px){
  html body.pt-shell-ready:not(#pt-skin) .pt-profile-grid{grid-template-columns:1fr}
  html body.pt-shell-ready:not(#pt-skin) .pt-profile-fields,html body.pt-shell-ready:not(#pt-skin) .pt-profile-fields.is-3{grid-template-columns:1fr}
  html body.pt-shell-ready:not(#pt-skin) .pt-rh{grid-template-columns:90px 1fr 90px;gap:10px;padding:14px}
  html body.pt-shell-ready:not(#pt-skin) .pt-rh-logo img{max-width:90px;max-height:40px}
}

/* =========================================================
   PRINTED PAGES — branded header added by profitech-ui.js
========================================================= */
html body:not(#pt-skin) .pt-print-brand{display:none!important}
@media print{
  html body:not(#pt-skin) .pt-print-brand{display:grid!important;grid-template-columns:44mm 1fr 44mm;align-items:center;gap:6mm;
    margin:0 0 6mm!important;padding:0 0 4mm!important;border:0!important;border-bottom:.6mm solid #0f5c46!important;background:none!important;box-shadow:none!important}
  html body:not(#pt-skin) .pt-print-brand .ppb-logo{height:16mm;display:flex;align-items:center}
  html body:not(#pt-skin) .pt-print-brand .ppb-company{justify-content:flex-start}
  html body:not(#pt-skin) .pt-print-brand .ppb-profitech{justify-content:flex-end}
  html body:not(#pt-skin) .pt-print-brand img{max-height:16mm;max-width:44mm;object-fit:contain}
  html body:not(#pt-skin) .pt-print-brand .ppb-center{text-align:center}
  html body:not(#pt-skin) .pt-print-brand h1{font-size:16pt!important;margin:0 0 1mm!important;color:#111!important;background:none!important}
  html body:not(#pt-skin) .pt-print-brand .ppb-co{font-size:10.5pt;font-weight:600;color:#0f5c46!important}
  html body:not(#pt-skin) .pt-print-brand .ppb-meta{font-size:8.5pt;color:#555!important;margin-top:1mm}
  html body:not(#pt-skin) .pt-print-brand .ppb-co-text{font-size:10pt;font-weight:600;color:#111!important}
  html body.pt-printing-branded:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.f43hero,[class$="hero"],[class*="hero "]){display:none!important}
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:1100px){
  html body.pt-shell-ready:not(#pt-skin){--sk-side:0px;--sk-side-w:min(300px,88vw)}
  html body.pt-shell-ready:not(#pt-skin) .pt-sidebar{box-shadow:var(--sk-shadow-pop)!important}
  html body.pt-shell-ready:not(#pt-skin) .pt-appbar{right:0!important;padding:0 14px!important}
  html body.pt-shell-ready:not(#pt-skin)>:is(main.container,.container,.wrap,.page-container,main){width:calc(100% - 28px)!important;margin:16px auto 90px!important}
  html.pt-shell-pending body:not(.pt-shell-ready){padding-right:0!important}
  html.pt-shell-pending body:not(.pt-shell-ready)::before{display:none}
  html.pt-shell-pending body:not(.pt-shell-ready)::after{right:0}
}
@media (max-width:640px){
  html body.pt-shell-ready:not(#pt-skin) h1{font-size:21px!important}
  html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.f43hero,[class$="hero"],[class*="hero "]) {padding:22px 20px!important;border-radius:16px!important}
  html body.pt-shell-ready:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.f43hero,[class$="hero"],[class*="hero "]) h1{font-size:22px!important}
  html body.pt-shell-ready:not(#pt-skin) :is(.box,.panel,.setup-card){padding:16px!important}
  html body.pt-shell-ready:not(#pt-skin) :is(.pt-kpi-grid,.ci-kpis,.stats,.stat-grid,.metrics-grid,.kpi-grid,.sf-kpis,.f43cards){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body.pt-shell-ready:not(#pt-skin) :is(.pt-kpi,.ci-kpi,.stat,.sf-kpi,.kpi,.metric,.f43card,.statx,.ci-hub-kpi,.ops-metric,.ic-stat,.summary-card,.pt-pulse-kpi,.ws-category-kpi,.pos-report-kpi,.p29tile,.total-card)>:is(strong,.value,.v,.num),html body.pt-shell-ready:not(#pt-skin) .stat-value{font-size:19px!important}
  html body.pt-shell-ready:not(#pt-skin) .pt-appbar-company{display:none!important}
}
@media (prefers-reduced-motion:reduce){html body:not(#pt-skin) *{transition:none!important;animation:none!important}}

/* =========================================================
   PRINT
========================================================= */
@media print{
  /* Must match (or exceed) the BASE rule's specificity (html body.pt-shell-ready:not(#pt-skin))
     or the reserved sidebar/header padding-right/padding-top silently wins and every printed
     page/form keeps a dead blank strip on the right and top of the sheet. */
  html body.pt-shell-ready:not(#pt-skin){padding:0!important;margin:0!important;background:#fff!important;min-height:0!important}
  html body:not(#pt-skin){padding:0!important;background:#fff!important}
  html body:not(#pt-skin) :is(.pt-sidebar,.pt-appbar,#pt-global-back-v1795,.pt-table-tools,.no-print){display:none!important}
  html body:not(#pt-skin) :is(.box,.panel,.card,.table-wrap){box-shadow:none!important;border-color:#ccc!important}
  html body:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.f43hero,[class$="hero"],[class*="hero "]){background:#fff!important;color:#000!important;box-shadow:none!important;border:1px solid #ccc!important}
  html body:not(#pt-skin) :is(.pt-exec-hero,.cc-hero,.welcome,.ci-hero,.pt-report-hero,.hero,.f43hero,[class$="hero"],[class*="hero "]) *{color:#000!important}
  html.pt-shell-pending body::before,html.pt-shell-pending body::after{display:none!important}
  html body:not(#pt-skin) *{animation:none!important}
}

/* === Micro-interactions — added by automated routine 2026-11-19 === */
html body.pt-shell-ready:not(#pt-skin) .btn,
html body.pt-shell-ready:not(#pt-skin) .pt-btn,
html body.pt-shell-ready:not(#pt-skin) button:not(.pt-square-btn):not(.pt-quickcreate-btn),
html body.pt-shell-ready:not(#pt-skin) input[type="submit"],
html body.pt-shell-ready:not(#pt-skin) input[type="button"]{
  transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease!important;
  }
  html body.pt-shell-ready:not(#pt-skin) .btn:hover,
  html body.pt-shell-ready:not(#pt-skin) .pt-btn:hover,
  html body.pt-shell-ready:not(#pt-skin) button:not(.pt-square-btn):not(.pt-quickcreate-btn):not(:disabled):hover,
  html body.pt-shell-ready:not(#pt-skin) input[type="submit"]:hover,
  html body.pt-shell-ready:not(#pt-skin) input[type="button"]:hover{
    transform:translateY(-1px);
    }
    html body.pt-shell-ready:not(#pt-skin) .btn:active,
    html body.pt-shell-ready:not(#pt-skin) .pt-btn:active,
    html body.pt-shell-ready:not(#pt-skin) button:not(.pt-square-btn):not(.pt-quickcreate-btn):active{
      transform:translateY(0);
      }

      html body.pt-shell-ready:not(#pt-skin) .card,
      html body.pt-shell-ready:not(#pt-skin) .pt-card,
      html body.pt-shell-ready:not(#pt-skin) .metric-card,
      html body.pt-shell-ready:not(#pt-skin) .summary-card,
      html body.pt-shell-ready:not(#pt-skin) .section-card,
      html body.pt-shell-ready:not(#pt-skin) .filter-card,
      html body.pt-shell-ready:not(#pt-skin) .form-card{
        transition:transform .18s ease,box-shadow .18s ease!important;
        }
        html body.pt-shell-ready:not(#pt-skin) .card:hover,
        html body.pt-shell-ready:not(#pt-skin) .pt-card:hover,
        html body.pt-shell-ready:not(#pt-skin) .metric-card:hover,
        html body.pt-shell-ready:not(#pt-skin) .summary-card:hover{
          transform:translateY(-2px);
            box-shadow:0 10px 26px rgba(16,24,40,.09);
            }

            html body.pt-shell-ready:not(#pt-skin) .pt-nav-item{
              transition:background-color .14s ease,color .14s ease,transform .14s ease!important;
              }
              html body.pt-shell-ready:not(#pt-skin) .pt-nav-item:hover{
                transform:translateX(-2px);
                }

                html body.pt-shell-ready:not(#pt-skin) table tbody tr{
                  transition:background-color .12s ease!important;
                  }

                  @media (prefers-reduced-motion: reduce){
                    html body.pt-shell-ready:not(#pt-skin) .btn,
                      html body.pt-shell-ready:not(#pt-skin) .pt-btn,
                        html body.pt-shell-ready:not(#pt-skin) .card,
                          html body.pt-shell-ready:not(#pt-skin) .pt-card,
                            html body.pt-shell-ready:not(#pt-skin) .pt-nav-item,
                              html body.pt-shell-ready:not(#pt-skin) table tbody tr{
                                  transition:none!important;
                                      transform:none!important;
                                        }
                                        }
                                        