



* {
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }

html,body {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	background-color: var(--pi-bg-sunken, #F7F8F9);
	color: var(--pi-text-default, #172B4D);
	/*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;*/
	overflow: hidden;
}

.z-html p{
	margin:0px;
}

[class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
/*	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;*/
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
@media screen and (min-device-width: 2500px) {
	[class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
		font-size: 15px;
	}
}
@media screen and (max-device-width: 2499px) {
	[class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
		font-size: 14px;
	}
}
@media screen and (max-device-width: 1899px) {
	[class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
		font-size: 13px;
	}
}
@media screen and (max-device-width: 1399px) {
	[class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
		font-size: 12px;
	}
}


.tablet-scrolling {
	-webkit-overflow-scrolling: touch;
}

.mobile [class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
    font-size: 16px;
}

.mobile [class*="z-icon-"]:not([class*="xyz"]), .mobile [class*="z-group-icon-"] {
    font-size: 16px;
}


table.z-vbox > tbody > tr > td > table {
	width: 100%;	
}


.workflow-activity-form {
}
.workflow-panel-table {
	border: 0px;
}


.payment-form-content {
}


/**
 * PiERP Design System — CSS Custom Properties
 * Inspired by the Atlassian Design System (https://atlassian.design)
 *
 * Import this file (or copy the variables into a theme fragment such as
 * theme/dashboard/css/fragment/*.css.dsp) so every screen resolves the
 * same tokens.
 *
 * ⚠️  LIGHT THEME ONLY (current product decision): do not build dark-mode
 * styling in UI changes. The [data-theme="dark"] block below is kept
 * dormant for the future — nothing in the app should set that attribute.
 */

:root {
  /* PiERP is a light-theme product. Declaring this stops the browser / OS
     "auto dark mode" (Chrome's Auto-Dark, forced-colors) from inverting the app -
     which was turning the header wordmark and other assets invisible. */
  color-scheme: light;

  /* ---------- text ---------- */
  --pi-text-default: #172B4D;
  --pi-text-subtle: #44546F;
  --pi-text-subtlest: #626F86;
  --pi-text-disabled: #B3B9C4;
  --pi-text-inverse: #FFFFFF;
  --pi-text-brand: #0C66E4;
  --pi-text-danger: #AE2E24;
  --pi-text-warning: #7F5F01;
  --pi-text-success: #216E4E;
  --pi-text-information: #0055CC;

  /* ---------- background ---------- */
  --pi-bg-default: #FFFFFF;
  --pi-bg-sunken: #F7F8F9;
  --pi-bg-card: #FFFFFF;
  --pi-bg-neutral: #F1F2F4;
  --pi-bg-brand: #0C66E4;
  --pi-bg-brand-hover: #0055CC;
  --pi-bg-selected: #E9F2FF;
  --pi-bg-selected-bold: #CCE0FF;
  --pi-bg-section-header: #E6F1FB;
  --pi-bg-section-header-hover: #B5D4F4;
  --pi-text-section-header: #0C447C;
  --pi-bg-danger: #FFECEB;
  --pi-bg-danger-bold: #C9372C;     /* ADS danger bold fill (Emergency / hold failed lozenge); --pi-text-inverse on it is 5.2:1 */
  --pi-bg-warning: #FFF7D6;
  --pi-bg-warning-bold: #F5CD47;       /* ADS warning button fill; --pi-text-default on it is 9.2:1 */
  --pi-bg-warning-bold-hover: #E2B203; /* hover; --pi-text-default on it is 7.1:1 */
  --pi-bg-success: #DCFFF1;
  --pi-bg-hover: #F1F2F4;
  --pi-bg-blanket: #091E427D;       /* ADS color.blanket: dims the page behind a modal or while a window opens */
  --pi-bg-discovery: #F3F0FF;       /* light lavender — AI / "discovery" surfaces (ADS) */
  --pi-border-discovery: #DFD8FD;   /* == --pi-avatar-1-bg, purple hairline */
  --pi-text-discovery: #5E4DB2;     /* == --pi-avatar-1-text, purple label */
  --pi-bg-discovery-bold: #6E5DC6;  /* ADS discovery bold fill ("New" lozenge); --pi-text-inverse on it is 5.2:1 */

  /* ---------- border ---------- */
  --pi-border-default: #B3B9C4;
  --pi-border-bold: #758195;        /* ADS border.bold - dashed "not started" outline; 4.0:1 on white */
  --pi-border-subtle: #DCDFE4;
  --pi-border-hairline: #EBECF0; /* grid lines (e.g. calendar) */
  --pi-border-grid: #C1C7D0;
  --pi-border-focused: #388BFF;
  --pi-focus-ring-width: 2px;   /* ADS focus ring: 2px --pi-border-focused, offset 2px (PA-507) */
  --pi-focus-ring-offset: 2px;
  --pi-border-selected: #0C66E4;
  --pi-border-danger: #E2483D;
  --pi-border-warning: #E56910;   /* ADS border.warning - a held row's edge in the grid; 3.3:1 on white */

  /* ---------- icon / link ---------- */
  --pi-icon-default: #44546F;
  --pi-icon-subtle: #626F86;
  --pi-icon-brand: #0C66E4;
  /* Status icon tints. The --pi-text-* equivalents are tuned for 4.5:1 body text and
     read muddy on a 32px glyph; these are the ADS icon values, >=3:1 on white. */
  --pi-icon-warning: #E56910;
  --pi-icon-danger: #C9372C;
  --pi-link-default: #0C66E4;
  --pi-link-hover: #0055CC;

  /* ---------- navigation (always dark) ---------- */
  --pi-nav-bg: #091E42;
  --pi-nav-item-hover: rgba(255, 255, 255, 0.08);
  --pi-nav-item-active: #0C66E4;
  --pi-nav-item-active-bg: #E9F2FF;
  --pi-nav-text: #DCDFE4;
  --pi-nav-text-hover: #FFFFFF;
  --pi-nav-icon: #8590A2;
  --pi-nav-icon-hover: #F1F2F4;

  /* ---------- charts ---------- */
  --pi-chart-1: #1D7AFC;
  --pi-chart-2: #37B4C3;
  --pi-chart-3: #8F7EE7;
  --pi-chart-4: #FAA53D;
  --pi-chart-5: #2ABB7F;
  --pi-chart-6: #E2B203;
  --pi-chart-7: #F15B50;
  --pi-chart-8: #8590A2;
  /* PUX Calendar board event colours (PA-502): the 8 calendar tones pair a
     --pi-chart-* stripe with a soft fill; teal and magenta had no ADS fill/stripe yet. */
  --pi-chart-magenta: #E774BB;           /* ADS accent magenta — decorative stripe, like --pi-chart-*; text sits on the fill */
  --pi-bg-accent-teal-subtlest: #E7F9FF; /* ADS accent teal subtlest — event fill */
  --pi-bg-accent-magenta-subtlest: #FFECF8; /* ADS accent magenta subtlest — event fill */
  --pi-chart-positive: #22A06B;
  --pi-chart-negative: #E2483D;
  --pi-chart-track: #ECEDF0;

  /* ---------- typography ---------- */
  --pi-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  --pi-font-mono: 'SFMono-Medium', 'SF Mono', 'Segoe UI Mono', 'Roboto Mono',
    Menlo, Consolas, Courier, monospace;

  /* ---------- font sizes (the type ramp — edit here to re-scale typography) ---------- */
  --pi-font-size-50:     11px;  /* labels / eyebrows / badges */
  --pi-font-size-75:     12px;  /* card titles / small body */
  --pi-font-size-100:    13px;  /* meta / links */
  --pi-font-size-200:    14px;  /* body / primary row text */
  --pi-font-size-300:    16px;
  --pi-font-size-400:    20px;  /* sub-heading */
  --pi-font-size-500:    24px;  /* page heading (login / role selection) */
  --pi-font-size-metric: 24px;  /* KPI numbers */

  /* ---------- font weights ---------- */
  --pi-font-weight-regular:  400;
  --pi-font-weight-medium:   500;
  --pi-font-weight-semibold: 600;
  --pi-font-weight-bold:     700;

  /* ---------- line heights ---------- */
  --pi-line-height-tight: 1.2;
  --pi-line-height-snug:  1.3;
  --pi-line-height-base:  1.4;

  /* ---------- spacing (8px grid) ---------- */
  --pi-space-25: 2px;
  --pi-space-50: 4px;
  --pi-space-75: 6px;
  --pi-space-100: 8px;
  --pi-space-150: 12px;
  --pi-space-200: 16px;
  --pi-space-250: 20px;
  --pi-space-300: 24px;
  --pi-space-400: 32px;
  --pi-space-600: 48px;
  --pi-space-800: 64px;

  /* ---------- sizes ---------- */
  /* image upload tiles in forms (PA-503): one standard size so every tenant / role
     sees the same boxes - wide (logo, product image) and square (icon / favicon),
     like the brand-settings uploads of Shopify / Zendesk / Slack / Webflow */
  --pi-size-image-preview: 112px;
  --pi-size-image-preview-wide: 280px;
  /* tenant logo slots: same box for every tenant, logo contained inside (PA-503) */
  --pi-size-logo-header: 32px;
  --pi-size-logo-header-max-width: 200px;
  --pi-size-logo-login: 48px;
  --pi-size-logo-login-max-width: 280px;
  /* form fields (PA-624): every field you type into or pick from (text, dropdown, lookup)
     is one width; date and number fields share one compact width. Window forms and
     report / process parameter screens alike. */
  --pi-size-field-max: 460px;
  --pi-size-field-compact: 200px;
  --pi-size-field-datetime: 340px;  /* a date + time pair (two boxes side by side) */

  /* ---------- responsive (tablet / mobile only) ----------
     Breakpoints (ADS): phone < 480, mobile < 768, tablet 768-1023, desktop >= 1024.
     CSS variables cannot be used inside @media / @container conditions, so the
     breakpoint widths are fixed in fragment/responsive.css.dsp and documented in
     design-system/UI_STANDARD.md ("Responsive"). Desktop (>= 1024) is never restyled. */
  --pi-size-toolbar-query-min: 160px;   /* saved-query box when the window toolbar wraps */
  --pi-size-card-min: 400px;            /* narrowest readable dashboard card before it wraps */

  /* ---------- elevation ---------- */
  --pi-shadow-raised: 0px 1px 1px rgba(9, 30, 66, 0.25),
    0px 0px 1px rgba(9, 30, 66, 0.31);
  --pi-shadow-overlay: 0px 8px 12px rgba(9, 30, 66, 0.15),
    0px 0px 1px rgba(9, 30, 66, 0.31);
  --pi-shadow-modal: 0px 20px 32px -8px rgba(9, 30, 66, 0.25),
    0px 0px 1px rgba(9, 30, 66, 0.31);

  /* ---------- radius ---------- */
  --pi-radius-sm: 3px;
  --pi-radius-md: 4px;
  --pi-radius-lg: 8px;
  --pi-radius-xl: 12px;
  --pi-radius-full: 9999px;

  /* ---------- Modal widths (ADS modal dialog sizes) ---------- */
  --pi-modal-width-small:  400px;   /* message boxes — error / warning / confirm (PA-590) */
  --pi-modal-width-medium: 600px;   /* form dialogs — PiEdge Firmware Update / Push Schema */
  --pi-modal-width-large:  800px;   /* table dialogs — PiEdge Firmware Deployment History */

  /* ---------- motion ---------- */
  --pi-duration-fast: 100ms;
  --pi-duration-normal: 200ms;
  --pi-duration-slow: 350ms;
  --pi-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --pi-ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --pi-ease-accelerate: cubic-bezier(0.4, 0, 1, 1);

  /* ---------- z-index ---------- */
  --pi-z-sticky: 100;
  --pi-z-nav: 200;
  --pi-z-dialog: 300;
  --pi-z-dropdown: 400;
  --pi-z-blanket: 500;
  --pi-z-modal: 510;
  --pi-z-flag: 600;
  --pi-z-spotlight: 700;
  --pi-z-tooltip: 800;

  /* ==========================================================================
     MRO semantic status  —  LIGHT THEME ONLY
     --------------------------------------------------------------------------
     Status / severity / priority colours for the MRO command-center boards.
     Values are taken verbatim from the widgets' inline hex so the rendered
     look is preserved exactly. Tokens marked "== existing" are NOT re-declared
     here (they reuse the canonical token above); only the genuinely-new ones
     live in this group.  See design-system/MRO_TOKENIZE_PLAN.md §1.
     ========================================================================== */

  /* ---------- status: severity ---------- */
  --pi-sev-emergency-text:  #DE350B;
  --pi-sev-emergency-bg:    #FFEBE6;
  --pi-sev-critical-text:   #FF8B00;
  --pi-sev-critical-bg:     #FFFAE6;
  --pi-sev-warning-text:    #946F00;
  --pi-sev-warning-bg:      #FFF7D6;   /* == --pi-bg-warning; aliased for intent clarity */
  --pi-sev-neutral-text:    #626F86;   /* == --pi-text-subtlest (default/null severity) */
  --pi-sev-neutral-bg:      #F4F5F7;   /* NEW neutral surface, see misc group */

  /* ---------- status: WO priority ---------- */
  --pi-prio-critical-text:  #DE350B;
  --pi-prio-high-text:      #FF8B00;
  --pi-prio-medium-text:    #FF991F;
  --pi-prio-low-text:       #216E4E;   /* == --pi-text-success */

  /* ---------- status: WO status ---------- */
  --pi-wos-draft-text:            #626F86;   /* == --pi-text-subtlest */
  --pi-wos-assigned-text:         #1D7F8C;
  --pi-wos-in-progress-text:      #0C66E4;   /* == --pi-link-default */
  --pi-wos-waiting-parts-text:    #946F00;   /* == --pi-sev-warning-text */
  --pi-wos-waiting-approval-text: #6E5DC6;
  --pi-wos-completed-text:        #1F845A;
  --pi-wos-overdue-text:          #AE2E24;   /* == --pi-text-danger */
  --pi-wos-overdue-bg:            #FFD5D2;

  /* ---------- status: technician load ---------- */
  --pi-load-overloaded-text: #DE350B;
  --pi-load-overloaded-bg:   #FFEBE6;
  --pi-load-busy-text:       #FF8B00;
  --pi-load-busy-bg:         #FFF7D6;   /* == --pi-bg-warning */
  --pi-load-available-text:  #006644;
  --pi-load-available-bg:    #E3FCEF;

  /* ---------- status: health score ---------- */
  --pi-health-low-text:    #DE350B;   /* score < 40 */
  --pi-health-mid-text:    #FF8B00;   /* 40 <= score < 70 */
  --pi-health-good-text:   #216E4E;   /* score >= 70 ; == --pi-text-success */

  /* ---------- avatars (5-cycle, positional) ---------- */
  --pi-avatar-0-bg: #C2D4FF;  --pi-avatar-0-text: #0055CC;
  --pi-avatar-1-bg: #DFD8FD;  --pi-avatar-1-text: #5E4DB2;
  --pi-avatar-2-bg: #BAF3DB;  --pi-avatar-2-text: #216E4E;
  --pi-avatar-3-bg: #F8E6A0;  --pi-avatar-3-text: #7F5F01;
  --pi-avatar-4-bg: #FFD5D2;  --pi-avatar-4-text: #AE2E24;

  /* ---------- misc MRO surfaces ---------- */
  --pi-status-danger-bold:   #DE350B;  /* bright danger icon/number/days-overdue */
  --pi-status-success-bold:  #216E4E;  /* == --pi-text-success (check glyph) */
  --pi-bg-surface-soft:      #F4F5F7;  /* neutral pill bg, row hairline, sunken tile alt */
  --pi-border-hairline-soft: #F4F5F7;  /* 1px row dividers inside widgets */
  --pi-border-hairline-2:    #F1F2F4;  /* footer top-border variant */
  --pi-overdue-aging-text:   #EF5C48;  /* Emergency WO Aging metric */
  --pi-overdue-pm-text:      #E8912D;  /* PM Overdue metric */
  --pi-overdue-insp-text:    #6554C0;  /* Inspection Overdue metric */
  --pi-progress-track-2:     #DFE1E6;  /* backlog bar track */
  --pi-progress-fill-info:   #0C66E4;  /* == --pi-link-default (info progress fill) */
  --pi-job-count-text:       #44546F;  /* == --pi-text-subtle (tech "N jobs") */
  --pi-radius-badge:         6px;      /* date-badge corner (no existing 6px token) */

  /* ==========================================================================
     react / sidebar extended palette  —  LIGHT THEME ONLY
     --------------------------------------------------------------------------
     Extended raw colours for the login screen, React sidebar/menu, ZK widget
     chrome, Atlassian-style overlays, status badges and assorted widget
     surfaces. Values are taken verbatim from the source markup/CSS so the
     rendered look is preserved exactly. None of these duplicate a token
     declared above.
     ========================================================================== */

  /* ---------- login screen ---------- */
  --pi-login-brand:         #2563eb;                 /* Login screen primary blue. Distinct from #0c66e4 — not collapsed. */
  --pi-login-brand-overlay: rgba(37, 99, 235, 0.10); /* Login input :focus tint of #2563eb. */
  --pi-grey-e5:             #e5e5e5;                 /* login logo box bg */
  --pi-slate-081735:        #081735;                 /* deep navy label/metric text (login + widgets) */
  --pi-slate-94a3b8:        #94a3b8;                 /* login input placeholder grey */

  /* ---------- slate / muted text ---------- */
  --pi-slate-64748b:        #64748b;                 /* tailwind slate-500 (copyright, dialog span, checkbox borders) */
  --pi-slate-8f95b2:        #8f95b2;                 /* muted slate (window text, occupancy, datebox) */

  /* ---------- ZK widget chrome ---------- */
  --pi-white-keyword:       white;                   /* ZK modal/highlight bg keyword (literal 'white') */
  --pi-zk-484848:           #484848;                 /* ZK window-header dark bg/border */
  --pi-zk-f5f5f5:           #f5f5f5;                 /* ZK overlapped window content bg */
  --pi-zk-252525:           #252525;                 /* readonly input text */
  --pi-zk-f7f7f7:           #f7f7f7;                 /* recordid toolbarbutton bg */
  --pi-zk-cfcfcf:           #cfcfcf;                 /* recordid toolbarbutton border */
  --pi-zk-fdfdfd:           #fdfdfd;                 /* window-header near-white text */
  --pi-zk-262626:           #262626;                 /* panel/caption header text */
  --pi-blue-0000ff:         #0000ff;                 /* checkbox :focus outline (pure blue) */
  --pi-blue-keyword:        blue;                    /* listbox header bg keyword (legacy) */

  /* ---------- menu / search ---------- */
  --pi-grey-333:            #333;                     /* menu-href text/icon */
  --pi-grey-ababab:         #ababab;                 /* menu search toggle border */
  --pi-grey-999999:         #999999;                 /* menu search toggle-on bg */
  --pi-shadow-black-30:     rgba(0, 0, 0, 0.3);      /* menu search toggle-on shadow */
  --pi-border-input:        #dfe1e6;                 /* search box / header border */

  /* ---------- Atlassian overlays / avatar shadows ---------- */
  --pi-overlay-091e420f:    #091e420f;               /* Atlassian hover overlay (6% navy, 8-digit hex) */
  --pi-overlay-091e4224:    #091e4224;               /* Atlassian active overlay (14% navy, 8-digit hex) */
  --pi-overlay-091e4214:    #091e4214;               /* Atlassian avatar-hover overlay (8-digit hex) */
  --pi-shadow-navy-20:      rgba(9,30,66,0.20);      /* avatar shadow */
  --pi-shadow-white-12:     rgba(255,255,255,0.12);  /* avatar inset highlight */
  --pi-shadow-navy-25:      rgba(9,30,66,0.25);      /* raised/overlay shadow stop (no-space variant of --pi-shadow-raised stop) */
  --pi-shadow-navy-31:      rgba(9,30,66,0.31);      /* raised/overlay shadow second stop (no-space variant) */
  --pi-shadow-navy-08:      rgba(9, 30, 66, 0.08);   /* help-drawer shadow */

  /* ---------- sidebar / toolbar surfaces ---------- */
  --pi-star-ffab00:         #ffab00;                 /* favourite star icon */
  --pi-grey-c5c5c5:         #c5c5c5;                 /* right-column / menu-toolbar border */
  --pi-grey-e4e4e4:         #e4e4e4;                 /* right-column bg */
  --pi-grey-ddd:            #ddd;                     /* tab hover content bg */
  --pi-grey-ccc:            #ccc;                     /* tab hover box-shadow */
  --pi-navy-28303f:         #28303f;                 /* header button / recent-items icon text */

  /* ---------- listbox / listitem surfaces ---------- */
  --pi-bg-f1f5f9:           #f1f5f9;                 /* listbox-odd row bg (tailwind slate-100) */
  --pi-bg-bbdefb:           #bbdefb;                 /* selected listitem bg (material blue-100) */
  --pi-bg-f8f8f8:           #f8f8f8;                 /* checkable header/checkbox bg */
  --pi-accent-2184ba:       #2184ba;                 /* checked listheader/listitem icon */
  --pi-black:               #000000;                 /* caption label / lables-count text */
  --pi-text-758195:         #758195;                 /* tab-button text / cancelled badge text */
  --pi-text-6b778c:         #6b778c;                 /* caption label text */

  /* ---------- performance / fav tree ---------- */
  --pi-grey-eee:            #eee;                     /* performance-indicator-box bg */
  --pi-grey-d8d8d8:         #d8d8d8;                 /* performance-indicator-box border */
  --pi-grey-c8c8c8:         #c8c8c8;                 /* performance-indicator-title bg/border */
  --pi-grey-6d6d6d:         #6d6d6d;                 /* fav-tree-btn border */
  --pi-red-c62223:          #c62223;                 /* fill-mandatory text */
  --pi-red-c9372c:          #c9372c;                 /* danger button / rejected badge */

  /* ---------- fav / recent / stock surfaces ---------- */
  --pi-bg-e2e8f0:           #e2e8f0;                 /* fav/recent toolbar bg (tailwind slate-200) */
  --pi-bg-e5f4fb:           #e5f4fb;                 /* recent-items highlighted node bg */
  --pi-bg-f8fafc:           #f8fafc;                 /* stock-check container bg (tailwind slate-50) */
  --pi-overlay-091e4204:    rgba(9,30,66,0.04);      /* calendar date hover bg */
  --pi-bg-f0f4ff:           #f0f4ff;                 /* donate-hero gradient stop */

  /* ---------- status badges ---------- */
  --pi-badge-approved-bg:   #e3fafc;                 /* approved badge bg */
  --pi-badge-escalated-bg:  #fff3eb;                 /* escalated badge bg */
  --pi-badge-escalated-text: #b65c02;                /* escalated badge text */

  /* ---------- widget accent borders/bg ---------- */
  --pi-border-cabdff:       #cabdff;                 /* widget purple border */
  --pi-bg-cabdf:            #cabdf;                  /* widget purple bg — 5-digit hex kept verbatim as authored */
  --pi-border-b1e5fc:       #b1e5fc;                 /* widget light-blue border/bg */
  --pi-border-ffbc99:       #ffbc99;                 /* widget orange border/bg */
}

/* ============== dark theme — DEFERRED, do not use ==============
   Kept for future scalability only. No screen sets data-theme="dark"
   today and no UI change may add dark-mode rules. */
[data-theme='dark'] {
  --pi-text-default: #B6C2CF;
  --pi-text-subtle: #8C9BAB;
  --pi-text-subtlest: #596773;
  --pi-text-disabled: #3B4A57;
  --pi-text-inverse: #1D2125;
  --pi-text-brand: #579DFF;
  --pi-text-danger: #FF9C8F;
  --pi-text-warning: #F5CD47;
  --pi-text-success: #7EE2B8;
  --pi-text-information: #85B8FF;

  --pi-bg-default: #1D2125;
  --pi-bg-sunken: #161A1D;
  --pi-bg-card: #22272B;
  --pi-bg-neutral: #2C333A;
  --pi-bg-brand: #579DFF;
  --pi-bg-brand-hover: #85B8FF;
  --pi-bg-selected: #092957;
  --pi-bg-danger: #42221F;
  --pi-bg-warning: #3D2E00;
  --pi-bg-success: #133527;
  --pi-bg-hover: #2C333A;

  --pi-border-default: #3B4A57;
  --pi-border-bold: #738496;
  --pi-border-subtle: #2C333A;
  --pi-border-hairline: #2C333A;
  --pi-border-focused: #579DFF;
  --pi-border-selected: #579DFF;
  --pi-border-warning: #F38A3F;

  --pi-icon-default: #8C9BAB;
  --pi-icon-subtle: #596773;
  --pi-icon-brand: #579DFF;
  --pi-link-default: #579DFF;
  --pi-link-hover: #85B8FF;
}

/* Respect user motion preferences globally */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}





.desktop-header-left {
	/*
	margin: 0;
	margin-left: 1px;
	margin-top: 1px;
	background-color: transparent !important; 
	border: none !important;
	*/	
}

.desktop-header-right {
	margin: 0;
	margin-top: 1px;
	padding-right: 1px;
	background-color: transparent !important; 
	border: none !important;
}

.desktop-header {
	/* height, bg, border controlled by topnav.css.dsp */
	width: 100%;
	padding-left: 0;
}

.desktop-header.mobile {
	height: 36px;
	padding: var(--pi-space-50) var(--pi-space-50);
}

.desktop-header-font {
	font-size: 10px;
}

.desktop-header-popup {
	width: 800px;
	border-radius: 2px; /* no-token: custom popup radius */
	border: 1px solid var(--pi-border-subtle);
	border-right: 2px solid var(--pi-border-subtle);
	border-bottom-width: 2px;
	right: 1px;
}

.desktop-header-popup .desktop-header {
	border: none;
	height: 100% !important;
}

.desktop-user-panel {
	/* layout controlled by topnav.css.dsp */
}

.desktop-user-panel.mobile .desktop-header-font.desktop-header-username {
	font-weight: 300;
	clear: both;
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
}

.desktop-layout {
	position: absolute;
	border: none;
	background-color: var(--pi-bg-sunken);
}

.desktop-tabbox {
	padding-top: 0px; 
	background-color: var(--pi-bg-default);
}

.desktop-tabbox .z-tabs-content {
	background: var(--pi-bg-default);
	padding-left: var(--pi-space-400);
	font-family: var(--pi-font-family);
}

.desktop-tabbox .z-tab {
	font-family: var(--pi-font-family);
}

@media screen and (max-width: 360px) {
	.desktop-tabbox .z-tab {
		max-width: 190px;
	}
}

.desktop-tabbox .z-tab-selected {
	border-bottom: 2px solid var(--pi-text-brand) !important;	
	border-top: none;	
	border-right: none;	
	border-left: none;	
}

.desktop-tabbox .z-tab-selected .z-tab-text {
	padding-bottom: 0px;
	color: var(--pi-text-brand) !important;	
	background: var(--pi-bg-default);
	font-weight: 600;
	font-size: 14px;
}

.desktop-tabbox .z-tab .z-tab-text {
	color: var(--pi-text-subtlest);
	font-weight: 500;
	font-size: 14px;
}

.desktop-tabbox .z-tab-button {	
	background: var(--pi-bg-default);
}

.desktop-tabbox .z-tab-selected .z-tab-button {
	color: var(--pi-text-brand) !important;
}

.desktop-tabbox > .z-tabpanels {
	flex-grow: 1 1 0;
}

.desktop-north {
	/* height controlled by topnav.css.dsp */
}

.desktop-north-include {
	display: flex !important;
	align-items: center !important;
}

.desktop-center {
	border: none;
}

.desktop-center .z-tab {
	background: var(--pi-bg-default);
	border-top: none;
	border-right: none;
	border-left: none;
	border-bottom: 1px solid var(--pi-bg-surface-soft, #F4F5F7); /* no-token: between --pi-bg-neutral and --pi-bg-sunken */
	height: var(--pi-space-400);
	font-family: var(--pi-font-family);
}

.desktop-center .z-tab .z-tab-text {
	color: var(--pi-text-subtlest);
	font-weight: 600;
	font-size: 14px;
	background: var(--pi-bg-default);
}

.desktop-tabpanel {
	margin: 0;
	padding: 0;
	border: 0;
	position: relative !important;
	background-color: var(--pi-bg-default);
}

.desktop-left-column {
	width: 240px;
	border: none;
	border-right: 1px solid var(--pi-border-subtle);
	background-color: var(--pi-bg-default);
	position: relative;
}

.menu-look-up {
	display: flex;
}

.desktop-right-column {
	width: 200px;
	border: none;
	border-left: 1px solid var(--pi-grey-c5c5c5, #C5C5C5); /* no-token: --pi-border-default (#B3B9C4) closest */
	background-color: var(--pi-grey-e4e4e4, #E4E4E4); /* no-token: --pi-bg-neutral (#F1F2F4) closest */
	padding-top: var(--pi-space-25); 
}

.desktop-left-column + .z-west-splitter, .desktop-left-column.z-west {
	border-top: none;
	background: var(--pi-bg-default) !important;
	border-right: 1px solid var(--pi-border-subtle);
}

.desktop-right-column + .z-east-splitter, .desktop-right-column.z-east {
	border-top: none;
	border-left: none;
	display: none !important; /* hidden — drawer managed via CSS classes */
}

.desktop-left-column .z-west-body {
	border-right: none;
}

.desktop-right-column .z-east-body {
	border-left: none;
}

.desktop-layout > div > .z-west-collapsed, .desktop-layout > div > .z-east-collapsed {
	border-top: none;
}

.desktop-left-column .z-anchorlayout, .desktop-right-column .z-anchorlayout {
	overflow-x: hidden;
}

.z-anchorlayout { overflow: auto; }
 
.z-anchorchildren { overflow: visible; }

.desktop-hometab {
}

.desktop-tabbox .z-tabs .z-toolbar-tabs-body {
	padding: 0px !important;
	margin: 0px !important;
}

.desktop-tabbox .z-tabs .z-toolbar-tabs-body .z-toolbarbutton {
	padding: 0px !important;
	border: 1px solid transparent !important;
	margin: 0px !important;
}

.desktop-tabbox .z-tabs .z-toolbar-tabs .z-toolbarbutton-hover {
	border: none !important;
	padding: 0px !important;
	margin: 0px !important;
}

.desktop-tabbox .z-tabs .z-toolbar-tabs .z-toolbarbutton-hover .z-toolbarbutton-content {
	background-image: none !important;
	background-color: var(--pi-grey-ddd, #DDD) !important; /* no-token: --pi-bg-neutral (#F1F2F4) closest */
	padding: 0px !important;
	margin: 0px !important;
	-webkit-box-shadow: inset 0px 0px 3px var(--pi-grey-ccc, #CCC); /* no-token: legacy shadow */
	-moz-box-shadow: inset 0px 0px 3px var(--pi-grey-ccc, #CCC);
	-o-box-shadow: inset 0px 0px 3px var(--pi-grey-ccc, #CCC);
	-ms-box-shadow: inset 0px 0px 3px var(--pi-grey-ccc, #CCC);
	box-shadow: inset 0px 0px 3px var(--pi-grey-ccc, #CCC);
}

.desktop-menu-popup {
	z-index: 9999;
	background-color: var(--pi-bg-default);
}

.desktop-menu-toolbar {
	background-color: var(--pi-bg-default); 
	verticle-align: middle; 
	padding: var(--pi-space-25);
	border-top: 1px solid var(--pi-grey-c5c5c5, #c5c5c5); /* no-token: --pi-border-default (#B3B9C4) closest */
}

.desktop-home-tabpanel {
	background-color: var(--pi-bg-sunken);
	width: 100% !important;
}

.desktop-home-tabpanel.z-tabpanel {
	border: none;
}

.link {
	cursor: pointer;
	padding: 2px 2px var(--pi-space-50) var(--pi-space-50);
	border: none !important;
}

.link.z-toolbarbutton:hover {
	border: none !important;
	background-image: none !important;
	text-decoration: none !important;
}

.link.z-toolbarbutton:hover span {
	color: var(--pi-text-brand);
}

.desktop-home-tabpanel .z-panel-head {
	background-color: var(--pi-bg-default);
}


.window-container-toolbar-btn.z-toolbarbutton .z-toolbarbutton-content img {
	width: var(--pi-space-200);
	height: var(--pi-space-200);
	padding: var(--pi-radius-sm) var(--pi-radius-sm);
}

.window-container-toolbar-btn.z-toolbarbutton .z-toolbarbutton-content [class^="z-icon"] {
	width: 22px;
	height: 22px;
	padding: var(--pi-radius-sm) var(--pi-radius-sm);
}

.window-container-toolbar.z-toolbar.z-toolbar-tabs {
	background: none;
}

.window-container-toolbar > .z-toolbar-content,
.window-container-toolbar-btn.z-toolbarbutton, 
.window-container-toolbar-btn.z-toolbarbutton .z-toolbarbutton-content,
.window-container-toolbar-btn.z-toolbarbutton .z-toolbarbutton-content [class^="z-icon"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-bottom: 0px; 
}

.user-panel-popup .z-popup-content {
	padding-left: 0px;
	padding-right: 0px;
}

.user-panel-popup .z-popup-content > .z-vlayout {
	overflow-x: auto;
	padding: var(--pi-space-100);
}

.z-menuitem.selected .z-menuitem-text {
	font-weight: bold;
}

.window-container-toolbar-btn.tab-list {
	font-size: smaller;
	padding-right: var(--pi-space-75);
}

.window-container-toolbar-btn.tab-list i {
	padding-right: 0px;
	margin-right: -4px;
	font-size: larger;
}



.desktop-header-left .z-button {
	background: none;
	border: none;
}

.desktop-header-left .z-button i {
	color: var(--pi-navy-28303f, #28303F); /* no-token: --pi-text-default (#172B4D) closest */
}

.desktop-header-left .z-image {
	margin-left: 0;
}



.desktop-tabpanel .z-listbox-header {
	background: var(--pi-blue-keyword, blue); /* no-token: custom header color */
}

.desktop-tabpanel table tr th {
	border: none;
	background: var(--pi-blue-keyword, blue); /* no-token: custom header color */
}

.desktop-tabpanel table tr th .z-listheader-content {
	color: var(--pi-text-inverse) !important;
}

.desktop-tabpanel table .z-listbox-odd {
	background: var(--pi-bg-f1f5f9, #F1F5F9); /* no-token: --pi-bg-neutral (#F1F2F4) closest */
}

.desktop-tabpanel table .z-listitem-selected {
	background: var(--pi-bg-bbdefb, #bbdefb); /* no-token: --pi-bg-selected (#E9F2FF) closest */
}

.desktop-tabpanel table tr td {
	background: inherit !important;
}

.z-listheader-checkable {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 1px solid var(--pi-slate-64748b, #64748B); /* no-token: --pi-text-subtlest (#626F86) closest */
	border-radius: var(--pi-radius-md);
	background: var(--pi-bg-f8f8f8, #F8F8F8); /* no-token: --pi-bg-sunken (#F7F8F9) closest */
	vertical-align: text-top;
}

.z-listitem-checkbox {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 1px solid var(--pi-slate-64748b, #64748B); /* no-token: --pi-text-subtlest (#626F86) closest */
	border-radius: var(--pi-radius-md);
	background: var(--pi-bg-f8f8f8, #F8F8F8); /* no-token: --pi-bg-sunken (#F7F8F9) closest */
	vertical-align: text-top;
}

.z-listheader-checkable.z-listheader-checked .z-listheader-icon {
	color: var(--pi-text-brand, #0C66E4);
	display: block;
	padding-top: var(--pi-space-25);
	line-height: 14px;
}

.z-listitem-selected > .z-listcell > .z-listcell-content > .z-listitem-checkable .z-listitem-icon {
	color: var(--pi-text-brand, #0C66E4);
	display: block;
	padding-top: var(--pi-space-25);
	line-height: 14px;
}

.number-box .editor-input {
	padding-right: 36px;
}

.z-caption-label {
	color: var(--pi-black, #000000); /* no-token: --pi-text-default (#172B4D) closest */
	font-family: var(--pi-font-family);
	font-weight: 400;
}





.desktop-tabbox {
  background: var(--pi-bg-default, #FFFFFF) !important;
  border-bottom: 1px solid var(--pi-border-hairline, #EBECF0) !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.desktop-tabbox .z-tabs-content {
  background: var(--pi-bg-default, #FFFFFF) !important;
  padding: 0 16px !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  height: 40px !important;
  gap: 0 !important;
}


.desktop-tabbox .z-tab {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  transition: border-color 100ms ease, background 100ms ease !important;
  cursor: pointer;
  margin: 0 !important;
  overflow: visible !important;
  vertical-align: top !important;
}


.desktop-tabbox .z-tab .z-tab-content,
.z-tabbox .z-tab .z-tab-content,
.z-tab .z-tab-content {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  height: 40px !important;
  padding: 0 16px !important;
}

.desktop-tabbox .z-tab .z-tab-button,
.z-tabbox .z-tab .z-tab-button,
.z-tab .z-tab-button {
  position: absolute !important;
  right: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: auto !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  color: var(--pi-text-subtle, #44546F) !important;
  font-size: 14px !important;
}

.desktop-tabbox .z-tab .z-tab-button:hover,
.z-tab .z-tab-button:hover {
  background: var(--pi-bg-neutral, #F1F2F4) !important;
  color: var(--pi-text-default, #172B4D) !important;
}


.desktop-tabbox .z-tab-selected .z-tab-button,
.z-tab-selected .z-tab-button {
  color: var(--pi-text-brand, #0C66E4) !important;
}


.desktop-tabbox .z-tab .z-tab-icon,
.z-tabbox .z-tab .z-tab-icon,
.z-tab .z-tab-icon,
.z-tab-icon,
.z-tab-button > .z-icon-times.z-tab-icon {
  float: none !important;
  position: static !important;
  top: auto !important;
  margin-top: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: inherit !important;
  font-size: 12px !important;
}

.desktop-tabbox .z-tab .z-tab-button > .z-icon-times.z-tab-icon,
.z-tabbox .z-tab .z-tab-button > .z-icon-times.z-tab-icon,
.z-tab .z-tab-button > .z-icon-times.z-tab-icon {
  width: 24px !important;
  height: 24px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
}



.desktop-tabbox .z-tab:hover {
  background: var(--pi-bg-neutral, #F1F2F4) !important;
}


.desktop-tabbox .z-tab .z-tab-text {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--pi-text-subtle, #44546F) !important;
  background: transparent !important;
  padding: 0 32px 0 0 !important;
  margin: 0 !important;
  line-height: 20px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 220px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  order: -1 !important;
}


.desktop-tabbox .z-tab-selected {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid var(--pi-text-brand, #0C66E4) !important;
  border-radius: 0 !important;
}

.desktop-tabbox .z-tab-selected .z-tab-text {
  font-weight: 600 !important;
  color: var(--pi-text-brand, #0C66E4) !important;
  background: transparent !important;
}

.desktop-tabbox .z-tab-selected:hover {
  background: transparent !important;
}

.desktop-tabbox .z-tab-button {
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  float: none !important;
  color: var(--pi-text-758195, #758195) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  transition: background 100ms ease !important;
  vertical-align: middle !important;
  order: 99 !important;
}

.desktop-tabbox .z-tab-button:hover {
  background: var(--pi-bg-neutral, #F1F2F4) !important;
  color: var(--pi-text-default, #172B4D) !important;
}

.desktop-tabbox .z-tab-selected .z-tab-button {
  color: var(--pi-text-brand, #0C66E4) !important;
}


.desktop-tabbox .z-tabs .z-toolbar-tabs-body {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 8px !important;
  margin: 0 !important;
  background: transparent !important;
}

.desktop-tabbox .z-tabs .z-toolbar-tabs,
.desktop-tabbox .z-tabs .z-toolbar-tabs .z-toolbar-content,
.desktop-tabbox .z-tabs .z-toolbar-tabs-body,
.desktop-tabbox .z-toolbar-tabs,
.desktop-tabbox .z-toolbar,
.desktop-tabbox .z-tabs > .z-toolbar {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.desktop-tabbox .z-tabs .z-toolbar-tabs-body .z-toolbarbutton {
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 4px !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 2px !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--pi-text-subtlest, #626F86) !important;
  font-size: 14px !important;
  transition: background 100ms ease !important;
}

.desktop-tabbox .z-tabs .z-toolbar-tabs-body .z-toolbarbutton:hover {
  background: var(--pi-bg-neutral, #F1F2F4) !important;
}

.desktop-tabbox .z-tabs .z-toolbar-tabs-body .z-toolbarbutton .z-toolbarbutton-content {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
}


.desktop-tabbox .z-tabs {
  background: var(--pi-bg-default, #FFFFFF) !important;
  background-color: var(--pi-bg-default, #FFFFFF) !important;
  border: none !important;
  border-bottom: 1px solid var(--pi-border-hairline, #EBECF0) !important;
  box-shadow: none !important;
}


.desktop-tabpanel,
.desktop-center .z-tabpanel {
  background-color: var(--pi-bg-sunken, #F7F8F9) !important;
  padding: 0 !important;
  border: none !important;
}


.desktop-center .z-tabpanel .z-window-content,
.desktop-tabpanel .z-window-content {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.desktop-center .z-tabpanel .z-window-embedded,
.desktop-tabpanel .z-window-embedded {
  border: none !important;
  background: transparent !important;
}



.z-panel-head {
	background-image: none; background-color: var(--pi-bg-card);
}

.z-panel {
	border-radius: var(--pi-radius-sm);
}

.z-panel-noborder {
	border: none !important;
}

.z-panelchildren {
	border: none;
	height: 100%;
}

.z-panel-head {
	padding-bottom: 1px;
	border: none;
}

.z-panel-head .z-panel-header {
	padding: 0 0 var(--pi-space-25) 0;
	color: var(--pi-zk-262626, #262626); /* no-token: pi-text-default (closest) */
	background: var(--pi-white-keyword, white);
	font-family: var(--pi-font-family);
	font-weight: 600;
	font-size: 13px;
}	

.z-caption .z-caption-content {
	padding: 1px 1px 1px var(--pi-space-75);
	color: var(--pi-zk-262626, #262626); /* no-token: pi-text-default (closest) */
	font-weight: 500;
	font-size: 13px;
	cursor: move;
}

.z-anchorchildren .z-hlayout {
	white-space: normal;
}

.help-content {
	padding: var(--pi-space-25);
	font-size: 12px;
	font-weight: normal;
}
.mobile .help-content {
	font-size: 14px;
}

.z-grid-body .z-cell {
    text-align: left !important;
    text-wrap: wrap;
}

col[style*="width: 22px"] {
    width: 28px !important;
}

.z-column:nth-child(n+3) {
    padding-left: var(--pi-space-100) !important;
}

.z-rows .z-cell[style*="text-align:right"],
.z-rows .z-cell .editor-box,
.z-rows .z-cell .number-box,
.z-rows .z-cell .z-decimalbox,
.z-rows .z-cell .editor-input {
    text-align: left !important;
}

.z-rows .z-cell input[type="text"],
.z-rows .z-cell .z-combobox-input,
.z-rows .z-cell .z-textbox {
    text-align: left !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   PiERP Sidebar — Atlassian Design System (Light Theme)
   Plugin : com.pipra.theme
   Path   : src/web/theme/dashboard/css/fragment/sidebar.css.dsp
   Tokens : PIERP_DESIGN_SYSTEM_V2 / ADS-aligned
   ═══════════════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════════════
   §1  CSS VARIABLES  (all values = ADS tokens via --pi-* references)
   ══════════════════════════════════════════════════════════════════════ */
:root {
  /* surfaces */
  --pi-sb-bg:               var(--pi-bg-default);       /* elevation.surface            */
  --pi-sb-page-bg:          var(--pi-bg-sunken);        /* elevation.surface.sunken     */
  --pi-sb-border:           var(--pi-border-subtle);    /* color.border                 */

  /* dimensions */
  --pi-sb-width:            240px;     /* no-token: layout.sidebar.width */
  --pi-sb-item-h:           36px;      /* no-token: layout.item.height */
  --pi-sb-radius:           var(--pi-radius-md);        /* radius.md = 4px              */
  --pi-sb-icon-size:        16px;      /* no-token: icon.size.small */
  /* icon sits at 6px from the menuitem left edge — aligned with collapse icon */
  --pi-sb-icon-left:        var(--pi-space-75);         /* space.75 = 6px               */
  /* left padding for menu item rows */
  --pi-sb-text-indent:      var(--pi-space-150);        /* space.150 = 12px             */
  --pi-sb-item-mr:          var(--pi-space-50);         /* space.50 = 4px               */
  --pi-sb-pr:               var(--pi-space-100);        /* space.100 = 8px              */
  --pi-sb-divider-mx:       10px;      /* no-token: spacing.divider.margin */

  /* text / icon colors */
  --pi-sb-text:             var(--pi-text-default);     /* color.text                   */
  --pi-sb-icon-col:         var(--pi-icon-default);     /* color.icon.subtle            */
  --pi-sb-text-active:      var(--pi-text-brand);       /* color.text.selected          */
  --pi-sb-section-lbl:      var(--pi-text-subtlest);    /* color.text.subtlest          */

  /* state backgrounds */
  --pi-sb-bg-hover:         var(--pi-bg-hover);         /* color.background.neutral.hovered */
  --pi-sb-bg-active:        var(--pi-bg-selected);      /* color.background.selected    */
  --pi-sb-border-active:    var(--pi-border-selected);  /* color.border.selected        */

  /* typography */
  --pi-sb-font:             var(--pi-font-family);
  --pi-sb-font-size:        14px;      /* no-token: font.size.body */
  --pi-sb-section-size:     11px;      /* no-token: font.size.overline */
  --pi-sb-section-ls:       0.04em;    /* no-token: letter-spacing.overline */

  /* motion */
  --pi-sb-ease:             var(--pi-ease-standard);
  --pi-sb-dur:              var(--pi-duration-fast);

  /*
   * CSS filter: converts any SVG stroke to brand blue #0C66E4.
   * Pipeline: brightness(0) → black; then saturate+invert+hue to reach
   * hsl(213°, 84%, 47%) ≈ #0C66E4.
   */
  --pi-sb-icon-blue-filter:
    brightness(0) saturate(100%)
    invert(27%) sepia(78%) saturate(1870%)
    hue-rotate(205deg) brightness(101%) contrast(95%);
}


/* ══════════════════════════════════════════════════════════════════════
   §2  SHELL & BACKGROUND
   ══════════════════════════════════════════════════════════════════════ */

/* Page / body sunken background */
.z-desktop,
body.z-desktop,
.z-center-content {
  background-color: var(--pi-sb-page-bg) !important;
}

/* West panel that hosts the menu-widget */
.z-west,
.z-borderlayout-west {
  background-color: var(--pi-sb-bg)                      !important;
  border-right:     1px solid var(--pi-sb-border)        !important;
  border-top:       none                                 !important;
  border-bottom:    none                                 !important;
  border-left:      none                                 !important;
  box-shadow:       none                                 !important;
}

/* Sidebar shell */
.menu-widget,
.z-vlayout.menu-widget,
div.menu-widget {
  width:            var(--pi-sb-width)           !important;
  min-width:        var(--pi-sb-width)           !important;
  max-width:        var(--pi-sb-width)           !important;
  background-color: var(--pi-sb-bg)              !important;
  border-right:     1px solid var(--pi-sb-border) !important;
  border-top:       none                         !important;
  border-bottom:    none                         !important;
  border-left:      none                         !important;
  box-shadow:       none                         !important;
  padding:          0                            !important;
  box-sizing:       border-box                   !important;
  height:           100%                         !important;
  overflow:         hidden                       !important;
  position:         relative                     !important;
  font-family:      var(--pi-sb-font)            !important;
  display:          flex                         !important;
  flex-direction:   column                       !important;
}

/* Hide ZK panel title bar if the sidebar is wrapped in a panel */
.menu-widget > .z-panel-top,
.menu-widget .z-caption,
.z-panel.menu-widget > .z-panel-header {
  display: none !important;
}

/* React host container — fills the sidebar flex column */
.menu-widget [data-react-host],
.menu-widget .z-div[id*="react"] {
  flex:       1            !important;
  height:     0            !important;   /* flex-basis trick for overflow */
  min-height: 0            !important;
  overflow:   hidden       !important;
  display:    flex         !important;
  flex-direction: column   !important;
}

/* Strip borders / shadows from every ZK child wrapper */
.menu-widget > *,
.menu-widget .z-vlayout,
.menu-widget .z-div,
.menu-widget .z-panel,
.menu-widget .z-panel-body,
.menu-widget .z-groupbox,
.menu-widget .z-groupbox-content,
.menu-widget .z-vbox,
.menu-widget .z-hlayout,
.menu-widget ul,
.menu-widget ol {
  background-color: transparent !important;
  border:           none        !important;
  box-shadow:       none        !important;
}


/* ══════════════════════════════════════════════════════════════════════
   §3  NAV ITEMS  — .z-menuitem (leaf) and .z-menu (expandable)
   ══════════════════════════════════════════════════════════════════════ */

/* Outer list node — position anchor for the ::before icon */
.menu-widget .z-menuitem,
.menu-widget .z-menu {
  position:    relative    !important;
  display:     block       !important;
  list-style:  none        !important;
  margin:      0           !important;
  padding:     0           !important;
  background:  transparent !important;
  border:      none        !important;
  box-shadow:  none        !important;
}

/* Clickable row */
.menu-widget .z-menuitem-content,
.menu-widget .z-menu-content {
  display:          flex       !important;
  align-items:      center     !important;
  height:           var(--pi-sb-item-h)       !important;
  padding:          0 8px 0 12px !important;
  margin:           1px var(--pi-sb-item-mr)  !important;
  border-radius:    var(--pi-sb-radius)        !important;
  box-sizing:       border-box !important;
  cursor:           pointer    !important;
  text-decoration:  none       !important;
  /* transparent inset left shadow → becomes solid brand-blue when active */
  box-shadow:       inset 2px 0 0 transparent !important;
  transition:
    background-color var(--pi-sb-dur) var(--pi-sb-ease),
    box-shadow       var(--pi-sb-dur) var(--pi-sb-ease) !important;
}

/* Label text */
.menu-widget .z-menuitem-text,
.menu-widget .z-menu-text {
  font-family:    var(--pi-sb-font)      !important;
  font-size:      var(--pi-sb-font-size) !important;
  font-weight:    400                    !important;
  line-height:    20px                   !important;
  color:          var(--pi-sb-text)      !important;
  white-space:    nowrap                 !important;
  overflow:       hidden                 !important;
  text-overflow:  ellipsis               !important;
  text-decoration: none                  !important;
  flex:           1                      !important;
}

/* Submenu expand chevron */
.menu-widget .z-menu-arrow {
  color:       var(--pi-sb-icon-col) !important;
  font-size:   11px                  !important;
  flex-shrink: 0                     !important;
  margin-left: auto                  !important;
  opacity:     0.7                   !important;
}

/* Nested submenu panel — reset chrome without breaking expand/collapse */
.menu-widget .z-menupopup,
.menu-widget .z-menu-content + ul {
  background-color: var(--pi-sb-bg) !important;
  border:           none            !important;
  box-shadow:       none            !important;
  padding:          0               !important;
  margin:           0               !important;
}

.menu-widget .z-menupopup .z-menuitem,
.menu-widget .z-menupopup .z-menu {
  position: relative !important;
}

/* Indent sub-items by one level */
.menu-widget .z-menupopup .z-menuitem-content,
.menu-widget .z-menupopup .z-menu-content {
  padding-left: 26px !important;
}


/* ══════════════════════════════════════════════════════════════════════
   §4  ICONS — hide ZK defaults, inject Lucide outline SVGs via ::before
   ══════════════════════════════════════════════════════════════════════ */

/* Step 1 — erase every ZK-provided icon */
.menu-widget .z-menuitem .z-menuitem-image,
.menu-widget .z-menuitem img.z-menuitem-image,
.menu-widget .z-menuitem img,
.menu-widget .z-menuitem-icon,
.menu-widget .z-menu .z-menu-image,
.menu-widget .z-menu img.z-menu-image,
.menu-widget .z-menu img,
.menu-widget .z-menu-icon,
.menu-widget [class*="z-icon-"],
.menu-widget [class*="z-menu-icon"],
.menu-widget [class*="z-menuitem-icon"] {
  display: none !important;
}

/* Step 2 — shared ::before base, absolutely pinned to .z-menuitem/.z-menu */
.menu-widget .z-menuitem::before,
.menu-widget .z-menu::before {
  content:             ""                     !important;
  position:            absolute               !important;
  left:                var(--pi-sb-icon-left) !important;
  top:                 50%                    !important;
  transform:           translateY(-50%)       !important;
  width:               var(--pi-sb-icon-size) !important;
  height:              var(--pi-sb-icon-size) !important;
  background-repeat:   no-repeat              !important;
  background-position: center                 !important;
  background-size:     var(--pi-sb-icon-size) var(--pi-sb-icon-size) !important;
  pointer-events:      none                   !important;
  flex-shrink:         0                      !important;
  transition:          filter var(--pi-sb-dur) var(--pi-sb-ease) !important;
  /* fallback: generic circle until a specific rule overrides */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E") !important;
}

/* Sub-items inside popups: suppress inherited ::before */
.menu-widget .z-menupopup .z-menuitem::before,
.menu-widget .z-menupopup .z-menu::before {
  display: none !important;
}

/* ── Dashboard — layout-grid ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Dashboard"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") !important;
}

/* ── Application Dictionary — book-open ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Application Dictionary"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Application Dictionary"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E") !important;
}

/* ── Asset Documents — file-text ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Asset Documents"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Asset Documents"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E") !important;
}

/* ── Assets — package (3D box) ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Assets"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Assets"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='16.5' y1='9.4' x2='7.5' y2='4.21'/%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'/%3E%3C/svg%3E") !important;
}

/* ── Document Types — files ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Document Types"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Document Types"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 2H8.6c-.4 0-.8.2-1.1.5-.3.3-.5.7-.5 1.1v12.8c0 .4.2.8.5 1.1.3.3.7.5 1.1.5h9.8c.4 0 .8-.2 1.1-.5.3-.3.5-.7.5-1.1V6.5L15.5 2z'/%3E%3Cpolyline points='15 2 15 7 20 7'/%3E%3Cpath d='M8.6 20H4.2c-.4 0-.8-.2-1.1-.5-.3-.3-.5-.7-.5-1.1V5.6'/%3E%3C/svg%3E") !important;
}

/* ── Manufacturing — factory ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Manufacturing"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Manufacturing"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2z'/%3E%3Cpath d='M17 18h1'/%3E%3Cpath d='M12 18h1'/%3E%3Cpath d='M7 18h1'/%3E%3C/svg%3E") !important;
}

/* ── Material Management — layers ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Material Management"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Material Management"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E") !important;
}

/* ── MRO — wrench ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="MRO"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="MRO"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E") !important;
}

/* ── Open Items — circle-dot ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Open Items"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Open Items"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='1' fill='%2344546F' stroke='none'/%3E%3C/svg%3E") !important;
}

/* ── Partner Relations — users ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Partner Relations"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Partner Relations"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") !important;
}

/* ── Performance Analysis — bar-chart-2 ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Performance Analysis"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Performance Analysis"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E") !important;
}

/* ── Project Management — kanban ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Project Management"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Project Management"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='5' height='9' rx='1'/%3E%3Crect x='10' y='3' width='5' height='5' rx='1'/%3E%3Crect x='17' y='3' width='5' height='13' rx='1'/%3E%3C/svg%3E") !important;
}

/* ── Quote-to-Invoice — receipt ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Quote-to-Invoice"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Quote-to-Invoice"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1z'/%3E%3Cline x1='16' y1='8' x2='8' y2='8'/%3E%3Cline x1='16' y1='12' x2='8' y2='12'/%3E%3Cline x1='12' y1='16' x2='8' y2='16'/%3E%3C/svg%3E") !important;
}

/* ── Requisition-to-Invoice — clipboard-list ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Requisition-to-Invoice"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Requisition-to-Invoice"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cline x1='12' y1='11' x2='16' y2='11'/%3E%3Cline x1='12' y1='16' x2='16' y2='16'/%3E%3Cline x1='8' y1='11' x2='8.01' y2='11'/%3E%3Cline x1='8' y1='16' x2='8.01' y2='16'/%3E%3C/svg%3E") !important;
}

/* ── Returns — corner-up-left ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="Returns"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="Returns"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 14 4 9 9 4'/%3E%3Cpath d='M20 20v-7a4 4 0 0 0-4-4H4'/%3E%3C/svg%3E") !important;
}

/* ── System Admin — settings (gear) ── */
.menu-widget .z-menuitem:has(.z-menuitem-text[title="System Admin"])::before,
.menu-widget .z-menu:has(.z-menu-text[title="System Admin"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E") !important;
}


/* ══════════════════════════════════════════════════════════════════════
   §5  STATES — hover · active/selected · expanded · focus
   ══════════════════════════════════════════════════════════════════════ */

/* ── Hover ── */
.menu-widget .z-menuitem:hover > .z-menuitem-content,
.menu-widget .z-menu:hover > .z-menu-content {
  background-color: var(--pi-sb-bg-hover) !important;
}

/* Subtle icon darken on hover (only when not active) */
.menu-widget .z-menuitem:not(.z-menuitem-selected):hover::before,
.menu-widget .z-menu:not(.z-menu-selected):not(.z-menu-open):hover::before {
  filter: brightness(0.75) !important;
}

/* ── Active / selected — row ── */
.menu-widget .z-menuitem.z-menuitem-selected,
.menu-widget .z-menuitem[class*="selected"] {
  background: transparent !important;
}

.menu-widget .z-menuitem.z-menuitem-selected > .z-menuitem-content,
.menu-widget .z-menuitem[class*="selected"] > .z-menuitem-content,
.menu-widget .z-menuitem-selected > .z-menuitem-content {
  background-color: var(--pi-sb-bg-active)                     !important;
  box-shadow:       inset 2px 0 0 var(--pi-sb-border-active)   !important;
}

/* ── Active — label ── */
.menu-widget .z-menuitem.z-menuitem-selected .z-menuitem-text,
.menu-widget .z-menuitem[class*="selected"] .z-menuitem-text,
.menu-widget .z-menuitem-selected .z-menuitem-text {
  color:       var(--pi-sb-text-active) !important;
  font-weight: 500                      !important;
}

/* ── Active — icon recolored to brand blue ── */
.menu-widget .z-menuitem.z-menuitem-selected::before,
.menu-widget .z-menuitem[class*="selected"]::before,
.menu-widget .z-menuitem-selected::before {
  filter: var(--pi-sb-icon-blue-filter) !important;
}

/* Keep blue filter on hover of selected — prevent the darken override */
.menu-widget .z-menuitem.z-menuitem-selected:hover::before,
.menu-widget .z-menuitem[class*="selected"]:hover::before {
  filter: var(--pi-sb-icon-blue-filter) !important;
}

/* ── Expanded submenu parent (.z-menu-open added by ZK) ── */
.menu-widget .z-menu-open > .z-menu-content {
  background-color: var(--pi-sb-bg-hover) !important;
  box-shadow:       inset 2px 0 0 transparent !important;
}
.menu-widget .z-menu-open,
.menu-widget .z-menu.z-menu-open {
  background: transparent !important;
}
.menu-widget .z-menu-open::before {
  filter: brightness(0.75) !important;
}

/* ── Keyboard focus ring ── */
.menu-widget .z-menuitem:focus-visible > .z-menuitem-content,
.menu-widget .z-menu:focus-visible > .z-menu-content {
  outline:        2px solid var(--pi-border-focused) !important;  /* color.border.focused */
  outline-offset: -2px              !important;
}


/* ══════════════════════════════════════════════════════════════════════
   §6  FAVOURITES & RECENT ITEMS sections
   ══════════════════════════════════════════════════════════════════════ */

/* Divider rule between main nav and sections */
.menu-widget .z-listbox,
.menu-widget hr.menu-divider {
  border-top:    1px solid var(--pi-sb-border) !important;
  border-left:   none                          !important;
  border-right:  none                          !important;
  border-bottom: none                          !important;
  margin:        6px var(--pi-sb-divider-mx)   !important;
  padding-top:   4px                           !important;
}

/* Listbox container reset */
.menu-widget .z-listbox {
  background: transparent !important;
  box-shadow: none        !important;
}

/* Section header labels — FAVOURITES / RECENT ITEMS */
.menu-widget .z-caption-content,
.menu-widget .z-listbox-header .z-listcell-content,
.menu-widget .z-groupbox-title {
  display:        flex                       !important;
  align-items:    center                     !important;
  gap:            6px                        !important;
  padding:        10px 12px 4px              !important;
  font-family:    var(--pi-sb-font)          !important;
  font-size:      var(--pi-sb-section-size)  !important;
  font-weight:    600                        !important;
  color:          var(--pi-sb-section-lbl)   !important;
  text-transform: uppercase                  !important;
  letter-spacing: var(--pi-sb-section-ls)    !important;
  line-height:    16px                       !important;
  background:     transparent                !important;
  border:         none                       !important;
  cursor:         pointer                    !important;
}

/* FAVOURITES header icon — heart */
.menu-widget .z-caption-content[title*="avourit"]::before,
.menu-widget .z-caption-content[id*="favour"]::before,
.menu-widget .z-caption-content[id*="fav"]::before {
  content:             ""          !important;
  display:             inline-block !important;
  width:               13px         !important;
  height:              13px         !important;
  flex-shrink:         0            !important;
  background-image:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23626F86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
  background-repeat:   no-repeat   !important;
  background-size:     contain     !important;
  background-position: center      !important;
}

/* RECENT ITEMS header icon — clock */
.menu-widget .z-caption-content[title*="ecent"]::before,
.menu-widget .z-caption-content[id*="recent"]::before {
  content:             ""          !important;
  display:             inline-block !important;
  width:               13px         !important;
  height:              13px         !important;
  flex-shrink:         0            !important;
  background-image:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23626F86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") !important;
  background-repeat:   no-repeat   !important;
  background-size:     contain     !important;
  background-position: center      !important;
}

/* Collapse/expand chevron */
.menu-widget .z-caption-icon,
.menu-widget .z-groupbox-btn {
  color:       var(--pi-sb-section-lbl) !important;
  font-size:   10px                     !important;
  margin-left: auto                     !important;
}

/* Listitem rows (Favourites / Recent) */
.menu-widget .z-listitem {
  background: transparent !important;
  border:     none        !important;
  box-shadow: none        !important;
}

.menu-widget .z-listitem .z-listcell,
.menu-widget .z-listitem .z-listcell-content {
  display:          flex                               !important;
  align-items:      center                             !important;
  height:           var(--pi-sb-item-h)               !important;
  padding:          0 var(--pi-sb-pr) 0 12px           !important;
  margin:           1px var(--pi-sb-item-mr)           !important;
  border-radius:    var(--pi-sb-radius)                !important;
  font-family:      var(--pi-sb-font)                  !important;
  font-size:        var(--pi-sb-font-size)             !important;
  color:            var(--pi-sb-text)                  !important;
  cursor:           pointer                            !important;
  box-sizing:       border-box                         !important;
  box-shadow:       inset 2px 0 0 transparent          !important;
  transition:
    background-color var(--pi-sb-dur) var(--pi-sb-ease),
    box-shadow       var(--pi-sb-dur) var(--pi-sb-ease) !important;
}

.menu-widget .z-listitem:hover .z-listcell-content,
.menu-widget .z-listitem:hover .z-listcell {
  background-color: var(--pi-sb-bg-hover) !important;
}

.menu-widget .z-listitem.z-listitem-selected .z-listcell-content,
.menu-widget .z-listitem[class*="selected"] .z-listcell-content {
  background-color: var(--pi-sb-bg-active)                   !important;
  color:            var(--pi-sb-text-active)                  !important;
  font-weight:      500                                       !important;
  box-shadow:       inset 2px 0 0 var(--pi-sb-border-active)  !important;
}


/* ══════════════════════════════════════════════════════════════════════
   §7  CUSTOM SCROLLBAR
   ══════════════════════════════════════════════════════════════════════ */

/* WebKit — Chrome, Edge, Safari */
.menu-widget::-webkit-scrollbar       { width: 4px !important; }
.menu-widget::-webkit-scrollbar-track { background: transparent !important; }
.menu-widget::-webkit-scrollbar-thumb {
  background-color: var(--pi-border-subtle) !important;
  border-radius:    var(--pi-radius-full)   !important;
}
.menu-widget::-webkit-scrollbar-thumb:hover {
  background-color: var(--pi-border-default) !important;
}

/* Firefox */
.menu-widget {
  scrollbar-width: thin                                    !important;
  scrollbar-color: var(--pi-border-subtle) transparent     !important;
}


/* ══════════════════════════════════════════════════════════════════════
   §8  PUX MENU TREE OVERRIDE  (com.pipra.ux — PuxMenuTreeWidget, teammate-owned)
   ─────────────────────────────────────────────────────────────────────
   The nav tree actually on screen (verified against the live DOM, not
   assumed from source) is built by PuxMenuTreeWidget.java as plain ZK
   Divs/Labels under .pux-menu-tree / .pux-menu-row - none of §3-§6 above
   (the .z-menuitem rules, written for a retired ZK tree) reach it, and
   neither does com.pipra.sidebar's old React implementation - both were
   superseded by this widget. That plugin's owner has approved direct edits
   here, but colors/looks still belong in this theme plugin's CSS per the
   design-system split (Java supplies structure/content, CSS supplies looks) -
   PuxMenuTreeWidget only toggles the "pux-menu-row-active" class below.
   ══════════════════════════════════════════════════════════════════════ */

/*
 * Every childless row (Dashboard, and every leaf item under any category)
 * renders BOTH a 10px empty spacer div (reserved for a chevron it doesn't
 * have) AND its own 14px type icon, while every row WITH children renders
 * only a 10px chevron and no icon at all - so a childless row's label
 * starts ~20px further right than a sibling category's label at the same
 * depth (most visible at the top level: Dashboard vs. Assets/Manufacturing/
 * etc.). The spacer is always a literal empty <div> and only ever appears
 * as a row's first child in that shape, so hiding it is safe and general -
 * it fixes every leaf row's alignment, not just Dashboard's.
 */
.pux-menu-tree .pux-menu-row > .z-div:first-child:empty {
  display: none !important;
}

/*
 * Selected-row treatment, matched against the live computed styles of
 * atlaskit.atlassian.com/packages/navigation/side-nav-items's own left nav:
 * - fill + brand-blue text (also recolors the row's SVG icon, which now
 *   uses fill="currentColor" - see PuxMenuTreeWidget's buildTypeIcon), at
 *   normal (non-bold) weight;
 * - PLUS a separate 2px x 12px accent bar flush against the row's left
 *   edge, vertically centered - the real component renders this as its own
 *   absolutely-positioned element, not a border/box-shadow on the row, so
 *   it needs position:relative on every row to anchor the ::before to the
 *   row's own box rather than a distant ancestor.
 * position:relative is harmless on inactive rows (no visual effect without
 * an offset) so it's applied to all of them rather than gated to `.active`.
 */
.pux-menu-tree .pux-menu-row {
  position: relative !important;
}

.pux-menu-tree .pux-menu-row.pux-menu-row-active {
  background: var(--pi-bg-selected, #E9F2FF) !important;
  color:      var(--pi-text-brand,  #0C66E4) !important;
}

/*
 * tab.css.dsp's ".z-label { color: #333; }" targets the label directly, not
 * through inheritance - a direct rule on an element always wins over a color
 * only inherited from an ancestor, no matter how specific/important the
 * ancestor's own rule is. The row's `color` above already recolors the SVG
 * icon correctly (its fill="currentColor" only ever inherits, nothing sets
 * it directly), but the label text needs its own explicit override here.
 */
.pux-menu-tree .pux-menu-row.pux-menu-row-active .z-label {
  color: var(--pi-text-brand, #0C66E4) !important;
}

.pux-menu-tree .pux-menu-row.pux-menu-row-active::before {
  content:       "";
  position:      absolute;
  left:          0;
  top:           50%;
  transform:     translateY(-50%);
  width:         2px;
  height:        12px;
  background:    var(--pi-text-brand, #0C66E4);
  border-radius: 0;
}


/* ============================================================
   PiERP LOGIN + ROLE SELECTION — Atlassian Design System
   Plugin: com.pipra.theme (NO core changes)

   Both screens share this file: the login page renders
   LoginPanel (#grdLogin) and the role page renders RolePanel
   (#grdChooseRole) through the *same* ITheme sclasses
   (.login-box-header / .login-box-body / .login-label /
   .login-field / .login-box-footer). Any rule below that is not
   scoped to a row id therefore applies to BOTH — check both
   screens after every edit.

   Colours/spacing/type resolve to --pi-* tokens from
   _tokens.css.dsp. Do not reintroduce raw hex or off-grid px.
   ============================================================ */

/* --- Right Panel (Center) Layout --- */
.login-window .z-center,
.login-window .z-center-body {
    background: var(--pi-bg-default);
}
.login-window .z-center-body {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow-y: auto !important;
}
.login-window .z-center-body > div {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--pi-space-100);
    width: 100%;
    box-sizing: border-box;
    padding: var(--pi-space-400) var(--pi-space-300) var(--pi-space-800) var(--pi-space-300);
    position: relative;
    min-height: 100%;
}

/* --- Form Container --- */
.login-right-cont {
    width: 100% !important;
    max-width: 380px;
    height: auto !important;
    padding-top: 0 !important;
}
.login-window .z-center-body > div > .login-right-cont,
.login-window .login-right-cont > tbody,
.login-window .login-right-cont > tbody > tr,
.login-window .login-right-cont > tbody > tr > td {
    height: auto !important;
}
.login-window .z-center-body > div > .login-right-cont {
    flex: 0 0 auto !important;
}
.login-window .login-right-cont .z-window {
    position: static !important;
    width: 100% !important;
    padding: 0 !important;
}
.login-window .login-right-cont form {
    width: 100% !important;
}
.login-window .login-right-cont form > table {
    width: 100% !important;
}


/* --- PiERP Logo --- */
/* Same slot for every tenant's logo on the sign-in screens (PA-503): 48px tall, at most
   280px wide, contained - a very wide uploaded logo no longer overflows the form. */
.login-window .login-right-cont img {
    height: var(--pi-size-logo-login, 48px) !important;
    width: auto !important;
    max-width: var(--pi-size-logo-login-max-width, 280px) !important;
    object-fit: contain !important;
}

/* --- Heading + Subtitle ---
   The heading text is core's LOGIN_BOX_HEADER_TXT label and the subtitle is a
   sibling label appended by com.pipra.theme.webui (PierpLoginPanel on the login
   screen, PierpLoginWindow on the role screen) — both read from AD_SysConfig so
   the wording is white-labelable. This block only styles them; it deliberately
   does NOT inject copy via `content:` any more, because a CSS string cannot be
   configured or translated. If the Java override is ever absent the labels
   simply fall back to core's own localized text instead of rendering blank. */
.login-box-header {
    text-align: center;
    margin-bottom: var(--pi-space-600); /* space.600 — heading block to first field */
}
.login-box-header-txt {
    display: block !important;
    font-family: var(--pi-font-family);
    font-size: var(--pi-font-size-500) !important;
    font-weight: var(--pi-font-weight-bold) !important;
    color: var(--pi-text-default) !important;
    line-height: var(--pi-line-height-snug);
    letter-spacing: -0.01em;
    margin-bottom: var(--pi-space-100);
}
.login-box-subtitle {
    display: block !important;
    font-family: var(--pi-font-family);
    font-size: var(--pi-font-size-200) !important;
    font-weight: var(--pi-font-weight-regular) !important;
    color: var(--pi-text-subtle) !important;
    line-height: var(--pi-line-height-base);
}

/* --- Form Table — Stacked Layout ---
   tbody is a wrapping flex row so a pair of adjacent narrow rows (Remember Me /
   Forgot password) can share one baseline instead of stacking; every other row
   is width:100% and therefore still owns its own line. */
.login-box-body {
    /* block, not table: the <tbody> below is a flex container, and leaving the
       <table> in table layout would let table sizing fight it. */
    display: block !important;
    width: 100% !important;
    max-width: 380px !important;
    background-image: none !important;
    background-color: transparent;
    padding: 0 !important;
    margin: 0;
    text-align: left;
}
.login-box-body > tbody {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    width: 100% !important;
}
/* flex: 0 0 100% — grow 0 / SHRINK 0 / basis full width. The shrink 0 matters:
   flex items shrink by default, so a plain width:100% row could be squeezed onto
   the same line as the auto-width Remember Me row instead of keeping its own. */
.login-box-body tr {
    display: block !important;
    flex: 0 0 100% !important;
    margin-bottom: var(--pi-space-300); /* space.300 — gap between stacked fields */
}
.login-box-body tr td {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
}
/* Row 1 of both grids is core's large-logo cell — the brand mark already sits
   above the form in login.zul, so drop the duplicate. */
.login-box-body tr:first-child {
    display: none !important;
}
/* The gap above the buttons is owned by .login-box-footer's margin-top, so the
   last field row must not add its own. Without this the role screen (last row =
   Date) would sit 48px above Continue while the login screen sits 24px above
   Login — the two screens have to breathe identically. */
.login-box-body tr:last-child {
    margin-bottom: 0 !important;
}

/* --- Labels --- */
.login-label {
    color: var(--pi-text-default) !important;
    text-align: left !important;
    /* space.150 — label to its own field. Deliberately smaller than the
       space.300 between fields so each label binds visually to the input
       below it rather than floating between two of them. */
    padding: 0 0 var(--pi-space-150) 0 !important;
    font-size: var(--pi-font-size-200) !important;
    font-weight: var(--pi-font-weight-regular) !important;
    font-family: var(--pi-font-family) !important;
}
/* RolePanel builds its labels through Label#rightAlign(), which wraps each one
   in <div style="text-align: right"> (LayoutUtils#makeRightAlign). That inline
   style would right-align the role screen's labels while the login screen's are
   left — beat it here so both screens align identically. */
.login-label > div {
    text-align: left !important;
}
.login-label span {
    color: var(--pi-text-default) !important;
    font-weight: var(--pi-font-weight-regular) !important;
    text-align: left !important;
    float: none !important;
    display: block !important;
}

/* --- Input Fields --- */
.login-field {
    text-align: left !important;
    width: 100% !important;
    position: relative !important;
}

/* ============================================================
   UNIFIED FIELD BOX
   A ZK Textbox is a bare <input>, but a Combobox/Datebox is a
   WRAPPER (.z-combobox / .z-datebox) with the <input> nested inside.
   Styling BOTH the wrapper and the inner input produced a double
   border + double left-padding, so dropdown/date text sat further
   right (and narrower) than the username/password inputs.

   Fix: the inner <input> is the ONE visual box for every field type;
   the combobox/datebox wrapper is flattened to a transparent,
   full-width, borderless container. This lines every field up.
   ============================================================ */

/* The single box style — every field's actual <input> element */
.login-field .z-textbox,
.login-field .z-combobox-input,
.login-field .z-datebox-input,
.login-field input {
    width: 100% !important;
    box-sizing: border-box !important;
    /* left inset 36px = icon left (12) + icon box (16) + 8 gap */
    padding: 10px var(--pi-space-150) 10px 36px !important;
    border: 1px solid var(--pi-border-default) !important;
    border-radius: var(--pi-radius-lg) !important;
    background: var(--pi-bg-default) !important;
    color: var(--pi-text-default) !important;
    font-size: var(--pi-font-size-200) !important;
    font-family: var(--pi-font-family) !important;
    text-align: left !important;
}
.login-field .z-textbox::placeholder,
.login-field input::placeholder {
    color: var(--pi-text-disabled) !important;
}
.login-field .z-textbox:focus,
.login-field .z-combobox-input:focus,
.login-field .z-datebox-input:focus,
.login-field input:focus {
    border: 1px solid var(--pi-login-brand) !important;
    box-shadow: 0 0 0 3px var(--pi-login-brand-overlay) !important;
    outline: none !important;
}

/* Flatten the combobox / datebox WRAPPERS — no box of their own, so the
   inner <input> above is the only border/padding the user sees. */
.login-field .z-combobox,
.login-field .z-datebox {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    position: relative !important;
}

/* Reserve room on the right for the dropdown/calendar arrow so text never
   collides with it — the LEFT edge stays aligned with the text inputs. */
.login-field .z-combobox-input,
.login-field .z-datebox-input {
    padding-right: 34px !important;
}
.login-field .z-combobox-button,
.login-field .z-datebox-button {
    position: absolute !important;
    right: var(--pi-space-150) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: var(--pi-icon-default) !important;
    z-index: 3 !important;
}

/* Force left-align ALL text inside login inputs (override center alignment) */
.login-window input,
.login-window .z-textbox,
.login-window .z-combobox-input,
.login-window .z-datebox-input {
    text-align: left !important;
    font-family: var(--pi-font-family) !important;
}

/* --- Field Icons (Atlassian-style masked SVGs) ---
   Replaces the old FontAwesome glyphs so the login AND role fields use the same
   Atlassian iconography as the rest of the app (see the icon set in
   custom.css.dsp). Each icon is an inline SVG painted through a CSS mask and a
   flat tint; the per-row glyph is supplied via --pi-login-ico. This shared base
   rule covers the login rows (below) and the role-page rows (further down).
   Tint is --pi-icon-default (#44546F): the previous #9AA4B2 only reached 2.5:1
   against white and failed the 3:1 non-text contrast minimum. */
#rowUser .login-field::before,
#rowPassword .login-field::before,
#rowLanguage .login-field::before,
#rowclient .login-field::before,
#rowRole .login-field::before,
#rowOrganisation .login-field::before,
#rowWarehouse .login-field::before,
#rowDate .login-field::before {
    content: "";
    position: absolute;
    left: var(--pi-space-150);
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-color: var(--pi-icon-default);
    -webkit-mask: var(--pi-login-ico) no-repeat center / contain;
            mask: var(--pi-login-ico) no-repeat center / contain;
    z-index: 2;
    pointer-events: none;
}
#rowUser .login-field::before     { --pi-login-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 20c0-3.3 3.6-6 8-6s8 2.7 8 6'/></svg>"); }
#rowPassword .login-field::before { --pi-login-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='11' width='14' height='9' rx='1.5'/><path d='M8 11V8a4 4 0 0 1 8 0v3'/></svg>"); }
#rowLanguage .login-field::before { --pi-login-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8'/><path d='M4 12h16'/><path d='M12 4c2.2 2 3.4 4.9 3.4 8s-1.2 6-3.4 8c-2.2-2-3.4-4.9-3.4-8s1.2-6 3.4-8z'/></svg>"); }


/* --- Checkboxes --- */
#rowSelectRole td.login-label,
#rowRememberMe td.login-label {
    display: none !important;
}
#rowSelectRole td.login-field,
#rowRememberMe td.login-field {
    display: flex !important;
    align-items: center;
    gap: var(--pi-space-100);
}
.login-window .z-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: var(--pi-space-100) !important;
    font-family: var(--pi-font-family) !important;
    font-size: var(--pi-font-size-200) !important;
    color: var(--pi-text-default) !important;
}
.login-window .z-checkbox input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    accent-color: var(--pi-login-brand);
    border-radius: var(--pi-radius-md);
}
/* Role selection is forced on in PierpLoginPanel, so the toggle is redundant. */
#rowSelectRole {
    display: none !important;
}

/* --- Remember me / Forgot password — one baseline ---
   Two separate <tr>s in core's markup, stacked and visually unbalanced (one
   left, one right, on different lines). Sized to content inside the flex tbody
   so they share a line; margin-left:auto keeps "Forgot password" flush right
   even when MSystem.isZKRememberUserAllowed() is false and it is alone. The
   pair's bottom gap comes from .login-box-footer's margin-top. */
#rowRememberMe {
    flex: 0 1 auto !important;
    margin-bottom: 0 !important;
}
#rowResetPassword {
    flex: 0 1 auto !important;
    margin-left: auto !important;
    margin-bottom: 0 !important;
}
#rowResetPassword td.login-label {
    display: none !important;
}
#rowResetPassword td.login-field {
    text-align: right !important;
}
#rowResetPassword .z-a {
    color: var(--pi-login-brand) !important;
    font-family: var(--pi-font-family) !important;
    font-size: var(--pi-font-size-100) !important;
    text-decoration: none !important;
    font-weight: var(--pi-font-weight-semibold) !important;
}
#rowResetPassword .z-a:hover {
    text-decoration: underline !important;
}

/* --- Button Container --- */
.login-box-footer {
    width: 100% !important;
    margin-top: var(--pi-space-300) !important;
}
.login-box-footer .confirm-panel {
    width: 100% !important;
}
.login-box-footer-pnl {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.login-window .confirm-panel-left {
    display: none !important;
}
.login-window .confirm-panel-center {
    display: none !important;
}
/* ConfirmPanel puts BOTH OK and Cancel in the right group (see
   ConfirmPanel#init), so the role screen's Continue + Back both live here. */
.login-window .confirm-panel-right {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--pi-space-150) !important;
}

/* Force the ZK hlayout inside confirm-panel-right to stack vertically */
.login-window .confirm-panel-right .z-hlayout {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: var(--pi-space-150) !important;
}
.login-window .confirm-panel-right .z-hlayout > * {
    width: 100% !important;
    display: block !important;
}

/* Base reset for ALL login buttons — PRIMARY by default */
.login-window .z-button.login-btn {
    width: 100% !important;
    display: block !important;
    border-radius: var(--pi-radius-lg) !important;
    font-family: var(--pi-font-family) !important;
    font-size: var(--pi-font-size-200) !important;
    font-weight: var(--pi-font-weight-medium) !important;
    cursor: pointer !important;
    text-align: center !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    padding: var(--pi-space-150) var(--pi-space-200) !important;
    background: var(--pi-login-brand) !important;
    color: var(--pi-text-inverse) !important;
    border: none !important;
}

/* PRIMARY — OK button (via Java-added class) */
.login-window .z-button.login-btn.login-btn-primary {
    background: var(--pi-login-brand) !important;
    color: var(--pi-text-inverse) !important;
    border: none !important;
}

/* PRIMARY, working — Login / Continue pressed, until the next screen is there (ADS loading button:
   same size and colour, a spinner in place of the label; js/pi-window-loading.js.dsp sets the class).
   It takes no second press. The page stays as it is: no dark screen, no Processing box. */
.login-window .z-button.login-btn.login-btn-primary.pi-btn-loading {
    position: relative !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important; /* ZK's .z-button text-shadow would still draw the label */
    opacity: 1 !important; /* ZK disables the button while it works: not greyed, it is the one working */
    pointer-events: none;
    cursor: progress;
}
.login-window .z-button.login-btn.login-btn-primary.pi-btn-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--pi-space-200);
    height: var(--pi-space-200);
    box-sizing: border-box;
    border: var(--pi-space-25) solid color-mix(in srgb, var(--pi-text-inverse) 40%, transparent);
    border-top-color: var(--pi-text-inverse);
    border-radius: var(--pi-radius-full);
    animation: pi-btn-spin 0.8s linear infinite;
}
@keyframes pi-btn-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .login-window .z-button.login-btn.login-btn-primary.pi-btn-loading::after {
        animation-duration: 2.4s;
    }
}

/* SECONDARY — Cancel button (unique class from core + Java-added class) */
.login-window .z-button.login-btn.login-button-role-cancel,
.login-window .z-button.login-btn.login-btn-secondary {
    background: var(--pi-bg-default) !important;
    color: var(--pi-login-brand) !important;
    border: 1px solid var(--pi-login-brand) !important;
}

/* TERTIARY — Help button (via Java-added class), hidden on both the login
   page and the role page per design — no help link in the target UI. */
.login-window .z-button.login-btn.login-btn-tertiary {
    display: none !important;
}

/* Hide font-icons inside buttons */
.login-window .login-btn [class^="z-icon-"],
.login-window .z-button.login-btn [class^="z-icon-"] {
    display: none !important;
}

/* --- Left Panel — Brand blue with infographic --- */
.login-east-panel, .login-west-panel {
    position: relative;
    text-align: center;
}
.login-window .login-west-panel {
    width: 50%;
}
.login-window .z-west-splitter {
    cursor: col-resize !important;
    background: var(--pi-border-subtle) !important;
    width: 6px !important;
}
.login-window .z-west-splitter:hover {
    background: var(--pi-login-brand) !important;
}
.login-window .login-west-panel,
.login-window .login-west-panel .z-west-body,
.login-window .login-west-panel > div,
.login-window .login-west-panel .z-include {
    background-color: var(--pi-login-brand) !important;
    background-image: none !important;
}
.login-window .login-west-panel .login-image {
    display: inline-block !important;
    width: 60% !important;
    height: auto !important;
}

/* Left panel tagline — content comes from PI_LOGIN_TAGLINE via
   com.pipra.theme.webui.PierpLoginHero (configurable / white-labelable).

   The colour is forced, not merely declared. PierpLoginHero renders the tagline
   as a ZK Label, and setSclass() REPLACES ZK's own z-label class — so the span
   carries only .login-left-info and inherits body's dark --pi-text-default until
   a rule says otherwise. On a blue panel that would be unreadable, and the copy
   is customer-editable (a longer PI_LOGIN_TAGLINE must never silently render
   dark). !important + a literal #FFFFFF fallback means it stays white even if a
   later fragment raises specificity or _tokens.css.dsp fails to load. */
.login-left-div {
    width: 100%;
}
.login-left-info,
.login-window .login-west-panel .login-left-info {
    display: block;
    margin: var(--pi-space-400) auto 0 auto;
    padding: 0 var(--pi-space-300);
    max-width: 420px;
    font-family: var(--pi-font-family);
    font-size: var(--pi-font-size-metric);
    font-weight: var(--pi-font-weight-bold);
    line-height: var(--pi-line-height-snug);
    color: var(--pi-text-inverse, #FFFFFF) !important;
    overflow-wrap: break-word;
}

/* --- Footer — Version / brand logo / Copyright ---
   Built by com.pipra.theme.webui.PierpLoginFooter; every value is AD_SysConfig
   driven (APPLICATION_MAIN_VERSION, PI_LOGIN_FOOTER_LOGO,
   PI_LOGIN_COPYRIGHT_OWNER). This block only positions and colours it. */
.login-footer-bar {
    position: absolute;
    left: var(--pi-space-300);
    right: var(--pi-space-300);
    bottom: var(--pi-space-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--pi-space-200);
    width: auto;
    box-sizing: border-box;
}
.login-footer-version,
.login-footer-copyright,
.login-footer-version span,
.login-footer-copyright span {
    color: var(--pi-text-subtle) !important;
    font-family: var(--pi-font-family) !important;
    font-size: var(--pi-font-size-75) !important;
}
/* PierpLoginFooter puts the sclass on the ZK Image itself, and ZK renders an
   Image as a bare <img class="…"> — so the element IS the img. The previous
   `.login-footer-logo img` (descendant) never matched anything, which let the
   144x48 wordmark render at full height and tower over the 12px version /
   copyright text either side of it. Both forms are covered here so the rule
   survives if the component is ever wrapped. */
img.login-footer-logo,
.login-footer-logo img {
    height: 16px !important;
    width: auto !important;
}


/* ============================================================
   ROLE SELECTION (#grdChooseRole)
   NOTE: RolePanel is a ZK Window, so setId("rolePanel") renders a uuid as the
   DOM id — a #rolePanel selector never matches. The reliable page discriminator
   is the native <table> id: #grdChooseRole (role) vs #grdLogin (login), set in
   RolePanel/LoginPanel.createUI().
   ============================================================ */

/* Field icons -- role page (Tenant, Role, Organization, Warehouse, Date).
   Row ids come from RolePanel.createUI(): rowclient, rowRole, rowOrganisation,
   rowWarehouse, rowDate. The shared base rule + tint + padding live in the login
   field-icon block above; here we only supply each row's Atlassian glyph. */
#rowclient .login-field::before      { --pi-login-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 21h16'/><path d='M6 21V5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v16'/><path d='M14 9h3a1 1 0 0 1 1 1v11'/><path d='M9 8h2M9 12h2M9 16h2'/></svg>"); }
#rowRole .login-field::before        { --pi-login-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l7 3v5c0 4.4-3 8.4-7 9.5-4-1.1-7-5.1-7-9.5V6z'/><path d='M9 12l2 2 4-4'/></svg>"); }
#rowOrganisation .login-field::before { --pi-login-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='3'/><path d='M3 19c0-2.8 2.7-5 6-5s6 2.2 6 5'/><path d='M16 5.5a3 3 0 0 1 0 5'/><path d='M17.5 14c1.9.6 3.5 2.1 3.5 4.2'/></svg>"); }
#rowWarehouse .login-field::before   { --pi-login-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 21V9l9-4 9 4v12'/><path d='M3 21h18'/><path d='M8 21v-6h8v6'/><path d='M8 12h8'/></svg>"); }
#rowDate .login-field::before        { --pi-login-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='5' width='16' height='16' rx='2'/><path d='M4 10h16M8 3v4M16 3v4'/></svg>"); }

/* "Defaults" underlined helper text/link on the role page — not part of the
   target design, drop the whole row. */
#rowLabelDefault {
    display: none !important;
}

/* Footer (brand logo / version / copyright) — only shown on the login page.
   #grdChooseRole only exists in the DOM while the role-selection screen is
   showing, so :has() scopes this to that screen without touching Java. */
.login-window:has(#grdChooseRole) .login-footer-bar {
    display: none !important;
}

/* --- Responsive --- */
@media screen and (max-width: 659px) {
    .login-box-body, .login-box-header, .login-box-footer {
        width: 90%;
    }
    .login-box-footer-pnl {
        width: 90% !important;
    }
}
@media screen and (max-height: 600px) {
    .login-box-header {
        margin-bottom: var(--pi-space-300);
    }
    .login-box-subtitle {
        display: none !important;
    }
}





.dashboard-content-help .z-popup-content {
	background: black;
	color: var(--pi-white-keyword, white);
	border-radius: 5px;
}


.dashboard-widget-remove-header .z-panel-head {
	display: none;
}


.dashboard-widget img {
    width: var(--pi-space-300);
    height: var(--pi-space-300);
}


.dashboard-widget .z-caption-content {
	display : flex;
	align-items : center;
	gap: var(--pi-space-200);
}

.dashboard-widget .z-caption {
	display: flex;
    justify-content: space-between;
}


.dashboard-btn {
	display: flex !important;
    align-items: center;
    gap: var(--pi-space-200);
    font-family: var(--pi-font-family);
    font-size: 14px;
    font-weight: 700;
    margin-left: 3% !important;
}

.dashboard-btn:focus {
	background : none;
	border: none;
	box-shadow : none;
}

.dashboard-btn:hover {
	background : none;
	border: none;
}


.dashboard-widget .z-panel-head {
   margin-left: -1rem !important;
}


.dashboard-widget.z-panel-noframe .z-panel-head {
   margin-left: 0 !important;
}




/* topnav / header logo
 * Logo: a fixed slot (32px tall, at most 200px wide) with the tenant's logo contained
 * and left-aligned in it, so a wide wordmark and a square mark take the same space for
 * every tenant (PA-503: was 24px tall with no width cap - a square logo became a dot,
 * a very wide one pushed the header).
 * Visual only — no header height/bg/layout or logic changes.
 */

.desktop-header-logo-img,
#logo.desktop-header-logo-img,
.desktop-header-left .z-image.desktop-header-logo-img {
	height: var(--pi-size-logo-header, 32px) !important;
	max-height: var(--pi-size-logo-header, 32px) !important;
	width: auto !important;
	max-width: var(--pi-size-logo-header-max-width, 200px) !important;
	object-fit: contain !important;
	object-position: left center !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Give the logo a comfortable ADS left gutter (was flush to the corner).
 * Only the in-flow logo shifts — the search box is absolutely positioned
 * off .desktop-header, so it is unaffected. */
.desktop-header-left {
	padding-left: 16px !important;
	margin-left: 0 !important;
}

.desktop-header-left .z-image {
	margin: 0 !important;
}

/* ------------------------------------------------------------------
 * Global search bar — Atlassian Design System restyle.
 * UI / position only. No change to the GlobalSearch bandbox logic,
 * ids, popup behaviour or media-query widths (functional sizing).
 *
 * NOTE: the bandbox's DOM id is a ZK-generated uuid, NOT "menuLookup"
 * (server-side id != rendered id), so id selectors do not match. We
 * target the rendered sclass via the stable .desktop-header-left
 * ancestor, which also outranks the class-only width rules in
 * application-menu.css.dsp (loaded after this file).
 * ------------------------------------------------------------------ */

/* Anchor centring to the FULL header so the bar sits at the true
 * centre of the top nav — three zones: logo left (in flow), search
 * centred, account panel right (in flow). The search is a descendant
 * of desktop-header-left, so that ancestor must stay static (no
 * position) for .desktop-header to be the containing block. Width is
 * kept clear of the long username on the right. */
.desktop-header {
	position: relative;
}

.desktop-header-left .global-search-box {
	position: absolute;
	/* Left-aligned with the canvas content (the "Dashboard" tab/heading),
	 * i.e. just right of the 240px sidebar. --pi-sb-width is defined on
	 * :root by the React sidebar (sidebar.css), so the bar tracks the
	 * sidebar width automatically; +16px clears the splitter + canvas
	 * left padding. Fallback 240px if the sidebar var is absent. */
	left: calc(var(--pi-sb-width, 240px) + 16px);
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	/* Wide, prominent Jira-style search. Overrides the 180-300px
	 * media widths in application-menu.css.dsp. */
	width: min(520px, 34vw) !important;
}

/* Field shell — subtle Atlassian input surface, with leading magnifier */
.desktop-header-left .global-search-box.z-bandbox {
	display: inline-flex !important;
	align-items: center;
	width: min(520px, 34vw) !important;
	height: 32px;
	box-sizing: border-box;
	background: var(--pi-bg-default, #FFFFFF);
	border: 1px solid var(--pi-border-input, #DFE1E6);
	border-radius: 6px;
	padding: 0 8px 0 12px;
	transition: border-color 120ms ease-in-out, box-shadow 120ms ease-in-out, background 120ms ease-in-out;
}

/* Leading magnifier icon (Atlassian subtle), like the Jira nav search */
.desktop-header-left .global-search-box.z-bandbox::before {
	content: "";
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23626F86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

.desktop-header-left .global-search-box.z-bandbox:hover {
	background: var(--pi-bg-sunken, #F7F8F9);
	border-color: var(--pi-text-disabled, #B3B9C4);
}

/* Focus ring — Atlassian primary blue */
.desktop-header-left .global-search-box.z-bandbox:focus-within {
	background: var(--pi-bg-default, #FFFFFF);
	border-color: var(--pi-text-brand, #0C66E4);
	box-shadow: 0 0 0 1px var(--pi-text-brand, #0C66E4);
}

/* Text input inside the bandbox */
.desktop-header-left .global-search-box.z-bandbox > input.z-bandbox-input {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	height: 100%;
	border: none !important;
	outline: none !important;
	background: transparent !important;
	box-shadow: none !important;
	/* grid (menu) button is hidden now, so no reserved right room needed */
	padding: 0 12px 0 0;
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--pi-text-default, #172B4D);
}

.desktop-header-left .global-search-box.z-bandbox > input.z-bandbox-input::placeholder {
	color: var(--pi-text-subtlest, #626F86);
}

/* Remove the bandbox's own trailing magnifier — the menu (grid) button
 * takes that slot instead. Search still works via typing/focus. */
.desktop-header-left .global-search-box.z-bandbox > .z-bandbox-button {
	display: none !important;
}

/* ------------------------------------------------------------------
 * Menu (grid) button — moved from beside the logo to INSIDE the search
 * bar's right edge. menuButton (sclass btn-small, icon z-icon-th-large)
 * shares the .desktop-header containing block with the search, so it is
 * pinned to the field's right edge using the same left anchor + width:
 *   field left  = L = var(--pi-sb-width) + 16px ; field right = L + W
 *   button left = L + W - 8px(pad) - 28px(button) => translateX = W - 36px
 * W = min(520px, 34vw). Absolute => also removes the orphaned icon that
 * was sitting next to the logo. Behaviour (opens Menu) is unchanged. */
.desktop-header-left .btn-small {
	position: absolute;
	top: 50%;
	left: calc(var(--pi-sb-width, 240px) + 16px);
	transform: translate(calc(min(520px, 34vw) - 36px), -50%);
	z-index: 6;
	width: 28px !important;
	min-width: 28px;
	height: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: transparent !important;
	border: none !important;
	border-radius: 4px;
	color: var(--pi-text-subtlest, #626F86);
	cursor: pointer;
	transition: background 120ms ease-in-out, color 120ms ease-in-out;
}

.desktop-header-left .btn-small:hover {
	background: var(--pi-overlay-091e420f, #091E420F) !important;
	color: var(--pi-text-default, #172B4D);
}

.desktop-header-left .btn-small [class^="z-icon-"],
.desktop-header-left .btn-small .z-icon-th-large {
	font-size: 16px;
	color: inherit;
}

/* ==================================================================
 * ACCOUNT ZONE (top-right) — Atlassian Design System
 *
 * Replaces the old inline "Feedback | Preference | changeRole | Logout"
 * link row with two ADS-style menus:
 *   1. a Settings (gear) icon button  -> Preferences, Feedback
 *   2. a circular profile avatar      -> identity, Change role, Log out
 *
 * UI ONLY. All component ids + ZK event wiring (UserPanel.java) are
 * unchanged; the ZK `popup` attribute opens each menu client-side.
 * Selectors are scoped + use !important so the toolbar/button fragments
 * loaded after this file cannot override them.
 * ================================================================== */

/* Right-aligned cluster, vertically centred in the header band.
 * The ZK <vbox> packs its child to the TOP of the 48px band, which left
 * the Preference/Feedback/avatar cluster ~8px high of the logo's centre.
 * Force the whole user-panel chain to fill 48px and middle-align so the
 * cluster's centre (y=24) matches the logo. */
.desktop-header:not(.mobile) .desktop-user-panel,
.desktop-header:not(.mobile) .desktop-user-panel > .z-vbox,
.desktop-header:not(.mobile) .desktop-user-panel .z-vbox-inner {
	height: 48px !important;
	vertical-align: middle !important;
}
.desktop-header:not(.mobile) .desktop-user-panel td {
	vertical-align: middle !important;
}
.pi-account-zone {
	height: 48px !important;
	gap: 12px;
	display: inline-flex !important;
	align-items: center !important;
	padding-right: 16px;
}
.pi-account-zone > * {
	margin: 0 !important;
}

/* ---- Settings actions as inline ADS subtle text buttons ----------
 * Preference + Feedback (the old gear-popup items) now render directly
 * in the header as Atlassian "subtle" buttons: 14px medium text, subtle
 * color, transparent until hover. Labels come from UserPanel.java; ids
 * (preference/feedback) are unchanged so all click wiring still fires,
 * and each opens its own popup anchored to itself.
 */
.pi-account-zone .pi-account-link.z-toolbarbutton,
.pi-account-zone .pi-account-link {
	display: inline-flex !important;
	align-items: center;
	height: 32px !important;
	min-height: 32px;
	padding: 0 8px !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 6px;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 32px;
	color: var(--pi-text-subtle, #44546F) !important;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background 120ms ease-in-out, color 120ms ease-in-out;
}
/* ToolBarButton inner label spans inherit the subtle text style */
.pi-account-zone .pi-account-link .z-toolbarbutton-cnt,
.pi-account-zone .pi-account-link .z-toolbarbutton-content,
.pi-account-zone .pi-account-link span {
	color: inherit !important;
	font-size: 14px !important;
	font-weight: 500 !important;
}
.pi-account-zone .pi-account-link:hover {
	background: var(--pi-overlay-091e420f, #091E420F) !important;
	color: var(--pi-text-default, #172B4D) !important;
}
.pi-account-zone .pi-account-link:active {
	background: var(--pi-overlay-091e4224, #091E4224) !important;
}
/* Gap between the two links (ZK <hbox> renders as a table, so flex
 * `gap` is ignored — separate with an explicit left margin). */
.pi-account-zone .pi-link-feedback {
	margin-left: 4px !important;
}

/* Assistant trigger (theme header's piNavAssistantSlot, filled only when
 * com.pipra.ai.chatbot is deployed) sits directly left of Preferences.
 * It reuses the .pi-account-link base look; the same hbox-as-table
 * limitation above means the gap needs an explicit right margin. The
 * chatbot's toolbarbutton (chatbot-nav.zul) sets no icon — it is a
 * teammate's plugin, so the AI sparkle is painted purely here via ::before.
 * .pi-link-assistant already carries .pi-account-link's `display:inline-flex`,
 * so the pseudo-element lands as the first flex item, ahead of the label. */
.pi-account-zone .pi-link-assistant {
	margin-right: 4px !important;
}
.pi-account-zone .pi-link-assistant::before {
	content: "";
	display: inline-block;
	flex: none;
	width: 16px;
	height: 16px;
	margin-right: 6px;
	background-color: currentColor;
	/* Same glyph as the Context panel's "Ask AI" icon
	 * (pux-context-panel.css.dsp .pux-ctx-ico-ai) — one AI concept, one
	 * glyph, everywhere. currentColor keeps it in step with the link's
	 * subtle/hover/active text colour, same as that icon inheriting its
	 * heading colour. */
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l1.8 4.7 4.7 1.8-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z'/><path d='M19 14l.6 1.6 1.6 .6-1.6 .6L19 19l-.6-1.6-1.6-.6 1.6-.6z'/></svg>") no-repeat center / contain;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l1.8 4.7 4.7 1.8-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z'/><path d='M19 14l.6 1.6 1.6 .6-1.6 .6L19 19l-.6-1.6-1.6-.6 1.6-.6z'/></svg>") no-repeat center / contain;
}

/* Marketplace trigger (theme header's piNavMarketplaceSlot, filled only when
 * com.pipra.marketplace is deployed) sits directly left of Preferences,
 * right after the Assistant trigger. Icon + label, same subtle look. */
.pi-account-zone .pi-link-marketplace {
	position: relative;
	margin-right: 4px !important;
}
.pi-account-zone .pi-link-marketplace .z-toolbarbutton-icon {
	font-size: 14px;
	margin-right: 6px;
}
/* Update dot: toggled server-side by MarketplaceNavComposer (adds/removes
 * the "pi-has-updates" sclass) when new catalog items or releases exist. */
.pi-account-zone .pi-link-marketplace.pi-has-updates::after {
	content: "";
	position: absolute;
	top: 4px;
	right: 2px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pi-red-c9372c, #C9372C);
	box-shadow: 0 0 0 2px var(--pi-bg-surface, #fff);
}

/* Updates trigger (piNavUpdatesSlot, filled by com.pipra.desktop's ReleaseNotesUi when com.pipra.updater
 * runs), right after Marketplace, same subtle look. Its dot is the shared .pi-dot, placed on the icon's
 * corner; the button's tooltip says the same in words. */
.pi-account-zone .pi-nav-updates-slot {
	position: relative;
	display: inline-flex;
	align-items: center;
}
.pi-account-zone .pi-link-updates {
	margin-right: var(--pi-space-50) !important;
}
.pi-account-zone .pi-link-updates .z-toolbarbutton-icon {
	font-size: var(--pi-font-size-100);
	margin-right: var(--pi-space-75);
}
.pi-account-zone .pi-nav-updates-dot {
	position: absolute;
	top: var(--pi-space-50);
	left: var(--pi-space-150);
	box-shadow: 0 0 0 var(--pi-space-25) var(--pi-bg-default);
	pointer-events: none;
}

/* Relabel the "Preference" action to "Preferences". The label text is
 * set in core UserPanel.java, so to keep core untouched we hide the
 * original word and inject the corrected one at the theme level (same
 * ::after technique used for the widget "Refresh data" label). */
.pi-account-zone .pi-link-pref .z-toolbarbutton-cnt,
.pi-account-zone .pi-link-pref .z-toolbarbutton-content,
.pi-account-zone .pi-link-pref span {
	font-size: 0 !important;
}
.pi-account-zone .pi-link-pref .z-toolbarbutton-content::after,
.pi-account-zone .pi-link-pref .z-toolbarbutton-cnt::after {
	content: "Preferences";
	font-size: 14px;
	font-weight: 500;
	color: inherit;
}

/* ---- Profile avatar --------------------------------------------- */
.pi-account-zone .pi-header-avatar {
	width: 32px !important;
	min-width: 32px;
	height: 32px !important;
	padding: 0 !important;
	/* Real left margin (NOT flex `gap`): ZK renders <hbox> as a table, so
	 * `gap` is ignored. This margin is what actually separates the
	 * Feedback text button from the avatar. */
	margin: 0 0 0 12px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border: none !important;
	border-radius: 50% !important;
	cursor: pointer;
	/* Subtle ADS brand gradient + soft elevation ring for depth */
	background: linear-gradient(135deg, var(--pi-chart-1, #1D7AFC) 0%, var(--pi-text-brand, #0C66E4) 100%) !important;
	box-shadow: 0 1px 2px var(--pi-shadow-navy-20, rgba(9,30,66,0.20)), inset 0 0 0 1px var(--pi-shadow-white-12, rgba(255,255,255,0.12)) !important;
	transition: box-shadow 120ms ease-in-out, background 120ms ease-in-out, transform 120ms ease-in-out;
}
.pi-account-zone .pi-header-avatar::before {
	content: "";
	width: 19px;
	height: 19px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 19px 19px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}
.pi-account-zone .pi-header-avatar:hover {
	background: linear-gradient(135deg, var(--pi-chart-1, #1D7AFC) 0%, var(--pi-bg-brand-hover, #0055CC) 100%) !important;
	box-shadow: 0 0 0 4px var(--pi-overlay-091e4214, #091E4214), 0 1px 2px var(--pi-shadow-navy-25, rgba(9,30,66,0.25)) !important;
}
.pi-account-zone .pi-header-avatar:active {
	transform: scale(0.96);
	box-shadow: 0 0 0 4px var(--pi-overlay-091e4224, #091E4224), 0 1px 2px var(--pi-shadow-navy-25, rgba(9,30,66,0.25)) !important;
}

/* ==================================================================
 * Dropdown menu card (ZK <popup sclass="pi-account-menu">)
 * ================================================================== */
.pi-account-menu.z-popup,
.pi-account-menu {
	min-width: 320px;
	padding: 8px !important;
	background: var(--pi-bg-default, #FFFFFF) !important;
	border: none !important;
	border-radius: 8px !important;
	box-shadow: 0 8px 12px -4px var(--pi-shadow-navy-25, rgba(9,30,66,0.25)), 0 0 1px var(--pi-shadow-navy-31, rgba(9,30,66,0.31)) !important;
}
.pi-account-menu.pi-profile-menu.z-popup,
.pi-account-menu.pi-profile-menu {
	min-width: 260px;
	max-width: 300px;
}
/* neutralise ZK popup inner wrappers — including ZK's default
 * rgba(0,0,0,0.35) 0 0 15px inner glow, which otherwise shows as a dark
 * all-around halo behind the card instead of the crisp ADS drop shadow
 * (the elevation lives only on the outer .pi-account-menu card). */
.pi-account-menu .z-popup-content,
.pi-account-menu .z-popup-cave {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.pi-account-menu .pi-menu-list,
.pi-account-menu .z-vlayout {
	display: block;
	width: 100%;
}

/* Section caption ("Settings" / "Account") — Jira "Personal settings" style */
.pi-account-menu .pi-menu-caption {
	display: block;
	padding: 6px 12px 10px 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	color: var(--pi-text-subtlest, #626F86);
}

/* Identity block (id=loginUserAndRole) — name@client.org/role */
.pi-account-menu .pi-account-identity {
	display: block;
	padding: 2px 12px 10px 12px;
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	color: var(--pi-text-default, #172B4D);
	white-space: normal;
	word-break: break-word;
	cursor: pointer;
}
.pi-account-menu .pi-account-identity:hover {
	text-decoration: underline;
	text-decoration-color: var(--pi-nav-icon, #8590A2);
}

/* Profile menu: present the identity as an Atlassian account header —
 * a circular avatar glyph (matching the header avatar) + the name/role
 * text — and use a subtle row wash on hover instead of an underline. */
.pi-profile-menu .pi-account-identity {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px 12px 12px;
	border-radius: 6px;
	min-width: 0;            /* let the long identity text wrap, not stretch the card */
	white-space: normal;
	word-break: break-word;
	overflow-wrap: anywhere;
	line-height: 18px;
}
.pi-profile-menu .pi-account-identity::before {
	content: "";
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"),
		linear-gradient(135deg, var(--pi-chart-1, #1D7AFC) 0%, var(--pi-text-brand, #0C66E4) 100%);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px 16px, cover;
	box-shadow: 0 1px 2px var(--pi-shadow-navy-20, rgba(9,30,66,0.20)), inset 0 0 0 1px var(--pi-shadow-white-12, rgba(255,255,255,0.12));
}
.pi-profile-menu .pi-account-identity:hover {
	text-decoration: none;
	background: var(--pi-overlay-091e420f, #091E420F);
}

/* Divider */
.pi-account-menu .pi-menu-sep,
.pi-account-menu .pi-menu-sep.z-separator {
	height: 1px !important;
	margin: 4px 0 !important;
	padding: 0 !important;
	border: none !important;
	background: var(--pi-overlay-091e4224, #091E4224) !important;
}

/* ---- Menu rows (the original toolbarbuttons) -------------------- *
 * Atlassian list-item: leading icon (vertically centred via absolute
 * positioning) + a title; the two Settings rows add a grey description
 * line (CSS ::after) so they read like the Jira "Personal settings"
 * card. Clicks on icon/title/description all bubble to the <a>, so the
 * original onClick wiring is untouched.
 */
.pi-account-menu .pi-menu-item.z-toolbarbutton,
.pi-account-menu .pi-menu-item {
	position: relative;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	box-sizing: border-box;
	min-height: 40px;
	height: auto !important;
	padding: 7px 12px 7px 44px !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 6px;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 18px;
	color: var(--pi-text-default, #172B4D) !important;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background 120ms ease-in-out;
}
.pi-account-menu .pi-menu-item .z-toolbarbutton-cnt,
.pi-account-menu .pi-menu-item .z-toolbarbutton-content,
.pi-account-menu .pi-menu-item span {
	color: var(--pi-text-default, #172B4D) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 18px !important;
}
.pi-account-menu .pi-menu-item:hover {
	background: var(--pi-overlay-091e420f, #091E420F) !important;
}
.pi-account-menu .pi-menu-item:active {
	background: var(--pi-bg-selected, #E9F2FF) !important;
}

/* Leading icon per row — absolutely centred so it aligns to the middle
 * of a one- OR two-line row. */
.pi-account-menu .pi-menu-item::before {
	content: "";
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
}

.pi-account-menu .pi-mi-role::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='17 1 21 5 17 9'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpolyline points='7 23 3 19 7 15'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E");
}
.pi-account-menu .pi-mi-logout::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
}

/* ==================================================================
 * Hide the redundant grid / "open menu" button in the search bar.
 * Navigation now lives only in the sidebar, so this header affordance
 * (menuButton, opens the MenuTreePanel popup) is no longer needed.
 * It stays in the DOM so HeaderPanel's Java wiring + the Ctrl+M
 * shortcut keep working — it is just not displayed.
 * ================================================================== */
.desktop-header-left .btn-small,
.desktop-header-left .z-button.btn-small {
	display: none !important;
}

/* ==================================================================
 * PUX Entity Explorer trigger (docs/ux/Info Window.md).
 *
 * Lives in the right-hand utility cluster now, not next to the global
 * search bandbox. It previously sat immediately right of that bandbox
 * wearing `z-icon-search` - two magnifiers side by side, one filtering a
 * dropdown and one opening a full-screen record browser, with nothing to
 * tell them apart. Moved into .pi-account-zone (header.zul) and given its
 * own glyph + a divider so it reads as a separate tool.
 *
 * Given a persistent surface rather than the bare-glyph treatment the
 * other links use: it's the only icon-only control in this cluster (the
 * Assistant/Marketplace/Preferences/Feedback links all carry labels), so
 * without a chip it reads as decoration rather than an action. A CSS
 * `content:` label is deliberately NOT used - that bypasses the message
 * catalogue (see the hardcoded-English note in the cross-screen debt
 * list); the accessible name comes from the tooltip PiHeaderPanel sets
 * through Msg.getMsg, which is translatable.
 * ================================================================== */
.pi-account-zone .pi-header-search-trigger {
	width: 32px !important;
	min-width: 32px;
	height: 32px !important;
	margin: 0 var(--pi-space-100, 8px) 0 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: var(--pi-bg-neutral, #F1F2F4) !important;
	border: none !important;
	border-radius: var(--pi-radius-md, 4px);
	color: var(--pi-icon-default, #44546F);
	cursor: pointer;
	position: relative;
	/* the ::after divider is drawn outside the button's own box, and ZK
	   buttons ship overflow:hidden - without this it gets clipped away */
	overflow: visible !important;
	transition: background 120ms ease-in-out, color 120ms ease-in-out;
}

.pi-account-zone .pi-header-search-trigger:hover {
	background: var(--pi-overlay-091e4224, #091E4224) !important;
	color: var(--pi-text-default, #172B4D);
}

/* Vertical divider between this tool and the Assistant link, separating
   "find records" from the assistant/marketplace/account group. Drawn as a
   pseudo-element so no extra markup is needed in header.zul. */
.pi-account-zone .pi-header-search-trigger::after {
	content: "";
	position: absolute;
	right: calc(var(--pi-space-100, 8px) * -1);
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 20px;
	background: var(--pi-border-subtle, #DCDFE4);
}

/* Core's font-icon (PiHeaderPanel sets z-icon-search, and that class lives
   in com.pipra.desktop - not ours to change) is hidden and replaced with a
   mask glyph here. Same mask technique as .pi-link-assistant::before above.

   Glyph is a layered stack, not a magnifier of any kind. A magnifier - even
   a records-plus-magnifier variant - still reads as "search", which is the
   global search box's job and the exact confusion that moving this button
   was meant to end. A stack says "collections of records", which is what
   this actually opens: a browser over every configured entity TYPE (Asset
   Nodes, Business Partners, Orders...), not a query box. Also distinct at a
   glance from its neighbours in this cluster - the Assistant sparkle and
   the Marketplace storefront. */
.pi-account-zone .pi-header-search-trigger [class^="z-icon-"] {
	display: none !important;
}

.pi-account-zone .pi-header-search-trigger::before {
	content: "";
	display: inline-block;
	flex: none;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l9 4.5-9 4.5-9-4.5z'/><path d='M3 12l9 4.5 9-4.5'/><path d='M3 16.5l9 4.5 9-4.5'/></svg>") no-repeat center / contain;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l9 4.5-9 4.5-9-4.5z'/><path d='M3 12l9 4.5 9-4.5'/><path d='M3 16.5l9 4.5 9-4.5'/></svg>") no-repeat center / contain;
}

/* ==================================================================
 * Compact top-nav bar — Atlassian height (48px) and centred padding.
 * The header had no explicit height (it grew to fit content + ZK's
 * default cell padding). Pin the whole north band to 48px; the 32px
 * logo / search / account controls then sit with an even ~8px above
 * and below. Desktop only — mobile keeps its 36px rule.
 * ================================================================== */
.desktop-north,
.desktop-north-include {
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	box-sizing: border-box !important;
}
.desktop-header:not(.mobile) {
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	background: var(--pi-bg-default, #FFFFFF) !important;
	border-bottom: 1px solid var(--pi-border-input, #DFE1E6) !important;
}
/* inner hbox / vbox fill the bar and vertically centre their content
 * (strip ZK's default vertical margins/padding that inflated the bar) */
.desktop-header:not(.mobile) > .z-hbox,
.desktop-header:not(.mobile) .desktop-header-left,
.desktop-header:not(.mobile) .desktop-user-panel {
	height: 48px !important;
	min-height: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* ==================================================================
 * ACCOUNT POPUPS — Atlassian Design System cards
 *
 * Scoped via custom sclasses set in UserPanel.java:
 *   .pi-pref-popup    -> the WPreference window (Preference)  [.z-window]
 *   .pi-feedback-menu -> the feedback Menupopup (Feedback)    [.z-menupopup]
 * Scoping by sclass keeps these styles OFF every other ZK window /
 * context menu in the app. Card chrome = 8px radius, ADS elevation
 * shadow, no border, 8px inner padding; rows = 14px/500 list items
 * with the subtle hover wash.
 * ================================================================== */

/* ---- shared card chrome ----------------------------------------- */
.pi-pref-popup.z-window,
.pi-feedback-menu.z-menupopup {
	border: none !important;
	border-radius: 8px !important;
	background: var(--pi-bg-default, #FFFFFF) !important;
	box-shadow: 0 8px 12px -4px var(--pi-shadow-navy-25, rgba(9,30,66,0.25)), 0 0 1px var(--pi-shadow-navy-31, rgba(9,30,66,0.31)) !important;
	overflow: hidden;
}

/* ---- Preference window (WPreference) ----------------------------- */
.pi-pref-popup.z-window {
	min-width: 260px !important;
}
.pi-pref-popup .z-window-content {
	background: var(--pi-bg-default, #FFFFFF) !important;
	border: none !important;
	padding: 8px !important;
}
/* Section caption — matches the Profile menu's "Account" / Feedback's
 * "Feedback" header so all three account cards share one pattern. */
.pi-pref-popup .z-window-content::before {
	content: "Preferences";
	display: block;
	padding: 6px 12px 8px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--pi-text-subtlest, #626F86);
}
/* The "More Preferences / My Profile / Manage Gadgets" anchors render as
 * <a> inside <div style="margin:5px"> — make them ADS list rows. The
 * inline margin has no !important, so this overrides it. */
.pi-pref-popup .z-window-content > div {
	margin: 0 !important;
	padding: 0 !important;
}
/* The top two checkboxes (Automatic Commit / New Record) render as a
 * vlayout of hlayout rows where ZK puts an EMPTY label cell before the
 * control. Collapse that empty cell so the checkbox aligns flush-left
 * with the link rows, and strip the rows' inter-row padding. The DOM
 * (label cell + flex wiring) is untouched — it's purely hidden. */
.pi-pref-popup .z-vlayout-inner {
	padding-bottom: 0 !important;
}
.pi-pref-popup .z-hlayout-inner:not(.z-flex-item) {
	display: none !important;
}
.pi-pref-popup .z-hlayout-inner.z-flex-item {
	flex: 1 1 auto !important;
	padding-right: 0 !important;
}
.pi-pref-popup a {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 8px 12px !important;
	border-radius: 6px;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 18px;
	color: var(--pi-text-default, #172B4D) !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 120ms ease-in-out;
}
.pi-pref-popup a:hover {
	background: var(--pi-overlay-091e420f, #091E420F) !important;
	text-decoration: none !important;
}
/* Checkbox preference rows (Automatic Commit / New Record / Dictionary
 * Maintenance / Log Migration Script) — ADS list rows: leading glyph +
 * 14px/500 label, 12px gutter matching the link rows, subtle hover wash. */
.pi-pref-popup .z-checkbox {
	display: flex !important;
	align-items: center;
	gap: 8px;
	width: 100% !important;
	box-sizing: border-box;
	padding: 7px 12px !important;
	border-radius: 6px;
	font-size: 14px !important;
	color: var(--pi-text-default, #172B4D) !important;
	cursor: pointer;
	transition: background 120ms ease-in-out;
}
.pi-pref-popup .z-checkbox:hover {
	background: var(--pi-overlay-091e420f, #091E420F) !important;
}
.pi-pref-popup .z-checkbox-content,
.pi-pref-popup .z-checkbox-cnt,
.pi-pref-popup label {
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 18px !important;
	color: var(--pi-text-default, #172B4D) !important;
	cursor: pointer;
}
/* Generic ZK separator (the &nbsp;-filled .z-separator between the link
 * rows and the maintenance checkboxes) -> a 1px ADS hairline divider. */
.pi-pref-popup .z-separator {
	height: 1px !important;
	min-height: 1px !important;
	margin: 4px 0 !important;
	padding: 0 !important;
	border: none !important;
	background: var(--pi-overlay-091e4224, #091E4224) !important;
	font-size: 0 !important;
	line-height: 0 !important;
	overflow: hidden;
}
/* Save toolbar — right aligned ADS primary button */
.pi-pref-popup .z-toolbar {
	background: transparent !important;
	border: none !important;
	border-top: 1px solid var(--pi-overlay-091e4224, #091E4224) !important;
	margin-top: 6px !important;
	padding: 8px 4px 2px 4px !important;
	text-align: right;
}
.pi-pref-popup .z-toolbar .z-toolbarbutton {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 30px;
	background: var(--pi-text-brand, #0C66E4) !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 0 12px !important;
	color: var(--pi-bg-default, #FFFFFF) !important;
	box-shadow: none !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	transition: background 120ms cubic-bezier(0.2, 0, 0, 1);
}
.pi-pref-popup .z-toolbar .z-toolbarbutton:hover {
	background: var(--pi-bg-brand-hover, #0055CC) !important;
}
/* The Save glyph inherited a large size from .large-toolbarbutton —
 * pin it to the 16px ADS icon size so it reads as a button, not a big
 * floating icon, and add the explicit "Save" label beside it. */
.pi-pref-popup .z-toolbar .z-toolbarbutton i,
.pi-pref-popup .z-toolbar .z-toolbarbutton [class^="z-icon-"] {
	color: var(--pi-bg-default, #FFFFFF) !important;
	font-size: 16px !important;
	line-height: 1 !important;
}
.pi-pref-popup .z-toolbar .z-icon-Save::after {
	content: "Save";
	font-size: 14px;
	font-weight: 500;
	color: var(--pi-bg-default, #FFFFFF);
}

/* ---- Feedback menu (Menupopup) ---------------------------------- *
 * Brought in line with the Profile menu: a "Feedback" section caption
 * plus a leading icon per row (Create New Request / EMail to Support).
 * The icons also give the rows a clear clickable hierarchy. The ZK
 * placeholder <img class="z-menuitem-image"> is hidden and replaced by
 * an ADS glyph — DOM and onClick wiring untouched. */
.pi-feedback-menu.z-menupopup {
	min-width: 260px !important;
	padding: 8px !important;
}
.pi-feedback-menu .z-menupopup-content,
.pi-feedback-menu .z-menupopup-cnt {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	list-style: none !important;
	margin: 0 !important;
}
/* Section caption — matches .pi-menu-caption ("Account") on the profile menu */
.pi-feedback-menu .z-menupopup-content::before {
	content: "Feedback";
	display: block;
	padding: 6px 12px 8px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--pi-text-subtlest, #626F86);
}
.pi-feedback-menu .z-menuitem {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 6px;
	background: transparent !important;
	cursor: pointer;
	transition: background 120ms cubic-bezier(0.2, 0, 0, 1);
}
.pi-feedback-menu .z-menuitem .z-menuitem-content {
	position: relative;
	display: flex !important;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	padding: 8px 12px 8px 40px !important;
	color: var(--pi-text-default, #172B4D) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 18px !important;
	text-decoration: none !important;
}
.pi-feedback-menu .z-menuitem .z-menuitem-text {
	color: var(--pi-text-default, #172B4D) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	padding: 0 !important;
}
/* hide ZK's 1px transparent placeholder image; we draw our own glyph */
.pi-feedback-menu .z-menuitem .z-menuitem-image {
	display: none !important;
}
.pi-feedback-menu .z-menuitem .z-menuitem-content::before {
	content: "";
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
}
/* Create New Request -> file-plus glyph (#44546F, ADS icon colour) */
.pi-feedback-menu .z-menuitem:first-child .z-menuitem-content::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='12' y1='18' x2='12' y2='12'/%3E%3Cline x1='9' y1='15' x2='15' y2='15'/%3E%3C/svg%3E");
}
/* EMail to Support -> mail glyph */
.pi-feedback-menu .z-menuitem:last-child .z-menuitem-content::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}
.pi-feedback-menu .z-menuitem:hover,
.pi-feedback-menu .z-menuitem.z-menuitem-selected {
	background: var(--pi-overlay-091e420f, #091E420F) !important;
}

/* ==================================================================
 * GLOBAL SEARCH DROPDOWN — Atlassian Design System card
 *
 * The Bandbox popup is appended to <body> but ZK copies the bandbox
 * sclass onto it, so everything below is scoped to
 * `.z-bandbox-popup.global-search-box` — CSS only, zero Java, and no
 * other bandbox/listbox in the app is affected. Functional sizing
 * (inline width/height set by ZKUpdateUtil) is left untouched.
 * ================================================================== */

/* ---- card chrome -------------------------------------------------- */
.z-bandbox-popup.global-search-box {
	/* ZK anchors the popup at y=32 but the 32px field (centred in the
	 * 48px bar) ends at y=40 — 12px clears it plus a 4px ADS gap */
	margin-top: 12px;
	border: none !important;
	border-radius: 8px !important;
	background: var(--pi-bg-default, #FFFFFF) !important;
	box-shadow: 0 8px 12px -4px var(--pi-shadow-navy-25, rgba(9,30,66,0.25)), 0 0 1px var(--pi-shadow-navy-31, rgba(9,30,66,0.31)) !important;
	overflow: hidden !important;
	padding: 0 !important;
}
.z-bandbox-popup.global-search-box .z-bandpopup {
	background: var(--pi-bg-default, #FFFFFF) !important;
	border: none !important;
}

/* ---- ADS tabs (Menu | Search) ------------------------------------ *
 * Markup: ul.z-tabs-content > li.z-tab > .z-tab-content > .z-tab-text
 * Strip the boxed/gradient ZK tab look; text-only tabs with a 2px
 * brand indicator under the selected one, on a hairline track. */
.z-bandbox-popup.global-search-box .z-tabbox,
.z-bandbox-popup.global-search-box .z-tabs,
.z-bandbox-popup.global-search-box .z-tabs-content {
	background: var(--pi-bg-default, #FFFFFF) !important;
	border: none !important;
	box-shadow: none !important;
}
.z-bandbox-popup.global-search-box .z-tabs {
	border-bottom: 2px solid var(--pi-overlay-091e420f, #091E420F) !important;
	padding: 4px 8px 0 8px !important;
	box-sizing: border-box;
}
.z-bandbox-popup.global-search-box .z-tab {
	background: transparent !important;
	border: none !important;
	border-bottom: 2px solid transparent !important;
	margin: 0 8px -2px 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}
.z-bandbox-popup.global-search-box .z-tab .z-tab-content {
	padding: 8px 10px !important;
	background: transparent !important;
	border: none !important;
}
.z-bandbox-popup.global-search-box .z-tab .z-tab-text {
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 18px !important;
	color: var(--pi-text-subtle, #44546F) !important;
}
.z-bandbox-popup.global-search-box .z-tab:hover .z-tab-text {
	color: var(--pi-text-brand, #0C66E4) !important;
}
.z-bandbox-popup.global-search-box .z-tab.z-tab-selected {
	border-bottom: 2px solid var(--pi-text-brand, #0C66E4) !important;
	background: transparent !important;
}
.z-bandbox-popup.global-search-box .z-tab.z-tab-selected .z-tab-text {
	color: var(--pi-text-brand, #0C66E4) !important;
}

/* ---- result panels / list ---------------------------------------- */
.z-bandbox-popup.global-search-box .z-tabpanels,
.z-bandbox-popup.global-search-box .z-tabpanel,
.z-bandbox-popup.global-search-box .global-search-tabpanel {
	background: var(--pi-bg-default, #FFFFFF) !important;
	border: none !important;
	padding: 4px !important;
	box-sizing: border-box;
}
.z-bandbox-popup.global-search-box .z-listbox {
	border: none !important;
	background: var(--pi-bg-default, #FFFFFF) !important;
}
/* kill zebra striping + row borders -> clean white rows.
 * NOTE: the breeze theme paints the stripe on the CELLS
 * (`.z-listbox-odd > .z-listcell` = #f7f7f7), not the row, so the
 * cells must be made transparent for the row washes to show. */
.z-bandbox-popup.global-search-box .z-listitem,
.z-bandbox-popup.global-search-box .z-listbox-odd,
.z-bandbox-popup.global-search-box tr[class*="-odd"] {
	background: var(--pi-bg-default, #FFFFFF) !important;
}
.z-bandbox-popup.global-search-box .z-listitem > .z-listcell {
	background: transparent !important;
	box-shadow: none !important;
}
.z-bandbox-popup.global-search-box .z-listcell,
.z-bandbox-popup.global-search-box .z-listcell-content {
	border: none !important;
	font-size: 14px !important;
	color: var(--pi-text-default, #172B4D) !important;
	line-height: 20px !important;
}
/* roomier rows — pad only the text (first) cell; the narrow trailing
 * icon columns keep their own padding so the star/plus don't squeeze */
.z-bandbox-popup.global-search-box .z-listitem > .z-listcell:first-child {
	padding: 8px 12px !important;
}
.z-bandbox-popup.global-search-box .z-listitem > .z-listcell {
	padding-top: 8px;
	padding-bottom: 8px;
}
/* hover + keyboard-selected row: ADS subtle / selected washes */
.z-bandbox-popup.global-search-box .z-listitem:hover,
.z-bandbox-popup.global-search-box .z-listitem:hover > .z-listcell {
	background: var(--pi-overlay-091e420f, #091E420F) !important;
}
.z-bandbox-popup.global-search-box .z-listitem.z-listitem-selected,
.z-bandbox-popup.global-search-box .z-listitem.z-listitem-selected > .z-listcell,
.z-bandbox-popup.global-search-box .z-listitem.highlight,
.z-bandbox-popup.global-search-box .z-listitem.highlight > .z-listcell {
	background: var(--pi-bg-selected, #E9F2FF) !important;
}
/* row icons: subtle grey; favourite (filled star) in ADS yellow.
 * Colour ONLY — no size/layout overrides (FontAwesome glyphs clip if
 * their column is squeezed). */
.z-bandbox-popup.global-search-box .z-listcell [class*="z-icon-"] {
	color: var(--pi-text-subtlest, #626F86) !important;
}
.z-bandbox-popup.global-search-box .z-listcell .z-icon-star {
	color: var(--pi-star-ffab00, #FFAB00) !important;
}

.z-bandbox-popup.global-search-box .z-listitem > .z-listcell:first-child img {
	width: 20px !important;
	height: 20px !important;
	object-fit: contain;
	vertical-align: middle !important;
	filter: grayscale(100%);
	transition: filter var(--pi-duration-normal, 200ms) var(--pi-ease-standard, ease);
}
.z-bandbox-popup.global-search-box .z-listitem:hover > .z-listcell:first-child img,
.z-bandbox-popup.global-search-box .z-listitem.z-listitem-selected > .z-listcell:first-child img,
.z-bandbox-popup.global-search-box .z-listitem.highlight > .z-listcell:first-child img {
	filter: grayscale(0%);
}

.z-bandbox-popup.global-search-box .menu-search-list-toolbar-cell .fav-new-btn,
.z-bandbox-popup.global-search-box .menu-search-list-toolbar-cell .fav-new-btn .z-toolbarbutton-content {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}
.z-bandbox-popup.global-search-box .menu-search-list-toolbar-cell .fav-new-btn {
	border-radius: var(--pi-radius-sm, 3px) !important;
}
.z-bandbox-popup.global-search-box .menu-search-list-toolbar-cell .fav-new-btn:hover {
	background: var(--pi-overlay-091e420f, #091E420F) !important;
}

.z-bandbox-popup.global-search-box .z-listhead,
.z-bandbox-popup.global-search-box .z-listheader,
.z-bandbox-popup.global-search-box .z-listheader .z-listheader-content {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	text-transform: none !important;
}

/* ==================================================================
 * Sidebar collapse/expand toggle — Jira-style panel icon next to the
 * logo. The button itself is a theme zul <div sclass="pi-nav-toggle">
 * in header.zul; a client script forwards clicks to the ZK west
 * region's native collapse/expand controls (no new logic).
 * Tokens: icon #44546F (text.subtle), hover #F1F2F4 (hover wash),
 * pressed #DCDFE4, radius 6px, motion 100ms cubic-bezier(0.2,0,0,1).
 * ================================================================== */
.desktop-header-left .pi-nav-toggle {
	width: 32px;
	height: 32px;
	flex: 0 0 auto;
	cursor: pointer;
	border-radius: 6px;
	margin-left: 0; margin-right: 8px; /* now LEFT of logo: container gutter + 8px gap before logo */
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
	/* panel-left icon, chevron pointing INTO the sidebar = "collapse";
	   stroke = #44546F (ADS text.subtle) */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3.75' y='4.75' width='16.5' height='14.5' rx='2.25' stroke='%2344546F' stroke-width='1.5'/%3E%3Cpath d='M9.5 5v14' stroke='%2344546F' stroke-width='1.5'/%3E%3Cpath d='M16.25 9.5 13.75 12l2.5 2.5' stroke='%2344546F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	transition: background-color 100ms cubic-bezier(0.2, 0, 0, 1);
}
.desktop-header-left .pi-nav-toggle:hover {
	background-color: var(--pi-bg-neutral, #F1F2F4); /* ADS hover wash */
}
.desktop-header-left .pi-nav-toggle:active {
	background-color: var(--pi-border-subtle, #DCDFE4); /* ADS pressed */
}
/* collapsed state (class set by the header.zul sync script):
   chevron flips to point OUT of the sidebar = "expand" */
.desktop-header-left .pi-nav-toggle.pi-nav-toggle-closed {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3.75' y='4.75' width='16.5' height='14.5' rx='2.25' stroke='%2344546F' stroke-width='1.5'/%3E%3Cpath d='M9.5 5v14' stroke='%2344546F' stroke-width='1.5'/%3E%3Cpath d='M13.75 9.5 16.25 12l-2.5 2.5' stroke='%2344546F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* mobile header uses the popup menu (westBtn), not the west region */
.desktop-header.mobile .pi-nav-toggle {
	display: none;
}

/* =====================================================================
   GLOBAL HELP DRAWER — Atlassian Design System drawer pattern.
   The context-help east region (.desktop-right-column.z-east) is restyled
   by the header.zul script (adds .pi-help-drawer) into a fixed, full-height
   right drawer with a single header (title + Close). Reusable container:
   the original content is hidden for now. View/theme layer only.
   ===================================================================== */
.desktop-right-column.z-east.pi-help-drawer {
	width: 360px !important;                       /* consistent ADS drawer width */
	background: var(--pi-bg-default, #FFFFFF) !important;                /* white surface */
	border-left: 1px solid var(--pi-border-subtle, #DCDFE4) !important;     /* subtle separation from content */
	box-shadow: -8px 0 16px var(--pi-shadow-navy-08, rgba(9, 30, 66, 0.08)); /* soft right-drawer elevation */
	overflow: hidden;
	transform: translateX(100%);                   /* off-screen when closed */
	transition: transform 220ms cubic-bezier(0.2, 0, 0, 1); /* smooth slide */
	z-index: 300;
}
.desktop-right-column.z-east.pi-help-drawer.pi-drawer-in {
	transform: translateX(0);                      /* slid in */
}
/* Empty the content for now — reusable container to be populated later. */
.desktop-right-column.z-east.pi-help-drawer .z-east-body {
	display: none !important;
}
/* Drawer header: title left, single Close action right. */
.pi-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 56px;
	box-sizing: border-box;
	padding: 0 16px 0 24px;                        /* ADS spacing */
	border-bottom: 1px solid var(--pi-border-hairline, #EBECF0);              /* hairline */
}
.pi-drawer-title {
	font-family: Inter, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;                               /* heading.small */
	line-height: 24px;
	font-weight: 600;
	color: var(--pi-text-default, #172B4D);                                /* text.default */
}
/* Close (X) — ADS subtle icon button, sits inline in the drawer header. */
.pi-help-close {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	cursor: pointer;
	border-radius: 6px;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px 16px;
	/* X icon, stroke #44546F (ADS text.subtle) */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%2344546F' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E");
	transition: background-color 100ms cubic-bezier(0.2, 0, 0, 1);
}
.pi-help-close:hover  { background-color: var(--pi-bg-neutral, #F1F2F4); } /* ADS hover wash */
.pi-help-close:active { background-color: var(--pi-border-subtle, #DCDFE4); } /* ADS pressed */


﻿

.menu-href {
	font-size: 11px;
	display: inline-flex;
    align-items: center;
	font-weight: normal;
	color: var(--pi-grey-333, #333) !important;
	text-decoration: none !important;
	padding-right: 4px;
}

.menu-href:hover, .menu-href:active {
	background : inherit;
	text-decoration: underline !important;
	color: var(--pi-blue-keyword, blue) !important;
}

.menu-href img {
	/*padding: 2px;
	padding-right: 4px;*/
	margin-right: 4px;
	width: 24px;
	height: 24px;
}

.menu-href-newbtn {
	/*height: 12px;
	line-height: 10px;
	padding-bottom: 2px;
	padding: 1px 1px;*/
	padding-left: 2px;
	margin-bottom: 2px;
}

.menu-href-newbtn img {
	width: 10px;
	height: 10px;
}

.menu-href-newbtn .z-toolbarbutton-content {
	height: 10px;
	width: 10px;
	display: inline-block;
	line-height: 10px;
}

.tree-search-combo .z-comboitem-img img {
	width: 16px;
	height: 16px;
}

.menu-search-panel .z-comboitem-image { 
	padding-bottom:4px; 
}

.menu-search-panel-container .z-panel-body {
	background-color: transparent;
}

.menu-search-panel-container .z-panel-top .z-toolbar.z-toolbar-panel {
	padding-bottom: 0px;
	padding-top: 8px;
}

.menu-panel .z-toolbar-panel {
	padding-right: 0;
}

.menu-panel {
	width: 100% !important;
	height: 100% !important;
	position: relative !important;
}

.menu-panel .z-tree {
	border: none !important;
	width: 100%;
}

.menu-search-toggle-box {
	display: inline-block;
	border: 1px solid var(--pi-grey-ababab, #ababab);
}

.menu-search-toggle-box .z-toolbarbutton-hover {
	border: none;
}

.menu-search-toggle-off {
	margin:0px; 
	padding: 1px 4px 1px 4px;
	border-radius: 0px;
}

.menu-search-toggle-on {
	background: var(--pi-grey-999999, #999999) !important;
	-webkit-box-shadow: 0 1px 4px var(--pi-shadow-black-30, rgba(0, 0, 0, 0.3)) inset !important;
	box-shadow: 0 1px 4px var(--pi-shadow-black-30, rgba(0, 0, 0, 0.3)) inset !important;
	margin:0px !important;
	padding: 1px 4px 1px 4px !important;
	border-radius: 0px;
}

.menu-search-toggle-on img, .menu-search-toggle-off img {
	height: 16px;
	width: 16px;
} 

.document-search-current-link {
	background-image:url(/webui/zkau/web/bdf04d0/breeze/zul/img/tree/item-sel.gif);
}

.global-search-box.z-bandbox > .z-bandbox-button {
	width: 24px;
}
.global-search-tabpanel {
	width: 600px;
}
@media screen and (max-width: 649px) {
	.global-search-box.z-bandbox-popup {
		width: 90% !important;
	}
	.global-search-tabpanel {
		width: 100%;
	}
}
.global-search-box.z-bandbox {
	width: 180px;
}
.global-search-box.z-bandbox > input.z-bandbox-input {
	width: 180px;
}
@media screen and (min-width: 500px) {
	.global-search-box.z-bandbox {
		width: 200px;
	}
	.global-search-box.z-bandbox > input.z-bandbox-input {
		width: 200px;
	}
}
@media screen and (min-width: 768px) {
	.global-search-box.z-bandbox {
		width: 250px;
	}
	.global-search-box.z-bandbox > input.z-bandbox-input {
		width: 250px;
	}
}
@media screen and (min-width: 1024px) {
	.global-search-box.z-bandbox {
		width: 300px;
	}
	.global-search-box.z-bandbox > input.z-bandbox-input {
		width: 300px;
	}
}

.menu-href [class^="z-icon-"] {
	font-size: larger;
	color: var(--pi-grey-333, #333);
	padding-right: 4px;
	text-align: center;
}
.menu-href [class^="z-icon-"]:before {
	width: 14px;
}
.menu-href-newbtn.z-toolbarbutton [class^="z-icon-"] {
	font-size: smaller;
	color: var(--pi-grey-333, #333);
}
.menu-href-newbtn.z-toolbarbutton,
.menu-href-newbtn.z-toolbarbutton .z-toolbarbutton-content {
	justify-content: center;
	align-items: center;
	display: inline-flex;
}

.menu-search-list-toolbar-cell.z-listcell > div.z-listcell-content {
	display: inline-flex; 
	align-items: center;
	justify-content: center;
}
.menu-search-list-toolbar-cell.z-listcell .fav-new-btn.z-toolbarbutton [class^="z-icon-"] {
	font-size: larger;
}

.z-menu-noimage.z-menupopup .z-menu-content > img.z-menu-image {
	display: none;
}
.z-menu-noimage.z-menupopup .z-menuitem-content > img.z-menuitem-image {
	display: none;
}
.z-menu-noimage.z-menupopup > .z-menupopup-separator {
	display: none;
}






.fav-new-btn {
}

.fav-new-btn img {
	height: var(--pi-space-200);
	width: var(--pi-space-200);
}


.dashboard-widget.z-panel {
	display: flex;
	flex-direction: column;
	justify-content: stretch;
}
.dashboard-widget > .z-panel-body {
	flex-grow: 1;
}

.statusline-wrapper {
	height: 100%;
}


.dashboard-layout {
	width: 100%;
	height: 100%;
	position: relative;
}

.dashboard-widget {
	margin-top: 1px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	width: 99%;
	height: 100%;
}

.dashboard-widget-max {
	margin: auto;
	width: auto;
}

.dashboard-widget.dashboard-widget-max > .z-panel-body > .z-panelchildren {
	overflow: auto;
}

.dashboard-report-iframe {
	min-height:300px;
	border: 1px solid lightgray;
	margin:auto;
	width: 99%;
}


.favourites-box {
	width: 100%;
	margin: auto;
	padding: 1px 0px 1px 0px;
}

.favourites-box .z-vbox {
	width: 100%;
}

.favourites-box .z-hbox {
	padding: 0px var(--pi-space-50);
	width: 100%;
}

.favourites-box .z-toolbar-start {
	float: right;
}
.favourites-box .trash-font-icon {
	font-family: FontAwesome;
	font-size: 20px;
}


.recentitems-box {
	width: 100%;
	margin: auto;
	padding: 1px 0px 1px 0px;
}

.recentitems-box A {
	display: block;
	padding: 1px 0px;
}

.recentitems-box .z-toolbar-start {
	float: right;
}
.recentitems-box A.trash-toolbarbutton {
	display: inline-block;
}

.fav-toolbar .z-toolbar-content{
	background-color: var(--pi-bg-e2e8f0, #E2E8F0) !important;
	padding: var(--pi-space-150) var(--pi-space-200);
	gap: var(--pi-space-400);
}

.fav-toolbar{
	background: none !important;
	border-bottom: none
}

.recentitems-box .trash-toolbarbutton .z-toolbarbutton-content {
	font-size: var(--pi-space-200);
}
.recentitems-box .trash-font-icon {
	font-family: FontAwesome;
	font-size: 20px;
}


.views-box {
	width: 100%;
	margin: auto;
	padding: 0;
}

.views-box .z-vbox {
	width: 100%;
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
	gap: 0 !important;
}

.views-box .z-toolbarbutton {
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
	padding: 14px 16px !important;
	border-bottom: 1px solid var(--pi-bg-surface-soft, #F4F5F7);
	cursor: pointer;
	transition: background 100ms ease;
}

.views-box .z-toolbarbutton:hover {
	background: var(--pi-bg-sunken, #F7F8F9) !important;
}

.views-box .z-toolbarbutton-content {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--pi-text-default, #172B4D) !important;
	flex: 1;
}

.views-box .z-toolbarbutton [class^="z-icon"] {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 32px !important;
	height: 32px !important;
	min-width: 32px;
	border-radius: 6px;
	background: var(--pi-bg-neutral, #F1F2F4);
	color: var(--pi-text-subtlest, #626F86);
	margin-right: 12px;
	font-size: 14px;
	text-align: center;
}
.views-box .z-toolbarbutton [class^="z-icon"]:before {
	width: auto;
}

.views-box .z-toolbarbutton::after {
	content: "\203A";
	font-size: 18px;
	color: var(--pi-text-subtlest, #626F86);
	margin-left: 8px;
	flex-shrink: 0;
}

.views-box .link img {
	height: 16px;
	width: 16px;
}


.activities-box {
	width: 100%;
	margin: auto;
	padding: 0px 14px;
	cursor: pointer;
}

.activities-box .z-vbox {
	width: 100%;
}

.activities-box .z-button {
	text-align: left;
}

.recentitems-box .z-toolbar, .favourites-box .z-toolbar {
	margin-top: 1px;
	margin-bottom: 1px;
}


.performance-indicator {
	margin: 0px;
	position: relative;
}
.performance-indicator img {
	display: block;
	margin: 0px;
	padding:0px;
}
.window-view-pi .performance-indicator img {
}
.performance-indicator-box {
	background-color: var(--pi-grey-eee, #eee);
	border: 1px solid var(--pi-grey-d8d8d8, #d8d8d8);
	border-radius: 11px;
	cursor: pointer;
}
.performance-indicator-title {
	text-align: center;
	background-color: var(--pi-grey-c8c8c8, #c8c8c8);
	border: 1px solid var(--pi-grey-c8c8c8, #c8c8c8);
	padding-top: 1px;
	padding-bottom: 1px;
	line-height:12px;
}
.performance-panel .z-grid {
	border: none;
	margin:0px;
	padding:0px;
	position: relative;
	width: 100%;
}

.gauge-indicator-title {
	text-align: center;
	padding-top: 1px;
	padding-bottom: 1px;
	line-height:12px;
}

.performance-gadget {
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.performance-gadget > .z-div {
	width: 100%;
}

@media screen and (min-width: 768px) {
	.dashboard-row .chart-gadget {
		max-height: 300px;
	}
}

@media screen and (max-width: 767px) {
	.dashboard-row .chart-gadget {
		max-height: 150px;
	}
}

.dashboard-widget.dashboard-widget-max .chart-gadget {
	height: 100% !important;
}

.statusline-gadget {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	padding: 10px 0px;
}

.fav-new-btn.z-toolbarbutton [class^="z-icon-"] {
	font-size: smaller;
	color: var(--pi-grey-333, #333);
	padding-left: var(--pi-space-50);
	padding-right: var(--pi-space-50);
}


.fav-tree-panel {
  border-radius: 0px;
  padding: 0px var(--pi-space-75);
}

.fav-toolbar-div {
  position: relative;
  width: 100%;
}

.fav-tree-btn {
  margin-left: 5px !important;
  padding: var(--pi-radius-sm) 15px;
  border: 1px solid var(--pi-grey-6d6d6d, #6d6d6d);
}

.fav-folder-textbox {
  width: 100%;
}
.fav-summary-folder .z-treecell-content {
  font-weight: bold;
}

.fav-expand-mode {
  transform: rotate(180deg);
}

.fav-mobile-ctx-menu {
  margin: 0px 5px;
  padding: 0px 5px;
  vertical-align: middle;
}

.desktop-home-tabpanel .z-hlayout-inner {
	padding: var(--pi-space-100) var(--pi-space-300) !important;
}

.dashboard-content-help-icon {
	display: none !important;
}

.fill-mandatory-process-para-wrapper {
	padding: 11px;
	display: flex;
	flex-direction: column;
	max-width: 500px;
}

.fill-mandatory-process-para-text {
    background: var(--pi-red-c62223, #C62223);
    color: var(--pi-white-keyword, white);
    padding: 10px;
    border-radius: 5px;
    opacity: 90%;
}


.dashboard-widget .z-panel-icon{
    border:none;
    font-size:16px !important;
    background: transparent;
}

.desktop-left-column .dashboard-widget .z-caption-content {
    margin-left: 8%;
    padding-left: 12px;
    color:var(--pi-slate-64748b, #64748B);
    font-size: 12px;
    font-weight: 700;
}

/* Gadget header caption — breathing space and horizontal icon layout */
.dashboard-widget .z-caption .z-caption-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    padding: 8px 12px !important;
    font-size: 12px;
    font-weight: 700;
    color: #262626;
}

/* Panel header icons (collapse, expand, maximize) — horizontal */
.dashboard-widget .z-panel-icon,
.dashboard-widget .z-caption .z-caption-content .z-panel-icon {
    display: inline-flex !important;
    flex-direction: row !important;
}

.desktop-center-widget-pannel-header-cont {
	height: 28px;
    display: flex;
    align-items: center;
}

.desktop-center .dashboard-widget .z-caption-content .z-label {
    height: inherit;
    color: var(--pi-text-6b778c, #6B778C);
    font-size: 12px;
    margin-left: var(--pi-space-200);
	font-style: normal;
	font-weight: 700;
	line-height: var(--pi-space-200);
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.desktop-center .dashboard-widget .z-panel-head {
    padding: var(--pi-space-100) 0px 0px 0px;
}

.recentitems-box .z-toolbar .z-toolbar-content {
    display: inline-flex;
    align-items: center;
    padding: var(--pi-space-100) var(--pi-space-200);
    align-items: center;
    gap: var(--pi-space-300);
	background: var(--pi-bg-e2e8f0, #E2E8F0);
}

.recentitems-box .z-toolbarbutton-content{
	color: var(--pi-navy-28303f, #28303F);
    font-weight: 700;
}

.recentitems-box .trash-font-icon{
	color: var(--pi-navy-28303f, #28303F);
	cursor: pointer;
}

.recentitems-box .trash-toolbarbutton {
	margin-left: var(--pi-space-200);
}

.recentitems-box .highlighted-node {
    background-color: var(--pi-bg-e5f4fb, #E5F4FB);
    color: black;
}

.fav-toolbar .z-toolbarbutton i{
	font-size: var(--pi-space-200);
	font-weight: 500;
	color: var(--pi-navy-28303f, #28303F);
}

.fav-toolbar .fav-button-add{
	margin-left: var(--pi-space-200);
}

.pipra-charts-title-indicator {
	text-align: center;
	background-color: transparent;
	border: 1px solid transparent;
	padding-top: 1px;
	padding-bottom: 1px;
	line-height:12px;
}

.refresh-button {
    margin-left: 10px;
    font-weight: bold;
    background-color: var(--pi-bg-neutral);
    color: var(--pi-text-subtle);
    border-radius: var(--pi-space-75);
    transition: background-color 0.3s ease;
}

.refresh-button:hover {
    background-color: var(--pi-border-subtle) !important;
}

.pipra-charts-vLayout {
  width: 100%;
  height: 100%;
  background-color: transparent;
  text-align: center;
}

.pipra-charts-vLayout-LabelText {
  color: var(--pi-slate-081735, #081735);
  text-align: center;
  font-feature-settings: 'clig' off, 'liga' off;
  font-family: var(--pi-font-family);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.15px;
}

.pipra-charts-vLayout-LabelNumber {
  color: var(--pi-slate-8f95b2, #8F95B2) !important;
  text-align: center;
  font-feature-settings: 'clig' off, 'liga' off;
  font-family: var(--pi-font-family);
  font-size: 20px !important;
  font-style: normal;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: 0.15px;
}




.desktop-home-tabpanel {
  background-color: var(--pi-bg-sunken, #F7F8F9) !important;
}


:root {
  --pi-text-default: #172B4D;
  --pi-text-subtle: #44546F;
  --pi-text-subtlest: #626F86;
  --pi-text-disabled: #B3B9C4;
  --pi-text-inverse: #FFFFFF;
  --pi-text-brand: #0C66E4;
  --pi-bg-default: #FFFFFF;
  --pi-bg-sunken: #F7F8F9;
  --pi-bg-card: #FFFFFF;
  --pi-bg-neutral: #F1F2F4;
  --pi-bg-brand: #0C66E4;
  --pi-bg-brand-hover: #0055CC;
  --pi-bg-selected: #E9F2FF;
  --pi-bg-hover: #F1F2F4;
  --pi-border-default: #B3B9C4;
  --pi-border-subtle: #DCDFE4;
  --pi-border-hairline: #EBECF0;
  --pi-border-focused: #388BFF;
  --pi-border-selected: #0C66E4;
  --pi-icon-default: #44546F;
  --pi-icon-subtle: #626F86;
  --pi-icon-brand: #0C66E4;
  --pi-link-default: #0C66E4;
  --pi-link-hover: #0055CC;
  --pi-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  --pi-space-25: 2px;
  --pi-space-50: 4px;
  --pi-space-75: 6px;
  --pi-space-100: 8px;
  --pi-space-150: 12px;
  --pi-space-200: 16px;
  --pi-space-250: 20px;
  --pi-space-300: 24px;
  --pi-space-400: 32px;
  --pi-shadow-raised: 0px 1px 1px rgba(9, 30, 66, 0.25), 0px 0px 1px rgba(9, 30, 66, 0.31);
  --pi-shadow-overlay: 0px 8px 12px rgba(9, 30, 66, 0.15), 0px 0px 1px rgba(9, 30, 66, 0.31);
  --pi-radius-sm: 3px;
  --pi-radius-md: 4px;
  --pi-radius-lg: 8px;
  --pi-radius-xl: 12px;
  --pi-radius-full: 9999px;
  --pi-duration-fast: 100ms;
  --pi-duration-normal: 200ms;
  --pi-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --pi-ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
}

.desktop-center.z-center .dashboard-widget.z-panel {
  border-radius: 12px !important;
  background: var(--pi-bg-default, #FFFFFF) !important;
  border: 1px solid var(--pi-border-hairline, #EBECF0) !important;
  box-shadow: none !important;
  overflow: hidden;
  font-family: var(--pi-font-family);
}

.desktop-center.z-center .dashboard-widget > .z-panel-head,
.desktop-center.z-center .dashboard-widget > .z-panel-head .z-panel-header,
.desktop-center.z-center .dashboard-widget > .z-panel-body,
.desktop-center.z-center .dashboard-widget > .z-panel-body .z-window.z-window-embedded,
.desktop-center.z-center .dashboard-widget > .z-panel-body .z-window.z-window-embedded > .z-window-content,
.desktop-center.z-center .dashboard-widget .z-panelchildren,
.desktop-center.z-center .dashboard-widget .z-panelchildren > .z-window,
.desktop-center.z-center .dashboard-widget .z-panelchildren > .z-window > .z-window-content {
  background: var(--pi-bg-default, #FFFFFF) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: var(--pi-font-family);
}
.desktop-center.z-center .dashboard-widget > .z-panel-head {
  padding: 16px 16px 0 16px !important;
  border: none !important;
}
.desktop-center.z-center .dashboard-widget > .z-panel-body {
  padding: 16px !important;
  border: none !important;
}

.desktop-center.z-center .dashboard-column .dashboard-widget {
  margin-bottom: 16px;
}


.desktop-center.z-center .dashboard-widget .z-window,
.desktop-center.z-center .dashboard-widget .z-window-content,
.desktop-center.z-center .dashboard-widget .z-window-embedded,
.desktop-center.z-center .dashboard-widget .z-grid,
.desktop-center.z-center .dashboard-widget .z-grid-body,
.desktop-center.z-center .dashboard-widget .z-listbox,
.desktop-center.z-center .dashboard-widget .z-groupbox,
.desktop-center.z-center .dashboard-widget .z-groupbox-content {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}


.desktop-center.z-center .dashboard-widget .z-caption-content .z-label {
  font-size: 12px;
  font-weight: 700;
  line-height: var(--pi-space-200);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--pi-text-6b778c, #6B778C);
  margin-left: var(--pi-space-200);
}

.desktop-center.z-center .dashboard-widget .z-panel-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--pi-radius-md);
  color: var(--pi-text-subtlest);
  transition: background var(--pi-duration-fast) var(--pi-ease-standard);
}
.desktop-center.z-center .dashboard-widget .z-panel-icon:hover {
  background: var(--pi-bg-neutral);
  color: var(--pi-text-default);
}


.desktop-center.z-center .dashboard-widget .activities-box {
  padding: 0 var(--pi-space-25);
}
.desktop-center.z-center .dashboard-widget .activities-box > .z-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--pi-space-100);
  padding: 10px var(--pi-space-100);
  border-radius: var(--pi-radius-md);
  transition: background var(--pi-duration-fast) var(--pi-ease-standard);
}
.desktop-center.z-center .dashboard-widget .activities-box > .z-div:hover {
  background: var(--pi-bg-neutral);
}

.desktop-center.z-center .dashboard-widget .activities-box > .z-div > .z-image,
.desktop-center.z-center .dashboard-widget .activities-box > .z-div > img,
.desktop-center.z-center .dashboard-widget .activities-box > .z-div > [class*="z-icon"] {
  width: 20px !important;
  height: 20px !important;
  color: var(--pi-text-subtlest, #626F86);
  opacity: 0.8;
  flex-shrink: 0;
}

.desktop-center.z-center .dashboard-widget .activities-box > .z-div > .z-label {
  font-size: 14px;
  line-height: 20px;
  color: var(--pi-text-default);
  font-weight: 400;
}

.desktop-center.z-center .dashboard-widget .activities-box > .z-div > .z-label:first-of-type {
  flex: 1;
}

.desktop-center.z-center .dashboard-widget .activities-box > .z-div > .z-label:last-child {
  flex: 0 0 auto;
  min-width: 28px;
  box-sizing: border-box;
  padding: 2px 10px;
  border-radius: var(--pi-radius-sm);
  background: var(--pi-bg-neutral);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: var(--pi-text-default);
}

.desktop-center.z-center .dashboard-widget .activities-box > .z-div > .z-label[style*="color:red"],
.desktop-center.z-center .dashboard-widget .activities-box > .z-div > .z-label[style*="color: red"] {
  color: var(--pi-status-danger-bold, #DE350B) !important;
  background: var(--pi-sev-emergency-bg, #FFEBE6) !important;
}

.desktop-center.z-center .dashboard-widget .z-row-inner,
.desktop-center.z-center .dashboard-widget .z-row-content {
  background: transparent;
  border: none;
}


.desktop-center.z-center .dashboard-widget .z-panelchildren > .z-window > .z-window-content .z-toolbar {
  background: transparent;
  border: none;
  border-top: 1px solid var(--pi-bg-neutral, #F1F2F4);
  margin-top: 12px;
  padding: 12px 4px 0;
}

.desktop-center.z-center .dashboard-widget .z-toolbar .z-toolbarbutton {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--pi-text-brand, #0C66E4);
  font-size: 13px;
  font-weight: 600;
  transition: background 120ms var(--pi-ease-standard);
}
.desktop-center.z-center .dashboard-widget .z-toolbar .z-toolbarbutton:hover {
  background: var(--pi-border-subtle);
}
.desktop-center.z-center .dashboard-widget .z-toolbar .z-toolbarbutton:active {
  background: var(--pi-text-disabled);
}
.desktop-center.z-center .dashboard-widget .z-toolbar .z-toolbarbutton i {
  color: var(--pi-text-brand, #0C66E4);
  font-size: 14px;
}

.desktop-center.z-center .dashboard-widget .z-toolbar .z-icon-Refresh::after {
  content: "Refresh data";
  font-family: var(--pi-font-family);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--pi-text-brand, #0C66E4);
  margin-left: var(--pi-space-100);
}


.desktop-center.z-center .ware-house-data-widget {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  gap: var(--pi-space-200);
}

@media (min-width: 1200px) {
  .desktop-center.z-center .ware-house-data-widget {
    grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  }
}

.activities-box .z-hlayout:has(.ware-house-data-widget) {
  width: 100%;
}

.activities-box .z-hlayout:has(.ware-house-data-widget) > .z-hlayout-inner:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.activities-box .z-hlayout:has(.ware-house-data-widget) > .z-hlayout-inner.z-flex-item:last-child {
  flex: 0 0 auto;
}

.desktop-center.z-center .ware-house-data-widget > .dashboard-widget-text-count-cont {
  display: grid;
  grid-template-rows: 2.6em auto;
  justify-items: center;
  align-items: start;
}

.desktop-center.z-center .ware-house-data-widget > .dashboard-widget-text-count-cont .dashboard-widget-labels {
  line-height: 1.2;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.desktop-center.z-center .ware-house-data-widget > .dashboard-widget-text-count-cont .dashboard-widget-count {
  display: block;
  margin-top: var(--pi-space-75);
}

:root {
  --dash-tile-odd-bg: var(--pi-bg-card);
  --dash-tile-even-bg: var(--pi-bg-card);
}

.desktop-center.z-center .ware-house-data-widget > :is(.dashboard-widget-text-count-cont, .dashboard-widget-text-count-cont-basic-stats) {
  border-radius: var(--pi-radius-lg);
}

.desktop-center.z-center .ware-house-data-widget > :is(.dashboard-widget-text-count-cont):nth-child(odd) {
  background: var(--dash-tile-odd-bg);
}

.desktop-center.z-center .ware-house-data-widget > :is(.dashboard-widget-text-count-cont):nth-child(even) {
  background: var(--dash-tile-even-bg);
}

.desktop-center.z-center .dashboard-widget.z-panel:has(.dashboard-widget-text-count-cont, .dashboard-widget-text-count-cont-basic-stats) {
  background: var(--pi-bg-card);
}

.desktop-center.z-center .dashboard-widget.z-panel:has(.dashboard-widget-text-count-cont, .dashboard-widget-text-count-cont-basic-stats) > .z-panel-head,
.desktop-center.z-center .dashboard-widget.z-panel:has(.dashboard-widget-text-count-cont, .dashboard-widget-text-count-cont-basic-stats) > .z-panel-head .z-panel-header {
  background: var(--pi-bg-card);
}

.desktop-center.z-center .dashboard-widget.z-panel:has(.dashboard-widget-text-count-cont, .dashboard-widget-text-count-cont-basic-stats)
  > .z-panel-body .z-window.z-window-embedded > .z-window-content {
  background: var(--pi-bg-card);
}

.dashboard-widget-text-count-cont-basic-stats:has(.dashboard-widget-labels-border-purple) {
  background-color: var(--pi-mro-badge-discovery-bg, #F3F0FF);
  color: var(--pi-slate-081735, #081735);
}

.dashboard-widget-text-count-cont-basic-stats:has(.dashboard-widget-labels-border-orange),
.dashboard-widget-text-count-cont-basic-stats.z-div:has(.dashboard-widget-labels-border-orange) {
  background-color: var(--pi-bg-warning);
  color: var(--pi-slate-081735, #081735);
}

.dashboard-widget-text-count-cont-basic-stats:has(.dashboard-widget-labels-border-light-blue) {
  background-color: var(--pi-bg-selected);
  color: var(--pi-slate-081735, #081735);
}


.activities-box .pipra-charts-title-indicator:has(.z-chartjs) {
  background: transparent !important;
  border-color: transparent !important;
}

.activities-box .z-grid-body {
  background: transparent !important;
}
.activities-box .z-chartjs,
.activities-box .z-chartjs canvas {
  background: transparent !important;
  background-color: transparent !important;
}
.activities-box td.z-cell:has(> .pipra-charts-title-indicator) {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent;
}
.activities-box td.z-cell:has(> .pipra-charts-vLayout) {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent;
}

.desktop-center.z-center .dashboard-widget.z-panel > .z-panel-body
  > .z-panelchildren:has(.z-billboard) {
  background: transparent !important;
}


.dashboard-widget:has(.traceability-visualization) .z-grid-body {
  background: transparent !important;
}

.dashboard-widget:has(.traceability-visualization) .z-grid .z-rows > .z-row > .z-cell,
.dashboard-widget:has(.traceability-visualization) .z-grid .z-rows > .z-row > .z-row-inner,
.dashboard-widget:has(.traceability-visualization) .z-grid .z-rows > .z-row > .z-row-inner > .z-row-content {
  background: transparent !important;
}

.dashboard-widget:has(.traceability-visualization) .z-panelchildren {
  height: auto !important;
  min-height: 100px;
  max-height: 600px;
  overflow-y: auto;
}

.dashboard-widget:has(.traceability-visualization) .activities-box {
  height: auto;
}



.desktop-center.z-center .dashboard-widget .z-calendars {
  border: none !important;
  background: var(--pi-bg-default, #FFFFFF) !important;
  padding: 0 !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-cnt,
.desktop-center.z-center .dashboard-widget .z-calendars-month-cnt-inner {
  width: 100% !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-header,
.desktop-center.z-center .dashboard-widget .z-calendars-day-of-month-bg,
.desktop-center.z-center .dashboard-widget .z-calendars-day-of-month-body {
  width: 100% !important;
  table-layout: fixed;
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar,
.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-toolbar-content {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.desktop-center.z-center .dashboard-widget .z-calendars-day-of-week {
  font-size: 0 !important;
  letter-spacing: 0;
  background: transparent;
  border: none;
  padding: var(--pi-space-50) 0;
  line-height: var(--pi-space-200);
  text-align: center;
}
.desktop-center.z-center .dashboard-widget .z-calendars-day-of-week::first-letter {
  font-size: 11px;
  font-weight: 700;
  line-height: var(--pi-space-200);
  color: var(--pi-text-subtlest);
}

.desktop-center.z-center .dashboard-widget td.z-calendars-month-date {
  font-size: 14px;
  font-weight: 400;
  color: var(--pi-text-default);
  border: none;
  background: transparent;
  text-align: center;
  vertical-align: middle;
  padding: var(--pi-space-25);
  line-height: 20px;
}
.desktop-center.z-center .dashboard-widget td.z-calendars-month-date .z-calendars-month-date-cnt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--pi-space-400);
  height: var(--pi-space-400);
  border-radius: 50%;
  transition: background var(--pi-duration-fast) var(--pi-ease-standard);
}

.desktop-center.z-center .dashboard-widget td.z-calendars-month-date:hover {
  background: transparent;
}
.desktop-center.z-center .dashboard-widget td.z-calendars-month-date:hover .z-calendars-month-date-cnt {
  background: var(--pi-overlay-091e4204, rgba(9,30,66,0.04));
}

.desktop-center.z-center .dashboard-widget td.z-calendars-month-date.z-calendars-month-date-off {
  color: var(--pi-text-disabled, #B3B9C4);
  background: transparent;
}

.desktop-center.z-center .dashboard-widget .z-calendars-week-today,
.desktop-center.z-center .dashboard-widget td.z-calendars-month-date.z-calendars-week-today {
  background: transparent !important;
  color: var(--pi-bg-default, #FFFFFF) !important;
  font-weight: 700;
}
.desktop-center.z-center .dashboard-widget td.z-calendars-month-date.z-calendars-week-today .z-calendars-month-date-cnt,
.desktop-center.z-center .dashboard-widget .z-calendars-week-today .z-calendars-month-date-cnt {
  background: var(--pi-text-brand, #0C66E4) !important;
  color: var(--pi-bg-default, #FFFFFF) !important;
  border-radius: 50%;
}

.desktop-center.z-center .dashboard-widget td.z-calendars-month-date.z-calendars-month-date-selected .z-calendars-month-date-cnt {
  background: var(--pi-bg-selected, #E9F2FF);
  color: var(--pi-text-brand, #0C66E4);
  font-weight: 600;
  border-radius: 50%;
}


.desktop-center.z-center .dashboard-widget .calendar-toolbar .float-left {
  float: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 0 0 8px 0;
  margin-bottom: 8px;
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar .float-left table,
.desktop-center.z-center .dashboard-widget .calendar-toolbar .float-left tbody,
.desktop-center.z-center .dashboard-widget .calendar-toolbar .float-left tr,
.desktop-center.z-center .dashboard-widget .calendar-toolbar .float-left td {
  display: contents;
}

.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-macro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--pi-border-subtle, #DCDFE4);
  transition: background 100ms ease;
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-macro:hover {
  background: var(--pi-bg-neutral, #F1F2F4);
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar .tabs.arrows {
  width: auto;
  height: auto;
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar .tabs.arrows .t1,
.desktop-center.z-center .dashboard-widget .calendar-toolbar .tabs.arrows .t2,
.desktop-center.z-center .dashboard-widget .calendar-toolbar .tabs.arrows .b1,
.desktop-center.z-center .dashboard-widget .calendar-toolbar .tabs.arrows .b2 {
  display: none;
}


.desktop-center.z-center .dashboard-widget .calendar-toolbar .float-left > div.z-div,
.desktop-center.z-center .dashboard-widget .calendar-toolbar .float-left div.z-div:has(> .z-button) {
  display: contents !important;
}

.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-button {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--pi-bg-default, #FFFFFF) !important;
  border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
  box-shadow: none !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  color: var(--pi-text-default, #172B4D) !important;
  cursor: pointer;
  white-space: nowrap;
  order: 1;
  margin-left: auto;
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-button:hover {
  background: var(--pi-bg-sunken, #F7F8F9) !important;
}

.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-label {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--pi-text-default, #172B4D) !important;
  white-space: nowrap !important;
  margin: 0 4px !important;
  order: 4;
}

.desktop-center.z-center .dashboard-widget .calendar-toolbar a.z-toolbarbutton {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--pi-text-brand, #0C66E4) !important;
  white-space: nowrap;
  order: 3;
}

.desktop-center.z-center .dashboard-widget .calendar-toolbar a.z-toolbarbutton:last-child {
  order: 5;
  margin-left: auto;
}


.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-macro {
  order: 0 !important;
}

.desktop-center.z-center .dashboard-widget .calendar-toolbar .float-left::after {
  content: "";
  width: 100%;
  order: 2;
}


.desktop-center.z-center .dashboard-widget .z-calendars-inner {
  background: var(--pi-bg-default, #FFFFFF) !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-cnt {
  height: 260px !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-cnt-inner {
  background: var(--pi-bg-default, #FFFFFF) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-header {
  height: 32px;
  background: transparent !important;
  border: none !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-body {
  background: transparent !important;
}

.desktop-center.z-center .dashboard-widget .z-calendars-day-of-week {
  border: none !important;
  background: transparent !important;
  font-size: 0 !important;
  padding: 8px 0 12px 0 !important;
  line-height: 16px !important;
  text-align: center !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-day-of-week::first-letter {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--pi-text-subtlest, #626F86) !important;
}

.desktop-center.z-center .dashboard-widget .z-calendars-day-of-month-bg td {
  background: transparent !important;
  border: none !important;
}

.desktop-center.z-center .dashboard-widget .z-calendars-body {
  background: var(--pi-bg-default, #FFFFFF) !important;
}

.desktop-center.z-center .dashboard-widget .z-calendars-fl,
.desktop-center.z-center .dashboard-widget .z-calendars-fm,
.desktop-center.z-center .dashboard-widget .z-calendars-fr,
.desktop-center.z-center .dashboard-widget .z-calendars-t1,
.desktop-center.z-center .dashboard-widget .z-calendars-t2,
.desktop-center.z-center .dashboard-widget .z-calendars-t3,
.desktop-center.z-center .dashboard-widget .z-calendars-b1,
.desktop-center.z-center .dashboard-widget .z-calendars-b2,
.desktop-center.z-center .dashboard-widget .z-calendars-b3 {
  display: none !important;
}


.desktop-center.z-center .dashboard-widget .performance-indicator-box {
  background: var(--pi-bg-sunken);
  border: none;
  border-radius: var(--pi-radius-lg);
  padding: 14px 8px 10px;
}
.desktop-center.z-center .dashboard-widget .performance-indicator-box:hover {
  background: var(--pi-bg-neutral);
}
.desktop-center.z-center .dashboard-widget .performance-indicator {
  display: flex;
  justify-content: center;
}
.desktop-center.z-center .dashboard-widget .performance-indicator .bb-chart-arcs-gauge-min,
.desktop-center.z-center .dashboard-widget .performance-indicator .bb-chart-arcs-gauge-max {
  display: none;
}
.desktop-center.z-center .dashboard-widget .performance-indicator .bb-chart-arcs-background {
  fill: var(--pi-chart-track) !important;
}
.desktop-center.z-center .dashboard-widget .performance-indicator .bb-gauge-value {
  font-size: 15px !important;
  font-weight: 700;
  fill: var(--pi-text-default);
  font-family: var(--pi-font-family);
}
.desktop-center.z-center .dashboard-widget .performance-indicator-title {
  padding: 8px 6px 2px;
  background: transparent;
  border: none;
}
.desktop-center.z-center .dashboard-widget .performance-indicator-title .z-label {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--pi-text-subtlest);
}
.desktop-center.z-center .dashboard-widget .performance-panel .z-row-content {
  padding: 5px;
}


.desktop-center.z-center .dashboard-widget .views-box {
  padding: 0 !important;
}
.desktop-center.z-center .dashboard-widget .views-box .z-vbox {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 0 !important;
  width: 100% !important;
}
.desktop-center.z-center .dashboard-widget .views-box .z-toolbarbutton {
  display: flex !important;
  align-items: center;
  padding: 14px 16px !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--pi-bg-surface-soft, #F4F5F7);
  transition: background 100ms cubic-bezier(0.2, 0, 0, 1);
  width: auto !important;
  cursor: pointer;
}
.desktop-center.z-center .dashboard-widget .views-box .z-toolbarbutton:hover {
  background: var(--pi-bg-sunken, #F7F8F9);
}
.desktop-center.z-center .dashboard-widget .views-box .z-toolbarbutton-content {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--pi-text-default, #172B4D);
  flex: 1;
}
.desktop-center.z-center .dashboard-widget .views-box .z-toolbarbutton [class^="z-icon"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 6px;
  background: var(--pi-bg-neutral, #F1F2F4);
  color: var(--pi-text-subtlest, #626F86);
  margin-right: 12px;
  font-size: 14px;
}

.desktop-center.z-center .dashboard-widget .views-box .z-toolbarbutton::after {
  content: "\203A";
  font-size: 18px;
  color: var(--pi-text-subtlest, #626F86);
  margin-left: 8px;
  flex-shrink: 0;
}


.dashboard-widget .pi-donate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--pi-space-200);
  padding: var(--pi-space-100) var(--pi-space-50) var(--pi-space-200);
}
.dashboard-widget .pi-donate-hero {
  position: relative;
  width: 100%;
  border-radius: var(--pi-radius-xl);
  background: linear-gradient(135deg, var(--pi-bg-f0f4ff, #F0F4FF) 0%, var(--pi-bg-selected, #E9F2FF) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0 26px;
  box-sizing: border-box;
}
.dashboard-widget .pi-donate-heart {
  position: absolute;
  right: 16%;
  bottom: 10px;
}
.dashboard-widget .pi-donate-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--pi-text-default);
}
.dashboard-widget .pi-donate-text {
  font-size: 14px;
  line-height: 20px;
  color: var(--pi-text-subtle);
  max-width: 340px;
  margin: 0;
}
.dashboard-widget .pi-donate-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pi-text-brand);
  text-decoration: none;
}
.dashboard-widget .pi-donate-link:hover {
  color: var(--pi-link-hover);
  text-decoration: underline;
}
.dashboard-widget .pi-donate-link svg {
  width: 14px;
  height: 14px;
}


:root {
  --pi-mro-card-bg:           var(--pi-bg-card);
  --pi-mro-card-radius:       var(--pi-radius-lg);
  --pi-mro-card-shadow:       var(--pi-shadow-raised);
  --pi-mro-card-padding:      var(--pi-space-200);
  --pi-mro-font:              var(--pi-font-family);
  --pi-mro-text-primary:      var(--pi-text-default);
  --pi-mro-text-subtle:       var(--pi-text-subtle);
  --pi-mro-text-subtlest:     var(--pi-text-subtlest);
  --pi-mro-heading-size:      11px;
  --pi-mro-heading-weight:    700;
  --pi-mro-heading-ls:        0.8px;
  --pi-mro-heading-color:     var(--pi-text-subtlest);
  --pi-mro-heading-transform: uppercase;
  --pi-mro-row-padding-y:     10px;
  --pi-mro-row-padding-x:     12px;
  --pi-mro-row-gap:           0px;
  --pi-mro-row-hover-bg:      var(--pi-bg-neutral);
  --pi-mro-col-header-size:   11px;
  --pi-mro-col-header-weight: 600;
  --pi-mro-col-header-color:  var(--pi-text-subtlest);
  --pi-mro-avatar-size:       32px;
  --pi-mro-avatar-radius:     50%;
  --pi-mro-avatar-font-size:  12px;
  --pi-mro-avatar-font-weight: 600;
  --pi-mro-avatar-text-color: #FFFFFF;
  --pi-mro-avatar-bg-blue:    var(--pi-icon-brand);
  --pi-mro-avatar-bg-purple:  #403294;
  --pi-mro-avatar-bg-green:   #006644;
  --pi-mro-avatar-bg-orange:  #FF8B00;
  --pi-mro-avatar-bg-red:     #DE350B;
  --pi-mro-badge-radius:      var(--pi-radius-sm);
  --pi-mro-badge-padding:     2px 6px;
  --pi-mro-badge-font-size:   11px;
  --pi-mro-badge-font-weight: 700;
  --pi-mro-badge-danger-text:    #DE350B;
  --pi-mro-badge-danger-bg:      #FFEBE6;
  --pi-mro-badge-warning-text:   #FF8B00;
  --pi-mro-badge-warning-bg:     var(--pi-bg-warning);
  --pi-mro-badge-success-text:   #006644;
  --pi-mro-badge-success-bg:     #E3FCEF;
  --pi-mro-badge-info-text:      #0747A6;
  --pi-mro-badge-info-bg:        var(--pi-bg-selected);
  --pi-mro-badge-discovery-text: #403294;
  --pi-mro-badge-discovery-bg:   #F3F0FF;
  --pi-mro-link-color:        var(--pi-link-default);
  --pi-mro-link-hover-color:  var(--pi-link-hover);
  --pi-mro-link-font-size:    13px;
  --pi-mro-link-font-weight:  600;
  --pi-mro-section-gap:       var(--pi-space-200);
  --pi-mro-progress-track-bg:      var(--pi-bg-neutral);
  --pi-mro-progress-track-height:  8px;
  --pi-mro-progress-track-radius:  var(--pi-radius-md);
  --pi-mro-progress-fill-color:    var(--pi-bg-brand);
  --pi-mro-progress-fill-radius:   var(--pi-radius-md);
}


.desktop-center.z-center .dashboard-widget.mro-component {
  background: var(--pi-mro-card-bg);
  border-radius: var(--pi-mro-card-radius);
  box-shadow: var(--pi-mro-card-shadow);
  padding: var(--pi-mro-card-padding);
  border: none;
  font-family: var(--pi-mro-font);
  overflow: hidden;
}

.desktop-center.z-center .dashboard-widget.mro-component > .z-panel-head,
.desktop-center.z-center .dashboard-widget.mro-component > .z-panel-head .z-panel-header,
.desktop-center.z-center .dashboard-widget.mro-component > .z-panel-body,
.desktop-center.z-center .dashboard-widget.mro-component .z-panelchildren {
  background: var(--pi-mro-card-bg);
  font-family: var(--pi-mro-font);
}

.desktop-center.z-center .dashboard-widget.mro-component > .z-panel-body {
  padding: var(--pi-mro-card-padding);
}


.desktop-center.z-center .dashboard-widget .mro-section-heading,
.dashboard-widget.mro-component .mro-section-heading {
  display: flex !important;
  align-items: center !important;
  gap: 6px;
  font-family: var(--pi-mro-font);
  font-size: var(--pi-mro-heading-size);
  font-weight: var(--pi-mro-heading-weight);
  letter-spacing: var(--pi-mro-heading-ls);
  text-transform: var(--pi-mro-heading-transform);
  color: var(--pi-mro-heading-color);
  line-height: 16px;
  margin-bottom: var(--pi-mro-section-gap);
  border-bottom: 1px solid var(--pi-border-hairline);
  padding-bottom: 12px;
}

.desktop-center.z-center .dashboard-widget .mro-section-heading .z-label,
.dashboard-widget.mro-component .mro-section-heading .z-label {
  font-size: var(--pi-mro-heading-size) !important;
  font-weight: var(--pi-mro-heading-weight) !important;
  letter-spacing: var(--pi-mro-heading-ls) !important;
  text-transform: var(--pi-mro-heading-transform) !important;
  color: var(--pi-mro-heading-color) !important;
  line-height: 16px !important;
  margin: 0 !important;
}

.desktop-center.z-center .dashboard-widget .mro-section-heading .mro-info-icon,
.dashboard-widget.mro-component .mro-section-heading .mro-info-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 11px !important;
  color: var(--pi-mro-text-subtlest) !important;
  cursor: help;
}


.desktop-center.z-center .dashboard-widget .mro-section-link,
.dashboard-widget.mro-component .mro-section-link {
  display: flex !important;
  align-items: center !important;
  gap: 4px;
  margin-top: var(--pi-mro-section-gap);
  padding-top: 12px;
  border-top: 1px solid var(--pi-bg-neutral);
  font-family: var(--pi-mro-font);
  font-size: var(--pi-mro-link-font-size);
  font-weight: var(--pi-mro-link-font-weight);
  color: var(--pi-mro-link-color);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--pi-duration-fast) var(--pi-ease-standard);
}

.desktop-center.z-center .dashboard-widget .mro-section-link .z-label,
.dashboard-widget.mro-component .mro-section-link .z-label {
  font-size: var(--pi-mro-link-font-size) !important;
  font-weight: var(--pi-mro-link-font-weight) !important;
  color: var(--pi-mro-link-color) !important;
}

.desktop-center.z-center .dashboard-widget .mro-section-link:hover,
.dashboard-widget.mro-component .mro-section-link:hover {
  color: var(--pi-mro-link-hover-color);
  text-decoration: underline;
}


.z-toolbar.z-toolbar-tabs {
	padding-top: 0px;
	padding-bottom: 0px;
	background: #F8FAFC;
}

.toolbar {
	padding: 0px;
}

.z-toolbarbutton-content {
	padding: 0px 3px;
}

.toolbar-button {
	background-color: transparent; 	
	margin-left: 1px; 
	margin-right: 1px; 
	width: 24px; 
	height: 24px;
}

.toolbar-button .z-toolbarbutton-content {
	width: 24px;
	height: 24px;
	padding: 1px;
	border: none;	
}
.toolbar-overflow-popup-vertical .toolbar-button, 
.toolbar-overflow-popup-vertical .toolbar-button .z-toolbarbutton-content {
	width: auto;
}

.depressed img {
	border-width: 1px;
	border-color: #9CBDFF;
	background-color: #C4DCFB;
	padding: 0px 1px 0px 1px;
}

.disableFilter img {
	opacity: 0.2;
	filter: progid : DXImageTransform . Microsoft . Alpha(opacity = 20);
	-moz-opacity: 0.2;
}

.z-toolbar-start{
	width:100%;
}

.z-toolbarbutton [class^="z-icon-"] {
	color: inherit;
}
.z-toolbarbutton.toolbarbutton-with-text [class^="z-icon-"] {
	padding-right: 4px;
}
.z-toolbarbutton.xlarge-toolbarbutton [class^="z-icon-"] {
	font-size: 24px;
}
.z-toolbarbutton.large-toolbarbutton [class^="z-icon-"] {
	font-size: 20px;
}
.z-toolbarbutton.medium-toolbarbutton [class^="z-icon-"] {
	font-size: 16px;
}
.z-toolbarbutton.small-toolbarbutton [class^="z-icon-"] {
	font-size: 12px;
}
.z-toolbarbutton, .z-toolbarbutton .z-toolbarbutton-content {
	display:inline-flex;
	align-items: center;
}
.z-toolbar-content {
	display:flex;
	align-items: center;
	gap: 4px;
}
.z-toolbar.space-between-content .z-toolbar-content {
	justify-content: space-between;
}

.font-icon-toolbar-button.toolbar-button [class^="z-icon-"] {
	font-size: 18px;
	color: inherit;
}
.font-icon-toolbar-button.toolbar-button {
	color :#333;
}
.font-icon-toolbar-button.toolbar-button, .font-icon-toolbar-button.toolbar-button .z-toolbarbutton-content {
	display:inline-flex;
	align-items: center;
	justify-content: center; 
}
.font-icon-toolbar-button:active, .font-icon-toolbar-button:hover {
	color: #3949AB;
}
.font-icon-toolbar-button .z-toolbarbutton-content {
	color: inherit;
}
.font-icon-menuitem i {
	vertical-align: middle;
}
.toolbar-overflow-popup-vertical .font-icon-toolbar-button.toolbar-button, 
.toolbar-overflow-popup-vertical .font-icon-toolbar-button.toolbar-button .z-toolbarbutton-content {
	justify-content: flex-start;
}
.toolbar-searchbox {
    margin-right: 10px;
    margin-left: 10px;
    border: 1px;
}
@media screen and (max-width: 768px) {
  .toolbar-searchbox {
    display: none;
    width: 0px;
  }
}

.z-button {
  display: inline-block;
  margin: 0px;
  padding: 4px 20px;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
 /* background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #cccccc;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-bottom-color: #b3b3b3;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);*/
}

.z-button {
	/*margin: 0px !important;*/
}

.z-button-hover,
.z-button-focus,
.z-button-click,
.z-button-disabled {
  /*color: #333333;
  background-color: #e6e6e6;*/
}

.z-button-click {
  background-color: #cccccc \9;
}

.z-button-hover,
.z-button-focus {
  /*color: #333333;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;*/
}

.z-button-focus {
  /*outline: 5px auto -webkit-focus-ring-color;*/
}

.z-button-click {
  background-image: none;
  /*outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);*/
}

.z-button-disabled {
  cursor: default;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}

.z-button.btn-small {
	padding: 1px 5px;
}
.z-button.btn-medium {
	padding: 2px 10px;
}

.z-button-disabled {
	color: black; cursor: default; opacity: .6; -moz-opacity: .6; -khtml-opacity: .6; filter: alpha(opacity=60);
}

.img-btn img {
	height: 22px;
	width: 22px;
	background-color: transparent;
}

.txt-btn img, .small-img-btn img {
	height: 16px;
	width: 16px;
	background-color: transparent;
	vertical-align: middle;
	display: inline-block;
}

.btn-sorttab {
	box-shadow: 0px 0px 4px #bbb;
	color: #555;
	border: solid 1px #bbb;
	text-shadow: 0px 1px 2px #888;
}

.z-button [class^="z-icon-"],
.z-button-os [class^="z-icon-"]{
	font-size: larger;
	color: #333;	
	padding-left: 2px;
	padding-right: 2px;
}
.z-button.xlarge-toolbarbutton [class^="z-icon-"] {
	font-size: 24px;
}
.z-button.large-toolbarbutton [class^="z-icon-"] {
	font-size: 20px;
}
.z-button.medium-toolbarbutton [class^="z-icon-"] {
	font-size: 16px;
}
.z-button.small-toolbarbutton [class^="z-icon-"] {
	font-size: 12px;
}
.z-button {
	vertical-align: middle;
	text-align: center;
	border:none;
	background:#fff;
	box-shadow:none;
	color:#64748B;
}
.btn-ok.z-button [class^="z-icon-"]:before {
	color: green;	
}
.btn-cancel.z-button [class^="z-icon-"]:before {
	color: red;	
}

.btn-negate.z-button {
	background: none;
	border: none;
	margin: 0px !important;
	padding: 0px;
	min-width: 16px;
	width: 16px;	
	height: 10px;
	min-height:10px;
	font-size: 14px;
	font-weight: lighter;		
	position: absolute;
	top: 5px;
	right: 25px; 	
}
.btn-negate.z-button:active, .btn-negate.z-button:focus {
	border: none;
	box-shadow: none;
}
.btn-negate.z-button [class^="z-icon-"] {
	font-size: 14px;
	padding: 0px;
	line-height: 14px;
}

.btn-cancel:hover ,btn-cancel:hover {
	background : transparent;
	box-shadow : none !important;
}

.z-button:focus {
	color: #64748B;
	box-shadow : none !important;
}

.txt-btn:hover {
	background : none;
	border : none;
}

.txt-btn:focus {
	box-shadow : none;
	background : none !important;
}

/* NOTE: OK/Cancel (.btn-ok / .btn-cancel) CTA styling — including hiding
   the tick/cross icon and injecting the "OK"/"Cancel" text label for
   icon-only button variants — lives in custom.css.dsp (loaded after this
   fragment), which already owns the Atlassian-DS primary/secondary look
   for these buttons. Keeping one source of truth avoids the two files
   silently overriding each other. See custom.css.dsp ~line 1595 (.btn-ok)
   and ~line 1631 (.btn-cancel). The color rules below are superseded by
   that icon-hiding rule (icon is display:none, so its color no longer
   matters) and are left only for any other z-icon consumer that isn't
   the confirm-panel OK/Cancel button.
*/






.desktop-center .dashboard-widget .z-panelchildren{
	/*display: flex;
	justify-content:center;
	/*margin-bottom: 15%;*/
}

.ware-house-data-widget {
	display: inline-flex;
	padding: 8px 24px 8px;
	align-items: stretch;
	gap: 24px;
	width: 100%;
    /*justify-content: space-between;*/
}

.ware-house-select-widget {
	margin-left: 24px;
}

.ware-house-select-widget-cont {
	width: 95%;
	display: flex;
	gap : 32px;
	align-items: center;
	margin: 16px 0px;
}

.ware-house-data-widget td {
	padding: 4px 4px 4px 4px;
}

.dashboard-widget-labels {
	border-radius: 4px;
	padding:8px;
	padding-bottom: 0px;
	color: var(--pi-text-default, #172B4D) !important; /* ADS color.text */
	text-align: center;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 28px; /* 140% */
	letter-spacing: 0.15px;
}

.dashboard-widget-labels-basic-stats {
	border-radius: 4px;
	padding:8px;
	color: var(--pi-slate-081735, #081735) !important;
	text-align: center;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 28px; /* 140% */
	letter-spacing: 0.15px;
}

.dashboard-widget-labels-border-purple {
    border: 5px solid var(--pi-border-cabdff, #CABDFF);
    border-radius: 4px;
    background-color: var(--pi-bg-cabdf, #CABDF);
}

.dashboard-widget-labels-border-light-blue {
	border: 5px solid var(--pi-border-b1e5fc, #B1E5FC);
    border-radius: 4px;
    background-color: var(--pi-border-b1e5fc, #B1E5FC);
}

.dashboard-widget-labels-border-orange {
	border: 5px solid var(--pi-border-ffbc99, #FFBC99);
    border-radius: 4px;
    background-color: var(--pi-border-ffbc99, #FFBC99);
}

.dashboard-widget-count {
	color: var(--pi-text-default, #172B4D) !important; /* ADS color.text */
	text-align: center;
	font-size: 32px !important;
	font-style: normal;
	font-weight: 700;
	line-height: 40px; /* 116.667% */
	letter-spacing: 0.15px;
}

.dashboard-widget-currency-type {
	color: var(--pi-text-subtlest, #626F86) !important; /* ADS color.text.subtlest */
	text-align: center;
	font-size: 24px !important;
	font-style: normal;
	font-weight: 500;
	line-height: 56px; /* 116.667% */
	letter-spacing: 0.15px;
}

.dashboard-widget-occupancy {
	font-size:48px !important;
	font-weight: 500;
	color:var(--pi-slate-8f95b2, #8F95B2) !important;
	display: flex;
	padding: 16px 24px;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	font-style: normal;
	line-height: 56px; /* 116.667% */
	letter-spacing: 0.15px;
}

.dashboard-widget-lables-count {
	font-size:48px !important;
	font-weight: 500;
	color:var(--pi-black, #000000) !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	font-style: normal;
	line-height: 56px; /* 116.667% */
	letter-spacing: 0.15px;
}

.dashboard-widget-lables-count-cont {
	display:flex;
	padding: 8px 16px;
	align-items: baseline;
}

.dashboard-widget-labels-count-text {
	font-weight: 400;
	font-size: 14px !important;
	color:var(--pi-text-subtlest, #626F86) !important; /* ADS color.text.subtlest */
	font-style: normal;
	line-height: 22px; /* 157.143% */
	letter-spacing: 0.15px;
}

.dashboard-widget-text-count-cont {
	display: flex;
	padding: 8px 16px;
	flex-direction: column;
	align-items: center;
	/*gap: 8px;*/
    border-radius: 8px; /* ADS radius.large */
	background: var(--pi-bg-default, #FFFFFF); /* ADS elevation.surface */
}

.dashboard-widget-text-count-cont-basic-stats {
	display: flex;
	padding: 8px 16px 4px 16px;
	flex-direction: column;
	align-items: center;
	gap: 8px;
    border-radius: 8px;
}

.dashboard-widget-text-count-cont-basic-stats > .dashboard-widget-text-count-cont-basic-stats {
	padding: 0;
	gap: 0;
	align-items: center;
}

.dashboard-widget-lables-stock-check-cont {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
    border-radius: 8px;
	background: var(--pi-bg-f8fafc, #F8FAFC);
}

.z-datebox-icon {
	color: var(--pi-slate-8f95b2, #8F95B2);
}

.z-combobox-button:active {
	background-color: none !important;
	background: none !important;
	border-color: none !important;
	box-shadow: none !important;
}

.z-combobox-button:hover {
	background-color: none !important;
	background: none !important;
	border-color: none !important;
	box-shadow: none !important;
}

.z-bandbox-button:active {
	background-color: none !important;
	background: none !important;
	border-color: none !important;
	box-shadow: none !important;
} 
 
 
.z-datebox-button:active {
	background-color: none !important;
	background: none !important;
	border-color: none !important;
	box-shadow: none !important;
} 

.z-datebox-button:hover {
	background-color: none !important;
	background: none !important;
	border-color: none !important;
	box-shadow: none !important;
} 
 
 
.z-timebox-button:active {
	background-color: none !important;
	background: none !important;
	border-color: none !important;
	box-shadow: none !important;
} 
 
.z-spinner-button:active {
	background-color: none !important;
	background: none !important;
	border-color: none !important;
	box-shadow: none !important;
} 
 
.z-doublespinner-button:active {
	background-color: none !important;
	background: none !important;
	border-color: none !important;
	box-shadow: none !important;
}

/* Dashboard Widget UI overhaul */
.desktop-center.z-center .dashboard-widget > .z-panel-body > .z-panelchildren[style*="width"] {
  width: auto !important;
}
/* Hide the colored badge in widget headers */
.desktop-center .dashboard-widget .desktop-center-widget-pannel-header-cont
  .z-label[class*="dashboard-widget-labels-border-"] {
  display: none !important;
}


/* ══════════════════════════════════════════════════════════════════════
   MRO DATA TABLE / LIST — Flex-based rows matching Atlassian table style
   ══════════════════════════════════════════════════════════════════════ */

/* Column header row */
.desktop-center.z-center .dashboard-widget .mro-data-list-header,
.dashboard-widget.mro-component .mro-data-list-header {
  display: flex !important;
  align-items: center !important;
  padding: 0 var(--pi-mro-row-padding-x);
  margin-bottom: 4px;
  border-bottom: 1px solid var(--pi-border-hairline, #EBECF0);
  padding-bottom: 8px;
}

.desktop-center.z-center .dashboard-widget .mro-data-list-header .mro-col,
.dashboard-widget.mro-component .mro-data-list-header .mro-col,
.desktop-center.z-center .dashboard-widget .mro-data-list-header .z-label.mro-col,
.dashboard-widget.mro-component .mro-data-list-header .z-label.mro-col {
  font-family: var(--pi-mro-font);
  font-size: var(--pi-mro-col-header-size) !important;
  font-weight: var(--pi-mro-col-header-weight) !important;
  color: var(--pi-mro-col-header-color) !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 16px !important;
}

/* Data rows */
.desktop-center.z-center .dashboard-widget .mro-data-list-row,
.dashboard-widget.mro-component .mro-data-list-row {
  display: flex !important;
  align-items: center !important;
  padding: var(--pi-mro-row-padding-y) var(--pi-mro-row-padding-x);
  border-radius: 4px;
  transition: background 100ms cubic-bezier(0.2, 0, 0, 1);
}

.desktop-center.z-center .dashboard-widget .mro-data-list-row:hover,
.dashboard-widget.mro-component .mro-data-list-row:hover {
  background: var(--pi-mro-row-hover-bg);
}

/* Row text */
.desktop-center.z-center .dashboard-widget .mro-data-list-row .mro-col,
.dashboard-widget.mro-component .mro-data-list-row .mro-col {
  font-family: var(--pi-mro-font);
  font-size: 14px !important;
  line-height: 20px !important;
  color: var(--pi-mro-text-primary) !important;
  display: flex !important;
  align-items: center !important;
}

/* Numeric / secondary column text */
.desktop-center.z-center .dashboard-widget .mro-data-list-row .mro-col-secondary,
.dashboard-widget.mro-component .mro-data-list-row .mro-col-secondary,
.desktop-center.z-center .dashboard-widget .mro-data-list-row .z-label.mro-col-secondary,
.dashboard-widget.mro-component .mro-data-list-row .z-label.mro-col-secondary {
  color: var(--pi-mro-text-subtle) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* ══════════════════════════════════════════════════════════════════════
   MRO AVATAR / INITIALS — Colored circles with white initials text
   ══════════════════════════════════════════════════════════════════════ */

.desktop-center.z-center .dashboard-widget .mro-avatar,
.dashboard-widget.mro-component .mro-avatar {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--pi-mro-avatar-size) !important;
  height: var(--pi-mro-avatar-size) !important;
  min-width: var(--pi-mro-avatar-size) !important;
  min-height: var(--pi-mro-avatar-size) !important;
  border-radius: var(--pi-mro-avatar-radius) !important;
  font-family: var(--pi-mro-font);
  font-size: var(--pi-mro-avatar-font-size) !important;
  font-weight: var(--pi-mro-avatar-font-weight) !important;
  color: var(--pi-mro-avatar-text-color) !important;
  flex-shrink: 0 !important;
}

.desktop-center.z-center .dashboard-widget .mro-avatar .z-label,
.dashboard-widget.mro-component .mro-avatar .z-label {
  color: var(--pi-mro-avatar-text-color) !important;
  font-size: var(--pi-mro-avatar-font-size) !important;
  font-weight: var(--pi-mro-avatar-font-weight) !important;
}

/* Color variants via modifier classes */
.desktop-center.z-center .dashboard-widget .mro-avatar--blue,
.dashboard-widget.mro-component .mro-avatar--blue {
  background-color: var(--pi-mro-avatar-bg-blue) !important;
}

.desktop-center.z-center .dashboard-widget .mro-avatar--purple,
.dashboard-widget.mro-component .mro-avatar--purple {
  background-color: var(--pi-mro-avatar-bg-purple) !important;
}

.desktop-center.z-center .dashboard-widget .mro-avatar--green,
.dashboard-widget.mro-component .mro-avatar--green {
  background-color: var(--pi-mro-avatar-bg-green) !important;
}

.desktop-center.z-center .dashboard-widget .mro-avatar--orange,
.dashboard-widget.mro-component .mro-avatar--orange {
  background-color: var(--pi-mro-avatar-bg-orange) !important;
}

.desktop-center.z-center .dashboard-widget .mro-avatar--red,
.dashboard-widget.mro-component .mro-avatar--red {
  background-color: var(--pi-mro-avatar-bg-red) !important;
}

/* ══════════════════════════════════════════════════════════════════════
   MRO STATUS BADGE — Semantic color-coded inline labels
   ══════════════════════════════════════════════════════════════════════ */

.desktop-center.z-center .dashboard-widget .mro-badge,
.dashboard-widget.mro-component .mro-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: var(--pi-mro-badge-padding) !important;
  border-radius: var(--pi-mro-badge-radius) !important;
  font-family: var(--pi-mro-font);
  font-size: var(--pi-mro-badge-font-size) !important;
  font-weight: var(--pi-mro-badge-font-weight) !important;
  line-height: 16px !important;
  white-space: nowrap !important;
}

/* Semantic variants */
.desktop-center.z-center .dashboard-widget .mro-badge--danger,
.dashboard-widget.mro-component .mro-badge--danger {
  color: var(--pi-mro-badge-danger-text) !important;
  background-color: var(--pi-mro-badge-danger-bg) !important;
}

.desktop-center.z-center .dashboard-widget .mro-badge--warning,
.dashboard-widget.mro-component .mro-badge--warning {
  color: var(--pi-mro-badge-warning-text) !important;
  background-color: var(--pi-mro-badge-warning-bg) !important;
}

.desktop-center.z-center .dashboard-widget .mro-badge--success,
.dashboard-widget.mro-component .mro-badge--success {
  color: var(--pi-mro-badge-success-text) !important;
  background-color: var(--pi-mro-badge-success-bg) !important;
}

.desktop-center.z-center .dashboard-widget .mro-badge--info,
.dashboard-widget.mro-component .mro-badge--info {
  color: var(--pi-mro-badge-info-text) !important;
  background-color: var(--pi-mro-badge-info-bg) !important;
}

.desktop-center.z-center .dashboard-widget .mro-badge--discovery,
.dashboard-widget.mro-component .mro-badge--discovery {
  color: var(--pi-mro-badge-discovery-text) !important;
  background-color: var(--pi-mro-badge-discovery-bg) !important;
}

/* ══════════════════════════════════════════════════════════════════════
   MRO PROGRESS BAR — Horizontal bar for backlog magnitude visualization
   ══════════════════════════════════════════════════════════════════════ */

/* Progress track: the background rail */
.desktop-center.z-center .dashboard-widget .mro-progress-track,
.dashboard-widget.mro-component .mro-progress-track {
  display: block !important;
  width: 100%;
  height: var(--pi-mro-progress-track-height) !important;
  background-color: var(--pi-mro-progress-track-bg) !important;
  border-radius: var(--pi-mro-progress-track-radius) !important;
  overflow: hidden;
  position: relative;
  flex: 1 1 auto;
}

/* Progress fill: the colored inner bar */
.desktop-center.z-center .dashboard-widget .mro-progress-fill,
.dashboard-widget.mro-component .mro-progress-fill {
  display: block !important;
  height: 100%;
  background-color: var(--pi-mro-progress-fill-color) !important;
  border-radius: var(--pi-mro-progress-fill-radius) !important;
  transition: width 200ms ease-out;
  min-width: 0;
}

/* Reduced motion: disable progress bar transition */
@media (prefers-reduced-motion: reduce) {
  .desktop-center.z-center .dashboard-widget .mro-progress-fill,
  .dashboard-widget.mro-component .mro-progress-fill {
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   MRO BACKLOG COUNT — Numeric label alongside progress bar
   ══════════════════════════════════════════════════════════════════════ */

.desktop-center.z-center .dashboard-widget .mro-backlog-count,
.dashboard-widget.mro-component .mro-backlog-count,
.desktop-center.z-center .dashboard-widget .z-label.mro-backlog-count,
.dashboard-widget.mro-component .z-label.mro-backlog-count {
  font-family: var(--pi-mro-font);
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  color: var(--pi-mro-text-primary) !important;
  text-align: right;
  min-width: 24px;
  white-space: nowrap;
  font-feature-settings: "tnum";
  flex: 0 0 auto;
}

/* ══════════════════════════════════════════════════════════════════════
   MRO BACKLOG CARD — Row layout: asset name (45%) | bar + count (55%)
   ══════════════════════════════════════════════════════════════════════ */

/* Asset name column: truncate long names */
.desktop-center.z-center .dashboard-widget .mro-backlog-card .mro-data-list-row .mro-col:first-child,
.dashboard-widget.mro-component .mro-backlog-card .mro-data-list-row .mro-col:first-child,
.desktop-center.z-center .dashboard-widget .mro-backlog-card .mro-data-list-header .mro-col:first-child,
.dashboard-widget.mro-component .mro-backlog-card .mro-data-list-header .mro-col:first-child {
  flex: 0 0 45% !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Progress bar + count column: fills remaining space */
.desktop-center.z-center .dashboard-widget .mro-backlog-card .mro-data-list-row .mro-col-bar,
.dashboard-widget.mro-component .mro-backlog-card .mro-data-list-row .mro-col-bar,
.desktop-center.z-center .dashboard-widget .mro-backlog-card .mro-data-list-header .mro-col-bar,
.dashboard-widget.mro-component .mro-backlog-card .mro-data-list-header .mro-col-bar {
  flex: 1 1 55% !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px;
}

/* Header "BACKLOG" column: right-align */
.desktop-center.z-center .dashboard-widget .mro-backlog-card .mro-data-list-header .mro-col-bar,
.dashboard-widget.mro-component .mro-backlog-card .mro-data-list-header .mro-col-bar {
  justify-content: flex-end !important;
}





.breadcrumb-toolbar-button {
	background-color: transparent; 
}
.breadcrumb-toolbar-button img {
	width: 22px;
	height: 22px;
}
.breadcrumb-record-info {
	font-size: 12px;
}
.breadcrumb-toolbar-button [class^="z-icon-"] {
	padding-left: 4px;
	padding-right: 4px;
}

.adwindow-form > .z-grid-body {
	background-color: #FFF;
}
.adwindow-form.z-grid > .z-grid-body {
	overflow: visible !important;
}

.adwindow-layout {
	position:absolute; 
	border: none;
	width: 100%;
	height: 100%;
	/*background-color: #F9F9F9;*/
}

.adwindow-layout .z-center {
	border: none;
}

.adwindow-north {
	min-height: 56px;
	width: 100%;
	padding: 0px;
	margin: 0px;
	border: none;
}

.adwindow-south {
	height: 20px;
	width: 100%;
	padding: 0px;
	margin: 0px;
	border-top: 1px solid #C5C5C5 !important;
}

.adwindow-status {
	min-height: 22px;
}

.adwindow-status-docinfo {
	display: inline-block;
	position: absolute;
	right: 4px;
	max-width: 90%;
}

.docstatus-normal .z-label {
	/*color: #6a6a6a;*/
	color: #64748B;
	/*font-size: 16px;*/
	font-style: normal;
	font-weight: 500;
	letter-spacing: 0.2px;
}

.docstatus-error .z-label {
	color: red;
}

.adwindow-status-docstatus {
	display: inline-block;
	float: left;
	padding-left: 4px;
}

.adwindow-toolbar {
	border: 0px;
	padding: 2px 4px;
	height: 36px;
	background-image: none;
	background-color: #fff;
}

.adwindow-toolbar.mobile {
	position: relative;
	overflow: hidden;
}

.adwindow-breadcrumb {
	min-height: 30px;
	background-color: #FFF;
	padding: 16px;
	border-bottom: 1px solid #C5C5C5 !important;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
}
.adwindow-breadcrumb-paths {
	display: inline-block;
	padding: 4px 0px;
}

.adwindow-breadcrumb-paths .z-label{
	color:#64748B;
}

.adwindow-breadcrumb-toolbar {
	display: inline-block; 
	text-align: right;
}
.adwindow-breadcrumb-toolbar .z-toolbar {
	background-image: none; 
	background-color: transparent; 
	border: none;
}
.adwindow-breadcrumb .breadcrumb-record-info.link {
	padding-top: 4px;
	padding-bottom: 0px;
}
.adwindow-breadcrumb .z-toolbarbutton-content {
	line-height: inherit;
}
.adwindow-breadcrumb-menu::after {
	font-family: FontAwesome;
	font-weight: normal;
    font-style: normal;
	font-size: 12px;
    content: "\f0d7";
    margin-left: 3px;
}

.adwindow-detailpane {
	width: 100%; 
	overflow-y: visible;
}

.adwindow-detailpane-tabbox .z-tab-selected span.z-tab-text {
	cursor: pointer;
}

.adwindow-detailpane-tabbox .z-tab-selected span.z-tab-text:hover {
	/*text-decoration: underline;*/
}

.adwindow-detailpane-tabpanel {
	background: #FFF;
}

.adwindow-detailpane-tabpanel .z-toolbarbutton .z-toolbarbutton-content {
	color:#64748B;
}

.adwindow-detailpane-toolbar {
	border: none;
	height: 2em;
	background: #FFF;
}

.adwindow-detailpane-toolbar .z-toolbar-body {
	width: 100%;
}

.adwindow-detailpane-toolbar .z-toolbarbutton {
	float: left;
	display: inline-block;
	padding: 0px;
	padding-left: 1px;
	width: 20px;
}

.adwindow-detailpane-toolbar .z-toolbar-content {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    gap: 24px;
}

.adwindow-detailpane-toolbar .z-toolbarbutton img {
	width: 16px;
	height: 16px;
}

.adwindow-detailpane-toolbar .z-toolbar-body .docstatus-normal,  
.adwindow-detailpane-toolbar .z-toolbar-body .docstatus-error {
	padding-left: 4px;
	margin-top: 2px;
}

.adwindow-detailpane-toolbar .z-toolbar-body .docstatus-normal .z-label,
.adwindow-detailpane-toolbar .z-toolbar-body .docstatus-error .z-label {
	;
}

.adwindow-detailpane-message {
	float: right;
}

.adwindow-detailpane-tabbox {
	width: 99%; 
	margin: auto;
	/*background-color: #D3D3D3;*/
}

.adwindow-detailpane-adtab-grid-south {
	background-color: transparent; 
	position: absolute; 
	right: 0px; 
	top: 0px; 
	height: 24px;
}

.adwindow-detailpane-adtab-grid-south .z-paging {
	padding: 0px !important;
	height: 2em;
	border: none;
}

.adwindow-detailpane-adtab-grid-south .z-paging .z-paging-inp {
	height: 16px;
	line-height: 16px;
}

.adwindow-gridview-detail {
	min-height: 200px;
	height: 35%;
}

.adwindow-gridview-detail + .z-south-splitter {
	border-top: 1px solid #C5C5C5;
	border-bottom: 1px solid #C5C5C5;
}

.adwindow-gridview-detail .z-south-body {
	padding-top: 1px;
	background-color: #D3D3D3;
}

.adwindow-gridview-borderlayout {
	position: absolute; height: 100%; width: 100%;
}

.adwindow-detailpane-sub-tab::before {
	content: '';
	position: absolute;
	width: 0px;
	height: 0px;
	top: 6px;
	left: 4px;
	border-top: 5px dashed transparent;
	border-left: 5px dashed #696969;
	border-right: 5px dashed transparent;
	border-bottom: 5px solid transparent;
}


.adtab-content {
	margin: 0;
	padding: 0;
	border: none;
	position: relative;
}

.adtab-form {
	border:none !important;
	margin:0;
	padding:0;
}

.adtab-grid {
	margin-top: -1px;
	border: none !important;
}

.adtab-grid-south {
	border: none;
	height: 30px;
}

.adtab-grid-south .z-paging {
	border: none;
	padding: 0;
}

.adtab-form-borderlayout {
	width: 100%; 
	height: 100%; 
	position: absolute;
}

.adtab-form-borderlayout .z-center {
	background-color: #F9F9F9;
}

.adtab-form-borderlayout .z-south-collapsed:before { 
	content: 'Detail record';
	position: absolute; 
	font-size: 12px; 
	font-weight: bold;
	text-align: center;
	line-height: 12px;
	left: 4px;
	height: 12px;
}

@media screen and (max-height: 767px) {
	.adtab-form-borderlayout.mobile.z-borderlayout > div > .z-south-collapsed > .z-borderlayout-icon.z-icon-chevron-up {
		display: none;
	}
	.adtab-form-borderlayout.mobile.z-borderlayout > div > .adwindow-gridview-detail.z-south {
		height: 50% !important;
	}
}
@media screen and (max-height: 600px) {
	.adtab-form-borderlayout.mobile.z-borderlayout > div > .adwindow-gridview-detail.z-south {
		height: 60% !important;
	}
}
@media screen and (max-height: 500px) {
	.adtab-form-borderlayout.mobile.z-borderlayout > div > .adwindow-gridview-detail.z-south {
		height: 70% !important;
	}
}
@media screen and (max-height: 400px) {
	.adtab-form-borderlayout.mobile.z-borderlayout > div > .adwindow-gridview-detail.z-south {
		height: 80% !important;
	}
}

@media screen and (min-width: 600px) {
    /* Tablets and bigger */
	.adwindow-detailpane-adtab-grid-south .z-paging ul>li {
  		display: inline!important;
	}
}

.activity-card {
	border: 1px solid #d0cdc8;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	border-bottom: 2px solid #d0cdc8;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	margin-left: 3px;
	margin-right: 3px;
}
.activity-card-spacing {
	margin-top: 8px;
}
.activity-card .help-content {
	font-size: 13px;
}
.mobile .activity-card .help-content {
	font-size: 16px;
}
.record-info-dialog .record-info-radiogroup {
	padding: 4px 4px 8px 4px;
}
.record-info-dialog .record-info-changelog-table {
	margin-left: 3px;
	margin-right: 3px;
}

@media only screen 
  and (max-device-width: 700px) {
	.mobile .adtab-grid > .z-cell > .z-label {
		white-space: pre-line;
	}	
}
.adtab-grid > .z-grid-header > table > tbody > tr.z-columns > th.z-column > .z-column-content {
	text-overflow: ellipsis;	
}
@media only screen 
  and (max-device-width: 700px) {
	.mobile .adtab-grid > .z-grid-header > table > tbody > tr.z-columns > th.z-column > .z-column-content {
		white-space: pre-line;
	}
}

.mobile-overflow-link {
	font-weight: 700; 
	text-decoration: none;
	transition: background 0.8s;
	background-position: center;
}
.mobile-overflow-link:active {
	background-color: #ddd;
  	background-size: 80%;
	transition: background 0s;
}
.adwindow-status-docstatus .z-label.mobile-overflow-link {
	width: 18px;
	cursor: pointer;
	display: inline-block;
}

.slide-right-out {
    animation: slide-right-out 0.3s forwards;
    animation-timing-function: ease-in;
}
@keyframes slide-right-out {
    0% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}
.slide-right-in {
    animation: slide-right-in 0.3s forwards;
    animation-timing-function: ease-out;
}
@keyframes slide-right-in {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}

.slide-left-out {
    animation: slide-left-out 0.3s forwards;
    animation-timing-function: ease-in;
}
@keyframes slide-left-out {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}
.slide-left-in {
    animation: slide-left-in 0.3s forwards;
    animation-timing-function: ease-out;
}
@keyframes slide-left-in {
    0% { transform: translateX(100%); }
    100% { transform: translateX(0%); }
}

@media only screen 
  and (max-device-width: 700px) {
	.adwindow-detailpane-toolbar .z-paging-button {
		margin-right: 2px;
	}
	.adwindow-detailpane-toolbar .z-paging-input {
		margin-left: 3px;
	}
	.adwindow-detailpane-toolbar .z-paging-text {
		margin-right: 3px;
	}
	.adwindow-detailpane-toolbar {
		padding-left: 0px;
		padding-right: 0px;
	}
}
@media only screen 
  and (max-device-width: 350px) {
 	.adwindow-detailpane-toolbar .z-paging-input {
		width: 30px;
	}
}

/*wms css overides*/
.z-tabs-content{
	background-color:#FFF;
}

.adwindow-form .z-group-inner{
	background: #FFF !important;
	border:none !important;
}

.adwindow-form .z-group-header-body {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.adwindow-form .z-group-icon{
	font-size:24px;
}

.adwindow-form .z-group-header .z-label {
	color: #64748B;
}

/*wms overrides*/

.adtab-form-borderlayout .z-column{
	background:#F8FAFC;
	border:none;
	font-size: 16px;
	padding:8px 0px;
}

.adtab-form-borderlayout .z-grid-header{
	background:#F8FAFC;
	border-radius: 8px;
}

.adwindow-toolbar .z-toolbar-content{
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top:8px;
}

.adwindow-toolbar .toolbar-button{
	color:#64748B;
}

.adwindow-form .z-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
	margin-right: 8px;
}


.adwindow-form .z-row > .z-cell:first-child:has(.z-checkbox) {
	padding-left: min(280px, 40%);
	box-sizing: border-box;
}

@media screen and (max-width: 659px) {
	.adwindow-form .z-row > .z-cell:first-child:has(.z-checkbox) {
		padding-left: 0;
	}
}

.adwindow-form .z-checkbox {
	color: var(--pi-text-default, #172B4D);
}

.adwindow-form .z-cell .form-label{
    text-align: left;
    margin-left: 36px;
}

/* if any override occurs please check here */  

.adwindow-form .z-cell{
	padding-bottom : 16px !important;
}

.adwindow-form .group-space{
	padding-bottom:14px !important;
}

.adwindow-status .z-label{
	color : #94A3B8;
}

.adwindow-status .adwindow-status-docstatus {
	margin-left: 8px;
	padding: 8px;
} 

.adtab-grid .z-cell {
	padding: 8px 3px;
}

.adtab-grid .z-column-content {
	padding: 0px 8px 8px 0px;
	color: #94A3B8;
}

.editor-box .z-chosenbox {
	border: 1px solid #EFF6FF;
    border-radius: 8px;
    padding: 6px;
    background: #EFF6FF;
}

.z-listcell-content {
	color: #0F172A !important;
}

/*.z-cell .z-label {
	color: #0F172A !important;
} */

.z-checkbox {
	/*margin:8px;*/
}

.adtab-form .z-grid-header table th {
	background: #F8FAFC;
}

.adtab-grid .z-cell {
	padding: 8px 0px !important;
	background: #FFF;
}

.z-checkbox input {
	width:20px;
	height:20px;
}




			


.z-grid tbody tr.grid-inactive-row td.z-cell {
	background-image: none !important;
	background-color: #DCDAD4 !important;
}

.z-grid tbody tr.grid-inactive-row td.row-indicator-selected {
	background-color: #DCDAD4 !important;
	background-image: url(/webui/zkau/web/bdf04d0/theme/default/images/EditRecord16.png) !important;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 16px 16px;  
	cursor: pointer;
}
.z-grid tbody tr.grid-inactive-row span.row-indicator-selected.z-icon-Edit,
.z-grid tbody tr.highlight span.row-indicator-selected.z-icon-Edit {
	font-family: FontAwesome;
	font-size: larger;
	color: #333; 
	padding-left:6px;
}

.z-cell .z-label {
	padding-left:6px;
}

.z-grid tbody tr.highlight td.z-cell { 	
	background-color: rgba(37, 99, 235, 0.10) !important;
	background-image: none !important;
}

.z-grid tbody tr.highlight td.row-indicator-selected {
	background-color: rgba(37, 99, 235, 0.10) !important;
	background-image: url(/webui/zkau/web/bdf04d0/theme/default/images/EditRecord16.png) !important;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 16px 16px;  
	cursor: pointer;
}

.z-grid tbody tr.highlight td.row-indicator {
	background-color: transparent !important;
	background-image: none !important; 
}

div.z-column-cnt, div.z-grid-header div.z-auxheader-cnt {
	padding: 4px 2px 3px;
}


.z-cell > span.z-label {
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	width: 100%;
	vertical-align: middle;
}

.z-listcell > div.z-listcell-content {
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	width: 100%;
}
@media only screen 
  and (max-device-width: 700px) {
	.z-listcell > div.z-listcell-content {
		white-space: pre-line;
	}	
}
.z-column-content, .z-listheader-content, .z-listcell-content {
	padding: 2px 3px 1px;
}

.z-grid-body .z-cell {
	padding: 2px 3px;
}

.z-row .z-cell, .z-listitem .z-listcell, .z-listitem.z-listitem-selected>.z-listcell {
	border-left: 1px solid #cfcfcf;
}

.z-grid-emptybody td {
	text-align: left;
}

.z-grid-body {
	background-color: #FFF;
}

.z-grid-body table {
    width: 100% !important;
}

.z-grid-header table {
    width: 100% !important;
}



.grid-layout {
	border: none !important; 
	margin: 0 !important; 
	padding: 0 !important;
	background-color: transparent !important;
}
.grid-layout .z-row-inner, .grid-layout .z-cell {
	border: none !important;
	background-color: transparent !important;
}
.grid-layout tr.z-row:hover>td.z-row-inner, .grid-layout tr.z-row:hover>.z-cell {
	border: none !important;
}
.grid-layout tr.z-row:hover>td.z-row-inner, .grid-layout tr.z-row:hover>.z-cell {
	background-image: none !important;
}

tbody.z-grid-empty-body td {
	text-align: left;
}

tbody.z-listbox-empty-body td {
	text-align: left;
}

div.z-listbox-body .z-listcell {
	padding: 2px;
}

.z-listbox-autopaging .z-listcell-cnt {
	height: 20px;
}




.z-attachment-item {
	border: 1px solid #dcdcdc;
	border-radius: 4px;
	background-color: #f5f5f5;
	width: auto !important;
	display: inline-block;
	margin-right: 5px; 
	margin-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
}

.z-attachment-item-del-button {
	float: right;
	background-color: #f5f5f5;
}


.z-combobox-disabled, .z-combobox[disabled], .z-datebox-disabled {
	color: black !important; cursor: default !important; opacity: 1; -moz-opacity: 1; -khtml-opacity: 1; filter: alpha(opacity=100);
}

.z-combobox-disabled * {
	color: black !important; cursor: default !important;
}

.z-combobox-text-disabled {
	background-color: #ECEAE4 !important;
}
.z-comboitem {
	min-height:14px;
	padding: 8px;
}

input:focus, textarea:focus, .z-combobox-input:focus, z-datebox-input:focus, select:focus {
	border: 1px solid #EFF6FF;
	border-radius: 8px;
	background: #EFF6FF;
}

.z-textbox-readonly, .z-intbox-readonly, .z-longbox-readonly, .z-doublebox-readonly, 
.z-decimalbox-readonly, .z-datebox-readonly, .z-timebox-readonly, .editor-input-disd, 
.z-textbox[readonly], .z-intbox[readonly], .z-longbox[readonly], .z-doublebox[readonly], 
.z-decimalbox[readonly], .z-datebox[readonly], .z-timebox[readonly] {
	background-color: #EFF6FF;
	border-radius: 8px;
}

.z-textbox[disabled], .z-intbox[disabled], .z-longbox[disabled], .z-doublebox[disabled], 
.z-decimalbox[disabled], .z-datebox[disabled], .z-timebox[disabled], .z-datebox-input[readonly] {
	color: black !important;
	background-color: #F0F0F0; !important;
	cursor: default !important;
	opacity: 1 !important;
	border-radius: 8px !important;
	border: 1px solid #F0F0F0; !important;
}


.z-combobox-popup {
	max-height: 200px;
}



.z-treecell-content {
	;
	;
}
.tree-moveitem-btn {
	padding: 2px 4px; 
	border-radius: 3px;
}
.tree-moveitem-btn.pressed {
	box-shadow: inset 0 0 0 1px #efefef,inset 0 3px 15px #9f9f9f;
}

.z-treerow > .z-treecell > .z-treecell-content > .z-tree-line.z-tree-spacer:first-child {
	width:0px;
}
.z-treerow > .z-treecell > .z-treecell-content > .z-tree-line.z-tree-spacer + .z-tree-icon {
	/* width: 30px;*/
}
.z-treerow > .z-treecell > .z-treecell-content > .z-tree-line.z-tree-spacer + .z-tree-icon::before {
	content: " ";
	display: inline-block;
    height: 16px;
    line-height: 16px;
    vertical-align: middle;
}

/*WMS overrides*/

.recentitems-box .menu-href{
   	display: flex;
   	align-items: center;
   	margin-left: 22px;
    padding: 8px;
    gap: 8px;
    flex-shrink: 0;
    color: #64748B !important;
    font-weight: 500;
}
.recentitems-box .menu-href:hover {
   text-decoration: none !important;
   background: #EFF6FF !important;
}

.recentitems-box .menu-href i{
	font-size: 20px;
	font-weight: 500;
	color: #64748B !important;
}

.fav-tree-panel .z-treecell-content {
	/*padding: 10px 3px !important*/
	display: flex;
	align-items: center;
    gap: 16px;
    flex-shrink: 0;
    color: #64748B !important;
}

.fav-tree-panel .z-treecell-content .z-treecell-text{
	color: #64748B;
	font-style: normal;
	font-weight: 500;
	line-height: 160%;
	letter-spacing: 0.2px;
	/*padding-left: 20px;*/
}

.fav-tree-panel .z-treecell-content .z-treecell-text i{
	font-size: 20px;
}

.fav-tree-panel .z-toolbarbutton-content i {
	font-size: 16px;
}

.fav-tree-panel .z-treecell-content{
	padding: 8px;
}

.fav-tree-panel .z-treecell-content i{
	/*margin-right: 16px;*/
	width:24px;
}

.fav-tree-panel .z-treecell-text {
	display: flex;
	gap:16px;
}

.fav-tree-panel .z-treecell-content a{
	position: absolute;
	right: 0;
	color: #64748B;
}

.fav-tree-panel .z-treecell-content a  .z-toolbarbutton-content{
	color: #64748B !important;
}

.fav-tree-panel .z-treecell-text {
	display: flex;
    align-items: center;
}

/*wms overrides*/
.z-toolbarbutton:hover {
	border: 1px solid transparent;
   	background: none !important;
    box-shadow: none !important;
    outline: none !important;
}
 



.mandatory-decorator-text {
	text-decoration: none; font-size: xx-small; vertical-align: top; color: var(--pi-text-danger, #AE2E24) !important;
}

.editor-box {
	display: inline-block;
	border: none;
	padding: 0px;
	margin: 0px;
	background-color: transparent;
	position: relative;
}

.editor-input {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Firefox */
	display: inline-block;
	/*padding-right: 22px; */
	width: 100%;
	height: 36px;
	border-radius: var(--pi-radius-md, 4px);
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	background: var(--pi-bg-card, #FFFFFF);
}

.editor-input input{
	padding: 7px 16px;
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	border-radius: var(--pi-radius-md, 4px);
	background: var(--pi-bg-card, #FFFFFF);
	height:100%;
}

.editor-input.mobile.z-decimalbox {
	/*padding-right: 5px;*/
}

.editor-input:focus {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: 0 0 0 2px var(--pi-bg-selected, #E9F2FF) !important;
	-webkit-box-shadow: 0 0 0 2px var(--pi-bg-selected, #E9F2FF) !important;
}

.editor-input-disd {
	padding-right: 0px !important;
}

.editor-button {
	padding: 0px;
	margin: 0px;
	display: inline-block;
	background-color: transparent;
	background-image: none;
	border: none;
	position: absolute;
	width: 22px;
    height: 24px;
    min-height: 24px;
    right: 0px;
	top: 0px;
}

.editor-button :hover {
	-webkit-filter: contrast(1.5);
	filter: contrast(150%);
}

.editor-button img {
	vertical-align: top;
	text-align: left;
	width: 18px;
	height: 18px;
	padding: 1px 1px;
}


.editor-box .grid-editor-input.z-textbox {
	background: var(--pi-bg-card, #FFFFFF);
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	border-radius: var(--pi-radius-md, 4px);
	padding:8px;
}

.editor-box .z-textbox{
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	padding:8px;
}


.grid-editor-button {
}

.grid-editor-button img {
}

.number-box {
	display: inline-block;
	white-space:nowrap;
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	border-radius: var(--pi-radius-md, 4px);
	background: var(--pi-bg-card, #FFFFFF);
}

.number-box .grid-editor-input.z-decimalbox {
	border-radius: var(--pi-radius-md, 4px);
	background: var(--pi-bg-card, #FFFFFF);
}

.datetime-box {
	white-space:nowrap;
}
.datetime-box .z-datebox {
	border-radius: var(--pi-radius-md, 4px);
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	background: var(--pi-bg-card, #FFFFFF);
}
.datetime-box .z-timebox {
	border-radius: var(--pi-radius-md, 4px);
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	background: var(--pi-bg-card, #FFFFFF);
}

span.grid-combobox-editor {
	width: 100% !important;
	position: relative;
}

.grid-combobox-editor input {
	width: 100% !important;
	/*padding-right: 26px;*/
	border-bottom-right-radius: 6px;
	border-top-right-radius: 6px;
	border-right: 0px;
	border-radius: var(--pi-radius-md, 4px);
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	background: var(--pi-bg-card, #FFFFFF);
}

.grid-combobox-editor.z-combobox-disabled input {
	/*border-bottom-right-radius: 3px;
	border-top-right-radius: 3px;
	border-right: 1px solid #F8FAFC;
	padding-right: 5px;*/
	border-radius: var(--pi-radius-md, 4px);
	border: none !important;
	background: var(--pi-bg-sunken, #F7F8F9);
}

.grid-combobox-editor .z-combobox-button {
	position: absolute;
	right: 0px;
	/*border-bottom-right-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom-left-radius: 0px;
	border-top-left-radius: 0px;*/
}

.grid-combobox-editor input:focus {
	/*border-right: 0px;*/
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}

.grid-combobox-editor input:focus + .z-combobox-button {
	/*border-left: 1px solid #0000ff;*/
	 box-shadow:none !important;
	  -webkit-box-shadow:none !important;
}

.editor-input.z-combobox + .editor-button {
	background-color: transparent;
	width: 22px;
    height: 24px;
    min-height: 24px;
    right: 6px;
    top: 6px;
    border: none;
    border-radius: 0;
}
.editor-input.z-combobox > .z-combobox-input {
	border-radius: var(--pi-radius-md, 4px);
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	background: var(--pi-bg-card, #FFFFFF);
}

.editor-input .z-combobox-input:focus{
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}


.payment-rule-editor {
	display: inline-block;
	border: none;
	padding: 0px;
	margin: 0px;
	height: 36px;
	background-color: transparent;
	position: relative;
}
.payment-rule-editor .z-combobox {
	width: 100%;
	height: 100%;
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	border-radius: var(--pi-radius-md, 4px);
	background: var(--pi-bg-card, #FFFFFF);
}
.payment-rule-editor .z-combobox-input {
	display: inline-block;
	/*padding-right: 44px; */
	width: 100%;
	height: 100%;
	/*border-bottom-right-radius: 6px;
	border-top-right-radius: 6px;
	border-right: 0px;*/
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	border-radius: var(--pi-radius-md, 4px);
	background: var(--pi-bg-card, #FFFFFF);
}

.payment-rule-editor a{
	background: none;
    border: none;
   	right: 6px;
    top: 6px;
}

.payment-rule-editor .z-combobox-input:focus {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}
.payment-rule-editor .z-combobox-input.editor-input-disd {
	/*padding-right: 22px !important;*/
}
.payment-rule-editor .z-combobox-button {
	position: absolute;
	/*right: 0px;*/
}
.payment-rule-editor .z-combobox .z-combobox-button-hover {
	background-color: var(--pi-bg-hover, #F1F2F4);
	background-position: 0px 0px;
}
.payment-rule-editor .editor-button {
	background-color: transparent;
	width: 22px;
    height: 24px;
    min-height: 24px;
    right: 6px;
    top: 6px;
    border: none;
    border-radius: 0;
}


.chart-field {
	padding: 10px;
	border: 1px solid var(--pi-border-default, #B3B9C4) !important;
}

.field-label {
	position: relative;
	float: right;
}

.image-field {
	cursor: pointer;
	border: 1px solid var(--pi-border-default, #B3B9C4);
	height: 24px;
	width: 24px;
}
.image-field.image-field-readonly {
	cursor: default;
	border: none;
}
.image-fit-contain {
	object-fit: contain;
}
.z-cell.image-field-cell {
	z-index: 1;
}

.adwindow-form .image-field {
	box-sizing: border-box;
	height: var(--pi-size-image-preview, 112px);
	width: var(--pi-size-image-preview-wide, 280px);
	max-width: 100%;
	padding: var(--pi-space-150, 12px);
	border: 1px solid var(--pi-border-default, #B3B9C4);
	border-radius: var(--pi-radius-lg, 8px);
	background-color: var(--pi-bg-sunken, #F7F8F9);
	object-fit: contain;
}
.adwindow-form .image-field:not(.image-field-readonly):hover {
	border-color: var(--pi-border-selected, #0C66E4);
}
.adwindow-form .image-field.image-field-readonly {
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
}

.adwindow-form .image-field[instancename$="SmallLogo_ID"] {
	width: var(--pi-size-image-preview, 112px);
}

.adwindow-form .image-field[src^="data:image/gif;base64,R0lGODlhAQABAIAAAP"]:not(.image-field-readonly) {
	border-style: dashed;
	background-color: var(--pi-bg-default, #FFFFFF);
}

.adwindow-form .image-field-cell:has(> img.image-field[src^="data:image/gif;base64,R0lGODlhAQABAIAAAP"]:not(.image-field-readonly))::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: calc(var(--pi-space-200, 16px) + var(--pi-size-image-preview, 112px) / 2);
	left: calc(var(--pi-space-25, 2px) + var(--pi-size-image-preview-wide, 280px) / 2);
	width: var(--pi-space-400, 32px);
	height: var(--pi-space-400, 32px);
	transform: translate(-50%, -50%);
	pointer-events: none;
	background-color: var(--pi-icon-subtle, #626F86);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4v11'/><path d='M8 8l4-4 4 4'/><path d='M5 14v5h14v-5'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4v11'/><path d='M8 8l4-4 4 4'/><path d='M5 14v5h14v-5'/></svg>") center / contain no-repeat;
}

.adwindow-form .image-field-cell:has(> img.image-field[instancename$="SmallLogo_ID"][src^="data:image/gif;base64,R0lGODlhAQABAIAAAP"]:not(.image-field-readonly))::before {
	left: calc(var(--pi-space-25, 2px) + var(--pi-size-image-preview, 112px) / 2);
}
.adwindow-form .image-field-cell:hover:has(> img.image-field[src^="data:image/gif;base64,R0lGODlhAQABAIAAAP"]:not(.image-field-readonly))::before {
	background-color: var(--pi-icon-brand, #0C66E4);
}

.html-field {
	cursor: pointer;
	/*border: 1px solid #C5C5C5;*/
	overflow: auto;
}

.dashboard-field-panel.z-panel, .dashboard-field-panel.z-panel > .z-panel-body,  .dashboard-field-panel.z-panel > .z-panel-body > .z-panelchildren  {
	overflow: visible;
}

.idempiere-mandatory, .idempiere-mandatory input, .idempiere-mandatory a {
    border-color: var(--pi-border-danger, #E2483D);
    border-radius: var(--pi-radius-md, 4px);
}


.idempiere-label {
    color: var(--pi-text-default, #172B4D);
}

.idempiere-mandatory-label{
   color: var(--pi-text-danger, #AE2E24) !important;
}

.idempiere-zoomable-label {
    cursor: pointer;
    text-decoration: underline;
}

/*wms overrides*/

.z-combobox {
	height:36px;
}

.z-combobox-input {
	color: var(--pi-text-default, #172B4D) !important;
	height:100%;
	padding:8px;
	border-radius: var(--pi-radius-md, 4px);
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	background: var(--pi-bg-card, #FFFFFF);
}

.z-combobox-icon {
	color: var(--pi-icon-subtle, #626F86);
}

.z-combobox-input:focus {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
}

.z-textbox {
	/*height:100%;*/
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	border-radius: var(--pi-radius-md, 4px);
	padding:8px;
	background: var(--pi-bg-card, #FFFFFF);
}

.z-combobox > a {
	background: none;
    border: none;
   	right: 6px;
    top: 6px;
}

.z-datebox {
	height: 36px;
}

.z-datebox-input {
	height: 100%;
	border-radius: var(--pi-radius-md, 4px);
	padding:8px;
	background-color: var(--pi-bg-card, #FFFFFF);
	background: var(--pi-bg-card, #FFFFFF);
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
}

.z-datebox > a {
	background: none;
	border: none;
	top: 6px;
	right: 6px;
}

.editor-box .editor-button {
	background-color: transparent;
	background-image: none;
	border: none;
	position: absolute;
    right: 6px;
	top: 6px;
}


tr.z-group {
	background: #E9F2FB repeat-x 0 0;
	background-image: url(../images/group_bg.gif) !important;
}

.z-group-header .z-label {
	color: #333;
	width: auto;
	font-weight: bold;
	font-size: 11px;
}

.z-group td.z-group-inner {
	overflow: hidden !important;
	/*border-bottom: 1px solid #CFCFCF !important;
	border-top: 1px solid #CFCFCF !important;*/
	padding: 1px 2px;
}

.z-group-icon {
	display: inline-block;
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.z-group-icon-close:before {
	content: "\f106";
}
.z-group-icon-open:before {
	content: "\f107";
}


.z-tab-close {
	top:4px; 
	margin-right:2px;
	padding-right:18px;
}


.z-tab-selected .z-tab-text, .z-tab .z-tab-text, div.z-treefooter-content, div.z-treecell-content, div.z-treecol-content, 
.z-label, .z-toolbarbutton-content, tr.z-treerow, tr.z-treerow a, tr.z-treerow a:visited {
	color: #333;
}

.z-tab-button :hover {
	/*color: blue;*/
	color:##2563EB;*/
}

.z-tabbox-icon.z-tabbox-left-scroll, .z-tabbox-icon.z-tabbox-right-scroll {
	padding: 0px;
    border-radius: 0px;
    background-color: transparent;
    background: none;
}

.z-tabbox-icon.z-tabbox-left-scroll .z-icon-chevron-left, .z-tabbox-icon.z-tabbox-right-scroll .z-icon-chevron-right {
	opacity: 1;
}
.z-tab-button > .z-icon-times.z-tab-icon {
	top:64%;
	margin-top: -9px;
}





/* Base cell styling */
.menu-treecell-cnt {
    border: 0;
    margin: 0;
    padding: 0;
    ;
    ;
    font-weight: normal;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis !important;
    cursor: pointer;
}

/* Flex container for icon + text + badge/link + caret */
.menu-treecell-cnt .z-treecell-content {
    display: flex;
    align-items: center;
    justify-content: flex-start !important; 
    box-sizing: border-box;
    padding: 8px 16px;
    transition: background-color 0.2s ease;
    height: 40px;
}

/* Hover highlight */
.z-treerow:not(.z-treerow-selected):hover > .menu-treecell-cnt .z-treecell-content {
    background-color: var(--pi-bg-selected, #E9F2FF) !important;
    border-radius: 16px;
}

/* Selected (active) row */
.z-treerow-selected > .menu-treecell-cnt .z-treecell-content {
    background-color: var(--pi-bg-brand, #0C66E4) !important;
    color: white !important;
    border-radius: 16px;
}
.z-treerow-selected .menu-icon,
.z-treerow-selected .z-tree-icon,
.z-treerow-selected .menu-href-newbtn .z-toolbarbutton-content i {
    filter: brightness(0) invert(1) !important;
    color: white !important;
}
/* Also invert link images when selected */
.z-treerow-selected .menu-href img {
    filter: brightness(0) invert(1) !important;
}

.menu-treecell-cnt .z-treecell-content .z-tree-line {
  order: -2 !important;
}

/* Tree icon (caret toggle) styling: move to end and use chevron */
.menu-treecell-cnt .z-treecell-content .z-tree-icon {
  order: -1 !important;
  margin-left: 0 !important;
  margin-right: 4px !important;
  color: inherit;
  font-size: 14px;
  flex-shrink: 0;
}

.z-tree-icon .z-tree-close.z-icon-caret-right::before,
.z-tree-icon .z-tree-close i::before {
    content: "\f105" !important; 
    font-family: FontAwesome !important;
    opacity: 0.25;
    font-size: larger;
}
.z-tree-icon .z-tree-open.z-icon-caret-down::before,
.z-tree-icon .z-tree-open i::before {
    content: "\f107" !important; 
    font-family: FontAwesome !important;
    opacity: 0.25;
    font-size: larger;
}
/* Caret full opacity when selected */
.z-treerow-selected .z-tree-icon .z-tree-close.z-icon-caret-right::before,
.z-treerow-selected .z-tree-icon .z-tree-close i::before,
.z-treerow-selected .z-tree-icon .z-tree-open.z-icon-caret-down::before,
.z-treerow-selected .z-tree-icon .z-tree-open i::before {
    opacity: 1 !important;
}

/* Link styling inside leaf entries */
.menu-href {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    text-decoration: none;
    color: inherit !important;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    gap: 4px;
    padding-bottom: 4px;
}

/* Icon within links */
.menu-href img,
.menu-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: grayscale(100%);
    transition: filter 0.2s ease;
}
.menu-href:hover img,
.menu-entry:hover .menu-icon {
    filter: grayscale(0%);
}
.z-treerow-selected .menu-icon {
    filter: brightness(0) invert(1);
}

/* Badge styling if present */
.menu-badge {
    background-color: var(--pi-bg-brand, #0C66E4);
    color: #fff;
    border-radius: 12px;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 500;
    margin-left: auto !important;
}

/* Ensure tree rows span full width */
.z-treerow,
.menu-treecell-cnt .z-treecell-content {
    margin: 4px 8px !important;
    width: auto !important; 
}

/* Spacer lines for tree indenting */
.z-treecell-content .z-tree-line {
    width: 8px;
}
.z-tree-line.z-tree-spacer {
    flex-shrink: 0;
}

/* Remove default tree borders and backgrounds */
.z-treecell-content,
.menu-treecell-cnt,
div.z-tree-body td.menu-tree-cell,
div.z-dottree-body td.menu-tree-cell,
div.z-filetree-body td.menu-tree-cell,
div.z-vfiletree-body td.menu-tree-cell {
    border: none !important;
    background: transparent !important;
    overflow: visible;
}

.menu-treecell-cnt .z-treecell-content .menu-href:hover,
.menu-treecell-cnt .z-treecell-content .menu-href:active {
    text-decoration: none !important;
    color: inherit !important;
}
/*
.z-treerow > .z-treecell > .z-treecell-content > .z-tree-line.z-tree-spacer:first-child {
	width:4px !important;
} */

.info-panel .z-window-overlapped, .info-panel .z-window-highlighted {
	background-color: #F4F4F4 !important;
}

.info-panel .z-grid {
	border: none !important;
}

.info-panel .statusBar .z-west,
.info-panel .statusBar .z-center {
    background: #F4F4F4;
	border: none;
	padding-top: 2px;
	padding-left: 4px;
}

.info-panel .statusBar .z-east {
    background: #F4F4F4;
	border: none;
	padding-top: 2px;
	padding-left: 4px;
	width:24px;
}

.info-panel .z-south-title{
	bottom: 4px;
    position: relative;
}

.info-panel .z-listbox {
	width: 99% !important;
	position: relative;
	margin: auto;
}

.info-panel .z-south {
	margin-top: 2px;
	border-top: 1px solid #C5C5C5;
	background-color: #F4F4F4; 
}

.info-panel .z-window-highlighted .z-window-content {
	padding: 0px;
}

.info-product-tabbedpane {
	background-color: #FFFFFF;
}

.info-panel.z-window .z-borderlayout > div > .z-north {
	max-height: 50%;
}

.info-panel .z-listheader > .z-listheader-content {
	white-space: pre-line;
	text-overflow: ellipsis;
}

/*wms overrides*/

.info-panel .grid-layout .z-div {
	text-align : left !important;
}

.info-panel .grid-layout .z-div .idempiere-label {
	margin-left: 12%;
}

.doc-action-dialog .grid-layout .z-row-content .z-div {
	display: flex;
    align-items: center;
    gap: 24px;
}

.doc-action-dialog .grid-layout .z-row-content .z-select {
	padding: 8px;
	border:none;
    border-radius: 8px;
}



div.wc-modal, div.wc-modal-none, div.wc-highlighted, div.wc-highlighted-none {
	background-color: var(--pi-white-keyword, white);
}

.z-window-embedded .z-window-content {
	border: none;
}

.z-window-embedded .z-window-header, 
.z-window-embedded .z-window-content {
	background-image: none;
}

.popup-dialog .z-window-header {
	padding: 12px 24px;
	background-color: var(--pi-bg-default, #FFFFFF) !important;
	color: var(--pi-text-default, #172B4D);
	border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4);
    /* font-family: Inter; */
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: var(--pi-line-height-base, 1.4) !important;
}

.z-window-header .z-window-icons button{
	border: none;
    outline: none;
    background: none;
    color: var(--pi-text-subtlest, #626F86);
}
.z-window-header .z-window-icons button:hover{
	color: var(--pi-text-default, #172B4D);
	background: var(--pi-bg-neutral, #F1F2F4);
	border-radius: 4px;
}

.popup-dialog .z-window-content .main-parameter-layout .bottom-parameter-layout{
	border: none;
}

.z-modal-mask {
	z-index: 1800 !important;
}
.z-window {
	padding: 0px;
}

.z-window-embedded .z-window-content {
	border: none;
}

.z-window-overlapped .z-window-content,  .z-window-modal .z-window-content, 
.z-window-highlighted .z-window-content, .z-window-embedded .z-window-content {
	border: none;
}

.z-window-header {
	padding: 4px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	background-color: var(--pi-zk-484848, #484848);
	border-color: var(--pi-zk-484848, #484848);
}
.z-window-embedded > .z-window-header {
	border-radius: 0px;
	/*background-color: transparent;*/
}

.z-window-overlapped, .z-window-popup, .z-window-modal, .z-window-highlighted, 
.embedded-dialog .z-window-embedded
{
	background-color: var(--pi-bg-default, #fff);
	margin: 0px;
	border-radius: 12px; /* ADS radius.xlarge */
	overflow: hidden;
}

.z-window-overlapped .z-window-header,
.z-window-popup .z-window-header,
.z-window-modal .z-window-header,
.z-window-highlighted .z-window-header
{
	color: var(--pi-text-default, #172B4D);
	font-weight: 600;
}

.z-window-header, .z-window-content {
	background-image: none !important;
}

.z-window-modal-shadow, .z-window-overlapped-shadow, .z-window-popup-shadow, .z-window-embedded-shadow, .z-window-highlighted-shadow
{
	border-radius: 12px !important; /* ADS radius.xlarge */
}


.embedded-dialog {
	position: absolute;
}

.embedded-dialog .z-window-embedded-header {
	color: var(--pi-bg-default, #fff);
	font-weight: bold;
}

.popup-dialog .z-window-overlapped .z-window-content, .popup-dialog .z-window-highlighted .z-window-content {
	padding: 0px;
	background-color: var(--pi-zk-f5f5f5, #f5f5f5);
}
.popup-dialog > .z-window-content, .info-panel > .z-window-content {
	padding: 0px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}
.popup-dialog .dialog-content {
	padding: 8px !important;
	--margin-bottom: 20px !important;
}

/* Fix: on the Attribute Set Instance popup (org.adempiere.webui.window.WPAttributeDialog,
   sclass "pattribute-dialog"), ZK sizes the North/Center/South regions of its Borderlayout
   with inline absolute-position pixel offsets computed before the +8px padding/margin above
   is applied. The container's own height ends up smaller than North+South combined, so
   Center -- which holds the Lot/Serial No/Guarantee Date fields and the "New" generate
   button -- renders outside the visible/clickable area, clipped and overlapped by the
   footer. The dialog then looks like it only has a "New Record / Select existing record"
   toggle, and clicking OK trips "Serial No is mandatory" against a field the user was never
   shown. Dropping the regions back into normal document flow (instead of ZK's absolute
   positioning) makes each one size to its actual content, so this popup is the only one
   affected -- other popup-dialogs never used Borderlayout's inline sizing to begin with. */
.pattribute-dialog .z-borderlayout {
	height: auto !important;
}
.pattribute-dialog .z-north-real,
.pattribute-dialog .z-north,
.pattribute-dialog .z-south-real,
.pattribute-dialog .z-south {
	position: static !important;
}
.pattribute-dialog .z-center-real,
.pattribute-dialog .z-center {
	position: static !important;
	height: auto !important;
}

.popup-dialog.z-window-overlapped .dialog-footer {
	padding: 12px 15px 8px 15px !important;
}

.popup-dialog.z-window-highlighted .dialog-footer {
	padding: 12px 15px 8px 15px !important;
}

.dialog-footer {
	margin-bottom: 0;
	/*background-color: #f5f5f5;*/
	/*border-top: 1px solid #ddd;*/
	-webkit-box-shadow: inset 0 1px 0 var(--pi-bg-default, #ffffff);
	-moz-box-shadow: inset 0 1px 0 var(--pi-bg-default, #ffffff);
	box-shadow: inset 0 1px 0 var(--pi-bg-default, #ffffff);
}

.btn-ok {
	font-weight: bold;
}



input[type="checkbox"]:focus
{
 	 outline: var(--pi-blue-0000ff, #0000ff) auto 1px;
	-moz-outline-radius: 3px;
}


.quickform-readonly .z-textbox-readonly, .quickform-readonly .z-intbox-readonly, .quickform-readonly .z-longbox-readonly, .quickform-readonly .z-doublebox-readonly,
.quickform-readonly .z-decimalbox-readonly, .quickform-readonly .z-datebox-readonly, .quickform-readonly .z-timebox-readonly, .quickform-readonly .editor-input-disd,
.quickform-readonly .z-textbox[readonly], .quickform-readonly .z-intbox[readonly], .quickform-readonly .z-longbox[readonly], .quickform-readonly .z-doublebox[readonly],
.quickform-readonly .z-decimalbox[readonly], .quickform-readonly .z-datebox[readonly], .quickform-readonly .z-timebox[readonly]
{
    color: var(--pi-zk-252525, #252525) !important;
    opacity: .8;
}

.date-picker-container {
	padding-left: 5px;
}

.date-picker-component {
	display: inline-grid;
	min-height: 25px;
	border-radius: 5px;
	margin: 0px 5px 5px 0px !important;
}

.date-picker-component .z-listbox {
	border: none;
}

.date-picker-label {
	font-weight: bold;
	margin: 5px;
}

.recordid-editor {
	display: inline-block;
	position: relative;
}
.recordid-editor .z-toolbarbutton {
	padding: 4px 0px 0px 1px;
    margin: 0px;
    display: inline-block;
    background-image: none;
    position: absolute;
    background-color: var(--pi-zk-f7f7f7, #F7F7F7);
    width: 22px;
    height: 24px;
    min-height: 24px;
    right: 0px;
    top: 1px;
    border: 1px solid var(--pi-zk-cfcfcf, #CFCFCF);
    border-radius: 0;
}

.recordid-dialog {
	min-width: 400px;
}

.recordid-dialog-content {
	display: flex;
	padding: 10px;
}

.recordid-dialog-labels {
	display: grid;
    text-align: right;
    align-items: center;
}

.recordid-dialog-fields {
	display: grid;
	width: 77%;
}

.recordid-dialog-fields .editor-button {
	top: 8px !important;
}

.recordid-dialog-content .z-combobox, .recordid-dialog-content .z-textbox {
	width: 98% !important;
	margin: 8px 5px;
}

.recordid-dialog-confirm {
	text-align: end;
    padding: 10px;
}

.recordid-dialog-confirm .z-button {
	margin: 0px 5px !important;
	height: 30px;
	padding: 0px 10px;
}

.date-picker-calendar-button {
	position: absolute;
    right: 0px;
    top: 5px;
}

/*WMS OVERRIDES*/
.popup-dialog .dialog-content{
	padding : 24px !important;
	height : 80%;
}

.popup-dialog .dialog-content span{
	word-break: normal;
	color:var(--pi-slate-64748b, #64748B);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0px;
    text-align: left;
}


.z-window {
	color: var(--pi-text-subtlest);
}


.z-toolbarbutton-content {
	color: var(--pi-text-subtlest);
}

.z-window-header {
	padding: 12px 24px;
	border-radius: 8px 8px 0px 0px;
	background: var(--pi-bg-default, #FFFFFF);
    color: var(--pi-text-default, #172B4D);
	border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4);
	font-size: 16px !important;
	font-style: normal;
	font-weight: 600;
	line-height: var(--pi-line-height-base, 1.4);
}

.z-window {
	border:none !important;
}


.form-label 
{
	text-align: right;
}

.form-label-heading
{
	text-align: center;
}

.form-button {
	width: 99%;
}



.adwindow-form .form-button {
	display: flex;
    width: 100%;
    max-width: var(--pi-size-field-max);
    box-sizing: border-box;
    height: 24px;
    padding: 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid var(--primary, #2563EB);
    background: #F8FAFC;
    color: var(--gray-500, #64748);
}

.adwindow-form .form-button i{
	 color: var(--gray-500, #64748);
}

.form-button img {
	width: 16px;
	height: 16px;
}


.confirm-panel {
	width: auto;
	height: auto;
	position: relative;
	padding-left: 2px;
	padding-right: 2px;
}
.confirm-panel-right {
	float: right;
}
.confirm-panel-left {
	float: left;
}
.confirm-panel-center{
	padding-left: 5px;
	float: left;
}


.busy-dialog {
	cursor: wait;
	background-color: transparent;
}
.busy-dialog-box {
	background-color: transparent;
	padding: 9px; 
}
.busy-dialog-img {
	height: 16px; 
	width: 16px;
	background: transparent no-repeat center;
	background-image: url(../images/progress3.gif) !important;
	display: -moz-inline-box; 
	vertical-align: top; 
	display: inline-block;
}
.busy-dialog-label {
	color: #363636;
}


.status {
	width: 100%;
	height: 29px;
}

.status-db {
    white-space: nowrap;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 5px;
	padding-right: 5px;
	cursor: pointer;
	width: 100%;
	height: 100%;
	margin: 0;
	border-left: solid 1px var(--pi-border-subtle, #DCDFE4);
}
.status-info {
	padding-right: 10px;
	border-left: solid 1px var(--pi-border-subtle, #DCDFE4);
}

.status-selected{
	padding-right: 5px;
	padding-right: 5px;
	border-right: solid 1px var(--pi-border-subtle, #DCDFE4);
}


.status-border {
	border: none;
}


.report-wizard-footer {
	width: 100%;
}




.login-btn{
	width: 100%;
	background: var(--pi-login-brand) !important;
	color: var(--pi-text-inverse) !important;
	padding: var(--pi-space-100);
	border-radius: var(--pi-radius-lg);
	border: 1px solid var(--pi-login-brand);
}

.login-box-footer .z-hlayout-inner {
	width: inherit;
}

.login-confirm-panel-btn{
	width: inherit;
}

.wms-role-confirm-pannel {
	width: 100%;
}

.wms-role-confirm-pannel div {
	width: 100%;
}

.adwindow-form .number-box input{
	padding-right:36px;
}




.toolbar-popup-window {
	border-left: 1px solid #c5c5c5;
	border-right: 1px solid #c5c5c5;
}
.toolbar-popup-window .z-window-content {
	padding: 0px;
}
.toolbar-popup-window.z-window.z-window-noheader {
	padding: 4px;
	padding-bottom: 0px;
}

.toolbar-popup-window.process-buttons-popup .z-button {
	white-space: nowrap;
	width: 95%;
	text-align: left;
	margin: auto;
}

.toolbar-popup-window.process-buttons-popup .toolbar-popup-window-cnt {
	padding: 8px;
}

.toolbar-popup-window::before {
	border-bottom: 7px solid rgba(0, 0, 0, 0.2);
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	content: "";
	display: inline-block;
	left: 9px;
	position: absolute;
	top: -7px;
}

.toolbar-popup-window::after {
	border-bottom: 6px solid #FFFFFF;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	content: "";
	display: inline-block;
	left: 10px;
	position: absolute;
	top: -6px;
}

.toolbar-popup-window .dialog-footer {
	padding: 4px;
}
	




.tree-wsetupwizard-finished,
.tree-wsetupwizard-finished-all {
	background-color: var(--pi-bg-success, #DCFFF1);
	color: var(--pi-text-success, #216E4E);
}

.tree-wsetupwizard-in-progress {
	background-color: var(--pi-bg-selected, #E9F2FF);
	color: var(--pi-text-information, #0055CC);
}

.tree-wsetupwizard-pending {
	background-color: var(--pi-bg-warning, #FFF7D6);
	color: var(--pi-text-warning, #7F5F01);
}

.tree-wsetupwizard-delayed {
	background-color: var(--pi-bg-danger, #FFECEB);
	color: var(--pi-text-danger, #AE2E24);
}

.tree-wsetupwizard-skipped {
	background-color: var(--pi-bg-neutral, #F1F2F4);
	color: var(--pi-text-subtle, #44546F);
}


.tree-wsetupwizard-finished,
.tree-wsetupwizard-finished-all,
.tree-wsetupwizard-in-progress,
.tree-wsetupwizard-pending,
.tree-wsetupwizard-delayed,
.tree-wsetupwizard-skipped {
	padding: var(--pi-space-25, 2px) var(--pi-space-100, 8px);
	border-radius: var(--pi-radius-sm, 3px);
	font-weight: var(--pi-font-weight-medium, 500);
}

.tree-wsetupwizard-finished,
.tree-wsetupwizard-skipped,
.tree-wsetupwizard-delayed,
.tree-wsetupwizard-in-progress,
.tree-wsetupwizard-pending,
.tree-setupwizard-nostatus {
	margin-left: var(--pi-space-250, 20px);
}


.progressmeter-setupwizard {
	background: var(--pi-bg-neutral, #F1F2F4);
	background-image: none;
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	border-radius: var(--pi-radius-full, 9999px);
	text-align: left;
	height: var(--pi-space-100, 8px);
	overflow: hidden;
}

.progressmeter-setupwizard-image {
	display: inline-block;
	background: var(--pi-bg-brand, #0C66E4);
	background-image: none;
	border-radius: var(--pi-radius-full, 9999px);
	height: 100%;
	line-height: 0;
	font-size: 0;
}


.about-trace-panel {
}
.about-info-panel {
}
.about-credit-panel {
}
.about-credit-panel-logo {
}
.about-credit-panel-sponsors {
}
.about-credit-panel-sponsors-header {
}
.about-credit-panel-sponsors-links {
}
.about-credit-panel-contributors {
}
.about-credit-panel-contributors-header {
}
.about-credit-panel-contributors-links {
}
.about-main-panel {
}
.about-main-panel-logo {
}
/* ZK_LOGO_LARGE is the PIPRA One SVG (com.pipra.theme 004), whose natural size is header-small: same size as on the sign-in page */
.about-main-panel-logo img {
	height: var(--pi-size-logo-login);
	width: auto;
	max-width: var(--pi-size-logo-login-max-width);
}
.about-main-panel-version {
}
.about-main-panel-links {
}



.warehouse-data-widget {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: var(--pi-space-200);
	margin-bottom: var(--pi-space-200);
}
.warehouse-data-widget .pi-wh-cards {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pi-space-150);
	min-width: 0;
}
.warehouse-data-widget .pi-wh-card {
	box-sizing: border-box;
	width: var(--pi-size-field-compact);
	display: flex;
	flex-direction: column;
	gap: var(--pi-space-100);
	padding: var(--pi-space-150) var(--pi-space-200);
	background: var(--pi-bg-card);
	border: 1px solid var(--pi-border-default);
	border-radius: var(--pi-radius-lg);
	cursor: pointer;
	transition: border-color var(--pi-duration-fast) ease-out, background-color var(--pi-duration-fast) ease-out;
}
.warehouse-data-widget .pi-wh-card:hover {
	border-color: var(--pi-border-selected);
}

.warehouse-data-widget .pi-wh-card.pi-wh-card-selected {
	border-color: var(--pi-border-selected);
	box-shadow: inset 0 0 0 1px var(--pi-border-selected);
	background: var(--pi-bg-selected);
}
.warehouse-data-widget .pi-wh-name {
	font-size: var(--pi-font-size-200);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-default);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.warehouse-data-widget .pi-wh-qty {
	font-size: var(--pi-font-size-500);
	font-weight: var(--pi-font-weight-semibold);
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}
.warehouse-data-widget .pi-wh-card-stocked .pi-wh-qty {
	color: var(--pi-text-success);
}
.warehouse-data-widget .pi-wh-card-empty .pi-wh-qty {
	color: var(--pi-text-danger);
}
.warehouse-data-widget .pi-wh-refresh {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: var(--pi-space-100);
}
.warehouse-data-widget .pi-wh-updated {
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtlest);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}


.tab-editor-form {
}

.tab-editor-form-content {
}

.tab-editor-form-east-panel {
}

.tab-editor-form-center-panel {
}

.tab-editor-form-west-panel {
}


.find-window {
}
.find-window-simple {
}
.find-window-advanced {
}

.find-window-simple .z-south .z-hbox, .find-window-advanced .z-south .z-hbox {
	margin-top: 5px;
}

.find-window-simple .img-btn, .find-window-simple .img-btn.btn-ok.z-button, .find-window-simple .img-btn.btn-cancel.z-button,
.find-window-advanced .img-btn, .find-window-advanced .img-btn.btn-ok.z-button, .find-window-advanced .img-btn.btn-cancel.z-button {
	margin: 0 2px;
}

.find-window .z-window-content {
	padding-bottom: 0px;	
}
.find-window .z-grid.z-flex-item,
.find-window .z-listbox.z-flex-item,
.find-window .z-toolbar,
.find-window .z-south-body>.z-hbox {
	width: calc(100% - 1px);
}
.find-window .z-toolbar {
	border-bottom: 0px;
}

.help-window {
	position: relative;
}
.help-window-header {
	padding: 10px 0 10px 20px;
}
.help-window-title {
	color: #FF0000;
}
.help-window-description {
}
.help-window-help {
}
.help-window-tabs {
	color: #0000CC;
}
.help-window-content {
	border-top: 1px solid #ddd;
}
.help-window-content-l {
}
.help-window-content-r {
	border-left: 1px solid #ddd;
	padding: 5px;
}
.help-window-tab {
	border-bottom: 1px solid #ddd;
}
.help-window-tab-header {
	background-color: #E6E6FA;
}
.help-window-tab-name {
	padding: 3px 15px !important;
	color: #000066;
}
.help-window-tab-description {
	padding: 3px !important;
}
.help-window-tab-help {
}
.help-window-fields {
	border-bottom: 1px solid #ddd;
	color: #6600CC;
	padding: 5px 15px;
}
.help-window-fields-link {
}
.help-window-field {
	border-bottom: 1px solid #ddd;
	padding: 5px 15px;
}
.help-window-field-name {
	color: #0000CC;
}
.help-window-field-description {
}
.help-window-field-help {
}

.help-window p, .help-window h3, .help-window h4, .help-window h5 {
	display: inline;
}

.help-window-content-r a {
	color: #3465a4 !important;
	text-decoration: underline;
}

.help-window-content-r a:hover {
	text-decoration: none;
}

.help-window-content-l a {
	color: #000 !important;
	text-decoration: none;
}

.help-window-content-l a:hover {
	text-decoration: none;
}

.help-window-content-l td {
	padding: 8px 20px;
	border-bottom: 1px solid #ddd;
}

.help-window-tab td {
	padding: 5px 15px 0 15px;
}

.help-window-content-l tr:hover td {
  background-color: #eee; 
}


.drill-window-tab td {
	padding: 5px 15px 0 15px;
}

.drill-window-field-name {
	color: gray;
}

.drill-window-field-header {
	color: gray;
}

.drill-window-field-header td {
	padding: 10px 15px 0 15px;
}

.z-south-splitter,  .z-west-splitter, .z-east-splitter, .z-north-splitter {
	background: none !important;
}
.z-north-splitter, .z-south-splitter {
	height: 14px;
	border: none;
}

.z-south-collapsed, .z-north-collapsed {
	height: 24px;
}

.z-south-collapsed:hover, .z-east-collapsed:hover, .z-west-collapsed:hover, .z-north-collapsed:hover {
	box-shadow:inset 0 0 8px rgba(197,197,197,0.5);
}

.z-south-collapsed .z-borderlayout-icon, .z-north-collapsed .z-borderlayout-icon {
	height: 12px;
	line-height: 12px;
}

/* Expand / collapse control, app-wide (Related Information, detail panes, side
   panels). ZK ships it at rgba(0,0,0,.57) with no hover state, so it reads as
   decoration; styled here once as an ADS icon button. The collapsed selectors are
   spelled out to match ZK's own two-class rule instead of using !important. */
.z-borderlayout-icon {
	color: var(--pi-icon-default);
	border-radius: var(--pi-radius-sm);
	transition: background-color 120ms ease, color 120ms ease;
}
.z-north-collapsed .z-borderlayout-icon,
.z-south-collapsed .z-borderlayout-icon,
.z-west-collapsed .z-borderlayout-icon,
.z-east-collapsed .z-borderlayout-icon,
.z-center-collapsed .z-borderlayout-icon {
	color: var(--pi-icon-default);
}
/* Hover: full text colour on a neutral chip, like a .pi-btn-subtle icon button. */
.z-borderlayout-icon:hover,
.z-north-collapsed:hover .z-borderlayout-icon,
.z-south-collapsed:hover .z-borderlayout-icon,
.z-west-collapsed:hover .z-borderlayout-icon,
.z-east-collapsed:hover .z-borderlayout-icon,
.z-center-collapsed:hover .z-borderlayout-icon {
	color: var(--pi-text-default);
	background: var(--pi-bg-hover);
}
/* The splitter's collapse caret is the same action, so it takes the same colours. */
.z-east-splitter:hover .z-east-splitter-button,
.z-west-splitter:hover .z-west-splitter-button,
.z-north-splitter:hover .z-north-splitter-button,
.z-south-splitter:hover .z-south-splitter-button {
	color: var(--pi-text-default);
}

.z-west-collapsed {
	cursor: pointer;
	width: 24px;
}

.z-west-collapsed > .z-borderlayout-icon {
	right: 0px;
}

.z-east-collapsed {
	cursor: pointer;
	width: 24px;
}
.z-east-collapsed > .z-borderlayout-icon {
	left: 0px;
}

.z-borderlayout, .z-north, .z-center, .z-south {
	border: none;
}

.z-east-splitter-button,
.z-west-splitter-button,
.z-north-splitter-button,
.z-south-splitter-button {
	color: var(--pi-icon-default);
	filter: alpha(opacity=100);  
	opacity: 1.0;  
}

.z-east-splitter-button-over,
.z-west-splitter-button-over,
.z-north-splitter-button-over,
.z-south-splitter-button-over {
	color: var(--pi-text-default);
}

.z-north.slide {
	border-bottom: 1px solid #cfcfcf;
	box-shadow: 0px 0px 1px 1px #cfcfcf;
	padding-bottom: 4px;
}
.z-south.slide {
	border-top: 1px solid #cfcfcf;
	box-shadow: 0px 0px 1px 1px #cfcfcf;
	padding-top: 4px;
}
.z-west.slide {
	border-right: 1px solid #cfcfcf;
	box-shadow: 0px 0px 1px 1px #cfcfcf;
	padding-right: 4px;
}
.z-east.slide {
	border-left: 1px solid #cfcfcf;
	box-shadow: 0px 0px 1px 1px #cfcfcf;
	padding-left: 4px;
}
.z-north, .z-south, .z-west, .z-center, .z-east {
	border: none;
}

/* .z-window.z-window-noborder.z-window-noheader.z-window-embedded
.z-window.z-window-noborder.z-window-noheader.z-window-embedded .z-window-content
twwo css make height of window always 100% its parent,
it fix some issue relate resize, but can make side effect
when detect side effect, fix to only apply for parameter window*/
.z-window.z-window-noborder.z-window-noheader.z-window-embedded,
.z-window.z-window-noborder.z-window-noheader.z-window-embedded .z-window-content,
.main-parameter-layout {
	height: 100%;
}
.process-modal-dialog .main-parameter-layout{
	height: auto;
	flex-basis: auto;
}
.process-modal-dialog.z-window > .z-window-content {
	flex: 1 1 auto;
}

.main-parameter-layout,
.top-parameter-layout,
.bottom-parameter-layout,
.message-parameter-layout,
.input-paramenter-layout,
.option-paramenter-layout,
.report-option-container,
.bottom-container{
	width: 100%;
}

.report-option-container {
	overflow-x: auto;
}

.top-parameter-layout{
	overflow: auto;
	/*padding-bottom: 2vh;*/
	flex-basis: auto;
	margin-bottom: 24px;
}

.bottom-parameter-layout{
	padding: 4px 4px 0px 4px;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	overflow: visible;
}

.message-paramenter {
	max-height: 300pt; 
	overflow: auto;
	line-height: normal;
}

.option-input-parameter{
	
}

.bottom-container{
	overflow: hidden;
}

.button-container{
	float: right;
	overflow: hidden;
	padding: 4px;
}

/* Label + dropdown stay on row 1; Save/Delete wrap to their own row below.
   AbstractProcessDialog.java#savePrameterLayout appends exactly 4 children,
   in this fixed order: label, combobox, save button, delete button — with
   no wrapper div around the buttons. ZK's Hlayout then wraps each of those
   4 children in its own ".z-hlayout-inner" cell div, so the direct flex
   children of this container are those 4 wrapper divs, not the label/combo/
   button elements themselves — a ">" selector keyed on saved-parameter-list
   or z-button never matches (they're grandchildren). nth-child keys off
   that fixed 4-child order instead. The ::after pseudo-element is a real
   flex item too (generated content on a flex container participates in
   layout like any other child) — giving it flex-basis:100% forces whatever
   comes after it (order 3) onto a new line, without touching core Java. */
.save-parameter-container {
	overflow: visible;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.save-parameter-container > *:nth-child(1) {
	order: 1;
	flex: 0 0 auto;
}
/* This wrapper holds the "Saved Parameters" combobox. It's a flex item
   with no size of its own by default (flex:0 1 auto), so it shrinks to the
   combobox's minimum content width — and the combobox's "width:64%" below
   is then computed against that already-shrunk wrapper, compounding into a
   dropdown far narrower than intended. flex:1 lets the wrapper actually
   claim the rest of row 1 first. */
.save-parameter-container > *:nth-child(2) {
	order: 1;
	flex: 1 1 auto;
	min-width: 0;
}
.save-parameter-container::after {
	content: "";
	order: 2;
	flex-basis: 100%;
	width: 0;
}
.save-parameter-container > *:nth-child(3),
.save-parameter-container > *:nth-child(4) {
	order: 3;
}

.result-parameter-layout {
	overflow: auto;
}

.popup-dialog.z-window.z-window-overlapped.z-window-shadow,
.popup-dialog.z-window.z-window-noborder.z-window-highlighted.z-window-shadow{
	width:600px;
}
@media screen and (max-width: 600px) {
	.popup-dialog.z-window.z-window-overlapped.z-window-shadow,
	.popup-dialog.z-window.z-window-noborder.z-window-highlighted.z-window-shadow{
		width:100%;
	}
}

.input-paramenter-layout{
	margin-top: 24px;
}
@media screen and (max-width: 700px) {
	.input-paramenter-layout{
		width: 90% !important;
		margin-left: 2% !important;
		margin-right: 8% !important;
	}
}
@media screen and (max-width: 500px) {
	.input-paramenter-layout{
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

.popup-dialog .input-paramenter-layout{
	width: 90%;
}

@media screen and (max-width: 500px) {
	.option-input-parameter.z-label.print-format-label,
	.option-input-parameter.z-label.view-report-label {
		display: none;
	}		
}
@media screen and (min-width: 501px) {
	.option-input-parameter.print-format-list > input::-webkit-input-placeholder {
		color: white;
	}
}
@media screen and (min-width: 501px) {
	.option-input-parameter.print-format-list > input::-moz-placeholder {
		color: white;
	}
}
@media screen and (min-width: 501px) {
	.option-input-parameter.print-format-list > input::-ms-input-placeholder {
		color: white;
	}
}
@media screen and (max-width: 400px) {
	.option-input-parameter.print-format-list {
		width: 180px !important;
	}
}
@media screen and (max-width: 320px) {
	.option-input-parameter.print-format-list {
		width: 150px !important;
	}
}
@media screen and (max-width: 500px) {
	.save-parameter-container .saved-parameter-label {
		display: none;
	}
	
	/*.bottom-parameter-layout .saved-parameter-ctr{
		display: flex !important;
	    gap: 24px  !important;
	    align-items: center  !important;
	    /* justify-content: center  !important;
	} */
	
 	 .saved-parameter-label {
		margin-left: 40px !important;
	}
	
	.saved-parameter-list{
		width: 100%;
	}
}
@media screen and (min-width: 501px) {
	.save-parameter-container .saved-parameter-list > input::-webkit-input-placeholder {
		color: white;
	}
}
@media screen and (min-width: 501px) {
	.save-parameter-container .saved-parameter-list > input::-moz-placeholder {
		color: white;
	}
}
@media screen and (min-width: 501px) {
	.save-parameter-container .saved-parameter-list > input::-ms-input-placeholder {
		color: white;
	}
}

/*wms overrides*/
.save-parameter-container .saved-parameter-label{
/*	margin-left:45px;
	padding-right: 20px;*/
}	

.save-parameter-container .saved-parameter-list{
    width: 100%;
}

.saved-parameter-actions{
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: start;
    gap: 12px;
    width: auto;
    padding: 4px 5px;
}

.save-parameter-cont {
	padding-left: 8px;
	display:flex;
	align-items:center;
	gap:22px;
}

.save-parameter-btns-cont {
	display:flex;
	justify-content:center;	
	margin-right: 34%;
}

.saved-parameter-actions button{
	width: 25px;
    height: 8px;
    font-size: smaller !important;
}

.message-paramenter b {
	color: #0F172A !important;
	font-size: 16px !important;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}

.message-paramenter p {
	padding-top: 8px;
}

.process-modal-dialog .main-parameter-layout{
	padding: 24px 32px;	
}

.process-modal-dialog {
	background-color: var(--pi-bg-brand, #0C66E4);
}

.info-panel {
	background-color: var(--pi-bg-brand, #0C66E4);
}

.info-panel table {
	border : none;
}

.info-panel table tr , td  {
	border :none !important;
}

.info-panel table th {
	border :none;
	padding: 8px 0px;
	background: #F8FAFC;
}

.info-panel table th .z-listheader-content {
	color : #94A3B8;
}

.info-panel table .z-listbox-odd {
  	background: #F1F5F9;
}

.info-panel table .z-listitem-selected {
	background: #bbdefb;
}

.info-panel table tr td  {
  	background: inherit !important;
}

.popup-dialog {
	background-color: var(--pi-bg-brand, #0C66E4);
}

/* Numeric parameter values read left-to-right, aligned with the text/lookup
   fields beside them, instead of ZK's default right-alignment. Scoped to the
   process/report parameter dialog only (.input-paramenter-layout) so data
   grids and window forms keep their right-aligned numbers.
   NumberBox.java sets style="text-align:right" inline on the decimalbox, so
   !important is required to override it. */
.input-paramenter-layout .number-box .editor-input,
.input-paramenter-layout .number-box input,
.input-paramenter-layout .z-decimalbox,
.input-paramenter-layout .z-decimalbox-readonly,
.input-paramenter-layout .z-intbox,
.input-paramenter-layout .z-intbox-readonly,
.input-paramenter-layout input.z-decimalbox {
	text-align: left !important;
}








.about-window {
	width: 375px;
	height: 600px;
}
@media screen and (max-width: 375px) {
	.about-window {
		width: 100%;
	}
}
@media screen and (max-height: 600px) {
	.about-window {
		height: 100%;
	}
}

.customize-grid-view-dialog {
	width: 600px;
	height: 500px;
}
@media screen and (max-width: 600px) {
	.customize-grid-view-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 500px) {
	.customize-grid-view-dialog {
		height: 100%;
	}
}

.attachment-dialog.popup-dialog.z-window.z-window-overlapped {
	width: 700px;
	height: 85%;
}
@media screen and (max-width: 700px) {
	.attachment-dialog.popup-dialog.z-window.z-window-overlapped {
		width: 100%;
	}
}
@media screen and (max-height: 600px) {
	.attachment-dialog.popup-dialog.z-window.z-window-overlapped {
		height: 100%;
	}
}

.chat-dialog.popup-dialog.z-window.z-window-overlapped {
	height: 88%;
	width: 500px;
}
@media screen and (max-width: 500px) {
	.chat-dialog.popup-dialog.z-window.z-window-overlapped {
		width: 100%;
	}
}
@media screen and (max-height: 600px) {
	.chat-dialog.popup-dialog.z-window.z-window-overlapped {
		height: 100%;
	}
}

.email-dialog {
	height: 80%;
	width: 80%;
}
@media screen and (max-width: 600px) {
	.email-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 600px) {
	.email-dialog {
		height: 100%;
	}
}

.field-record-info-dialog {
	width: 640px;
	height: 480px;
}
@media screen and (max-width: 640px) {
	.field-record-info-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 480px) {
	.field-record-info-dialog {
		height: 100%;
	}
}	

.record-info-dialog {
	width: 800px;
	height: 600px;
}
@media screen and (max-width: 800px) {
	.record-info-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 600px) {
	.record-info-dialog {
		height: 100%;
	}
}

.value-preference-dialog {
	width: 500px;
}
@media screen and (max-width: 500px) {
	.value-preference-dialog {
		width: 100%;
	}
}

.pattribute-dialog {
	width: 500px;
}
@media screen and (max-width: 500px) {
	.pattribute-dialog {
		width: 100%;
	}
}

.pattribute-instance-dialog {
	width: 1000px;
	height: 550px;
}
@media screen and (max-width: 1000px) {
	.pattribute-instance-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 550px) {
	.pattribute-instance-dialog {
		height: 100%;
	}
}

.account-dialog {
	height: 500px;
	width: 750px;
}
@media screen and (max-width: 750px) {
	.account-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 500px) {
	.account-dialog {
		height: 100%;
	}
}
@media screen and (max-width: 719px) {
	.account-dialog {
		height: 100%;
	}
}

.invoice-history-dialog {
	width: 700px;
	height: 500px;
}
@media screen and (max-width: 700px) {
	.invoice-history-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 500px) {
	.invoice-history-dialog {
		height: 100%;
	}
}

.create-from-window {
	width: 750px;
	height: 550px;
}
@media screen and (max-width: 750px) {
	.create-from-window {
		width: 100%;
	}
}
@media screen and (max-height: 550px) {
	.create-from-window {
		height: 100%;
	}
}

.create-from-form {
	width: 750px;
	height: 550px;
}
@media screen and (max-width: 750px) {
	.create-from-form {
		width: 100%;
	}
}
@media screen and (max-height: 550px) {
	.create-from-form {
		height: 100%;
	}
}

.payment-form-dialog {
	width: 500px;
}
@media screen and (max-width: 500px) {
	.payment-form-dialog {
		width: 100%;
	}
}

.process-parameter-form-dialog {
	width: 500px;
}
@media screen and (max-width: 500px) {
	.process-parameter-form-dialog {
		width: 100%;
	}
}

.quick-entry-dialog {
	width: 350px;
}
.quick-entry-dialog > .z-window-content {
	overflow: auto;
	padding: 4px;	
}
.quick-entry-dialog > .z-window-content > .confirm-panel {
	padding-top: 4px;
}
@media screen and (max-width: 350px) {
	.quick-entry-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 500px) {
	.quick-entry-dialog {
		height: 100%;
	}
}

.feedback-request-dialog {
	width: 400px;
	height: 600px;
}
@media screen and (max-width: 400px) {
	.feedback-request-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 600px) {
	.feedback-request-dialog {
		height: 100%;
	}
}

.request-dialog {
	width: 400px;
	height: 550px;
}
@media screen and (max-width: 400px) {
	.request-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 550px) {
	.request-dialog {
		height: 100%;
	}
}

.image-dialog {
	width: 640px;
	height: 540px;
}
@media screen and (max-width: 640px) {
	.image-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 540px) {
	.image-dialog {
		height: 100%;
	}
}

.doc-action-dialog {
	width: 410px;
}
@media screen and (max-width: 410px) {
	.doc-action-dialog {
		width: 100%;
	}
}

.assignment-dialog {
	width: 600px;
}
@media screen and (max-width: 600px) {
	.assignment-dialog {
		width: 100%;
	}
}

.location-dialog {
	height: 420px;
}
.location-dialog > .z-window-content > .z-borderlayout {
	min-width: 380px;
}
.location-dialog .field-label {
	white-space: nowrap;
}
.location-dialog .confirm-panel {
	padding: 4px 8px;
}
@media screen and (max-width: 380px) {
	.location-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 420px) {
	.location-dialog {
		height: 100%;
	}
}

.locator-dialog {
	width: 260px;
	height: 350px;
}
@media screen and (max-width: 260px) {
	.locator-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 350px) {
	.locator-dialog {
		height: 100%;
	}
}

.media-dialog {
	width: 500px;
	height: 500px;
}
@media screen and (max-width: 500px) {
	.media-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 500px) {
	.media-dialog {
		height: 100%;
	}
}

.text-editor-dialog {
	width: 800px;
	height: 450px;
}
@media screen and (max-width: 800px) {
	.text-editor-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 450px) {
	.text-editor-dialog {
		height: 100%;
	}
}

.create-from-bank-statement.create-from-window {
	width: 900px;
	height: 800px;
}
@media screen and (max-width: 900px) {
	.create-from-bank-statement.create-from-window {
		width: 100%;
	}
}
@media screen and (max-height: 800px) {
	.create-from-bank-statement.create-from-window {
		height: 100%;
	}
}

.chosenbox-assistant-dialog {
	height: 600px;
	width: 700px;
}
@media screen and (max-width: 500px) {
	.chosenbox-assistant-dialog {
		width: 100%;
	}
}
@media screen and (max-height: 500px) {
	.chosenbox-assistant-dialog {
		height: 100%;
	}
}


.z-icon-Account:before {
	content: "\f12e";
}
.z-icon-Archive:before {	
	content: "\f187";
}
.z-icon-Assignment:before {
	content: "\f0cb";
}
.z-icon-Attachment:before {	
	content: "\f0c6";
}
.z-icon-BPartner:before {
	content: "\f007";
}
.z-icon-Calculator:before {
	content: "\f1ec";
}
.z-icon-Calendar:before {
	content: "\f073";
}
.z-icon-Cancel:before {
	content: "\f00d";
}
.z-icon-ChangeLog:before {
	content: "\f017";
	font-weight: bold;
}
.z-icon-Chat:before {
	content: "\f0e6";
}
.z-icon-Collapsing:before {
	content: "\f102";
}
.z-icon-Copy:before {	
	content: "\f0c5";
}
.z-icon-CSVImport:before {
	content: "\f0f6";
}
.z-icon-Customize:before {
	content: "\f0db";
}
.z-icon-Delete:before {
	font-weight: bold;
	content: "\f068";
}
.z-icon-DeSelectAll:before {
	content: "\f248";
}
.z-icon-Detail:before {	
	content: "\f0d7";
}
.z-icon-Edit:before {	
	content: "\f044";
}

.z-icon-ErrorMessageBox:before {
	content: "\f057";
	font-size: 32px;
	color: var(--pi-icon-danger, #C9372C);
	font-family: FontAwesome;
}
.z-icon-ExclamationMessageBox:before {
	content: "\f06a";
	font-size: 32px;
	color: var(--pi-icon-warning, #E56910);
	font-family: FontAwesome;
}
.z-icon-ExcludeSelected:before {
	content: "\f05e";
}
.z-icon-Expand:before {
	content: "\f0d7";
}
.z-icon-Expanding:before {
	content: "\f103";
}
.z-icon-Export:before {	
	content: "\f0ed";
}
.z-icon-FastBack:before {
	content: "\f049";
}
.z-icon-FastForward:before {
	content: "\f050";
}
.z-icon-FieldSuggestion:before {
	content: "\f0e5";
}
.z-icon-FileImport:before {
	content: "\f0ee";		
}
.z-icon-Find:before {	 
	content: "\f002";
}
.z-icon-FirstRecord:before {	 
	content: "\f048";
}
.z-icon-Folder:before {
	content: "\f07c";
}
.z-icon-Form:before {
	content: "\f00b";
}
.z-icon-GetMail:before {
	content: "\f0e0";
}
.z-icon-Help:before {
	content: "\f059";
}
.z-icon-History:before {
	content: "\f1da";
}
.z-icon-Home:before {
	content: "\f015";
}
.z-icon-Ignore:before {
	content: "\f0e2";
}
.z-icon-Import:before {
	content: "\f0ee";		
}
.z-icon-IncludeSelected:before {
	content: "\f05d";
}
.z-icon-Info:before {	
	content: "\f0eb";
}
.z-icon-InfoAccount:before {	
	content: "\f02d";
}
.z-icon-InfoAsset:before {	
	content: "\f0b1";
}
.z-icon-InfoBPartner:before {	
	content: "\f0c0";
}
.z-icon-InfoMessageBox:before {
	content: "\f05a";
	font-size: 32px;
	color: var(--pi-icon-brand, #0C66E4);
	font-family: FontAwesome;
}
.z-icon-InfoInOut:before {	
	content: "\f0d1";
}
.z-icon-InfoInvoice:before {	
	content: "\f14b";
}
.z-icon-InfoLocator:before {
	content: "\f1b2";
}
.z-icon-InfoOrder:before {	
	content: "\f0c9";
}
.z-icon-InfoPayment:before {	
	content: "\f0d6";
}
.z-icon-InfoProduct:before {	
	content: "\f07a";
}
.z-icon-InfoResource:before {	
	content: "\f0eb";
}
.z-icon-InfoSchedule:before {	
	content: "\f017";
}
.z-icon-InfoShipment:before {
	content: "\f0d1";
}
.z-icon-LastRecord:before {
	content: "\f051";
}
.z-icon-Location:before {
	content: "\f036";
}
.z-icon-Marketplace:before {
	content: "\f290";
}
.z-icon-Updates:before {
	content: "\f0a1";
}
.z-icon-Locator:before {
	content: "\f233";
}
.z-icon-Lock:before {
	content: "\f13e";
}
.z-icon-LockX:before {
	content: "\f023";
}
.z-icon-More:before {
	content: "\f142";
}
.z-icon-MoveDown:before {
	content: "\f0d7";
}
.z-icon-MoveLeft:before {
	content: "\f0d9";
}
.z-icon-MoveRight:before {
	content: "\f0da";
}
.z-icon-MoveUp:before {
	content: "\f0d8";
}
.z-icon-Multi:before {	
	content: "\f0ce";
}
.z-icon-New:before {
	content: "\f067";
}
.z-icon-Next:before {
	content: "\f0da";
}
.z-icon-NextRecord:before {
	content: "\f061";
}
.z-icon-Notice:before {
	font-weight: bold;
	content: "\f01c";
}
.z-icon-Ok:before {
	content: "\f00c";
}
.z-icon-Online:before {
	content: "\f0ac";
}
.z-icon-Open:before {
	content: "\f016";
}
.z-icon-Parent:before {	
	content: "\f0d8";
}
.z-icon-PAttribute:before {
	content: "\f02b";
}
.z-icon-Payment:before {
	content: "\f0d6";
}
.z-icon-PostIt:before {
	content: "\f24a";
}
.z-icon-Label:before {
	content: "\f02b";
}
.z-icon-NotAllowed:before {
	content: "\f05e";
}
.z-icon-Preference:before {
	content: "\f085";
}
.z-icon-Previous:before {
	content: "\f0d9";
}
.z-icon-PreviousRecord:before {
	content: "\f060";
}
.z-icon-Print:before {
	content: "\f02f";
}
.z-icon-Process:before {
	content: "\f013";
}
.z-icon-ProcessMenu:before {
	content: "\f085";
}
.z-icon-Product:before {	
	content: "\f07a";
}
.z-icon-QuestionMessageBox:before {
	content: "\f059";
	font-size: 32px;
	color: green;
	font-family: FontAwesome;
}
.z-icon-QuickForm:before {
	content: "\f0ae";
}
.z-icon-Refresh:before {
	content: "\f021";
}
.z-icon-Report:before {	
	content: "\f1ea";
}
.z-icon-Request:before {	
	content: "\f046";
}
.z-icon-ReRun:before {
	content: "\f144";
}
.z-icon-Reset:before {
	content: "\f12d";
}
.z-icon-Save:before {	
	content: "\f0c7";
}
.z-icon-SaveCreate:before {
	content: "\f0fe";
}
.z-icon-Search:before {
	content: "\f002";
}
.z-icon-SelectAll:before {
	content: "\f247";
}
.z-icon-SendMail:before {
	content: "\f003";
}
.z-icon-SequenceChange:before {
	content: "\f14d";
}
.z-icon-Share:before {
	content: "\f0ac";
}
.z-icon-ShowMore:before {
	content: "\f142";
}
.z-icon-Single:before {	
	content: "\f044";
}
.z-icon-StepBack:before {
	content: "\f04a";
}
.z-icon-StepForward:before {
	content: "\f04e";
}
.z-icon-Task:before {
	content: "\f0ae";
}
.z-icon-ThreeLineMenu:before {
	content: "\f0c9";
}
.z-icon-Translate:before {
	content: "\f1ab";
}
.z-icon-Trash:before {
	content: "\f014";
}
.z-icon-TreeFavNodeAdd:before {
	content: "\f07b";
}
.z-icon-UnprocessedDoc:before {	
	content: "\f044";
}
.z-icon-Undo:before {
	content: "\f0e2";
}
.z-icon-UnSort:before {
	content: "\f074";
}
.z-icon-VPreference:before {
	content: "\f039";
}
.z-icon-Window:before {
	content: "\f022";
}
.z-icon-Wizard:before {
	content: "\f0d0";
}
.z-icon-Workflow:before, .z-icon-WorkFlow:before {	
	content: "\f126";
}
.z-icon-Zoom:before {
	content: "\f14c";
}
.z-icon-ZoomAcross:before {	
	content: "\f00e";
}




/* ---------- toolbar row (North) -----------------------------------------
   Beats WAttachment's own inline `style="padding:4px;background:#e8e8e8"` - only
   `!important` in a stylesheet outranks a plain (non-!important) inline style. White,
   with a bottom divider, matching the "fixed top area" convention already used for the
   PUX Context panel's own action row (pux-context-panel.css.dsp .pux-ctx-panel-actions).

   FIX (this had no effect at all before): used `.z-borderlayout > .z-north` (direct
   child). ZK actually renders a plain wrapper <div> between them - confirmed by this
   theme's own existing `.z-borderlayout > div`/`.z-borderlayout > div > .z-north` rules
   (custom.css.dsp's .find-window block, info-window.css.dsp:50) - so that selector never
   matched anything and every declaration below it was dead. Descendant selectors (no `>`)
   fix that regardless of the exact wrapper depth. Also: the padding-bearing element is the
   inner `.z-north-body` content wrapper, not `.z-north` itself (same established pattern -
   custom.css.dsp's `.find-window .z-borderlayout .z-north .z-north-body { padding-top }`);
   background is set on both since inline `background:#e8e8e8` sits on `.z-north` but
   `.z-north-body` is what visually covers the content area. */
.attachment-dialog .z-borderlayout .z-north,
.attachment-dialog .z-borderlayout .z-north .z-north-body {
	background: var(--pi-bg-card, #FFFFFF) !important;
}
.attachment-dialog .z-borderlayout .z-north .z-north-body {
	padding: var(--pi-space-150, 12px) var(--pi-space-200, 16px) !important;
}
.attachment-dialog .z-borderlayout .z-north {
	border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
}
/* The Vlayout wrapping [toolbar row, progress meter, description] - a real gap between
   them instead of them touching edge-to-edge. */
.attachment-dialog .z-north .z-vlayout {
	display: flex !important;
	flex-direction: column !important;
	gap: var(--pi-space-150, 12px) !important;
}
.attachment-dialog .z-toolbar {
	display: flex !important;
	align-items: center !important;
	gap: var(--pi-space-50, 4px) !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
}
/* bEmail never gets the .img-btn sclass other toolbar buttons do - a pre-existing core
   typo in WAttachment.staticInit() (it calls bLoad.setSclass("img-btn") a second time
   instead of bEmail.setSclass(...), so the custom.css.dsp .img-btn ghost-button rule this
   dialog's other icon buttons get never matches it). Can't fix the Java (core); reach it
   here instead via its icon glyph, which core does set correctly. */
.attachment-dialog .z-toolbar .z-button:has([class*="z-icon-SendMail"]) {
	background: transparent !important;
	border: none !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	box-shadow: none !important;
	min-height: var(--pi-space-400, 32px) !important;
}
.attachment-dialog .z-toolbar .z-button:has([class*="z-icon-SendMail"]):hover {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
}
.attachment-dialog .z-toolbar .z-button:has([class*="z-icon-SendMail"]) [class*="z-icon-"] {
	color: var(--pi-text-subtle, #44546F) !important;
}
.attachment-dialog .z-toolbar .z-button:has([class*="z-icon-SendMail"]):hover [class*="z-icon-"] {
	color: var(--pi-text-default, #172B4D) !important;
}

/* ---------- icons that say what each button does (PA-944) -----------------
   WAttachment (core) borrows the window toolbar's Import / Export glyphs: Load got
   Import (arrow down into a tray, read as "download") and Save got Export (arrow up
   out of a tray, read as "upload") - the reverse of what they do with a file. Inside
   this dialog only, each glyph is redrawn for its button; the window toolbar keeps
   Import / Export as they are. Same --pi-ico mask mechanism as custom.css.dsp (the
   ZIP glyph joins that shared mask rule there, since it is a FontAwesome icon). */
.attachment-dialog .z-icon-Import:before {      /* bLoad - upload a file from the PC */
	--pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 15V4'/><path d='M8 8l4-4 4 4'/><path d='M5 15v4h14v-4'/></svg>");
}
.attachment-dialog .z-icon-Export:before {      /* bSave - download the selected file */
	--pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4v11'/><path d='M8 11l4 4 4-4'/><path d='M5 15v4h14v-4'/></svg>");
}
.attachment-dialog .z-icon-file-zip-o:before {  /* bSaveAllAsZip - download every file as one ZIP */
	--pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='4' rx='1'/><path d='M5 8v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8'/><path d='M12 11v6M9.5 14.5L12 17l2.5-2.5'/></svg>");
}
.attachment-dialog .z-icon-SendMail:before {    /* bEmail - send the file by e-mail */
	--pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='1.5'/><path d='M3.5 6.5l8.5 6.5 8.5-6.5'/></svg>");
}
.attachment-dialog .z-icon-Find:before {        /* bPreview - show the file (a magnifier read as Search) */
	--pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/><circle cx='12' cy='12' r='3'/></svg>");
}
/* File-picker dropdown (cbContent, a "select"-mold Listbox = a native <select> under
   the hood) - .popup-dialog .z-select already carries the app's ADS combo styling
   (border/radius/focus ring); this just gives it room to breathe next to the icon
   buttons and a sensible minimum width so it doesn't collapse to a sliver when empty. */
.attachment-dialog .z-toolbar .z-select {
	margin-left: var(--pi-space-100, 8px) !important;
	min-width: 160px;
}
/* File-size readout next to the dropdown. */
.attachment-dialog .z-toolbar .z-label {
	margin-left: var(--pi-space-100, 8px) !important;
	font-size: var(--pi-font-size-75, 12px);
	color: var(--pi-text-subtle, #44546F);
	white-space: nowrap;
}

/* ---------- description textarea ----------------------------------------
   Plain ZK textbox with no ADS treatment in a popup context - border/radius/focus ring
   to match the rest of the app's inputs. */
.attachment-dialog .z-north textarea {
	width: 100% !important;
	box-sizing: border-box;
	border: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	padding: var(--pi-space-100, 8px) var(--pi-space-150, 12px) !important;
	font-size: var(--pi-font-size-100, 13px);
	color: var(--pi-text-default, #172B4D);
	background: var(--pi-bg-card, #FFFFFF) !important;
}
.attachment-dialog .z-north textarea:focus {
	outline: none !important;
	border-color: var(--pi-border-focused, #388BFF) !important;
	box-shadow: 0 0 0 1px var(--pi-border-focused, #388BFF) !important;
}

/* ---------- drag-over highlight ------------------------------------------
   Dashed outline shown while a file is dragged over the drop target - brand blue
   ("this is now an active drop zone"), not the old raw green. */
.attachment-drag-entered {
	border: 3px dashed var(--pi-border-focused, #388BFF) !important;
}

.drop-progress-meter {
	width: 100% !important;
}
.z-progressmeter-image {
	background: var(--pi-icon-brand, #0C66E4) !important;
}

/* ---------- preview pane (Center > Panel.popup-content-background) ------- */
.popup-content-background {
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	border-radius: var(--pi-radius-md, 4px);
	background: var(--pi-bg-sunken, #F7F8F9);
}





.wms-user-icon {
	width: 22px;
	height: 22px;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImJ4OmJ4LXVzZXIiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNMTIgMkMxMS4wMTExIDIgMTAuMDQ0NCAyLjI5MzI0IDkuMjIyMTUgMi44NDI2NUM4LjM5OTkgMy4zOTIwNiA3Ljc1OTA0IDQuMTcyOTUgNy4zODA2IDUuMDg2NThDNy4wMDIxNiA2LjAwMDIxIDYuOTAzMTUgNy4wMDU1NSA3LjA5NjA3IDcuOTc1NDVDNy4yODkgOC45NDUzNiA3Ljc2NTIgOS44MzYyNyA4LjQ2NDQ3IDEwLjUzNTVDOS4xNjM3MyAxMS4yMzQ4IDEwLjA1NDYgMTEuNzExIDExLjAyNDUgMTEuOTAzOUMxMS45OTQ1IDEyLjA5NjkgMTIuOTk5OCAxMS45OTc4IDEzLjkxMzQgMTEuNjE5NEMxNC44MjcgMTEuMjQxIDE1LjYwNzkgMTAuNjAwMSAxNi4xNTczIDkuNzc3ODVDMTYuNzA2OCA4Ljk1NTYxIDE3IDcuOTg4OTEgMTcgN0MxNyA1LjY3MzkyIDE2LjQ3MzIgNC40MDIxNSAxNS41MzU1IDMuNDY0NDdDMTQuNTk3OSAyLjUyNjc4IDEzLjMyNjEgM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Jyb3VuZCIvPgo8L2c+Cjwvc3ZnPgo=)
}

.wms-calendar-icon {
	width: 20px;
    height: 20px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikh1Z2UtaWNvbi9pbnRlcmZhY2Uvb3V0bGluZS9jYWxlbmRhciI+CjxwYXRoIGlkPSJWZWN0b3IiIGQ9Ik0zIDlWMThDMyAyMC4yMDkxIDQuNzkwODYgMjIgNyAyMkgxN0MxOS4yMDkxIDIyIDIxIDIwLjIwOTEgMjEgMThWOU0zIDlWNy41QzMgNS4yOTA4NiA0Ljc5MDg2IDMuNSA3IDMuNUgxN0MxOS4yMDkxIDMuNSAyMSA1LjI5MDg2IDIxIDcuNVY5TTMgOUgyMU0xNiAyVjVNOCAyVjUiIHN0cm9rZT0iIzY0NzQ4QiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L2c+Cjwvc3ZnPgo=)
}

.wms-summary-icon {
	width: 24px;	
    height: 24px;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggb3BhY2l0eT0iMC45NDEiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTIuMzUxNiAwLjMwNDY4NEMxMi44OTg3IDAuMjk2ODc4IDEzLjQ0NTUgMC4zMDQ2OSAxMy45OTIyIDAuMzI4MTIxQzE0Ljc4NDMgMC40NzE3NDIgMTUuMjg0MyAwLjkzMjY4MiAxNS40OTIyIDE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MTYuNTU3MyAxOS4xOTUzIDE2LjE5NTNaIiBmaWxsPSIjMjgzMDNGIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTg3XzIyODYiPgo8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==)
}


/* ============================================================================
   PiPRA UX  —  Document Experience shell  (form-view header card)
   ----------------------------------------------------------------------------
   Restyle of com.pipra.ux PuxDocumentShellRenderer's header to the Atlassian
   design system. That header is rendered ONLY where a PUX_Document_Layout row
   exists (MRO "Work Orders" + "Repair Job", WarePro "Warehouse Excursion")
   and ONLY in the single-record
   Form view (PuxDocumentShellRenderer.applyHeaderVisibility) — it never appears
   on any other AD window's form.

   Every selector is prefixed with .pux-doc-shell-host — the marker class
   PuxDocumentShellRenderer.markShellHost() adds once to the tab's grid+form
   container (the parent of .pux-doc-shell-header). Two purposes: it scopes the
   rules to this one surface, AND it lifts them to specificity (0,3,0) so they
   beat theme.css.dsp's global  [class*="z-"]:not(…):not(…)  font rule (also
   (0,3,0)) on ZK <span class="z-label"> children by source order — this
   fragment is @included after that rule.

   No raw hex, no raw px — every value resolves to a --pi-* token (_tokens.css.dsp).
   ========================================================================== */

/* ---------- the header section -----------------------------------------------
   Compact: this is an ERP form header, not a hero. Every row is dense but the
   label/value contrast keeps it readable.
   No card box (border / radius / shadow): the summary sits on the same surface as
   the form, like a page header, and ONE divider line under it separates the summary
   from the form fields below (user review, PIO-068). */
.pux-doc-shell-host .pux-doc-shell-header {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-75, 6px);
  margin: 0 0 var(--pi-space-150, 12px);
  padding: var(--pi-space-150, 12px) var(--pi-space-200, 16px) var(--pi-space-150, 12px);
  background: var(--pi-bg-card, #FFFFFF);
  border: 0;
  border-bottom: 1px solid var(--pi-border-hairline, #EBECF0);   /* very light: separates, does not box */
  border-radius: 0;
  box-shadow: none;
}

.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-toprow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;   /* identity hard-left, CTA hard-right */
  flex-wrap: wrap;
  gap: var(--pi-space-100, 8px) var(--pi-space-200, 16px);
  width: 100%;
}

/* ---------- identity: eyebrow · title · lozenge  (one line) / subtitle --- */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--pi-space-25, 2px) var(--pi-space-100, 8px);
  min-width: 0;
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-eyebrow {
  font-size: var(--pi-font-size-50, 11px);
  font-weight: var(--pi-font-weight-bold, 700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pi-text-subtlest, #626F86);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--pi-space-75, 6px);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-title {
  font-size: var(--pi-font-size-300, 16px);
  font-weight: var(--pi-font-weight-bold, 700);
  line-height: var(--pi-line-height-tight, 1.2);
  color: var(--pi-text-default, #172B4D);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-subtitle {
  flex-basis: 100%;                  /* forced onto its own line, under the title */
  font-size: var(--pi-font-size-75, 12px);
  color: var(--pi-text-subtle, #44546F);
}

/* ---------- status lozenge --------------------------------------------------
   Base = neutral; a .pux-doc-shell-pill--<DocStatus code> modifier tints it.
   Codes are the standard _Document Status set (AD_Reference 131). */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-pill {
  display: inline-block;
  padding: 2px var(--pi-space-100, 8px);
  border-radius: var(--pi-radius-sm, 3px);
  font-size: var(--pi-font-size-50, 11px);
  font-weight: var(--pi-font-weight-bold, 700);
  line-height: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--pi-text-subtle, #44546F);
  background: var(--pi-bg-neutral, #F1F2F4);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-pill--CO,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-pill--CL,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-pill--AP {
  color: var(--pi-text-success, #216E4E);
  background: var(--pi-bg-success, #DCFFF1);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-pill--IP {
  color: var(--pi-text-information, #0055CC);
  background: var(--pi-bg-selected, #E9F2FF);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-pill--WC,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-pill--WP,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-pill--RE {
  color: var(--pi-sev-warning-text, #946F00);
  background: var(--pi-bg-warning, #FFF7D6);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-pill--VO,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-pill--NA {
  color: var(--pi-text-danger, #AE2E24);
  background: var(--pi-bg-danger, #FFECEB);
}

/* ---------- Badge-role lozenges (beside the title) --------------------------
   PuxDocumentShellRenderer emits the shared .pi-badge plus
   .pux-doc-shell-badge--<column>-<value>; which tone a value gets is decided
   here, so Java names the state and CSS colours it. Unmapped values stay the
   neutral .pi-badge. Contrast (text on fill): danger 5.8:1, warning 5.6:1,
   information 5.9:1, inverse-on-danger-bold 5.2:1.
   First user: Warehouse Excursion (PIO-068) - Severity (free text from the
   telemetry rule: Emergency / Critical / Warning / Info) and Hold Status. */
/* Emergency, and stock the hold could NOT quarantine: the loudest state on
   the card - bold fill so it reads before anything else. */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-badge--severity-emergency,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-badge--holdstatus-fa {
  color: var(--pi-text-inverse) !important;
  background: var(--pi-bg-danger-bold);
}
/* Critical, and stock blocked in quarantine (Held). */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-badge--severity-critical,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-badge--holdstatus-he {
  color: var(--pi-text-danger) !important;
  background: var(--pi-bg-danger);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-badge--severity-warning {
  color: var(--pi-text-warning) !important;
  background: var(--pi-bg-warning);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-badge--severity-info {
  color: var(--pi-text-information) !important;
  background: var(--pi-bg-selected);
}

/* ---------- Sign-off line (under the subtitle) -------------------------------
   PuxSignoffChain: one slim pill per sign-off record - role + person, the
   state's icon in front. One line, the same height as the status lozenge;
   wraps on narrow screens. Java names the state
   (.pux-doc-shell-signoff--<column>-<value>, or --missing for a required role
   with no record yet); the tone and the icon are chosen here.
   Contrast (text on fill): success 5.9:1, warning 5.6:1, danger 5.8:1;
   not-started text 4.8:1 and its dashed outline 4.0:1 on the card.
   First user: MRO Work Order (Technician > Supervisor > Safety Officer). */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-signoffs {
  flex-basis: 100%;                  /* own line, under the subtitle */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pi-space-50);
  margin-top: var(--pi-space-50);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-signoff {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--pi-space-50);
  padding: var(--pi-space-25) var(--pi-space-100) var(--pi-space-25) var(--pi-space-75);
  border: 1px solid transparent;
  border-radius: var(--pi-radius-full);
  background: var(--pi-bg-neutral);
  color: var(--pi-text-subtle);
  white-space: nowrap;
  cursor: default;
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-signoff::before {
  content: "";
  flex: none;
  width: var(--pi-space-150);
  height: var(--pi-space-150);
  background-color: currentColor;
  -webkit-mask: var(--pux-signoff-glyph, var(--pi-glyph-circle)) no-repeat center / contain;
          mask: var(--pux-signoff-glyph, var(--pi-glyph-circle)) no-repeat center / contain;
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-signoff-role {
  font-size: var(--pi-font-size-75);
  font-weight: var(--pi-font-weight-semibold);
  color: inherit;
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-signoff-user {
  font-size: var(--pi-font-size-75);
  font-weight: var(--pi-font-weight-regular);
  color: var(--pi-text-subtle);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-signoff-user::before {
  content: "\00B7";                 /* middle dot between role and person */
  margin-right: var(--pi-space-50);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-signoff-sep {
  flex: none;
  width: var(--pi-space-150);
  height: var(--pi-space-150);
  background-color: var(--pi-icon-subtle);
  -webkit-mask: var(--pi-glyph-chevron-right) no-repeat center / contain;
          mask: var(--pi-glyph-chevron-right) no-repeat center / contain;
}
/* Approved - signed. */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-signoff--signoffstatus-approved {
  --pux-signoff-glyph: var(--pi-glyph-check);
  background: var(--pi-bg-success);
  color: var(--pi-text-success);
}
/* Pending - waiting for this person's review. */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-signoff--signoffstatus-pending {
  --pux-signoff-glyph: var(--pi-glyph-clock);
  background: var(--pi-bg-warning);
  color: var(--pi-text-warning);
}
/* Rejected - sent back. */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-signoff--signoffstatus-rejected {
  --pux-signoff-glyph: var(--pi-glyph-close);
  background: var(--pi-bg-danger);
  color: var(--pi-text-danger);
}
/* Required role, no record yet - an outline only, so it reads as "still to come". */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-signoff--missing {
  --pux-signoff-glyph: var(--pi-glyph-circle);
  background: transparent;
  border: 1px dashed var(--pi-border-bold);
  color: var(--pi-text-subtlest);
}

/* ---------- Guide-role banner ("what happens next") -------------------------
   The shared .pi-section-message, toned per column + value. Compacted to the
   header's density; title/body re-asserted at the host depth so the global
   [class*="z-"] font rule cannot flatten them. Default (no tone mapped) is the
   component's own information blue. Body #44546F on these fills >= 6.7:1. */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-guide {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-25);
  padding: var(--pi-space-100) var(--pi-space-150);
  border-radius: var(--pi-radius-md);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-guide-title {
  font-size: var(--pi-font-size-100);
  font-weight: var(--pi-font-weight-semibold);
  color: var(--pi-text-default);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-guide-body {
  font-size: var(--pi-font-size-75);
  line-height: var(--pi-line-height-base);
  color: var(--pi-text-subtle);
}
/* Open = breach still running: wait. */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-guide--status-op {
  background: var(--pi-bg-warning);
}
/* Ready for review = the decision is the user's: the brand-blue call to act. */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-guide--status-rv {
  background: var(--pi-bg-selected);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-guide--status-de {
  background: var(--pi-bg-success);
}
/* Hold failed = stock is NOT protected. */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-guide--holdstatus-fa {
  background: var(--pi-bg-danger);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-guide--holdstatus-fa .pux-doc-shell-guide-title {
  color: var(--pi-text-danger);
}

/* ---------- key-fields strip (Priority / Supervisor / Planned … ) ----------
   One dense line: each cell is "LABEL value" inline, content-width, packed left
   with thin dividers. The tinted bar still spans the card. */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  background: var(--pi-bg-sunken, #F7F8F9);
  border: 1px solid var(--pi-border-subtle, #DCDFE4);
  border-radius: var(--pi-radius-md, 4px);
  overflow: hidden;
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-chip {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: var(--pi-space-50, 4px);
  padding: var(--pi-space-50, 4px) var(--pi-space-150, 12px);
  border-left: 1px solid var(--pi-border-subtle, #DCDFE4);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-chip:first-child { border-left: 0; }
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-chip-label {
  font-size: var(--pi-font-size-50, 11px);
  font-weight: var(--pi-font-weight-regular, 400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pi-text-subtlest, #626F86);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-chip-value {
  font-size: var(--pi-font-size-75, 12px);
  font-weight: var(--pi-font-weight-semibold, 600);
  color: var(--pi-text-default, #172B4D);
  white-space: nowrap;
}

/* Blocked stock (Warehouse Excursion): the figure the review is about, so its
   chip carries the danger tone - but only while something is actually
   blocked; a numeric zero (.pux-doc-shell-chip--zero) stays a plain chip.
   Text-danger on bg-danger is 5.8:1. */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-chip--blockedqty:not(.pux-doc-shell-chip--zero),
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-chip--blockeditems:not(.pux-doc-shell-chip--zero) {
  background: var(--pi-bg-danger);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-chip--blockedqty:not(.pux-doc-shell-chip--zero) .pux-doc-shell-chip-label,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-chip--blockedqty:not(.pux-doc-shell-chip--zero) .pux-doc-shell-chip-value,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-chip--blockeditems:not(.pux-doc-shell-chip--zero) .pux-doc-shell-chip-label,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-chip--blockeditems:not(.pux-doc-shell-chip--zero) .pux-doc-shell-chip-value {
  color: var(--pi-text-danger);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-chip--blockedqty:not(.pux-doc-shell-chip--zero) .pux-doc-shell-chip-value {
  font-weight: var(--pi-font-weight-bold);
}

/* ---------- Process Document CTA --------------------------------------------
   Kept as a ZK Button (click wiring unchanged). custom.css.dsp's generic
   neutral-"ghost" button rule is (0,10,0) + all-!important and now carries
   :not(.pux-doc-shell-cta) so it skips this button; background/colour are
   still !important here as belt-and-braces against that file's other
   !important button rules. */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-cta.z-button,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-cta {
  margin-left: auto;
  align-self: flex-start;
  padding: var(--pi-space-50, 4px) var(--pi-space-150, 12px);
  min-height: var(--pi-space-400, 32px);
  border: 1px solid transparent;
  border-radius: var(--pi-radius-md, 4px);
  background: var(--pi-bg-brand, #0C66E4) !important;
  background-color: var(--pi-bg-brand, #0C66E4) !important;
  color: var(--pi-text-inverse, #FFFFFF) !important;
  font-size: var(--pi-font-size-100, 13px);
  font-weight: var(--pi-font-weight-semibold, 600);
  box-shadow: none;
  cursor: pointer;
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-cta.z-button:hover,
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-cta:hover {
  background: var(--pi-bg-brand-hover, #0055CC) !important;
  background-color: var(--pi-bg-brand-hover, #0055CC) !important;
  color: var(--pi-text-inverse, #FFFFFF) !important;
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-cta:focus {
  box-shadow: 0 0 0 2px var(--pi-border-focused, #388BFF) !important;
  outline: none !important;
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-cta .z-button-cnt {
  color: var(--pi-text-inverse, #FFFFFF) !important;
}

/* ---------- workflow stepper ----------------------------------------------- */
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-stepper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: var(--pi-space-50, 4px);
  padding-top: var(--pi-space-50, 4px);
  /* no rule above the stepper - the summary reads as one block; the only line is the
     header's own divider under it (user review, PIO-068) */
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-step {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--pi-space-50, 4px);
  padding: 2px var(--pi-space-75, 6px);
  border-radius: var(--pi-radius-full, 9999px);
  font-size: var(--pi-font-size-50, 11px);
  font-weight: var(--pi-font-weight-medium, 500);
  color: var(--pi-text-subtlest, #626F86);
  white-space: nowrap;
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-step::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--pi-border-default, #B3B9C4);
  box-sizing: border-box;
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-step.is-done { color: var(--pi-text-success, #216E4E); }
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-step.is-done::before {
  content: "\2713";                 /* check mark */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  line-height: 1;
  color: var(--pi-text-inverse, #FFFFFF);
  background: var(--pi-text-success, #216E4E);
  border-color: var(--pi-text-success, #216E4E);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-step.is-current {
  color: var(--pi-text-inverse, #FFFFFF);
  background: var(--pi-bg-brand, #0C66E4);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-step.is-current::before {
  background: var(--pi-text-inverse, #FFFFFF);
  border-color: var(--pi-text-inverse, #FFFFFF);
}
.pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-step-sep {
  flex: 1 1 auto;              /* stretch the connector so the row fills the card */
  min-width: 12px;
  height: 1px;
  background: var(--pi-border-default, #B3B9C4);
}

/* ---------- narrow viewport ---------------------------------------------- */
@media screen and (max-width: 900px) {
  /* once the stepper wraps, stop the connectors growing so it stays tidy */
  .pux-doc-shell-host .pux-doc-shell-header .pux-doc-shell-step-sep { flex: 0 0 12px; }
}

/* (Collapsible field-group section spacing moved to custom.css.dsp so every
   window's form gets the same treatment - it's a shared component.) */

/* ============================================================================
   PiPRA UX  —  Context Panel  (docked right-side pane on document windows)
   ----------------------------------------------------------------------------
   Restyle of com.pipra.ux PuxContextPanelRenderer + its contextpanel/*Section
   renderers to the Atlassian design system. Previously this CSS was injected as
   a <style> blob from PuxContextPanelRenderer.ensureStyle() via evalJavaScript;
   that method is removed and these are the same class names, tokenised.

   The panel is an East region attached ONLY to tabs with a PUX_Document_Layout
   row, so it never appears on any other window. Inside-panel selectors are
   prefixed with .pux-ctx-panel-root (an ancestor of everything in the panel):
   it scopes them AND lifts them to specificity (0,3,0)+ so they beat
   theme.css.dsp's global [class*="z-"]:not(…):not(…) font rule ((0,3,0)) on ZK
   <span class="z-label"> children by source order — this fragment @includes
   after that rule.

   No raw hex, no raw px — every value resolves to a --pi-* token (_tokens.css.dsp).
   ========================================================================== */

/* ---------- shell (the East element itself) ----------------------------
   White docked panel with a hard left divider so it still reads as a distinct
   region from the form. Sections differentiate via their own border. */
.pux-ctx-panel-east,
.pux-ctx-panel-east > .z-east-body {
  background: var(--pi-bg-card, #FFFFFF) !important;
}
.pux-ctx-panel-east {
  border-left: 1px solid var(--pi-border-default, #B3B9C4) !important;
}
.pux-ctx-panel-east > .z-east-body { border: 0 !important; }
.pux-ctx-panel-east .z-east-splitter {
  background: var(--pi-bg-card, #FFFFFF);
  border-color: var(--pi-border-default, #B3B9C4);
}
/* The "»" collapse/expand control is ZK's own borderlayout chrome (not drawn by
   PuxContextPanelRenderer), rendered very light grey by default - easy to miss
   entirely on a white panel. `color`/`background` can't reliably reach it since
   whether it's an image sprite or a glyph isn't something this theme controls;
   `filter: brightness()` darkens either kind alike, and is already the proven
   technique for this exact element - borderlayout.css.dsp's own `-over` (hover)
   rule already uses `brightness(50%)` globally. This applies it to the resting
   state too, scoped to just this panel's own East region. */
.pux-ctx-panel-east .z-east-splitter-button {
  filter: brightness(0.35);
}
.pux-ctx-panel-east .z-east-splitter-button:hover,
.pux-ctx-panel-east .z-east-splitter-button-over {
  filter: brightness(0.15);
}
/* "Context" title bar — roomy: space above the text and below it before the rule */
.pux-ctx-panel-east .z-east-header,
.pux-ctx-panel-east .z-caption {
  height: auto !important;
  background: var(--pi-bg-card, #FFFFFF) !important;
  padding: var(--pi-space-200, 16px) var(--pi-space-200, 16px) var(--pi-space-150, 12px) !important;
  border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
  font-size: var(--pi-font-size-200, 14px);
  font-weight: var(--pi-font-weight-bold, 700);
  line-height: var(--pi-line-height-tight, 1.2);
  color: var(--pi-text-default, #172B4D);
}

.pux-ctx-panel-root {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--pi-bg-card, #FFFFFF);
  font-size: var(--pi-font-size-100, 13px);
  color: var(--pi-text-default, #172B4D);
}

/* ---------- fixed top area: open-in-form + quick actions ---------------- */
.pux-ctx-panel-root .pux-ctx-panel-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-100, 8px);
  padding: var(--pi-space-150, 12px) var(--pi-space-200, 16px);
  background: var(--pi-bg-card, #FFFFFF);
  border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4);
}
.pux-ctx-panel-root .pux-ctx-panel-open-form {
  cursor: pointer;
  font-size: var(--pi-font-size-100, 13px);
  font-weight: var(--pi-font-weight-semibold, 600);
  color: var(--pi-link-default, #0C66E4);
}
.pux-ctx-panel-root .pux-ctx-panel-open-form:hover { color: var(--pi-link-hover, #0055CC); }

/* ---------- fixed Ask AI card ------------------------------------------
   Sits above the tab strip, outside the scrolling body/tab-jump system entirely
   (PuxContextPanelRenderer renders it into its own ATTR_AI_CARD container, not
   into `body`) - always visible regardless of which tab is active or how far
   the body below is scrolled. The card inside (.pux-ctx-section) keeps its
   normal margin/border/radius from the "scrolling body" rules below; this
   wrapper supplies the padding + separator instead, and zeroes that margin so
   the card sits flush in all four directions. */
.pux-ctx-panel-root .pux-ctx-panel-ai {
  flex-shrink: 0;
  padding: var(--pi-space-150, 12px) var(--pi-space-200, 16px);
  background: var(--pi-bg-card, #FFFFFF);
  border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4);
}
.pux-ctx-panel-root .pux-ctx-panel-ai .pux-ctx-section {
  margin-bottom: 0;
}
.pux-ctx-panel-root .pux-ctx-panel-ai:empty {
  display: none;
}

/* ---------- ADS mask icons (theme fragment/custom.css.dsp .z-icon-*:before) -----
   The <i> element is empty; the theme paints an SVG mask box in ::before at 20px /
   currentColor. These rules only resize it for the panel's contexts + supply the
   one glyph the theme set doesn't have (the AI sparkle). Colour is inherited, so
   the icon always matches its heading text. */
.pux-ctx-panel-root .pux-ctx-ico { flex: none; display: inline-flex; align-items: center; }
.pux-ctx-panel-root .pux-ctx-section-heading .pux-ctx-ico:before { width: 14px; height: 14px; }
.pux-ctx-panel-root .pux-ctx-ico-ai:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l1.8 4.7 4.7 1.8-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z'/><path d='M19 14l.6 1.6 1.6 .6-1.6 .6L19 19l-.6-1.6-1.6-.6 1.6-.6z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l1.8 4.7 4.7 1.8-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z'/><path d='M19 14l.6 1.6 1.6 .6-1.6 .6L19 19l-.6-1.6-1.6-.6 1.6-.6z'/></svg>") no-repeat center / contain;
}

/* ---------- primary tab strip (Summary / Related / Attachments / Activity / Comments) --
   A jump-nav: clicking scrolls the stacked body to that section + marks the tab. The only
   nav row in the panel now (the icon-tile "Quick actions" row above it, which jumped to
   the same sections, was removed as a duplicate). Gap tightened from --pi-space-250 (20px)
   to --pi-space-200 (16px), and the East default widened to 440px (apply(), Java), so all
   5 tabs fit with no scrolling at the panel's default size.

   .pux-ctx-panel-tabs-wrap = [left arrow][.pux-ctx-panel-tabs, scrollable][right arrow].
   Once a user drags the East splitter narrower than the tabs' combined width, the browser's
   own horizontal scrollbar is hidden (scrollbar-width/::-webkit-scrollbar below) in favour of
   the two arrows, which page the strip on click - PuxContextPanelRenderer's wireTabScroll()
   (Java) keeps `.is-scrollable`/`.is-at-start`/`.is-at-end` on the wrap in sync via a
   ResizeObserver + scroll listener, so the arrows only appear once there's actually something
   to scroll and grey out at each end. */
.pux-ctx-panel-root .pux-ctx-panel-tabs-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  background: var(--pi-bg-card, #FFFFFF);
  border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4);
}
.pux-ctx-panel-root .pux-ctx-panel-tabs {
  flex: 1 1 auto;
  display: flex;
  gap: var(--pi-space-200, 16px);
  padding: 0 var(--pi-space-200, 16px);
  overflow-x: auto;
  background: var(--pi-bg-card, #FFFFFF);
  /* !important on both: custom.css.dsp's own global `*::-webkit-scrollbar{...!important}` /
     `*{scrollbar-width:thin!important}` (its own "every scrollbar in the app" rule) otherwise
     wins over these despite being less specific, since unmarked declarations never beat an
     `!important` one regardless of selector weight - leaving the native scrollbar visible
     under the tabs even though the two arrows exist to replace it. */
  scrollbar-width: none !important;
}
.pux-ctx-panel-root .pux-ctx-panel-tabs::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Arrows: hidden by default (default panel width fits every tab); shown only once the script
   above marks the wrap `.is-scrollable`, and dimmed + inert at whichever end is already fully
   scrolled into view. Given a persistent light chip background + the darkest neutral text
   colour (not the softer --pi-icon-default) so they read as present, clickable controls at a
   glance rather than needing a hover to notice - low-prominence ghost icons were the reported
   problem with the first pass. */
.pux-ctx-panel-root .pux-ctx-tab-arrow {
  flex: none;
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  margin: var(--pi-space-50, 4px) 0;
  border-radius: var(--pi-radius-md, 4px);
  background: var(--pi-bg-hover, #F1F2F4);
  cursor: pointer;
  color: var(--pi-text-default, #172B4D);
}
.pux-ctx-panel-root .pux-ctx-tab-arrow--left { margin-left: var(--pi-space-50, 4px); }
.pux-ctx-panel-root .pux-ctx-tab-arrow--right { margin-right: var(--pi-space-50, 4px); }
.pux-ctx-panel-root .pux-ctx-panel-tabs-wrap.is-scrollable .pux-ctx-tab-arrow {
  display: flex;
}
.pux-ctx-panel-root .pux-ctx-tab-arrow:hover {
  background: var(--pi-bg-selected, #E9F2FF);
  color: var(--pi-text-brand, #0C66E4);
}
.pux-ctx-panel-root .pux-ctx-panel-tabs-wrap.is-at-start .pux-ctx-tab-arrow--left,
.pux-ctx-panel-root .pux-ctx-panel-tabs-wrap.is-at-end .pux-ctx-tab-arrow--right {
  background: transparent;
  color: var(--pi-text-disabled, #B3B9C4);
  pointer-events: none;
}
/* Reuses the same chevron-down glyph as the section-collapse toggle below (one glyph, two
   rotations) rather than drawing a near-duplicate left/right arrow SVG. */
.pux-ctx-panel-root .pux-ctx-tab-arrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
}
.pux-ctx-panel-root .pux-ctx-tab-arrow--left::before { transform: rotate(90deg); }
.pux-ctx-panel-root .pux-ctx-tab-arrow--right::before { transform: rotate(-90deg); }

.pux-ctx-panel-root .pux-ctx-panel-tab {
  cursor: pointer;
  padding: var(--pi-space-100, 8px) 0;
  border-bottom: 2px solid transparent;
  font-size: var(--pi-font-size-100, 13px);
  font-weight: var(--pi-font-weight-medium, 500);
  color: var(--pi-text-subtle, #44546F);
  white-space: nowrap;
}
.pux-ctx-panel-root .pux-ctx-panel-tab:hover { color: var(--pi-text-default, #172B4D); }
.pux-ctx-panel-root .pux-ctx-panel-tab.is-active {
  color: var(--pi-text-brand, #0C66E4);
  border-bottom-color: var(--pi-border-selected, #0C66E4);
  font-weight: var(--pi-font-weight-semibold, 600);
}

/* ---------- scrolling body + sections ---------------------------------
   White ground; each section is a bordered card. */
.pux-ctx-panel-root .pux-ctx-panel-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: var(--pi-space-150, 12px) var(--pi-space-150, 12px) var(--pi-space-200, 16px);
  background: var(--pi-bg-card, #FFFFFF);
}
.pux-ctx-panel-root .pux-ctx-section {
  margin-bottom: var(--pi-space-150, 12px);
  padding: var(--pi-space-150, 12px);
  border: 1px solid var(--pi-border-subtle, #DCDFE4);
  border-radius: var(--pi-radius-lg, 8px);
  background: var(--pi-bg-card, #FFFFFF);
}
.pux-ctx-panel-root .pux-ctx-section:last-child { margin-bottom: 0; }
.pux-ctx-panel-root .pux-ctx-section-heading {
  display: flex;
  align-items: center;
  gap: var(--pi-space-75, 6px);
  font-size: var(--pi-font-size-75, 12px);
  font-weight: var(--pi-font-weight-bold, 700);
  letter-spacing: 0.02em;
  color: var(--pi-text-default, #172B4D);
}
.pux-ctx-panel-root .pux-ctx-section-body { margin-top: var(--pi-space-100, 8px); }

/* Collapsible sections: pointer heading + a chevron that rotates when closed. */
.pux-ctx-panel-root .pux-ctx-section--collapsible > .pux-ctx-section-heading { cursor: pointer; }
.pux-ctx-panel-root .pux-ctx-section--collapsible > .pux-ctx-section-heading::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 14px;
  height: 14px;
  background-color: var(--pi-icon-subtle, #626F86);
  transition: transform var(--pi-duration-fast, 100ms) var(--pi-ease-standard, ease);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
}
.pux-ctx-panel-root .pux-ctx-section--collapsible.is-collapsed > .pux-ctx-section-heading::after { transform: rotate(-90deg); }
.pux-ctx-panel-root .pux-ctx-section--collapsible.is-collapsed > .pux-ctx-section-body { display: none; }

/* ---------- Summary ---------------------------------------------------- */
.pux-ctx-panel-root .pux-ctx-summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--pi-space-150, 12px);
  padding: var(--pi-space-75, 6px) 0;
  border-bottom: 1px solid var(--pi-border-hairline, #EBECF0);
}
.pux-ctx-panel-root .pux-ctx-summary-row:last-child { border-bottom: none; }
.pux-ctx-panel-root .pux-ctx-summary-label { color: var(--pi-text-subtle, #44546F); }
.pux-ctx-panel-root .pux-ctx-summary-value {
  text-align: right;
  font-weight: var(--pi-font-weight-semibold, 600);
  color: var(--pi-text-default, #172B4D);
}

/* ---------- Related records ----------------------------------------- */
.pux-ctx-panel-root .pux-ctx-related-card {
  padding: var(--pi-space-100, 8px) 0;
  border-bottom: 1px solid var(--pi-border-hairline, #EBECF0);
}
.pux-ctx-panel-root .pux-ctx-related:last-child .pux-ctx-related-card:last-child { border-bottom: none; }
.pux-ctx-panel-root .pux-ctx-related-card-header {
  font-size: var(--pi-font-size-100, 13px);
  font-weight: var(--pi-font-weight-semibold, 600);
  color: var(--pi-text-default, #172B4D);
}
.pux-ctx-panel-root .pux-ctx-related-row {
  display: block;
  padding: var(--pi-space-25, 2px) 0;
  font-size: var(--pi-font-size-75, 12px);
  color: var(--pi-text-subtle, #44546F);
}
.pux-ctx-panel-root .pux-ctx-related-empty {
  display: block;
  margin-top: var(--pi-space-25, 2px);
  font-size: var(--pi-font-size-75, 12px);
  color: var(--pi-text-subtlest, #626F86);
}
.pux-ctx-panel-root .pux-ctx-related-viewall {
  display: inline-block;
  margin-top: var(--pi-space-50, 4px);
  font-size: var(--pi-font-size-75, 12px);
  font-weight: var(--pi-font-weight-semibold, 600);
  color: var(--pi-link-default, #0C66E4);
  cursor: pointer;
}

/* ---------- Attachments -------------------------------------------- */
.pux-ctx-panel-root .pux-ctx-attachments-row {
  padding: var(--pi-space-75, 6px) 0;
  border-bottom: 1px solid var(--pi-border-hairline, #EBECF0);
  color: var(--pi-text-subtle, #44546F);
}
.pux-ctx-panel-root .pux-ctx-attachments-empty {
  display: block;
  margin-bottom: var(--pi-space-100, 8px);
  font-size: var(--pi-font-size-75, 12px);
  color: var(--pi-text-subtlest, #626F86);
}
.pux-ctx-panel-root .pux-ctx-attachments-manage-btn { margin-top: var(--pi-space-100, 8px); }

/* ---------- Activity --------------------------------------------- */
.pux-ctx-panel-root .pux-ctx-activity-item {
  display: flex;
  gap: var(--pi-space-100, 8px);
  padding: var(--pi-space-100, 8px) 0;
  border-bottom: 1px solid var(--pi-border-hairline, #EBECF0);
}
.pux-ctx-panel-root .pux-ctx-activity-body { flex: 1 1 auto; min-width: 0; }
.pux-ctx-panel-root .pux-ctx-activity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--pi-space-100, 8px);
}
.pux-ctx-panel-root .pux-ctx-activity-who-what {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--pi-space-50, 4px);
  min-width: 0;
}
.pux-ctx-panel-root .pux-ctx-activity-user {
  font-size: var(--pi-font-size-100, 13px);
  font-weight: var(--pi-font-weight-semibold, 600);
  color: var(--pi-text-default, #172B4D);
}
.pux-ctx-panel-root .pux-ctx-activity-action { font-size: var(--pi-font-size-75, 12px); color: var(--pi-text-brand, #0C66E4); }
.pux-ctx-panel-root .pux-ctx-activity-time-block { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.pux-ctx-panel-root .pux-ctx-activity-time { font-size: var(--pi-font-size-75, 12px); color: var(--pi-text-subtlest, #626F86); white-space: nowrap; }
.pux-ctx-panel-root .pux-ctx-activity-time-absolute { font-size: var(--pi-font-size-50, 11px); color: var(--pi-text-disabled, #B3B9C4); white-space: nowrap; }
.pux-ctx-panel-root .pux-ctx-activity-remarks {
  display: block;
  margin-top: var(--pi-space-25, 2px);
  font-size: var(--pi-font-size-100, 13px);
  color: var(--pi-text-subtle, #44546F);
}

/* ---------- Comments ------------------------------------------- */
.pux-ctx-panel-root .pux-ctx-comments-add {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-75, 6px);
  margin-bottom: var(--pi-space-200, 16px);
}
.pux-ctx-panel-root .pux-ctx-comments-post-btn { align-self: flex-end; }
.pux-ctx-panel-root .pux-ctx-comments-row {
  padding: var(--pi-space-100, 8px) 0;
  border-bottom: 1px solid var(--pi-border-hairline, #EBECF0);
}
.pux-ctx-panel-root .pux-ctx-comments-row-header {
  display: flex;
  justify-content: space-between;
  font-size: var(--pi-font-size-75, 12px);
  font-weight: var(--pi-font-weight-semibold, 600);
  color: var(--pi-text-default, #172B4D);
}
.pux-ctx-panel-root .pux-ctx-comments-row-time { font-weight: var(--pi-font-weight-regular, 400); color: var(--pi-text-subtlest, #626F86); }
.pux-ctx-panel-root .pux-ctx-comments-row-body {
  display: block;
  margin-top: var(--pi-space-25, 2px);
  color: var(--pi-text-subtle, #44546F);
  white-space: pre-wrap;
}
.pux-ctx-panel-root .pux-ctx-comments-row-delete {
  display: inline-block;
  margin-top: var(--pi-space-25, 2px);
  font-size: var(--pi-font-size-50, 11px);
  color: var(--pi-text-danger, #AE2E24);
  cursor: pointer;
}

/* ---------- Ask AI ------------------------------------------
   The whole section becomes an ADS "discovery" (lavender) card — heading inside. */
.pux-ctx-panel-root .pux-ctx-section:has(.pux-ctx-ai) {
  background: var(--pi-bg-discovery, #F3F0FF);
  border-color: var(--pi-border-discovery, #DFD8FD);
}
.pux-ctx-panel-root .pux-ctx-section:has(.pux-ctx-ai) .pux-ctx-section-heading {
  color: var(--pi-text-discovery, #5E4DB2);
}
.pux-ctx-panel-root .pux-ctx-ai-chip {
  margin-bottom: var(--pi-space-75, 6px);
  padding: var(--pi-space-100, 8px) var(--pi-space-150, 12px);
  border-radius: var(--pi-radius-md, 4px);
  font-size: var(--pi-font-size-100, 13px);
}
.pux-ctx-panel-root .pux-ctx-ai-chip-ok       { color: var(--pi-text-success, #216E4E);     background: var(--pi-bg-success, #DCFFF1); }
.pux-ctx-panel-root .pux-ctx-ai-chip-info     { color: var(--pi-text-information, #0055CC); background: var(--pi-bg-selected, #E9F2FF); }
.pux-ctx-panel-root .pux-ctx-ai-chip-warning  { color: var(--pi-sev-warning-text, #946F00); background: var(--pi-bg-warning, #FFF7D6); }
.pux-ctx-panel-root .pux-ctx-ai-chip-critical { color: var(--pi-text-danger, #AE2E24);      background: var(--pi-bg-danger, #FFECEB); }
.pux-ctx-panel-root .pux-ctx-ai-disclaimer {
  margin-top: var(--pi-space-50, 4px);
  font-size: var(--pi-font-size-50, 11px);
  line-height: var(--pi-line-height-base, 1.4);
  color: var(--pi-text-subtlest, #626F86);
}



/* ---------- dialog shell ------------------------------------------------- */
.pux-explorer-dialog.z-window .z-window-header,
.pux-explorer-dialog .z-caption {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	color: var(--pi-text-default, #172B4D) !important;
	font-weight: var(--pi-font-weight-bold, 700) !important;
}

/* ---------- North: search ---------------------------------------------------
   Title text lives in the native window header above (setTitle) - the "Find
   and select records" subtitle that used to sit under it was removed (dead
   vertical space above the search row with nothing else on its own line). */
/* Divider under the whole North row (search/New) - separates it from the West
   sidebar's "Filters" header and the Center's view tabs, both of which sit flush
   against North's bottom edge otherwise. */
.pux-explorer-north {
	border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
}
/* Leading magnifier. PREVIOUSLY painted as a background-image straight on the <input>
   itself (ZK's Textbox has no wrapper to hang a ::before on... except it does - see
   below) - that raw-SVG-as-background-image rendered inconsistently (reported as a
   garbled glyph, not a clean magnifier). Switched to the exact same technique the
   desktop header's own search box uses (topnav.css.dsp .global-search-box::before):
   a mask + background-color:currentColor pseudo-element, just anchored on
   .pux-explorer-search-wrap (a real Vlayout div around the <input>, NOT the bare
   input itself - ::before genuinely can't render on a replaced form element, but this
   wrapper is a plain div and always was available for it). Same glyph, same mask
   technique, same subtle icon colour as every other search/icon affordance in this
   theme - one implementation, not a one-off. */
/* Compact, left-aligned, fixed width - matching the desktop header's own search box
   (topnav.css.dsp .global-search-box: "min(520px, 34vw)", a wide dialog but a small
   fraction of it). A full-width search field here just left a big empty-looking bar;
   this reads the same way as the app's other search field instead. A spacer in Java
   (buildNorth()'s rowSpacer) keeps New Entity pinned to the row's right edge. */
.pux-explorer-search-wrap {
	width: min(360px, 32vw);
	position: relative;
}
.pux-explorer-search-wrap::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background-color: var(--pi-icon-subtle, #626F86);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") no-repeat center / contain;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") no-repeat center / contain;
	pointer-events: none;
	z-index: 1;
}
.pux-explorer-search-box.z-textbox {
	font-size: var(--pi-font-size-200, 14px);
	width: 100%;
	box-sizing: border-box;
	/* 6px top/bottom (was the base .z-textbox rule's inherited 8px) brings this to the same
	   ~32px control height as the New Entity button beside it and the desktop header's own
	   search box (topnav.css.dsp .global-search-box) - the two were visibly mismatched.
	   Left padding clears the wrapper's own ::before icon above, not a background-image
	   on this input any more. */
	padding: var(--pi-space-75, 6px) var(--pi-space-100, 8px) var(--pi-space-75, 6px) 34px !important;
}
.pux-explorer-dialog .z-textbox {
	background-color: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	color: var(--pi-text-default, #172B4D) !important;
}
.pux-explorer-dialog .z-textbox:focus {
	outline: none !important;
	border-color: var(--pi-border-focused, #388BFF) !important;
	box-shadow: 0 0 0 1px var(--pi-border-focused, #388BFF) !important;
}

/* ---------- West: filter sidebar ------------------------------------------ */
.pux-explorer-sidebar,
.pux-explorer-sidebar > .z-west-body {
	border-right: 1px solid var(--pi-border-subtle, #DCDFE4);
	background: var(--pi-bg-card, #FFFFFF) !important;
}
.pux-explorer-section-title {
	font-size: var(--pi-font-size-200, 14px);
	font-weight: var(--pi-font-weight-bold, 700);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--pi-text-default, #172B4D);
}
.pux-explorer-reset-link {
	font-size: var(--pi-font-size-75, 12px);
	font-weight: var(--pi-font-weight-semibold, 600);
	color: var(--pi-link-default, #0C66E4);
	cursor: pointer;
}
.pux-explorer-reset-link:hover {
	color: var(--pi-link-hover, #0055CC);
	text-decoration: underline;
}
/* Generic default for any plain, un-sclassed button in this dialog (Prev/Next in the
   pagination bar) - a subtle outlined look. The more specific rules below
   (.pux-explorer-new-button / .pux-explorer-preview-open) win over this for the
   buttons that need a different treatment. */
.pux-explorer-dialog .z-button {
	background: var(--pi-bg-card, #FFFFFF) !important;
	color: var(--pi-text-subtle, #44546F) !important;
	border: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	box-shadow: none !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	padding: var(--pi-space-50, 4px) var(--pi-space-150, 12px) !important;
}
/* :not(.pux-explorer-new-button) - without it, this rule's specificity (4)
   beats the New Entity button's own :hover rule below (specificity 3), so the
   primary CTA silently got this neutral light-grey hover instead of its
   intended darker brand blue. Excluding it here, rather than fighting back
   with !important stacking, is the same pattern already used elsewhere in
   this theme (custom.css.dsp's :not(.btn-ok):not(.btn-cancel)... chains) to
   let a general rule step aside for a specific one. */
.pux-explorer-dialog .z-button:not([disabled]):not(.pux-explorer-new-button):hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
	border-color: var(--pi-text-disabled, #B3B9C4) !important;
}
.pux-explorer-dialog .z-button[disabled] {
	color: var(--pi-text-disabled, #B3B9C4) !important;
	cursor: default;
}
/* ADS primary-button proportions: 14px label (was 12px, too small for a primary
   CTA - that size is for secondary/meta text elsewhere in this dialog, not a
   button label), real padding instead of whatever the bare .z-button reset left
   it with, and normal (not bold) weight - ADS primary buttons lean on colour/
   contrast to read as primary, not extra-heavy text. */
.pux-explorer-new-button.z-button {
	font-size: var(--pi-font-size-200, 14px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	white-space: nowrap;
	background: var(--pi-bg-brand, #0C66E4) !important;
	color: var(--pi-text-inverse, #FFFFFF) !important;
	border: none !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	box-shadow: none !important;
	/* 6px top/bottom + 32px floor = the app's standard control height (topnav buttons/search,
	   grid toolbars all sit at 32px - see e.g. topnav.css.dsp). This button's own 36px was the
	   one outlier, taller than the search box right next to it for no reason. */
	padding: var(--pi-space-75, 6px) var(--pi-space-200, 16px) !important;
	min-height: 32px;
	display: inline-flex;
	align-items: center;
	transition: background-color 120ms ease-in-out;
}
/* Darker brand blue on hover (ADS primary-button convention: rest #0C66E4 ->
   hover #0055CC) - was being clobbered by the generic .z-button hover rule
   above turning it a near-white grey instead; see that rule's own comment. */
.pux-explorer-new-button.z-button:hover {
	background: var(--pi-bg-brand-hover, #0055CC) !important;
}
.pux-explorer-new-button.z-button:active {
	background: var(--pi-bg-brand-hover, #0055CC) !important;
	box-shadow: inset 0 0 0 2px var(--pi-overlay-091e4224, #091E4224) !important;
}
/* The "+" icon was rendering black-on-blue: button.css.dsp's generic
   `.z-button [class^="z-icon-"] { color:#333 }` sets the icon's OWN colour
   directly, which wins over the button's `color:white` above regardless of
   !important - inheritance never even enters the contest once an element has
   its own explicit rule. Needs its own, more specific override, plus real
   sizing/spacing so it reads as an icon next to a label, not a stray glyph. */
.pux-explorer-new-button.z-button [class^="z-icon-"] {
	color: var(--pi-text-inverse, #FFFFFF) !important;
	font-size: var(--pi-font-size-200, 14px) !important;
	margin-right: var(--pi-space-50, 4px);
}
.pux-explorer-facet-label {
	display: block;
	font-size: var(--pi-font-size-75, 12px);
	font-weight: var(--pi-font-weight-semibold, 600);
	color: var(--pi-text-subtle, #44546F);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: var(--pi-space-50, 4px);
}
.pux-explorer-facet-search {
	font-size: var(--pi-font-size-100, 13px);
	margin-bottom: var(--pi-space-50, 4px);
	width: 100%;
}

/* Checkbox facet rows - native checkbox recoloured via accent-color (the same
   technique already established for popup-dialog checkboxes elsewhere in this
   theme, custom.css.dsp's [style*="230px"] .z-checkbox rules) rather than a
   full custom mask-icon replacement - a native checkbox reads perfectly fine
   here, it just needed the brand colour and row hover affordance. */
.pux-explorer-checkbox-row {
	align-items: center;
	justify-content: space-between;
	padding: var(--pi-space-75, 6px);
	border-radius: var(--pi-radius-sm, 3px);
	cursor: pointer;
}
.pux-explorer-checkbox-row:hover {
	background: var(--pi-bg-hover, #F1F2F4);
}
.pux-explorer-checkbox-row .z-checkbox input[type="checkbox"] {
	accent-color: var(--pi-border-selected, #0C66E4) !important;
	margin: 0 var(--pi-space-75, 6px) 0 0 !important;
}
.pux-explorer-checkbox-row .z-checkbox .z-checkbox-content {
	color: var(--pi-text-default, #172B4D) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
}
.pux-explorer-facet-count {
	font-size: var(--pi-font-size-75, 12px);
	color: var(--pi-text-subtlest, #626F86);
}
.pux-explorer-showmore-link {
	font-size: var(--pi-font-size-75, 12px);
	font-weight: var(--pi-font-weight-medium, 500);
	color: var(--pi-link-default, #0C66E4);
	cursor: pointer;
	margin-top: var(--pi-space-25, 2px);
}
.pux-explorer-showmore-link:hover {
	color: var(--pi-link-hover, #0055CC);
	text-decoration: underline;
}

/* Entity-type dropdown (Listbox mold="select" - the sclass lands directly on the
   generated <select> tag, not a wrapper, confirmed via DOM inspection - see the
   Java's own comment on entityPicker). Matches the app's standard field look. */
select.pux-explorer-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border: 1px solid var(--pi-border-default, #B3B9C4);
	border-radius: var(--pi-radius-lg, 8px);
	background-color: var(--pi-bg-card, #FFFFFF);
	padding: var(--pi-space-100, 8px) 32px var(--pi-space-100, 8px) var(--pi-space-150, 12px);
	font-size: var(--pi-font-size-200, 14px);
	color: var(--pi-text-default, #172B4D);
	cursor: pointer;
	width: 100%;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: right var(--pi-space-100, 8px) center;
	background-size: 14px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2344546F' stroke-width='2'><polyline points='6 9 12 15 18 9'></polyline></svg>");
}
/* FIX: a `background-color` on a <select> can leak into how the browser paints
   EVERY <option> row in its native dropdown popup once opened (a real Chromium
   quirk, not a bug in this rule alone) - that's why opening this dropdown turned
   every row blue instead of just the closed field. A focus ring (border colour +
   outline), not a background fill, keeps the highlight on the field itself only. */
select.pux-explorer-select:focus {
	outline: none;
	border-color: var(--pi-border-focused, #388BFF);
	box-shadow: 0 0 0 1px var(--pi-border-focused, #388BFF);
}
select.pux-explorer-select:hover {
	border-color: var(--pi-border-default, #B3B9C4);
}
/* Still not enough on its own: the *opened popup's* selected-option row uses the
   browser's own native highlight colour (a strong system blue), which plain CSS
   can't reach at all on an old-style <select> - only Chromium's newer "customizable
   select" API (::picker(select), opt in via appearance:base-select) hands the whole
   popup + its <option> rows to real CSS. custom.css.dsp's .popup-dialog/.process-
   modal-dialog .z-select already proved this exact fix works in this app; same
   recipe here, just under this dialog's own select class instead of .z-select. */
@supports selector(::picker(select)) {
	/* FIX: double chevron - "appearance: base-select" hands the field its own native,
	   restylable ::picker-icon chevron, but the base rule above ALSO paints a hand-
	   drawn chevron via background-image regardless of browser support - both were
	   rendering at once. Same fix already proven in custom.css.dsp's .popup-dialog/
	   .process-modal-dialog .z-select: turn the manual background-image off here and
	   let the native ::picker-icon (recoloured below) be the only arrow. */
	select.pux-explorer-select {
		appearance: base-select;
		-webkit-appearance: base-select;
		background-image: none !important;
		padding-right: var(--pi-space-150, 12px);
	}
	select.pux-explorer-select::picker-icon {
		color: var(--pi-icon-subtle, #626F86);
	}
	select.pux-explorer-select::picker(select) {
		appearance: base-select;
		-webkit-appearance: base-select;
		background: var(--pi-bg-card, #FFFFFF);
		border: 1px solid var(--pi-border-default, #B3B9C4);
		border-radius: var(--pi-radius-lg, 8px);
		box-shadow: var(--pi-shadow-overlay, 0 8px 12px rgba(9,30,66,0.15), 0 0 1px rgba(9,30,66,0.31));
		padding: var(--pi-space-50, 4px);
	}
	select.pux-explorer-select option {
		background: var(--pi-bg-card, #FFFFFF);
		color: var(--pi-text-default, #172B4D);
		font-size: var(--pi-font-size-100, 13px);
		padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px);
		border-radius: var(--pi-radius-sm, 3px);
	}
	select.pux-explorer-select option:hover,
	select.pux-explorer-select option:focus {
		background: var(--pi-bg-neutral, #F1F2F4);
	}
	select.pux-explorer-select option:checked {
		background: var(--pi-bg-selected, #E9F2FF);
		color: var(--pi-text-brand, #0C66E4);
		font-weight: var(--pi-font-weight-medium, 500);
	}
	select.pux-explorer-select option::checkmark {
		display: none;
	}
}
/* Browsers without ::picker(select) support fall back to the native popup, which
   CSS genuinely cannot restyle beyond this - option:checked is the one thing still
   reachable there, so it at least isn't the harsh native blue. */
select.pux-explorer-select option:checked {
	background-color: var(--pi-bg-selected, #E9F2FF);
	color: var(--pi-text-brand, #0C66E4);
}

/* ---------- Center: view tabs + status + results + pagination -------------
   Plain text tabs with a brand-colour underline on the active one (not a padded
   pill-button look - a closer reference crop of this exact row showed compact
   text tabs, evenly spaced, no background/border chrome; supersedes the bigger
   button-styled attempt from the previous pass).

   FIX: `gap` on .pux-explorer-tabs had NO effect - ZK's Hlayout renders as an
   HTML <table>, not a flex container, so `gap` is silently ignored on it (the
   exact same fact already documented elsewhere in this theme for the PUX
   Context panel's own tab strip: "ZK <hbox> renders as a table, so flex `gap`
   is ignored - separate with an explicit margin instead", pux-context-panel.css.dsp).
   Each tab gets its own right margin now.

   Also bleeds the divider to the dialog's true edges: .pux-explorer-tabs sits
   inside buildCenter()'s `wrap` Vlayout, which has its own 16px left/right
   padding, so a border-bottom on the tabs row itself stopped 16px short of each
   corner. Negative margin cancels that padding for this one element, extending
   the line edge-to-edge, while its own matching padding keeps the tab labels'
   visual alignment unchanged. */
.pux-explorer-tabs {
	/* Both trimmed from --pi-space-200/150 (16px/12px) to --pi-space-100 (8px) - the tab
	   row plus the whitespace on both sides of it was reading as too tall a band between
	   the search row and the actual results. */
	margin: 0 -16px var(--pi-space-100, 8px);
	padding: 0 16px var(--pi-space-100, 8px);
	/* The divider under the tab row, separating it from "N results found" + the grid below. */
	border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4);
}
/* Padding on BOTH sides of every tab (not margin-right alone) - the gap between two tab
   labels is now each tab's own right+left padding added together (12px + 12px = 24px),
   same total spacing as before but as real padding instead of margin, per explicit
   feedback asking for left/right padding on each tab. first-child/last-child trim their
   own outer edge back to 0 so the row still starts/ends flush with "10 results found"
   and the grid below, rather than each tab looking mysteriously indented/inset. */
.pux-explorer-tab {
	font-size: var(--pi-font-size-200, 14px);
	font-weight: var(--pi-font-weight-medium, 500);
	color: var(--pi-text-subtle, #44546F);
	padding: var(--pi-space-75, 6px) var(--pi-space-200, 16px) !important;
	margin: 0 var(--pi-space-100, 8px) 0 0 !important;
	display: inline-block !important;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	border-radius: var(--pi-radius-sm, 3px) var(--pi-radius-sm, 3px) 0 0;
	line-height: 1;
	transition: background-color .12s ease, color .12s ease;
}
/* Each tab reads as its own clickable control, not one continuous run of text:
   real padding on both sides + a gap between them + a hover chip. The hover
   background is the affordance that actually says "this is a button" - spacing
   alone kept reading as a single sentence. Deliberately hover-only: a permanent
   pill on every tab was tried in an earlier pass and rejected as too heavy. */
.pux-explorer-tab:hover {
	background: var(--pi-bg-hover, #F1F2F4);
	color: var(--pi-text-default, #172B4D);
}
.pux-explorer-tab:last-child {
	margin-right: 0 !important;
}
.pux-explorer-tab-active,
.pux-explorer-tab-active:hover {
	color: var(--pi-text-brand, #0C66E4);
	font-weight: var(--pi-font-weight-semibold, 600);
	border-bottom-color: var(--pi-border-selected, #0C66E4);
}
.pux-explorer-status {
	font-size: var(--pi-font-size-75, 12px);
	color: var(--pi-text-subtle, #44546F);
	margin-bottom: var(--pi-space-100, 8px);
}
.pux-explorer-results {
	overflow-y: auto;
	overflow-x: hidden;
}
.pux-explorer-grid .z-row.pux-explorer-row {
	cursor: pointer;
}
.pux-explorer-grid .z-row.pux-explorer-row:hover .z-cell {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}
.pux-explorer-th {
	cursor: pointer;
	color: var(--pi-text-subtle, #44546F) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
}
.pux-explorer-badge {
	display: inline-block;
	padding: 1px var(--pi-space-100, 8px);
	border-radius: var(--pi-radius-full, 999px);
	background: var(--pi-bg-neutral, #F1F2F4);
	color: var(--pi-text-subtle, #44546F);
	font-size: var(--pi-font-size-75, 12px);
	font-weight: var(--pi-font-weight-semibold, 600);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
/* Semantic colour per value (Critical/High/Medium/Operational/Degraded/...) - the class
   is chosen in Java (PuxEntityExplorerDialog.semanticBadgeSclass(), a keyword match over
   the display text, same status/severity vocabulary already colour-coded elsewhere in
   this app, e.g. the doc-shell DocStatus pill) purely as a CSS hook; this file only ever
   supplies colour for it, same "Java sets class names, theme sets colour" split as
   everywhere else in this plugin pair. --neutral is the pre-existing plain look (no
   keyword matched) so nothing regresses for a value this heuristic doesn't recognise. */
.pux-explorer-badge--danger {
	background: var(--pi-bg-danger, #FFECEB);
	color: var(--pi-text-danger, #AE2E24);
}
.pux-explorer-badge--warning {
	background: var(--pi-bg-warning, #FFF7D6);
	color: var(--pi-text-warning, #7F5F01);
}
.pux-explorer-badge--discovery {
	background: var(--pi-bg-discovery, #F3F0FF);
	color: var(--pi-text-discovery, #5E4DB2);
}
.pux-explorer-badge--success {
	background: var(--pi-bg-success, #DCFFF1);
	color: var(--pi-text-success, #216E4E);
}
.pux-explorer-badge--neutral {
	background: var(--pi-bg-neutral, #F1F2F4);
	color: var(--pi-text-subtle, #44546F);
}
/* Same severity families as the badges above, plain-text variant (no pill/background) -
   for the preview panel's enum-like field values (PuxEntityExplorerDialog.semanticTextSclass(),
   only ever applied to a List-reference field, see PreviewField.isEnumLike). --neutral is
   intentionally the SAME colour as the default field value text, i.e. an explicit no-op -
   an enum value the heuristic doesn't recognise reads identically to before. */
.pux-explorer-text--danger { color: var(--pi-text-danger, #AE2E24) !important; }
.pux-explorer-text--warning { color: var(--pi-text-warning, #7F5F01) !important; }
.pux-explorer-text--discovery { color: var(--pi-text-discovery, #5E4DB2) !important; }
.pux-explorer-text--success { color: var(--pi-text-success, #216E4E) !important; }
.pux-explorer-text--neutral { color: var(--pi-text-default, #172B4D) !important; }
.pux-explorer-pagination {
	align-items: center;
	margin-top: var(--pi-space-100, 8px);
	gap: var(--pi-space-150, 12px);
}
.pux-explorer-page-label {
	font-size: var(--pi-font-size-75, 12px);
	color: var(--pi-text-subtle, #44546F);
}
.pux-explorer-empty {
	display: block;
	padding: var(--pi-space-600, 48px) var(--pi-space-100, 8px);
	text-align: center;
	color: var(--pi-text-subtlest, #626F86);
	font-size: var(--pi-font-size-100, 13px);
}
.pux-explorer-empty-error {
	color: var(--pi-text-danger, #AE2E24);
}

/* ---------- East: record preview panel ------------------------------------ */
/* Left divider line restored (this dialog has now asked for this both ways across
   two rounds - current, explicit instruction is "add the left side divider line",
   so this is deliberately back). The resize splitter (east.setSplittable(true)) IS
   this divider - painted the same colour as the panel's own border-left. */
.pux-explorer-preview,
.pux-explorer-preview > .z-east-body {
	border-left: 1px solid var(--pi-border-subtle, #DCDFE4);
	background: var(--pi-bg-card, #FFFFFF) !important;
}
.pux-explorer-preview .z-east-splitter {
	background: var(--pi-border-subtle, #DCDFE4) !important;
	border: none !important;
	width: 1px !important;
}
.pux-explorer-preview .z-east-splitter:hover {
	background: var(--pi-border-default, #B3B9C4) !important;
}
.pux-explorer-preview-placeholder {
	display: block;
	padding: var(--pi-space-300, 24px) var(--pi-space-50, 4px);
	text-align: center;
	color: var(--pi-text-subtlest, #626F86);
	font-size: var(--pi-font-size-75, 12px);
}
.pux-explorer-preview-heading-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pi-space-100, 8px);
	margin-bottom: var(--pi-space-150, 12px);
}
.pux-explorer-preview-heading {
	display: block;
	font-size: var(--pi-font-size-100, 13px);
	font-weight: var(--pi-font-weight-bold, 700);
	color: var(--pi-text-default, #172B4D);
	line-height: var(--pi-line-height-tight, 1.3);
}
.pux-explorer-preview-open.z-button {
	flex: 0 0 auto;
	min-width: 0;
	padding: 2px var(--pi-space-75, 6px);
	background: transparent !important;
	border: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	box-shadow: none !important;
}
.pux-explorer-preview-open.z-button:hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}
/* FIX: no boxed/card border - the outer card box (border/radius/padding) that used
   to wrap every field bucket is gone per explicit feedback; fields now sit directly
   on the panel's own background, the per-row hairlines below are the only separator
   left. box-sizing kept since child cells still rely on border-box sizing. */
.pux-explorer-preview-grid.z-grid {
	margin-bottom: var(--pi-space-150, 12px);
	box-sizing: border-box;
}
/* A hairline between field-pair rows (none on the last row) - same "each row visibly
   separated, no border on the final one" convention already used for the PUX Context
   panel's own key-value rows (pux-context-panel.css.dsp .pux-ctx-summary-row). The
   card border above supplies the outer edge; this is what was missing internally,
   making every row run together with nothing to read as "properly aligned". Padding
   is set on .z-cell, not .z-row - a table-row box doesn't reliably render its own
   padding across browsers, cells always do. */
.pux-explorer-preview-grid .z-rows .z-row {
	border: none !important;
	border-bottom: 1px solid var(--pi-border-hairline, #EBECF0) !important;
}
.pux-explorer-preview-grid .z-rows .z-row:last-child {
	border-bottom: none !important;
}
.pux-explorer-preview-section {
	margin-bottom: var(--pi-space-150, 12px);
}
.pux-explorer-preview-section .pux-explorer-preview-grid.z-grid {
	margin-bottom: 0;
}
.pux-explorer-preview-section-heading {
	display: block;
	font-size: var(--pi-font-size-75, 12px);
	font-weight: var(--pi-font-weight-bold, 700);
	color: var(--pi-text-subtle, #44546F);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-bottom: var(--pi-space-75, 6px);
}
/* FIX: the actual source of the "box border" - core's own grid.css.dsp ships a raw,
   untokenised rule (".z-row .z-cell, .z-listitem .z-listcell {border-left:1px solid
   #cfcfcf}") that applies to EVERY grid cell app-wide, including this 2-column
   preview grid - that's the vertical line between each row's label/value pair, not
   anything this file was drawing on purpose. No forced background any more either
   (was matching the panel's own white 1:1 anyway, just extra rules) - cells are
   transparent and simply show whatever's behind them. */
.pux-explorer-preview .pux-explorer-preview-grid .z-cell,
.pux-explorer-preview .pux-explorer-preview-grid .z-row-inner {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}
.pux-explorer-preview .pux-explorer-preview-grid .z-row {
	background: transparent !important;
	box-shadow: none !important;
}
.pux-explorer-preview-grid .z-cell {
	padding: var(--pi-space-75, 6px) var(--pi-space-75, 6px) var(--pi-space-75, 6px) 0 !important;
	vertical-align: top;
}
.pux-explorer-preview-grid .z-rows > .z-row:first-child > .z-cell {
	padding-top: 0 !important;
}
.pux-explorer-preview-field {
	padding-bottom: var(--pi-space-50, 4px);
}
.pux-explorer-preview-field-label {
	display: block;
	font-size: var(--pi-font-size-75, 12px);
	font-weight: var(--pi-font-weight-semibold, 600);
	color: var(--pi-text-subtlest, #626F86);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: var(--pi-line-height-tight, 1.3);
}
.pux-explorer-preview-field-value {
	display: block;
	font-size: var(--pi-font-size-75, 12px);
	color: var(--pi-text-default, #172B4D);
	margin-top: 1px;
	line-height: var(--pi-line-height-base, 1.4);
	word-break: break-word;
}

/* ---------- Cards / Timeline / Kanban result renderers --------------------- */
.pux-explorer-cards {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pi-space-150, 12px);
	padding: var(--pi-space-50, 4px) 0;
}
.pux-explorer-card {
	width: 230px;
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	border-radius: var(--pi-radius-lg, 8px);
	padding: var(--pi-space-150, 12px);
	cursor: pointer;
	background: var(--pi-bg-card, #FFFFFF);
	transition: border-color 120ms ease-in-out, background 120ms ease-in-out;
}
.pux-explorer-card:hover {
	border-color: var(--pi-border-selected, #0C66E4);
	background: var(--pi-bg-sunken, #F7F8F9);
}
.pux-explorer-card-title {
	display: block;
	font-size: var(--pi-font-size-200, 14px);
	font-weight: var(--pi-font-weight-bold, 700);
	color: var(--pi-text-default, #172B4D);
	margin-bottom: var(--pi-space-100, 8px);
}
.pux-explorer-card-field {
	gap: var(--pi-space-50, 4px);
	align-items: baseline;
	font-size: var(--pi-font-size-75, 12px);
	margin-bottom: var(--pi-space-50, 4px);
}
.pux-explorer-card-field-label {
	color: var(--pi-text-subtlest, #626F86);
}
.pux-explorer-card-field-value {
	color: var(--pi-text-subtle, #44546F);
}

.pux-explorer-timeline-date {
	display: block;
	font-size: var(--pi-font-size-75, 12px);
	font-weight: var(--pi-font-weight-bold, 700);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--pi-text-subtle, #44546F);
	margin: var(--pi-space-200, 16px) 0 var(--pi-space-50, 4px);
}
.pux-explorer-timeline-group {
	border-left: 2px solid var(--pi-border-subtle, #DCDFE4);
	padding-left: var(--pi-space-100, 8px);
}
.pux-explorer-timeline-item {
	align-items: center;
	gap: var(--pi-space-100, 8px);
	padding: var(--pi-space-75, 6px) var(--pi-space-50, 4px);
	cursor: pointer;
	border-radius: var(--pi-radius-md, 4px);
}
.pux-explorer-timeline-item:hover {
	background: var(--pi-bg-hover, #F1F2F4);
}
.pux-explorer-timeline-item-title {
	font-size: var(--pi-font-size-100, 13px);
	color: var(--pi-text-default, #172B4D);
}

.pux-explorer-kanban {
	gap: var(--pi-space-150, 12px);
	overflow-x: auto;
	padding: var(--pi-space-50, 4px) 0;
}
.pux-explorer-kanban-lane {
	width: 220px;
	min-width: 220px;
	background: var(--pi-bg-sunken, #F7F8F9);
	border-radius: var(--pi-radius-lg, 8px);
	padding: var(--pi-space-100, 8px);
}
.pux-explorer-kanban-lane-header {
	display: block;
	font-size: var(--pi-font-size-75, 12px);
	font-weight: var(--pi-font-weight-bold, 700);
	color: var(--pi-text-subtle, #44546F);
	margin-bottom: var(--pi-space-100, 8px);
}
.pux-explorer-kanban-card {
	background: var(--pi-bg-card, #FFFFFF);
	border: 1px solid var(--pi-border-subtle, #DCDFE4);
	border-radius: var(--pi-radius-md, 4px);
	padding: var(--pi-space-100, 8px);
	margin-bottom: var(--pi-space-100, 8px);
	cursor: pointer;
}
.pux-explorer-kanban-card:hover {
	border-color: var(--pi-border-selected, #0C66E4);
}
.pux-explorer-kanban-card-title {
	display: block;
	font-size: var(--pi-font-size-75, 12px);
	color: var(--pi-text-default, #172B4D);
}



    


.desktop-center.z-center .dashboard-layout {
	gap: var(--pi-space-150) !important;                 /* 12px between dashboard rows */
}


.desktop-center .dashboard-row > .z-hlayout-inner {
	padding: var(--pi-space-75, 6px) var(--pi-space-100, 8px) !important; /* 6px 8px → ~16px between gadgets */
}


.desktop-center.z-center .dashboard-widget.z-panel {
	background:     var(--pi-bg-card)                            !important;   /* #FFFFFF */
	border:         1px solid var(--pi-border-hairline, #EBECF0) !important;   /* match MRO cards */
	border-radius:  var(--pi-radius-xl, 12px)                   !important;   /* match MRO card corners */
	box-shadow:     none                                        !important;   /* flat, like MRO cards */
}


.desktop-center.z-center .dashboard-widget > .z-panel-body {
	padding: 0 !important;                               /* drop the outer (doubled) pad */
}
.desktop-center.z-center .dashboard-widget > .z-panel-body > .z-panelchildren {
	padding: var(--pi-space-50, 4px) var(--pi-space-150) var(--pi-space-100) !important;  /* 4px top / 12px sides / 8px bottom — content hugs the header */
	font-size: var(--pi-font-size-100, 13px);            /* base body text — viz (gauges/calendar) keep their own explicit sizes */
	line-height: 1.45;
}


.desktop-center.z-center .dashboard-widget > .z-panel-head {
	padding: var(--pi-space-300, 24px) var(--pi-space-200) var(--pi-space-50, 4px) !important;
	font-size: var(--pi-font-size-75, 12px) !important;
	font-weight: var(--pi-font-weight-bold, 700) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	color: var(--pi-text-subtlest, #626F86) !important;
}


.desktop-center.z-center .dashboard-widget > .z-panel-head .z-panel-header,
.desktop-center.z-center .dashboard-widget > .z-panel-head .z-caption,
.desktop-center.z-center .dashboard-widget > .z-panel-head .z-caption-content {
	line-height: 1.2 !important;
	min-height: 0 !important;
}
.desktop-center.z-center .dashboard-widget > .z-panel-head .z-panel-icons {
	line-height: 1 !important;
	min-height: 0 !important;
}


.desktop-center.z-center .dashboard-widget.mro-widget {
	border-radius: var(--pi-radius-lg) !important;       /* 8px */
	box-shadow:    var(--pi-shadow-raised) !important;
}




.mro-board-grid {
	align-items: start !important;
	gap: var(--pi-space-200) !important;   /* uniform 16px between widgets */
}
.mro-board        { background: var(--pi-bg-sunken) !important; }
.mro-board--soft  { background: var(--pi-bg-surface-soft) !important; }  /* AssetHealthDashboard root #F4F5F7 */
.mro-board-scroll { background: var(--pi-bg-sunken) !important; }
.mro-board-scroll { padding: var(--pi-space-100, 8px) !important; }


.mro-card {
	background:     var(--pi-bg-card) !important;
	border:         1px solid var(--pi-border-hairline) !important;
	border-radius:  var(--pi-radius-xl) !important;
	box-shadow:     none !important;
	height:         400px !important;
	overflow-y:     auto  !important;
	overflow-x:     hidden !important;
}

.mro-card::-webkit-scrollbar       { width: 8px; }
.mro-card::-webkit-scrollbar-thumb { background: var(--pi-border-default, #B3B9C4); border-radius: var(--pi-radius-md, 4px); }
.mro-card::-webkit-scrollbar-track { background: transparent; }


.mro-widget .mro-section          { /* header block; structural margins stay inline */ }
.mro-widget .mro-section--divided { border-bottom: 1px solid var(--pi-border-hairline) !important; }
.mro-widget .mro-row              { border-bottom: 1px solid var(--pi-border-hairline-soft) !important; }
.mro-widget .mro-row--card        { background: var(--pi-bg-sunken) !important; border-radius: var(--pi-radius-lg) !important; }
.mro-widget .mro-divider          { border-top: 1px solid var(--pi-border-hairline-soft) !important; }
.mro-widget .mro-colhead-rule     { border-bottom: 2px solid var(--pi-border-hairline) !important; }
.mro-widget .mro-colhead-rule--thin { border-bottom: 1px solid var(--pi-border-hairline) !important; }
.mro-widget .mro-footer           { border-top: 1px solid var(--pi-border-hairline-2) !important; }
.mro-widget .mro-footer--soft     { border-top: 1px solid var(--pi-border-hairline-soft) !important; }  /* CriticalAlerts #F4F5F7 */
.mro-widget .mro-footer--plain    { /* no border */ }
.mro-widget .mro-widget-inner     { padding: var(--pi-space-200) !important; }
.mro-widget .mro-status-tile-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; }
.mro-tile-grid { gap: var(--pi-space-150) !important; }


.mro-widget .mro-tile          { background: var(--pi-bg-card) !important; border: 1px solid var(--pi-border-subtle) !important; border-radius: var(--pi-radius-lg) !important; }
.mro-widget .mro-tile--sunken  { background: var(--pi-bg-sunken) !important; border: 1px solid var(--pi-border-hairline-soft) !important; }
.mro-widget .mro-tile--overdue { background: var(--pi-wos-overdue-bg) !important; border-radius: var(--pi-radius-lg) !important; }

.mro-widget .mro-metric--prio-critical  { color: var(--pi-prio-critical-text) !important; }
.mro-widget .mro-metric--prio-high      { color: var(--pi-prio-high-text) !important; }
.mro-widget .mro-metric--prio-medium    { color: var(--pi-prio-medium-text) !important; }
.mro-widget .mro-metric--prio-low       { color: var(--pi-prio-low-text) !important; }
.mro-widget .mro-metric--wos-draft            { color: var(--pi-wos-draft-text) !important; }
.mro-widget .mro-metric--wos-assigned         { color: var(--pi-wos-assigned-text) !important; }
.mro-widget .mro-metric--wos-in-progress      { color: var(--pi-wos-in-progress-text) !important; }
.mro-widget .mro-metric--wos-waiting-parts    { color: var(--pi-wos-waiting-parts-text) !important; }
.mro-widget .mro-metric--wos-waiting-approval { color: var(--pi-wos-waiting-approval-text) !important; }
.mro-widget .mro-metric--wos-completed        { color: var(--pi-wos-completed-text) !important; }
.mro-widget .mro-metric--wos-overdue          { color: var(--pi-wos-overdue-text) !important; }
.mro-widget .mro-metric--overdue-pm   { color: var(--pi-overdue-pm-text) !important; }
.mro-widget .mro-metric--overdue-insp { color: var(--pi-overdue-insp-text) !important; }
.mro-widget .mro-metric--overdue-aging{ color: var(--pi-overdue-aging-text) !important; }
.mro-widget .mro-metric--default { color: var(--pi-text-default) !important; }
.mro-widget .mro-metric-label--overdue { color: var(--pi-wos-overdue-text) !important; }


.mro-widget .mro-badge--sev-emergency { color: var(--pi-sev-emergency-text) !important; background: var(--pi-sev-emergency-bg) !important; }
.mro-widget .mro-badge--sev-critical  { color: var(--pi-sev-critical-text)  !important; background: var(--pi-sev-critical-bg)  !important; }
.mro-widget .mro-badge--sev-warning   { color: var(--pi-sev-warning-text)   !important; background: var(--pi-sev-warning-bg)   !important; }
.mro-widget .mro-badge--neutral       { color: var(--pi-sev-neutral-text)   !important; background: var(--pi-sev-neutral-bg)   !important; }
.mro-widget .mro-badge--count-danger  { color: var(--pi-sev-emergency-text) !important; background: var(--pi-sev-emergency-bg) !important; }
.mro-widget .mro-badge--count-warning { color: var(--pi-sev-critical-text)  !important; background: var(--pi-sev-critical-bg)  !important; }
.mro-widget .mro-badge--count-zero    { color: var(--pi-sev-neutral-text)   !important; background: var(--pi-sev-neutral-bg)   !important; }
.mro-widget .mro-badge--load-overloaded { color: var(--pi-load-overloaded-text) !important; background: var(--pi-load-overloaded-bg) !important; }
.mro-widget .mro-badge--load-busy       { color: var(--pi-load-busy-text)       !important; background: var(--pi-load-busy-bg)       !important; }
.mro-widget .mro-badge--load-available  { color: var(--pi-load-available-text)  !important; background: var(--pi-load-available-bg)  !important; }
.mro-widget .mro-badge--wparts { color: var(--pi-sev-critical-text) !important; background: var(--pi-bg-warning) !important; }  /* #FF8B00 on #FFF7D6 */


.mro-widget .mro-statusdot--ok    { background: var(--pi-bg-success) !important; }
.mro-widget .mro-statusdot--alert { background: var(--pi-sev-emergency-bg) !important; }
.mro-widget .mro-glyph--ok    { color: var(--pi-status-success-bold) !important; }
.mro-widget .mro-glyph--alert { color: var(--pi-status-danger-bold) !important; }
.mro-widget .mro-sub--ok    { color: var(--pi-text-subtlest) !important; }
.mro-widget .mro-sub--alert { color: var(--pi-text-danger) !important; }
.mro-widget .mro-empty--ok  { color: var(--pi-text-success) !important; }


.mro-widget .mro-progress      { background: var(--pi-border-hairline) !important; border-radius: var(--pi-radius-sm) !important; }
.mro-widget .mro-progress--lg  { background: var(--pi-progress-track-2) !important; border-radius: var(--pi-radius-md) !important; }
.mro-widget .mro-progress-bar    { border-radius: var(--pi-radius-sm) !important; }
.mro-widget .mro-progress-bar--lg { border-radius: var(--pi-radius-md) !important; }
.mro-widget .mro-progress-bar--health-low  { background: var(--pi-health-low-text) !important; }
.mro-widget .mro-progress-bar--health-mid  { background: var(--pi-health-mid-text) !important; }
.mro-widget .mro-progress-bar--health-good { background: var(--pi-health-good-text) !important; }
.mro-widget .mro-progress-bar--info        { background: var(--pi-progress-fill-info, var(--pi-link-default)) !important; }
.mro-widget .mro-meta--health-low  { color: var(--pi-health-low-text) !important; }
.mro-widget .mro-meta--health-mid  { color: var(--pi-health-mid-text) !important; }
.mro-widget .mro-meta--health-good { color: var(--pi-health-good-text) !important; }
.mro-widget .mro-meta--danger  { color: var(--pi-status-danger-bold) !important; }
.mro-widget .mro-meta--default { color: var(--pi-text-default) !important; }
.mro-widget .mro-meta--subtle  { color: var(--pi-text-subtlest) !important; }


.mro-widget .mro-avatar--0 { background: var(--pi-avatar-0-bg) !important; }
.mro-widget .mro-avatar--1 { background: var(--pi-avatar-1-bg) !important; }
.mro-widget .mro-avatar--2 { background: var(--pi-avatar-2-bg) !important; }
.mro-widget .mro-avatar--3 { background: var(--pi-avatar-3-bg) !important; }
.mro-widget .mro-avatar--4 { background: var(--pi-avatar-4-bg) !important; }
.mro-widget .mro-avatar-text--0 { color: var(--pi-avatar-0-text) !important; }
.mro-widget .mro-avatar-text--1 { color: var(--pi-avatar-1-text) !important; }
.mro-widget .mro-avatar-text--2 { color: var(--pi-avatar-2-text) !important; }
.mro-widget .mro-avatar-text--3 { color: var(--pi-avatar-3-text) !important; }
.mro-widget .mro-avatar-text--4 { color: var(--pi-avatar-4-text) !important; }


.mro-widget .mro-date-badge        { background: var(--pi-bg-card) !important; border: 1px solid var(--pi-border-subtle) !important; border-radius: var(--pi-radius-badge) !important; }
.mro-widget .mro-date-badge-month  { background: var(--pi-bg-brand) !important; }
.mro-widget .mro-date-badge-month-text { color: var(--pi-text-inverse) !important; }
.mro-widget .mro-date-badge-day    { color: var(--pi-text-default) !important; }


.mro-widget .mro-empty   { color: var(--pi-text-subtlest) !important; }
.mro-widget .mro-chevron { color: var(--pi-text-subtlest) !important; }
.mro-widget .mro-jobcount{ color: var(--pi-job-count-text) !important; }




.mro-widget, .mro-widget * {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}


.mro-widget .mro-title {
	font-size: var(--pi-font-size-75, 12px) !important; font-weight: var(--pi-font-weight-bold, 700) !important;
	text-transform: uppercase !important; letter-spacing: 0.5px !important;
	color: var(--pi-text-subtlest, #626F86) !important; line-height: var(--pi-line-height-snug, 1.3) !important;
}

.mro-widget .mro-subtitle {
	font-size: var(--pi-font-size-50, 11px) !important; font-weight: var(--pi-font-weight-semibold, 600) !important;
	text-transform: uppercase !important; letter-spacing: 0.5px !important;
	color: var(--pi-text-subtlest, #626F86) !important; line-height: var(--pi-line-height-snug, 1.3) !important;
}

.mro-widget .mro-item {
	font-size: var(--pi-font-size-200, 14px) !important; font-weight: var(--pi-font-weight-semibold, 600) !important;
	color: var(--pi-text-default, #172B4D) !important; line-height: var(--pi-line-height-base, 1.4) !important;
}

.mro-widget .mro-sub {
	font-size: var(--pi-font-size-75, 12px) !important; font-weight: var(--pi-font-weight-regular, 400) !important;
	color: var(--pi-text-subtlest, #626F86) !important; line-height: var(--pi-line-height-base, 1.4) !important;
}

.mro-widget .mro-meta {
	font-size: var(--pi-font-size-100, 13px) !important; font-weight: var(--pi-font-weight-medium, 500) !important;
}

.mro-widget .mro-metric {
	font-size: var(--pi-font-size-metric, 24px) !important; font-weight: var(--pi-font-weight-bold, 700) !important; line-height: var(--pi-line-height-tight, 1.2) !important;
}

.mro-widget .mro-metric-label {
	font-size: var(--pi-font-size-50, 11px) !important; font-weight: var(--pi-font-weight-semibold, 600) !important;
	text-transform: uppercase !important; letter-spacing: 0.4px !important;
}

.mro-widget .mro-badge {
	font-size: var(--pi-font-size-50, 11px) !important; font-weight: var(--pi-font-weight-bold, 700) !important;
	text-transform: uppercase !important; letter-spacing: 0.3px !important;
}

.mro-widget .mro-link {
	font-size: var(--pi-font-size-100, 13px) !important; font-weight: var(--pi-font-weight-semibold, 600) !important;
	color: var(--pi-link-default, #0C66E4) !important;
}

.mro-widget .mro-info {
	font-size: var(--pi-font-size-200, 14px) !important; color: var(--pi-text-subtlest, #626F86) !important;
}




.desktop-tabbox .window-container-toolbar {
	transform: translateY(7px) !important;
}


.desktop-tabbox .z-tabbox-icon.z-tabbox-left-scroll,
.desktop-tabbox .z-tabbox-icon.z-tabbox-right-scroll {
	transform: translateY(7px) !important;
}

.z-grid .z-row:not(.grid-inactive-row) > .z-cell,
.z-grid .z-row:not(.grid-inactive-row) > .z-row-inner {
	background: var(--pi-bg-card, #FFFFFF) !important;
}
.z-listbox .z-listitem > .z-listcell {
	background: var(--pi-bg-card, #FFFFFF) !important;
}
.z-grid .z-row.z-grid-odd:not(.grid-inactive-row) > .z-cell,
.z-grid .z-row.z-grid-odd:not(.grid-inactive-row) > .z-row-inner {
	background: var(--pi-bg-sunken, #F7F8F9) !important;
}
.z-listbox .z-listitem.z-listbox-odd > .z-listcell {
	background: var(--pi-bg-sunken, #F7F8F9) !important;
}

.z-grid.adtab-grid .z-row:not(.grid-inactive-row):hover > .z-cell,
.z-grid.adtab-grid .z-row:not(.grid-inactive-row):hover > .z-row-inner {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}
.z-listbox .z-listitem:hover > .z-listcell {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}

.z-grid tbody tr.z-row.highlight:not(.grid-inactive-row) > .z-cell,
.z-grid tbody tr.z-row.highlight:not(.grid-inactive-row) > .z-row-inner {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
}
.z-grid tbody tr.z-row.highlight:not(.grid-inactive-row) > td.row-indicator,
.z-grid tbody tr.z-row.highlight:not(.grid-inactive-row) > td.row-indicator-selected {
	background-color: var(--pi-bg-selected-bold, #CCE0FF) !important;
}
.z-grid tbody tr.z-row.highlight:not(.grid-inactive-row):hover > .z-cell,
.z-grid tbody tr.z-row.highlight:not(.grid-inactive-row):hover > .z-row-inner {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
}
.z-listbox .z-listitem.z-listitem-selected > .z-listcell,
.z-listbox .z-listitem.z-listitem-selected.z-listitem-focus > .z-listcell {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-bg-selected-bold, #CCE0FF) !important;
}
.z-listbox .z-listitem.z-listitem-selected:hover > .z-listcell,
.z-listbox .z-listitem.z-listitem-selected.z-listitem-focus:hover > .z-listcell {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
}

.z-grid .z-column,
.z-listbox .z-listheader {
	background: var(--pi-bg-selected, #E9F2FF) !important;
	border-bottom: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-left-color: var(--pi-border-default, #B3B9C4) !important;
	box-shadow: inset -1px 0 0 0 var(--pi-border-default, #B3B9C4) !important;
}
.z-grid .z-column-content,
.z-listbox .z-listheader-content {
	padding: var(--pi-space-50, 4px) var(--pi-space-100, 8px) !important;
	line-height: var(--pi-line-height-snug, 1.3) !important;
	font-size: var(--pi-font-size-50, 11px) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	color: var(--pi-text-subtle, #44546F) !important;
}
.z-grid .z-column.z-column-hover,
.z-listbox .z-listheader.z-listheader-hover {
	background: var(--pi-bg-selected, #E9F2FF) !important;
}

.adtab-grid .z-column:first-child .z-column-content,
.adtab-grid .z-column:nth-child(2) .z-column-content,
.adtab-grid .z-grid-body .z-row > .z-cell:first-child,
.adtab-grid .z-grid-body .z-row > .z-cell:nth-child(2) {
	padding-left: var(--pi-space-25, 2px) !important;
	padding-right: var(--pi-space-25, 2px) !important;
	text-align: center !important;
}
.adtab-grid .z-column:first-child .z-column-content,
.adtab-grid .z-grid-body .z-row > .z-cell:first-child {
	padding-left: 0 !important;
	padding-right: 0 !important;
	text-align: center !important;
}

.adtab-grid .z-column:first-child,
.adtab-grid .z-column:first-child:hover {
	box-shadow: none !important;
}
.adtab-grid .z-column:nth-child(2),
.adtab-grid .z-column:nth-child(2):hover {
	border-left-color: transparent !important;
}

.z-grid .z-row > .z-cell,
.z-listbox .z-listitem > .z-listcell {
	box-shadow: inset 0 -1px 0 0 var(--pi-border-grid, #C1C7D0) !important;
	border-left-color: var(--pi-border-grid, #C1C7D0) !important;
}

.z-grid .z-column:hover,
.z-listbox .z-listheader:hover {
	border-left-color: var(--pi-border-default, #B3B9C4) !important;
}
.z-grid .z-column-sizing,
.z-listbox .z-listheader-sizing {
	box-shadow: inset -2px 0 0 0 var(--pi-border-selected, #0C66E4) !important;
}

.z-grid,
.z-listbox {
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
}

.z-grid .z-column:hover:not(.z-column-sizing),
.z-listbox .z-listheader:hover:not(.z-listheader-sizing) {
	box-shadow: inset -2px 0 0 0 var(--pi-border-default, #B3B9C4) !important;
}

.z-listbox .z-listheader-checkable,
.z-listbox .z-listitem-checkable,
.z-listbox .z-listgroup-checkable {
	background: var(--pi-bg-default, #FFFFFF) !important;
	border-color: var(--pi-border-default, #B3B9C4) !important;
}
.z-listbox .z-listheader-checkable:not(.z-listheader-radio),
.z-listbox .z-listitem-checkable:not(.z-listitem-radio),
.z-listbox .z-listgroup-checkable {
	border-radius: var(--pi-radius-sm, 3px) !important;
}
.z-listbox .z-listheader-icon,
.z-listbox .z-listitem-icon,
.z-listbox .z-listgroup-icon {
	color: var(--pi-icon-brand, #0C66E4) !important;
}
.z-listbox .z-listitem-icon.z-icon-radio {
	background: var(--pi-icon-brand, #0C66E4) !important;
}

.z-grid tbody tr.highlight span.row-indicator-selected.z-icon-Edit {
	color: var(--pi-icon-brand, #0C66E4) !important;
}

.z-grid .z-cell > span.z-label,
.z-grid-body .z-cell .z-label {
	white-space: normal !important;
}
/* PA-624 (QA + manager): in a WINDOW GRID VIEW the rule above made rows grow while
   scrolling sideways. ZK's frozen scroller only renders the cells in view; scrolling
   right renders the rest, and any narrow column with longer text (Business Partner
   "Credit Status" = "No Credit Check", a date with its time, an address) wrapped to
   2-3 lines - every row then grew to the tallest cell (40px -> 67 / 101 / 169px).
   Window grids keep one line per value, ending in an ellipsis when it does not fit
   (what core grid.css.dsp intends), so rows stay one height scrolled left or right.
   Scoped to .adtab-grid rows only: forms (also z-grid), dashboard tables, list boxes
   and the header row keep the rule above. Full value: form view, or widen the column. */
.adtab-grid .z-grid-body .z-row > .z-cell > .z-label {
	display: block !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}
.z-listbox .z-listcell > .z-listcell-content,
.z-listbox-body .z-listcell-content {
	white-space: normal !important;
}

.z-grid.grid-layout .z-row > .z-cell,
.z-grid.grid-layout .z-row > .z-row-inner,
.z-grid.grid-layout .z-row.z-grid-odd > .z-cell,
.z-grid.grid-layout .z-row.z-grid-odd > .z-row-inner,
.z-grid.grid-layout .z-row:hover > .z-cell,
.z-grid.grid-layout .z-row:hover > .z-row-inner {
	background: transparent !important;
	box-shadow: none !important;
	border-left-color: transparent !important;
}
.z-grid.grid-layout {
	border: none !important;
	border-radius: 0 !important;
}
.z-grid.grid-layout .z-column,
.z-grid.grid-layout .z-column-content {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.adwindow-form .z-textbox,
.adwindow-form .z-decimalbox,
.adwindow-form .z-intbox,
.adwindow-form .z-longbox,
.adwindow-form .z-doublebox,
.adwindow-form .z-combobox-input,
.adwindow-form .z-bandbox-input,
.adwindow-form .z-datebox-input,
.adwindow-form .z-timebox-input,
.adwindow-form .z-spinner-input,
.adwindow-form .editor-input,
.adwindow-form .editor-input input,
.adwindow-form .grid-editor-input,
.adwindow-form .number-box,
.adwindow-form .datetime-box {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
}
.adwindow-form .z-textbox:focus,
.adwindow-form .z-decimalbox:focus,
.adwindow-form .z-intbox:focus,
.adwindow-form .z-longbox:focus,
.adwindow-form .z-doublebox:focus,
.adwindow-form .z-combobox-input:focus,
.adwindow-form .z-bandbox-input:focus,
.adwindow-form .z-datebox-input:focus,
.adwindow-form .z-timebox-input:focus,
.adwindow-form .z-spinner-input:focus,
.adwindow-form .editor-input:focus,
.adwindow-form .editor-input input:focus,
.adwindow-form .grid-editor-input:focus {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: 0 0 0 2px var(--pi-bg-selected, #E9F2FF) !important;
}

/* ADS: form inputs don't stretch edge-to-edge on a wide screen. A dropdown or a
   short field in a 600px box reads badly and looks inconsistent field-to-field.
   Cap the editor width; the label column and the grid's column alignment are
   untouched (the editor just stops filling its cell, whitespace follows).
   Multi-line text (Description etc.) opts back out. Grids are never touched -
   columns of values want the full cell. Scoped to AD-window forms + process
   parameter panels.

   FIX (found via a live window, "Approval Config" - a plain String field with no
   picker button rendered edge-to-edge, ~3x this cap, next to correctly-capped
   Integer fields on the same tab): a bare String field (WStringEditor, no
   autocomplete) is just a `Textbox` with NO `.editor-box`/`.number-box` wrapper
   div at all (core's EditorBox/ComboEditorBox/NumberBox all add their own wrapper
   class themselves - WStringEditor never wraps in any of them; see
   org.adempiere.webui.editor.WStringEditor + component.EditorBox/NumberBox) - so
   this rule never matched it, `.z-textbox` was never capped anywhere. Added
   directly. Also added `!important`: without it, nothing here can be trusted to
   actually win against whatever else might set a width/flex value on these
   elements (that's the exact bug already found once this session in the
   Attachment dialog - a rule that LOOKED right but silently never applied). */
/* PA-624: ONE width for every field you type into or pick from. Before, text boxes
   were capped at 460px and dropdowns / lookups at 340px, while core shrank dates to
   ~145px and number boxes stretched to 460px - so on every form the field edges never
   lined up (the "arrangement" complaint on Product Label). Now text, dropdown, lookup
   and search fields fill their cell up to --pi-size-field-max; the inner <input> of a
   dropdown / lookup follows its wrapper. Width only - borders, colours, fonts untouched. */
:is(.adwindow-form, .main-parameter-layout) .editor-box,
:is(.adwindow-form, .main-parameter-layout) .z-textbox:not(textarea),
:is(.adwindow-form, .main-parameter-layout) .editor-box:has(.z-combobox-input),
:is(.adwindow-form, .main-parameter-layout) .editor-box:has(.z-bandbox-input),
:is(.adwindow-form, .main-parameter-layout) .editor-input.z-combobox,
:is(.adwindow-form, .main-parameter-layout) .z-combobox,
:is(.adwindow-form, .main-parameter-layout) .z-bandbox {
	width: 100% !important;
	max-width: var(--pi-size-field-max) !important;
	box-sizing: border-box !important;
}
:is(.adwindow-form, .main-parameter-layout) .z-combobox-input,
:is(.adwindow-form, .main-parameter-layout) .z-bandbox-input {
	width: 100% !important;
	box-sizing: border-box !important;
}
/* PA-624: date and number fields stay small - they never need the room - but all at
   ONE compact width (a number box is .number-box.editor-box; a date-only field is a
   bare .z-datebox, a date+time pair sits in .datetime-box and keeps its own cap). */
:is(.adwindow-form, .main-parameter-layout) .editor-box.number-box,
:is(.adwindow-form, .main-parameter-layout) .z-datebox:not(.datetime-box .z-datebox) {
	width: 100% !important;
	max-width: var(--pi-size-field-compact) !important;
	box-sizing: border-box !important;
}
:is(.adwindow-form, .main-parameter-layout) .z-datebox:not(.datetime-box .z-datebox) .z-datebox-input {
	width: 100% !important;
	box-sizing: border-box !important;
}
:is(.adwindow-form, .main-parameter-layout) .datetime-box {
	max-width: var(--pi-size-field-datetime) !important;
}
/* multi-line text keeps the full row */
.adwindow-form .editor-box:has(textarea),
.adwindow-form textarea.z-textbox,
.main-parameter-layout .editor-box:has(textarea),
.main-parameter-layout textarea.z-textbox {
	max-width: none !important;
}

/* Number editors read LEFT-aligned in a form (AD-window form + process-parameter
   panel), same as text/date fields. ZK ships .z-decimalbox/.z-intbox/... inputs
   with text-align:right - the accounting convention that only helps when numbers
   stack in a GRID column, where it is deliberately left alone. */
.adwindow-form .z-decimalbox,
.adwindow-form .z-intbox,
.adwindow-form .z-longbox,
.adwindow-form .z-doublebox,
.adwindow-form .z-spinner-input,
.adwindow-form .number-box input,
.adwindow-form .z-decimalbox input,
.adwindow-form .z-intbox input,
.adwindow-form .z-longbox input,
.adwindow-form .z-doublebox input,
.main-parameter-layout .z-decimalbox,
.main-parameter-layout .z-intbox,
.main-parameter-layout .z-longbox,
.main-parameter-layout .z-doublebox,
.main-parameter-layout .z-spinner-input,
.main-parameter-layout .number-box input,
.main-parameter-layout .z-decimalbox input,
.main-parameter-layout .z-intbox input,
.main-parameter-layout .z-longbox input,
.main-parameter-layout .z-doublebox input {
	text-align: left !important;
}

/* AD window form: section group headers ("Dates", "Status", "Document Preferences", ...).
   A filled light-blue band with a dark-blue label - the bar users read as the section
   divider, restored 2026-09-16 at the user's request after c4f57715 flattened it to a
   transparent uppercase label over a hairline, which did not stand out enough.
   Consolidated into ONE rule set (the pre-c4f57715 styling was three overlapping passes
   that fought each other over the label colour). Scoped to .adwindow-form, so every
   AD_FieldGroup on every AD_Window across every plugin picks this up - one shared
   component, not a per-screen one-off. Also applied to .main-parameter-layout, the
   other surface that renders AD field groups (process-parameter dialogs), so a section
   bar looks the same in a window and in a process dialog. Label on band is 7.3:1. */
.adwindow-form tr.z-group,
.adwindow-form .z-group,
.adwindow-form td.z-group-header,
.adwindow-form td.z-group-inner,
.adwindow-form td.group-space,
.adwindow-form .z-group > td,
.adwindow-form .z-group-content,
.main-parameter-layout tr.z-group,
.main-parameter-layout .z-group,
.main-parameter-layout td.z-group-header,
.main-parameter-layout td.z-group-inner,
.main-parameter-layout .z-group > td,
.main-parameter-layout .z-group-content {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;   /* kills ZK's group_bg.gif gradient ("shadow") */
	box-shadow: none !important;
	border-radius: 0 !important;
}
.adwindow-form td.group-space {
	padding-bottom: 0 !important;
	padding-top: var(--pi-space-200, 16px) !important;
}
/* Breathing room above every collapsible section bar, in every AD-window form -
   iDempiere renders no spacer row before a Group. The margin sits in the now-
   transparent group cell, so the gap is the form's own background (no line, no
   gradient). Same treatment everywhere = a consistent component. */
.adwindow-form .z-group .z-group-header-body {
	margin-top: var(--pi-space-200, 16px) !important;
}
.adwindow-form .z-group + .z-group .z-group-header-body {
	margin-top: 0 !important;   /* consecutive group bars sit flush */
}
.adwindow-form .z-group-header-body,
.main-parameter-layout .z-group-header-body {
	display: flex !important;
	align-items: center !important;
	flex-direction: row !important;
	justify-content: flex-start !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px) !important;
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	cursor: pointer !important;
}
.adwindow-form .z-group-header:hover .z-group-header-body,
.adwindow-form .z-group-header-body:hover,
.main-parameter-layout .z-group-header:hover .z-group-header-body,
.main-parameter-layout .z-group-header-body:hover {
	background: var(--pi-bg-section-header-hover, #B5D4F4) !important;
}
.adwindow-form .z-group-header-body .z-label,
.main-parameter-layout .z-group-header-body .z-label {
	font-weight: var(--pi-font-weight-medium, 500) !important;
	color: var(--pi-text-section-header, #0C447C) !important;
}
.adwindow-form .z-group-header-body .z-group-icon,
.adwindow-form .z-group-header-body [class*="z-icon-"],
.main-parameter-layout .z-group-header-body .z-group-icon,
.main-parameter-layout .z-group-header-body [class*="z-icon-"] {
	color: var(--pi-text-section-header, #0C447C) !important;
	margin-right: var(--pi-space-100, 8px) !important;
}
.adwindow-form .z-group-icon-open::before,
.main-parameter-layout .z-group-icon-open::before {
	content: "\f107" !important;
}
.adwindow-form .z-group-icon-close::before,
.main-parameter-layout .z-group-icon-close::before {
	content: "\f105" !important;
}

.adwindow-south,
.adwindow-status {
	background: var(--pi-bg-card, #FFFFFF) !important;
}
.adwindow-south {
	height: auto !important;
	min-height: var(--pi-space-400, 32px) !important;
	border-top: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
}
div.adwindow-status {
	min-height: var(--pi-space-400, 32px) !important;
	padding: 6px var(--pi-space-150, 12px) !important;
	border-bottom: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
}
.adwindow-status .adwindow-status-docstatus {
	padding: 0 !important;
	margin: 0 !important;
}

.adwindow-form td.z-cell {
	padding-top: var(--pi-space-200, 16px) !important;
	padding-bottom: 0 !important;
}

.adwindow-form .z-chosenbox,
.adwindow-form .editor-box .z-chosenbox {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
}
.adwindow-form .z-checkbox input[type="checkbox"] {
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
}
.adwindow-form .z-combobox-button,
.adwindow-form .z-bandbox-button,
.adwindow-form .z-datebox-button,
.adwindow-form .z-spinner-button {
	color: var(--pi-icon-subtle, #626F86) !important;
}

.adwindow-form .z-textbox:not(textarea),
.adwindow-form .z-decimalbox,
.adwindow-form .z-intbox,
.adwindow-form .z-longbox,
.adwindow-form .z-doublebox,
.adwindow-form .z-combobox-input,
.adwindow-form .z-bandbox-input,
.adwindow-form .z-datebox-input,
.adwindow-form .z-timebox-input,
.adwindow-form .z-spinner-input,
.adwindow-form .editor-input input {
	height: var(--pi-space-400, 32px) !important;
	padding: var(--pi-space-50, 4px) var(--pi-space-100, 8px) !important;
	transition: border-color .12s ease, box-shadow .12s ease !important;
}

.adwindow-form textarea.z-textbox {
	height: var(--pi-space-400, 32px);
	min-height: var(--pi-space-400, 32px);
	padding: var(--pi-space-50, 4px) var(--pi-space-100, 8px);
	resize: vertical;
	overflow: auto;
	transition: border-color .12s ease, box-shadow .12s ease;
}

textarea.z-textbox {
	resize: vertical;
	overflow: auto;
}

.adtab-grid .z-cell:has(textarea.z-textbox) {
	overflow: visible !important;
	height: auto !important;
}
.adtab-grid .z-row:has(textarea.z-textbox) {
	height: auto !important;
}

.adwindow-north,
.adwindow-toolbar,
.adwindow-breadcrumb {
	background-color: var(--pi-bg-card, #FFFFFF) !important;
	background-image: none !important;
}
.adwindow-breadcrumb-paths,
.adwindow-breadcrumb-toolbar,
.adwindow-breadcrumb .z-toolbar,
.adwindow-breadcrumb .z-toolbar-body,
.adwindow-breadcrumb .z-toolbar-content,
.adwindow-toolbar .z-toolbar-body,
.adwindow-toolbar .z-toolbar-content {
	background: transparent !important;
	background-image: none !important;
	border: none !important;
}
div.adwindow-toolbar {
	border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
}
div.adwindow-breadcrumb {
	padding-top: var(--pi-space-50, 4px) !important;
	padding-bottom: var(--pi-space-50, 4px) !important;
	border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
}
.adtab-grid {
	margin-top: 0 !important;
}

.z-column-sort .z-column-sorticon,
.z-listheader-sort .z-listheader-sorticon {
	position: absolute !important;
	top: 50% !important;
	left: auto !important;
	right: var(--pi-space-100, 8px) !important;
	transform: translateY(-50%) !important;
	color: var(--pi-icon-subtle, #626F86) !important;
	font-size: 16px !important;
}
.z-column-sort .z-column-content,
.z-listheader-sort .z-listheader-content {
	padding-right: var(--pi-space-350, 28px) !important;
}
.z-column-sorticon .z-icon-caret-up::before,
.z-listheader-sorticon .z-icon-caret-up::before {
	content: "" !important;
	display: inline-block !important;
	position: static !important;
	top: auto !important; left: auto !important; margin: 0 !important;
	vertical-align: middle !important;
	width: 1em; height: 1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 19V5'/><path d='M6 11l6-6 6 6'/></svg>") no-repeat center / contain;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 19V5'/><path d='M6 11l6-6 6 6'/></svg>") no-repeat center / contain;
}
.z-column-sorticon .z-icon-caret-down::before,
.z-listheader-sorticon .z-icon-caret-down::before {
	content: "" !important;
	display: inline-block !important;
	position: static !important;
	top: auto !important; left: auto !important; margin: 0 !important;
	vertical-align: middle !important;
	width: 1em; height: 1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 5v14'/><path d='M6 13l6 6 6-6'/></svg>") no-repeat center / contain;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 5v14'/><path d='M6 13l6 6 6-6'/></svg>") no-repeat center / contain;
}

.adtab-grid .z-grid-header,
.adtab-grid .z-grid-body {
	padding-left: 0 !important;
}
.adtab-grid .z-grid-header { background: var(--pi-bg-selected, #E9F2FF) !important; }
.adtab-grid .z-grid-body   { background: var(--pi-bg-card, #FFFFFF) !important; }

.adtab-grid .z-cell .z-textbox,
.adtab-grid .z-cell .z-decimalbox,
.adtab-grid .z-cell .z-intbox,
.adtab-grid .z-cell .z-longbox,
.adtab-grid .z-cell .z-doublebox,
.adtab-grid .z-cell .z-combobox-input,
.adtab-grid .z-cell .z-bandbox-input,
.adtab-grid .z-cell .z-datebox-input,
.adtab-grid .z-cell .z-timebox-input,
.adtab-grid .z-cell .z-spinner-input,
.adtab-grid .z-cell .editor-input,
.adtab-grid .z-cell .editor-input input,
.adtab-grid .z-cell .number-box,
.adtab-grid .z-cell .datetime-box {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
}
.adtab-grid .z-cell .z-textbox:focus,
.adtab-grid .z-cell .z-decimalbox:focus,
.adtab-grid .z-cell .z-intbox:focus,
.adtab-grid .z-cell .z-longbox:focus,
.adtab-grid .z-cell .z-doublebox:focus,
.adtab-grid .z-cell .z-combobox-input:focus,
.adtab-grid .z-cell .z-bandbox-input:focus,
.adtab-grid .z-cell .z-datebox-input:focus,
.adtab-grid .z-cell .z-timebox-input:focus,
.adtab-grid .z-cell .z-spinner-input:focus,
.adtab-grid .z-cell .editor-input:focus,
.adtab-grid .z-cell .editor-input input:focus,
.adtab-grid .z-cell .number-box:focus {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
}

.z-icon-New:before, .z-icon-Save:before, .z-icon-SaveCreate:before, .z-icon-Delete:before,
.z-icon-Copy:before, .z-icon-Refresh:before, .z-icon-Find:before, .z-icon-Ignore:before,
.z-icon-Undo:before, .z-icon-Attachment:before, .z-icon-Chat:before, .z-icon-PostIt:before,
.z-icon-Archive:before, .z-icon-Export:before, .z-icon-Report:before, .z-icon-Print:before,
.z-icon-Zoom:before, .z-icon-ZoomAcross:before, .z-icon-Workflow:before, .z-icon-WorkFlow:before,
.z-icon-Help:before, .z-icon-Multi:before, .z-icon-Single:before, .z-icon-Detail:before,
.z-icon-Parent:before, .z-icon-Customize:before, .z-icon-Process:before, .z-icon-QuickForm:before,
.z-icon-CSVImport:before, .z-icon-FileImport:before, .z-icon-Import:before, .z-icon-More:before,
.z-icon-ShowMore:before, .z-icon-Product:before, .z-icon-Request:before, .z-icon-Lock:before,
.z-icon-LockX:before, .z-icon-lock:before, .z-icon-unlock:before, .z-icon-Label:before, .z-icon-Edit:before, .z-icon-FirstRecord:before,
.z-icon-Reset:before, .z-icon-History:before, .z-icon-SelectAll:before, .z-icon-DeSelectAll:before,
.z-icon-Ok:before, .z-icon-Cancel:before, .z-icon-Next:before, .z-icon-Previous:before,
.z-icon-FastBack:before, .z-icon-FastForward:before, .z-icon-StepBack:before, .z-icon-StepForward:before,
.z-icon-ThreeLineMenu:before, .z-icon-Search:before, .z-icon-Trash:before, .z-icon-SendMail:before,
.z-icon-GetMail:before, .z-icon-Form:before, .z-icon-Window:before, .z-icon-ProcessMenu:before,
.z-icon-Preference:before, .z-icon-Task:before, .z-icon-Info:before, .z-icon-PuxAction:before,
.attachment-dialog .z-icon-file-zip-o:before,
.z-icon-PreviousRecord:before, .z-icon-NextRecord:before, .z-icon-LastRecord:before {
	content: "" !important;
	display: inline-block !important;
	width: 20px; height: 20px;
	background-color: currentColor !important;
	vertical-align: -0.125em;
	-webkit-mask: var(--pi-ico) no-repeat center / contain;
	        mask: var(--pi-ico) no-repeat center / contain;
}
.adtab-grid .z-icon-Edit:before,
.z-grid .z-icon-Edit:before {
	width: 1em !important;
	height: 1em !important;
}

.z-icon-New:before          { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 5v14M5 12h14'/></svg>"); }
.z-icon-Save:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 5a1 1 0 0 1 1-1h9.5l3.5 3.5V19a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z'/><path d='M8 4h6v4H8z'/><path d='M8 13h8v6H8z'/></svg>"); }
.z-icon-SaveCreate:before   { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 5a1 1 0 0 1 1-1h7l3 3v3'/><path d='M8 4h5v4H8z'/><path d='M5 13v6a1 1 0 0 0 1 1h5'/><path d='M16 14v6M13 17h6'/></svg>"); }
.z-icon-Delete:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 7h14'/><path d='M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/><path d='M7 7l1 12a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1l1-12'/><path d='M10 11v6M14 11v6'/></svg>"); }
.z-icon-Copy:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 8h9a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/><path d='M5 15a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1'/></svg>"); }
.z-icon-Refresh:before      { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 12a8 8 0 1 1-2.3-5.6'/><path d='M20 4v4h-4'/></svg>"); }
.z-icon-Find:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='6'/><path d='M20 20l-4.5-4.5'/></svg>"); }
.z-icon-Ignore:before,
.z-icon-Undo:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 9h9a6 6 0 0 1 0 12h-3'/><path d='M5 9l4-4M5 9l4 4'/></svg>"); }
.z-icon-Attachment:before   { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M18 9l-7.4 7.4a3 3 0 0 1-4.2-4.2l8-8a4.5 4.5 0 0 1 6.4 6.4l-8 8'/></svg>"); }
.z-icon-Chat:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 5h14a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H9l-4 4V6a1 1 0 0 1 1-1z'/></svg>"); }
.z-icon-PostIt:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 4h14v9l-6 6H5z'/><path d='M19 13h-6v6'/></svg>"); }
.z-icon-Archive:before      { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 5h16v4H4z'/><path d='M5 9v10h14V9'/><path d='M10 13h4'/></svg>"); }
.z-icon-Export:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4v11'/><path d='M8 8l4-4 4 4'/><path d='M5 14v5h14v-5'/></svg>"); }
.z-icon-Report:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 3h7l4 4v14H7z'/><path d='M14 3v4h4'/><path d='M10 13h5M10 17h5'/></svg>"); }
.z-icon-Print:before        { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 9V4h10v5'/><path d='M5 9h14a1 1 0 0 1 1 1v6h-4v3H8v-3H4v-6a1 1 0 0 1 1-1z'/></svg>"); }
.z-icon-Zoom:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 4h6v6'/><path d='M20 4l-8 8'/><path d='M20 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h4'/></svg>"); }
.z-icon-ZoomAcross:before   { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='6'/><path d='M20 20l-4.5-4.5'/><path d='M11 8v6M8 11h6'/></svg>"); }
.z-icon-Workflow:before,
.z-icon-WorkFlow:before     { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='6' cy='6' r='2'/><circle cx='18' cy='6' r='2'/><circle cx='12' cy='18' r='2'/><path d='M6 8v2a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8M12 14v2'/></svg>"); }
.z-icon-Help:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8'/><path d='M9.8 9.2a2.3 2.3 0 0 1 4.4.8c0 1.6-2.2 2-2.2 3.4'/><circle cx='12' cy='16.6' r='0.9' fill='black' stroke='none'/></svg>"); }
.z-icon-Multi:before        { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='16' rx='1.5'/><path d='M3 9h18M3 14h18M9 4v16M15 4v16'/></svg>"); }
.z-icon-Single:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='6' y='4' width='12' height='16' rx='1'/><path d='M9 8h6M9 12h6M9 16h3'/></svg>"); }
.z-icon-Detail:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='4' width='14' height='12' rx='1'/><path d='M8 8h8M8 11h5'/><circle cx='15.5' cy='17.5' r='3'/><path d='M20 22l-2.3-2.3'/></svg>"); }
.z-icon-Parent:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='5' r='2'/><circle cx='12' cy='19' r='2'/><path d='M12 7v6'/><path d='M9 10l3-3 3 3'/></svg>"); }
.z-icon-Customize:before    { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 7h7M16 7h3M5 12h3M12 12h7M5 17h9M18 17h1'/><circle cx='14' cy='7' r='2'/><circle cx='10' cy='12' r='2'/><circle cx='16' cy='17' r='2'/></svg>"); }
.z-icon-Process:before      { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z'/><circle cx='12' cy='12' r='3'/></svg>"); }
.z-icon-QuickForm:before    { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M10 7h9M10 12h9M10 17h9'/><path d='M4 6.5l1.3 1.3L7.6 5.5'/><path d='M4 11.5l1.3 1.3L7.6 10.5'/><path d='M4 16.5l1.3 1.3L7.6 15.5'/></svg>"); }
.z-icon-CSVImport:before    { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 3h7l4 4v14H7z'/><path d='M14 3v4h4'/><path d='M11.5 11v6M9 14.5l2.5 2.5 2.5-2.5'/></svg>"); }
.z-icon-FileImport:before,
.z-icon-Import:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4v9M8.5 9.5l3.5 3.5 3.5-3.5'/><path d='M5 15v4h14v-4'/></svg>"); }
.z-icon-More:before,
.z-icon-ShowMore:before     { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='none'><circle cx='6' cy='12' r='1.7' fill='black'/><circle cx='12' cy='12' r='1.7' fill='black'/><circle cx='18' cy='12' r='1.7' fill='black'/></svg>"); }
.z-icon-Product:before      { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l8 4.5v9L12 21l-8-4.5v-9z'/><path d='M4 7.5l8 4.5 8-4.5M12 12v9'/></svg>"); }
.z-icon-Request:before      { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 21V4'/><path d='M6 5h11l-2.5 3.5L17 12H6'/></svg>"); }
.z-icon-Lock:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='11' width='14' height='9' rx='1.5'/><path d='M8 11V8a4 4 0 0 1 7-2.6'/></svg>"); }
.z-icon-LockX:before        { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='11' width='14' height='9' rx='1.5'/><path d='M8 11V8a4 4 0 0 1 8 0v3'/></svg>"); }
.z-icon-Label:before        { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 11l7-7h7v7l-7 7z'/><circle cx='14' cy='10' r='1.3' fill='black' stroke='none'/></svg>"); }
.z-icon-Edit:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 19h4L18 9.8a2.1 2.1 0 0 0-3-3L6 16z'/><path d='M14 8l3 3'/></svg>"); }
.z-icon-FirstRecord:before  { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 6v12'/><path d='M18 6l-8 6 8 6z'/></svg>"); }
.z-icon-PreviousRecord:before { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M19 12H5'/><path d='M11 6l-6 6 6 6'/></svg>"); }
.z-icon-NextRecord:before   { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14'/><path d='M13 6l6 6-6 6'/></svg>"); }
.z-icon-LastRecord:before   { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17 6v12'/><path d='M6 6l8 6-8 6z'/></svg>"); }
.z-icon-lock:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='11' width='14' height='9' rx='1.5'/><path d='M8 11V8a4 4 0 0 1 8 0v3'/></svg>"); }
.z-icon-unlock:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='11' width='14' height='9' rx='1.5'/><path d='M8 11V8a4 4 0 0 1 7-2.6'/></svg>"); }
.z-icon-Reset:before        { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M8.5 20H20'/><path d='M14 6l4 4-7.6 7.6a2 2 0 0 1-2.8 0l-1.2-1.2a2 2 0 0 1 0-2.8z'/></svg>"); }
.z-icon-History:before      { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12a8 8 0 1 0 2.3-5.6'/><path d='M4 4v4h4'/><path d='M12 8v4l3 2'/></svg>"); }
.z-icon-SelectAll:before    { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='4' width='16' height='16' rx='2'/><path d='M8 12l3 3 5-6'/></svg>"); }
.z-icon-DeSelectAll:before  { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='4' width='16' height='16' rx='2'/></svg>"); }
.z-icon-Ok:before           { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>"); }
.z-icon-Cancel:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 6l12 12M18 6L6 18'/></svg>"); }
.z-icon-Next:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 6l6 6-6 6'/></svg>"); }
.z-icon-Previous:before     { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M15 6l-6 6 6 6'/></svg>"); }
.z-icon-FastBack:before     { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 6l-6 6 6 6M19 6l-6 6 6 6'/></svg>"); }
.z-icon-FastForward:before  { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 6l6 6-6 6M13 6l6 6-6 6'/></svg>"); }
.z-icon-StepBack:before     { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 6v12'/><path d='M18 6l-9 6 9 6'/></svg>"); }
.z-icon-StepForward:before  { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M18 6v12'/><path d='M6 6l9 6-9 6'/></svg>"); }
.z-icon-ThreeLineMenu:before{ --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 7h16M4 12h16M4 17h16'/></svg>"); }
.z-icon-Search:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='6'/><path d='M20 20l-4.5-4.5'/></svg>"); }
.z-icon-Trash:before        { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 7h14'/><path d='M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/><path d='M7 7l1 12a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1l1-12'/><path d='M10 11v6M14 11v6'/></svg>"); }
.z-icon-SendMail:before     { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 4L3 11l7 2 2 7z'/><path d='M21 4l-11 9'/></svg>"); }
.z-icon-GetMail:before      { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='6' width='16' height='12' rx='1.5'/><path d='M5 7l7 6 7-6'/></svg>"); }
.z-icon-Form:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='4' width='14' height='16' rx='1.5'/><path d='M8 9h8M8 13h8M8 17h5'/></svg>"); }
.z-icon-Window:before       { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='5' width='16' height='14' rx='1.5'/><path d='M4 9h16'/></svg>"); }
.z-icon-ProcessMenu:before  { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3'/><path d='M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1'/></svg>"); }
.z-icon-Preference:before   { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3'/><path d='M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1'/></svg>"); }
.z-icon-Task:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='6' y='5' width='12' height='15' rx='1.5'/><path d='M9 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1H9z'/><path d='M9 13l2 2 4-5'/></svg>"); }
.z-icon-Info:before         { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8'/><path d='M12 11v5'/><circle cx='12' cy='8' r='0.9' fill='black' stroke='none'/></svg>"); }
/* "Action" / PUX_ActionBar toolbar button — a bolt = record actions menu.
   com.pipra.ux ActionBarAction.getIconSclass() returns "z-icon-PuxAction". */
.z-icon-PuxAction:before    { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 3L4 14h7l-1 7 9-11h-7z'/></svg>"); }

.adwindow-gridview-detail .z-south-body {
	background-color: var(--pi-bg-card, #FFFFFF) !important;
}

.adwindow-form .z-combobox-button,
.adwindow-form .z-bandbox-button,
.adwindow-form .z-datebox-button,
.adwindow-form .z-timebox-button,
.adwindow-form .z-spinner-button,
.adwindow-form .z-doublespinner-button,
.adwindow-form .editor-button {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--pi-icon-subtle, #626F86) !important;
	border: none !important;
}
.adwindow-form .z-combobox-button:hover,
.adwindow-form .z-bandbox-button:hover,
.adwindow-form .z-datebox-button:hover,
.adwindow-form .z-timebox-button:hover,
.adwindow-form .z-spinner-button:hover,
.adwindow-form .z-doublespinner-button:hover,
.adwindow-form .editor-button:hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}
.adwindow-form .z-combobox:focus-within .z-combobox-button,
.adwindow-form .z-bandbox:focus-within .z-bandbox-button,
.adwindow-form .z-datebox:focus-within .z-datebox-button,
.adwindow-form .z-timebox:focus-within .z-timebox-button,
.adwindow-form .z-spinner:focus-within .z-spinner-button {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
}

.adwindow-form .z-chosenbox {
	min-height: var(--pi-space-400, 32px) !important;
}
.adwindow-form .z-chosenbox.z-chosenbox-focus {
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: 0 0 0 1px var(--pi-bg-selected-bold, #CCE0FF) !important;
}

.adwindow-form .z-checkbox input[type="checkbox"] {
	accent-color: var(--pi-border-selected, #0C66E4) !important;
}
.adwindow-form .z-checkbox input[type="checkbox"]:focus {
	box-shadow: 0 0 0 2px var(--pi-bg-selected-bold, #CCE0FF) !important;
	outline: none !important;
}

.z-combobox-popup,
.z-bandbox-popup,
.z-chosenbox-pp,
.z-datebox-popup,
.z-timebox-popup,
.z-popup-content {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-radius: var(--pi-radius-lg, 8px) !important;
	box-shadow: var(--pi-shadow-overlay, 0 8px 12px rgba(9,30,66,0.15), 0 0 1px rgba(9,30,66,0.31)) !important;
}
.z-comboitem {
	background: var(--pi-bg-card, #FFFFFF) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px) !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	line-height: var(--pi-line-height-base, 1.4) !important;
	color: var(--pi-text-default, #172B4D) !important;
}
.z-comboitem .z-comboitem-text {
	font-size: inherit !important;
	line-height: inherit !important;
}
.z-comboitem:hover { background: var(--pi-bg-hover, #F1F2F4) !important; }
.z-comboitem.z-comboitem-selected {
	background: var(--pi-bg-selected, #E9F2FF) !important;
	color: var(--pi-text-brand, #0C66E4) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
}
.z-comboitem.z-comboitem-selected .z-comboitem-text {
	color: var(--pi-text-brand, #0C66E4) !important;
}
.z-combobox-popup {
	padding: var(--pi-space-50, 4px) !important;
}
.z-chosenbox-option { background: var(--pi-bg-card, #FFFFFF) !important; }
.z-chosenbox-option.z-chosenbox-option-over,
.z-chosenbox-option:hover { background: var(--pi-bg-hover, #F1F2F4) !important; }
.z-datebox-popup .z-calendar { background: var(--pi-bg-card, #FFFFFF) !important; }
.z-datebox-popup .z-calendar-cell:hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
}
.z-datebox-popup .z-calendar-selected {
	background: var(--pi-border-selected, #0C66E4) !important;
	color: var(--pi-text-inverse, #FFFFFF) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
}
.z-datebox-popup .z-calendar-cell.z-calendar-today {
	box-shadow: inset 0 0 0 1px var(--pi-border-selected, #0C66E4) !important;
	color: var(--pi-border-selected, #0C66E4) !important;
}
.z-popup-content .z-button {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}
.z-popup-content .z-button > .z-button-cnt { margin: 0 auto !important; }
.z-popup-content .z-button:hover { background: var(--pi-bg-hover, #F1F2F4) !important; }

.adwindow-detailpane-toolbar [class*="z-icon-"]:before {
	width: 16px !important;
	height: 16px !important;
}
.adwindow-detailpane .adtab-grid {
	margin-top: var(--pi-space-75, 6px) !important;
}

.adwindow-form .z-textbox,
.adwindow-form .z-decimalbox,
.adwindow-form .z-intbox,
.adwindow-form .z-longbox,
.adwindow-form .z-doublebox,
.adwindow-form .z-combobox,
.adwindow-form .z-bandbox,
.adwindow-form .z-datebox,
.adwindow-form .z-timebox,
.adwindow-form .z-spinner,
.adwindow-form .z-chosenbox,
.adwindow-form .editor-input {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	box-shadow: none !important;
}

.adwindow-form .editor-box,
.adwindow-form .editor-input input,
.adwindow-form .number-box,
.adwindow-form .datetime-box,
.adwindow-form .z-combobox-input,
.adwindow-form .z-bandbox-input,
.adwindow-form .z-datebox-input,
.adwindow-form .z-timebox-input,
.adwindow-form .z-spinner-input,
.adwindow-form .z-combobox-button,
.adwindow-form .z-bandbox-button,
.adwindow-form .z-datebox-button,
.adwindow-form .z-timebox-button,
.adwindow-form .z-spinner-button,
.adwindow-form .z-doublespinner-button,
.adwindow-form .editor-button,
.adwindow-form .z-combobox > a,
.adwindow-form .z-datebox > a {
	border: none !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

.adwindow-form .z-textbox:focus,
.adwindow-form .z-decimalbox:focus,
.adwindow-form .z-intbox:focus,
.adwindow-form .z-longbox:focus,
.adwindow-form .z-doublebox:focus,
.adwindow-form .z-combobox:focus-within,
.adwindow-form .z-bandbox:focus-within,
.adwindow-form .z-datebox:focus-within,
.adwindow-form .z-timebox:focus-within,
.adwindow-form .z-spinner:focus-within,
.adwindow-form .z-chosenbox.z-chosenbox-focus,
.adwindow-form .editor-input:focus-within {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
}

.z-window .z-textbox, .z-window .z-decimalbox, .z-window .z-intbox, .z-window .z-longbox,
.z-window .z-doublebox, .z-window .z-combobox, .z-window .z-bandbox, .z-window .z-datebox,
.z-window .z-timebox, .z-window .z-spinner, .z-window .z-chosenbox, .z-window .editor-input {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	box-shadow: none !important;
}
.z-window .editor-box, .z-window .editor-input input, .z-window .number-box, .z-window .datetime-box,
.z-window .z-combobox-input, .z-window .z-bandbox-input, .z-window .z-datebox-input, .z-window .z-timebox-input,
.z-window .z-spinner-input, .z-window .z-combobox-button, .z-window .z-bandbox-button, .z-window .z-datebox-button,
.z-window .z-timebox-button, .z-window .z-spinner-button, .z-window .editor-button,
.z-window .z-combobox > a, .z-window .z-datebox > a {
	border: none !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}
.z-window .z-textbox:focus, .z-window .z-decimalbox:focus, .z-window .z-intbox:focus,
.z-window .z-longbox:focus, .z-window .z-doublebox:focus, .z-window .z-combobox:focus-within,
.z-window .z-bandbox:focus-within, .z-window .z-datebox:focus-within, .z-window .z-timebox:focus-within,
.z-window .z-spinner:focus-within, .z-window .z-chosenbox.z-chosenbox-focus, .z-window .editor-input:focus-within {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
}
.z-window .z-checkbox input[type="checkbox"] {
	accent-color: var(--pi-border-selected, #0C66E4) !important;
}

.toolbar-searchbox.z-combobox {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	box-shadow: none !important;
	min-height: var(--pi-space-400, 32px) !important;
	box-sizing: border-box !important;
}
.toolbar-searchbox .z-combobox-input,
.toolbar-searchbox .z-combobox-button,
.toolbar-searchbox > a {
	border: none !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}
.toolbar-searchbox .z-combobox-input {
	height: var(--pi-space-400, 32px) !important;
	padding: var(--pi-space-50, 4px) var(--pi-space-100, 8px) !important;
	color: var(--pi-text-default, #172B4D) !important;
}
.toolbar-searchbox .z-combobox-button {
	color: var(--pi-icon-subtle, #626F86) !important;
}
.toolbar-searchbox.z-combobox:focus-within,
.toolbar-searchbox.z-combobox.z-combobox-open,
.toolbar-searchbox.z-combobox.z-combobox-focus {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
}

.find-window,
.find-window .z-window-content,
.find-window-simple,
.find-window-advanced {
	color: var(--pi-text-default, #172B4D) !important;
	background-color: var(--pi-bg-card, #FFFFFF) !important;
}
.find-window.z-window,
.find-window .z-window-content {
	border: none !important;
}
.find-window.z-window-noborder.z-window-noheader {
	padding-top: 0 !important;
}
.find-window.z-window-embedded {
	top: 0 !important;
	height: 100% !important;
}
.find-window.z-window-embedded > .z-window-content {
	margin: 0 auto !important;
}
.find-window > .z-window-content > .z-vlayout > .z-vlayout-inner:first-child,
.find-window .z-borderlayout .z-north .z-north-body {
	padding-top: var(--pi-space-200, 16px) !important;
}
.find-window .z-borderlayout,
.find-window .z-borderlayout > div,
.find-window .z-north,
.find-window .z-center,
.find-window .z-south {
	background-color: transparent !important;
	border: none !important;
}
.find-window .z-south {
	border-top: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
}
.find-window .z-toolbar {
	background: transparent !important;
	border: none !important;
}

.find-window .z-tabbox .z-tabs {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: none !important;
	border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
}
.find-window .z-tab,
.find-window .z-tab .z-tab-content {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}
.find-window .z-tab .z-tab-text {
	color: var(--pi-icon-subtle, #626F86) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px) !important;
}
.find-window .z-tab-selected {
	border-bottom: 2px solid var(--pi-border-selected, #0C66E4) !important;
}
.find-window .z-tab-selected .z-tab-text {
	color: var(--pi-text-section-header, #0C447C) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
}
.find-window .z-tabpanels,
.find-window .z-tabpanel {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: none !important;
}

.find-window .z-grid,
.find-window .z-grid-body,
.find-window .z-grid-body .z-row,
.find-window .z-grid-body .z-row > .z-cell {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: none !important;
}
.find-window .z-grid-body .z-row > .z-cell {
	box-shadow: none !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-100, 8px) !important;
	color: var(--pi-text-default, #172B4D) !important;
}

.find-window .z-listbox,
.find-window .z-listbox .z-listbody,
.find-window .z-listbox .z-listitem,
.find-window .z-listbox .z-listcell {
	background: var(--pi-bg-card, #FFFFFF) !important;
}
.find-window .z-listbox {
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
}
.find-window .z-listhead,
.find-window .z-listheader {
	background: var(--pi-bg-selected, #E9F2FF) !important;
	border-bottom: 1px solid var(--pi-border-grid, #C1C7D0) !important;
}
.find-window .z-listbox table tr th.z-listheader,
.find-window .z-listbox table tr th.z-listheader .z-listheader-content,
.find-window .z-listbox table tr th.z-listheader .z-label {
	color: var(--pi-text-default, #172B4D) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
}
.find-window .z-listbox .z-listcell,
.find-window .z-listbox .z-listcell .z-label {
	color: var(--pi-text-default, #172B4D) !important;
	border-bottom: 1px solid var(--pi-border-hairline, #EBECF0) !important;
}

.info-panel,
.process-modal-dialog,
.popup-dialog {
	background-color: var(--pi-bg-default, #FFFFFF);
}
.info-panel .z-window-overlapped,
.info-panel .z-window-highlighted {
	background-color: var(--pi-bg-sunken, #F7F8F9) !important;
}
.info-panel .statusBar .z-west,
.info-panel .statusBar .z-center,
.info-panel .statusBar .z-east {
	background: var(--pi-bg-sunken, #F7F8F9);
	padding-top: 4px;
	padding-left: 8px;
}
.info-panel .z-south {
	border-top: 1px solid var(--pi-border-subtle, #DCDFE4);
	background-color: var(--pi-bg-sunken, #F7F8F9);
	padding: 8px 12px;
}

.info-panel table th {
	background: var(--pi-bg-sunken, #F7F8F9);
	padding: 8px 12px;
}
.info-panel table th .z-listheader-content {
	color: var(--pi-text-subtlest, #626F86);
	font-weight: var(--pi-font-weight-semibold, 600);
}
.info-panel table .z-listbox-odd {
	background: var(--pi-bg-sunken, #F7F8F9);
}
.info-panel table .z-listitem-selected {
	background: var(--pi-bg-selected, #E9F2FF);
}

.popup-dialog:has(.dialog-content):not(:has(> .z-window-content > .z-borderlayout)) {
	height: auto !important;
	min-height: 340px;
}
.popup-dialog:has(.dialog-content):not(:has(> .z-window-content > .z-borderlayout)) > .z-window-content {
	height: auto !important;
	overflow: visible !important;
}
.popup-dialog:has(.dialog-content):not(:has(> .z-window-content > .z-borderlayout)) .dialog-content {
	padding: var(--pi-space-250, 20px) var(--pi-space-300, 24px) var(--pi-space-150, 12px) !important;
}
.popup-dialog:has(.dialog-content):not(:has(> .z-window-content > .z-borderlayout)) .dialog-content .z-label {
	white-space: nowrap;
	padding-right: var(--pi-space-150, 12px);
}
.popup-dialog:has(.dialog-content):not(:has(> .z-window-content > .z-borderlayout)) .dialog-footer {
	padding: var(--pi-space-100, 8px) var(--pi-space-300, 24px) var(--pi-space-200, 16px) !important;
}

.info-panel .z-label,
.info-panel input,
.info-panel button,
.info-panel .z-button {
	font-family: var(--pi-font-family);
}

.info-panel .z-north .z-north-body {
	padding-top: var(--pi-space-150, 12px);
	padding-bottom: var(--pi-space-150, 12px);
}
.info-panel .z-north .grid-layout tr.z-row > .z-cell,
.info-panel .z-north .grid-layout tr.z-row > .z-row-inner {
	padding-top: var(--pi-space-100, 8px);
	padding-bottom: var(--pi-space-100, 8px);
}
.info-panel .z-north .grid-layout .z-row-content .z-label {
	color: var(--pi-text-subtle, #44546F);
	padding-right: var(--pi-space-100, 8px);
}

.adwindow-form .z-combobox:focus-within,
.adwindow-form .z-combobox.z-combobox-open,
.adwindow-form .z-combobox.z-combobox-focus,
.adwindow-form .z-bandbox:focus-within,
.adwindow-form .z-bandbox.z-bandbox-open,
.adwindow-form .z-bandbox.z-bandbox-focus,
.adwindow-form .z-datebox:focus-within,
.adwindow-form .z-datebox.z-datebox-open,
.adwindow-form .z-datebox.z-datebox-focus,
.adwindow-form .z-timebox:focus-within,
.adwindow-form .z-timebox.z-timebox-open,
.adwindow-form .z-timebox.z-timebox-focus,
.adwindow-form .z-spinner:focus-within,
.adwindow-form .z-spinner.z-spinner-focus,
.z-window .z-combobox:focus-within,
.z-window .z-combobox.z-combobox-open,
.z-window .z-combobox.z-combobox-focus,
.z-window .z-bandbox:focus-within,
.z-window .z-bandbox.z-bandbox-open,
.z-window .z-bandbox.z-bandbox-focus,
.z-window .z-datebox:focus-within,
.z-window .z-datebox.z-datebox-open,
.z-window .z-datebox.z-datebox-focus,
.z-window .z-timebox:focus-within,
.z-window .z-timebox.z-timebox-open,
.z-window .z-timebox.z-timebox-focus,
.z-window .z-spinner:focus-within,
.z-window .z-spinner.z-spinner-focus {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border: 1px solid var(--pi-border-selected, #0C66E4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	box-shadow: none !important;
}
.adwindow-form .z-combobox:focus-within .z-combobox-input,
.adwindow-form .z-combobox.z-combobox-open .z-combobox-input,
.adwindow-form .z-combobox.z-combobox-focus .z-combobox-input,
.adwindow-form .z-combobox:focus-within .z-combobox-button,
.adwindow-form .z-combobox.z-combobox-open .z-combobox-button,
.adwindow-form .z-combobox.z-combobox-focus .z-combobox-button,
.adwindow-form .z-combobox:focus-within > a,
.adwindow-form .z-combobox.z-combobox-open > a,
.adwindow-form .z-bandbox:focus-within .z-bandbox-input,
.adwindow-form .z-bandbox.z-bandbox-open .z-bandbox-input,
.adwindow-form .z-bandbox:focus-within .z-bandbox-button,
.adwindow-form .z-bandbox.z-bandbox-open .z-bandbox-button,
.adwindow-form .z-datebox:focus-within .z-datebox-input,
.adwindow-form .z-datebox.z-datebox-open .z-datebox-input,
.adwindow-form .z-datebox:focus-within .z-datebox-button,
.adwindow-form .z-datebox.z-datebox-open .z-datebox-button,
.adwindow-form .z-datebox:focus-within > a,
.adwindow-form .z-datebox.z-datebox-open > a,
.adwindow-form .z-timebox:focus-within .z-timebox-input,
.adwindow-form .z-timebox.z-timebox-open .z-timebox-input,
.adwindow-form .z-timebox:focus-within .z-timebox-button,
.adwindow-form .z-timebox.z-timebox-open .z-timebox-button,
.adwindow-form .z-spinner:focus-within .z-spinner-input,
.adwindow-form .z-spinner:focus-within .z-spinner-button,
.z-window .z-combobox:focus-within .z-combobox-input,
.z-window .z-combobox.z-combobox-open .z-combobox-input,
.z-window .z-combobox.z-combobox-focus .z-combobox-input,
.z-window .z-combobox:focus-within .z-combobox-button,
.z-window .z-combobox.z-combobox-open .z-combobox-button,
.z-window .z-combobox.z-combobox-focus .z-combobox-button,
.z-window .z-combobox:focus-within > a,
.z-window .z-combobox.z-combobox-open > a,
.z-window .z-bandbox:focus-within .z-bandbox-input,
.z-window .z-bandbox.z-bandbox-open .z-bandbox-input,
.z-window .z-bandbox:focus-within .z-bandbox-button,
.z-window .z-bandbox.z-bandbox-open .z-bandbox-button,
.z-window .z-datebox:focus-within .z-datebox-input,
.z-window .z-datebox.z-datebox-open .z-datebox-input,
.z-window .z-datebox:focus-within .z-datebox-button,
.z-window .z-datebox.z-datebox-open .z-datebox-button,
.z-window .z-datebox:focus-within > a,
.z-window .z-datebox.z-datebox-open > a,
.z-window .z-timebox:focus-within .z-timebox-input,
.z-window .z-timebox.z-timebox-open .z-timebox-input,
.z-window .z-timebox:focus-within .z-timebox-button,
.z-window .z-timebox.z-timebox-open .z-timebox-button,
.z-window .z-spinner:focus-within .z-spinner-input,
.z-window .z-spinner:focus-within .z-spinner-button {
	border: none !important;
	border-bottom: none !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

.desktop-tabpanel .z-listbox .z-listheader-content,
.desktop-tabpanel .z-listbox .z-listheader .z-label {
	color: var(--pi-text-default, #172B4D) !important;
}
.desktop-tabpanel .z-listbox .z-listbox-header,
.desktop-tabpanel .z-listbox .z-listhead,
.desktop-tabpanel .z-listbox .z-listheader,
.desktop-tabpanel .z-listbox .z-listhead-bar {
	background: var(--pi-bg-selected, #E9F2FF) !important;
}

.z-window-header,
.popup-dialog .z-window-header,
.process-modal-dialog .z-window-header {
	font-size: var(--pi-font-size-300, 16px) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
	line-height: var(--pi-line-height-base, 1.4) !important;
}

.adwindow-form .form-button {
	border-color: var(--pi-border-selected, #0C66E4) !important;
}

.adwindow-form .z-chosenbox:focus-within,
.adwindow-form .z-chosenbox.z-chosenbox-focus,
.adwindow-form .z-chosenbox.z-chosenbox-open,
.z-window .z-chosenbox:focus-within,
.z-window .z-chosenbox.z-chosenbox-focus,
.z-window .z-chosenbox.z-chosenbox-open {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border: 1px solid var(--pi-border-selected, #0C66E4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	box-shadow: none !important;
}
.adwindow-form .z-chosenbox:focus-within .z-chosenbox-input,
.adwindow-form .z-chosenbox.z-chosenbox-open .z-chosenbox-input,
.z-window .z-chosenbox:focus-within .z-chosenbox-input,
.z-window .z-chosenbox.z-chosenbox-open .z-chosenbox-input {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.mro-widget .mro-info { display: none !important; }

.mro-widget .mro-date-badge { display: none !important; }

.mro-widget .mro-footer,
.mro-widget .mro-footer--plain,
.mro-widget .mro-footer--soft,
.mro-widget .mro-link { display: none !important; }

.mro-widget .mro-tile--sunken {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
}

:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border-right: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	overflow-x: hidden !important;
	min-width: 360px !important;
}
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree-body {
	overflow-x: hidden !important;
}

:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) div[style*="border-bottom:2px solid #1976d2"] {
	color: var(--pi-text-subtlest, #626F86) !important;
	border-bottom: 1px solid var(--pi-border-hairline, #EBECF0) !important;
	font-size: var(--pi-font-size-75, 12px) !important;
	font-weight: var(--pi-font-weight-bold, 700) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treecell-content {
	font-family: var(--pi-font-family) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	color: var(--pi-text-default, #172B4D) !important;
	line-height: var(--pi-line-height-base, 1.4) !important;
	padding: 0 var(--pi-space-100, 8px) !important;
	min-height: 28px !important;
	box-sizing: border-box !important;
	white-space: nowrap !important;
	margin: 0 var(--pi-space-50, 4px) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	transition: background-color var(--pi-duration-fast, 100ms) var(--pi-ease-standard, ease) !important;
	display: flex !important;
	align-items: center !important;
}
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treecell-content > .z-tree-line,
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treecell-content > .z-tree-icon {
	flex: 0 0 auto !important;
}
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treecell-text {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treecell-content:has(.z-tree-close) .z-treecell-text {
	font-weight: var(--pi-font-weight-medium, 500) !important;
}
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treecell-content:has(.z-tree-open) .z-treecell-text {
	font-weight: var(--pi-font-weight-bold, 700) !important;
}

:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treecell {
	border-top: none !important;
	background: transparent !important;
}

:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treerow:not(.z-treerow-selected):hover .z-treecell-content {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}

:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treerow.z-treerow-selected .z-treecell-content,
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treerow-focus .z-treecell-content {
	background: var(--pi-bg-selected, #E9F2FF) !important;
	color: var(--pi-border-selected, #0C66E4) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
	box-shadow: inset 2px 0 0 0 var(--pi-border-selected, #0C66E4) !important;
}

:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-tree-icon {
	color: var(--pi-text-subtlest, #626F86) !important;
	opacity: 1 !important;
	font-size: 14px !important;
}
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-tree-icon:hover {
	color: var(--pi-text-subtle, #44546F) !important;
}
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treerow-selected .z-tree-icon,
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treerow-focus .z-tree-icon {
	filter: none !important;
	color: var(--pi-border-selected, #0C66E4) !important;
}
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-tree-icon .z-tree-close::before,
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-tree-icon .z-tree-close i::before,
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-tree-icon .z-tree-open::before,
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-tree-icon .z-tree-open i::before {
	opacity: 1 !important;
	color: inherit !important;
}

:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treecell-content .z-tree-line.z-tree-spacer {
	width: var(--pi-space-200, 16px) !important;
	height: auto !important;
	align-self: stretch !important;
	box-sizing: border-box !important;
	border-left: none !important;
}
:is(div[style*="width:320px"][style*="border-right:1px solid #ddd"], .pi-asset-tree) .z-tree .z-treecell-content .z-tree-line.z-tree-spacer:not(:has(+ .z-treecell-text)) {
	background-image: linear-gradient(to right, transparent 7.5px, var(--pi-border-subtle, #DCDFE4) 7.5px, var(--pi-border-subtle, #DCDFE4) 8.5px, transparent 8.5px) !important;
	background-repeat: no-repeat !important;
}

.pi-asset-tree-host { position: relative !important; }
.pi-asset-tree-resizer {
	position: absolute;
	width: 8px;
	cursor: col-resize;
	z-index: 10;
	background: var(--pi-bg-hover, #F1F2F4);
	border-left: 1px solid var(--pi-border-subtle, #DCDFE4);
	transition: background var(--pi-duration-fast, 120ms) var(--pi-ease-standard, ease);
}
.pi-asset-tree-resizer::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2px;
	height: 30px;
	transform: translate(-50%, -50%);
	border-radius: 1px;
	background: #8993A4;
}
.pi-asset-tree-resizer:hover,
.pi-asset-tree-resizer.pi-dragging {
	background: #DEEBFF;
}
.pi-asset-tree-resizer:hover::before,
.pi-asset-tree-resizer.pi-dragging::before {
	background: var(--pi-border-selected, #0C66E4);
}

.btn-ok.z-button {
	background: var(--pi-bg-brand, #0C66E4) !important;
	background-color: var(--pi-bg-brand, #0C66E4) !important;
	color: var(--pi-text-inverse, #FFFFFF) !important;
	border: 1px solid transparent !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-200, 16px) !important;
	min-height: var(--pi-space-400, 32px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.btn-ok.z-button:hover {
	background: var(--pi-bg-brand-hover, #0055CC) !important;
	background-color: var(--pi-bg-brand-hover, #0055CC) !important;
	color: var(--pi-text-inverse, #FFFFFF) !important;
}
.btn-ok.z-button:active {
	background: var(--pi-bg-brand-hover, #0055CC) !important;
	background-color: var(--pi-bg-brand-hover, #0055CC) !important;
}
.btn-ok.z-button:focus {
	box-shadow: 0 0 0 2px var(--pi-border-focused, #388BFF) !important;
	outline: none !important;
}
.btn-ok.z-button[disabled] {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
	background-color: var(--pi-bg-neutral, #F1F2F4) !important;
	color: var(--pi-text-disabled, #B3B9C4) !important;
	cursor: default !important;
}
/* Text-only CTA (Atlassian DS): hide the tick icon, show just "OK".
   Covers icon-only, text, and icon+text button variants alike. */
.btn-ok.z-button [class*="z-icon-"],
.btn-ok.z-button img {
	display: none !important;
}
/* Icon-only variant (img-btn) has no text label — supply it. Gated on
   .img-btn so text-label variants (already rendering "OK") never double. */
.btn-ok.z-button.img-btn::after {
	content: "OK";
	color: var(--pi-text-inverse, #FFFFFF) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	line-height: var(--pi-line-height-snug, 1.3) !important;
}

.btn-cancel.z-button {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
	background-color: var(--pi-bg-neutral, #F1F2F4) !important;
	color: var(--pi-text-default, #172B4D) !important;
	border: 1px solid transparent !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-200, 16px) !important;
	min-height: var(--pi-space-400, 32px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.btn-cancel.z-button:hover {
	background: var(--pi-border-subtle, #DCDFE4) !important;
	background-color: var(--pi-border-subtle, #DCDFE4) !important;
	color: var(--pi-text-default, #172B4D) !important;
}
.btn-cancel.z-button:focus {
	box-shadow: 0 0 0 2px var(--pi-bg-selected, #E9F2FF) !important;
	outline: none !important;
}
/* Text-only CTA (Atlassian DS): hide the cross icon, show just "Cancel".
   Covers icon-only, text, and icon+text button variants alike. */
.btn-cancel.z-button [class*="z-icon-"],
.btn-cancel.z-button img {
	display: none !important;
}
/* Icon-only variant (img-btn) has no text label — supply it. Gated on
   .img-btn so text-label variants (already rendering "Cancel") never double. */
.btn-cancel.z-button.img-btn::after {
	content: "Cancel";
	color: var(--pi-text-default, #172B4D) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	line-height: var(--pi-line-height-snug, 1.3) !important;
}


.adform-content .btn-refresh.z-button {
	background: transparent !important;
	border: none !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px) !important;
	min-height: var(--pi-space-400, 32px) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.adform-content .btn-refresh.z-button:hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}
.adform-content .btn-refresh.z-button:focus {
	box-shadow: 0 0 0 2px var(--pi-border-focused, #388BFF) !important;
	outline: none !important;
}
.adform-content .btn-refresh.z-button [class*="z-icon-"] {
	color: var(--pi-icon-default, #44546F) !important;
}


.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Ok),
.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Next) {
	background: var(--pi-bg-brand, #0C66E4) !important;
	border: 1px solid transparent !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px) !important;
	min-height: var(--pi-space-400, 32px) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Ok):hover,
.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Next):hover {
	background: var(--pi-bg-brand-hover, #0055CC) !important;
}
.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Ok) [class*="z-icon-"],
.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Next) [class*="z-icon-"] {
	color: var(--pi-text-inverse, #FFFFFF) !important;
}


.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Refresh),
.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Zoom) {
	background: transparent !important;
	border: none !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px) !important;
	min-height: var(--pi-space-400, 32px) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Refresh):hover,
.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Zoom):hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}
.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Refresh) [class*="z-icon-"],
.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has(.z-icon-Zoom) [class*="z-icon-"] {
	color: var(--pi-icon-default, #44546F) !important;
}


.adform-content .z-button:not(.btn-ok):not(.btn-cancel):not(.btn-refresh):has([class*="z-icon-"]):focus {
	box-shadow: 0 0 0 2px var(--pi-border-focused, #388BFF) !important;
	outline: none !important;
}

.confirm-panel .img-btn.z-button:not(.btn-ok):not(.btn-cancel),
.dialog-footer .img-btn.z-button:not(.btn-ok):not(.btn-cancel),
.button-container .img-btn.z-button:not(.btn-ok):not(.btn-cancel),
.find-window .img-btn.z-button:not(.btn-ok):not(.btn-cancel),
.attachment-dialog .img-btn.z-button:not(.btn-ok):not(.btn-cancel) {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	box-shadow: none !important;
	min-height: var(--pi-space-400, 32px) !important;
	cursor: pointer !important;
}
.confirm-panel .img-btn.z-button:not(.btn-ok):not(.btn-cancel):hover,
.dialog-footer .img-btn.z-button:not(.btn-ok):not(.btn-cancel):hover,
.button-container .img-btn.z-button:not(.btn-ok):not(.btn-cancel):hover,
.find-window .img-btn.z-button:not(.btn-ok):not(.btn-cancel):hover,
.attachment-dialog .img-btn.z-button:not(.btn-ok):not(.btn-cancel):hover {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
	background-color: var(--pi-bg-neutral, #F1F2F4) !important;
}
.confirm-panel .img-btn.z-button:not(.btn-ok):not(.btn-cancel) [class*="z-icon-"],
.dialog-footer .img-btn.z-button:not(.btn-ok):not(.btn-cancel) [class*="z-icon-"],
.button-container .img-btn.z-button:not(.btn-ok):not(.btn-cancel) [class*="z-icon-"],
.find-window .img-btn.z-button:not(.btn-ok):not(.btn-cancel) [class*="z-icon-"],
.attachment-dialog .img-btn.z-button:not(.btn-ok):not(.btn-cancel) [class*="z-icon-"] {
	color: var(--pi-text-subtle, #44546F) !important;
}
.confirm-panel .img-btn.z-button:not(.btn-ok):not(.btn-cancel):hover [class*="z-icon-"],
.dialog-footer .img-btn.z-button:not(.btn-ok):not(.btn-cancel):hover [class*="z-icon-"],
.button-container .img-btn.z-button:not(.btn-ok):not(.btn-cancel):hover [class*="z-icon-"],
.find-window .img-btn.z-button:not(.btn-ok):not(.btn-cancel):hover [class*="z-icon-"],
.attachment-dialog .img-btn.z-button:not(.btn-ok):not(.btn-cancel):hover [class*="z-icon-"] {
	color: var(--pi-text-default, #172B4D) !important;
}

/* :not(.pux-doc-shell-cta) — the PiPRA UX document-shell "Process Document" button
   is a primary CTA styled in fragment/pux-document-shell.css.dsp. This generic
   neutral-"ghost" rule is (0,10,0) and all-!important, so the shell fragment can't
   out-specify it — excluding the class here is the only clean way to let it be blue.
   :not(.pe-btn) — same reason for PiEdge buttons (primary/secondary/danger/subtle
   appearances in fragment/piedge.css.dsp); PiEdgeUx puts every button in a Div.
   :not(.pux-widget-action) — PUX dashboard-widget action buttons carry .pi-btn
   appearances (fragment/pux-widget.css.dsp); they used to dodge this rule only via
   their inline background style, which is gone.
   :not(.pi-btn) — the shared button component (fragment/_components.css.dsp) carries its own
   appearance (primary / secondary / selected ...); a .pi-btn in a Div must not turn grey.
   :not(.pux-calendar-view-btn) — the PUX Calendar board's Day | Week | Month | Agenda
   segmented switcher (fragment/pux-board.css.dsp); the active segment must read pale blue. */
.desktop-tabpanel .z-div > .z-button:not(.btn-ok):not(.btn-cancel):not(.img-btn):not(.btn-negate):not(.btn-small):not(.editor-button):not(.pux-doc-shell-cta):not(.pe-btn):not(.pi-btn):not(.pux-widget-action):not(.pux-calendar-view-btn):not([style*="background"]) {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
	background-color: var(--pi-bg-neutral, #F1F2F4) !important;
	color: var(--pi-text-default, #172B4D) !important;
	border: 1px solid transparent !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px) !important;
	min-height: var(--pi-space-400, 32px) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	line-height: var(--pi-line-height-snug, 1.3) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.desktop-tabpanel .z-div > .z-button:not(.btn-ok):not(.btn-cancel):not(.img-btn):not(.btn-negate):not(.btn-small):not(.editor-button):not(.pux-doc-shell-cta):not(.pe-btn):not(.pi-btn):not(.pux-widget-action):not(.pux-calendar-view-btn):not([style*="background"]):hover {
	background: #DCDFE4 !important;
	background-color: #DCDFE4 !important;
	color: var(--pi-text-default, #172B4D) !important;
}
.desktop-tabpanel .z-div > .z-button:not(.btn-ok):not(.btn-cancel):not(.img-btn):not(.btn-negate):not(.btn-small):not(.editor-button):not(.pux-doc-shell-cta):not(.pe-btn):not(.pi-btn):not(.pux-widget-action):not(.pux-calendar-view-btn):not([style*="background"]):focus {
	box-shadow: 0 0 0 2px var(--pi-bg-selected, #E9F2FF) !important;
	outline: none !important;
}

.desktop-tabpanel .z-button[style*="4caf50" i] {
	background: var(--pi-chart-positive, #22A06B) !important;
	background-color: var(--pi-chart-positive, #22A06B) !important;
	color: var(--pi-text-inverse, #FFFFFF) !important;
	border: 1px solid transparent !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	padding: var(--pi-space-50, 4px) var(--pi-space-100, 8px) !important;
	min-height: 28px !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.desktop-tabpanel .z-button[style*="4caf50" i]:hover {
	background: #1F845A !important;
	background-color: #1F845A !important;
}
.desktop-tabpanel .z-button[style*="e53935" i] {
	background: var(--pi-red-c9372c, #C9372C) !important;
	background-color: var(--pi-red-c9372c, #C9372C) !important;
	color: var(--pi-text-inverse, #FFFFFF) !important;
	border: 1px solid transparent !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	padding: var(--pi-space-50, 4px) var(--pi-space-100, 8px) !important;
	min-height: 28px !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.desktop-tabpanel .z-button[style*="e53935" i]:hover {
	background: #AE2A19 !important;
	background-color: #AE2A19 !important;
}
.desktop-tabpanel .z-button[style*="4caf50" i]:focus,
.desktop-tabpanel .z-button[style*="e53935" i]:focus {
	box-shadow: 0 0 0 2px var(--pi-bg-selected, #E9F2FF) !important;
	outline: none !important;
}

.desktop-tabpanel .z-div > .z-combobox:not(.toolbar-searchbox),
.desktop-tabpanel .z-div > .z-datebox,
.desktop-tabpanel .z-div > .z-bandbox,
.desktop-tabpanel .z-div > .z-timebox,
.top-parameter-layout .z-combobox,
.top-parameter-layout .z-datebox,
.top-parameter-layout .z-bandbox,
.top-parameter-layout .z-timebox {
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	background: var(--pi-bg-card, #FFFFFF) !important;
	box-shadow: none !important;
}
.desktop-tabpanel .z-div > .z-combobox:not(.toolbar-searchbox) .z-combobox-input,
.desktop-tabpanel .z-div > .z-combobox:not(.toolbar-searchbox) .z-combobox-button,
.desktop-tabpanel .z-div > .z-datebox .z-datebox-input,
.desktop-tabpanel .z-div > .z-datebox .z-datebox-button,
.desktop-tabpanel .z-div > .z-bandbox .z-bandbox-input,
.desktop-tabpanel .z-div > .z-bandbox .z-bandbox-button,
.top-parameter-layout .z-combobox .z-combobox-input,
.top-parameter-layout .z-combobox .z-combobox-button,
.top-parameter-layout .z-datebox .z-datebox-input,
.top-parameter-layout .z-datebox .z-datebox-button,
.top-parameter-layout .z-bandbox .z-bandbox-input,
.top-parameter-layout .z-bandbox .z-bandbox-button {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}
.desktop-tabpanel .z-div > .z-combobox:not(.toolbar-searchbox):focus-within,
.desktop-tabpanel .z-div > .z-combobox:not(.toolbar-searchbox).z-combobox-open,
.desktop-tabpanel .z-div > .z-combobox:not(.toolbar-searchbox).z-combobox-focus,
.desktop-tabpanel .z-div > .z-datebox:focus-within,
.desktop-tabpanel .z-div > .z-datebox.z-datebox-open,
.desktop-tabpanel .z-div > .z-bandbox:focus-within,
.desktop-tabpanel .z-div > .z-bandbox.z-bandbox-open,
.top-parameter-layout .z-combobox:focus-within,
.top-parameter-layout .z-combobox.z-combobox-open,
.top-parameter-layout .z-combobox.z-combobox-focus,
.top-parameter-layout .z-datebox:focus-within,
.top-parameter-layout .z-datebox.z-datebox-open,
.top-parameter-layout .z-bandbox:focus-within,
.top-parameter-layout .z-bandbox.z-bandbox-open,
.top-parameter-layout .z-timebox:focus-within,
.top-parameter-layout .z-timebox.z-timebox-open {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border: 1px solid var(--pi-border-selected, #0C66E4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	box-shadow: none !important;
}
.desktop-tabpanel .z-div > .z-combobox:not(.toolbar-searchbox):focus-within .z-combobox-input,
.desktop-tabpanel .z-div > .z-combobox:not(.toolbar-searchbox).z-combobox-open .z-combobox-input,
.desktop-tabpanel .z-div > .z-combobox:not(.toolbar-searchbox):focus-within .z-combobox-button,
.desktop-tabpanel .z-div > .z-combobox:not(.toolbar-searchbox).z-combobox-open .z-combobox-button,
.top-parameter-layout .z-combobox:focus-within .z-combobox-input,
.top-parameter-layout .z-combobox.z-combobox-open .z-combobox-input,
.top-parameter-layout .z-combobox:focus-within .z-combobox-button,
.top-parameter-layout .z-combobox.z-combobox-open .z-combobox-button,
.top-parameter-layout .z-datebox:focus-within .z-datebox-input,
.top-parameter-layout .z-datebox.z-datebox-open .z-datebox-input,
.top-parameter-layout .z-datebox:focus-within .z-datebox-button,
.top-parameter-layout .z-datebox.z-datebox-open .z-datebox-button {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

.top-parameter-layout,
.input-paramenter-layout {
	max-width: 900px !important;
}

.adtab-form-borderlayout .z-center {
	background-color: var(--pi-bg-card, #FFFFFF) !important;
}

.adwindow-form .editor-button,
.z-window .editor-button,
.top-parameter-layout .editor-button {
	position: absolute !important;
	top: 50% !important;
	right: var(--pi-space-50, 4px) !important;
	transform: translateY(-50%) !important;
	width: 24px !important;
	height: 24px !important;
	min-height: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
}
.adwindow-form .editor-button [class*="z-icon-"],
.z-window .editor-button [class*="z-icon-"],
.top-parameter-layout .editor-button [class*="z-icon-"] {
	color: var(--pi-icon-subtle, #626F86) !important;
	font-size: 16px !important;
	line-height: 1 !important;
}
.top-parameter-layout .z-textbox,
.top-parameter-layout .z-decimalbox,
.top-parameter-layout .z-intbox,
.top-parameter-layout .z-longbox,
.top-parameter-layout .z-doublebox,
.top-parameter-layout .editor-input {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	box-shadow: none !important;
}
.top-parameter-layout .editor-box,
.top-parameter-layout .number-box,
.top-parameter-layout .datetime-box,
.top-parameter-layout .editor-input input {
	border: none !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}
.top-parameter-layout .z-textbox:focus,
.top-parameter-layout .z-decimalbox:focus,
.top-parameter-layout .z-intbox:focus,
.top-parameter-layout .z-longbox:focus,
.top-parameter-layout .z-doublebox:focus,
.top-parameter-layout .editor-input:focus-within {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
}

.adwindow-form td.z-cell {
	vertical-align: middle !important;
}
.adwindow-form .editor-input,
.adwindow-form .editor-box,
.adwindow-form .number-box,
.adwindow-form .datetime-box,
.adwindow-form .z-combobox,
.adwindow-form .z-bandbox,
.adwindow-form .z-datebox,
.adwindow-form .z-timebox,
.adwindow-form .z-spinner {
	min-height: var(--pi-space-400, 32px) !important;
	box-sizing: border-box !important;
}
.adwindow-form .z-cell > .z-checkbox {
	display: inline-flex !important;
	align-items: center !important;
	min-height: var(--pi-space-400, 32px) !important;
}

.adwindow-form .z-cell .form-label,
.adwindow-form .z-cell .form-label > .z-label {
	white-space: normal !important;
	overflow: visible !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
	text-overflow: clip !important;
	line-height: var(--pi-line-height-snug, 1.3) !important;
}

.adwindow-form .editor-box .editor-button,
.z-window .editor-box .editor-button,
.info-panel .editor-box .editor-button,
.find-window .editor-box .editor-button,
.top-parameter-layout .editor-box .editor-button,
.info-panel .editor-button,
.find-window .editor-button,
.info-panel .z-bandbox-button,
.find-window .z-bandbox-button,
.info-panel .number-box .editor-button,
.find-window .number-box .editor-button {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: none !important;
	border-left: none !important;
	box-shadow: none !important;
}
.info-panel .editor-box,
.info-panel .number-box,
.info-panel .datetime-box,
.find-window .editor-box,
.find-window .number-box,
.find-window .datetime-box {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
}
.info-panel .editor-button [class*="z-icon-"],
.find-window .editor-button [class*="z-icon-"],
.info-panel .z-bandbox-button [class*="z-icon-"],
.find-window .z-bandbox-button [class*="z-icon-"] {
	color: var(--pi-icon-subtle, #626F86) !important;
	font-size: 16px !important;
	line-height: 1 !important;
}

.z-icon-InfoOrder:before,
.z-icon-InfoInvoice:before,
.z-icon-InfoShipment:before,
.z-icon-InfoPayment:before,
.z-icon-InfoResource:before,
.z-icon-InfoAsset:before {
	content: "" !important;
	display: inline-block !important;
	width: 1em !important;
	height: 1em !important;
	background-color: currentColor !important;
	vertical-align: -0.125em !important;
	-webkit-mask: var(--pi-ico) no-repeat center / contain !important;
	        mask: var(--pi-ico) no-repeat center / contain !important;
}
.z-icon-InfoOrder:before    { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 3h12v18l-3-2-3 2-3-2-3 2z'/><path d='M9 8h6M9 12h6'/></svg>"); }
.z-icon-InfoInvoice:before  { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 3h7l5 5v13H7z'/><path d='M14 3v5h5'/><path d='M10 13h5M10 17h5'/></svg>"); }
.z-icon-InfoShipment:before { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6h11v10H3z'/><path d='M14 9h3l4 3v4h-7z'/><circle cx='7.5' cy='18' r='1.6'/><circle cx='17' cy='18' r='1.6'/></svg>"); }
.z-icon-InfoPayment:before  { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='6' width='18' height='12' rx='2'/><path d='M3 10h18M7 15h4'/></svg>"); }
.z-icon-InfoResource:before { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3.5'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2.1 2.1M16.9 16.9L19 19M19 5l-2.1 2.1M7.1 16.9L5 19'/></svg>"); }
.z-icon-InfoAsset:before    { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l8 4.5v9L12 21l-8-4.5v-9z'/><path d='M12 12l8-4.5M12 12v9M12 12L4 7.5'/></svg>"); }

.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-macro {
	vertical-align: middle !important;
	line-height: 1 !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-macro > *,
.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-macro .tabs,
.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-macro .tabs.arrows {
	float: none !important;
	margin: 0 auto !important;
}

.desktop-tabpanel .z-div > .z-button[style*="cursor:pointer"] {
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px) !important;
	line-height: var(--pi-line-height-base, 1.4) !important;
	vertical-align: middle !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
}

.desktop-tabpanel div[style*="max-width:660px"] {
	max-height: calc(100vh - 200px) !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
}

.desktop-tabpanel .z-select,
.desktop-tabpanel .z-div > .z-textbox,
.desktop-tabpanel .z-div > .z-intbox,
.desktop-tabpanel .z-div > .z-decimalbox {
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	background-color: var(--pi-bg-card, #FFFFFF) !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	min-height: 30px !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-100, 8px) !important;
	line-height: var(--pi-line-height-base, 1.4) !important;
	vertical-align: middle !important;
}
.desktop-tabpanel .z-select,
.desktop-tabpanel .z-div > .z-textbox,
.desktop-tabpanel .z-div > .z-intbox,
.desktop-tabpanel .z-div > .z-decimalbox {
	font-size: var(--pi-font-size-100, 13px);
}
.desktop-tabpanel .z-select {
	-webkit-appearance: none !important;
	   -moz-appearance: none !important;
	        appearance: none !important;
	padding-right: var(--pi-space-300, 24px) !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23626F86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
	background-repeat: no-repeat !important;
	background-position: right var(--pi-space-100, 8px) center !important;
	background-size: 16px 16px !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	color: var(--pi-text-default, #172B4D) !important;
	cursor: pointer !important;
}
.desktop-tabpanel .z-select:focus,
.desktop-tabpanel .z-div > .z-textbox:focus,
.desktop-tabpanel .z-div > .z-intbox:focus,
.desktop-tabpanel .z-div > .z-decimalbox:focus {
	background-color: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
	outline: none !important;
}
.desktop-tabpanel .z-listcell .z-select {
	min-height: 0 !important;
	padding: 2px 18px 2px 4px !important;
	background-position: right 2px center !important;
	font-size: var(--pi-font-size-75, 12px) !important;
}
.desktop-tabpanel .z-toolbar .z-select,
.desktop-tabpanel .calendar-toolbar .z-select {
	min-height: 24px !important;
	padding-top: 2px !important;
	padding-bottom: 2px !important;
}

.desktop-tabpanel .z-select option:checked {
	background-color: var(--pi-bg-selected, #E9F2FF);
	color: var(--pi-text-brand, #0C66E4);
}
@supports selector(::picker(select)) {
	.desktop-tabpanel .z-select {
		-webkit-appearance: base-select !important;
		        appearance: base-select !important;
		background-image: none !important;
		padding-right: var(--pi-space-100, 8px) !important;
	}
	.desktop-tabpanel .z-select::picker-icon {
		color: var(--pi-icon-subtle, #626F86);
	}
	.desktop-tabpanel .z-select::picker(select) {
		-webkit-appearance: base-select;
		        appearance: base-select;
		background: var(--pi-bg-card, #FFFFFF);
		border: 1px solid var(--pi-border-default, #B3B9C4);
		border-radius: var(--pi-radius-lg, 8px);
		box-shadow: var(--pi-shadow-overlay, 0 8px 12px rgba(9,30,66,0.15), 0 0 1px rgba(9,30,66,0.31));
		padding: var(--pi-space-50, 4px);
	}
	.desktop-tabpanel .z-select option {
		background: var(--pi-bg-card, #FFFFFF);
		color: var(--pi-text-default, #172B4D);
		font-size: var(--pi-font-size-100, 13px);
		padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px);
		border-radius: var(--pi-radius-sm, 3px);
	}
	.desktop-tabpanel .z-select option:hover,
	.desktop-tabpanel .z-select option:focus {
		background: var(--pi-bg-neutral, #F1F2F4);
	}
	.desktop-tabpanel .z-select option:checked {
		background: var(--pi-bg-selected, #E9F2FF);
		color: var(--pi-text-brand, #0C66E4);
		font-weight: var(--pi-font-weight-medium, 500);
	}
	.desktop-tabpanel .z-select option::checkmark {
		display: none;
	}
}

.popup-dialog .z-select,
.process-modal-dialog .z-select {
	-webkit-appearance: none !important;
	   -moz-appearance: none !important;
	        appearance: none !important;
	box-sizing: border-box !important;
	min-height: 30px !important;
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	background-color: var(--pi-bg-card, #FFFFFF) !important;
	box-shadow: none !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-300, 24px) var(--pi-space-75, 6px) var(--pi-space-100, 8px) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	color: var(--pi-text-default, #172B4D) !important;
	line-height: var(--pi-line-height-base, 1.4) !important;
	cursor: pointer !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23626F86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
	background-repeat: no-repeat !important;
	background-position: right var(--pi-space-100, 8px) center !important;
	background-size: 16px 16px !important;
}
.popup-dialog .z-select:focus,
.process-modal-dialog .z-select:focus {
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: 0 0 0 2px rgba(12, 102, 228, .20) !important;
	outline: none !important;
}
.popup-dialog .z-select option:checked,
.process-modal-dialog .z-select option:checked {
	background-color: var(--pi-bg-selected, #E9F2FF);
	color: var(--pi-text-brand, #0C66E4);
}
@supports selector(::picker(select)) {
	.popup-dialog .z-select,
	.process-modal-dialog .z-select {
		-webkit-appearance: base-select !important;
		        appearance: base-select !important;
		background-image: none !important;
		padding-right: var(--pi-space-100, 8px) !important;
	}
	.popup-dialog .z-select::picker-icon,
	.process-modal-dialog .z-select::picker-icon {
		color: var(--pi-icon-subtle, #626F86);
	}
	.popup-dialog .z-select::picker(select),
	.process-modal-dialog .z-select::picker(select) {
		-webkit-appearance: base-select;
		        appearance: base-select;
		background: var(--pi-bg-card, #FFFFFF);
		border: 1px solid var(--pi-border-default, #B3B9C4);
		border-radius: var(--pi-radius-lg, 8px);
		box-shadow: var(--pi-shadow-overlay, 0 8px 12px rgba(9,30,66,0.15), 0 0 1px rgba(9,30,66,0.31));
		padding: var(--pi-space-50, 4px);
	}
	.popup-dialog .z-select option,
	.process-modal-dialog .z-select option {
		background: var(--pi-bg-card, #FFFFFF);
		color: var(--pi-text-default, #172B4D);
		font-size: var(--pi-font-size-100, 13px);
		padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px);
		border-radius: var(--pi-radius-sm, 3px);
	}
	.popup-dialog .z-select option:hover,
	.popup-dialog .z-select option:focus,
	.process-modal-dialog .z-select option:hover,
	.process-modal-dialog .z-select option:focus {
		background: var(--pi-bg-neutral, #F1F2F4);
	}
	.popup-dialog .z-select option:checked,
	.process-modal-dialog .z-select option:checked {
		background: var(--pi-bg-selected, #E9F2FF);
		color: var(--pi-text-brand, #0C66E4);
		font-weight: var(--pi-font-weight-medium, 500);
	}
	.popup-dialog .z-select option::checkmark,
	.process-modal-dialog .z-select option::checkmark {
		display: none;
	}
	.popup-dialog:has(.dialog-content):not(:has(> .z-window-content > .z-borderlayout)) {
		min-height: 0 !important;
	}
}

.z-window-modal,
.z-window-highlighted,
.z-window-overlapped,
.z-window-popup {
	border-radius: var(--pi-radius-lg, 8px) !important;
	box-shadow: 0 8px 12px -4px var(--pi-shadow-navy-25, rgba(9,30,66,.25)),
	            0 0 1px var(--pi-shadow-navy-31, rgba(9,30,66,.31)) !important;
}
.z-window-modal > .z-window-content,
.z-window-highlighted > .z-window-content,
.z-window-overlapped > .z-window-content,
.z-window-popup > .z-window-content {
	border-bottom-left-radius: var(--pi-radius-lg, 8px) !important;
	border-bottom-right-radius: var(--pi-radius-lg, 8px) !important;
}
.busy-dialog.z-window,
.busy-dialog.z-window > .z-window-content,
.busy-dialog .busy-dialog-box {
	background-color: var(--pi-bg-card, #FFFFFF) !important;
}
.busy-dialog.z-window {
	border-radius: var(--pi-radius-lg, 8px) !important;
	box-shadow: 0 8px 16px -4px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31) !important;
	overflow: hidden !important;
}
.busy-dialog .busy-dialog-box {
	padding: var(--pi-space-150, 12px) var(--pi-space-200, 16px) !important;
	display: flex !important;
	align-items: center !important;
	gap: var(--pi-space-125, 10px) !important;
}
.busy-dialog-label {
	color: var(--pi-text-default, #172B4D) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	font-size: 14px !important;
}

.z-window-modal:has(.z-window-maximized),
.z-window-highlighted:has(.z-window-maximized),
.z-window-overlapped:has(.z-window-maximized),
.z-window-popup:has(.z-window-maximized) {
	border-radius: 0 !important;
	box-shadow: none !important;
}
.z-window-modal:has(.z-window-maximized) > .z-window-content,
.z-window-highlighted:has(.z-window-maximized) > .z-window-content,
.z-window-overlapped:has(.z-window-maximized) > .z-window-content,
.z-window-popup:has(.z-window-maximized) > .z-window-content {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.popup-dialog .dialog-footer .z-button.txt-btn:not(.btn-ok):not(.btn-cancel):not(.btn-small),
.dialog-footer .z-button.txt-btn:not(.btn-ok):not(.btn-cancel):not(.btn-small) {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
	background-color: var(--pi-bg-neutral, #F1F2F4) !important;
	color: var(--pi-text-default, #172B4D) !important;
	border: 1px solid transparent !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-200, 16px) !important;
	min-height: var(--pi-space-400, 32px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.popup-dialog .dialog-footer .z-button.txt-btn:not(.btn-ok):not(.btn-cancel):not(.btn-small):hover,
.dialog-footer .z-button.txt-btn:not(.btn-ok):not(.btn-cancel):not(.btn-small):hover {
	background: var(--pi-border-subtle, #DCDFE4) !important;
	background-color: var(--pi-border-subtle, #DCDFE4) !important;
}
.popup-dialog .dialog-footer .z-button.txt-btn:not(.btn-ok):not(.btn-cancel):not(.btn-small)[disabled],
.dialog-footer .z-button.txt-btn:not(.btn-ok):not(.btn-cancel):not(.btn-small)[disabled] {
	cursor: default !important;
	color: var(--pi-text-disabled, #B3B9C4) !important;
}
.z-hbox.dialog-footer .img-btn.z-button:not(.btn-ok):not(.btn-cancel) {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
	background-color: var(--pi-bg-neutral, #F1F2F4) !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
}
.z-hbox.dialog-footer .img-btn.z-button:not(.btn-ok):not(.btn-cancel):hover {
	background: var(--pi-border-subtle, #DCDFE4) !important;
	background-color: var(--pi-border-subtle, #DCDFE4) !important;
}

.save-parameter-btns-cont .z-button {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	box-shadow: none !important;
	min-height: var(--pi-space-400, 32px) !important;
	min-width: var(--pi-space-400, 32px) !important;
	cursor: pointer !important;
}
.save-parameter-btns-cont .z-button:hover {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
	background-color: var(--pi-bg-neutral, #F1F2F4) !important;
}
.save-parameter-btns-cont .z-button [class*="z-icon-"] {
	color: var(--pi-text-subtle, #44546F) !important;
}
.save-parameter-btns-cont .z-button:hover [class*="z-icon-"] {
	color: var(--pi-text-default, #172B4D) !important;
}
.save-parameter-btns-cont .z-button[disabled] {
	cursor: default !important;
	background: transparent !important;
	background-color: transparent !important;
}
.save-parameter-btns-cont .z-button[disabled] [class*="z-icon-"] {
	color: var(--pi-text-disabled, #B3B9C4) !important;
}

.confirm-panel .img-btn.z-button,
.dialog-footer .img-btn.z-button,
.button-container .img-btn.z-button,
.attachment-dialog .img-btn.z-button {
	margin: 0 var(--pi-space-25, 2px) !important;
}

/* Scope sparse-form column sizing to the AD Window's own table.  Using a
 * descendant colgroup selector also resized embedded ZK grids (for example,
 * Item In/Out), collapsing their value column to the 48px form gutter. */
.desktop-tabpanel .adwindow-form.grid-layout:has(> .z-grid-body > table > colgroup > col:nth-child(2):last-child) > .z-grid-body > table > colgroup > col:first-child,
.desktop-tabpanel .adwindow-form.grid-layout:has(> .z-grid-body > table > colgroup > col:nth-child(3):last-child) > .z-grid-body > table > colgroup > col:first-child,
.desktop-tabpanel .adwindow-form.grid-layout:has(> .z-grid-body > table > colgroup > col:nth-child(4):last-child) > .z-grid-body > table > colgroup > col:first-child {
	width: 280px !important;
}
.desktop-tabpanel .adwindow-form.grid-layout:has(> .z-grid-body > table > colgroup > col:nth-child(2):last-child) > .z-grid-body > table > colgroup > col:not(:first-child),
.desktop-tabpanel .adwindow-form.grid-layout:has(> .z-grid-body > table > colgroup > col:nth-child(3):last-child) > .z-grid-body > table > colgroup > col:not(:first-child):not(:last-child),
.desktop-tabpanel .adwindow-form.grid-layout:has(> .z-grid-body > table > colgroup > col:nth-child(4):last-child) > .z-grid-body > table > colgroup > col:not(:first-child):not(:last-child) {
	width: auto !important;
}
.desktop-tabpanel .adwindow-form.grid-layout:has(> .z-grid-body > table > colgroup > col:nth-child(3):last-child) > .z-grid-body > table > colgroup > col:last-child,
.desktop-tabpanel .adwindow-form.grid-layout:has(> .z-grid-body > table > colgroup > col:nth-child(4):last-child) > .z-grid-body > table > colgroup > col:last-child {
	width: var(--pi-space-600, 48px) !important;
}

.adtab-form {
	padding-bottom: var(--pi-space-300, 24px) !important;
}

.adwindow-form .datetime-box .z-datebox,
.top-parameter-layout .datetime-box .z-datebox,
.z-window .datetime-box .z-datebox {
	margin-right: var(--pi-space-100, 8px) !important;
}

.z-window-overlapped[style*="230px"],
.z-window-popup[style*="230px"],
.z-window-highlighted[style*="230px"] {
	min-width: 260px !important;
	border: none !important;
	border-radius: var(--pi-radius-lg, 8px) !important;
	box-shadow: 0 8px 12px -4px var(--pi-shadow-navy-25, rgba(9,30,66,.25)),
	            0 0 1px var(--pi-shadow-navy-31, rgba(9,30,66,.31)) !important;
	overflow: hidden !important;
	left: auto !important;
	right: var(--pi-space-150, 12px) !important;
	margin-top: var(--pi-space-50, 4px) !important;
}
.z-window-overlapped[style*="230px"] > .z-window-content,
.z-window-popup[style*="230px"] > .z-window-content,
.z-window-highlighted[style*="230px"] > .z-window-content {
	background: var(--pi-bg-card, #FFFFFF) !important;
	padding: var(--pi-space-100, 8px) !important;
	border-radius: var(--pi-radius-lg, 8px) !important;
}
.z-window-overlapped[style*="230px"] > .z-window-content::before,
.z-window-popup[style*="230px"] > .z-window-content::before,
.z-window-highlighted[style*="230px"] > .z-window-content::before {
	content: "Preferences";
	display: block;
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px) var(--pi-space-100, 8px);
	font-size: var(--pi-font-size-75, 12px);
	font-weight: var(--pi-font-weight-semibold, 600);
	color: var(--pi-text-subtlest, #626F86);
}
.z-window-overlapped[style*="230px"] .z-vlayout-inner,
.z-window-popup[style*="230px"] .z-vlayout-inner,
.z-window-highlighted[style*="230px"] .z-vlayout-inner {
	padding-bottom: 0 !important;
}
.z-window-overlapped[style*="230px"] .z-vlayout .z-hlayout,
.z-window-popup[style*="230px"] .z-vlayout .z-hlayout,
.z-window-highlighted[style*="230px"] .z-vlayout .z-hlayout {
	width: 100% !important;
}
.z-window-overlapped[style*="230px"] .z-vlayout .z-hlayout-inner,
.z-window-popup[style*="230px"] .z-vlayout .z-hlayout-inner,
.z-window-highlighted[style*="230px"] .z-vlayout .z-hlayout-inner {
	display: block !important;
	width: auto !important;
}
.z-window-overlapped[style*="230px"] .z-vlayout .z-hlayout-inner:has(> .z-span > .field-label:empty),
.z-window-popup[style*="230px"] .z-vlayout .z-hlayout-inner:has(> .z-span > .field-label:empty),
.z-window-highlighted[style*="230px"] .z-vlayout .z-hlayout-inner:has(> .z-span > .field-label:empty) {
	display: none !important;
}
.z-window-overlapped[style*="230px"] > .z-window-content > .z-div,
.z-window-popup[style*="230px"] > .z-window-content > .z-div,
.z-window-highlighted[style*="230px"] > .z-window-content > .z-div {
	margin: 0 !important;
	padding: 0 !important;
}
.z-window-overlapped[style*="230px"] > .z-window-content > .z-div > .z-a,
.z-window-popup[style*="230px"] > .z-window-content > .z-div > .z-a,
.z-window-highlighted[style*="230px"] > .z-window-content > .z-div > .z-a {
	display: block !important;
	box-sizing: border-box;
	width: 100%;
	color: var(--pi-text-default, #172B4D) !important;
	font-size: var(--pi-font-size-200, 14px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	line-height: 18px;
	text-decoration: none !important;
	padding: var(--pi-space-100, 8px) var(--pi-space-150, 12px) !important;
	border-radius: 6px;
	cursor: pointer;
	transition: background 120ms ease-in-out;
}
.z-window-overlapped[style*="230px"] > .z-window-content > .z-div > .z-a:hover,
.z-window-popup[style*="230px"] > .z-window-content > .z-div > .z-a:hover,
.z-window-highlighted[style*="230px"] > .z-window-content > .z-div > .z-a:hover {
	background: var(--pi-overlay-091e420f, #091E420F) !important;
	text-decoration: none !important;
}
.z-window-overlapped[style*="230px"] .z-vlayout:has(.z-checkbox) + .z-div,
.z-window-popup[style*="230px"] .z-vlayout:has(.z-checkbox) + .z-div,
.z-window-highlighted[style*="230px"] .z-vlayout:has(.z-checkbox) + .z-div {
	border-top: 1px solid var(--pi-overlay-091e4224, #091E4224);
	margin-top: var(--pi-space-50, 4px) !important;
	padding-top: var(--pi-space-50, 4px) !important;
}
.z-window-overlapped[style*="230px"] .z-checkbox,
.z-window-popup[style*="230px"] .z-checkbox,
.z-window-highlighted[style*="230px"] .z-checkbox {
	display: flex !important;
	align-items: center !important;
	gap: var(--pi-space-100, 8px) !important;
	width: 100% !important;
	box-sizing: border-box;
	padding: 7px var(--pi-space-150, 12px) !important;
	border-radius: 6px;
	cursor: pointer;
	transition: background 120ms ease-in-out;
}
.z-window-overlapped[style*="230px"] .z-checkbox:hover,
.z-window-popup[style*="230px"] .z-checkbox:hover,
.z-window-highlighted[style*="230px"] .z-checkbox:hover {
	background: var(--pi-overlay-091e420f, #091E420F) !important;
}
.z-window-overlapped[style*="230px"] .z-checkbox input[type="checkbox"],
.z-window-popup[style*="230px"] .z-checkbox input[type="checkbox"],
.z-window-highlighted[style*="230px"] .z-checkbox input[type="checkbox"] {
	accent-color: var(--pi-border-selected, #0C66E4) !important;
	margin: 0 !important;
	flex: none;
}
.z-window-overlapped[style*="230px"] .z-checkbox .z-checkbox-content,
.z-window-popup[style*="230px"] .z-checkbox .z-checkbox-content,
.z-window-highlighted[style*="230px"] .z-checkbox .z-checkbox-content,
.z-window-overlapped[style*="230px"] .z-label,
.z-window-popup[style*="230px"] .z-label,
.z-window-highlighted[style*="230px"] .z-label {
	color: var(--pi-text-default, #172B4D) !important;
	font-size: var(--pi-font-size-200, 14px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	line-height: 18px !important;
	cursor: pointer;
	padding: 0 !important;
}
.z-window-overlapped[style*="230px"] .z-checkbox input[type="checkbox"]:focus-visible,
.z-window-popup[style*="230px"] .z-checkbox input[type="checkbox"]:focus-visible,
.z-window-highlighted[style*="230px"] .z-checkbox input[type="checkbox"]:focus-visible,
.z-window-overlapped[style*="230px"] > .z-window-content > .z-div > .z-a:focus-visible,
.z-window-popup[style*="230px"] > .z-window-content > .z-div > .z-a:focus-visible,
.z-window-highlighted[style*="230px"] > .z-window-content > .z-div > .z-a:focus-visible,
.z-window-overlapped[style*="230px"] .z-toolbar .z-toolbarbutton:focus-visible,
.z-window-popup[style*="230px"] .z-toolbar .z-toolbarbutton:focus-visible,
.z-window-highlighted[style*="230px"] .z-toolbar .z-toolbarbutton:focus-visible {
	outline: 2px solid var(--pi-border-focused, #388BFF) !important;
	outline-offset: 2px;
}
.z-window-overlapped[style*="230px"] > .z-window-content > .z-space,
.z-window-popup[style*="230px"] > .z-window-content > .z-space,
.z-window-highlighted[style*="230px"] > .z-window-content > .z-space,
.z-window-overlapped[style*="230px"] .z-separator,
.z-window-popup[style*="230px"] .z-separator,
.z-window-highlighted[style*="230px"] .z-separator {
	display: block;
	height: 1px !important;
	min-height: 1px !important;
	margin: var(--pi-space-50, 4px) 0 !important;
	padding: 0 !important;
	border: none !important;
	background: var(--pi-overlay-091e4224, #091E4224) !important;
	font-size: 0 !important;
	line-height: 0 !important;
	overflow: hidden;
}
.z-window-overlapped[style*="230px"] > .z-window-content > .z-div > .z-textbox,
.z-window-popup[style*="230px"] > .z-window-content > .z-div > .z-textbox,
.z-window-highlighted[style*="230px"] > .z-window-content > .z-div > .z-textbox {
	width: 100% !important;
	box-sizing: border-box;
}
.z-window-overlapped[style*="230px"] .z-toolbar,
.z-window-popup[style*="230px"] .z-toolbar,
.z-window-highlighted[style*="230px"] .z-toolbar {
	background: transparent !important;
	border: none !important;
	border-top: 1px solid var(--pi-overlay-091e4224, #091E4224) !important;
	margin-top: var(--pi-space-75, 6px) !important;
	padding: var(--pi-space-100, 8px) var(--pi-space-50, 4px) 2px !important;
}
.z-window-overlapped[style*="230px"] .z-toolbar .z-toolbarbutton,
.z-window-popup[style*="230px"] .z-toolbar .z-toolbarbutton,
.z-window-highlighted[style*="230px"] .z-toolbar .z-toolbarbutton {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: 30px;
	background: var(--pi-bg-brand, #0C66E4) !important;
	border: none !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	padding: 0 var(--pi-space-150, 12px) !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background 120ms ease-in-out;
}
.z-window-overlapped[style*="230px"] .z-toolbar .z-toolbarbutton:hover,
.z-window-popup[style*="230px"] .z-toolbar .z-toolbarbutton:hover,
.z-window-highlighted[style*="230px"] .z-toolbar .z-toolbarbutton:hover {
	background: var(--pi-bg-brand-hover, #0055CC) !important;
}
.z-window-overlapped[style*="230px"] .z-toolbar .z-toolbarbutton [class^="z-icon-"],
.z-window-popup[style*="230px"] .z-toolbar .z-toolbarbutton [class^="z-icon-"],
.z-window-highlighted[style*="230px"] .z-toolbar .z-toolbarbutton [class^="z-icon-"] {
	color: var(--pi-text-inverse, #FFFFFF) !important;
	font-size: var(--pi-font-size-300, 16px) !important;
	line-height: 1 !important;
}
.z-window-overlapped[style*="230px"] .z-toolbar .z-toolbarbutton-content,
.z-window-popup[style*="230px"] .z-toolbar .z-toolbarbutton-content,
.z-window-highlighted[style*="230px"] .z-toolbar .z-toolbarbutton-content {
	display: inline-flex;
	align-items: center;
	gap: var(--pi-space-75, 6px);
}
.z-window-overlapped[style*="230px"] .z-toolbar .z-toolbarbutton-content::after,
.z-window-popup[style*="230px"] .z-toolbar .z-toolbarbutton-content::after,
.z-window-highlighted[style*="230px"] .z-toolbar .z-toolbarbutton-content::after {
	content: "Save";
	color: var(--pi-text-inverse, #FFFFFF);
	font-size: var(--pi-font-size-200, 14px);
	font-weight: var(--pi-font-weight-medium, 500);
	line-height: 1;
}

.z-menupopup {
	background: var(--pi-bg-card, #FFFFFF);
	border: none;
	border-radius: var(--pi-radius-lg, 8px);
	box-shadow: 0 8px 12px -4px var(--pi-shadow-navy-25, rgba(9,30,66,.25)),
	            0 0 1px var(--pi-shadow-navy-31, rgba(9,30,66,.31));
	padding: var(--pi-space-50, 4px);
}
.z-menupopup-content {
	background: transparent;
	border: none;
	margin: 0;
	padding: 0;
}
.z-menupopup .z-menuitem-content,
.z-menupopup .z-menu-content {
	color: var(--pi-text-default, #172B4D);
	font-size: var(--pi-font-size-200, 14px);
	font-weight: var(--pi-font-weight-medium, 500);
	text-decoration: none;
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px);
	border-radius: var(--pi-radius-sm, 3px);
	background: transparent;
}
.z-menupopup .z-menuitem-text,
.z-menupopup .z-menu-text {
	color: inherit;
	font-size: inherit;
}
.z-menupopup .z-menuitem-content:hover,
.z-menupopup .z-menu-content:hover,
.z-menupopup .z-menuitem-over > .z-menuitem-content,
.z-menupopup .z-menu-over > .z-menu-content {
	background: #091E420F;
	color: var(--pi-text-default, #172B4D);
}
.z-menupopup .z-menuseparator {
	border-color: #091E4224;
}
.z-menupopup-separator {
	display: none !important;
}
.z-menupopup {
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	padding: var(--pi-space-50, 4px) !important;
}
.pi-winlist-menu.z-menupopup {
	transform: none !important;
	left: auto !important;
	right: 28px !important;
}
.z-bandbox-popup.global-search-box {
	top: 34px !important;
}
.z-menupopup-content {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
}
.z-menupopup .z-menuitem {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
}
.z-menupopup .z-menuitem-content {
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px) !important;
	min-height: 0 !important;
	border: none !important;
}
.z-menupopup .z-menuitem-image:empty {
	display: none !important;
	margin: 0 !important;
}
.z-menupopup .z-menuitem-content:active,
.z-menupopup .z-menuitem-seld > .z-menuitem-content {
	background: var(--pi-bg-selected, #E9F2FF) !important;
	color: var(--pi-text-brand, #0C66E4) !important;
}

.pi-feedback-menu.z-menupopup {
	margin-top: var(--pi-space-50, 4px) !important;
	left: auto !important;
	right: var(--pi-space-150, 12px) !important;
}
.pi-feedback-menu .z-menuitem .z-menuitem-content::before {
	content: none !important;
}
.pi-feedback-menu .z-menuitem .z-menuitem-content {
	padding: var(--pi-space-100, 8px) var(--pi-space-150, 12px) !important;
}
.pi-feedback-menu .z-menuitem-content:hover,
.pi-feedback-menu .z-menuitem-over > .z-menuitem-content {
	background: transparent;
}

.toolbar-overflow-popup-vertical.z-popup {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-lg, 8px) !important;
	box-shadow: 0 8px 12px -4px var(--pi-shadow-navy-25, rgba(9,30,66,.25)),
	            0 0 1px var(--pi-shadow-navy-31, rgba(9,30,66,.31)) !important;
	padding: var(--pi-space-50, 4px) !important;
	overflow: hidden !important;
}
.toolbar-overflow-popup-vertical .z-popup-content,
.toolbar-overflow-popup-vertical .z-grid,
.toolbar-overflow-popup-vertical .z-grid-body,
.toolbar-overflow-popup-vertical .z-grid table,
.toolbar-overflow-popup-vertical .z-grid tbody,
.toolbar-overflow-popup-vertical .z-row,
.toolbar-overflow-popup-vertical .z-row.z-grid-odd,
.toolbar-overflow-popup-vertical .z-row.z-grid-even,
.toolbar-overflow-popup-vertical .z-cell {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.toolbar-overflow-popup-vertical .z-grid .z-row > .z-cell,
.toolbar-overflow-popup-vertical .z-listbox .z-listitem > .z-listcell {
	box-shadow: none !important;
	border-left-color: transparent !important;
	background: transparent !important;
}

.toolbar-overflow-popup-vertical .z-grid .z-row.z-grid-odd:not(.grid-inactive-row) > .z-cell,
.toolbar-overflow-popup-vertical .z-grid .z-row.z-grid-odd:not(.grid-inactive-row) > .z-row-inner,
.toolbar-overflow-popup-vertical .z-grid .z-row.z-grid-even:not(.grid-inactive-row) > .z-cell,
.toolbar-overflow-popup-vertical .z-grid .z-row.z-grid-even:not(.grid-inactive-row) > .z-row-inner {
	background: transparent !important;
}
.toolbar-overflow-popup-vertical .toolbar-button.z-toolbarbutton {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 208px !important;
	min-height: var(--pi-space-400, 32px) !important;
	margin: 0 !important;
	padding: var(--pi-space-100, 8px) var(--pi-space-150, 12px) !important;
	border: none !important;
	border-radius: var(--pi-radius-sm, 4px) !important;
	color: var(--pi-text-default, #172B4D) !important;
	background: transparent !important;
	text-align: left !important;
	white-space: nowrap !important;
}
.toolbar-overflow-popup-vertical .toolbar-button.z-toolbarbutton .z-toolbarbutton-content {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: var(--pi-space-100, 8px) !important;
	width: 100% !important;
	color: inherit !important;
	font-size: var(--pi-font-size-200, 14px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
}
.toolbar-overflow-popup-vertical .toolbar-button.z-toolbarbutton [class*="z-icon-"] {
	font-size: 16px !important;
	color: var(--pi-text-subtle, #44546F) !important;
}
.toolbar-overflow-popup-vertical .toolbar-button.z-toolbarbutton:not(.disableFilter):hover {
	background: #091E420F !important;
	color: var(--pi-text-default, #172B4D) !important;
}
.toolbar-overflow-popup-vertical .toolbar-button.z-toolbarbutton.disableFilter {
	opacity: 0.4 !important;
	cursor: default !important;
}

.feedback-request-dialog .dialog-content {
	padding: var(--pi-space-100, 8px) var(--pi-space-200, 16px) !important;
}
.email-dialog .z-north.dialog-content {
	padding: var(--pi-space-100, 8px) var(--pi-space-200, 16px) 0 !important;
}
.email-dialog .z-north.dialog-content {
	height: auto !important;
}
.feedback-request-dialog .grid-layout .z-label:not(.z-attachment-item-text),
.email-dialog .z-north .z-label:not(.z-attachment-item-text) {
	font-size: var(--pi-font-size-75, 12px) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
	color: var(--pi-text-subtlest, #626F86) !important;
}
.email-dialog .z-north .z-grid div[style*="text-align"] {
	text-align: left !important;
}
.feedback-request-dialog .grid-layout td.z-row-inner,
.email-dialog .z-north .z-grid td.z-row-inner {
	padding: var(--pi-space-50, 4px) var(--pi-space-75, 6px) !important;
}
.feedback-request-dialog textarea.z-textbox {
	width: 100% !important;
	box-sizing: border-box !important;
}
.email-dialog .z-attachment-item,
.feedback-request-dialog .z-attachment-item {
	display: inline-flex;
	align-items: center;
	gap: var(--pi-space-50, 4px);
	background: var(--pi-bg-neutral, #F1F2F4);
	border-radius: var(--pi-radius-sm, 3px);
	padding: 2px var(--pi-space-100, 8px) !important;
	margin: 2px var(--pi-space-50, 4px) 2px 0 !important;
}
.email-dialog .z-attachment-item .z-attachment-item-text,
.feedback-request-dialog .z-attachment-item .z-attachment-item-text {
	font-size: var(--pi-font-size-75, 12px) !important;
	font-weight: var(--pi-font-weight-regular, 400) !important;
	color: var(--pi-text-default, #172B4D) !important;
}

.z-listcell[style*="background:#2e7d32" i],
.z-listcell[style*="background:#558b2f" i],
.z-listcell[style*="background:#0277bd" i],
.z-listcell[style*="background:#ffd54f" i],
.z-listcell[style*="background:#c62828" i],
.z-listcell[style*="background:#b71c1c" i],
.z-listcell[style*="background:#f57c00" i],
.z-listcell[style*="background:#757575" i],
.z-listcell[style*="background:#9e9e9e" i],
.z-listcell[style*="background:#e0e0e0" i] {
	font-size: var(--pi-font-size-50, 11px) !important;
	font-weight: var(--pi-font-weight-bold, 700) !important;
	letter-spacing: 0.3px !important;
	line-height: var(--pi-line-height-tight, 1.2) !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
}
.z-listcell[style*="background:#2e7d32" i] {
	background: #DCFFF1 !important;
	color: #216E4E !important;
}
.z-listcell[style*="background:#558b2f" i] {
	background: #EFFFD6 !important;
	color: #4C6B1F !important;
}
.z-listcell[style*="background:#0277bd" i] {
	background: var(--pi-bg-selected, #E9F2FF) !important;
	color: var(--pi-text-information, #0055CC) !important;
}
.z-listcell[style*="background:#ffd54f" i] {
	background: #FFF7D6 !important;
	color: #946F00 !important;
}
.z-listcell[style*="background:#c62828" i],
.z-listcell[style*="background:#b71c1c" i] {
	background: #FFECEB !important;
	color: #AE2A19 !important;
}
.z-listcell[style*="background:#f57c00" i] {
	background: #FFF3EB !important;
	color: #A54800 !important;
}
.z-listcell[style*="background:#757575" i],
.z-listcell[style*="background:#9e9e9e" i],
.z-listcell[style*="background:#e0e0e0" i] {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
	color: var(--pi-text-subtle, #44546F) !important;
}

.z-listcell[style*="background:#e8eaf6" i] {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
	border-top: 1px solid var(--pi-border-hairline, #EBECF0) !important;
	border-bottom: 1px solid var(--pi-border-hairline, #EBECF0) !important;
	border-left: 3px solid var(--pi-bg-brand, #0C66E4) !important;
}
.z-listcell[style*="background:#e8eaf6" i] .z-label {
	color: var(--pi-text-subtle, #44546F) !important;
}

.adwindow-form .number-box:focus-within,
.adwindow-form .editor-box:focus-within,
.z-window .number-box:focus-within,
.z-window .editor-box:focus-within {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
}
.adwindow-form .number-box:focus-within .editor-input,
.adwindow-form .number-box:focus-within .z-decimalbox,
.adwindow-form .editor-box:focus-within .editor-input,
.adwindow-form .editor-box:focus-within .z-textbox,
.z-window .number-box:focus-within .editor-input,
.z-window .number-box:focus-within .z-decimalbox,
.z-window .editor-box:focus-within .editor-input,
.z-window .editor-box:focus-within .z-textbox {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
}

.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) > .z-window-header {
	background: var(--pi-bg-card, #FFFFFF) !important;
	color: var(--pi-text-default, #172B4D) !important;
	border-bottom: none !important;
	box-shadow: none !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) > .z-window-header .z-window-header-title,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) > .z-window-header .z-caption-content,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) > .z-window-header .z-label {
	color: var(--pi-text-default, #172B4D) !important;
}

.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar-body,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar-content,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-north {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: none !important;
	box-shadow: none !important;
	overflow: visible !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-north .z-toolbar {
	height: auto !important;
	min-height: 44px !important;
	border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-100, 8px) !important;
}

.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar-content {
	display: flex !important;
	align-items: center !important;
	gap: var(--pi-space-75, 6px) !important;
	flex-wrap: nowrap !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar-content .z-toolbarbutton:first-of-type {
	margin-left: auto !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar-content .z-toolbarbutton {
	margin: 0 !important;
	padding: var(--pi-space-75, 6px) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar-content .z-toolbarbutton:hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}

.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-select,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-combobox {
	min-height: 30px !important;
	box-sizing: border-box !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-combobox {
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	background: var(--pi-bg-card, #FFFFFF) !important;
	box-shadow: none !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-combobox .z-combobox-input {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	color: var(--pi-text-default, #172B4D) !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-combobox .z-combobox-button {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	width: 24px !important;
	color: var(--pi-icon-subtle, #626F86) !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-select:focus,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-combobox:focus-within {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	background-color: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-combobox:focus-within .z-combobox-input {
	background: transparent !important;
	color: var(--pi-text-default, #172B4D) !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-select:open {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	background-color: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
}


.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-select {
	-webkit-appearance: none !important;
	   -moz-appearance: none !important;
	        appearance: none !important;
	height: 30px !important;
	min-height: 30px !important;
	line-height: 18px !important;
	padding: 0 30px 0 10px !important;
	text-align: left !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23626F86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
	background-repeat: no-repeat !important;
	background-position: right 8px center !important;
	background-size: 16px 16px !important;
	vertical-align: middle !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-combobox {
	height: 30px !important;
	min-height: 30px !important;
	display: inline-flex !important;
	align-items: center !important;
	padding: 0 !important;
	vertical-align: middle !important;
	overflow: hidden !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-combobox .z-combobox-input {
	height: 28px !important;
	line-height: 28px !important;
	padding: 0 0 0 10px !important;
	vertical-align: middle !important;
}
/* Trigger button: identical chevron to the selects; hide the FontAwesome
 * caret glyph but keep the button as the click target. */
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-combobox .z-combobox-button {
	width: 28px !important;
	height: 28px !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23626F86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 16px 16px !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-combobox .z-combobox-button .z-combobox-icon,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-combobox .z-combobox-button i {
	color: transparent !important;
}

.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-checkbox,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-checkbox .z-label {
	color: var(--pi-text-default, #172B4D) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
}

.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-south {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border-top: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-south a {
	color: var(--pi-text-brand, #0C66E4) !important;
}

.z-window .print-format-list > input::placeholder,
.z-window .saved-parameter-list > input::placeholder {
	color: var(--pi-text-subtlest, #626F86) !important;
	opacity: 1 !important;
}
.z-window .print-format-list > input::-webkit-input-placeholder,
.z-window .saved-parameter-list > input::-webkit-input-placeholder {
	color: var(--pi-text-subtlest, #626F86) !important;
	opacity: 1 !important;
}
.z-window .print-format-list > input::-moz-placeholder,
.z-window .saved-parameter-list > input::-moz-placeholder {
	color: var(--pi-text-subtlest, #626F86) !important;
	opacity: 1 !important;
}
.z-window .print-format-list > input:-ms-input-placeholder,
.z-window .saved-parameter-list > input:-ms-input-placeholder {
	color: var(--pi-text-subtlest, #626F86) !important;
	opacity: 1 !important;
}
.z-window .print-format-list > input,
.z-window .saved-parameter-list > input,
.z-window .option-input-parameter > input {
	color: var(--pi-text-default, #172B4D) !important;
}

.report-option-container .z-combobox.z-combobox-open,
.report-option-container .z-combobox.z-combobox-focus,
.save-parameter-container .z-combobox.z-combobox-open,
.save-parameter-container .z-combobox.z-combobox-focus {
	background: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
}
.report-option-container .z-combobox.z-combobox-open .z-combobox-input,
.report-option-container .z-combobox.z-combobox-open .z-combobox-button,
.save-parameter-container .z-combobox.z-combobox-open .z-combobox-input,
.save-parameter-container .z-combobox.z-combobox-open .z-combobox-button {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.desktop-center.z-center .dashboard-widget .z-calendars-month-cnt {
	height: 350px !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-cnt-inner {
	max-width: 460px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-header {
	height: 44px !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-day-of-week {
	padding: var(--pi-space-150, 12px) 0 var(--pi-space-250, 20px) 0 !important;
	text-align: center !important;
}
.desktop-center.z-center .dashboard-widget td.z-calendars-month-date {
	padding-top: 6px !important;
	padding-bottom: 6px !important;
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-macro.z-macro {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	vertical-align: middle !important;
	border: none !important;
	background: transparent !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	width: 28px !important;
	height: 28px !important;
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-macro.z-macro:hover {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-macro + .z-macro {
	margin-left: var(--pi-space-50, 4px) !important;
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar {
	position: relative !important;
}
.desktop-center.z-center .dashboard-widget .calendar-toolbar .z-label {
	position: absolute !important;
	left: 50% !important;
	top: auto !important;
	bottom: 10px !important;
	transform: translateX(-50%) !important;
	font-size: var(--pi-font-size-200, 14px) !important;
	font-weight: var(--pi-font-weight-bold, 700) !important;
	color: var(--pi-text-default, #172B4D) !important;
	white-space: nowrap !important;
}
.desktop-center.z-center .dashboard-widget td.z-calendars-month-date {
	text-align: center !important;
}
.desktop-center.z-center .dashboard-widget td.z-calendars-month-date .z-calendars-month-date-cnt {
	margin-left: auto !important;
	margin-right: auto !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-cnt {
	margin-top: var(--pi-space-100, 8px) !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-body {
	top: 52px !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-week .z-calendars-day-of-month-body {
	height: 100% !important;
}
.desktop-center.z-center .dashboard-widget .z-calendars-month-week .z-calendars-day-of-month-body td {
	vertical-align: middle !important;
}
.desktop-center.z-center .dashboard-widget td.z-calendars-month-date-off {
	background: transparent !important;
	background-color: transparent !important;
}
.desktop-center.z-center .dashboard-widget td.z-calendars-month-date-off .z-calendars-month-date-cnt {
	color: var(--pi-text-disabled, #B3B9C4) !important;
}

.desktop-tabpanel .z-div > .z-tabbox .z-tabs {
	background: transparent !important;
	border-bottom: 1px solid var(--pi-border-hairline, #EBECF0) !important;
}
.desktop-tabpanel .z-div > .z-tabbox .z-tab {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	min-width: 0 !important;
}
.desktop-tabpanel .z-div > .z-tabbox .z-tab .z-tab-content {
	padding: var(--pi-space-100, 8px) var(--pi-space-200, 16px) !important;
}
.desktop-tabpanel .z-div > .z-tabbox .z-tab .z-tab-text {
	font-size: var(--pi-font-size-200, 14px) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
	color: var(--pi-text-subtle, #44546F) !important;
}
.desktop-tabpanel .z-div > .z-tabbox .z-tab:hover .z-tab-text {
	color: var(--pi-text-default, #172B4D) !important;
}
.desktop-tabpanel .z-div > .z-tabbox .z-tab.z-tab-selected {
	box-shadow: inset 0 -2px 0 0 var(--pi-bg-brand, #0C66E4) !important;
}
.desktop-tabpanel .z-div > .z-tabbox .z-tab.z-tab-selected .z-tab-text {
	color: var(--pi-text-brand, #0C66E4) !important;
}


.z-window .z-tabbox:not(.desktop-tabbox):not(.adwindow-detailpane-tabbox):not(.z-tabbox-accordion) > .z-tabs {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: none !important;
	border-bottom: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	box-shadow: none !important;
}
.z-window .z-tabbox:not(.desktop-tabbox):not(.adwindow-detailpane-tabbox):not(.z-tabbox-accordion) > .z-tabs .z-tab,
.z-window .z-tabbox:not(.desktop-tabbox):not(.adwindow-detailpane-tabbox):not(.z-tabbox-accordion) > .z-tabs .z-tab .z-tab-content {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}
.z-window .z-tabbox:not(.desktop-tabbox):not(.adwindow-detailpane-tabbox):not(.z-tabbox-accordion) > .z-tabs .z-tab .z-tab-text {
	color: var(--pi-text-subtle, #44546F) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-150, 12px) !important;
}
.z-window .z-tabbox:not(.desktop-tabbox):not(.adwindow-detailpane-tabbox):not(.z-tabbox-accordion) > .z-tabs .z-tab:hover .z-tab-text {
	color: var(--pi-text-brand, #0C66E4) !important;
}
.z-window .z-tabbox:not(.desktop-tabbox):not(.adwindow-detailpane-tabbox):not(.z-tabbox-accordion) > .z-tabs .z-tab.z-tab-selected {
	background: transparent !important;
	box-shadow: inset 0 -2px 0 0 var(--pi-border-selected, #0C66E4) !important;
}
.z-window .z-tabbox:not(.desktop-tabbox):not(.adwindow-detailpane-tabbox):not(.z-tabbox-accordion) > .z-tabs .z-tab.z-tab-selected .z-tab-text {
	color: var(--pi-text-brand, #0C66E4) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
}
.z-window .z-tabbox:not(.desktop-tabbox):not(.adwindow-detailpane-tabbox):not(.z-tabbox-accordion) > .z-tabpanels,
.z-window .z-tabbox:not(.desktop-tabbox):not(.adwindow-detailpane-tabbox):not(.z-tabbox-accordion) > .z-tabpanels > .z-tabpanel {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: none !important;
}

.z-bandbox-popup.global-search-box .z-listbox .z-listitem,
.z-bandbox-popup.global-search-box .z-listbox .z-listitem.z-listbox-odd,
.z-bandbox-popup.global-search-box .z-listbox .z-listitem > .z-listcell,
.z-bandbox-popup.global-search-box .z-listbox .z-listitem.z-listbox-odd > .z-listcell {
	background: var(--pi-bg-card, #FFFFFF) !important;
	box-shadow: none !important;
}
.z-bandbox-popup.global-search-box .z-listbox .z-listitem:hover > .z-listcell {
	background: var(--pi-overlay-091e420f, #091E420F) !important;
}
.z-bandbox-popup.global-search-box .z-listbox .z-listitem.z-listitem-selected > .z-listcell,
.z-bandbox-popup.global-search-box .z-listbox .z-listitem.highlight > .z-listcell {
	background: var(--pi-bg-selected, #E9F2FF) !important;
}

.desktop-tabpanel .z-button[style*="background:#7b1fa2" i],
.desktop-tabpanel .z-button[style*="background:#e65100" i],
.desktop-tabpanel .z-button[style*="background:#00796b" i] {
	background: var(--pi-bg-brand, #0C66E4) !important;
	background-color: var(--pi-bg-brand, #0C66E4) !important;
	color: var(--pi-text-inverse, #FFFFFF) !important;
	border: none !important;
}
.desktop-tabpanel .z-button[style*="background:#7b1fa2" i]:hover,
.desktop-tabpanel .z-button[style*="background:#e65100" i]:hover,
.desktop-tabpanel .z-button[style*="background:#00796b" i]:hover {
	background: var(--pi-bg-brand-hover, #0055CC) !important;
	background-color: var(--pi-bg-brand-hover, #0055CC) !important;
}
.desktop-tabpanel .z-button[style*="background:#7b1fa2" i]:focus,
.desktop-tabpanel .z-button[style*="background:#e65100" i]:focus,
.desktop-tabpanel .z-button[style*="background:#00796b" i]:focus {
	box-shadow: 0 0 0 2px var(--pi-border-focused, #388BFF) !important;
	outline: none !important;
}
.desktop-tabpanel div[style*="background:#f3e5f5" i] {
	background: #F7F8F9 !important;
	border: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-lg, 8px) !important;
}
.desktop-tabpanel .z-label[style*="color:#4a148c" i] {
	color: var(--pi-text-subtle, #44546F) !important;
}



.desktop-center.z-center .dashboard-widget .z-toolbar:not(.calendar-toolbar) .z-toolbarbutton {
	background: var(--pi-bg-brand, #0C66E4) !important;
	color: var(--pi-text-inverse, #FFFFFF) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	padding: var(--pi-space-50, 4px) var(--pi-space-150, 12px) !important;
	min-height: 28px !important;
	text-decoration: none !important;
	justify-content: center !important;
}
.desktop-center.z-center .dashboard-widget .z-toolbar:not(.calendar-toolbar) .z-toolbarbutton:hover {
	background: var(--pi-bg-brand-hover, #0055CC) !important;
	text-decoration: none !important;
}
.desktop-center.z-center .dashboard-widget .z-toolbar:not(.calendar-toolbar) .z-toolbarbutton [class*="z-icon-"]:before {
	display: none !important;
	content: none !important;
	-webkit-mask: none !important;
	        mask: none !important;
}
.desktop-center.z-center .dashboard-widget .z-toolbar:not(.calendar-toolbar) .z-toolbarbutton [class*="z-icon-"],
.desktop-center.z-center .dashboard-widget .z-toolbar:not(.calendar-toolbar) .z-toolbarbutton [class*="z-icon-"]:after {
	color: var(--pi-text-inverse, #FFFFFF) !important;
	font-family: var(--pi-font-family, Inter, sans-serif) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
	text-decoration: none !important;
}
.desktop-center.z-center .dashboard-widget .z-toolbar:not(.calendar-toolbar) .z-toolbarbutton .z-icon-Refresh:after {
	content: "Refresh" !important;
}

.main-parameter-layout {
	padding: var(--pi-space-300, 24px) var(--pi-space-400, 32px) !important;
	box-sizing: border-box !important;
}

.main-parameter-layout .message-parameter-layout {
	padding: var(--pi-space-250, 20px) var(--pi-space-100, 8px) var(--pi-space-100, 8px) 0 !important;
}
.main-parameter-layout .top-parameter-layout {
	padding-left: var(--pi-space-300, 24px) !important;
	max-width: none !important;
	width: calc(100% + var(--pi-space-400, 32px)) !important;
}

.input-paramenter-layout div[style*="text-align"] {
	text-align: left !important;
}

.bottom-parameter-layout {
	border-top: 1px solid var(--pi-border-hairline, #EBECF0) !important;
	margin-top: var(--pi-space-200, 16px) !important;
	padding: var(--pi-space-150, 12px) var(--pi-space-100, 8px) var(--pi-space-100, 8px) !important;
}
.bottom-parameter-layout .z-label:not(.saved-parameter-label) {
	font-size: var(--pi-font-size-50, 11px) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	color: var(--pi-text-subtlest, #626F86) !important;
}
.bottom-parameter-layout .report-option-container {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	row-gap: var(--pi-space-100, 8px) !important;
}
.bottom-parameter-layout .option-input-parameter {
	margin-right: var(--pi-space-150, 12px) !important;
	vertical-align: middle !important;
}
.bottom-parameter-layout .button-container {
	display: flex !important;
	align-items: center !important;
	gap: var(--pi-space-100, 8px) !important;
	padding: var(--pi-space-100, 8px) var(--pi-space-50, 4px) !important;
}

* {
	scrollbar-width: thin !important;
	scrollbar-color: var(--pi-border-subtle, #DCDFE4) transparent !important;
}
*::-webkit-scrollbar        { width: 4px !important; height: 4px !important; }
*::-webkit-scrollbar-track  { background: transparent !important; }
*::-webkit-scrollbar-corner { background: transparent !important; }
*::-webkit-scrollbar-thumb {
	background-color: var(--pi-border-subtle, #DCDFE4) !important;
	border-radius: var(--pi-radius-full, 999px) !important;
}
*::-webkit-scrollbar-thumb:hover {
	background-color: var(--pi-border-default, #B3B9C4) !important;
}

.z-frozen {
	background-image: none !important;
	background-color: transparent !important;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--pi-bg-brand, #0C66E4);
}

::selection {
	background-color: var(--pi-bg-brand, #0C66E4);
	color: var(--pi-text-inverse, #FFFFFF);
}

.desktop-center,
.desktop-center * {
	scrollbar-color: var(--pi-border-default, #B3B9C4) transparent !important;
}
.desktop-center::-webkit-scrollbar-thumb,
.desktop-center *::-webkit-scrollbar-thumb {
	background-color: var(--pi-border-default, #B3B9C4) !important;
}
.desktop-center::-webkit-scrollbar-thumb:hover,
.desktop-center *::-webkit-scrollbar-thumb:hover {
	background-color: var(--pi-text-subtlest, #626F86) !important;
}

.z-icon-Wizard:before,
.z-icon-ReRun:before,
.z-icon-Expand:before {
	content: "" !important;
	display: inline-block !important;
	width: 20px;
	height: 20px;
	vertical-align: -0.125em;
	background-color: currentColor !important;
	-webkit-mask: var(--pi-ico) no-repeat center / contain !important;
	mask: var(--pi-ico) no-repeat center / contain !important;
}
.z-icon-Wizard:before {
	--pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72Z'/><path d='m14 7 3 3'/><path d='M5 6v4'/><path d='M19 14v4'/><path d='M10 2v2'/><path d='M7 8H3'/><path d='M21 16h-4'/><path d='M11 3H9'/></svg>");
}
.z-icon-ReRun:before {
	--pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polygon points='10 8 16 12 10 16 10 8'/></svg>");
}
.z-icon-Expand:before {
	--pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}

.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-toolbarbutton,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-toolbarbutton [class*="z-icon-"] {
	color: #333 !important;
}
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-toolbarbutton:hover,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-toolbarbutton:hover [class*="z-icon-"],
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-toolbarbutton:active,
.desktop-tabpanel .z-window:has(.z-iframe, .z-toolbar .z-icon-ReRun, .z-toolbar .z-icon-Wizard, .zssheet) .z-toolbar .z-toolbarbutton:active [class*="z-icon-"] {
	color: #3949AB !important;
}

.desktop-tabpanel .z-select:focus,
.z-window .z-select:focus,
.popup-dialog .z-select:focus,
.process-modal-dialog .z-select:focus,
.bottom-parameter-layout .z-select:focus,
.report-option-container .z-select:focus {
	background-color: var(--pi-bg-selected-bold, #CCE0FF) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: none !important;
	outline: none !important;
}

.save-parameter-btns-cont {
	justify-content: flex-start;
	margin-right: 0;
	padding-left: var(--pi-space-100, 8px);
}



body > .z-window.z-window-overlapped[style*="width: 500px"]:has(> .z-window-content[style*="overflow: auto"]),
body > .z-window.z-window-overlapped[style*="width:500px"]:has(> .z-window-content[style*="overflow: auto"]) {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-hairline, #EBECF0) !important;
	border-left: 3px solid var(--pi-border-selected, #0C66E4) !important;
	border-radius: var(--pi-radius-lg, 8px) !important;
	box-shadow: var(--pi-shadow-overlay, 0px 8px 12px rgba(9,30,66,0.15), 0px 0px 1px rgba(9,30,66,0.31)) !important;
	overflow: hidden !important;
	padding: 0 !important;
	font-family: var(--pi-font-family) !important;
}
body:has(.docstatus-error) > .z-window.z-window-overlapped[style*="width: 500px"]:has(> .z-window-content[style*="overflow: auto"]),
body:has(.docstatus-error) > .z-window.z-window-overlapped[style*="width:500px"]:has(> .z-window-content[style*="overflow: auto"]) {
	border-left: 3px solid var(--pi-status-danger-bold, #DE350B) !important;
}

body > .z-window.z-window-overlapped[style*="width: 500px"]:has(> .z-window-content[style*="overflow: auto"]) > .z-window-header,
body > .z-window.z-window-overlapped[style*="width:500px"]:has(> .z-window-content[style*="overflow: auto"]) > .z-window-header {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: none !important;
	box-shadow: none !important;
	min-height: 0 !important;
	height: auto !important;
	padding: var(--pi-space-150, 12px) var(--pi-space-150, 12px) 0 var(--pi-space-200, 16px) !important;
	color: var(--pi-text-default, #172B4D) !important;
}
body > .z-window.z-window-overlapped[style*="width: 500px"]:has(> .z-window-content[style*="overflow: auto"]) .z-caption,
body > .z-window.z-window-overlapped[style*="width:500px"]:has(> .z-window-content[style*="overflow: auto"]) .z-caption {
	min-height: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
body > .z-window.z-window-overlapped[style*="width: 500px"]:has(> .z-window-content[style*="overflow: auto"]) .z-caption::before,
body > .z-window.z-window-overlapped[style*="width:500px"]:has(> .z-window-content[style*="overflow: auto"]) .z-caption::before {
	content: "Message";
	font-size: 14px;
	font-weight: var(--pi-font-weight-semibold, 600);
	line-height: 20px;
	color: var(--pi-border-selected, #0C66E4);
}
body:has(.docstatus-error) > .z-window.z-window-overlapped[style*="width: 500px"]:has(> .z-window-content[style*="overflow: auto"]) .z-caption::before,
body:has(.docstatus-error) > .z-window.z-window-overlapped[style*="width:500px"]:has(> .z-window-content[style*="overflow: auto"]) .z-caption::before {
	content: "Error";
	color: var(--pi-status-danger-bold, #DE350B);
}

body > .z-window.z-window-overlapped[style*="width: 500px"] > .z-window-content[style*="overflow: auto"],
body > .z-window.z-window-overlapped[style*="width:500px"] > .z-window-content[style*="overflow: auto"] {
	background: transparent !important;
	border: none !important;
	color: var(--pi-text-default, #172B4D) !important;
	font-size: 14px !important;
	line-height: 20px !important;
	padding: var(--pi-space-100, 8px) var(--pi-space-200, 16px) var(--pi-space-200, 16px) !important;
	min-height: 56px !important;
}

body > .z-window.z-window-overlapped[style*="width: 500px"]:has(> .z-window-content[style*="overflow: auto"]) .z-window-icon,
body > .z-window.z-window-overlapped[style*="width:500px"]:has(> .z-window-content[style*="overflow: auto"]) .z-window-icon {
	background: transparent !important;
	border: none !important;
	width: 24px !important;
	height: 24px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	color: var(--pi-text-subtlest, #626F86) !important;
	opacity: 1 !important;
	cursor: pointer !important;
}
body > .z-window.z-window-overlapped[style*="width: 500px"]:has(> .z-window-content[style*="overflow: auto"]) .z-window-icon:hover,
body > .z-window.z-window-overlapped[style*="width:500px"]:has(> .z-window-content[style*="overflow: auto"]) .z-window-icon:hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
	color: var(--pi-text-default, #172B4D) !important;
}



.adwindow-status .adwindow-status-docinfo .z-label {
	color: var(--pi-text-subtle, #44546F) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
}
.adwindow-status .adwindow-status-docinfo:not(:empty) {
	background: var(--pi-bg-neutral, #F1F2F4) !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	padding: 2px 8px !important;
}
.adwindow-status,
.adwindow-status .adwindow-status-docstatus {
	border: none !important;
	box-shadow: none !important;
}

.adwindow-detailpane-tabbox .z-tab .z-tab-text {
	max-width: none !important;
	overflow: visible !important;
	text-overflow: clip !important;
	white-space: nowrap !important;
	padding-right: 0 !important;
}
.adwindow-detailpane-tabbox .z-tab {
	flex: 0 0 auto !important;
}
.adwindow-detailpane-tabbox .z-tab .z-tab-content {
	padding: 0 12px !important;
}

.adwindow-gridview-detail + .z-south-splitter,
.adwindow-gridview-borderlayout .z-south-splitter {
	cursor: ns-resize !important;
	position: relative !important;
}
.adwindow-gridview-detail + .z-south-splitter::before,
.adwindow-gridview-borderlayout .z-south-splitter::before {
	content: "" !important;
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 36px !important;
	height: 4px !important;
	border-top: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-bottom: 1px solid var(--pi-border-default, #B3B9C4) !important;
	opacity: 0.7 !important;
}

.quick-entry-dialog {
	width: 500px !important;
}
.quick-entry-dialog > .z-window-content {
	padding: var(--pi-space-250, 20px) var(--pi-space-300, 24px) var(--pi-space-150, 12px) !important;
}
.quick-entry-dialog > .z-window-content > .confirm-panel {
	padding-top: var(--pi-space-150, 12px) !important;
}
@media screen and (max-width: 520px) {
	.quick-entry-dialog { width: 100% !important; }
}

.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-month-header,
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-month-header .z-calendars-day-of-week {
	background: var(--pi-bg-section-header, #E6F1FB) !important;
	background-color: var(--pi-bg-section-header, #E6F1FB) !important;
	border: none !important;
}
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-month-header .z-calendars-day-of-week {
	color: var(--pi-text-section-header, #0C447C) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-100, 8px) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	text-align: center !important;
	letter-spacing: .02em !important;
	border-bottom: 1px solid var(--pi-border-hairline, #EBECF0) !important;
}
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-month-header { line-height: 1.4 !important; }
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-month-body { top: 30px !important; }

.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-month-date {
	background: var(--pi-bg-card, #FFFFFF) !important;
	color: var(--pi-text-subtle, #44546F) !important;
	border-left: 1px solid var(--pi-border-hairline, #EBECF0) !important;
	border-top: 1px solid var(--pi-border-hairline, #EBECF0) !important;
	padding: var(--pi-space-50, 4px) var(--pi-space-75, 6px) 0 0 !important;
}
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-month-date-off {
	background: var(--pi-bg-sunken, #F7F8F9) !important;
	color: var(--pi-text-subtlest, #626F86) !important;
}
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-month-date.z-calendars-week-today,
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-day-of-month-bg .z-calendars-week-today {
	background: var(--pi-bg-selected, #E9F2FF) !important;
	color: var(--pi-text-brand, #0C66E4) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
	box-shadow: inset 2px 0 0 var(--pi-text-brand, #0C66E4) !important;
}
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-month-date:hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}

/* Day / week ("Switch Time Zone" schedule) view header — light-blue Atlassian
   band, matching the month-view header above AND the AD-form / data-grid column
   headers. Recolours the old dark-blue "Wed 7/22" date bar and the timezone
   columns (India Standard Time / Pacific Time) to #E6F1FB with dark-blue text.
   The dark blue is a ZK zkcal default (not in our CSS source), so the
   high-specificity scope + !important is required to beat it; scoped like the
   month rules (full-window calendar only, not the dashboard widget). */
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-day-of-week,
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-day-of-week-inner,
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-timezone,
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-week-cnt .z-calendars-timezone {
	background: var(--pi-bg-section-header, #E6F1FB) !important;
	background-color: var(--pi-bg-section-header, #E6F1FB) !important;
	color: var(--pi-text-section-header, #0C447C) !important;
	border-color: var(--pi-border-default, #B3B9C4) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
}
/* the current day's column header reads as the AD-form "selected / current" band */
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-week-today,
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-day-of-week-inner .z-calendars-week-today {
	background: var(--pi-bg-selected, #E9F2FF) !important;
	background-color: var(--pi-bg-selected, #E9F2FF) !important;
	color: var(--pi-text-brand, #0C66E4) !important;
}
/* keep the left hour-gutter labels (00:00, 01:00 …) a readable neutral, not blue */
.desktop-tabpanel:not(:has(.dashboard-widget)) .z-calendars .z-calendars-hour-of-day {
	background: transparent !important;
	color: var(--pi-text-subtle, #44546F) !important;
}

.desktop-tabpanel:not(:has(.dashboard-widget)) .calendar-toolbar .z-toolbar-body {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: var(--pi-space-100, 8px) var(--pi-space-200, 16px) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-100, 8px) !important;
	width: 100% !important;
}
.desktop-tabpanel:not(:has(.dashboard-widget)) .calendar-toolbar .float-left,
.desktop-tabpanel:not(:has(.dashboard-widget)) .calendar-toolbar .float-right {
	float: none !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: var(--pi-space-50, 4px) var(--pi-space-100, 8px) !important;
}
.desktop-tabpanel:not(:has(.dashboard-widget)) .calendar-toolbar .z-label,
.desktop-tabpanel:not(:has(.dashboard-widget)) .calendar-toolbar span {
	color: var(--pi-text-subtle, #44546F) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
}
.desktop-tabpanel:not(:has(.dashboard-widget)) .calendar-toolbar .z-button {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	color: var(--pi-text-default, #172B4D) !important;
	padding: var(--pi-space-50, 4px) var(--pi-space-100, 8px) !important;
}
.desktop-tabpanel:not(:has(.dashboard-widget)) .calendar-toolbar .z-button:hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}


.adform-content .z-grid:has(.z-row .z-textbox, .z-row .z-combobox, .z-row .z-datebox, .z-row .z-decimalbox, .z-row .z-textarea) {
	
	width: 100% !important;
	margin-left: 0 !important;
	padding: var(--pi-space-300, 24px) !important;
	box-sizing: border-box !important;
}


.adform-content .z-grid:has(.z-row .z-textbox, .z-row .z-combobox, .z-row .z-datebox, .z-row .z-decimalbox, .z-row .z-textarea) .z-row-inner,
.adform-content .z-grid:has(.z-row .z-textbox, .z-row .z-combobox, .z-row .z-datebox, .z-row .z-decimalbox, .z-row .z-textarea) .z-cell {
	padding: var(--pi-space-150, 12px) var(--pi-space-100, 8px) !important;
}


.adform-content .z-grid:has(.z-row .z-textbox, .z-row .z-combobox, .z-row .z-datebox, .z-row .z-decimalbox, .z-row .z-textarea) table {
	table-layout: auto !important;
}
.adform-content .z-grid:has(.z-row .z-textbox, .z-row .z-combobox, .z-row .z-datebox, .z-row .z-decimalbox, .z-row .z-textarea) colgroup > col {
	width: auto !important;
}


.adform-content .z-grid .z-row .editor-box,
.adform-content .z-grid .z-row .number-box,
.adform-content .z-grid .z-row .datetime-box,
.adform-content .z-grid .z-row .payment-rule-editor,
.adform-content .z-grid .z-row .grid-combobox-editor,
.adform-content .z-grid .z-row .z-textbox,
.adform-content .z-grid .z-row .z-combobox,
.adform-content .z-grid .z-row .z-datebox,
.adform-content .z-grid .z-row .z-decimalbox,
.adform-content .z-grid .z-row .z-textarea {
	min-width: 240px !important;
	max-width: 720px !important;
}


.adform-content .z-hlayout > .z-div > .z-label {
	white-space: normal !important;
	overflow-wrap: anywhere !important;
	margin-right: var(--pi-space-150, 12px) !important;
	line-height: var(--pi-line-height-snug, 1.3) !important;
}

.desktop-tabpanel .adform-content:has(.z-borderlayout[style*="750px"]) {
	padding: var(--pi-space-200, 16px) !important;
	box-sizing: border-box !important;
}
.desktop-tabpanel .adform-content:has(.z-borderlayout[style*="750px"]) .z-cell > .z-button {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	color: var(--pi-text-default, #172B4D) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	padding: 5px 14px !important;
	box-shadow: none !important;
}
.desktop-tabpanel .adform-content:has(.z-borderlayout[style*="750px"]) .z-cell > .z-button:hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}
.desktop-tabpanel .adform-content:has(.z-borderlayout[style*="750px"]) .z-south .z-cell > .z-button {
	background: var(--pi-bg-brand, #0C66E4) !important;
	border-color: var(--pi-bg-brand, #0C66E4) !important;
	color: var(--pi-text-inverse, #FFFFFF) !important;
}
.desktop-tabpanel .adform-content:has(.z-borderlayout[style*="750px"]) .z-south .z-cell > .z-button:hover {
	background: var(--pi-bg-brand-hover, #0055CC) !important;
	border-color: var(--pi-bg-brand-hover, #0055CC) !important;
}
.desktop-tabpanel .adform-content:has(.z-borderlayout[style*="750px"]) .z-cell > .z-button.z-button-disabled {
	opacity: 0.5 !important;
	cursor: default !important;
}




.desktop-tabpanel .z-select,
.popup-dialog .z-select,
.process-modal-dialog .z-select {
	min-width: 120px !important;
}


.desktop-tabpanel .z-listcell .z-select,
.popup-dialog .z-listcell .z-select,
.process-modal-dialog .z-listcell .z-select {
	min-width: 0 !important;
}


.adform-content .z-toolbar:has(.z-icon-Zoom):has(.z-icon-New):has(.z-icon-Refresh) .z-select {
	min-width: 280px !important;
	max-width: 480px !important;
}


.adform-content td[style*="dotted lightgray"] {
	border: 1px dashed var(--pi-border-subtle, #DCDFE4) !important;
}


.desktop-tabpanel .z-borderlayout:has(.workflow-panel-table) .z-center-body,
.adform-content .z-borderlayout:has(.z-toolbar .z-icon-Zoom):has(.z-toolbar .z-icon-New):has(.z-toolbar .z-icon-Refresh) .z-center-body {
	background: var(--pi-bg-sunken, #F7F8F9) !important;
	padding: var(--pi-space-300, 24px) !important;
	box-sizing: border-box !important;
}


.desktop-tabpanel .workflow-panel-table {
	padding: 0 !important;
	vertical-align: top !important;
}


.desktop-tabpanel .z-borderlayout:has(.workflow-panel-table) .z-south-body {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border-top: 1px solid var(--pi-border-subtle, #DCDFE4) !important;
	padding: var(--pi-space-200, 16px) var(--pi-space-300, 24px) !important;
	box-sizing: border-box !important;
}
.desktop-tabpanel .z-borderlayout:has(.workflow-panel-table) .z-south-body .z-html {
	color: var(--pi-text-subtle, #44546F) !important;
	font-size: var(--pi-font-size-200, 14px) !important;
	line-height: var(--pi-line-height-base, 1.4) !important;
}
.desktop-tabpanel .z-borderlayout:has(.workflow-panel-table) .z-south-body .z-html h2 {
	margin: 0 0 var(--pi-space-100, 8px) 0 !important;
	font-size: var(--pi-font-size-400, 20px) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
	line-height: var(--pi-line-height-snug, 1.3) !important;
	color: var(--pi-text-default, #172B4D) !important;
}

.desktop-tabpanel .z-borderlayout:has(.workflow-panel-table) .z-south-body .z-html b {
	display: block;
	margin-bottom: var(--pi-space-50, 4px);
	font-weight: var(--pi-font-weight-medium, 500) !important;
	color: var(--pi-text-default, #172B4D) !important;
}




:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .tree-search-combo.z-combobox {
	height: auto !important;
	min-height: var(--pi-space-400, 32px) !important;
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: 1px solid var(--pi-border-default, #B3B9C4) !important;
	border-radius: var(--pi-radius-md, 4px) !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .tree-search-combo .z-combobox-input,
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .tree-search-combo .z-combobox-button,
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .tree-search-combo > a {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .tree-search-combo .z-combobox-input {
	
	color: var(--pi-text-default, #172B4D) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	line-height: var(--pi-line-height-base, 1.4) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-100, 8px) !important;
	height: auto !important;
}

:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .tree-search-combo > a {
	top: 50% !important;
	right: var(--pi-space-100, 8px) !important;
	transform: translateY(-50%) !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .tree-search-combo .z-combobox-icon {
	color: var(--pi-icon-subtle, #626F86) !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .tree-search-combo.z-combobox:focus-within,
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .tree-search-combo.z-combobox.z-combobox-focus,
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .tree-search-combo.z-combobox.z-combobox-open {
	border-color: var(--pi-border-selected, #0C66E4) !important;
	box-shadow: 0 0 0 2px var(--pi-bg-selected, #E9F2FF) !important;
}




:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-toolbar .z-label {
	font-size: var(--pi-font-size-100, 13px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	color: var(--pi-text-subtle, #44546F) !important;
	white-space: nowrap !important;
}


:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-panelchildren,
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-toolbar {
	background: var(--pi-bg-card, #FFFFFF) !important;
	border: none !important;
	padding-left: var(--pi-space-150, 12px) !important;
	padding-right: var(--pi-space-150, 12px) !important;
	box-sizing: border-box !important;
}

:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-toolbar:first-of-type {
	padding-top: var(--pi-space-150, 12px) !important;
	padding-bottom: var(--pi-space-150, 12px) !important;
	border-bottom: 1px solid var(--pi-border-hairline, #EBECF0) !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-toolbar:last-of-type {
	padding-top: var(--pi-space-100, 8px) !important;
	padding-bottom: var(--pi-space-100, 8px) !important;
	border-top: 1px solid var(--pi-border-hairline, #EBECF0) !important;
}


:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treecell-content {
	font-family: var(--pi-font-family) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	line-height: var(--pi-line-height-base, 1.4) !important;
	padding: var(--pi-space-75, 6px) var(--pi-space-100, 8px) !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	display: flex !important;
	align-items: center !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treecell-content > .z-tree-line,
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treecell-content > .z-tree-icon {
	flex: 0 0 auto !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treecell-text {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treecell {
	border-top: none !important;
	background: transparent !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treerow:not(.z-treerow-selected):hover .z-treecell-content {
	background: var(--pi-bg-hover, #F1F2F4) !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treerow.z-treerow-selected .z-treecell-content,
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treerow-focus .z-treecell-content {
	background: var(--pi-bg-selected, #E9F2FF) !important;
	font-weight: var(--pi-font-weight-semibold, 600) !important;
	box-shadow: inset 2px 0 0 0 var(--pi-border-selected, #0C66E4) !important;
}

:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-tree-icon {
	color: var(--pi-icon-subtle, #626F86) !important;
	opacity: 1 !important;
	font-size: 14px !important;
}


:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treecell[style*="color: #000000" i],
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treecell[style*="color:#000000" i],
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treecell[style*="rgb(0, 0, 0)"],
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-tree .z-treecell[style*="rgb(0,0,0)"] {
	color: var(--pi-text-default, #172B4D) !important;
}


:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-toolbar .z-toolbarbutton {
	color: var(--pi-text-subtle, #44546F) !important;
	font-size: var(--pi-font-size-100, 13px) !important;
	font-weight: var(--pi-font-weight-medium, 500) !important;
	padding: var(--pi-space-50, 4px) var(--pi-space-100, 8px) !important;
	border: 1px solid transparent !important;
	border-radius: var(--pi-radius-sm, 3px) !important;
	cursor: pointer !important;
}

:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-toolbar .z-toolbarbutton:hover {
	background: var(--pi-bg-hover, #F1F2F4) !important;
	color: var(--pi-text-default, #172B4D) !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-toolbar .z-toolbarbutton.z-toolbarbutton-checked {
	background: var(--pi-bg-selected, #E9F2FF) !important;
	color: var(--pi-text-brand, #0C66E4) !important;
	border-color: var(--pi-border-selected, #0C66E4) !important;
}
:is(.adtab-form-borderlayout .z-west, [instanceName="treepanel"]) .z-toolbar .z-toolbarbutton:focus-visible {
	box-shadow: 0 0 0 2px var(--pi-border-focused, #388BFF) !important;
	outline: none !important;
}






/* =========================================================================
   0. GLYPHS
   An icon is an inline SVG painted through a CSS mask and tinted with
   currentColor, so it inherits the colour of whatever carries it and never
   needs a coloured raster or a font glyph. 24 viewBox, 2px round stroke —
   the same drawing as custom.css.dsp's z-icon set, so one concept is one
   glyph everywhere. Put `pi-ico pi-ico-<name>` on the element (e.g. a
   .pi-btn); see design-system/icons/ICONS.md before adding a new one.
   ========================================================================= */

.pi-ico-refresh { --pi-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 12a8 8 0 1 1-2.3-5.6'/><path d='M20 4v4h-4'/></svg>"); }

.pi-ico::before {
  content: "";
  display: inline-block;
  flex: none;
  width: var(--pi-space-200);
  height: var(--pi-space-200);
  background-color: currentColor;
  -webkit-mask: var(--pi-ico) no-repeat center / contain;
          mask: var(--pi-ico) no-repeat center / contain;
}

/* Glyphs as custom properties, so a screen fragment can pick one per state in CSS
   (e.g. the header sign-off pills) without Java naming an icon. */
:root {
  --pi-glyph-check:   url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>");
  --pi-glyph-clock:   url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8.5'/><path d='M12 7.5v5l3 2'/></svg>");
  --pi-glyph-close:   url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M7 7l10 10M17 7L7 17'/></svg>");
  --pi-glyph-circle:  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8'/></svg>");
  --pi-glyph-chevron-right: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M10 7l5 5-5 5'/></svg>");
}
.pi-ico-check         { --pi-ico: var(--pi-glyph-check); }
.pi-ico-clock         { --pi-ico: var(--pi-glyph-clock); }
.pi-ico-close         { --pi-ico: var(--pi-glyph-close); }
.pi-ico-circle        { --pi-ico: var(--pi-glyph-circle); }
.pi-ico-chevron-right { --pi-ico: var(--pi-glyph-chevron-right); }

/* Text for screen readers only: present in the page, never painted. */
.pi-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* =========================================================================
   1. PAGE SCAFFOLD
   A screen is: a page, an optional toolbar/filter row, then its content.
   ========================================================================= */

.pi-page {
  box-sizing: border-box;
  background: var(--pi-bg-default);
  color: var(--pi-text-default);
  font-family: var(--pi-font-family);
  font-size: var(--pi-font-size-100);
  line-height: var(--pi-line-height-base);
}
/* A screen built as an ADForm renders as a ZK window, and a ZK Borderlayout
   inside it renders bordered grey panels. Flatten both so a .pi-page is one
   white surface. Repeats .z-window / the ZK region classes to beat
   custom.css.dsp's app-wide rules, which are !important. */
.pi-page.z-window,
.pi-page > .z-window-content,
.pi-page .z-borderlayout,
.pi-page .z-north,
.pi-page .z-center,
.pi-page .z-north-body,
.pi-page .z-center-body {
  background: var(--pi-bg-default) !important;
  border: none !important;
}
.pi-page > .z-window-content {
  padding: 0 !important;
  overflow: hidden !important;
}
/* The screen's own root element inside that window: a full-height flex column,
   so a grid in the body grows and shrinks with the window (vflex) instead of
   overflowing it. Gutters come from -top / -body, not from here. */
.pi-page-root {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* Top band of a page: the filter card / toolbar sits here. It keeps its own
   height inside a .pi-page-root column — only the body below it flexes. */
.pi-page-top {
  flex: none;
  padding: var(--pi-space-250) var(--pi-space-300) 0 var(--pi-space-300);
}
/* Content band. -fill makes it a flex column so a grid inside can vflex. */
.pi-page-body {
  padding: 0 var(--pi-space-300) var(--pi-space-300) var(--pi-space-300);
}
.pi-page-body-fill {
  box-sizing: border-box;
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0 var(--pi-space-300) var(--pi-space-300) var(--pi-space-300);
}

/* Section heading with a rule under it — the ADS field-group header. */
.pi-section {
  margin: var(--pi-space-300) 0 var(--pi-space-150) 0;
  padding-bottom: var(--pi-space-75);
  border-bottom: 1px solid var(--pi-border-subtle);
}
.pi-section-label {
  font-size: var(--pi-font-size-75);
  font-weight: var(--pi-font-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pi-text-subtle);
}
/* Title above a list or inside a card header. */
.pi-section-title {
  font-size: var(--pi-font-size-200);
  font-weight: var(--pi-font-weight-semibold);
  color: var(--pi-text-default);
}
.pi-caption {
  font-size: var(--pi-font-size-75);
  font-weight: var(--pi-font-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pi-text-subtle);
}
.pi-hint {
  display: block;
  font-size: var(--pi-font-size-75);
  line-height: var(--pi-line-height-base);
  color: var(--pi-text-subtle);
}
.pi-muted {
  font-size: var(--pi-font-size-75);
  color: var(--pi-text-subtle);
}

/* Page toolbar: view options on the left, actions on the right, primary last.
   The end group stays right-aligned even when the start group is empty. */
.pi-toolbar {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--pi-space-150);
  margin-bottom: var(--pi-space-200);
}
.pi-toolbar-start {
  display: flex;
  align-items: center;
  gap: var(--pi-space-150);
  min-width: 0;
}
.pi-toolbar-end {
  display: flex;
  align-items: center;
  gap: var(--pi-space-100);
  margin-left: auto;
}

/* =========================================================================
   2. BUTTONS
   Five appearances, three sizes. Primary is the one action a screen is for;
   there is never more than one primary in a row.
   ========================================================================= */

.pi-btn,
.pi-btn.z-button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--pi-space-50) !important;
  min-height: var(--pi-space-400) !important;
  padding: var(--pi-space-75) var(--pi-space-150) !important;
  border: 1px solid transparent !important;
  border-radius: var(--pi-radius-md) !important;
  background: transparent !important;
  color: var(--pi-text-default) !important;
  font-family: var(--pi-font-family) !important;
  font-size: var(--pi-font-size-100) !important;
  font-weight: var(--pi-font-weight-medium) !important;
  line-height: var(--pi-line-height-snug) !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: background var(--pi-duration-fast) var(--pi-ease-standard),
              border-color var(--pi-duration-fast) var(--pi-ease-standard);
}
.pi-btn:focus-visible,
.pi-btn.z-button:focus-visible {
  outline: 2px solid var(--pi-border-focused) !important;
  outline-offset: 2px !important;
}
.pi-btn:disabled,
.pi-btn.z-button[disabled],
.pi-btn.z-button.z-button-disabled {
  background: var(--pi-bg-neutral) !important;
  border-color: transparent !important;
  color: var(--pi-text-disabled) !important;
  cursor: not-allowed !important;
}

/* sizes — md is the default set above */
.pi-btn-sm,
.pi-btn-sm.z-button {
  min-height: var(--pi-space-300) !important;
  padding: var(--pi-space-25) var(--pi-space-100) !important;
  font-size: var(--pi-font-size-75) !important;
}
.pi-btn-lg,
.pi-btn-lg.z-button {
  min-height: var(--pi-space-600) !important;
  padding: var(--pi-space-100) var(--pi-space-250) !important;
}

/* appearances */
.pi-btn-primary,
.pi-btn-primary.z-button {
  background: var(--pi-bg-brand) !important;
  border-color: var(--pi-bg-brand) !important;
  color: var(--pi-text-inverse) !important;
}
.pi-btn-primary:hover:not(:disabled),
.pi-btn-primary.z-button:hover:not([disabled]) {
  background: var(--pi-bg-brand-hover) !important;
  border-color: var(--pi-bg-brand-hover) !important;
}
.pi-btn-secondary,
.pi-btn-secondary.z-button {
  background: var(--pi-bg-default) !important;
  border-color: var(--pi-border-default) !important;
  color: var(--pi-text-default) !important;
}
.pi-btn-secondary:hover:not(:disabled),
.pi-btn-secondary.z-button:hover:not([disabled]) {
  background: var(--pi-bg-sunken) !important;
}
.pi-btn-subtle,
.pi-btn-subtle.z-button {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--pi-text-subtle) !important;
}
.pi-btn-subtle:hover:not(:disabled),
.pi-btn-subtle.z-button:hover:not([disabled]) {
  background: var(--pi-bg-hover) !important;
  color: var(--pi-text-default) !important;
}
.pi-btn-danger,
.pi-btn-danger.z-button {
  background: var(--pi-text-danger) !important;
  border-color: var(--pi-text-danger) !important;
  color: var(--pi-text-inverse) !important;
}
.pi-btn-danger:hover:not(:disabled),
.pi-btn-danger.z-button:hover:not([disabled]) {
  background: var(--pi-red-c9372c) !important;
  border-color: var(--pi-red-c9372c) !important;
}
/* ADS warning appearance: dark label on bold yellow (9.2:1; hover 7.1:1). White on
   any orange/yellow fill fails 4.5, so the label stays --pi-text-default. */
.pi-btn-warning,
.pi-btn-warning.z-button {
  background: var(--pi-bg-warning-bold) !important;
  border-color: var(--pi-bg-warning-bold) !important;
  color: var(--pi-text-default) !important;
}
.pi-btn-warning:hover:not(:disabled),
.pi-btn-warning.z-button:hover:not([disabled]) {
  background: var(--pi-bg-warning-bold-hover) !important;
  border-color: var(--pi-bg-warning-bold-hover) !important;
}
.pi-btn-link,
.pi-btn-link.z-button {
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-color: transparent !important;
  color: var(--pi-link-default) !important;
}
.pi-btn-link:hover:not(:disabled),
.pi-btn-link.z-button:hover:not([disabled]) {
  color: var(--pi-link-hover) !important;
  text-decoration: underline !important;
}
/* Selected/pressed state of a toggle button. */
.pi-btn-selected,
.pi-btn-selected.z-button {
  background: var(--pi-bg-selected) !important;
  border-color: var(--pi-border-selected) !important;
  color: var(--pi-text-brand) !important;
}
/* Icon-only button: square, glyph centred, tooltip carries the name. gap is
   cleared because the empty label span would otherwise push the glyph off centre. */
.pi-btn-icon,
.pi-btn-icon.z-button {
  width: var(--pi-space-400) !important;
  padding: 0 !important;
  gap: 0 !important;
}
.pi-btn-group {
  display: inline-flex;
  align-items: center;
  gap: var(--pi-space-100);
}

/* =========================================================================
   3. FIELDS
   Label above the control (filter bars, dialogs) or label beside it (window
   forms). One 32px box, one border, one focus treatment, everywhere.
   ========================================================================= */

/* Label-above field. */
.pi-field {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-50);
  min-width: 0;
}
.pi-label {
  font-size: var(--pi-font-size-75);
  font-weight: var(--pi-font-weight-semibold);
  line-height: var(--pi-line-height-snug);
  color: var(--pi-text-subtle);
}
/* A trailing "*" on a required field's label. */
.pi-field-required {
  font-size: var(--pi-font-size-75);
  font-weight: var(--pi-font-weight-semibold);
  color: var(--pi-text-danger);
}
/* Label-beside field — the window-form row. */
.pi-form-row {
  display: flex;
  align-items: center;
  gap: var(--pi-space-150);
  margin-bottom: var(--pi-space-150);
}
.pi-form-label {
  flex: none;
  width: calc(var(--pi-space-800) * 2.5);
  font-size: var(--pi-font-size-100);
  font-weight: var(--pi-font-weight-medium);
  line-height: var(--pi-line-height-snug);
  color: var(--pi-text-subtle);
}

/* The box. One rule for the plain input, the ZK textbox and the ZK select. */
.pi-input,
.pi-input.z-textbox,
.pi-select,
.pi-select.z-select,
.pi-textarea,
.pi-textarea.z-textarea {
  box-sizing: border-box !important;
  min-height: var(--pi-space-400) !important;
  padding: var(--pi-space-75) var(--pi-space-100) !important;
  border: 1px solid var(--pi-border-default) !important;
  border-radius: var(--pi-radius-md) !important;
  background-color: var(--pi-bg-default) !important;
  color: var(--pi-text-default) !important;
  font-family: var(--pi-font-family) !important;
  font-size: var(--pi-font-size-100) !important;
  line-height: var(--pi-line-height-base) !important;
  box-shadow: none !important;
}
.pi-input::placeholder,
.pi-textarea::placeholder {
  color: var(--pi-text-disabled) !important;
}
.pi-input:hover,
.pi-select:hover,
.pi-textarea:hover {
  background-color: var(--pi-bg-sunken) !important;
}
/* ADS focus = 2px focused border, field stays white (no filled highlight). */
.pi-input:focus,
.pi-select:focus,
.pi-textarea:focus {
  outline: none !important;
  background-color: var(--pi-bg-default) !important;
  border-color: var(--pi-border-focused) !important;
  box-shadow: inset 0 0 0 1px var(--pi-border-focused) !important;
}
.pi-input:disabled,
.pi-select:disabled,
.pi-textarea:disabled {
  background-color: var(--pi-bg-neutral) !important;
  color: var(--pi-text-disabled) !important;
}
.pi-input-error,
.pi-input[aria-invalid='true'] {
  border-color: var(--pi-border-danger) !important;
}
/* Read-only generated values the user copies (tokens, URLs, payloads). */
.pi-input-code,
.pi-input-code.z-textbox {
  font-family: var(--pi-font-mono) !important;
  font-size: var(--pi-font-size-75) !important;
  color: var(--pi-text-subtle) !important;
  background-color: var(--pi-bg-sunken) !important;
}
/* A field that fills its share of a row rather than keeping a set width. */
.pi-field > .pi-input,
.pi-field > .pi-select,
.pi-field > .pi-textarea {
  width: 100% !important;
}

/* Helper / error / valid line under a field. */
.pi-field-message {
  font-size: var(--pi-font-size-75);
  line-height: var(--pi-line-height-base);
  color: var(--pi-text-subtle);
}
.pi-field-message-error {
  color: var(--pi-text-danger);
}
.pi-field-message-valid {
  color: var(--pi-text-success);
}

.pi-checkbox {
  font-size: var(--pi-font-size-100);
  color: var(--pi-text-default);
}

/* =========================================================================
   4. CARDS
   ========================================================================= */

.pi-card {
  box-sizing: border-box;
  padding: var(--pi-space-300);
  background: var(--pi-bg-card);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-xl);
}
.pi-card-raised {
  box-shadow: var(--pi-shadow-raised);
}
.pi-card-header {
  display: flex;
  align-items: center;
  gap: var(--pi-space-150);
  margin-bottom: var(--pi-space-200);
}

/* Filter bar: label-above fields sharing the row, the screen's buttons at the end. */
.pi-filter-card {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--pi-space-150);
  margin-bottom: var(--pi-space-200);
  padding: var(--pi-space-150);
  background: var(--pi-bg-sunken);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
}
.pi-filter-card > .pi-field {
  flex: 1 1 0;
  min-width: calc(var(--pi-space-800) * 2.5);
}
/* A filter field that keeps its own set width instead of sharing the row. */
.pi-filter-card > .pi-field-fixed {
  flex: none;
  min-width: 0;
}
.pi-filter-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--pi-space-100);
  margin-left: auto;
}

/* A card that exists to frame a table and grow with the window. */
.pi-grid-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

/* KPI tile. */
.pi-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pi-space-150);
  margin-bottom: var(--pi-space-200);
}
.pi-kpi-row-fill > .pi-kpi-card {
  flex: 1 1 0;
}
.pi-kpi-card {
  box-sizing: border-box;
  padding: var(--pi-space-150) var(--pi-space-200);
  background: var(--pi-bg-card);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
}
.pi-kpi-label {
  display: block;
  font-size: var(--pi-font-size-75);
  color: var(--pi-text-subtle);
}
.pi-kpi-value {
  display: block;
  font-size: var(--pi-font-size-metric);
  font-weight: var(--pi-font-weight-bold);
  line-height: var(--pi-line-height-tight);
  color: var(--pi-text-default);
}
.pi-kpi-value-brand      { color: var(--pi-text-brand); }
.pi-kpi-value-success    { color: var(--pi-text-success); }
.pi-kpi-value-warning    { color: var(--pi-text-warning); }
.pi-kpi-value-danger     { color: var(--pi-text-danger); }
.pi-kpi-value-information{ color: var(--pi-text-information); }
.pi-kpi-value-discovery  { color: var(--pi-text-discovery); }

/* =========================================================================
   5. LOZENGES / BADGES
   A status is a lozenge. Never a coloured word, never a coloured row.
   ========================================================================= */

.pi-badge {
  display: inline-block;
  padding: var(--pi-space-25) var(--pi-space-100);
  border-radius: var(--pi-radius-sm);
  font-size: var(--pi-font-size-50);
  font-weight: var(--pi-font-weight-bold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--pi-bg-neutral);
  color: var(--pi-text-subtle);
}
.pi-badge-pill {
  border-radius: var(--pi-radius-full);
}
/* intents */
.pi-badge-success     { background: var(--pi-bg-success);   color: var(--pi-text-success); }
.pi-badge-warning     { background: var(--pi-bg-warning);   color: var(--pi-text-warning); }
.pi-badge-danger      { background: var(--pi-bg-danger);    color: var(--pi-text-danger); }
.pi-badge-information { background: var(--pi-bg-selected);  color: var(--pi-text-information); }
.pi-badge-discovery   { background: var(--pi-bg-discovery); color: var(--pi-text-discovery); }
/* Bold "New" lozenge: white on solid purple, 5.2:1 (ADS discovery bold). */
.pi-badge-discovery-bold { background: var(--pi-bg-discovery-bold); color: var(--pi-text-inverse); }
.pi-badge-neutral     { background: var(--pi-bg-neutral);   color: var(--pi-text-subtle); }
/* document / work-order statuses, mapped onto those intents */
.pi-badge-draft       { background: var(--pi-bg-neutral);   color: var(--pi-text-subtle); }
.pi-badge-pending     { background: var(--pi-bg-warning);   color: var(--pi-text-warning); }
.pi-badge-in-progress { background: var(--pi-bg-selected);  color: var(--pi-text-information); }
.pi-badge-review      { background: var(--pi-bg-discovery); color: var(--pi-text-discovery); }
.pi-badge-approved    { background: var(--pi-badge-approved-bg); color: var(--pi-text-success); }
.pi-badge-completed   { background: var(--pi-bg-success);   color: var(--pi-text-success); }
.pi-badge-escalated   { background: var(--pi-badge-escalated-bg); color: var(--pi-badge-escalated-text); }
.pi-badge-rejected    { background: var(--pi-bg-danger);    color: var(--pi-text-danger); }
.pi-badge-cancelled   { background: var(--pi-bg-neutral);   color: var(--pi-text-subtle); }
.pi-badge-overdue     { background: var(--pi-wos-overdue-bg); color: var(--pi-wos-overdue-text); }

/* Status dot, where a row has no room for a lozenge. */
.pi-dot {
  display: inline-block;
  width: var(--pi-space-100);
  height: var(--pi-space-100);
  border-radius: var(--pi-radius-full);
  background: var(--pi-text-subtle);
}
.pi-dot-success { background: var(--pi-text-success); }
.pi-dot-warning { background: var(--pi-text-warning); }
.pi-dot-danger  { background: var(--pi-text-danger); }
.pi-dot-neutral { background: var(--pi-text-disabled); }

/* Prose: text written by people and shown as HTML (release notes rendered from a safe Markdown subset:
   headings, paragraphs, lists, bold, italic, links). Body text, tight vertical rhythm. */
.pi-prose {
  font-size: var(--pi-font-size-200);
  line-height: var(--pi-line-height-base);
  color: var(--pi-text-default);
}
.pi-prose h3,
.pi-prose h4,
.pi-prose h5,
.pi-prose h6 {
  margin: var(--pi-space-200) 0 var(--pi-space-75) 0;
  font-weight: var(--pi-font-weight-semibold);
  line-height: var(--pi-line-height-snug);
  color: var(--pi-text-default);
}
.pi-prose h3 { font-size: var(--pi-font-size-300); }
.pi-prose h4 { font-size: var(--pi-font-size-200); }
.pi-prose h5,
.pi-prose h6 { font-size: var(--pi-font-size-100); color: var(--pi-text-subtle); }
.pi-prose > :first-child { margin-top: 0; }
.pi-prose p { margin: 0 0 var(--pi-space-100) 0; }
.pi-prose ul,
.pi-prose ol { margin: 0 0 var(--pi-space-100) 0; padding-left: var(--pi-space-300); }
.pi-prose li { margin: 0 0 var(--pi-space-50) 0; }
.pi-prose strong { font-weight: var(--pi-font-weight-semibold); }
.pi-prose a { color: var(--pi-link-default); text-decoration: underline; }
.pi-prose a:hover { color: var(--pi-link-hover); }

/* =========================================================================
   6. MESSAGES
   ========================================================================= */

/* One-line inline status under a form or beside a button. */
.pi-message {
  display: block;
  padding: var(--pi-space-100) var(--pi-space-150);
  border-radius: var(--pi-radius-md);
  font-size: var(--pi-font-size-75);
  line-height: var(--pi-line-height-base);
}
.pi-message-success     { background: var(--pi-bg-success);   color: var(--pi-text-success); }
.pi-message-warning     { background: var(--pi-bg-warning);   color: var(--pi-text-warning); }
.pi-message-danger      { background: var(--pi-bg-danger);    color: var(--pi-text-danger); }
.pi-message-information { background: var(--pi-bg-selected);  color: var(--pi-text-information); }

/* Banner with a title line and a body line. */
.pi-section-message {
  padding: var(--pi-space-150) var(--pi-space-200);
  border-radius: var(--pi-radius-lg);
  background: var(--pi-bg-selected);
}
.pi-section-message-warning { background: var(--pi-bg-warning); }
.pi-section-message-danger  { background: var(--pi-bg-danger); }
.pi-section-message-success { background: var(--pi-bg-success); }
.pi-section-message-title {
  display: block;
  font-size: var(--pi-font-size-100);
  font-weight: var(--pi-font-weight-semibold);
  color: var(--pi-text-default);
}
.pi-section-message-body {
  display: block;
  font-size: var(--pi-font-size-75);
  line-height: var(--pi-line-height-base);
  color: var(--pi-text-subtle);
}

/* text tones, for a value a screen already colours by meaning */
.pi-text-success { color: var(--pi-text-success); }
.pi-text-warning { color: var(--pi-text-warning); }
.pi-text-danger  { color: var(--pi-text-danger); }
.pi-text-subtle  { color: var(--pi-text-subtle); }

/* =========================================================================
   7. TABLES
   .pi-table for an HTML table, .pi-grid for a ZK Listbox. Same look: light
   blue header band, hairline row dividers, no zebra striping.
   ========================================================================= */

.pi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--pi-font-size-100);
}
.pi-table th {
  padding: var(--pi-space-100) var(--pi-space-150);
  background: var(--pi-bg-selected);
  border-bottom: 1px solid var(--pi-border-default);
  color: var(--pi-text-subtle);
  font-size: var(--pi-font-size-75);
  font-weight: var(--pi-font-weight-semibold);
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
}
.pi-table td {
  padding: var(--pi-space-100) var(--pi-space-150);
  border-bottom: 1px solid var(--pi-border-hairline);
  color: var(--pi-text-default);
}
.pi-table tbody tr:hover { background: var(--pi-bg-hover); }
.pi-table tbody tr.pi-selected { background: var(--pi-bg-selected); }

.pi-grid.z-listbox {
  border: 1px solid var(--pi-border-subtle) !important;
  border-radius: var(--pi-radius-lg) !important;
  background: var(--pi-bg-card) !important;
}
.pi-grid.z-listbox .z-listheader,
.pi-grid.z-listbox .z-listbox-header {
  background: var(--pi-bg-selected) !important;
  border-bottom: 1px solid var(--pi-border-default) !important;
}
.pi-grid.z-listbox .z-listheader-content {
  color: var(--pi-text-subtle) !important;
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}
.pi-grid.z-listbox .z-listitem > .z-listcell {
  background: var(--pi-bg-card) !important;
  border-bottom: 1px solid var(--pi-border-hairline) !important;
}
.pi-grid.z-listbox .z-listcell-content {
  padding: var(--pi-space-100) var(--pi-space-150) !important;
  color: var(--pi-text-default) !important;
  font-size: var(--pi-font-size-100) !important;
}
/* cell treatments */
.pi-grid.z-listbox .pi-cell-strong > .z-listcell-content { font-weight: var(--pi-font-weight-semibold) !important; }
.pi-grid.z-listbox .pi-cell-mono   > .z-listcell-content { font-family: var(--pi-font-mono) !important; font-size: var(--pi-font-size-75) !important; }
.pi-grid.z-listbox .pi-cell-brand  > .z-listcell-content { color: var(--pi-text-brand) !important; }
.pi-grid.z-listbox .pi-cell-empty  > .z-listcell-content { color: var(--pi-text-disabled) !important; }
/* The grid fills its card and scrolls inside it, so the header band stays put
   and the card keeps its rounded frame at any window height. */
.pi-grid.z-listbox {
  overflow: hidden;
}
.pi-grid-card > .pi-grid.z-listbox {
  flex: 1;
  min-height: 0;
}
/* Columns stay user-resizable, but hovering or dragging a header must not
   repaint the band or drop a vertical rule between columns. */
.pi-grid.z-listbox .z-listbox-header,
.pi-grid.z-listbox .z-listbox-header-border,
.pi-grid.z-listbox .z-listheader:hover,
.pi-grid.z-listbox .z-listheader.z-listheader-hover {
  background: var(--pi-bg-selected) !important;
  box-shadow: none !important;
}
.pi-grid.z-listbox .z-listheader,
.pi-grid.z-listbox .z-listitem > .z-listcell {
  border-left-color: transparent !important;
}
.pi-grid.z-listbox .z-listheader-content {
  white-space: nowrap;
}
/* A long value ellipses instead of wrapping the row onto a second line; the
   cell's tooltip carries the full value. */
.pi-grid.z-listbox .z-listcell-content {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pi-grid.z-listbox .z-listitem:not(.pi-grid-empty):hover > .z-listcell {
  background: var(--pi-bg-hover) !important;
}
/* An empty footer row is structure a form keeps for later; it must not draw a
   grey band across the bottom of the card. */
.pi-grid.z-listbox .z-listfoot,
.pi-grid.z-listbox .z-listfooter {
  background: var(--pi-bg-card) !important;
  border-top: none !important;
}
/* A number a grid reads by meaning (a health score): same value, intent colour
   from a token. The row's status lozenge still carries the meaning in words. */
.pi-grid.z-listbox .pi-cell-tone > .z-listcell-content { font-weight: var(--pi-font-weight-semibold) !important; }
.pi-grid.z-listbox .pi-cell-tone-success > .z-listcell-content     { color: var(--pi-text-success) !important; }
.pi-grid.z-listbox .pi-cell-tone-warning > .z-listcell-content     { color: var(--pi-text-warning) !important; }
.pi-grid.z-listbox .pi-cell-tone-danger  > .z-listcell-content     { color: var(--pi-text-danger) !important; }
.pi-grid.z-listbox .pi-cell-tone-information > .z-listcell-content { color: var(--pi-text-information) !important; }
.pi-grid.z-listbox .pi-cell-tone-neutral > .z-listcell-content     { color: var(--pi-text-subtle) !important; }
/* The "nothing found" row a grid shows in place of data: one cell spanning the
   whole grid, so the message reads as a message and is not squeezed into the
   first column. */
.pi-grid.z-listbox .z-listitem.pi-grid-empty > .z-listcell {
  background: var(--pi-bg-card) !important;
  box-shadow: none !important;
}
.pi-grid.z-listbox .z-listitem.pi-grid-empty .z-listcell-content {
  padding: var(--pi-space-400) var(--pi-space-150) !important;
  color: var(--pi-text-subtle) !important;
  text-align: center;
  white-space: normal;
}
/* Helper line underneath a grid. */
.pi-grid-note {
  display: block;
  margin-top: var(--pi-space-75);
  font-size: var(--pi-font-size-75);
  line-height: var(--pi-line-height-base);
  color: var(--pi-text-subtle);
}

/* =========================================================================
   8. DIALOGS
   Header with the title and a close button, scrolling body, footer with the
   actions right-aligned and the primary last.
   ========================================================================= */

.pi-dialog.z-window {
  border: none !important;
  border-radius: var(--pi-radius-xl) !important;
  background: var(--pi-bg-card) !important;
  box-shadow: var(--pi-shadow-modal) !important;
}
.pi-dialog-md.z-window { width: var(--pi-modal-width-medium) !important; }
.pi-dialog-lg.z-window { width: var(--pi-modal-width-large) !important; }
.pi-dialog-header {
  display: flex;
  align-items: center;
  gap: var(--pi-space-150);
  padding: var(--pi-space-250) var(--pi-space-300) var(--pi-space-150) var(--pi-space-300);
}
.pi-dialog-title {
  font-size: var(--pi-font-size-300);
  font-weight: var(--pi-font-weight-semibold);
  color: var(--pi-text-default);
}
.pi-dialog-body {
  padding: 0 var(--pi-space-300);
  overflow-y: auto;
}
.pi-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--pi-space-100);
  padding: var(--pi-space-200) var(--pi-space-300) var(--pi-space-250) var(--pi-space-300);
}
/* A helper line the dialog shows at the start of its footer. */
.pi-dialog-footer-hint {
  margin-right: auto;
  font-size: var(--pi-font-size-75);
  color: var(--pi-text-subtle);
}

/* =========================================================================
   9. UTILITIES
   Deliberately few. A utility that encodes a look belongs in a component.
   ========================================================================= */

.pi-hidden { display: none !important; }
.pi-fill   { flex: 1; min-height: 0; }
.pi-row {
  display: flex;
  align-items: center;
  gap: var(--pi-space-100);
  min-width: 0;
}

/* =========================================================================
   10. ZK LABEL ADAPTATION
   A component class put on a ZK Label renders as `class="pi-x z-label"`, and
   theme.css.dsp's global [class*="z-"] font rule scores (0,3,0) — so a plain
   .pi-x (0,1,0) loses its type and, under custom.css.dsp's label rules, its
   colour. These repeat .z-label so the component wins where it is used on a
   Label; the values are the same tokens as the base class above.
   ========================================================================= */

.pi-section-title.z-label {
  font-size: var(--pi-font-size-200) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  color: var(--pi-text-default) !important;
}
.pi-caption.z-label,
.pi-section-label.z-label {
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  color: var(--pi-text-subtle) !important;
}
.pi-hint.z-label,
.pi-muted.z-label {
  font-size: var(--pi-font-size-75) !important;
  color: var(--pi-text-subtle) !important;
}
.pi-label.z-label,
.pi-form-label.z-label {
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  color: var(--pi-text-subtle) !important;
}
.pi-text-success.z-label { color: var(--pi-text-success) !important; }
.pi-text-warning.z-label { color: var(--pi-text-warning) !important; }
.pi-text-danger.z-label  { color: var(--pi-text-danger) !important; }
.pi-text-subtle.z-label  { color: var(--pi-text-subtle) !important; }

/* A lozenge on a Label: the pill is the label itself, so it must keep its own
   type and fill. Text-on-fill contrast: success 5.9:1, danger 5.8:1,
   warning 5.6:1, information 5.9:1, discovery 5.9:1, neutral 7.1:1. */
.pi-badge.z-label {
  display: inline-block;
  font-size: var(--pi-font-size-50) !important;
  font-weight: var(--pi-font-weight-bold) !important;
  line-height: var(--pi-line-height-base) !important;
}
.pi-badge-success.z-label     { color: var(--pi-text-success) !important; }
.pi-badge-warning.z-label     { color: var(--pi-text-warning) !important; }
.pi-badge-danger.z-label      { color: var(--pi-text-danger) !important; }
.pi-badge-information.z-label { color: var(--pi-text-information) !important; }
.pi-badge-discovery.z-label   { color: var(--pi-text-discovery) !important; }
.pi-badge-discovery-bold.z-label { color: var(--pi-text-inverse) !important; }
.pi-badge-neutral.z-label     { color: var(--pi-text-subtle) !important; }



/* ============================================================================
   PiEdge — Atlassian Design System restyle. Owns every visual value for the
   pe-* classes PiEdgeUx sets. Reference: design-system/piedge/GOAL_SCREENS.md.

   Three rules to keep in mind when editing:
   - Loads AFTER custom.css.dsp so these pe-*-scoped rules win at equal
     specificity; selectors repeat the ZK class (.pe-btn.z-button) to clear
     theme.css.dsp's global [class*="z-"] font rule.
   - Never !important on `display` — ZK's setVisible() hides inline.
   - No raw hex or px; every value is a --pi-* token (_tokens.css.dsp).
   ========================================================================== */

/* ---------- glyphs ----------------------------------------------------------
   One mask SVG per concept, built like custom.css.dsp's z-icon set (24 viewBox,
   2px round stroke, currentColor); shared concepts reuse those exact paths. */
.pe-ico-refresh  { --pe-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 12a8 8 0 1 1-2.3-5.6'/><path d='M20 4v4h-4'/></svg>"); }
.pe-ico-download { --pe-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4v9M8.5 9.5l3.5 3.5 3.5-3.5'/><path d='M5 15v4h14v-4'/></svg>"); }
.pe-ico-upload   { --pe-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4v11'/><path d='M8 8l4-4 4 4'/><path d='M5 14v5h14v-5'/></svg>"); }
.pe-ico-close    { --pe-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 6l12 12M18 6L6 18'/></svg>"); }
.pe-grid-group-label { --pe-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-6-5.4-6-11a6 6 0 0 1 12 0c0 5.6-6 11-6 11z'/><circle cx='12' cy='10' r='2.5'/></svg>"); }

.pe-ico::before,
.pe-grid-group-label::before {
  content: "";
  display: inline-block;
  flex: none;
  width: var(--pi-space-200);
  height: var(--pi-space-200);
  background-color: currentColor;
  -webkit-mask: var(--pe-ico) no-repeat center / contain;
          mask: var(--pe-ico) no-repeat center / contain;
}

/* ---------- page shell -----------------------------------------------------
   PiEdge screens are white like core PiERP windows (not the sunken desktop grey).
   Borderlayout regions default to ZK's bordered grey chrome — flatten them. */
.pe-page.z-window,
.pe-page > .z-window-content,
.pe-page .z-borderlayout,
.pe-page .z-north,
.pe-page .z-center,
.pe-page .z-north-body,
.pe-page .z-center-body {
  background: var(--pi-bg-default) !important;
  border: none !important;
}
.pe-page > .z-window-content {
  padding: 0 !important;
}
.pe-page-top {
  padding: var(--pi-space-250) var(--pi-space-300) 0 var(--pi-space-300);
}
.pe-page-body {
  padding: 0 var(--pi-space-300) var(--pi-space-300) var(--pi-space-300);
}
/* Center body that fills its region as a flex column (toolbar + grid card) so the grid
   grows and shrinks with the window via vflex — Sensor Type Catalog, Telemetry Routing Rules. */
.pe-page-body-fill {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 var(--pi-space-300) var(--pi-space-300) var(--pi-space-300);
  overflow: hidden;
}
/* A form's always-hidden element (Sensor Payload Schema's reserved Center child, Fleet
   Overview's map-click textbox). Never toggled with setVisible, so !important is safe and
   beats app-wide .z-window .z-textbox rules. */
.pe-hidden {
  display: none !important;
}

/* Tab-based PiEdge screens (Gateway / Sensor Onboarding): the form's root Div fills
   the window as a flex column; the tabbox wrapper takes the remaining height so each
   tab's grid can grow and shrink with the window (vflex). */
.pe-page-fill.z-window,
.pe-page-fill > .z-window-content {
  padding: 0 !important;
  overflow: hidden !important;
}
.pe-page-root {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--pi-space-150) var(--pi-space-300) var(--pi-space-200) var(--pi-space-300);
  background: var(--pi-bg-default);
  overflow: hidden;
}
.pe-fill {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
/* The tab strip itself keeps custom.css.dsp's app-wide ADS tab treatment
   (.desktop-tabpanel .z-div > .z-tabbox) — only the panels are flattened here. */
.pe-tabbox .z-tabpanels,
.pe-tabbox .z-tabpanel {
  background: var(--pi-bg-default) !important;
  border: none !important;
}
.pe-tabpanel.z-tabpanel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--pi-space-200) 0 0 0 !important;
  overflow: hidden;
}
.pe-tabpanel.pe-tabpanel-scroll.z-tabpanel {
  display: block;
  overflow-y: auto;
}
/* A body whose bottom gutter is supplied by the row beneath it (the pager). */
.pe-page-body-flush {
  padding-bottom: 0;
}
.pe-grid-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

/* Page toolbar above the filters (ADS): view options left, actions right with the
   primary last. The end group stays right-aligned even when the start group is
   empty, and a control appearing on the left never moves the right-hand buttons. */
.pe-toolbar {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pi-space-150);
  margin-bottom: var(--pi-space-150);
}
.pe-toolbar-start,
.pe-toolbar-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pi-space-150);
}
.pe-toolbar-end {
  gap: var(--pi-space-100);
  margin-left: auto;
  justify-content: flex-end;
}

/* A heading the screen already shows above a list ("Discovered Devices (last 5 min)"). */
.pe-section-title.z-label {
  font-size: var(--pi-font-size-200) !important;
  font-weight: var(--pi-font-weight-bold) !important;
  line-height: var(--pi-line-height-snug) !important;
  color: var(--pi-text-default) !important;
}

/* A caption the screen already shows above a grid ("DECODE SCHEMA  — byte-to-field …").
   No text-transform: the text keeps its own mixed case; pre-wrap keeps its double spaces. */
.pe-caption.z-label {
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  letter-spacing: 0.04em !important;
  line-height: var(--pi-line-height-snug) !important;
  color: var(--pi-text-subtle) !important;
  white-space: pre-wrap;
}

/* ADS section message — a screen's existing banner (Telemetry Routing Rules warning):
   tinted surface, left accent in the intent colour, dark title + body.
   text-default on bg-warning is 13:1; the icon-warning accent is 3.1:1 (non-text). */
.pe-section-message {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-25);
  margin-bottom: var(--pi-space-200);
  padding: var(--pi-space-150) var(--pi-space-200);
  border-left: var(--pi-space-50) solid transparent;
  border-radius: var(--pi-radius-md);
}
.pe-section-message-warning {
  background: var(--pi-bg-warning);
  border-left-color: var(--pi-icon-warning);
}
.pe-section-message-title.z-label {
  font-size: var(--pi-font-size-100) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  line-height: var(--pi-line-height-snug) !important;
  color: var(--pi-text-default) !important;
}
.pe-section-message-body.z-label {
  font-size: var(--pi-font-size-75) !important;
  line-height: var(--pi-line-height-base) !important;
  color: var(--pi-text-default) !important;
}

/* KPI tiles (Total Rules · Active · Disabled · Sensor Types): white card, subtle title,
   large value in the tile's tone with a matching top accent — the same four-colour cue
   the screen had, on ADS tokens. Every tone's value text is ≥ 4.5:1 on white. */
.pe-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pi-space-150);
  margin-bottom: var(--pi-space-200);
}
.pe-kpi {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-50);
  min-width: calc(var(--pi-space-800) * 2.5);
  padding: var(--pi-space-150) var(--pi-space-200);
  background: var(--pi-bg-default);
  border: 1px solid var(--pi-border-subtle);
  border-top: var(--pi-space-25) solid var(--pe-kpi-accent);
  border-radius: var(--pi-radius-lg);
}
.pe-kpi-brand     { --pe-kpi-accent: var(--pi-icon-brand);       --pe-kpi-text: var(--pi-text-brand); }
.pe-kpi-success   { --pe-kpi-accent: var(--pi-text-success);     --pe-kpi-text: var(--pi-text-success); }
.pe-kpi-warning   { --pe-kpi-accent: var(--pi-icon-warning);     --pe-kpi-text: var(--pi-text-warning); }
.pe-kpi-discovery { --pe-kpi-accent: var(--pi-border-discovery); --pe-kpi-text: var(--pi-text-discovery); }
.pe-kpi-title.z-label {
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-medium) !important;
  line-height: var(--pi-line-height-snug) !important;
  color: var(--pi-text-subtle) !important;
}
.pe-kpi-value.z-label {
  font-size: var(--pi-font-size-500) !important;
  font-weight: var(--pi-font-weight-bold) !important;
  line-height: var(--pi-line-height-tight) !important;
  color: var(--pe-kpi-text) !important;
}

/* ---------- buttons --------------------------------------------------------
   ADS button: 32px, 4px radius, 13px medium label, optional 16px leading glyph.
   custom.css.dsp's generic ".desktop-tabpanel .z-div > .z-button" grey rule
   excludes .pe-btn (edited there) so these are the only button styles in play. */
.pe-btn.z-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--pi-space-75);
  box-sizing: border-box !important;
  height: var(--pi-space-400) !important;
  min-height: var(--pi-space-400) !important;
  margin: 0 !important;
  padding: 0 var(--pi-space-150) !important;
  border: 1px solid transparent !important;
  border-radius: var(--pi-radius-md) !important;
  font-size: var(--pi-font-size-100) !important;
  font-weight: var(--pi-font-weight-medium) !important;
  line-height: 1 !important;
  white-space: nowrap;
  text-shadow: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer !important;
  transition: background-color var(--pi-duration-fast) var(--pi-ease-standard);
}
.pe-btn.z-button:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 2px var(--pi-border-focused) !important;
}

.pe-btn-primary.z-button {
  background: var(--pi-bg-brand) !important;
  color: var(--pi-text-inverse) !important;
}
.pe-btn-primary.z-button:hover,
.pe-btn-primary.z-button:active {
  background: var(--pi-bg-brand-hover) !important;
  color: var(--pi-text-inverse) !important;
}

.pe-btn-secondary.z-button {
  background: var(--pi-bg-default) !important;
  border-color: var(--pi-border-default) !important;
  color: var(--pi-text-default) !important;
}
.pe-btn-secondary.z-button:hover {
  background: var(--pi-bg-hover) !important;
  color: var(--pi-text-default) !important;
}
.pe-btn-secondary.z-button:active {
  background: var(--pi-bg-selected) !important;
  border-color: var(--pi-border-selected) !important;
  color: var(--pi-text-brand) !important;
}

/* White on --pi-red-c9372c is 5.0:1; the brighter --pi-status-danger-bold fails 4.5. */
.pe-btn-danger.z-button {
  background: var(--pi-red-c9372c) !important;
  color: var(--pi-text-inverse) !important;
}
.pe-btn-danger.z-button:hover,
.pe-btn-danger.z-button:active {
  background: var(--pi-text-danger) !important;
  color: var(--pi-text-inverse) !important;
}

.pe-btn-subtle.z-button {
  background: transparent !important;
  color: var(--pi-text-default) !important;
}
.pe-btn-subtle.z-button:hover {
  background: var(--pi-bg-hover) !important;
}
.pe-btn-subtle.z-button:active {
  background: var(--pi-bg-neutral) !important;
}

/* In-cell link action (Sensor Type Catalog "✓ N fields" → schema popup): text only. */
.pe-btn-link.z-button {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  color: var(--pi-link-default) !important;
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-medium) !important;
}
.pe-btn-link.z-button:hover,
.pe-btn-link.z-button:active {
  background: transparent !important;
  color: var(--pi-link-hover) !important;
  text-decoration: underline;
}

/* Disabled look — only where the form itself disables a button (e.g. Push Firmware
   until a .zip is chosen, Push after a push completes). */
.pe-btn.z-button[disabled],
.pe-btn.z-button.z-button-disabled,
.pe-btn.z-button[disabled]:hover,
.pe-btn.z-button.z-button-disabled:hover {
  background: var(--pi-bg-neutral) !important;
  border-color: transparent !important;
  color: var(--pi-text-disabled) !important;
  cursor: not-allowed !important;
}

/* Compact size for actions inside grid rows (Acknowledge / Remove, Edit / Delete). */
.pe-btn-sm.z-button {
  height: calc(var(--pi-space-300) + var(--pi-space-50)) !important;
  min-height: calc(var(--pi-space-300) + var(--pi-space-50)) !important;
  padding: 0 var(--pi-space-100) !important;
  font-size: var(--pi-font-size-75) !important;
}

.pe-btn-icon.z-button {
  width: var(--pi-space-400) !important;
  padding: 0 !important;
  gap: 0;
  color: var(--pi-icon-default) !important;
}
.pe-btn-sm.pe-btn-icon.z-button {
  width: calc(var(--pi-space-300) + var(--pi-space-50)) !important;
}
.pe-btn-icon-danger.z-button {
  color: var(--pi-icon-danger) !important;
}
.pe-btn-icon-danger.z-button:hover {
  background: var(--pi-bg-danger) !important;
}
/* Row actions reuse custom.css.dsp's z-icon mask glyphs (z-icon-Edit, z-icon-Delete).
   button.css.dsp paints every z-icon inside a z-button dark grey with its own padding —
   let the icon take the button's colour and size it to the 16px icon grid. */
.pe-btn.z-button [class^="z-icon-"],
.pe-btn.z-button [class*=" z-icon-"] {
  padding: 0 !important;
  font-size: inherit !important;
  color: inherit !important;
}
.pe-btn-icon.z-button [class^="z-icon-"]:before,
.pe-btn-icon.z-button [class*=" z-icon-"]:before {
  width: var(--pi-space-200) !important;
  height: var(--pi-space-200) !important;
}

/* ---------- filter card ----------------------------------------------------
   Sunken rounded card, labels ABOVE fields, fields share the row equally, the
   trailing checkbox / action buttons bottom-align with the selects. */
.pe-filter-card {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--pi-space-150);
  margin-bottom: var(--pi-space-200);
  padding: var(--pi-space-150);
  background: var(--pi-bg-sunken);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
}
.pe-filter-card > .pe-field {
  flex: 1 1 0;
  min-width: calc(var(--pi-space-800) * 2.5);
}
.pe-filter-card > .pe-checkbox {
  flex: none;
}
/* Fixed-width filter fields keep the control's own setWidth (Sensor Type 420px,
   Schema Version 260px, Category / Search 200px) instead of sharing the row. */
.pe-filter-card > .pe-field.pe-field-fixed {
  flex: none;
  min-width: 0;
}
/* The screen's own buttons that sat at the end of its filter bar (Refresh · Deregister). */
.pe-filter-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--pi-space-100);
  margin-left: auto;
}

/* ---------- fields -------------------------------------------------------- */
.pe-field {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-50);
  min-width: 0;
}
.pe-field-label-row {
  display: flex;
  align-items: baseline;
  gap: var(--pi-space-25);
}
.pe-field-label.z-label {
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  line-height: var(--pi-line-height-snug) !important;
  color: var(--pi-text-subtle) !important;
}
/* Dialog form labels read dark (goal R2); filter-card labels stay subtle. */
.pe-dialog .pe-field-label.z-label {
  color: var(--pi-text-default) !important;
}
.pe-field-required.z-label {
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  color: var(--pi-text-danger) !important;
}

/* Label-left form rows — the PiERP window form layout (Register PI IOT tab, rule dialogs).
   Label column 160px (2.5 × space-800), 130px in the compact dialog variant; field widths
   stay whatever the form already sets. */
/* Two-column card, split by section rather than by row (most sections hold a single
   field). Non-column children — lead row, rules toolbar, grid, submit — span both; the
   toolbar is out of flow (see .pe-card-toolbar). */
.pe-form-card {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: var(--pi-space-400);
  padding: var(--pi-space-300);
  background: var(--pi-bg-default);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
}
.pe-form-card > :not(.pe-form-col) {
  grid-column: 1 / -1;
}
.pe-form-col {
  min-width: 0;
}
/* A row above the columns (the discovery target). It spans the card, but its control stops
   where the left column's fields stop — label column + row gap + half the column gap — so
   it lines up with the five fields underneath instead of running the full width. */
.pe-form-row-lead > :not(.pe-form-label) {
  max-width: calc(50% - (var(--pi-space-800) * 2.5 + var(--pi-space-150) + var(--pi-space-200)));
}
/* A column's first section heading lines up with the other column's first row, instead of
   carrying the 24px top margin that separates sections further down. */
.pe-form-col > .pe-form-section:first-child {
  margin-top: 0;
}
/* One column once there is no room for two — the rows keep their label-left shape. */
@media screen and (max-width: 1100px) {
  .pe-form-card {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* The card's toolbar holds one icon action (Refresh) at the far right, so it sits in the
   card's top-right corner instead of claiming a 44px band of empty row above the first
   field — the form now starts at the discovery-target row. The lead row's control stops at
   half the card width, so nothing runs underneath the button. */
.pe-card-toolbar {
  position: absolute;
  top: var(--pi-space-150);
  right: var(--pi-space-150);
  display: flex;
  justify-content: flex-end;
  gap: var(--pi-space-100);
  margin-bottom: 0;
}
/* Controls fill the field column, so every row ends on the same right edge instead of
   at whatever width each field was given (180px - 400px). Same treatment the filter
   cards already give their fields (.pe-field > .pe-select above). */
.pe-form-card .pe-form-row > .pe-select.z-select,
.pe-form-card .pe-form-row > .pe-input.z-textbox {
  flex: 1;
  width: auto !important;
  min-width: 0;
}
.pe-form-row {
  display: flex;
  align-items: center;
  gap: var(--pi-space-150);
  margin-bottom: var(--pi-space-150);
}
.pe-form-label.z-label {
  flex: none;
  width: calc(var(--pi-space-800) * 2.5);
  font-size: var(--pi-font-size-100) !important;
  font-weight: var(--pi-font-weight-medium) !important;
  line-height: var(--pi-line-height-snug) !important;
  color: var(--pi-text-subtle) !important;
}
.pe-form-row-compact .pe-form-label.z-label {
  width: calc(var(--pi-space-800) * 2 + var(--pi-space-25));
}
.pe-dialog .pe-form-row {
  margin-bottom: 0;
}
/* A field may shrink below its setWidth when a dialog is narrower than the form assumed. */
.pe-form-row > :not(.pe-form-label) {
  min-width: 0;
}
/* Two label-left rows side by side (Byte Start · Byte End); wraps when there is no room. */
.pe-form-row-pair {
  flex-wrap: wrap;
  gap: var(--pi-space-150) var(--pi-space-300);
}
/* The text a dialog shows beside a bare checkbox ("Set as default version for …"). */
.pe-checkbox-text.z-label {
  font-size: var(--pi-font-size-100) !important;
  color: var(--pi-text-default) !important;
}
.pe-form-rows {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-200);
}
/* Section heading with a divider — same treatment as PiERP window field-group headers. */
.pe-form-section {
  margin: var(--pi-space-300) 0 var(--pi-space-150) 0;
  padding-bottom: var(--pi-space-75);
  border-bottom: 1px solid var(--pi-border-subtle);
}
.pe-form-section-label.z-label {
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--pi-text-subtle) !important;
}
.pe-form-card .pe-grid.z-listbox {
  margin-bottom: var(--pi-space-150);
}
.pe-form-submit {
  margin-top: var(--pi-space-200);
}

/* Read-only info card under a picker (Sensor Type → Category / Type / Target …),
   indented to the field column: label column + row gap. */
.pe-info-card {
  margin: var(--pi-space-75) 0 var(--pi-space-150) calc(var(--pi-space-800) * 2.5 + var(--pi-space-150));
  padding: var(--pi-space-150) var(--pi-space-200);
  background: var(--pi-bg-sunken);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
}
.pe-info-row {
  display: flex;
  align-items: center;
  gap: var(--pi-space-100);
  margin-bottom: var(--pi-space-50);
}
.pe-info-label.z-label {
  flex: none;
  width: calc(var(--pi-space-800) * 1.75);
  font-size: var(--pi-font-size-75) !important;
  color: var(--pi-text-subtle) !important;
}
.pe-info-value.z-label {
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  color: var(--pi-text-default) !important;
}

/* Inline helper / result text and a flexible row of controls. */
.pe-inline-row {
  display: flex;
  align-items: center;
  gap: var(--pi-space-100);
  min-width: 0;
}
.pe-inline-row > .pe-select.z-select {
  flex: 1;
  min-width: 0;
}
.pe-rules-toolbar {
  margin-bottom: var(--pi-space-100);
}
.pe-hint.z-label,
.pe-dialog-text.z-label {
  display: block;
  font-size: var(--pi-font-size-75) !important;
  line-height: var(--pi-line-height-base) !important;
  color: var(--pi-text-subtle) !important;
}
.pe-inline-result.z-label {
  font-size: var(--pi-font-size-100) !important;
  color: var(--pi-text-default) !important;
}
.pe-text-success.z-label {
  color: var(--pi-text-success) !important;
}
.pe-text-danger.z-label {
  color: var(--pi-text-danger) !important;
}
.pe-text-warning.z-label {
  color: var(--pi-text-warning) !important;
}
.pe-break-all.z-label {
  word-break: break-all;
}
/* Gateway Fleet "Get Metrics" result — its own line under the filter card, tinted by
   the form's intent; takes no space until the form writes a result into it. */
.pe-metrics-result.z-label {
  display: block;
  margin: calc(var(--pi-space-100) * -1) 0 var(--pi-space-150) var(--pi-space-25);
}
.pe-metrics-result.z-label:empty {
  display: none;
}

/* Selects. Dialogs render outside .desktop-tabpanel, so they need their own rule.
   Height is padding + line-height (6+18+6+2 = 32), never a fixed height: under
   appearance:base-select Chrome top-aligns the value in a taller box. Right padding
   and width stay with custom.css.dsp / the form. */
/* PA-624: PiEdge fields match the standard window fields (measured in the live app):
   light --pi-border-subtle border (was --pi-border-default), 14px text (was 13px),
   dropdowns 36px tall like a window dropdown (was 32px), the small filled arrow a
   window dropdown uses (was a thin chevron), no grey on hover, and the window-field
   focus (light-blue fill + blue border). Corner radius was already the same. */
.pe-select {
  --pe-ico-chevron: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 8h14l-7 9z' fill='black'/></svg>");
}
.pe-page .pe-select.z-select,
.pe-dialog .pe-select.z-select {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: calc(var(--pi-space-400) + var(--pi-space-50)) !important;
  padding-top: var(--pi-space-75) !important;
  padding-bottom: var(--pi-space-75) !important;
  padding-left: var(--pi-space-100) !important;
  line-height: var(--pi-line-height-base) !important;
  border: 1px solid var(--pi-border-subtle) !important;
  border-radius: var(--pi-radius-md) !important;
  background-color: var(--pi-bg-default) !important;
  color: var(--pi-text-default) !important;
  font-size: var(--pi-font-size-200) !important;
  box-shadow: none !important;
  cursor: pointer;
}
.pe-field:not(.pe-field-fixed) > .pe-select.z-select,
.pe-field:not(.pe-field-fixed) > .pe-input.z-textbox {
  width: 100% !important;
}
/* No hover tint - a window field has none (only its drop button reacts). */
.pe-page .pe-select.z-select:hover,
.pe-dialog .pe-select.z-select:hover {
  background-color: var(--pi-bg-default) !important;
}
/* Focus = the window-field focus (custom.css.dsp .adwindow-form ...:focus). */
.pe-page .pe-select.z-select:focus,
.pe-dialog .pe-select.z-select:focus {
  background-color: var(--pi-bg-selected-bold) !important;
  border-color: var(--pi-border-selected) !important;
  box-shadow: 0 0 0 2px var(--pi-bg-selected) !important;
  outline: none !important;
}

/* Text inputs — same box as the selects. Beats custom.css.dsp's
   .desktop-tabpanel .z-div > .z-textbox (blue focus fill) on the page and gives
   dialogs (outside .desktop-tabpanel) the same look. */
.pe-page .pe-input.z-textbox,
.pe-dialog .pe-input.z-textbox {
  box-sizing: border-box !important;
  height: var(--pi-space-400) !important;
  min-height: var(--pi-space-400) !important;
  padding: 0 var(--pi-space-100) !important;
  line-height: var(--pi-line-height-base) !important;
  border: 1px solid var(--pi-border-subtle) !important;
  border-radius: var(--pi-radius-md) !important;
  background-color: var(--pi-bg-default) !important;
  color: var(--pi-text-default) !important;
  font-size: var(--pi-font-size-200) !important;
  box-shadow: none !important;
}
.pe-page .pe-input.z-textbox:hover,
.pe-dialog .pe-input.z-textbox:hover {
  background-color: var(--pi-bg-default) !important;
}
.pe-page .pe-input.z-textbox:focus,
.pe-dialog .pe-input.z-textbox:focus {
  background-color: var(--pi-bg-selected-bold) !important;
  border-color: var(--pi-border-selected) !important;
  box-shadow: 0 0 0 2px var(--pi-bg-selected) !important;
  outline: none !important;
}
.pe-page .pe-input.z-textbox::placeholder,
.pe-dialog .pe-input.z-textbox::placeholder {
  color: var(--pi-text-subtlest);
}
/* Read-only generated values (download token, certificate URL). */
.pe-page .pe-input.pe-input-code.z-textbox,
.pe-dialog .pe-input.pe-input-code.z-textbox,
.pe-dialog .pe-input.pe-input-code.z-textbox:hover,
.pe-dialog .pe-input.pe-input-code.z-textbox:focus {
  background-color: var(--pi-bg-sunken) !important;
  font-family: var(--pi-font-mono) !important;
  font-size: var(--pi-font-size-75) !important;
  resize: vertical;
}

.pe-checkbox.z-checkbox {
  display: inline-flex;
  align-items: center;
  gap: var(--pi-space-75);
  min-height: var(--pi-space-400);
  white-space: nowrap;
}
.pe-checkbox .z-checkbox-content {
  font-size: var(--pi-font-size-100) !important;
  color: var(--pi-text-default) !important;
  cursor: pointer;
}
/* Checkboxes/radios at the ADS 16px — adwindow.css.dsp sizes every .z-checkbox
   input to 20px, which read oversized next to 13px labels (first screenshot). */
.pe-page input[type="checkbox"],
.pe-page input[type="radio"],
.pe-dialog input[type="checkbox"],
.pe-dialog input[type="radio"] {
  width: var(--pi-space-200) !important;
  height: var(--pi-space-200) !important;
  margin: 0 !important;
  vertical-align: middle;
  accent-color: var(--pi-bg-brand);
  cursor: pointer;
}

/* Customizable-select browsers: thin ADS chevron, rotated while open. Dialog selects
   opt into base-select too so modals match the page; browsers without ::picker(select)
   fall back to custom.css.dsp's chevron image. */
@supports selector(::picker(select)) {
  .pe-dialog .pe-select.z-select {
    -webkit-appearance: base-select !important;
            appearance: base-select !important;
    background-image: none !important;
    padding-right: var(--pi-space-100) !important;
  }
  .pe-page .pe-select.z-select::picker-icon,
  .pe-dialog .pe-select.z-select::picker-icon {
    content: "";
    /* window-dropdown arrow size, centred in the 36px box */
    width: var(--pi-space-150);
    height: var(--pi-space-150);
    align-self: center;
    margin-block: auto;
    background-color: var(--pi-icon-subtle);
    -webkit-mask: var(--pe-ico-chevron) no-repeat center / contain;
            mask: var(--pe-ico-chevron) no-repeat center / contain;
    transition: rotate var(--pi-duration-normal) var(--pi-ease-standard);
  }
  .pe-page .pe-select.z-select:open::picker-icon,
  .pe-dialog .pe-select.z-select:open::picker-icon {
    rotate: 180deg;
  }
  .pe-dialog .pe-select.z-select::picker(select) {
    -webkit-appearance: base-select;
            appearance: base-select;
    padding: var(--pi-space-50);
    background: var(--pi-bg-card);
    border: 1px solid var(--pi-border-default);
    border-radius: var(--pi-radius-lg);
    box-shadow: var(--pi-shadow-overlay);
  }
  .pe-dialog .pe-select.z-select option {
    padding: var(--pi-space-75) var(--pi-space-150);
    border-radius: var(--pi-radius-sm);
    background: var(--pi-bg-card);
    color: var(--pi-text-default);
    font-size: var(--pi-font-size-100);
  }
  .pe-dialog .pe-select.z-select option:hover,
  .pe-dialog .pe-select.z-select option:focus {
    background: var(--pi-bg-neutral);
  }
  .pe-dialog .pe-select.z-select option:checked {
    background: var(--pi-bg-selected);
    color: var(--pi-text-brand);
    font-weight: var(--pi-font-weight-medium);
  }
  .pe-dialog .pe-select.z-select option::checkmark {
    display: none;
  }
}

.pe-radio-list.z-radiogroup {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-100);
}
.pe-radio-list .z-radio {
  display: inline-flex;
  align-items: center;
  gap: var(--pi-space-75);
}
.pe-radio-list .z-radio-content {
  font-size: var(--pi-font-size-100) !important;
  color: var(--pi-text-default) !important;
}
/* Radios on one line (Extract Mode: Field Key · Byte Offset). */
.pe-radio-list.pe-radio-inline.z-radiogroup {
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--pi-space-100) var(--pi-space-200);
}

/* ZK Combobox on a PiEdge page or dialog — same 32px box as the PiEdge selects. As app-wide,
   the WRAPPER is the visual box and the inner input + drop button stay transparent; bordering
   the input too gives a double border. */
.pe-page .pe-combobox.z-combobox,
.pe-dialog .pe-combobox.z-combobox {
  border: 1px solid var(--pi-border-subtle) !important;
  border-radius: var(--pi-radius-md) !important;
  background: var(--pi-bg-default) !important;
  box-shadow: none !important;
}
.pe-page .pe-combobox.z-combobox:hover,
.pe-dialog .pe-combobox.z-combobox:hover {
  background: var(--pi-bg-default) !important;
}
.pe-page .pe-combobox.z-combobox:focus-within,
.pe-page .pe-combobox.z-combobox.z-combobox-open,
.pe-page .pe-combobox.z-combobox.z-combobox-focus,
.pe-dialog .pe-combobox.z-combobox:focus-within,
.pe-dialog .pe-combobox.z-combobox.z-combobox-open,
.pe-dialog .pe-combobox.z-combobox.z-combobox-focus {
  background: var(--pi-bg-selected-bold) !important;
  border-color: var(--pi-border-selected) !important;
  box-shadow: 0 0 0 2px var(--pi-bg-selected) !important;
}
.pe-page .pe-combobox .z-combobox-input,
.pe-dialog .pe-combobox .z-combobox-input {
  box-sizing: border-box !important;
  height: calc(var(--pi-space-400) - 2px) !important;
  padding: 0 var(--pi-space-100) !important;
  color: var(--pi-text-default) !important;
  font-size: var(--pi-font-size-200) !important;
}
.pe-page .pe-combobox .z-combobox-button,
.pe-dialog .pe-combobox .z-combobox-button {
  box-sizing: border-box !important;
  height: calc(var(--pi-space-400) - 2px) !important;
  line-height: calc(var(--pi-space-400) - 2px) !important;
  color: var(--pi-icon-subtle) !important;
}

/* File chooser row: the form's upload button + its chosen-file label. */
.pe-file-row {
  display: flex;
  align-items: center;
  gap: var(--pi-space-150);
  min-width: 0;
}
.pe-file-name.z-label {
  font-size: var(--pi-font-size-75) !important;
  color: var(--pi-text-subtle) !important;
  overflow-wrap: anywhere;
}
.pe-file-name.pe-text-danger.z-label {
  color: var(--pi-text-danger) !important;
}
.pe-file-name.pe-text-success.z-label {
  color: var(--pi-text-success) !important;
}

/* ---------- data grid --------------------------------------------------------
   Card-framed listbox, no zebra striping, hairline row dividers. Header uses the
   same light-blue band as every other PiERP grid (7.4:1). custom.css.dsp's listbox
   rules are !important up to (0,5,0), so these repeat .pe-grid.z-listbox. */
.pe-grid.z-listbox {
  border: 1px solid var(--pi-border-subtle) !important;
  border-radius: var(--pi-radius-lg) !important;
  background: var(--pi-bg-default) !important;
  overflow: hidden;
}
.pe-grid.z-listbox .z-listbox-header,
.pe-grid.z-listbox .z-listbox-header-border {
  background: var(--pi-bg-selected) !important;
}
.pe-grid.z-listbox .z-listheader,
.pe-grid.z-listbox .z-listheader:hover,
.pe-grid.z-listbox .z-listheader.z-listheader-hover {
  background: var(--pi-bg-selected) !important;
  border-left-color: transparent !important;
  border-bottom: 1px solid var(--pi-border-default) !important;
  box-shadow: none !important;
}
.pe-grid.z-listbox .z-listheader-content {
  padding: var(--pi-space-100) var(--pi-space-150) !important;
  font-size: var(--pi-font-size-50) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  color: var(--pi-text-subtle) !important;
  white-space: nowrap;
}

.pe-grid.z-listbox .z-listitem > .z-listcell,
.pe-grid.z-listbox .z-listitem.z-listbox-odd > .z-listcell {
  background: var(--pi-bg-default) !important;
  border-left-color: transparent !important;
  box-shadow: inset 0 -1px 0 0 var(--pi-border-hairline) !important;
}
.pe-grid.z-listbox .z-listcell-content {
  padding: var(--pi-space-100) var(--pi-space-150) !important;
  font-size: var(--pi-font-size-75) !important;
  line-height: var(--pi-line-height-base) !important;
  color: var(--pi-text-default) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pe-grid.z-listbox .z-listitem:hover > .z-listcell {
  background: var(--pi-bg-hover) !important;
}
/* ZK's click-selection isn't how most PiEdge grids select (their row checkboxes are) —
   neutralise its selected-bold fill. */
.pe-grid.z-listbox .z-listitem.z-listitem-selected > .z-listcell,
.pe-grid.z-listbox .z-listitem.z-listitem-selected.z-listitem-focus > .z-listcell {
  background: var(--pi-bg-default) !important;
  border-color: transparent !important;
}
/* …except grids where ZK selection IS the model (pe-grid-select): Gateway Onboarding's
   multi-select checkmark list, and Registered Sensor where the clicked row drives the
   routing-rules panel. Those keep a light selected tint. */
.pe-grid.pe-grid-select.z-listbox .z-listitem.z-listitem-selected > .z-listcell,
.pe-grid.pe-grid-select.z-listbox .z-listitem.z-listitem-selected:hover > .z-listcell,
.pe-grid.pe-grid-select.z-listbox .z-listitem.z-listitem-selected.z-listitem-focus > .z-listcell {
  background: var(--pi-bg-selected) !important;
}
/* Ticked rows tint blue (goal R3). Pure CSS off the row checkbox's own checked
   state — no Java, no selection model change. Group band rows keep their fill. */
.pe-grid.z-listbox .z-listitem:not(.pe-grid-group):has(> .z-listcell:first-child input[type="checkbox"]:checked) > .z-listcell {
  background: var(--pi-bg-selected) !important;
}

/* Checkbox column — only first cells that really hold a checkbox. Grids whose first
   column is TEXT keep normal padding and the ellipsis; a blanket :first-child rule
   clipped their values against the next column. */
.pe-grid.z-listbox .pe-col-check .z-listheader-content,
.pe-grid.z-listbox .z-listitem > .z-listcell:first-child:has(> .z-listcell-content > .z-checkbox) > .z-listcell-content {
  padding-left: var(--pi-space-150) !important;
  padding-right: 0 !important;
  text-overflow: clip;
}

/* "›" history column — same Label and click, drawn as a brand-coloured affordance. */
.pe-grid.z-listbox .pe-col-action .z-listheader-content,
.pe-grid.z-listbox .pe-cell-action > .z-listcell-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
  text-overflow: clip;
}
.pe-row-action.z-label {
  display: inline-block;
  padding: 0 var(--pi-space-75);
  border-radius: var(--pi-radius-sm);
  color: var(--pi-link-default) !important;
  font-size: var(--pi-font-size-300) !important;
  font-weight: var(--pi-font-weight-bold) !important;
  line-height: var(--pi-line-height-snug) !important;
  cursor: pointer;
}
.pe-row-action.z-label:hover {
  background: var(--pi-bg-selected);
  color: var(--pi-link-hover) !important;
}

/* Buttons inside a grid row (Acknowledge · Remove, Edit · Delete). */
.pe-cell-actions {
  display: flex;
  align-items: center;
  gap: var(--pi-space-75);
}

/* Group band: neutral fill, pin glyph, subtle breadcrumb (text-subtle on bg-neutral 6.9:1).
   Onboarding grids mark the band disabled (not selectable) — keep ZK's disabled row from
   greying or fading it. */
.pe-grid.z-listbox .z-listitem.pe-grid-group > .z-listcell,
.pe-grid.z-listbox .z-listitem.pe-grid-group:hover > .z-listcell,
.pe-grid.z-listbox .z-listitem.pe-grid-group.z-listitem-selected > .z-listcell,
.pe-grid.z-listbox .z-listitem.pe-grid-group.z-listitem-selected.z-listitem-focus > .z-listcell {
  background: var(--pi-bg-neutral) !important;
  box-shadow: inset 0 -1px 0 0 var(--pi-border-subtle) !important;
}
.pe-grid.z-listbox .z-listitem.pe-grid-group.z-listitem-disabled {
  opacity: 1 !important;
}
.pe-grid.z-listbox .z-listitem.pe-grid-group .z-listcell-content {
  padding-top: var(--pi-space-75) !important;
  padding-bottom: var(--pi-space-75) !important;
  cursor: default;
}
.pe-grid-group-label.z-label,
.pe-grid.z-listbox .z-listitem.pe-grid-group.z-listitem-disabled .pe-grid-group-label.z-label {
  display: inline-flex;
  align-items: center;
  gap: var(--pi-space-75);
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-regular) !important;
  color: var(--pi-text-subtle) !important;
  white-space: pre;
}
.pe-grid-group-label::before {
  background-color: var(--pi-icon-subtle);
}

/* Cell treatments — MAC and empty dashes read dark like the goal R1 grid. */
.pe-grid.z-listbox .pe-cell-strong > .z-listcell-content {
  font-weight: var(--pi-font-weight-semibold) !important;
}
.pe-grid.z-listbox .pe-cell-mono > .z-listcell-content {
  font-family: var(--pi-font-mono) !important;
  font-size: var(--pi-font-size-50) !important;
  color: var(--pi-text-default) !important;
}
.pe-grid.z-listbox .pe-cell-brand > .z-listcell-content {
  font-weight: var(--pi-font-weight-semibold) !important;
  color: var(--pi-text-brand) !important;
}
.pe-grid.z-listbox .pe-cell-empty > .z-listcell-content {
  color: var(--pi-text-subtle) !important;
}
/* A long reason the reader needs in full (Firmware History → Details): wraps
   onto more lines instead of the grid's usual single-line ellipsis. */
.pe-grid.z-listbox .pe-cell-wrap > .z-listcell-content {
  white-space: normal;
  overflow-wrap: anywhere;
}
/* A grid's own "No … yet." row and its load-error row. */
.pe-grid.z-listbox .pe-cell-note > .z-listcell-content {
  color: var(--pi-text-subtle) !important;
}
.pe-grid.z-listbox .pe-cell-error > .z-listcell-content {
  color: var(--pi-text-danger) !important;
}

/* ---------- routing-rules panel (Registered Sensor) ---------------------------- */
.pe-rules-panel {
  box-sizing: border-box;
  flex: none;
  max-height: calc(var(--pi-space-800) * 4);
  margin-top: var(--pi-space-200);
  padding: var(--pi-space-150) var(--pi-space-200);
  background: var(--pi-bg-default);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
  overflow-y: auto;
}
.pe-panel-title.z-label {
  display: block;
  margin-bottom: var(--pi-space-100);
  font-size: var(--pi-font-size-100) !important;
  font-weight: var(--pi-font-weight-bold) !important;
  color: var(--pi-text-default) !important;
}
.pe-panel-toolbar {
  display: flex;
  align-items: center;
  gap: var(--pi-space-100);
  margin-bottom: var(--pi-space-100);
}
.pe-muted.z-label {
  font-size: var(--pi-font-size-75) !important;
  color: var(--pi-text-subtle) !important;
}

/* ---------- lozenge / code ---------------------------------------------------
   Same status value in sentence case (PiEdgeUx.statusLabel), pill shape as in goal
   R1/R4 and the PiERP document-shell status chip. Text-on-fill: success 5.9:1,
   danger 5.8:1, warning 5.6:1, information 5.9:1, discovery 5.9:1, neutral 7.1:1. */
.pe-lozenge.z-label {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: calc(var(--pi-space-200) + var(--pi-space-50));
  padding: 0 var(--pi-space-100);
  border-radius: var(--pi-radius-full);
  font-size: var(--pi-font-size-50) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  line-height: 1 !important;
  white-space: nowrap;
}
.pe-lozenge-success.z-label     { background: var(--pi-bg-success);   color: var(--pi-text-success) !important; }
.pe-lozenge-danger.z-label      { background: var(--pi-bg-danger);    color: var(--pi-text-danger) !important; }
.pe-lozenge-warning.z-label     { background: var(--pi-bg-warning);   color: var(--pi-text-warning) !important; }
.pe-lozenge-information.z-label { background: var(--pi-bg-selected);  color: var(--pi-text-information) !important; }
.pe-lozenge-discovery.z-label   { background: var(--pi-bg-discovery); color: var(--pi-text-discovery) !important; }
.pe-lozenge-neutral.z-label     { background: var(--pi-bg-neutral);   color: var(--pi-text-subtle) !important; }

.pe-code.z-label {
  display: inline-block;
  padding: var(--pi-space-25) var(--pi-space-75);
  border-radius: var(--pi-radius-sm);
  background: var(--pi-bg-neutral);
  color: var(--pi-text-default) !important;
  font-family: var(--pi-font-mono) !important;
  font-size: var(--pi-font-size-50) !important;
  line-height: var(--pi-line-height-snug) !important;
}

/* ---------- inline message ----------------------------------------------------
   The forms' existing target / result / error lines, as ADS section messages. */
.pe-message.z-label {
  display: block;
  padding: var(--pi-space-100) var(--pi-space-150);
  border-radius: var(--pi-radius-md);
  font-size: var(--pi-font-size-75) !important;
  line-height: var(--pi-line-height-base) !important;
}
.pe-message-success.z-label     { background: var(--pi-bg-success);  color: var(--pi-text-success) !important; }
.pe-message-warning.z-label     { background: var(--pi-bg-warning);  color: var(--pi-text-warning) !important; }
.pe-message-danger.z-label      { background: var(--pi-bg-danger);   color: var(--pi-text-danger) !important; }
.pe-message-information.z-label { background: var(--pi-bg-selected); color: var(--pi-text-information) !important; }

/* ---------- modal dialog ------------------------------------------------------
   Title-bar-less ZK Window; header (the form's title + ✕) / body / footer are
   PiEdgeUx divs. Widths are the ADS modal sizes. Beats custom.css.dsp's
   .z-window-modal radius/shadow rule. */
.pe-dialog.z-window {
  box-sizing: border-box;
  max-width: calc(100vw - var(--pi-space-600));
  padding: 0 !important;
  border: none !important;
  border-radius: var(--pi-radius-lg) !important;
  background: var(--pi-bg-default) !important;
  box-shadow: var(--pi-shadow-modal) !important;
  overflow: hidden;
}
.pe-dialog-md.z-window { width: var(--pi-modal-width-medium); }
.pe-dialog-lg.z-window { width: var(--pi-modal-width-large); }
.pe-dialog > .z-window-content {
  padding: 0 !important;
  border: none !important;
  background: var(--pi-bg-default) !important;
}

.pe-dialog-header {
  display: flex;
  align-items: center;
  gap: var(--pi-space-150);
  padding: var(--pi-space-200) var(--pi-space-200) var(--pi-space-200) var(--pi-space-300);
  border-bottom: 1px solid var(--pi-border-subtle);
}
.pe-dialog-title.z-label {
  flex: 1;
  min-width: 0;
  font-size: var(--pi-font-size-400) !important;
  font-weight: var(--pi-font-weight-bold) !important;
  line-height: var(--pi-line-height-tight) !important;
  color: var(--pi-text-default) !important;
  overflow-wrap: anywhere;
}

.pe-dialog-body {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-200);
  max-height: calc(100vh - var(--pi-space-800) * 4);
  padding: var(--pi-space-300);
  overflow-y: auto;
}
.pe-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--pi-space-100);
  padding: var(--pi-space-200) var(--pi-space-300);
  border-top: 1px solid var(--pi-border-subtle);
}
/* A popup's existing helper line placed at the footer's start (schema popup's read-only note). */
.pe-dialog-footer-hint.z-label {
  flex: 1;
  min-width: 0;
  margin-right: auto;
  font-size: var(--pi-font-size-75) !important;
  line-height: var(--pi-line-height-base) !important;
  color: var(--pi-text-subtle) !important;
}

/* Activate Destination: its two existing options as tinted cards (resend = success,
   paste token = warning) — title, description, the option's own control and action.
   Title text on its tint: success 5.9:1, warning 5.6:1. */
.pe-option-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--pi-space-100);
  padding: var(--pi-space-150) var(--pi-space-200);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
}
.pe-option-card-success { background: var(--pi-bg-success); }
.pe-option-card-warning { background: var(--pi-bg-warning); }
.pe-option-title.z-label {
  font-size: var(--pi-font-size-100) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  line-height: var(--pi-line-height-snug) !important;
  color: var(--pi-text-default) !important;
}
.pe-option-card-success .pe-option-title.z-label { color: var(--pi-text-success) !important; }
.pe-option-card-warning .pe-option-title.z-label { color: var(--pi-text-warning) !important; }
.pe-option-desc.z-label {
  font-size: var(--pi-font-size-75) !important;
  line-height: var(--pi-line-height-base) !important;
  color: var(--pi-text-default) !important;
}
.pe-option-card > .pe-input.z-textbox {
  width: 100% !important;
}
.pe-option-actions {
  display: flex;
  gap: var(--pi-space-100);
}
.pe-divider-text.z-label {
  display: block;
  text-align: center;
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  color: var(--pi-text-subtle) !important;
}

/* ============================================================================
   Dashboards — Fleet Overview, Health & Analytics, Device Groups
   ========================================================================== */

/* ---------- more glyphs (same construction as the set at the top) -----------
   Buttons: delete / play / pause replace the 🗑 ▶ ⏸ emoji. Hierarchy tiers: building (org),
   pin (location), folder (group), router (gateway), sensor waves (sensor) replace 🏢 📍 📂 🔌 📡.
   Health & Analytics tabs: screen, sensor, bolt, moon, wrench replace 🖥 📡 ⚡ 🌘 🔧. */
.pe-ico-delete { --pe-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 7h16'/><path d='M10 11v6M14 11v6'/><path d='M6 7l1 13h10l1-13'/><path d='M9 7V4h6v3'/></svg>"); }
.pe-ico-play   { --pe-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 5v14l12-7z'/></svg>"); }
.pe-ico-pause  { --pe-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M8 5v14M16 5v14'/></svg>"); }

.pe-grid-group-org,
.pe-tree-tier-org {
  --pe-tier-bg: var(--pi-bg-selected-bold);
  --pe-tier-rail: var(--pi-border-selected);
  --pe-ico-tier: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 21V4h10v17'/><path d='M14 9h6v12'/><path d='M3 21h18'/><path d='M8 8h2M8 12h2M8 16h2'/></svg>");
}
.pe-grid-group-loc,
.pe-tree-tier-loc {
  --pe-tier-bg: var(--pi-bg-success);
  --pe-tier-rail: var(--pi-text-success);
  --pe-ico-tier: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-6-5.4-6-11a6 6 0 0 1 12 0c0 5.6-6 11-6 11z'/><circle cx='12' cy='10' r='2.5'/></svg>");
}
.pe-tree-tier-grp {
  --pe-tier-bg: var(--pi-bg-discovery);
  --pe-tier-rail: var(--pi-text-discovery);
  --pe-ico-tier: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6h6l2 2h10v11H3z'/></svg>");
}
.pe-tree-tier-gw {
  --pe-tier-bg: var(--pi-bg-warning);
  --pe-tier-rail: var(--pi-icon-warning);
  --pe-ico-tier: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='13' width='18' height='7' rx='2'/><path d='M7 16.5h2'/><path d='M12 13V8'/><path d='M8.5 5.5a5 5 0 0 1 7 0'/></svg>");
}
.pe-tree-tier-sensor,
.pe-tab-sensor {
  --pe-ico-tier: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='2'/><path d='M8.5 8.5a5 5 0 0 0 0 7M15.5 8.5a5 5 0 0 1 0 7'/><path d='M5.5 5.5a9 9 0 0 0 0 13M18.5 5.5a9 9 0 0 1 0 13'/></svg>");
}
.pe-tab-gateway { --pe-ico-tier: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='12' rx='2'/><path d='M8 20h8M12 16v4'/></svg>"); }
.pe-tab-routing { --pe-ico-tier: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 3L5 14h6l-1 7 8-11h-6z'/></svg>"); }
.pe-tab-shadow  { --pe-ico-tier: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/></svg>"); }
.pe-tab-jobs    { --pe-ico-tier: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.6-.6-2.4z'/></svg>"); }

/* ---------- scrolling dashboard page + cards ------------------------------------
   Fleet Overview: the whole page scrolls; each section (map, gateway status, end
   nodes) is a white card on the white page, framed by a subtle border. */
.pe-page-scroll {
  box-sizing: border-box;
  height: 100%;
  padding: var(--pi-space-250) var(--pi-space-300) var(--pi-space-300) var(--pi-space-300);
  background: var(--pi-bg-default);
  overflow-y: auto;
}
.pe-card {
  margin-bottom: var(--pi-space-200);
  padding: var(--pi-space-200);
  background: var(--pi-bg-default);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
}
.pe-card > .pe-section-title.z-label {
  display: block;
  margin-bottom: var(--pi-space-150);
}
.pe-map {
  border-radius: var(--pi-radius-md);
  background: var(--pi-bg-neutral);
  overflow: hidden;
}

/* KPI tiles that share the whole row (Fleet Overview's 7, Health & Analytics' 7). */
.pe-kpi-row-fill > .pe-kpi {
  flex: 1 1 0;
  min-width: calc(var(--pi-space-800) * 1.75);
}
.pe-kpi-information { --pe-kpi-accent: var(--pi-border-selected); --pe-kpi-text: var(--pi-text-information); }
.pe-kpi-danger      { --pe-kpi-accent: var(--pi-icon-danger);     --pe-kpi-text: var(--pi-text-danger); }
.pe-kpi-neutral     { --pe-kpi-accent: var(--pi-border-default);  --pe-kpi-text: var(--pi-text-subtle); }

/* Health & Analytics warning line under the tiles — hidden while it has no text. */
.pe-warning-bar.z-label {
  display: block;
  margin-bottom: var(--pi-space-150);
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-medium) !important;
  line-height: var(--pi-line-height-base) !important;
  color: var(--pi-text-danger) !important;
}
.pe-warning-bar.z-label:empty {
  display: none;
}

/* ---------- tier bands (hierarchy rows) ------------------------------------------
   One tokenised colour band + a rail in the tier's bold tone + one glyph per tier:
   org blue · location green · group purple · gateway amber. Sensor leaves: glyph only.
   Replaces the forms' inline #1565c0 / #e3f2fd / #f5f5f5 / #fff8e1 row styles and emoji. */
.pe-grid.z-listbox .z-listitem.pe-grid-group.pe-grid-tier > .z-listcell,
.pe-grid.z-listbox .z-listitem.pe-grid-group.pe-grid-tier:hover > .z-listcell,
.pe-grid.z-listbox .z-listitem.pe-grid-group.pe-grid-tier.z-listitem-selected > .z-listcell {
  background: var(--pe-tier-bg) !important;
}
.pe-grid.z-listbox .z-listitem.pe-grid-group.pe-grid-tier > .z-listcell:first-child {
  box-shadow: inset calc(var(--pi-space-25) + 1px) 0 0 0 var(--pe-tier-rail),
              inset 0 -1px 0 0 var(--pi-border-subtle) !important;
}
.pe-grid-tier .pe-grid-group-label {
  --pe-ico: var(--pe-ico-tier);
}
.pe-grid-tier .pe-grid-group-label.z-label {
  font-weight: var(--pi-font-weight-semibold) !important;
  color: var(--pi-text-default) !important;
}
.pe-grid-tier .pe-grid-group-label::before {
  background-color: var(--pe-tier-rail);
}
/* A location band nested under its organisation band (was four leading spaces). */
.pe-grid-group-nested .pe-grid-group-label.z-label {
  padding-left: var(--pi-space-300);
}

/* ---------- tree (Fleet Overview End Nodes) ---------------------------------------
   Same frame and light-blue header band as pe-grid, hairline rows. */
.pe-tree.z-tree {
  border: 1px solid var(--pi-border-subtle) !important;
  border-radius: var(--pi-radius-lg) !important;
  background: var(--pi-bg-default) !important;
  overflow: hidden;
}
.pe-tree.z-tree .z-tree-header,
.pe-tree.z-tree .z-treecols,
.pe-tree.z-tree .z-treecol {
  background: var(--pi-bg-selected) !important;
  border-left-color: transparent !important;
}
.pe-tree.z-tree .z-treecol {
  border-bottom: 1px solid var(--pi-border-default) !important;
}
.pe-tree.z-tree .z-treecol-content {
  padding: var(--pi-space-100) var(--pi-space-150) !important;
  font-size: var(--pi-font-size-50) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  color: var(--pi-text-subtle) !important;
  white-space: nowrap;
}
.pe-tree.z-tree .z-tree-body {
  background: var(--pi-bg-default) !important;
}
.pe-tree.z-tree .z-treerow > .z-treecell {
  background: var(--pi-bg-default) !important;
  border: none !important;
  box-shadow: inset 0 -1px 0 0 var(--pi-border-hairline) !important;
}
.pe-tree.z-tree .z-treecell-content {
  padding: var(--pi-space-75) var(--pi-space-150) !important;
  font-size: var(--pi-font-size-75) !important;
  line-height: var(--pi-line-height-base) !important;
  color: var(--pi-text-default) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pe-tree.z-tree .z-treerow:hover > .z-treecell {
  background: var(--pi-bg-hover) !important;
}
.pe-tree.z-tree .z-treerow.z-treerow-selected > .z-treecell {
  background: var(--pi-bg-selected) !important;
}
.pe-tree.z-tree .z-treerow.pe-tree-tier:not(.pe-tree-tier-sensor) > .z-treecell,
.pe-tree.z-tree .z-treerow.pe-tree-tier:not(.pe-tree-tier-sensor):hover > .z-treecell,
.pe-tree.z-tree .z-treerow.pe-tree-tier:not(.pe-tree-tier-sensor).z-treerow-selected > .z-treecell {
  background: var(--pe-tier-bg) !important;
}
.pe-tree.z-tree .z-treerow.pe-tree-tier:not(.pe-tree-tier-sensor) > .z-treecell:first-child {
  box-shadow: inset calc(var(--pi-space-25) + 1px) 0 0 0 var(--pe-tier-rail),
              inset 0 -1px 0 0 var(--pi-border-hairline) !important;
}
.pe-tree .pe-tree-tier > .z-treecell:first-child .z-treecell-text {
  display: inline-flex;
  align-items: center;
  gap: var(--pi-space-75);
}
.pe-tree .pe-tree-tier > .z-treecell:first-child .z-treecell-text::before {
  content: "";
  flex: none;
  width: var(--pi-space-200);
  height: var(--pi-space-200);
  background-color: var(--pe-tier-rail, var(--pi-icon-subtle));
  -webkit-mask: var(--pe-ico-tier) no-repeat center / contain;
          mask: var(--pe-ico-tier) no-repeat center / contain;
}
.pe-tree.z-tree .pe-tree-tier-org .z-treecell-content {
  font-weight: var(--pi-font-weight-bold) !important;
}
.pe-tree.z-tree .pe-tree-tier-loc .z-treecell-content,
.pe-tree.z-tree .pe-tree-tier-grp .z-treecell-content {
  font-weight: var(--pi-font-weight-semibold) !important;
}
.pe-tree.z-tree .pe-tree-note .z-treecell-content {
  color: var(--pi-text-subtle) !important;
}

/* ---------- grid cell tones + status dots ------------------------------------------
   toneCell: the forms' meaning-coloured values (silent Last Seen, low battery, weak RSSI,
   failure count, group type) — same text, intent colour. Text colours are ≥ 4.5:1 on white.
   dotCell: 8px status dot replacing a health emoji; dot colours are ≥ 3:1 (non-text). */
.pe-grid.z-listbox .pe-cell-tone > .z-listcell-content {
  font-weight: var(--pi-font-weight-medium) !important;
}
.pe-grid.z-listbox .pe-cell-tone-success > .z-listcell-content     { color: var(--pi-text-success) !important; }
.pe-grid.z-listbox .pe-cell-tone-warning > .z-listcell-content     { color: var(--pi-text-warning) !important; }
.pe-grid.z-listbox .pe-cell-tone-danger > .z-listcell-content      { color: var(--pi-text-danger) !important; }
.pe-grid.z-listbox .pe-cell-tone-information > .z-listcell-content { color: var(--pi-text-information) !important; }
.pe-grid.z-listbox .pe-cell-tone-discovery > .z-listcell-content   { color: var(--pi-text-discovery) !important; }
.pe-grid.z-listbox .pe-cell-tone-neutral > .z-listcell-content     { color: var(--pi-text-subtle) !important; }

.pe-dot.z-label {
  display: inline-block;
  width: var(--pi-space-100);
  height: var(--pi-space-100);
  border-radius: var(--pi-radius-full);
  vertical-align: middle;
}
.pe-dot-success.z-label { background: var(--pi-text-success); }
.pe-dot-warning.z-label { background: var(--pi-icon-warning); }
.pe-dot-danger.z-label  { background: var(--pi-icon-danger); }
.pe-dot-neutral.z-label { background: var(--pi-icon-subtle); }

/* A grid's own helper line underneath it ("Click a row to view …", "Loaded N rule(s) …"). */
.pe-grid-note.z-label {
  display: block;
  margin-top: var(--pi-space-75);
  font-size: var(--pi-font-size-75) !important;
  line-height: var(--pi-line-height-base) !important;
  color: var(--pi-text-subtle) !important;
}

/* ---------- pager row under a grid (Telemetry Dashboard south region) ----------
   The screen's own Prev / Next, page count, rows-per-page and status line as one
   ADS row, aligned with the grid card's gutters above it. */
.pe-grid-footer {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: var(--pi-space-100);
  padding: var(--pi-space-100) var(--pi-space-300) var(--pi-space-150) var(--pi-space-300);
}
.pe-footer-label.z-label {
  flex: none;
  font-size: var(--pi-font-size-75) !important;
  font-weight: var(--pi-font-weight-medium) !important;
  color: var(--pi-text-subtle) !important;
}
.pe-grid-footer > .pe-select.z-select {
  flex: none;
}
/* Status line at the far end. It carries the form's own tone (capped result = warning,
   fetch failed = danger), so each tone is spelled out rather than left to source order. */
.pe-footer-status.z-label {
  margin-left: auto;
  font-size: var(--pi-font-size-75) !important;
  color: var(--pi-text-subtle) !important;
}
.pe-footer-status.pe-text-warning.z-label {
  font-weight: var(--pi-font-weight-medium) !important;
  color: var(--pi-text-warning) !important;
}
.pe-footer-status.pe-text-danger.z-label {
  font-weight: var(--pi-font-weight-medium) !important;
  color: var(--pi-text-danger) !important;
}

/* ---------- telemetry connection settings --------------------------------------
   Shown inline on the dashboard's not-configured page and inside its Connection
   modal, so it is capped at the same form measure as .pe-form-card. */
.pe-setup-page {
  box-sizing: border-box;
  max-width: calc(var(--pi-space-800) * 10);
  padding-bottom: var(--pi-space-300);
}
.pe-setup-page > .pe-section-message {
  margin-bottom: var(--pi-space-200);
}
.pe-settings-panel {
  display: flex;
  flex-direction: column;
}
.pe-settings-panel > .pe-field {
  margin-top: var(--pi-space-200);
}
.pe-settings-panel > .pe-field:first-child {
  margin-top: 0;
}
.pe-settings-hint.z-label {
  margin-top: var(--pi-space-50);
}

/* ---------- Health & Analytics tabs ------------------------------------------------
   The tab strip keeps custom.css.dsp's app-wide ADS tab treatment; the box sits inside
   the page gutters, each tab shows its glyph, and "Refreshed … · Refresh All" sits on
   the strip's right like before. */
.pe-tabbox-inset.z-tabbox {
  box-sizing: border-box;
  padding: 0 var(--pi-space-300);
}
.pe-tab .z-tab-text {
  display: inline-flex !important;
  align-items: center;
  gap: var(--pi-space-75);
}
.pe-tab .z-tab-text::before {
  content: "";
  flex: none;
  width: var(--pi-space-200);
  height: var(--pi-space-200);
  background-color: currentColor;
  -webkit-mask: var(--pe-ico-tier) no-repeat center / contain;
          mask: var(--pe-ico-tier) no-repeat center / contain;
}
.pe-analytics-panel.z-tabpanel {
  box-sizing: border-box;
  height: calc(100% - var(--pi-space-400));
  padding: var(--pi-space-200) 0 !important;
  overflow: auto;
}
.pe-tab-toolbar.z-toolbar {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.pe-tab-toolbar .z-toolbar-content {
  display: flex;
  align-items: center;
  gap: var(--pi-space-150);
}

/* Toggle button while its thing is on (Auto-Cleanup running) — ADS selected button. */
.pe-btn-secondary.pe-btn-selected.z-button,
.pe-btn-secondary.pe-btn-selected.z-button:hover {
  background: var(--pi-bg-selected) !important;
  border-color: var(--pi-border-selected) !important;
  color: var(--pi-text-brand) !important;
}

/* ---------- Job Detail dialog ---------------------------------------------------------- */
.pe-detail-section {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-50);
}
.pe-detail-section > .pe-panel-title.z-label {
  margin-bottom: 0;
}
.pe-detail-line.z-label {
  display: block;
  font-size: var(--pi-font-size-100) !important;
  font-weight: var(--pi-font-weight-semibold) !important;
  color: var(--pi-text-default) !important;
}
.pe-code-line.z-label {
  display: block;
  font-family: var(--pi-font-mono) !important;
  font-size: var(--pi-font-size-75) !important;
  color: var(--pi-text-default) !important;
  overflow-wrap: anywhere;
}

/* ---------- Telemetry Dashboard: embedded PUX widgets ------------------------
   TelemetryDashboardForm embeds com.pipra.ux KPI / chart widgets. Their card CSS is
   injected by the renderers at runtime (DPPuxKPI.ensureKpiStyle /
   DPPuxChart.ensureChartStyle), which never reaches the browser when the widgets
   are built with this form - charts then collapse to ECharts' 100px default and
   KPI cards render as bare text (design-system/TELEMETRY_WIDGET_STYLE_FIX_PLAN.md).
   Served here for this screen only, scoped to .pe-telemetry-dashboard, so no other
   screen's widgets change. The extra class also outranks the injected rules when
   they do arrive. Colours the renderer sets inline from data are left to it. */
.pe-telemetry-dashboard .pux-chart-card,
.pe-telemetry-dashboard .pux-kpi-card {
  box-sizing: border-box;
  background: var(--pi-bg-card);
  border-radius: var(--pi-radius-xl);
  font-family: inherit;
}
.pe-telemetry-dashboard .pux-chart-card {
  padding: var(--pi-space-200) var(--pi-space-250);
}
/* ECharts sizes its canvas from this wrapper: 260px, as the renderer intends. */
.pe-telemetry-dashboard .pux-chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: calc(var(--pi-space-800) * 4 + var(--pi-space-50));
}

.pe-telemetry-dashboard .pux-kpi-card {
  padding: var(--pi-space-200) var(--pi-space-250) var(--pi-space-150);
}
.pe-telemetry-dashboard .pux-kpi-clickable { cursor: pointer; }
.pe-telemetry-dashboard .pux-kpi-clickable:hover { background: var(--pi-bg-hover); }
.pe-telemetry-dashboard .pux-kpi-top {
  display: flex;
  align-items: center;
  gap: var(--pi-space-100);
  margin-bottom: var(--pi-space-150);
}
.pe-telemetry-dashboard .pux-kpi-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--pi-space-400);
  height: var(--pi-space-400);
  border-radius: var(--pi-radius-lg);
  font-size: var(--pi-font-size-200);
}
.pe-telemetry-dashboard .pux-kpi-label {
  overflow: hidden;
  font-size: var(--pi-font-size-75);
  font-weight: var(--pi-font-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--pi-text-subtle);
}
.pe-telemetry-dashboard .pux-kpi-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--pi-space-100);
  margin-bottom: var(--pi-space-100);
}
.pe-telemetry-dashboard .pux-kpi-value {
  font-size: var(--pi-font-size-metric);
  font-weight: var(--pi-font-weight-bold);
  line-height: var(--pi-line-height-tight);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pe-telemetry-dashboard .pux-kpi-unit {
  margin-left: var(--pi-space-25);
  font-size: var(--pi-font-size-200);
  font-weight: var(--pi-font-weight-medium);
  color: var(--pi-text-subtle);
}
/* Trend chip: a lozenge carrying the number, never colour alone. */
.pe-telemetry-dashboard .pux-kpi-trend {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--pi-space-25);
  padding: var(--pi-space-25) var(--pi-space-100);
  border-radius: var(--pi-radius-full);
  font-size: var(--pi-font-size-75);
  font-weight: var(--pi-font-weight-semibold);
  white-space: nowrap;
}
.pe-telemetry-dashboard .pux-kpi-trend i { font-size: var(--pi-font-size-50); }
.pe-telemetry-dashboard .pux-kpi-trend-up   { color: var(--pi-text-success); background: var(--pi-bg-success); }
.pe-telemetry-dashboard .pux-kpi-trend-down { color: var(--pi-text-danger);  background: var(--pi-bg-danger); }
.pe-telemetry-dashboard .pux-kpi-trend-flat { color: var(--pi-text-subtle);  background: var(--pi-bg-neutral); }
.pe-telemetry-dashboard .pux-kpi-target-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pi-space-100);
  margin-bottom: var(--pi-space-150);
  font-size: var(--pi-font-size-75);
  color: var(--pi-text-subtle);
}
.pe-telemetry-dashboard .pux-kpi-status-badge {
  padding: var(--pi-space-25) var(--pi-space-100);
  border-radius: var(--pi-radius-full);
  font-size: var(--pi-font-size-50);
  font-weight: var(--pi-font-weight-bold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pe-telemetry-dashboard .pux-kpi-sparkline {
  height: var(--pi-space-600);
  margin: 0 calc(-1 * var(--pi-space-50)) calc(-1 * var(--pi-space-50));
}





/* ---------- card ---------------------------------------------------------------
   Standalone (the Preview Dashboard Widget popup) the grid carries its own card. */
.pux-grid-card {
	box-sizing: border-box;
	min-width: calc(var(--pi-space-800) * 4);
	min-height: calc(var(--pi-space-800) * 2);
	padding: var(--pi-space-200);
	background: var(--pi-bg-card);
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-xl);
	color: var(--pi-text-default);
	font-family: var(--pi-font-family);
}
/* On the dashboard the dashlet panel IS the card (custom.css.dsp) — a second bordered
   card inside it was the grey inner frame around the table. Flatten it. */
.dashboard-widget .pux-grid-card {
	/* the 128px floor is for the standalone card; on the dashboard it left a one-row
	   grid (Jobs Waiting for Parts) with a band of empty card under its last row */
	min-height: 0;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

/* The scroll box IS the framed card around the table (512px cap, the same ~520px the
   widget had, on the 8px grid). The frame lives here rather than on the table because a
   sticky header only works when nothing between it and the scrolling ancestor makes its
   own scrollport - an overflow:hidden on the table, which is how the rounded corners used
   to be clipped, silently breaks position:sticky. */
.pux-grid-scroll {
	overflow: auto;
	max-height: calc(var(--pi-space-800) * 8);
	background: var(--pi-bg-default);
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-lg);
}
.pux-grid-scroll::-webkit-scrollbar {
	width: var(--pi-space-100);
	height: var(--pi-space-100);
}
.pux-grid-scroll::-webkit-scrollbar-thumb {
	background: var(--pi-border-default);
	border-radius: var(--pi-radius-full);
}
.pux-grid-scroll::-webkit-scrollbar-track {
	background: transparent;
}

/* ---------- table frame -------------------------------------------------------
   The table itself is frameless: .pux-grid-scroll above draws the border and clips the
   corners. custom.css.dsp gives every .z-grid a border and radius at (0,1,0) !important,
   so this repeats the class to out-specify it. */
.pux-grid-card .pux-grid-table.pux-grid-table.pux-grid-table.z-grid {
	width: 100%;
	background: var(--pi-bg-default) !important;
	border: none !important;
	border-radius: 0 !important;
	overflow: visible;
}

/* ---------- sticky column header ----------------------------------------------
   ZK renders the header as its own div (.z-grid-header), a sibling of .z-grid-body in
   normal flow - so when the wrapper scrolled, the header scrolled away with the rows.
   Pinning it to the top of .pux-grid-scroll keeps the column names in view while the
   rows move under them. The z-index clears the rows' own inset dividers, and the
   background stops a row showing through between header cells. */
.pux-grid-scroll .pux-grid-table .z-grid-header {
	position: sticky;
	top: 0;
	z-index: 2;
	background: var(--pi-bg-selected);
}
.pux-grid-table .pux-grid-totals-row > .pux-grid-td {
	z-index: 1;
}
.pux-grid-table .z-grid-body,
.pux-grid-table .z-grid-cnt {
	border: 0 !important;
}

/* ---------- header band -------------------------------------------------------
   Same band as PiEdge / every PiERP grid: --pi-text-subtle on --pi-bg-selected, 7.4:1.
   No vertical rules between columns (custom.css.dsp draws one with an inset shadow). */
.pux-grid-table .pux-grid-th.pux-grid-th.pux-grid-th.z-column,
.pux-grid-table .pux-grid-th.pux-grid-th.pux-grid-th.z-column:hover,
.pux-grid-table .pux-grid-th.pux-grid-th.pux-grid-th.z-column.z-column-hover {
	padding: 0 !important;
	background: var(--pi-bg-selected) !important;
	border-left-color: transparent !important;
	border-right: 0 !important;
	border-bottom: 1px solid var(--pi-border-default) !important;
	box-shadow: none !important;
	text-align: left;
}
.pux-grid-table .pux-grid-th.pux-grid-th .z-column-content {
	padding: var(--pi-space-100) var(--pi-space-150) !important;
	font-family: var(--pi-font-family) !important;
	font-size: var(--pi-font-size-50) !important;
	font-weight: var(--pi-font-weight-semibold) !important;
	line-height: var(--pi-line-height-snug) !important;
	letter-spacing: 0.03em !important;
	text-transform: uppercase !important;
	color: var(--pi-text-subtle) !important;
	white-space: nowrap;
}
.pux-grid-table .pux-grid-th .z-column-sorticon {
	display: none !important;
}

/* ---------- body rows ---------------------------------------------------------- */
.pux-grid-table .z-row > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td,
.pux-grid-table .z-row.z-grid-odd > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td {
	padding: var(--pi-space-100) var(--pi-space-150) !important;
	background: var(--pi-bg-default) !important;
	border-left-color: transparent !important;
	box-shadow: inset 0 -1px 0 0 var(--pi-border-hairline) !important;
	color: var(--pi-text-default);
	font-size: var(--pi-font-size-75);
	line-height: var(--pi-line-height-base);
	vertical-align: middle;
}
.pux-grid-table .z-row:hover > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td,
.pux-grid-table .z-row.z-grid-odd:hover > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td {
	background: var(--pi-bg-hover) !important;
}
.pux-grid-tr-clickable {
	cursor: pointer;
}
.pux-grid-td .pux-grid-text.z-label {
	color: var(--pi-text-default);
	font-size: var(--pi-font-size-75);
	font-variant-numeric: tabular-nums;
}

/* Numeric column (DPPuxGrid marks a column whose values are all numbers): right-aligned
   like every ADS table, with the figure one step heavier so a count reads at a glance
   instead of floating mid-card in body text. The header follows the column.
   !important: 00-gadget-global.css.dsp pins every .z-grid-body .z-cell to text-align:left
   !important; these selectors out-specify it. */
.pux-grid-table .pux-grid-th.pux-grid-th.pux-grid-th-num .z-column-content {
	text-align: right !important;
}
.pux-grid-table .z-row > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td-num {
	text-align: right !important;
}
.pux-grid-td-num .pux-grid-text.z-label {
	font-weight: var(--pi-font-weight-medium);
}

/* Row-level style rule (PUX_WidgetStyleRule, row scope): a 4px (--pi-space-50) accent on the first cell.
   ADS keeps status out of row fills, so the old tinted cell is dropped; the accent — the
   actual signal — stays. Accent colours are the ADS icon/border tints, all >=3:1 on white. */
.pux-grid-table .pux-grid-tr-success > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td:first-child { box-shadow: inset var(--pi-space-50) 0 0 var(--pi-text-success),     inset 0 -1px 0 0 var(--pi-border-hairline) !important; }
.pux-grid-table .pux-grid-tr-warning > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td:first-child { box-shadow: inset var(--pi-space-50) 0 0 var(--pi-icon-warning),     inset 0 -1px 0 0 var(--pi-border-hairline) !important; }
.pux-grid-table .pux-grid-tr-danger  > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td:first-child,
.pux-grid-table .pux-grid-tr-danger-bold > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td:first-child { box-shadow: inset var(--pi-space-50) 0 0 var(--pi-icon-danger),      inset 0 -1px 0 0 var(--pi-border-hairline) !important; }
.pux-grid-table .pux-grid-tr-info    > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td:first-child { box-shadow: inset var(--pi-space-50) 0 0 var(--pi-border-selected),  inset 0 -1px 0 0 var(--pi-border-hairline) !important; }
.pux-grid-table .pux-grid-tr-muted   > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td:first-child { box-shadow: inset var(--pi-space-50) 0 0 var(--pi-icon-subtle),      inset 0 -1px 0 0 var(--pi-border-hairline) !important; }

/* ---------- lozenge -------------------------------------------------------------
   Same pill as PiEdge's .pe-lozenge. width:auto beats grid.css.dsp's
   ".z-cell > span.z-label { width:100% }", which was stretching every badge into a bar
   across its whole column. Text-on-fill: success 5.9:1, warning 5.6:1, danger 5.8:1,
   information 5.9:1, neutral 7.1:1. */
.pux-grid-td .pux-grid-badge.z-label {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	width: auto !important;
	max-width: 100%;
	height: calc(var(--pi-space-200) + var(--pi-space-50));
	padding: 0 var(--pi-space-100);
	border-radius: var(--pi-radius-full);
	font-size: var(--pi-font-size-50) !important;
	font-weight: var(--pi-font-weight-semibold) !important;
	line-height: 1 !important;
	letter-spacing: normal;
	white-space: nowrap;
}
.pux-grid-td .pux-grid-badge-success.z-label { background: var(--pi-bg-success);  color: var(--pi-text-success) !important; }
.pux-grid-td .pux-grid-badge-warning.z-label { background: var(--pi-bg-warning);  color: var(--pi-text-warning) !important; }
.pux-grid-td .pux-grid-badge-danger.z-label  { background: var(--pi-bg-danger);   color: var(--pi-text-danger) !important; }
/* Danger Bold = UI_STANDARD's loudest state (Emergency): solid fill, inverse text 5.2:1,
   the same treatment as the cell lozenge and document-shell badge below. */
.pux-grid-td .pux-grid-badge-danger-bold.z-label { background: var(--pi-bg-danger-bold); color: var(--pi-text-inverse) !important; }
.pux-grid-td .pux-grid-badge-info.z-label    { background: var(--pi-bg-selected); color: var(--pi-text-information) !important; }
.pux-grid-td .pux-grid-badge-muted.z-label   { background: var(--pi-bg-neutral);  color: var(--pi-text-subtle) !important; }

/* Title column with a record drilldown — ADS link, 5.2:1. */
.pux-grid-td .pux-grid-link.z-label {
	color: var(--pi-link-default) !important;
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-medium);
	cursor: pointer;
}
.pux-grid-td .pux-grid-link.z-label:hover {
	color: var(--pi-link-hover) !important;
	text-decoration: underline;
}

/* ---------- group header row (PUX_WidgetField.IsGroupBy) ------------------------
   The section-header band used across PiERP forms; label 8.6:1 on it. */
.pux-grid-table .pux-grid-group-row > .pux-grid-group-cell.pux-grid-group-cell.pux-grid-group-cell.pux-grid-group-cell,
.pux-grid-table .pux-grid-group-row:hover > .pux-grid-group-cell.pux-grid-group-cell.pux-grid-group-cell.pux-grid-group-cell {
	padding: var(--pi-space-100) var(--pi-space-150) !important;
	background: var(--pi-bg-section-header) !important;
	box-shadow: inset var(--pi-space-50) 0 0 var(--pi-border-selected), inset 0 -1px 0 0 var(--pi-border-subtle) !important;
}
/* width:auto — same grid.css.dsp width:100% trap as the lozenge. */
.pux-grid-group-cell .pux-grid-group-label.z-label {
	display: inline-block;
	width: auto !important;
	vertical-align: middle;
	font-size: var(--pi-font-size-50) !important;
	font-weight: var(--pi-font-weight-bold) !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--pi-text-section-header) !important;
}
.pux-grid-group-cell .pux-grid-group-count.z-label {
	display: inline-block;
	width: auto !important;
	margin-left: var(--pi-space-100);
	padding: 0 var(--pi-space-100);
	vertical-align: middle;
	border-radius: var(--pi-radius-full);
	background: var(--pi-bg-selected-bold);
	font-size: var(--pi-font-size-50) !important;
	font-weight: var(--pi-font-weight-bold) !important;
	color: var(--pi-text-information) !important;
}

/* ---------- totals row ------------------------------------------------------------ */
.pux-grid-table .pux-grid-totals-row > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td,
.pux-grid-table .pux-grid-totals-row:hover > .pux-grid-td.pux-grid-td.pux-grid-td.pux-grid-td {
	position: sticky;
	bottom: 0;
	background: var(--pi-bg-sunken) !important;
	box-shadow: inset 0 1px 0 0 var(--pi-border-subtle) !important;
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-default);
}

/* ---------- footnotes / empty states ---------------------------------------------
   Was #9ca3af (2.5:1 — fails). --pi-text-subtlest is 4.9:1. */
.pux-grid-card .pux-grid-truncated.z-label {
	display: block;
	margin-top: var(--pi-space-100);
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtlest);
}
.pux-grid-card .pux-grid-empty.z-label {
	display: block;
	padding: var(--pi-space-300) var(--pi-space-100);
	text-align: center;
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}
.pux-grid-card .pux-grid-empty-error.z-label {
	color: var(--pi-text-danger);
}

/* Empty widget (DPPuxGrid marks the card): on the dashboard it collapses to one slim line
   under its title. A full 128px "No data" card per empty widget was what pushed a
   persona's real work below the fold - five empty My Work cards came before the MRO ones. */
.dashboard-widget .pux-grid-card.pux-grid-card-empty {
	min-height: 0;
}
/* inset to the same 12px as the grid's cell text, so it lines up under the title */
.dashboard-widget .pux-grid-card-empty .pux-grid-empty.z-label {
	padding: var(--pi-space-50) var(--pi-space-150);
	text-align: left;
	font-size: var(--pi-font-size-75);
}

/* ================================================================================
   Widget panel chrome — PuxDashboardWidgetPanel, shared by EVERY PUX widget type.
   ================================================================================ */

/* ---------- caption: title + short-description subtitle ----------------------------
   Core's DashboardController builds the dashlet caption as a plain new Caption(name):
   the title is a bare text node in .z-caption-content, and the subtitle is appended as
   its flex sibling. repositionSubtitle() looks for .desktop-center-widget-pannel-header-cont,
   which only PuxDashboardCardFactory builds — on the home dashboard there is none, so the
   subtitle stayed beside the title and the flex row squeezed "AI RISK RADAR" onto two
   lines. Wrapping the row puts the title on one line and the subtitle under it. */
.dashboard-widget .z-caption-content:has(> .pux-widget-subtitle) {
	flex-wrap: wrap !important;
	row-gap: var(--pi-space-25) !important;
	white-space: nowrap;
}
/* PuxDashboardCardFactory's own title box: grow to hold the subtitle line. */
.dashboard-widget .desktop-center-widget-pannel-header-cont:has(> .pux-widget-subtitle) {
	flex-wrap: wrap;
	height: auto !important;
	min-height: var(--pi-space-300);
}
/* Sentence-case helper text under the eyebrow title: --pi-text-subtle, 7.6:1 on white. The resets
   are !important because the dashlet's uppercase caption rules reach every .z-label in it. */
.dashboard-widget .z-caption-content .pux-widget-subtitle.z-label {
	flex-basis: 100% !important;
	order: 5 !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: var(--pi-font-size-75) !important;
	font-weight: var(--pi-font-weight-regular) !important;
	line-height: var(--pi-line-height-base) !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	white-space: normal !important;
	color: var(--pi-text-subtle) !important;
}
/* Inside the card-factory title box the title label is pushed in by --pi-space-200
   (gadget.css.dsp); keep the subtitle flush with it. */
.dashboard-widget .desktop-center-widget-pannel-header-cont > .pux-widget-subtitle.z-label {
	margin-left: var(--pi-space-200) !important;
}

/* ---------- filter bar (PUX_WidgetFilter) ------------------------------------------ */
.pux-widget-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pi-space-150);
	padding: var(--pi-space-75) var(--pi-space-150);
	background: var(--pi-bg-sunken);
	border-bottom: 1px solid var(--pi-border-hairline);
}
.pux-widget-filter {
	display: flex;
	align-items: center;
	gap: var(--pi-space-50);
}
.pux-widget-filter .pux-widget-filter-label.z-label {
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-subtle);
}
.pux-widget-filter .pux-widget-filter-date.z-datebox {
	width: calc(var(--pi-space-800) * 2) !important;
	font-size: var(--pi-font-size-75);
}

/* ---------- dashboard-level filter bar (PUX_DashboardFilter, PUXDashboardWorkspace) -------
   One bar under the workspace header that drives every tile (Date Range, Model, ...).
   Java sets the sclasses; the look is here. */
.pux-dashboard-filter-bar {
	display: flex;
	flex: none;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pi-space-200);
	padding: var(--pi-space-100) var(--pi-space-200);
	background: var(--pi-bg-sunken);
	border-top: 1px solid var(--pi-border-hairline);
	border-bottom: 1px solid var(--pi-border-hairline);
}
.pux-dashboard-filter {
	display: flex;
	align-items: center;
	gap: var(--pi-space-100);
}
.pux-dashboard-filter .pux-dashboard-filter-label.z-label {
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-subtle);
}
.pux-dashboard-filter .pux-dashboard-filter-select,
.pux-dashboard-filter .pux-dashboard-filter-text {
	min-width: calc(var(--pi-space-800) * 2);
}

/* ---------- action buttons (PUX_WidgetAction) ---------------------------------------
   The buttons carry the shared .pi-btn component classes (_components.css.dsp); this
   only lays out the row. custom.css.dsp's generic grey desktop-tabpanel button rule
   excludes .pux-widget-action so the ADS appearances win. */
.pux-widget-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pi-space-100);
	padding: var(--pi-space-150) 0 var(--pi-space-50);
}
/* ZK's default z-button carries a text-shadow and gradient — the smeared bold label. */
.pux-widget-actions .pux-widget-action.pi-btn.z-button {
	text-shadow: none !important;
	box-shadow: none !important;
	background-image: none !important;
}
.pux-widget-actions .pux-widget-action.pi-btn.z-button:focus-visible {
	box-shadow: 0 0 0 2px var(--pi-border-focused) !important;
}

/* ---------- inline message (not configured / not entitled / load failed) ------------ */
.pux-widget-message {
	padding: var(--pi-space-150);
}
.pux-widget-message .pux-widget-message-text.z-label {
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}

/* ================================================================================
   Kanban widget — DPPuxKanban (AI Next Best Action, …). Jira-board look: sunken lanes
   that share the widget width, white raised cards, a clear title → reason → labelled
   details → owner-lozenge hierarchy. Previously every value was an inline setStyle
   (#f4f5f7 lanes at a fixed 220px, #555 / 0.85em detail lines with no labels).
   ================================================================================ */

.pux-kanban-card-root {
	box-sizing: border-box;
	min-width: calc(var(--pi-space-800) * 5);
	padding: var(--pi-space-200);
	overflow-x: auto;
	background: var(--pi-bg-card);
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-xl);
	font-family: var(--pi-font-family);
}
/* On the dashboard the dashlet panel is already the card. */
.dashboard-widget .pux-kanban-card-root {
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
}

/* Lanes share the width instead of stopping at 4 × 220px with dead space to the right;
   224px floor, then the root scrolls sideways. */
.pux-kanban-lanes {
	display: flex;
	align-items: stretch;
	gap: var(--pi-space-150);
}
.pux-kanban-lane {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	min-width: calc(var(--pi-space-800) * 3.5);
	box-sizing: border-box;
	padding: var(--pi-space-100);
	background: var(--pi-bg-sunken);
	border: 1px solid var(--pi-border-hairline);
	border-radius: var(--pi-radius-lg);
}

/* Lane header: accent bar in the lane's configured colour, then "Critical (10)". */
.pux-kanban-lane .pux-kanban-lane-header.z-label {
	display: flex;
	align-items: center;
	gap: var(--pi-space-100);
	padding: var(--pi-space-50) var(--pi-space-50) var(--pi-space-100);
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-semibold);
	line-height: var(--pi-line-height-snug);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--pi-text-subtle);
}
.pux-kanban-lane .pux-kanban-lane-header.z-label::before {
	content: "";
	flex: none;
	width: var(--pi-space-50);
	height: var(--pi-space-200);
	border-radius: var(--pi-radius-full);
	background: var(--pux-lane-accent, var(--pi-border-default));
}

/* Card stack. 384px before it scrolls; an empty lane shows a dashed drop zone. */
.pux-kanban-lane-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--pi-space-100);
	min-height: calc(var(--pi-space-800) * 2);
	max-height: calc(var(--pi-space-800) * 6);
	overflow-y: auto;
	padding: var(--pi-space-25);
}
.pux-kanban-lane-body:empty {
	border: 1px dashed var(--pi-border-subtle);
	border-radius: var(--pi-radius-md);
}
.pux-kanban-lane-body::-webkit-scrollbar {
	width: var(--pi-space-75);
}
.pux-kanban-lane-body::-webkit-scrollbar-thumb {
	background: var(--pi-border-default);
	border-radius: var(--pi-radius-full);
}
.pux-kanban-lane-body::-webkit-scrollbar-track {
	background: transparent;
}

/* Card: ADS raised surface. */
.pux-kanban-card {
	display: flex;
	flex: none;
	flex-direction: column;
	gap: var(--pi-space-50);
	box-sizing: border-box;
	padding: var(--pi-space-150);
	background: var(--pi-bg-card);
	border-radius: var(--pi-radius-md);
	box-shadow: var(--pi-shadow-raised);
	cursor: grab;
	transition: background var(--pi-duration-fast) var(--pi-ease-standard);
}
.pux-kanban-card:hover {
	background: var(--pi-bg-hover);
}
.pux-kanban-card-clickable {
	cursor: pointer;
}

/* Title 13px semibold, text-default 14.1:1. */
.pux-kanban-card .pux-kanban-card-title.z-label {
	display: block;
	font-size: var(--pi-font-size-100);
	font-weight: var(--pi-font-weight-semibold);
	line-height: var(--pi-line-height-snug);
	color: var(--pi-text-default);
}
/* Reason — secondary text, 7.6:1. */
.pux-kanban-card .pux-kanban-card-subtitle.z-label {
	display: block;
	font-size: var(--pi-font-size-75);
	line-height: var(--pi-line-height-base);
	color: var(--pi-text-subtle);
}

/* Detail fields as a label/value list under a hairline: label --pi-text-subtlest
   (4.9:1), value --pi-text-default. */
.pux-kanban-card .pux-kanban-card-details {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: var(--pi-space-150);
	row-gap: var(--pi-space-25);
	margin-top: var(--pi-space-50);
	padding-top: var(--pi-space-100);
	border-top: 1px solid var(--pi-border-hairline);
}
.pux-kanban-card-details .pux-kanban-card-detail-label.z-label {
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-medium);
	line-height: var(--pi-line-height-base);
	color: var(--pi-text-subtlest);
	white-space: nowrap;
}
.pux-kanban-card-details .pux-kanban-card-detail-value.z-label {
	font-size: var(--pi-font-size-75);
	line-height: var(--pi-line-height-base);
	color: var(--pi-text-default);
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Badge fields (owner) as neutral lozenges in the card footer — neutral 7.1:1. */
.pux-kanban-card .pux-kanban-card-footer {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pi-space-50);
	margin-top: var(--pi-space-50);
}
.pux-kanban-card-footer .pux-kanban-card-badge.z-label {
	display: inline-flex;
	align-items: center;
	height: calc(var(--pi-space-200) + var(--pi-space-50));
	padding: 0 var(--pi-space-100);
	border-radius: var(--pi-radius-full);
	background: var(--pi-bg-neutral);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-semibold);
	line-height: 1;
	color: var(--pi-text-subtle);
	white-space: nowrap;
}

/* Badge tones by meaning. KanbanBoardPanel adds pux-kanban-card-badge--<column>-<value>;
   unmapped values stay the neutral lozenge above. Same mapping as the document header
   (pux-document-shell.css.dsp) so a severity reads the same on the card and the record.
   Text on fill: danger 5.8:1, warning 5.6:1, information 5.9:1, inverse on danger-bold 5.2:1.
   First user: Warehouse Excursion board (PIO-068). */
/* Lane accents by meaning, for boards that leave PUX_View_Lane.ColorCode empty:
   Open = breach running (warning), Ready for review = the user's move (brand),
   Decided = done (success). Graphic accents, >= 3:1 on the sunken lane. */
.pux-kanban-lane--status-op { --pux-lane-accent: var(--pi-icon-warning); }
.pux-kanban-lane--status-rv { --pux-lane-accent: var(--pi-icon-brand); }
.pux-kanban-lane--status-de { --pux-lane-accent: var(--pi-text-success); }
.pux-kanban-card-footer .pux-kanban-card-badge--severity-emergency.z-label,
.pux-kanban-card-footer .pux-kanban-card-badge--holdstatus-fa.z-label {
	background: var(--pi-bg-danger-bold);
	color: var(--pi-text-inverse);
}
.pux-kanban-card-footer .pux-kanban-card-badge--severity-critical.z-label,
.pux-kanban-card-footer .pux-kanban-card-badge--holdstatus-he.z-label {
	background: var(--pi-bg-danger);
	color: var(--pi-text-danger);
}
.pux-kanban-card-footer .pux-kanban-card-badge--severity-warning.z-label {
	background: var(--pi-bg-warning);
	color: var(--pi-text-warning);
}
.pux-kanban-card-footer .pux-kanban-card-badge--severity-info.z-label {
	background: var(--pi-bg-selected);
	color: var(--pi-text-information);
}

.pux-kanban-lane-body .pux-kanban-more.z-label {
	display: block;
	padding: var(--pi-space-50);
	text-align: center;
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtlest);
}
.pux-kanban-card-root .pux-kanban-empty.z-label {
	display: block;
	padding: var(--pi-space-300) var(--pi-space-100);
	text-align: center;
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}

/* ================================================================================
   SHARED STATUS VOCABULARY — one place for every PUX widget's semantic colour.
   PuxStyleEvaluator.variant() returns the suffix; a renderer only picks the class.
   .pux-tint-* = tinted chip (text on a soft fill). .pux-fill-* = solid swatch/dot.
   Text-on-fill: success 5.9:1, warning 5.6:1, danger 5.8:1, information 5.9:1,
   neutral 7.1:1. Solid fills are graphics only (>=3:1), never text.
   ================================================================================ */

.pux-tint-success { background: var(--pi-bg-success);  color: var(--pi-text-success); }
.pux-tint-warning { background: var(--pi-bg-warning);  color: var(--pi-text-warning); }
.pux-tint-danger  { background: var(--pi-bg-danger);   color: var(--pi-text-danger); }
.pux-tint-info    { background: var(--pi-bg-selected); color: var(--pi-text-information); }
.pux-tint-muted   { background: var(--pi-bg-neutral);  color: var(--pi-text-subtle); }

.pux-fill-success { background: var(--pi-chart-positive); }
.pux-fill-warning { background: var(--pi-icon-warning); }
.pux-fill-danger  { background: var(--pi-chart-negative); }
.pux-fill-info    { background: var(--pi-chart-1); }
.pux-fill-muted   { background: var(--pi-chart-8); }

/* The product's own avatar cycle, so a user's initials chip matches their avatar elsewhere. */
.pux-avatar-0 { background: var(--pi-avatar-0-bg); color: var(--pi-avatar-0-text); }
.pux-avatar-1 { background: var(--pi-avatar-1-bg); color: var(--pi-avatar-1-text); }
.pux-avatar-2 { background: var(--pi-avatar-2-bg); color: var(--pi-avatar-2-text); }
.pux-avatar-3 { background: var(--pi-avatar-3-bg); color: var(--pi-avatar-3-text); }
.pux-avatar-4 { background: var(--pi-avatar-4-bg); color: var(--pi-avatar-4-text); }

/* ================================================================================
   Composite widget — DPPuxComposite (AR & Billing, Service Delivery): N child
   widgets side by side in one dashlet.
   ================================================================================ */

.pux-composite {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: var(--pi-space-150);
}
.pux-composite-empty {
	padding: var(--pi-space-150);
}
/* flex-grow is set inline from PUX_DashboardWidget_Child.GridWidth. */
.pux-composite-tile {
	display: flex;
	flex-direction: column;
	flex-shrink: 1;
	flex-basis: 0;
	min-width: 0;
}
/* Section eyebrow over each tile. The KPI label inside the card is sentence case, so the
   two do not read as two competing uppercase headings. --pi-text-subtlest is 4.9:1. */
.pux-composite-tile .pux-composite-heading.z-label {
	display: block;
	margin-bottom: var(--pi-space-75);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-semibold);
	line-height: var(--pi-line-height-snug);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pi-text-subtlest);
}
.pux-composite .pux-composite-message.z-label {
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}

/* ================================================================================
   KPI widget — DPPuxKPI. Was an injected stylesheet with the semantic colour written
   inline onto every icon, value and badge by KpiModel.
   ================================================================================ */

.pux-kpi-card {
	box-sizing: border-box;
	padding: var(--pi-space-200);
	background: var(--pi-bg-card);
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-lg);
	font-family: var(--pi-font-family);
}
/* A KPI that IS the whole dashlet sits in the panel own card — do not nest two. */
.dashboard-widget .pux-kpi-card {
	padding: var(--pi-space-100) 0;
	background: transparent;
	border: none;
}
/* …but inside a composite each tile is its own card again. */
.dashboard-widget .pux-composite .pux-kpi-card,
.dashboard-widget .pux-composite .pux-chart-card {
	padding: var(--pi-space-200);
	background: var(--pi-bg-card);
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-lg);
}
.pux-kpi-clickable {
	cursor: pointer;
	transition: background var(--pi-duration-fast) var(--pi-ease-standard);
}
.pux-kpi-clickable:hover {
	background: var(--pi-bg-hover);
}
.pux-kpi-card .pux-kpi-top {
	display: flex;
	align-items: center;
	gap: var(--pi-space-100);
	margin-bottom: var(--pi-space-150);
}
/* 32px tinted square, ADS icon-tile sizing. */
.pux-kpi-card .pux-kpi-icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--pi-space-400);
	height: var(--pi-space-400);
	border-radius: var(--pi-radius-md);
	font-size: var(--pi-font-size-100);
}
.pux-kpi-icon-success { background: var(--pi-bg-success);  color: var(--pi-text-success); }
.pux-kpi-icon-warning { background: var(--pi-bg-warning);  color: var(--pi-text-warning); }
.pux-kpi-icon-danger  { background: var(--pi-bg-danger);   color: var(--pi-text-danger); }
.pux-kpi-icon-info    { background: var(--pi-bg-selected); color: var(--pi-text-information); }
.pux-kpi-icon-muted   { background: var(--pi-bg-neutral);  color: var(--pi-text-subtle); }
/* Sentence case: the composite eyebrow above the card is the uppercase one. */
.pux-kpi-card .pux-kpi-label {
	overflow: hidden;
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-semibold);
	line-height: var(--pi-line-height-snug);
	color: var(--pi-text-subtle);
	white-space: nowrap;
	text-overflow: ellipsis;
}
.pux-kpi-card .pux-kpi-value-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--pi-space-100);
	margin-bottom: var(--pi-space-100);
}
/* The number at full contrast (14.1:1) — the lozenge and sparkline carry the status.
   A coloured figure was 3.0:1 (warning) / 4.0:1 (danger) against white. */
.pux-kpi-card .pux-kpi-value {
	font-size: var(--pi-font-size-metric);
	font-weight: var(--pi-font-weight-bold);
	line-height: var(--pi-line-height-tight);
	color: var(--pi-text-default);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.pux-kpi-card .pux-kpi-unit {
	margin-left: var(--pi-space-25);
	font-size: var(--pi-font-size-100);
	font-weight: var(--pi-font-weight-medium);
	color: var(--pi-text-subtle);
}
/* Trend pill, ADS lozenge shape. */
.pux-kpi-card .pux-kpi-trend {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: var(--pi-space-25);
	height: calc(var(--pi-space-200) + var(--pi-space-50));
	padding: 0 var(--pi-space-100);
	border-radius: var(--pi-radius-full);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-semibold);
	line-height: 1;
	white-space: nowrap;
}
.pux-kpi-trend-up   { background: var(--pi-bg-success); color: var(--pi-text-success); }
.pux-kpi-trend-down { background: var(--pi-bg-danger);  color: var(--pi-text-danger); }
.pux-kpi-trend-flat { background: var(--pi-bg-neutral); color: var(--pi-text-subtle); }
.pux-kpi-card .pux-kpi-target-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pi-space-100);
	margin-bottom: var(--pi-space-150);
	font-size: var(--pi-font-size-75);
	color: var(--pi-text-subtle);
}
.pux-kpi-card .pux-kpi-status-badge {
	padding: var(--pi-space-25) var(--pi-space-100);
	border-radius: var(--pi-radius-full);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-bold);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
}
.pux-kpi-status-success { background: var(--pi-bg-success);  color: var(--pi-text-success); }
.pux-kpi-status-warning { background: var(--pi-bg-warning);  color: var(--pi-text-warning); }
.pux-kpi-status-danger  { background: var(--pi-bg-danger);   color: var(--pi-text-danger); }
.pux-kpi-status-info    { background: var(--pi-bg-selected); color: var(--pi-text-information); }
.pux-kpi-status-muted   { background: var(--pi-bg-neutral);  color: var(--pi-text-subtle); }
.pux-kpi-card .pux-kpi-sparkline {
	height: var(--pi-space-600);
	margin: 0 calc(var(--pi-space-50) * -1) calc(var(--pi-space-50) * -1);
}
.pux-kpi-card .pux-kpi-message {
	padding: var(--pi-space-50) var(--pi-space-25);
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}
.pux-kpi-card .pux-kpi-message-error {
	color: var(--pi-text-danger);
}

/* ================================================================================
   Chart widget — DPPuxChart. Card chrome only; the ECharts option itself resolves
   --pi-chart-* / --pi-text-* through the puxTok() helper in PuxEChartsSupport,
   because a chart option is plain JS and cannot hold a CSS var().
   ================================================================================ */

.pux-chart-card {
	box-sizing: border-box;
	padding: var(--pi-space-200);
	background: var(--pi-bg-card);
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-lg);
	font-family: var(--pi-font-family);
}
.dashboard-widget .pux-chart-card {
	padding: var(--pi-space-100) 0;
	background: transparent;
	border: none;
}
/* 256px — the old 260px plot height, on the 8px grid. */
.pux-chart-canvas-wrap {
	position: relative;
	width: 100%;
	height: calc(var(--pi-space-800) * 4);
}
.pux-chart-card .pux-chart-message.z-label {
	display: block;
	padding: var(--pi-space-150) var(--pi-space-100);
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}
.pux-chart-card .pux-chart-message-error.z-label {
	color: var(--pi-text-danger);
}

/* ================================================================================
   Alert widget — DPPuxAlert. Was an injected stylesheet plus a per-row inline
   border-left colour and inline badge tints from its own severity/status hex maps.
   ================================================================================ */

.pux-alert-card {
	box-sizing: border-box;
	min-width: calc(var(--pi-space-800) * 4);
	min-height: calc(var(--pi-space-800) * 2);
	overflow: auto;
	font-family: var(--pi-font-family);
}
.dashboard-widget .pux-alert-card {
	padding: 0;
}
.pux-alert-item {
	padding: var(--pi-space-100) var(--pi-space-150);
	margin-bottom: var(--pi-space-100);
	background: var(--pi-bg-sunken);
	border-radius: var(--pi-radius-md);
	/* The severity accent; the variant classes below only repaint this edge. */
	border-left: var(--pi-space-50) solid var(--pi-chart-8);
}
.pux-alert-item:last-child {
	margin-bottom: 0;
}
.pux-alert-item-success { border-left-color: var(--pi-chart-positive); }
.pux-alert-item-warning { border-left-color: var(--pi-icon-warning); }
.pux-alert-item-danger  { border-left-color: var(--pi-chart-negative); }
.pux-alert-item-info    { border-left-color: var(--pi-chart-1); }
.pux-alert-item-muted   { border-left-color: var(--pi-chart-8); }
.pux-alert-item-clickable {
	cursor: pointer;
	transition: background var(--pi-duration-fast) var(--pi-ease-standard);
}
.pux-alert-item-clickable:hover {
	background: var(--pi-bg-hover);
}
.pux-alert-item-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--pi-space-100);
}
.pux-alert-item .pux-alert-title.z-label {
	font-size: var(--pi-font-size-100);
	font-weight: var(--pi-font-weight-semibold);
	line-height: var(--pi-line-height-snug);
	color: var(--pi-text-default);
}
.pux-alert-time-block {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: flex-end;
}
/* Both times were below the contrast floor (2.5:1 and 1.8:1 against white). */
.pux-alert-time-block .pux-alert-time.z-label {
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtle);
	white-space: nowrap;
}
.pux-alert-time-block .pux-alert-time-absolute.z-label {
	margin-top: var(--pi-space-25);
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtlest);
	white-space: nowrap;
}
.pux-alert-item .pux-alert-subtitle.z-label {
	display: block;
	margin-top: var(--pi-space-25);
	font-size: var(--pi-font-size-75);
	line-height: var(--pi-line-height-base);
	color: var(--pi-text-subtle);
}
.pux-alert-item .pux-alert-asset.z-label {
	display: block;
	margin-top: var(--pi-space-25);
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtlest);
}
.pux-alert-badges {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pi-space-75);
	margin-top: var(--pi-space-75);
}
.pux-alert-badge {
	display: inline-flex;
	align-items: center;
	height: calc(var(--pi-space-200) + var(--pi-space-50));
	padding: 0 var(--pi-space-100);
	border-radius: var(--pi-radius-full);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-semibold);
	line-height: 1;
	white-space: nowrap;
}
.pux-alert-badge > .z-label {
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-semibold);
	color: inherit;
}
/* Secondary action on the card — the shared ADS default button. */
.pux-alert-item .pux-alert-ack-btn.z-button {
	box-sizing: border-box;
	margin-top: var(--pi-space-100);
	padding: 0 var(--pi-space-150) !important;
	height: var(--pi-space-400) !important;
	min-height: var(--pi-space-400) !important;
	background: var(--pi-bg-default) !important;
	background-image: none !important;
	border: 1px solid var(--pi-border-default) !important;
	border-radius: var(--pi-radius-md) !important;
	color: var(--pi-text-default) !important;
	font-size: var(--pi-font-size-75) !important;
	font-weight: var(--pi-font-weight-medium) !important;
	line-height: 1 !important;
	text-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.pux-alert-item .pux-alert-ack-btn.z-button:hover {
	background: var(--pi-bg-hover) !important;
}
.pux-alert-item .pux-alert-acked-label.z-label {
	display: block;
	margin-top: var(--pi-space-100);
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-success);
}
.pux-alert-card .pux-alert-message.z-label {
	display: block;
	padding: var(--pi-space-150) var(--pi-space-100);
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}
.pux-alert-card .pux-alert-message-error.z-label {
	color: var(--pi-text-danger);
}

/* ================================================================================
   Activity feed — DPPuxActivityFeed.
   ================================================================================ */

.pux-activity-card {
	box-sizing: border-box;
	min-width: calc(var(--pi-space-800) * 4);
	overflow: auto;
	font-family: var(--pi-font-family);
}
.pux-activity-item {
	display: flex;
	gap: var(--pi-space-150);
	padding: var(--pi-space-100) 0;
	border-bottom: 1px solid var(--pi-border-hairline);
}
.pux-activity-item:last-child {
	border-bottom: none;
}
.pux-activity-avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--pi-space-400);
	height: var(--pi-space-400);
	border-radius: var(--pi-radius-full);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-bold);
}
.pux-activity-body {
	flex: 1 1 auto;
	min-width: 0;
}
.pux-activity-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--pi-space-100);
}
.pux-activity-who-what {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--pi-space-75);
	min-width: 0;
}
.pux-activity-who-what .pux-activity-user.z-label {
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-default);
}
.pux-activity-who-what .pux-activity-action.z-label {
	padding: var(--pi-space-25) var(--pi-space-100);
	border-radius: var(--pi-radius-full);
	background: var(--pi-bg-selected);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-information);
}
.pux-activity-time-block {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: flex-end;
}
.pux-activity-time-block .pux-activity-time.z-label {
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtle);
	white-space: nowrap;
}
.pux-activity-time-block .pux-activity-time-absolute.z-label {
	margin-top: var(--pi-space-25);
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtlest);
	white-space: nowrap;
}
.pux-activity-body .pux-activity-remarks.z-label {
	display: block;
	margin-top: var(--pi-space-50);
	font-size: var(--pi-font-size-75);
	line-height: var(--pi-line-height-base);
	color: var(--pi-text-subtle);
}
.pux-activity-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pi-space-75);
	margin-top: var(--pi-space-75);
}
.pux-activity-meta .pux-activity-chip.z-label {
	padding: var(--pi-space-25) var(--pi-space-100);
	border-radius: var(--pi-radius-full);
	background: var(--pi-bg-neutral);
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtle);
}
.pux-activity-card .pux-activity-message.z-label {
	display: block;
	padding: var(--pi-space-150) var(--pi-space-100);
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}
.pux-activity-card .pux-activity-message-error.z-label {
	color: var(--pi-text-danger);
}

/* ================================================================================
   Timeline (Gantt) — DPPuxTimeline. The ECharts option resolves its own axis greys
   and bar colours through puxTok(); this is the surrounding card only.
   ================================================================================ */

.pux-timeline-card {
	box-sizing: border-box;
	min-width: calc(var(--pi-space-800) * 4);
	font-family: var(--pi-font-family);
}
.pux-timeline-toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: var(--pi-space-100);
}
.pux-timeline-toolbar .pux-timeline-toggle-btn.z-button {
	box-sizing: border-box;
	height: var(--pi-space-400) !important;
	min-height: var(--pi-space-400) !important;
	padding: 0 var(--pi-space-150) !important;
	background: var(--pi-bg-default) !important;
	background-image: none !important;
	border: 1px solid var(--pi-border-default) !important;
	border-radius: var(--pi-radius-md) !important;
	color: var(--pi-text-default) !important;
	font-size: var(--pi-font-size-75) !important;
	font-weight: var(--pi-font-weight-medium) !important;
	line-height: 1 !important;
	text-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.pux-timeline-toolbar .pux-timeline-toggle-btn.z-button:hover {
	background: var(--pi-bg-hover) !important;
}
/* 384px — the old 360px plot height, on the 8px grid. */
.pux-timeline-canvas-wrap {
	position: relative;
	width: 100%;
	height: calc(var(--pi-space-800) * 6);
}
/* ECharts renders the tooltip HTML this renderer builds, so these are its own classes. */
.pux-timeline-tip-title {
	margin-bottom: var(--pi-space-25);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-default);
}
.pux-timeline-tip-subtitle {
	margin-bottom: var(--pi-space-50);
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtle);
}
.pux-timeline-card .pux-timeline-message.z-label {
	display: block;
	padding: var(--pi-space-150) var(--pi-space-100);
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}
.pux-timeline-card .pux-timeline-message-error.z-label {
	color: var(--pi-text-danger);
}

/* ================================================================================
   Calendar — DPPuxCalendar.
   ================================================================================ */

.pux-cal-widget {
	box-sizing: border-box;
	min-height: calc(var(--pi-space-800) * 6);
	overflow: auto;
	font-family: var(--pi-font-family);
}
.pux-cal-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--pi-space-100);
	margin-bottom: var(--pi-space-150);
}
.pux-cal-nav {
	display: flex;
	align-items: center;
	gap: var(--pi-space-50);
}
.pux-cal-nav .pux-cal-nav-btn.z-button {
	box-sizing: border-box;
	height: var(--pi-space-400) !important;
	min-height: var(--pi-space-400) !important;
	padding: 0 var(--pi-space-150) !important;
	background: var(--pi-bg-default) !important;
	background-image: none !important;
	border: 1px solid var(--pi-border-default) !important;
	border-radius: var(--pi-radius-md) !important;
	color: var(--pi-text-default) !important;
	font-size: var(--pi-font-size-75) !important;
	font-weight: var(--pi-font-weight-medium) !important;
	line-height: 1 !important;
	text-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.pux-cal-nav .pux-cal-nav-btn.z-button:hover {
	background: var(--pi-bg-hover) !important;
}
.pux-cal-header .pux-cal-month-label.z-label {
	font-size: var(--pi-font-size-100);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-default);
}
.pux-cal-switcher {
	display: flex;
	gap: var(--pi-space-75);
}
select.pux-cal-select {
	height: var(--pi-space-400);
	padding: 0 var(--pi-space-50);
	background: var(--pi-bg-default);
	border: 1px solid var(--pi-border-default);
	border-radius: var(--pi-radius-md);
	color: var(--pi-text-default);
	font-family: var(--pi-font-family);
	font-size: var(--pi-font-size-75);
}
/* The 1px gap between cells IS the grid rule — the container colour shows through. */
.pux-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1px;
	overflow: hidden;
	background: var(--pi-border-hairline);
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-lg);
}
.pux-cal-dow {
	padding: var(--pi-space-50) 0;
	background: var(--pi-bg-selected);
	text-align: center;
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-semibold);
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--pi-text-subtle);
}
.pux-cal-cell {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	min-height: calc(var(--pi-space-800) + var(--pi-space-100));
	padding: var(--pi-space-50);
	background: var(--pi-bg-default);
}
.pux-cal-cell-outside {
	background: var(--pi-bg-sunken);
}
.pux-cal-cell-outside .pux-cal-daynum {
	color: var(--pi-text-disabled);
}
.pux-cal-cell-today {
	background: var(--pi-bg-selected);
}
.pux-cal-cell .pux-cal-daynum.z-label {
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtle);
}
.pux-cal-cell-today .pux-cal-daynum.z-label {
	font-weight: var(--pi-font-weight-bold);
	color: var(--pi-text-information);
}
.pux-cal-cell-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
/* Day total — the information lozenge, matching every other count chip. */
.pux-cal-badge {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	min-width: var(--pi-space-250);
	height: var(--pi-space-250);
	padding: 0 var(--pi-space-75);
	border-radius: var(--pi-radius-full);
	background: var(--pi-bg-selected-bold);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-information);
	cursor: pointer;
}
.pux-cal-badge:hover {
	background: var(--pi-bg-brand);
	color: var(--pi-text-inverse);
}
.pux-cal-dot-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--pi-space-50);
	margin-top: var(--pi-space-75);
}
/* Width/height are set inline — the dot scales with that day count. */
.pux-cal-priority-dot {
	flex: none;
	border-radius: var(--pi-radius-full);
	cursor: pointer;
}
.pux-cal-priority-dot:hover {
	box-shadow: 0 0 0 2px var(--pi-border-focused);
}
.pux-cal-legend {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pi-space-200);
	margin-top: var(--pi-space-150);
	padding-top: var(--pi-space-100);
	border-top: 1px solid var(--pi-border-subtle);
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtle);
}
.pux-cal-legend-item {
	display: flex;
	align-items: center;
	gap: var(--pi-space-75);
}
.pux-cal-legend-item > .z-label {
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtle);
}
.pux-cal-legend-swatch {
	flex: none;
	width: var(--pi-space-150);
	height: var(--pi-space-150);
	border-radius: var(--pi-radius-full);
}
.pux-cal-legend-badge-swatch {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--pi-space-200);
	height: var(--pi-space-200);
	border-radius: var(--pi-radius-full);
	background: var(--pi-bg-selected-bold);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-bold);
	color: var(--pi-text-information);
}
.pux-cal-legend-badge-swatch > .z-label {
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-bold);
	color: inherit;
}
.pux-cal-widget .pux-cal-muted.z-label {
	display: block;
	padding: var(--pi-space-150) var(--pi-space-100);
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}
.pux-cal-widget .pux-cal-error.z-label {
	display: block;
	padding: var(--pi-space-150) var(--pi-space-100);
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-danger);
}
/* Day popup (a ZK Popup, rendered outside the widget root — no .pux-cal-widget prefix). */
.pux-cal-popup {
	box-sizing: border-box;
	min-width: calc(var(--pi-space-800) * 3.5);
	max-height: calc(var(--pi-space-800) * 4);
	padding: var(--pi-space-100);
	overflow: auto;
	border-radius: var(--pi-radius-lg);
}
.pux-cal-popup .pux-cal-popup-header.z-label {
	display: block;
	margin-bottom: var(--pi-space-75);
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-subtle);
}
.pux-cal-popup-row {
	padding: var(--pi-space-50) var(--pi-space-75);
	margin-bottom: var(--pi-space-25);
	border-radius: var(--pi-radius-md);
}
.pux-cal-popup-row-clickable {
	cursor: pointer;
}
.pux-cal-popup-row-clickable:hover {
	background: var(--pi-bg-hover);
}
.pux-cal-popup-row .pux-cal-popup-title.z-label {
	display: block;
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-medium);
	color: var(--pi-text-default);
}
.pux-cal-popup-row .pux-cal-popup-title-link.z-label {
	color: var(--pi-link-default);
}
.pux-cal-popup-row .pux-cal-popup-time.z-label {
	display: block;
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtle);
}

/* ================================================================================
   Map — DPPuxMap. Container chrome only. Marker colours still come from
   PuxStyleEvaluator.cssColor(), because pux-map.js (com.pipra.webresources) feeds
   them to Leaflet vector options, which cannot take a CSS var().
   ================================================================================ */

.pux-map-card {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	/* 368px / 288px on the 8px grid. */
	min-height: calc(var(--pi-space-800) * 5 + var(--pi-space-600));
	min-width: calc(var(--pi-space-800) * 4.5);
	overflow: hidden;
	border-radius: var(--pi-radius-lg);
}
.pux-map-card .pux-map-message.z-label {
	display: inline-block;
	padding: var(--pi-space-150);
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}

/* ================================================================================
   Twin widget — DPPuxTwin.
   ================================================================================ */

.pux-twin-card {
	box-sizing: border-box;
	min-width: calc(var(--pi-space-800) * 4.5);
	min-height: calc(var(--pi-space-800) * 3.5);
	padding: var(--pi-space-150);
	background: var(--pi-bg-card);
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-lg);
	font-family: var(--pi-font-family);
}
.dashboard-widget .pux-twin-card {
	padding: var(--pi-space-100) 0;
	background: transparent;
	border: none;
}
.pux-twin-card .pux-twin-message.z-label {
	display: block;
	padding: var(--pi-space-150) var(--pi-space-100);
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}

/* ================================================================================
   Kanban AS A SHARED COMPONENT — the in-window board (KanbanBoardPanel), reached
   from a window view switcher, e.g. the Work Order Kanban view.

   Its own inline styles were removed in Java, so these rules are what dresses it.
   Every selector sits under .pux-kanban-board, a class only that board sets, so
   nothing here can reach the dashboard Kanban widget.

   Difference of intent, not of style: a dashlet lanes share the widget width, while
   a full-screen board keeps set-width lanes and scrolls sideways, as Jira does.
   ================================================================================ */

.pux-kanban-board {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	min-height: 0;
	padding: var(--pi-space-150);
	overflow-x: auto;
	overflow-y: hidden;
	background: var(--pi-bg-default);
	font-family: var(--pi-font-family);
}
/* 256px lanes (the board used 260px), on the 8px grid. */
.pux-kanban-board .pux-kanban-lane-fixed {
	flex: 0 0 calc(var(--pi-space-800) * 4);
}
/* This board fills its tab, so its card stack must not stop at the dashlet cap. */
.pux-kanban-board .pux-kanban-lane-body {
	max-height: none;
}
.pux-kanban-board .pux-kanban-lanes {
	gap: var(--pi-space-150);
}
/* Selected card — the ADS selected surface plus a ring, so selection reads without
   moving anything (this board also drives the window current row from it). */
.pux-kanban-board .pux-kanban-card-selected {
	background: var(--pi-bg-selected) !important;
	box-shadow: 0 0 0 2px var(--pi-border-selected) !important;
}
.pux-kanban-board .pux-kanban-empty.z-label {
	display: block;
	padding: var(--pi-space-300) var(--pi-space-150);
	font-size: var(--pi-font-size-100);
	color: var(--pi-text-subtlest);
}

/* ================================================================================
   FULL VIEW ONLY — the maximized dashlet.

   EVERY selector in this section starts with .dashboard-widget-max, a class core puts
   on a panel only while it is maximized (DashboardController swaps the panel sclass to
   "dashboard-widget dashboard-widget-max" and moves it into maximizedHolder, an
   Anchorchildren at 100% 100%). A dashlet on the dashboard proper carries only
   "dashboard-widget" and therefore cannot match a single rule below. That is the whole
   safety argument: the dashboard keeps the heights it has today.

   Why the same rules must NOT be used on the dashboard: there a dashlet has no height
   of its own, so a flex chain has nothing real to hand down — widgets collapsed or
   stretched into empty boxes, and it was reverted twice. Maximized is the one state
   where the height is genuine.
   ================================================================================ */

/* ---- the chain: panel -> body -> window -> renderer, so the height reaches the widget */
.dashboard-widget.dashboard-widget-max {
	display: flex;
	flex-direction: column;
}
.dashboard-widget.dashboard-widget-max > .z-panel-head {
	flex: none;
}
.dashboard-widget.dashboard-widget-max > .z-panel-body,
.dashboard-widget.dashboard-widget-max > .z-panel-body > .z-panelchildren {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	/* auto, not 100%: 100% on the body would be the WHOLE panel and the content would
	   then overflow by exactly the header's height. !important because ZK writes an
	   inline height onto .z-panelchildren. */
	height: auto !important;
	box-sizing: border-box;
}
/* gadget.css.dsp gives a maximized .z-panelchildren overflow:auto. The widget scrolls
   inside its own areas — that is the behaviour the small view has — so the outer box
   must not scroll as well, or full view ends up with two nested scrollbars. */
.dashboard-widget.dashboard-widget-max > .z-panel-body > .z-panelchildren {
	overflow: hidden;
}
.dashboard-widget-max .pux-widget-host.z-window,
.dashboard-widget-max .pux-widget-host > .z-window-content,
.dashboard-widget-max .pux-widget-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	height: auto;
}
.dashboard-widget-max .pux-widget-content > * {
	flex: 1;
	min-height: 0;
}
/* The filter bar and action row keep their own height; only the content area flexes. */
.dashboard-widget-max .pux-widget-host > .z-window-content > .pux-widget-actions,
.dashboard-widget-max .pux-widget-host > .z-window-content > .pux-widget-filter-bar {
	flex: none;
}

/* ---- 1. AI Risk Radar (Grid) and AI Next Best Action (Kanban) -------------------
   These two fill the screen. With the bounded box above, lifting their caps means
   "fill and scroll", not "grow forever": the table scrolls under its pinned header and
   each lane scrolls its own card stack, exactly as in the small view. */
.dashboard-widget-max .pux-grid-card,
.dashboard-widget-max .pux-kanban-card-root {
	display: flex;
	flex-direction: column;
	min-height: 0;
}
.dashboard-widget-max .pux-grid-scroll {
	flex: 1;
	min-height: 0;
	max-height: none;
}
.dashboard-widget-max .pux-kanban-lanes {
	flex: 1;
	min-height: 0;
}
.dashboard-widget-max .pux-kanban-lane-body {
	flex: 1;
	min-height: 0;
	max-height: none;
}

/* ---- 2. AR & Billing and Service Delivery (Composite) ---------------------------
   A KPI strip is a strip, not a full-screen surface: stretching it to the screen is
   what produced tall cards with empty bottoms. So the strip keeps its natural height
   (flex:none, overriding the fill rule above) and instead every CARD fills its tile,
   which is what evens the borders up — previously a tile was as tall as the tallest
   tile while the card inside hugged its own content, so one card ended well above its
   neighbour. The sparkline then absorbs the small remainder, capped, so a card is
   filled by content rather than by empty space. */
.dashboard-widget-max .pux-widget-content > .pux-composite {
	flex: none;
}
.dashboard-widget-max .pux-composite-tile > div {
	flex: 1;
	min-height: 0;
}
.dashboard-widget-max .pux-composite-tile .pux-kpi-card,
.dashboard-widget-max .pux-composite-tile .pux-chart-card {
	display: flex;
	flex-direction: column;
	min-height: 0;
}
.dashboard-widget-max .pux-composite-tile .pux-kpi-card .pux-kpi-inner {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}
.dashboard-widget-max .pux-composite-tile .pux-kpi-card .pux-kpi-sparkline {
	flex: 1;
	height: auto;
	min-height: var(--pi-space-600);
	max-height: calc(var(--pi-space-800) * 2);
}
.dashboard-widget-max .pux-composite-tile .pux-chart-canvas-wrap {
	flex: 1;
	height: auto;
	min-height: calc(var(--pi-space-800) * 4);
}

/* ---- the ECharts safety net, needed only where a wrap gets a flex height ---------
   Every ECharts host is a <div style="width:100%;height:100%"> inside its wrap. A
   percentage height resolves against the PARENT's height, so the moment a wrap above
   becomes flex-sized, 100% can resolve to 0 — that is exactly how the AR Aging chart
   came out blank and the gauge shrank to a sliver. Pinning the host by position makes
   it fill whatever box the wrap ends up with. Scoped to full view, because on the
   dashboard every wrap keeps a fixed height and nothing changes there. */
.dashboard-widget-max .pux-chart-canvas-wrap,
.dashboard-widget-max .pux-timeline-canvas-wrap,
.dashboard-widget-max .pux-kpi-card .pux-kpi-sparkline {
	position: relative;
}
.dashboard-widget-max .pux-chart-canvas-wrap > div,
.dashboard-widget-max .pux-timeline-canvas-wrap > div,
.dashboard-widget-max .pux-kpi-card .pux-kpi-sparkline > div {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

/* ================================================================================
   GRID CELL LOZENGE — PUX_Presentation_Rule Scope=CELL, RenderStyle=Badge.
   PuxPresentationRowRenderer adds .pux-cell-badge + .pux-cell-badge--<state> (and
   --semibold / --bold) to the cell; the pill is drawn on the cell's label only, so the
   row keeps the standard zebra / blue active-row background (ADS lozenge in a table).
   grid.css.dsp makes span.z-label full-width for ellipsis - shrink it to its text here.
   Text on fill: success 5.9:1, warning 5.6:1, danger 5.8:1, information 5.9:1,
   neutral 7.1:1; inverse on danger-bold 5.2:1.
   Specificity: each tone rule must out-rank the neutral base rule ((0,5,1)), hence
   .pux-cell-badge.pux-cell-badge--<state> > span.z-label ((0,6,1)).
   ================================================================================ */
.z-grid .z-row .z-cell.pux-cell-badge > span.z-label,
.z-grid .z-row .z-cell.pux-cell-badge .z-label {
	display: inline-block;
	width: auto !important;
	max-width: 100%;
	margin-left: var(--pi-space-75);
	padding: var(--pi-space-25) var(--pi-space-100) !important;
	border-radius: var(--pi-radius-sm);
	font-size: var(--pi-font-size-50) !important;
	font-weight: var(--pi-font-weight-bold) !important;
	line-height: var(--pi-line-height-base);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
	background: var(--pi-bg-neutral) !important;
	color: var(--pi-text-subtle) !important;
}
.z-grid .z-row .z-cell.pux-cell-badge.pux-cell-badge--success > span.z-label { background: var(--pi-bg-success) !important;  color: var(--pi-text-success) !important; }
.z-grid .z-row .z-cell.pux-cell-badge.pux-cell-badge--warning > span.z-label { background: var(--pi-bg-warning) !important;  color: var(--pi-text-warning) !important; }
.z-grid .z-row .z-cell.pux-cell-badge.pux-cell-badge--danger > span.z-label  { background: var(--pi-bg-danger) !important;   color: var(--pi-text-danger) !important; }
.z-grid .z-row .z-cell.pux-cell-badge.pux-cell-badge--info > span.z-label    { background: var(--pi-bg-selected) !important; color: var(--pi-text-information) !important; }
/* Bold danger = the loudest state (Emergency, hold failed): solid fill, same as the header. */
.z-grid .z-row .z-cell.pux-cell-badge.pux-cell-badge--danger.pux-cell-badge--bold > span.z-label {
	background: var(--pi-bg-danger-bold) !important;
	color: var(--pi-text-inverse) !important;
}





/* ---------- ZK labels inside the boards -----------------------------------------
   The theme's base rule [class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"])
   (theme.css.dsp, specificity 0,3,0) puts a font-size on EVERY ZK element, so a label never
   inherits its container's size and a two-class label rule here loses to it. Plain labels
   inside a board take their container's size and colour (chips, weekday cells, column
   headers); every label rule below is chained with .z-label (and every container that sets
   a size with .z-div, since the base rule hits ZK divs too) to reach 0,3,0 and, being later
   in the cascade, win. */
:is(.pux-cards-board, .pux-timeline-board, .pux-calendar-board, .pux-gantt-board, .pux-cal-popup) .z-label:not(.pi-badge) {
	font-size: inherit;
	color: inherit;
}
.pux-board-badge.pi-badge.z-label {
	font-size: var(--pi-font-size-50);
}

/* ---------- shared: header, title, empty text, selection ---------------- */
.pux-calendar-board .pux-board-header,
.pux-gantt-board .pux-board-header {
	padding: var(--pi-space-100) var(--pi-space-150);
	background: var(--pi-bg-default);
	border-bottom: 1px solid var(--pi-border-subtle);
}
.pux-calendar-board .pux-board-title.z-label,
.pux-gantt-board .pux-board-title.z-label {
	font-family: var(--pi-font-family);
	font-size: var(--pi-font-size-300);
	font-weight: var(--pi-font-weight-semibold);
	line-height: var(--pi-line-height-snug);
	color: var(--pi-text-default);
}
.pux-gantt-board .pux-board-period.z-label {
	font-size: var(--pi-font-size-200);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-default);
}
.pux-calendar-board .pux-board-empty.z-label,
.pux-gantt-board .pux-board-empty.z-label {
	font-size: var(--pi-font-size-200);
	color: var(--pi-text-subtlest);
}

/* ---------- Cards ---------------------------------------------------------
   Sunken board so the white cards read as cards (ADS board pattern). */
.pux-cards-board {
	background: var(--pi-bg-sunken);
}
.pux-cards-board .pux-cards-card {
	padding: var(--pi-space-150);
	background: var(--pi-bg-card);
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-lg);
	font-family: var(--pi-font-family);
	transition: box-shadow var(--pi-duration-fast) var(--pi-ease-standard);
}
.pux-cards-board .pux-cards-card:hover {
	box-shadow: var(--pi-shadow-raised);
}
.pux-cards-board .pux-cards-card.pux-board-selected {
	background: var(--pi-bg-selected);
	border-color: var(--pi-border-selected);
}
.pux-cards-board .pux-cards-title.z-label {
	font-size: var(--pi-font-size-200);
	font-weight: var(--pi-font-weight-semibold);
	line-height: var(--pi-line-height-base);
	color: var(--pi-text-default);
}
.pux-cards-board .pux-cards-text.z-label {
	font-size: var(--pi-font-size-75);
	line-height: var(--pi-line-height-base);
	color: var(--pi-text-subtle);
}
.pux-cards-board .pux-board-more.z-label {
	font-size: var(--pi-font-size-75);
	color: var(--pi-text-subtlest);
}

/* ---------- Timeline ------------------------------------------------------- */
.pux-timeline-board .pux-timeline-month.z-label {
	font-family: var(--pi-font-family);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-bold);
	letter-spacing: 0.04em;
	color: var(--pi-text-subtlest);
}
.pux-timeline-board .pux-timeline-day.z-label {
	font-size: var(--pi-font-size-300);
	font-weight: var(--pi-font-weight-semibold);
	line-height: var(--pi-line-height-snug);
	color: var(--pi-text-default);
}
.pux-timeline-board .pux-timeline-weekday.z-label {
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtlest);
}
.pux-timeline-board .pux-timeline-rail {
	background: var(--pi-border-subtle);
}
.pux-timeline-board .pux-timeline-dot {
	border-radius: var(--pi-radius-full);
	background: var(--pi-bg-default);
	border: 2px solid var(--pi-border-selected);
}
/* the dot fills in when its row's card is the selected one */
.pux-timeline-board .pux-timeline-row:has(.pux-board-selected) .pux-timeline-dot {
	background: var(--pi-border-selected);
}
.pux-timeline-board .pux-timeline-entry {
	padding: var(--pi-space-150) var(--pi-space-200);
	background: var(--pi-bg-card);
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-lg);
	font-family: var(--pi-font-family);
	transition: box-shadow var(--pi-duration-fast) var(--pi-ease-standard);
}
.pux-timeline-board .pux-timeline-entry:hover {
	box-shadow: var(--pi-shadow-raised);
}
.pux-timeline-board .pux-timeline-entry.pux-board-selected {
	background: var(--pi-bg-selected);
	border-color: var(--pi-border-selected);
}
.pux-timeline-board .pux-timeline-title.z-label {
	font-size: var(--pi-font-size-200);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-default);
}
.pux-timeline-board .pux-timeline-subtitle.z-label {
	font-size: var(--pi-font-size-75);
	color: var(--pi-text-subtle);
}

/* ---------- Gantt ---------------------------------------------------------
   Grey header band + hairlines instead of the old 2px blue rules (Jira timeline). */
.pux-gantt-board .pux-gantt-labels {
	border-right: 1px solid var(--pi-border-subtle);
}
.pux-gantt-board .pux-gantt-colheader.z-div {
	background: var(--pi-bg-sunken);
	border-bottom: 1px solid var(--pi-border-subtle);
	font-family: var(--pi-font-family);
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-subtle);
}
.pux-gantt-board .pux-gantt-week {
	border-left: 1px solid var(--pi-border-hairline);
}
.pux-gantt-board .pux-gantt-weekno.z-label {
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-subtle);
}
.pux-gantt-board .pux-gantt-dayno.z-label {
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtlest);
}
.pux-gantt-board .pux-gantt-label {
	background: var(--pi-bg-default);
	border-bottom: 1px solid var(--pi-border-hairline);
}
.pux-gantt-board .pux-gantt-label.pux-board-selected {
	background: var(--pi-bg-selected);
	box-shadow: inset 3px 0 0 var(--pi-border-selected);
}
.pux-gantt-board .pux-gantt-title.z-label {
	font-family: var(--pi-font-family);
	font-size: var(--pi-font-size-200);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-default);
}
/* week grid lines; --pux-gantt-week (set inline by GanttBoardPanel) is the stripe spacing */
.pux-gantt-board .pux-gantt-row {
	background-color: var(--pi-bg-default);
	background-image: repeating-linear-gradient(90deg,
		var(--pi-border-hairline) 0, var(--pi-border-hairline) 1px,
		transparent 1px, transparent var(--pux-gantt-week));
	border-bottom: 1px solid var(--pi-border-hairline);
}
.pux-gantt-board .pux-gantt-row.pux-board-selected {
	background-color: var(--pi-bg-selected);
}
.pux-gantt-board .pux-gantt-bar {
	border-radius: var(--pi-radius-md);
}
/* status families - same mapping as the Cards/Timeline lozenges, all >= 3:1 on white */
.pux-gantt-board .pux-gantt-bar--success     { background: var(--pi-chart-positive); }
.pux-gantt-board .pux-gantt-bar--warning     { background: var(--pi-icon-warning); }
.pux-gantt-board .pux-gantt-bar--information { background: var(--pi-bg-brand); }
.pux-gantt-board .pux-gantt-bar--danger      { background: var(--pi-bg-danger-bold); }
.pux-gantt-board .pux-gantt-bar--neutral     { background: var(--pi-chart-8); }
/* no Status field configured: deterministic per-record colour */
.pux-gantt-board .pux-gantt-bar--c1 { background: var(--pi-chart-1); }
.pux-gantt-board .pux-gantt-bar--c2 { background: var(--pi-chart-2); }
.pux-gantt-board .pux-gantt-bar--c3 { background: var(--pi-chart-3); }
.pux-gantt-board .pux-gantt-bar--c4 { background: var(--pi-chart-4); }
.pux-gantt-board .pux-gantt-bar--c5 { background: var(--pi-chart-5); }
.pux-gantt-board .pux-gantt-bar--c6 { background: var(--pi-chart-6); }
.pux-gantt-board .pux-gantt-range.z-label {
	font-family: var(--pi-font-family);
	font-size: var(--pi-font-size-75);
	color: var(--pi-text-subtle);
}

/* ---------- Calendar: event tones -------------------------------------------
   One class per colour family (CalendarBoardPanel.colorForValue). Each sets a stripe
   and a soft fill; chips, rows, blocks, the popover accent and its priority pill all
   read these two variables, so a tone is defined once. Text on a fill is always
   --pi-text-default. */
.pux-cal-tone--red    { --pux-cal-stripe: var(--pi-chart-7);       --pux-cal-fill: var(--pi-bg-danger); }
.pux-cal-tone--amber  { --pux-cal-stripe: var(--pi-chart-4);       --pux-cal-fill: var(--pi-bg-warning); }
.pux-cal-tone--blue   { --pux-cal-stripe: var(--pi-chart-1);       --pux-cal-fill: var(--pi-bg-selected); }
.pux-cal-tone--green  { --pux-cal-stripe: var(--pi-chart-5);       --pux-cal-fill: var(--pi-bg-success); }
.pux-cal-tone--violet { --pux-cal-stripe: var(--pi-chart-3);       --pux-cal-fill: var(--pi-bg-discovery); }
.pux-cal-tone--pink   { --pux-cal-stripe: var(--pi-chart-magenta); --pux-cal-fill: var(--pi-bg-accent-magenta-subtlest); }
.pux-cal-tone--teal   { --pux-cal-stripe: var(--pi-chart-2);       --pux-cal-fill: var(--pi-bg-accent-teal-subtlest); }
.pux-cal-tone--gray   { --pux-cal-stripe: var(--pi-chart-8);       --pux-cal-fill: var(--pi-bg-neutral); }

/* Bold fill + text colour for the popup's "Open Record" button, per tone (PA-502 review,
   option B: the button carries the event's priority colour). Text colour is chosen per tone
   so every pair is >= 4.5:1 - the old white-on-amber was 3.2:1:
   red 5.2 · amber 9.2 (dark text) · blue 5.2 · green 5.7 (dark) · violet 6.6 · pink 5.2 (dark)
   · teal 5.7 (dark) · gray 7.7 */
.pux-cal-tone--red    { --pux-cal-btn-bg: var(--pi-bg-danger-bold);  --pux-cal-btn-fg: var(--pi-text-inverse); }
.pux-cal-tone--amber  { --pux-cal-btn-bg: var(--pi-bg-warning-bold); --pux-cal-btn-fg: var(--pi-text-default); }
.pux-cal-tone--blue   { --pux-cal-btn-bg: var(--pi-bg-brand);        --pux-cal-btn-fg: var(--pi-text-inverse); }
.pux-cal-tone--green  { --pux-cal-btn-bg: var(--pi-chart-5);         --pux-cal-btn-fg: var(--pi-text-default); }
.pux-cal-tone--violet { --pux-cal-btn-bg: var(--pi-text-discovery);  --pux-cal-btn-fg: var(--pi-text-inverse); }
.pux-cal-tone--pink   { --pux-cal-btn-bg: var(--pi-chart-magenta);   --pux-cal-btn-fg: var(--pi-text-default); }
.pux-cal-tone--teal   { --pux-cal-btn-bg: var(--pi-chart-2);         --pux-cal-btn-fg: var(--pi-text-default); }
.pux-cal-tone--gray   { --pux-cal-btn-bg: var(--pi-text-subtle);     --pux-cal-btn-fg: var(--pi-text-inverse); }

/* ---------- Calendar: header + view switcher ------------------------------- */
.pux-calendar-board .pux-calendar-view-switch {
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-sm);
}
.pux-calendar-board .pux-calendar-view-switch .pux-calendar-view-btn.z-button {
	min-height: var(--pi-space-400) !important;
	padding: var(--pi-space-75) var(--pi-space-150) !important;
	border: none !important;
	border-radius: 0 !important;
	background: var(--pi-bg-default) !important;
	color: var(--pi-text-subtle) !important;
	font-family: var(--pi-font-family) !important;
	font-size: var(--pi-font-size-100) !important;
	font-weight: var(--pi-font-weight-medium) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.pux-calendar-board .pux-calendar-view-switch .pux-calendar-view-btn.z-button:hover {
	background: var(--pi-bg-hover) !important;
	color: var(--pi-text-default) !important;
}
.pux-calendar-board .pux-calendar-view-switch .pux-calendar-view-btn.pux-board-selected.z-button {
	background: var(--pi-bg-selected) !important;
	color: var(--pi-text-brand) !important;
}

/* ---------- Calendar: month grid -------------------------------------------- */
.pux-calendar-board .pux-cal-dow.z-div {
	padding: var(--pi-space-75) var(--pi-space-50);
	background: var(--pi-bg-sunken);
	border-bottom: 1px solid var(--pi-border-subtle);
	font-family: var(--pi-font-family);
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-subtle);
}
/* min-width 0: the month grid is repeat(7, 1fr), and a grid column never shrinks below its
   widest nowrap chip, so one long event title squeezed its neighbours and pushed Saturday
   off-screen at 1440 px. With it the seven columns stay equal and chip text ellipsises. */
.pux-calendar-board .pux-cal-cell,
.pux-calendar-board .pux-cal-dow.z-div {
	min-width: 0;
}
.pux-calendar-board .pux-cal-cell {
	background: var(--pi-bg-default);
	border-right: 1px solid var(--pi-border-hairline);
	border-bottom: 1px solid var(--pi-border-hairline);
	font-family: var(--pi-font-family);
}
.pux-calendar-board .pux-cal-cell--outside {
	background: var(--pi-bg-sunken);
}
.pux-calendar-board .pux-cal-cell--today {
	box-shadow: inset 0 0 0 2px var(--pi-border-selected);
}
.pux-calendar-board .pux-cal-daynum.z-label {
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-default);
}
.pux-calendar-board .pux-cal-cell--outside .pux-cal-daynum.z-label {
	color: var(--pi-text-subtlest);
}
.pux-calendar-board .pux-cal-cell--today .pux-cal-daynum.z-label {
	color: var(--pi-text-brand);
}
.pux-calendar-board .pux-cal-more.z-label {
	font-size: var(--pi-font-size-75);
	color: var(--pi-link-default);
	text-decoration: underline;
}
.pux-calendar-board .pux-cal-more.z-label:hover {
	color: var(--pi-link-hover);
}

/* ---------- Calendar: chips (month), blocks (day/week), rows (agenda) ------- */
.pux-calendar-board .pux-calendar-chip.z-div,
.pux-calendar-board .pux-calendar-block.z-div {
	padding: var(--pi-space-25) var(--pi-space-75);
	background: var(--pux-cal-fill);
	border-left: 3px solid var(--pux-cal-stripe);
	border-radius: var(--pi-radius-sm);
	font-family: var(--pi-font-family);
	font-size: var(--pi-font-size-75);
	line-height: var(--pi-line-height-base);
	color: var(--pi-text-default);
}
/* selected: the tone's own colour, stronger - not an unrelated fixed colour */
.pux-calendar-board .pux-calendar-chip.pux-board-selected,
.pux-calendar-board .pux-calendar-block.pux-board-selected {
	background: color-mix(in srgb, var(--pux-cal-stripe) 35%, var(--pux-cal-fill));
	border-left-width: 4px;
}
/* month cells are flex columns: without this a busy day squeezed its chips on top of each
   other instead of growing (the month body already scrolls) */
.pux-calendar-board .pux-cal-cell > .pux-calendar-chip,
.pux-calendar-board .pux-cal-cell > .pux-cal-daynum,
.pux-calendar-board .pux-cal-cell > .pux-cal-more {
	flex-shrink: 0 !important;
}
/* ...and the month grid itself (inline flex:1 1 auto; min-height:0) must not shrink to the
   panel either, or every week row stays pinned at its 90 px minimum and a busy day's 4th chip
   and "N more..." spill under the next week. Busy weeks grow; the month body scrolls. */
.pux-calendar-board .z-div:has(> .pux-cal-cell) {
	flex-shrink: 0 !important;
}
/* when a busy day makes the week taller, the other days stack their chips from the top
   instead of spreading them out */
.pux-calendar-board .pux-cal-cell {
	justify-content: flex-start !important;
}
/* a block cut by a day boundary squares off that edge, so a multi-day event reads as one bar */
.pux-calendar-board .pux-calendar-block--cut-top {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
.pux-calendar-board .pux-calendar-block--cut-bottom {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.pux-calendar-board .pux-cal-blocktitle.z-label {
	font-weight: var(--pi-font-weight-semibold);
}
.pux-calendar-board .pux-cal-blocktime.z-label {
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtle);
}

.pux-calendar-board .pux-cal-bandhead {
	border-bottom: 1px solid var(--pi-border-subtle);
	background: var(--pi-bg-sunken);
}
.pux-calendar-board .pux-cal-dayhead.z-div {
	font-family: var(--pi-font-family);
	font-size: var(--pi-font-size-75);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-subtle);
}
.pux-calendar-board .pux-cal-dayhead--today {
	background: var(--pi-bg-selected);
	color: var(--pi-text-brand);
}
.pux-calendar-board .pux-cal-hour.z-label {
	font-family: var(--pi-font-family);
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtlest);
}
/* hour lines; --pux-cal-hour (set inline by CalendarBoardPanel) is the row height */
.pux-calendar-board .pux-cal-daycol {
	border-left: 1px solid var(--pi-border-hairline);
	background-image: repeating-linear-gradient(180deg,
		var(--pi-border-hairline) 0, var(--pi-border-hairline) 1px,
		transparent 1px, transparent var(--pux-cal-hour));
}
.pux-calendar-board .pux-cal-daycol--today {
	background-color: var(--pi-bg-sunken);
}

.pux-calendar-board .pux-cal-agendaday.z-label {
	font-family: var(--pi-font-family);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-bold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pi-text-subtlest);
}
.pux-calendar-board .pux-calendar-row {
	padding: var(--pi-space-100) var(--pi-space-150);
	background: var(--pi-bg-card);
	border: 1px solid var(--pi-border-subtle);
	border-left: 4px solid var(--pux-cal-stripe);
	border-radius: var(--pi-radius-lg);
	font-family: var(--pi-font-family);
}
.pux-calendar-board .pux-calendar-row.pux-board-selected {
	background: var(--pux-cal-fill);
	border-left-width: 5px;
}
.pux-calendar-board .pux-cal-rowtitle.z-label {
	font-size: var(--pi-font-size-200);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-default);
}
.pux-calendar-board .pux-cal-rowtime.z-label {
	font-size: var(--pi-font-size-75);
	color: var(--pi-text-subtle);
	font-variant-numeric: tabular-nums;
}
.pux-calendar-board .pux-cal-rowsub.z-label {
	font-size: var(--pi-font-size-75);
	color: var(--pi-text-subtle);
}
.pux-calendar-board .pux-cal-meta.z-label {
	padding: 0 var(--pi-space-100);
	background: var(--pi-bg-neutral);
	border-radius: var(--pi-radius-full);
	font-size: var(--pi-font-size-50);
	color: var(--pi-text-subtle);
}

/* ---------- Calendar: event popover --------------------------------------------
   Scoped by its own class (the Popup floats, so it is not reliably inside the board). */
.pux-cal-popup.z-popup {
	padding: 0;
	border: 1px solid var(--pi-border-subtle);
	border-radius: var(--pi-radius-lg);
	box-shadow: var(--pi-shadow-overlay);
	background: var(--pi-bg-default);
}
.pux-cal-popup .pux-cal-popup-accent {
	height: var(--pi-space-75);
	background: var(--pux-cal-stripe);
}
.pux-cal-popup .pux-cal-popup-body {
	padding: var(--pi-space-150) var(--pi-space-200);
	font-family: var(--pi-font-family);
}
.pux-cal-popup .pux-cal-popup-title.z-label {
	font-size: var(--pi-font-size-300);
	font-weight: var(--pi-font-weight-semibold);
	color: var(--pi-text-default);
}
.pux-cal-popup .pux-cal-popup-sub.z-label {
	font-size: var(--pi-font-size-75);
	color: var(--pi-text-subtle);
}
.pux-cal-popup .pux-cal-popup-rows.z-div {
	gap: var(--pi-space-75);
	margin: var(--pi-space-150) 0;
	font-size: var(--pi-font-size-100);
}
.pux-cal-popup .pux-cal-popup-label.z-label {
	color: var(--pi-text-subtlest);
}
.pux-cal-popup .pux-cal-popup-value.z-label {
	font-weight: var(--pi-font-weight-medium);
	color: var(--pi-text-default);
}
.pux-cal-popup .pux-cal-popup-pill.z-label {
	/* approved design (PA-502 review, option B): a lozenge like .pi-badge - small capitals,
	   square corners, the priority's soft fill, dark text */
	padding: var(--pi-space-25) var(--pi-space-100);
	background: var(--pux-cal-fill);
	border-radius: var(--pi-radius-sm);
	font-size: var(--pi-font-size-50);
	font-weight: var(--pi-font-weight-bold);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--pi-text-default);
}
/* "Open Record" in the event's priority colour; beats .pi-btn-primary.z-button (0,2,0) */
.pux-cal-popup .pux-cal-open.pi-btn.z-button {
	background: var(--pux-cal-btn-bg) !important;
	border-color: var(--pux-cal-btn-bg) !important;
	color: var(--pux-cal-btn-fg) !important;
}
.pux-cal-popup .pux-cal-open.pi-btn.z-button:hover:not([disabled]) {
	background: var(--pux-cal-btn-bg) !important;
	filter: brightness(0.92);
}






:root {
	--pi-msg-ico-error: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm-1 5h2v7h-2V7zm0 9h2v2h-2v-2z'/></svg>");
	--pi-msg-ico-success: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zM10.6 16.6L6.7 12.7l1.4-1.4 2.5 2.5 5.6-5.6 1.4 1.4z'/></svg>");
	--pi-msg-ico-warning: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M13.7 3.1l8.6 15.2c.8 1.3-.2 2.9-1.7 2.9H3.4c-1.5 0-2.5-1.6-1.7-2.9l8.6-15.2c.7-1.4 2.7-1.4 3.4 0zM11 9v5h2V9h-2zm0 7v2h2v-2h-2z'/></svg>");
	--pi-msg-ico-info: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm-1 5h2v2h-2V7zm0 4h2v6h-2v-6z'/></svg>");
	--pi-msg-ico-question: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm-1 14h2v2h-2v-2zm1-10a4 4 0 0 1 4 4c0 1.6-.9 2.4-1.8 3-.7.5-1.2.8-1.2 1.5V15h-2v-.5c0-1.7 1-2.5 1.9-3.1.6-.4 1.1-.8 1.1-1.4a2 2 0 0 0-4 0H8a4 4 0 0 1 4-4z'/></svg>");
}


.adwindow-status .adwindow-status-docstatus {
	flex: 1 1 auto !important;
	min-width: 0 !important;
}
.adwindow-status .adwindow-status-docstatus .docstatus-error:not(:empty),
.adwindow-status .adwindow-status-docstatus .docstatus-normal:not(:empty) {
	display: inline-flex !important;
	align-items: center !important;
	gap: var(--pi-space-75) !important;
	width: auto !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: var(--pi-space-25) var(--pi-space-100) !important;
	border-radius: var(--pi-radius-sm) !important;
}

.adwindow-status .adwindow-status-docstatus .docstatus-error:not(:empty)::before,
.adwindow-status .adwindow-status-docstatus .docstatus-normal:not(:empty)::before {
	content: "";
	flex: 0 0 auto;
	width: var(--pi-space-200);
	height: var(--pi-space-200);
	-webkit-mask: var(--pi-msg-ico-success) no-repeat center / contain;
	mask: var(--pi-msg-ico-success) no-repeat center / contain;
	background: var(--pi-chart-positive);
}
.adwindow-status .docstatus-error .z-label,
.adwindow-status .docstatus-normal .z-label {
	color: var(--pi-text-success) !important;
	font-size: var(--pi-font-size-200) !important;
	font-weight: var(--pi-font-weight-semibold) !important;
	line-height: var(--pi-space-250) !important;
	font-style: normal !important;
}
.adwindow-status .docstatus-error .z-label {
	color: var(--pi-text-danger) !important;
}
.adwindow-north:has(.adwindow-toolbar .z-toolbarbutton:not([disabled]) .z-icon-Save) .adwindow-status .docstatus-normal .z-label {
	color: var(--pi-text-information) !important;
}
.adwindow-status .docstatus-error .z-label[style*="cursor: pointer"]:hover,
.adwindow-status .docstatus-normal .z-label[style*="cursor: pointer"]:hover {
	text-decoration: underline;
}


.adwindow-status .adwindow-status-docstatus .docstatus-error:not(:empty) {
	background: var(--pi-bg-danger) !important;
}
.adwindow-status .adwindow-status-docstatus .docstatus-error:not(:empty)::before {
	-webkit-mask-image: var(--pi-msg-ico-error);
	mask-image: var(--pi-msg-ico-error);
	background: var(--pi-icon-danger);
}

.adwindow-status .adwindow-status-docstatus .docstatus-normal:not(:empty) {
	background: var(--pi-bg-success) !important;
}

.adwindow-north:has(.adwindow-toolbar .z-toolbarbutton:not([disabled]) .z-icon-Save) .adwindow-status .adwindow-status-docstatus .docstatus-normal:not(:empty) {
	background: var(--pi-bg-selected) !important;
}
.adwindow-north:has(.adwindow-toolbar .z-toolbarbutton:not([disabled]) .z-icon-Save) .adwindow-status .adwindow-status-docstatus .docstatus-normal:not(:empty)::before {
	-webkit-mask-image: var(--pi-msg-ico-info);
	mask-image: var(--pi-msg-ico-info);
	background: var(--pi-icon-brand);
}


.adwindow-layout:has(.adwindow-status .docstatus-error:not(:empty)) .adwindow-form :is(.z-combobox, .z-bandbox, .z-datebox, .z-timebox, .z-textbox, .z-decimalbox, .z-intbox, .z-numberbox).idempiere-mandatory,
.adwindow-layout:has(.adwindow-status .docstatus-error:not(:empty)) .adwindow-form .editor-box.idempiere-mandatory :is(input.z-textbox, input.z-decimalbox, input.z-intbox, .z-combobox, .z-datebox) {
	border-color: var(--pi-border-danger) !important;
	box-shadow: inset 0 0 0 1px var(--pi-border-danger) !important;
}


.adwindow-detailpane-toolbar .docstatus-error .z-label {
	color: var(--pi-text-danger) !important;
	font-weight: var(--pi-font-weight-semibold) !important;
	font-style: normal !important;
}
.adwindow-detailpane-toolbar .docstatus-normal .z-label {
	color: var(--pi-text-success) !important;
	font-weight: var(--pi-font-weight-semibold) !important;
	font-style: normal !important;
}
.adwindow-detailpane-toolbar:has(.z-toolbarbutton:not([disabled]) .z-icon-Save) .docstatus-normal .z-label {
	color: var(--pi-text-information) !important;
}


.z-notification {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	gap: var(--pi-space-200) !important;
	box-sizing: border-box !important;
	width: var(--pi-modal-width-small) !important;
	max-width: calc(100vw - var(--pi-space-400)) !important;
	padding: var(--pi-space-200) !important;
	background: var(--pi-bg-default) !important;
	color: var(--pi-text-default) !important;
	border: none !important;
	border-radius: var(--pi-radius-lg) !important;
	box-shadow: var(--pi-shadow-overlay) !important;
	font-family: var(--pi-font-family) !important;
}

.z-notification.pi-flag {
	position: fixed !important;
	top: var(--pi-flag-top, var(--pi-space-200)) !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	margin: 0 !important;
	transform: translateX(-50%) !important;
}

.z-notification.pi-flag-repeat {
	display: none !important;
}

.z-notification:not(.pi-flag) {
	width: auto !important;
	max-width: var(--pi-modal-width-small) !important;
}

.z-notification .z-notification-content {
	display: block !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	color: var(--pi-text-default) !important;
	font-size: var(--pi-font-size-200) !important;
	font-weight: var(--pi-font-weight-semibold) !important;
	line-height: var(--pi-space-250) !important;
	text-align: left !important;
	white-space: normal !important;
	word-break: break-word !important;
}

.z-notification > .z-notification-icon {
	position: static !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
	width: var(--pi-space-300) !important;
	height: var(--pi-space-300) !important;
	font-size: 0 !important;
	-webkit-mask: var(--pi-msg-ico-info) no-repeat center / contain;
	mask: var(--pi-msg-ico-info) no-repeat center / contain;
	background-color: var(--pi-icon-brand) !important;
}
.z-notification > .z-notification-icon::before {
	content: none !important;
}
.z-notification.z-notification-error > .z-notification-icon {
	-webkit-mask-image: var(--pi-msg-ico-error);
	mask-image: var(--pi-msg-ico-error);
	background-color: var(--pi-icon-danger) !important;
}
.z-notification.z-notification-warning > .z-notification-icon {
	-webkit-mask-image: var(--pi-msg-ico-warning);
	mask-image: var(--pi-msg-ico-warning);
	background-color: var(--pi-icon-warning) !important;
}
.z-notification.z-notification-success > .z-notification-icon {
	-webkit-mask-image: var(--pi-msg-ico-success);
	mask-image: var(--pi-msg-ico-success);
	background-color: var(--pi-chart-positive) !important;
}

.z-notification .z-notification-close {
	position: static !important;
	flex: 0 0 auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: var(--pi-space-300) !important;
	height: var(--pi-space-300) !important;
	margin: 0 !important;
	border: none !important;
	border-radius: var(--pi-radius-sm) !important;
	background: transparent !important;
	color: var(--pi-text-subtlest) !important;
	opacity: 1 !important;
	cursor: pointer !important;
}
.z-notification .z-notification-close:hover {
	background: var(--pi-bg-hover) !important;
	color: var(--pi-text-default) !important;
}

.z-notification .z-notification-close .z-notification-icon {
	position: static !important;
	width: auto !important;
	height: auto !important;
	font-size: var(--pi-font-size-75) !important;
	background: none !important;
	-webkit-mask: none !important;
	mask: none !important;
	color: inherit !important;
}
.z-notification .z-notification-pointer {
	display: none !important;
}


.popup-dialog:has(.dialog-content :is([class*="MessageBox"], img[src*="/msgbox/"])) {
	min-height: 0 !important;
}

.popup-dialog .dialog-content table.z-hbox:has(> tbody :is([class*="MessageBox"], img[src*="/msgbox/"])) {
	width: var(--pi-space-400) !important;
}
.popup-dialog .dialog-content [class*="MessageBox"].z-label,
.popup-dialog .dialog-content img[src*="/msgbox/"] {
	display: inline-block !important;
	width: var(--pi-space-300) !important;
	height: var(--pi-space-300) !important;
	font-size: 0 !important;
	object-position: -9999px 0;
	-webkit-mask: var(--pi-msg-ico-info) no-repeat center / contain;
	mask: var(--pi-msg-ico-info) no-repeat center / contain;
	background-color: var(--pi-icon-brand) !important;
	padding: 0 !important;
}
.popup-dialog .dialog-content [class*="MessageBox"].z-label::before {
	content: none !important;
}
.popup-dialog .dialog-content .z-icon-ErrorMessageBox.z-label,
.popup-dialog .dialog-content img[src*="/msgbox/stop"] {
	-webkit-mask-image: var(--pi-msg-ico-error);
	mask-image: var(--pi-msg-ico-error);
	background-color: var(--pi-icon-danger) !important;
}
.popup-dialog .dialog-content .z-icon-ExclamationMessageBox.z-label,
.popup-dialog .dialog-content img[src*="/msgbox/warning"] {
	-webkit-mask-image: var(--pi-msg-ico-warning);
	mask-image: var(--pi-msg-ico-warning);
	background-color: var(--pi-icon-warning) !important;
}
.popup-dialog .dialog-content .z-icon-QuestionMessageBox.z-label,
.popup-dialog .dialog-content img[src*="/msgbox/question"] {
	-webkit-mask-image: var(--pi-msg-ico-question);
	mask-image: var(--pi-msg-ico-question);
	background-color: var(--pi-icon-brand) !important;
}

.popup-dialog:has(.dialog-content [class*="MessageBox"], .dialog-content img[src*="/msgbox/"]) .dialog-content .z-div,
.popup-dialog:has(.dialog-content [class*="MessageBox"], .dialog-content img[src*="/msgbox/"]) .dialog-content .z-div > span {
	color: var(--pi-text-default) !important;
	font-size: var(--pi-font-size-200) !important;
	font-weight: var(--pi-font-weight-regular) !important;
	line-height: var(--pi-space-250) !important;
}

.popup-dialog:has(.dialog-content [class*="MessageBox"], .dialog-content img[src*="/msgbox/"]) .dialog-footer table[id$="-real"] > tbody > tr {
	display: flex !important;
	flex-direction: row-reverse !important;
	align-items: center !important;
	gap: var(--pi-space-100) !important;
}
.popup-dialog:has(.dialog-content [class*="MessageBox"], .dialog-content img[src*="/msgbox/"]) .dialog-footer td.z-hbox-separator {
	display: none !important;
}


.popup-dialog:has(.dialog-content :is([class*="MessageBox"], img[src*="/msgbox/"])),
.z-messagebox-window {
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	margin: 0 !important;
	transform: translate(-50%, -50%) !important;
	width: var(--pi-modal-width-small) !important;
	max-width: calc(100vw - var(--pi-space-400)) !important;
	height: auto !important;
	max-height: calc(100vh - var(--pi-space-400)) !important;
}
.popup-dialog:has(.dialog-content :is([class*="MessageBox"], img[src*="/msgbox/"])) > .z-window-header,
.z-messagebox-window > .z-window-header {
	cursor: default !important;
}

.popup-dialog:has(.dialog-content :is([class*="MessageBox"], img[src*="/msgbox/"])) .dialog-content .z-div[style*="min-width"] {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
}
.popup-dialog:has(.dialog-content :is([class*="MessageBox"], img[src*="/msgbox/"])) .dialog-content .z-label {
	white-space: normal !important;
	overflow-wrap: anywhere !important;
	padding-right: 0 !important;
}


.z-messagebox-window > .z-window-content {
	padding: 0 !important;
	background: var(--pi-bg-default) !important;
}
.z-messagebox-window .z-messagebox-viewport {
	display: flex !important;
	align-items: flex-start !important;
	gap: var(--pi-space-150) !important;
	padding: var(--pi-space-250) var(--pi-space-300) var(--pi-space-150) !important;
}
.z-messagebox-window .z-messagebox {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
}
.z-messagebox-window .z-messagebox .z-label {
	color: var(--pi-text-default) !important;
	font-family: var(--pi-font-family) !important;
	font-size: var(--pi-font-size-200) !important;
	font-weight: var(--pi-font-weight-regular) !important;
	line-height: var(--pi-space-250) !important;
	white-space: normal !important;
	overflow-wrap: anywhere !important;
}
.z-messagebox-window .z-messagebox-icon {
	display: inline-block !important;
	flex: 0 0 auto !important;
	width: var(--pi-space-300) !important;
	height: var(--pi-space-300) !important;
	margin: 0 !important;
	font-size: 0 !important;
	-webkit-mask: var(--pi-msg-ico-info) no-repeat center / contain;
	mask: var(--pi-msg-ico-info) no-repeat center / contain;
	
	background-image: none !important;
	background-color: var(--pi-icon-brand) !important;
}
.z-messagebox-window .z-messagebox-icon::before {
	content: none !important;
}
.z-messagebox-window .z-messagebox-error {
	-webkit-mask-image: var(--pi-msg-ico-error);
	mask-image: var(--pi-msg-ico-error);
	background-color: var(--pi-icon-danger) !important;
}
.z-messagebox-window .z-messagebox-exclamation {
	-webkit-mask-image: var(--pi-msg-ico-warning);
	mask-image: var(--pi-msg-ico-warning);
	background-color: var(--pi-icon-warning) !important;
}
.z-messagebox-window .z-messagebox-question {
	-webkit-mask-image: var(--pi-msg-ico-question);
	mask-image: var(--pi-msg-ico-question);
}

.z-messagebox-window .z-messagebox-buttons {
	display: flex !important;
	flex-direction: row-reverse !important;
	justify-content: flex-start !important;
	align-items: center !important;
	gap: var(--pi-space-100) !important;
	margin: 0 !important;
	padding: var(--pi-space-100) var(--pi-space-300) var(--pi-space-200) !important;
	border: none !important;
}
.z-messagebox-window .z-messagebox-buttons > .z-hlayout-inner {
	margin: 0 !important;
	padding: 0 !important;
}
.z-messagebox-window .z-messagebox-buttons > .z-hlayout-inner:first-child .z-button {
	background: var(--pi-bg-brand) !important;
	color: var(--pi-text-inverse) !important;
	border-color: transparent !important;
}
.z-messagebox-window .z-messagebox-buttons > .z-hlayout-inner:first-child .z-button:hover {
	background: var(--pi-bg-brand-hover) !important;
}


.z-loading,
.z-apply-loading {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	opacity: 1 !important;
}
.z-loading .z-loading-indicator,
.z-apply-loading .z-apply-loading-indicator {
	display: inline-flex !important;
	align-items: center !important;
	gap: var(--pi-space-100) !important;
	padding: var(--pi-space-150) var(--pi-space-200) !important;
	background: var(--pi-bg-default) !important;
	border: none !important;
	border-radius: var(--pi-radius-lg) !important;
	box-shadow: var(--pi-shadow-overlay) !important;
	color: var(--pi-text-default) !important;
	font-family: var(--pi-font-family) !important;
	font-size: var(--pi-font-size-200) !important;
	font-weight: var(--pi-font-weight-medium) !important;
	line-height: var(--pi-space-250) !important;
	white-space: nowrap !important;
}
.z-loading .z-loading-icon,
.z-apply-loading .z-apply-loading-icon {
	display: inline-block !important;
	flex: 0 0 auto !important;
	box-sizing: border-box !important;
	width: var(--pi-space-200) !important;
	height: var(--pi-space-200) !important;
	margin: 0 !important;
	background: none !important;
	border: 2px solid var(--pi-border-subtle) !important;
	border-top-color: var(--pi-icon-subtle) !important;
	border-radius: var(--pi-radius-full) !important;
	animation: pi-spin 0.8s linear infinite !important;
}
@keyframes pi-spin {
	to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	.z-loading .z-loading-icon,
	.z-apply-loading .z-apply-loading-icon {
		animation-duration: 2.4s !important;
	}
}

.desktop-tabbox > .z-tabpanels {
	position: relative;
}
.pi-window-opening {
	position: absolute;
	inset: 0;
	z-index: var(--pi-z-sticky);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--pi-bg-default);
}
.pi-window-opening-status {
	display: inline-flex;
	align-items: center;
	gap: var(--pi-space-100);
	color: var(--pi-text-subtle);
	font-size: var(--pi-font-size-100);
	
	will-change: opacity;
	animation: pi-blanket-in var(--pi-duration-normal) var(--pi-ease-decelerate) var(--pi-duration-slow) both;
}
.pi-window-opening-status .pi-tab-spinner {
	will-change: transform;
}

.desktop-tabbox > .z-tabpanels.pi-window-opening-host > .z-tabpanel {
	visibility: hidden !important;
}
.pi-tab-pending-label {
	display: inline-flex;
	align-items: center;
	gap: var(--pi-space-75);
	max-width: var(--pi-size-field-compact);
	white-space: nowrap;
}
.pi-tab-pending-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pi-tab-spinner,
.busy-dialog .z-icon-spinner.z-icon-spin {
	display: inline-block;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: var(--pi-space-150);
	height: var(--pi-space-150);
	border: var(--pi-space-25) solid var(--pi-border-subtle);
	border-top-color: var(--pi-icon-subtle);
	border-radius: var(--pi-radius-full);
	animation: pi-spin 0.8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
	.pi-tab-spinner {
		animation-duration: 2.4s;
	}
	.pi-window-opening-status {
		animation: none;
	}
}

.busy-dialog .z-icon-spinner.z-icon-spin {
	width: var(--pi-space-200);
	height: var(--pi-space-200);
	font-size: 0;
}
.busy-dialog .z-icon-spinner.z-icon-spin::before {
	content: none !important;
}

.busy-dialog.z-window-embedded,
.busy-dialog.z-window-embedded > .z-window-content {
	width: max-content !important;
	height: auto !important;
}
.busy-dialog.z-window-embedded {
	margin: var(--pi-space-600) auto !important;
}

.desktop-tabbox > .z-tabpanels > .desktop-home-tabpanel > .busy-dialog.z-window-embedded {
	position: absolute !important;
	inset: 0;
	z-index: var(--pi-z-sticky);
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	background: var(--pi-bg-default) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.desktop-tabbox > .z-tabpanels > .desktop-home-tabpanel > .busy-dialog.z-window-embedded > .z-window-content,
.desktop-tabbox > .z-tabpanels > .desktop-home-tabpanel > .busy-dialog.z-window-embedded .busy-dialog-box {
	width: auto !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.desktop-tabbox > .z-tabpanels > .desktop-home-tabpanel > .busy-dialog.z-window-embedded .busy-dialog-box {
	gap: var(--pi-space-100) !important;
}
.desktop-tabbox > .z-tabpanels > .desktop-home-tabpanel > .busy-dialog.z-window-embedded .z-icon-spinner.z-icon-spin {
	width: var(--pi-space-150);
	height: var(--pi-space-150);
}
.desktop-tabbox > .z-tabpanels > .desktop-home-tabpanel > .busy-dialog.z-window-embedded .busy-dialog-label {
	color: var(--pi-text-subtle) !important;
	font-size: var(--pi-font-size-100) !important;
	font-weight: var(--pi-font-weight-regular) !important;
}

.pi-page-opening {
	position: fixed;
	inset: 0;
	z-index: var(--pi-z-blanket);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--pi-bg-default);
}

#zk_proc-m.z-modal-mask,
#zk_showBusy-m.z-modal-mask {
	background: transparent !important;
}
@keyframes pi-blanket-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
.z-apply-mask {
	background: color-mix(in srgb, var(--pi-bg-default) 50%, transparent) !important;
	opacity: 1 !important;
}



/* ============================================================================
   Twin Studio / Twin Viewer (com.pipra.twin.studio). The forms are a thin ZK
   shell around an iframe; the studio itself is styled by its own --pux-*
   tokens. Everything here is scoped to .tws-* and uses --pi-* tokens only.
   ========================================================================== */

.tws-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--pi-bg-default);
}

.tws-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

/* The form's children sit in the window content: lay them out as a column so the
   viewer takes the space under the bar. ZK's vflex sizes the panel to the whole
   form and pushes its bottom (where the pick card is) out of view. */
.tws-form > .z-window-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tws-form > .z-window-content > .tws-panel,
.tws-panel > .tws-frame {
  flex: 1 1 0;
  height: auto !important;
  min-height: 0;
}

.tws-bar {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--pi-space-150);
  padding: var(--pi-space-100) var(--pi-space-150);
  border-bottom: 1px solid var(--pi-border-subtle);
  background: var(--pi-bg-default);
  color: var(--pi-text-default);
}

.tws-bar-label {
  font-size: var(--pi-font-size-100);
  font-weight: 600;
  color: var(--pi-text-subtle);
}

.tws-bar-note {
  font-size: var(--pi-font-size-75);
  color: var(--pi-text-subtle);
  margin-left: auto;
}

.tws-frame,
.tws-frame.z-iframe {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
}

.tws-empty {
  padding: var(--pi-space-300);
  color: var(--pi-text-subtle);
}



/* ============================================================================
   AI Workflow Builder (com.pipra.ai.builder). The form is a thin ZK shell around
   the builder app in an iframe; the app styles itself with its own --pux-*
   tokens. Everything here is scoped to .wfb-* and uses --pi-* tokens only.
   ========================================================================== */

.wfb-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--pi-bg-default);
}

.wfb-form > .z-window-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
}

.wfb-frame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
}

.wfb-notice {
  margin: var(--pi-space-300);
  color: var(--pi-text-default);
}



/* ============================================================================
   Trace Explorer (com.pipra.platform TraceExplorerForm). Shared .pi-* components
   carry most of the look; this fragment only lays the screen out and styles the
   few pieces with no shared component (search hits, inspector facts, graph host,
   legend). Every rule is scoped to .ptx-* and uses --pi-* tokens only.
   ========================================================================== */

.ptx-form > .z-window-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--pi-bg-default);
}

.ptx-root {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-200);
  min-height: 0;
}

.ptx-search {
  display: flex;
  align-items: center;
  gap: var(--pi-space-100);
  flex: 1 1 320px;
  min-width: 0;
}

.ptx-search-input {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 560px;
}

.ptx-controls {
  display: flex;
  align-items: center;
  gap: var(--pi-space-100);
  flex-wrap: wrap;
}

.ptx-depth-label {
  margin-left: var(--pi-space-100);
}

/* ---- search hits ------------------------------------------------------- */
.ptx-hits {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-100);
}

.ptx-hit-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--pi-space-100);
}

.ptx-hit {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-50);
  padding: var(--pi-space-100) var(--pi-space-150);
  border: 1px solid var(--pi-border-default);
  border-radius: var(--pi-radius-md);
  background: var(--pi-bg-card);
  cursor: pointer;
}

.ptx-hit:hover {
  background: var(--pi-bg-hover);
  border-color: var(--pi-border-selected);
}

.ptx-hit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pi-space-100);
}

.ptx-hit-exact {
  border-color: var(--pi-border-selected);
}

.ptx-hit-context {
  overflow-wrap: anywhere;
}

.ptx-hit-name {
  color: var(--pi-text-default);
  font-weight: var(--pi-font-weight-semibold);
}

/* ---- body: main column + inspector --------------------------------------- */
.ptx-body {
  display: flex;
  gap: var(--pi-space-200);
  align-items: flex-start;
  min-height: 0;
}

.ptx-main {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-200);
  flex: 1 1 auto;
  min-width: 0;
}

.ptx-inspector {
  flex: 0 0 360px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-150);
  position: sticky;
  top: 0;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
}

@media (max-width: 1100px) {
  .ptx-body {
    flex-direction: column;
  }
  .ptx-inspector {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    position: static;
    max-height: none;
  }
}

.ptx-summary {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-150);
}

.ptx-root-head {
  display: flex;
  align-items: center;
  gap: var(--pi-space-100);
  flex-wrap: wrap;
}

/* ---- graph: toolbar + scrollable viewport (pan by dragging) + legend ----------------- */
.ptx-graph {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pi-border-default);
  border-radius: var(--pi-radius-md);
  background: var(--pi-bg-default);
  min-width: 0;
}

.ptx-gbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--pi-space-100);
  padding: var(--pi-space-100) var(--pi-space-150);
  border-bottom: 1px solid var(--pi-border-default);
}

.ptx-gtools {
  display: flex;
  align-items: center;
  gap: var(--pi-space-50);
}

.ptx-gzoom {
  min-width: var(--pi-space-600);
  text-align: center;
  color: var(--pi-text-subtle);
  font-size: var(--pi-font-size-75);
  font-variant-numeric: tabular-nums;
}

.ptx-gview {
  overflow: auto;
  max-height: 62vh;
  cursor: grab;
  overscroll-behavior: contain;
}

.ptx-gview.is-panning {
  cursor: grabbing;
  user-select: none;
}

.ptx-canvas {
  min-width: 100%;
}

/* Maximized: the graph takes the whole Trace Explorer tab; search, summary, event list and inspector
   step aside until Restore or Escape. (A fixed overlay would be trapped by the desktop tab panel.) */
.ptx-form.ptx-graph-maxed .ptx-root > .pi-page-top,
.ptx-form.ptx-graph-maxed .ptx-hits,
.ptx-form.ptx-graph-maxed .ptx-summary,
.ptx-form.ptx-graph-maxed .ptx-timeline,
.ptx-form.ptx-graph-maxed .ptx-inspector {
  display: none;
}

.ptx-graph.ptx-graph-max .ptx-gview {
  max-height: none;
  height: calc(100vh - 220px);
}

.ptx-legend {
  display: flex;
  gap: var(--pi-space-200);
  flex-wrap: wrap;
  padding: var(--pi-space-75) var(--pi-space-200);
  border-top: 1px solid var(--pi-border-default);
  color: var(--pi-text-subtle);
  font-size: var(--pi-font-size-75);
}

.ptx-legend[hidden] {
  display: none;
}

.ptx-legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--pi-space-75);
}

.ptx-legend-mark {
  display: inline-block;
  width: var(--pi-space-300);
  border-top: 2px solid var(--pi-icon-subtle);
}

.ptx-legend-link .ptx-legend-mark {
  border-top-style: dashed;
  border-top-color: var(--pi-icon-brand);
}

.ptx-legend-party .ptx-legend-mark {
  border-top-style: dotted;
}

/* ---- timeline -------------------------------------------------------------- */
.ptx-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-100);
}

.ptx-timeline .z-listitem {
  cursor: pointer;
}

.ptx-timeline .ptx-row-root .z-listcell {
  background: var(--pi-bg-selected);
}

/* ---- inspector ------------------------------------------------------------- */
.ptx-insp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pi-space-100);
}

.ptx-insp-summary {
  display: block;
  color: var(--pi-text-default);
  line-height: var(--pi-line-height-base);
}

.ptx-insp-section {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-75);
  padding-top: var(--pi-space-150);
  border-top: 1px solid var(--pi-border-default);
}

.ptx-links {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-100);
}

.ptx-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--pi-space-150);
}

.ptx-fact-value {
  color: var(--pi-text-default);
  text-align: right;
  overflow-wrap: anywhere;
}

.ptx-object {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--pi-space-75);
}

.ptx-qty {
  margin-left: auto;
  color: var(--pi-text-default);
  font-weight: var(--pi-font-weight-semibold);
}

.ptx-link,
.ptx-link:visited {
  color: var(--pi-link-default);
  cursor: pointer;
  text-decoration: none;
}

.ptx-link:hover {
  color: var(--pi-link-hover);
  text-decoration: underline;
}

.ptx-insp-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--pi-space-100);
  padding-top: var(--pi-space-150);
  border-top: 1px solid var(--pi-border-default);
}



/* ============================================================================
   Marketplace catalog (com.pipra.marketplace MarketplaceCatalogForm): filters, a
   card per product, and - for a product sold in tiers - its plans side by side
   with their feature lines. Buttons and lozenges are the shared .pi-btn /
   .pi-badge; this fragment lays the screen out. Every rule is scoped to
   .pmp-mkt-* and uses --pi-* tokens only.
   ========================================================================== */

.pmp-mkt-north {
  padding: var(--pi-space-200) var(--pi-space-200) var(--pi-space-100);
}

.pmp-mkt-center {
  padding: var(--pi-space-200);
}

.pmp-mkt-title {
  display: block;
  font-size: var(--pi-font-size-400);
  font-weight: var(--pi-font-weight-bold);
  color: var(--pi-text-default);
}

.pmp-mkt-subtitle {
  display: block;
  font-size: var(--pi-font-size-75);
  color: var(--pi-text-subtle);
}

.pmp-mkt-filters {
  margin-top: var(--pi-space-100);
  gap: var(--pi-space-100);
  align-items: center;
  flex-wrap: wrap;
}

.pmp-mkt-search {
  width: 260px;
  max-width: 100%;
}

.pmp-mkt-category {
  width: 180px;
}

.pmp-mkt-licensed-filter {
  align-items: center;
  font-size: var(--pi-font-size-100);
  color: var(--pi-text-default);
}

.pmp-mkt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--pi-space-200);
  align-items: start;
}

.pmp-mkt-card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--pi-space-200);
  background: var(--pi-bg-card);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-lg);
}

.pmp-mkt-card:hover {
  border-color: var(--pi-border-selected);
  box-shadow: var(--pi-shadow-raised);
}

.pmp-mkt-card-licensed {
  border-left: var(--pi-space-50) solid var(--pi-text-success);
}

/* a tier table needs the whole row */
.pmp-mkt-card-expanded {
  grid-column: 1 / -1;
}

.pmp-mkt-new-ribbon {
  position: absolute;
  top: var(--pi-space-100);
  right: var(--pi-space-100);
  padding: var(--pi-space-25) var(--pi-space-100);
  border-radius: var(--pi-radius-full);
  background: var(--pi-bg-danger-bold);
  color: var(--pi-text-inverse);
  font-size: var(--pi-font-size-50);
  font-weight: var(--pi-font-weight-bold);
  text-transform: uppercase;
}

.pmp-mkt-card-name {
  display: block;
  padding-right: var(--pi-space-600);
  font-size: var(--pi-font-size-200);
  font-weight: var(--pi-font-weight-bold);
  color: var(--pi-text-default);
}

.pmp-mkt-card-publisher {
  display: block;
  margin-bottom: var(--pi-space-100);
  font-size: var(--pi-font-size-75);
  color: var(--pi-text-subtle);
}

.pmp-mkt-card-badges {
  gap: var(--pi-space-75);
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--pi-space-100);
}

.pmp-mkt-badge-licensed,
.pmp-mkt-badge-status {
  font-weight: var(--pi-font-weight-bold);
}

.pmp-mkt-card-desc {
  display: block;
  margin-bottom: var(--pi-space-100);
  font-size: var(--pi-font-size-100);
  line-height: var(--pi-line-height-base);
  color: var(--pi-text-default);
}

.pmp-mkt-card-detail {
  margin-bottom: var(--pi-space-100);
  padding: var(--pi-space-100);
  border-radius: var(--pi-radius-md);
  background: var(--pi-bg-sunken);
}

.pmp-mkt-card-detail-text {
  display: block;
  font-size: var(--pi-font-size-75);
  line-height: var(--pi-line-height-base);
  color: var(--pi-text-subtle);
}

.pmp-mkt-catalog .pmp-mkt-card-link {
  align-self: flex-start;
  margin-bottom: var(--pi-space-100);
}

.pmp-mkt-card-footer {
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: var(--pi-space-100);
}

.pmp-mkt-card-price {
  font-size: var(--pi-font-size-100);
  font-weight: var(--pi-font-weight-semibold);
  color: var(--pi-text-default);
}

.pmp-mkt-empty {
  display: block;
  padding: var(--pi-space-300);
  font-size: var(--pi-font-size-100);
  color: var(--pi-text-subtle);
}

/* --- plans (Core / Control / Edge) ---------------------------------------- */

.pmp-mkt-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--pi-space-150);
  margin-top: var(--pi-space-150);
}

.pmp-mkt-plan {
  box-sizing: border-box;
  min-width: 0;
  padding: var(--pi-space-150);
  background: var(--pi-bg-card);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-md);
}

.pmp-mkt-plan-current {
  border: 2px solid var(--pi-border-selected);
}

.pmp-mkt-plan-head {
  align-items: center;
  gap: var(--pi-space-100);
  flex-wrap: wrap;
}

.pmp-mkt-plan-name {
  font-size: var(--pi-font-size-200);
  font-weight: var(--pi-font-weight-bold);
  color: var(--pi-text-default);
}

.pmp-mkt-plan-price {
  display: block;
  margin-top: var(--pi-space-50);
  font-size: var(--pi-font-size-100);
  font-weight: var(--pi-font-weight-semibold);
  color: var(--pi-text-default);
}

.pmp-mkt-plan-intro {
  display: block;
  margin: var(--pi-space-100) 0 var(--pi-space-50);
  font-size: var(--pi-font-size-75);
  color: var(--pi-text-subtle);
}

.pmp-mkt-plan-lines {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-75);
}

.pmp-mkt-plan-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pi-space-50);
  padding-top: var(--pi-space-75);
  border-top: 1px solid var(--pi-border-hairline);
}

.pmp-mkt-plan-line-name {
  font-size: var(--pi-font-size-100);
  color: var(--pi-text-default);
}

.pmp-mkt-plan-line-desc {
  flex-basis: 100%;
  font-size: var(--pi-font-size-75);
  color: var(--pi-text-subtle);
}



/* ============================================================================
   Genealogy Explorer (com.pipra.nija GenealogyExplorerForm). Shared .pi-* components
   carry the toolbar, buttons, badges, messages and cards; this fragment lays the
   screen out and styles the lineage canvas drawn by com.pipra.webresources
   js/vendor/pux/nija-genealogy.js (cards, chips, column heads, edges, legend),
   the details facts and the event history. Every rule is scoped to .nij-gen-*
   and uses --pi-* tokens only. Positions and sizes on the canvas are computed
   by the script and set inline; nothing visual is.
   ========================================================================== */

.nij-gen-form > .z-window-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  background: var(--pi-bg-default);
}

.nij-gen-root {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-200);
  flex: none;
}

/* a tall lineage (a whole batch) makes the form scroll; no section is squeezed */
.nij-gen-root > * {
  flex: none;
}

/* ---- toolbar and search hits ----------------------------------------------- */
.nij-gen-search {
  display: flex;
  align-items: center;
  gap: var(--pi-space-100);
  flex: 1 1 320px;
  min-width: 0;
}

.nij-gen-search-input {
  flex: 1 1 auto;
  min-width: 0;
  max-width: var(--pi-size-field-max);
}

.nij-gen-hits {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-100);
}

.nij-gen-hit-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pi-space-100);
}

/* ---- the lineage card -------------------------------------------------------- */
.nij-gen-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-width: 0;
  overflow: hidden;
}

.nij-gen-banner:empty {
  display: none;
}

.nij-gen-banner {
  padding: var(--pi-space-150) var(--pi-space-200) 0;
}

.nij-gen-summary {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-100);
  padding: var(--pi-space-150) var(--pi-space-200);
  border-bottom: 1px solid var(--pi-border-subtle);
}

.nij-gen-summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pi-space-100) var(--pi-space-300);
}

.nij-gen-reach-line {
  display: flex;
  align-items: baseline;
  gap: var(--pi-space-100);
}

.nij-gen-reach-value {
  font-size: var(--pi-font-size-100);
  color: var(--pi-text-default);
}

.nij-gen-canvas-host {
  position: relative;
}

.nij-gen-canvas-wrap {
  overflow-x: auto;
  overflow-y: hidden;
}

.nij-gen-canvas {
  position: relative;
}

.nij-gen-edges {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
}

/* column heads */
.nij-gen-colhead {
  position: absolute;
  top: var(--pi-space-150);
  display: flex;
  justify-content: space-between;
  gap: var(--pi-space-50);
  font-size: var(--pi-font-size-50);
  font-weight: var(--pi-font-weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pi-text-subtlest);
}

.nij-gen-colhead-count {
  font-weight: var(--pi-font-weight-medium);
  letter-spacing: 0;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

.nij-gen-colhead-focus {
  color: var(--pi-text-brand);
}

/* a stage hidden by Backward / Forward: inactive, so exempt from text contrast */
.nij-gen-colhead-faded {
  color: var(--pi-text-disabled);
}

/* cards */
.nij-gen-node {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-25);
  margin: 0;
  padding: var(--pi-space-75) var(--pi-space-100);
  overflow: hidden;
  text-align: left;
  font-family: var(--pi-font-family);
  color: var(--pi-text-default);
  background: var(--pi-bg-card);
  border: 1px solid var(--pi-border-default);
  border-radius: var(--pi-radius-md);
  cursor: pointer;
  transition: opacity 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.nij-gen-node:hover {
  border-color: var(--pi-border-bold);
  box-shadow: var(--pi-shadow-overlay);
}

.nij-gen-node-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: var(--pi-font-size-100);
  font-weight: var(--pi-font-weight-semibold);
  line-height: var(--pi-line-height-snug);
}

.nij-gen-node-sub {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: var(--pi-font-size-75);
  color: var(--pi-text-subtle);
  line-height: var(--pi-line-height-snug);
}

.nij-gen-node-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--pi-space-50);
  overflow: hidden;
}

.nij-gen-node-badges .pi-badge {
  flex: none;
}

.nij-gen-mono .nij-gen-node-title,
.nij-gen-details-title.nij-gen-mono {
  font-family: var(--pi-font-mono);
}

/* the selected item: a 2px edge without moving its content */
.nij-gen-node.nij-gen-focus {
  background: var(--pi-bg-selected);
  border-color: var(--pi-border-selected);
  box-shadow: inset 0 0 0 1px var(--pi-border-selected), var(--pi-shadow-overlay);
  cursor: default;
}

.nij-gen-node.nij-gen-compact {
  flex-direction: row;
  align-items: center;
  gap: var(--pi-space-75);
  padding: 0 var(--pi-space-100);
}

.nij-gen-compact .nij-gen-node-title {
  font-size: var(--pi-font-size-75);
}

.nij-gen-dot {
  flex: none;
  width: var(--pi-space-75);
  height: var(--pi-space-75);
  border-radius: var(--pi-radius-full);
  background: var(--pi-icon-subtle);
}

.nij-gen-dot.nij-gen-dot-ok {
  background: var(--pi-chart-positive);
}

/* a stage not recorded yet */
.nij-gen-node.nij-gen-ghost {
  background: var(--pi-bg-sunken);
  border-style: dashed;
  border-color: var(--pi-border-bold);
  cursor: default;
}

.nij-gen-node.nij-gen-ghost:hover {
  box-shadow: none;
}

.nij-gen-ghost .nij-gen-node-title,
.nij-gen-ghost .nij-gen-node-sub {
  white-space: normal;
}

.nij-gen-ghost .nij-gen-node-title {
  font-weight: var(--pi-font-weight-medium);
  color: var(--pi-text-subtle);
}

/* recall simulation */
.nij-gen-node.nij-gen-affected {
  border-color: var(--pi-border-danger);
}

.nij-gen-node.nij-gen-affected.nij-gen-focus {
  background: var(--pi-bg-danger);
  border-color: var(--pi-bg-danger-bold);
  box-shadow: inset 0 0 0 1px var(--pi-bg-danger-bold), var(--pi-shadow-overlay);
}

/* pointing at an event */
.nij-gen-node.nij-gen-hit,
.nij-gen-chip.nij-gen-hit {
  border-color: var(--pi-border-selected);
  box-shadow: 0 0 0 var(--pi-focus-ring-width) var(--pi-border-selected);
}

.nij-gen-chip.nij-gen-hit {
  border-style: solid;
  color: var(--pi-text-brand);
}

.nij-gen-node.nij-gen-dim,
.nij-gen-chip.nij-gen-dim {
  opacity: 0.3;
}

/* "+N more" / "Show fewer" */
.nij-gen-chip {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 var(--pi-space-100);
  white-space: nowrap;
  font-family: var(--pi-font-family);
  font-size: var(--pi-font-size-75);
  font-weight: var(--pi-font-weight-medium);
  color: var(--pi-text-subtle);
  background: var(--pi-bg-default);
  border: 1px dashed var(--pi-border-bold);
  border-radius: var(--pi-radius-full);
  cursor: pointer;
  transition: opacity 0.15s;
}

.nij-gen-chip:hover {
  color: var(--pi-text-default);
  background: var(--pi-bg-hover);
}

/* edges */
.nij-gen-edge {
  fill: none;
  stroke: var(--pi-border-bold);
  stroke-width: 1.25;
  transition: opacity 0.15s;
}

.nij-gen-edge-lineage {
  stroke: var(--pi-border-selected);
  stroke-width: 2;
}

.nij-gen-edge-recall {
  stroke: var(--pi-border-danger);
  stroke-width: 2;
}

.nij-gen-edge-related {
  stroke-dasharray: 3 3;
}

.nij-gen-edge-ghost {
  stroke-dasharray: 4 4;
}

.nij-gen-edge.nij-gen-dim {
  opacity: 0.2;
}

/* legend */
.nij-gen-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pi-space-100) var(--pi-space-250);
  padding: var(--pi-space-100) var(--pi-space-200) var(--pi-space-150);
  border-top: 1px solid var(--pi-border-subtle);
}

.nij-gen-legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--pi-space-75);
}

.nij-gen-swatch {
  flex: none;
  width: var(--pi-space-400);
  height: 0;
  border-top: 2px solid var(--pi-border-selected);
}

.nij-gen-swatch-related,
.nij-gen-swatch-ghost {
  border-top-width: 1px;
  border-top-style: dashed;
  border-top-color: var(--pi-border-bold);
}

.nij-gen-swatch-recall {
  border-top-color: var(--pi-border-danger);
}

/* ---- details and history ------------------------------------------------------ */
.nij-gen-lower {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: var(--pi-space-200);
  align-items: start;
}

.nij-gen-details {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-150);
  min-width: 0;
}

.nij-gen-details-title {
  overflow-wrap: anywhere;
  font-size: var(--pi-font-size-400);
  font-weight: var(--pi-font-weight-semibold);
  line-height: var(--pi-line-height-tight);
  color: var(--pi-text-default);
}

.nij-gen-details-title.nij-gen-mono {
  font-size: var(--pi-font-size-300);
}

.nij-gen-badges,
.nij-gen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pi-space-100);
}

.nij-gen-facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: var(--pi-space-75) var(--pi-space-150);
  align-items: baseline;
}

.nij-gen-fact-value {
  overflow-wrap: anywhere;
  font-size: var(--pi-font-size-100);
  color: var(--pi-text-default);
}

.nij-gen-reach {
  padding-top: var(--pi-space-150);
  border-top: 1px solid var(--pi-border-subtle);
}

.nij-gen-events-card {
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-150);
  min-width: 0;
}

.nij-gen-events-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--pi-space-100);
}

.nij-gen-events {
  display: flex;
  gap: var(--pi-space-150);
  overflow-x: auto;
  padding-bottom: var(--pi-space-100);
}

.nij-gen-ev {
  flex: 0 0 220px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--pi-space-50);
  padding: var(--pi-space-100) var(--pi-space-150);
  background: var(--pi-bg-card);
  border: 1px solid var(--pi-border-subtle);
  border-radius: var(--pi-radius-md);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.nij-gen-ev:hover,
.nij-gen-ev:focus-visible {
  border-color: var(--pi-border-selected);
  box-shadow: var(--pi-shadow-overlay);
}

.nij-gen-ev-warning {
  border-left: 3px solid var(--pi-border-warning);
}

.nij-gen-ev-danger {
  border-left: 3px solid var(--pi-border-danger);
}

.nij-gen-ev-success {
  border-left: 3px solid var(--pi-chart-positive);
}

.nij-gen-ev-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pi-space-100);
}

.nij-gen-ev-time {
  font-variant-numeric: tabular-nums;
}

.nij-gen-ev-text {
  overflow-wrap: anywhere;
  font-size: var(--pi-font-size-100);
  color: var(--pi-text-default);
}

@media (prefers-reduced-motion: reduce) {
  .nij-gen-node,
  .nij-gen-chip,
  .nij-gen-edge,
  .nij-gen-ev {
    transition: none;
  }
}


/* ============================================================================
   Knowledge Base Documents, "Upload documents" dialog (com.pipra.ai.chatbot
   KbUploadForm). The dialog, buttons and grid are the shared .pi-dialog, .pi-btn
   and .pi-grid; this fragment only lets the file list scroll. Every rule is scoped
   to .pi-kb-upload-dialog and uses --pi-* tokens only.

   ZK clips both .z-listbox and .z-listbox-body with overflow:hidden. A listbox with
   no height squeezed by the dialog body's max-height therefore cuts off its rows
   with no way to reach them, so the rows get their own scroll area here. The header
   row and the dialog's summary line and buttons stay in place.

   The app-wide scrollbar thumb (custom.css.dsp) is --pi-border-subtle, 1.3:1 on a
   card. This list is the only sign that more files exist, so its thumb is
   --pi-border-bold, 3.9:1, to meet the 3:1 gate. The !important rules are there to
   win over the !important app-wide ones.
   ========================================================================== */

.pi-kb-upload-dialog .pi-grid.z-listbox {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  /* The header and a couple of rows, even in a very short window. Past this the
     dialog body scrolls, so nothing becomes unreachable. */
  min-height: calc(var(--pi-space-800) * 2);
}

.pi-kb-upload-dialog .pi-grid.z-listbox .z-listbox-header {
  flex: none;
}

.pi-kb-upload-dialog .pi-grid.z-listbox .z-listbox-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-color: var(--pi-border-bold) transparent !important;
}

/* Browsers that use the older scrollbar styling instead of scrollbar-color. */
.pi-kb-upload-dialog .pi-grid.z-listbox .z-listbox-body::-webkit-scrollbar {
  width: var(--pi-space-100) !important;
}

.pi-kb-upload-dialog .pi-grid.z-listbox .z-listbox-body::-webkit-scrollbar-thumb {
  background-color: var(--pi-border-bold) !important;
}





@media screen and (max-width: 1023px) {

	
	.nij-gen-lower {
		grid-template-columns: minmax(0, 1fr);
	}

	
	.desktop-header-left .global-search-box,
	.desktop-header-left .global-search-box.z-bandbox {
		display: none !important;
	}

	
	.adwindow-form .z-cell .form-label,
	.adwindow-form .z-cell .form-label > .z-label {
		overflow-wrap: break-word !important;
		word-break: normal !important;
	}

	
	*:has(> .adwindow-form.z-grid) {
		container-type: inline-size;
		container-name: pi-form;
	}
	@container pi-form (max-width: 900px) {
		.adwindow-form > .z-grid-body > table,
		.adwindow-form table {
			table-layout: auto !important;
		}
		.adwindow-form colgroup col,
		.adwindow-form .z-columns {
			width: auto !important;
		}
		.adwindow-form .z-row {
			display: flex !important;
			flex-wrap: wrap !important;
			padding: 0 var(--pi-space-200) !important;
		}
		.adwindow-form .z-row > .z-cell {
			display: block !important;
			width: 100% !important;
			flex: 0 0 100% !important;
			padding: 0 !important;
		}
		
		.adwindow-form .z-row > .z-cell:not(:has(input, textarea, select, button, .z-label, .z-checkbox, img, .z-image, .z-chart, canvas)) {
			display: none !important;
		}
		.adwindow-form .z-row:not(:has(input, textarea, select, button, .z-label, .z-checkbox, img, .z-image)) {
			display: none !important;
		}
		.adwindow-form .z-cell .form-label {
			display: block !important;
			width: 100% !important;
			margin: 0 !important;
			text-align: left !important;
			justify-content: flex-start !important;
			padding: var(--pi-space-150) 0 var(--pi-space-50) 0 !important;
		}
		.adwindow-form .z-cell input.z-textbox,
		.adwindow-form .z-cell .z-textbox,
		.adwindow-form .z-cell .z-combobox,
		.adwindow-form .z-cell .z-datebox,
		.adwindow-form .z-cell .z-numberbox,
		.adwindow-form .z-cell .z-bandbox {
			width: 100% !important;
			max-width: 100% !important;
		}
	}

	
	.adwindow-toolbar > .z-toolbar-content {
		flex-wrap: wrap !important;
		row-gap: var(--pi-space-50) !important;
	}
	.adwindow-toolbar .toolbar-searchbox.z-combobox {
		flex: 0 0 auto !important;
		min-width: var(--pi-size-toolbar-query-min) !important;
	}

	
	.desktop-center .dashboard-row {
		display: flex !important;
		flex-wrap: wrap !important;
		width: 100% !important;
	}
	.desktop-center .dashboard-row > .z-hlayout-inner {
		flex: 1 1 var(--pi-size-card-min) !important;
		width: auto !important;
		min-width: min(var(--pi-size-card-min), 100%) !important;
		max-width: 100% !important;
	}

	
	.pux-dashboard-grid {
		grid-template-columns: 1fr !important;
	}

	
	.pux-ctx-panel-east ~ .z-east-collapsed {
		width: var(--pi-space-400) !important;
		padding: var(--pi-space-50) 0 !important;
		box-sizing: border-box !important;
	}
	.pux-ctx-panel-east ~ .z-east-collapsed > .z-borderlayout-icon {
		left: 0 !important;
		right: 0 !important;
		margin: 0 auto !important;
	}
	.pux-ctx-panel-east ~ .z-east-collapsed > .z-east-title {
		margin: 0 !important;
		line-height: calc(var(--pi-space-400) - var(--pi-space-50)) !important;
	}
}

@media screen and (max-width: 767px) {

	
	.desktop-header .pi-account-zone .pi-link-assistant .z-toolbarbutton-content,
	.desktop-header .pi-account-zone .pi-link-marketplace .z-toolbarbutton-content,
	.desktop-header .pi-account-zone .pi-link-updates .z-toolbarbutton-content {
		font-size: 0 !important;
	}
	.desktop-header .pi-account-zone .pi-link-marketplace .z-toolbarbutton-content i,
	.desktop-header .pi-account-zone .pi-link-updates .z-toolbarbutton-content i {
		font-size: var(--pi-font-size-200) !important;
	}
	.desktop-header .pi-account-zone .pi-account-link.pi-link-pref,
	.desktop-header .pi-account-zone .pi-account-link.pi-link-feedback {
		display: none !important;
	}
}


.pi-profile-menu .z-vlayout-inner:has(> .pi-mi-mobile-only) {
	display: none !important;
}
@media screen and (max-width: 767px) {
	.pi-profile-menu .z-vlayout-inner:has(> .pi-mi-mobile-only) {
		display: block !important;
	}
}





:is(#pi-a11y-focus,
	button, a[href], select, summary,
	input[type="checkbox"], input[type="radio"],
	[role="button"], [role="tab"], [role="treeitem"], [role="menuitem"], [role="link"],
	[role="separator"][tabindex], [tabindex="0"],
	.z-button, .z-toolbarbutton, .z-tab, .z-a, .z-panel-icon, .z-window-icon,
	iframe, .z-frozen-inner, .adtab-form, .html-field):focus-visible {
	outline: var(--pi-focus-ring-width) solid var(--pi-border-focused) !important;
	outline-offset: var(--pi-focus-ring-offset) !important;
}


.z-checkbox:has(> input:focus-visible) > .z-checkbox-mold {
	outline: var(--pi-focus-ring-width) solid var(--pi-border-focused) !important;
	outline-offset: var(--pi-focus-ring-offset) !important;
}


.pux-menu-row:focus-visible,
.adtab-form:focus-visible,
iframe:focus-visible,
.z-panel-icon:focus-visible,
.z-window-icon:focus-visible {
	outline-offset: calc(var(--pi-focus-ring-width) * -1) !important;
}


.z-hlayout:has(> .z-hlayout-inner > :focus-visible) {
	overflow: visible !important;
}

