/* ZelvotriX Experience v2.0 — deliberately scoped, final UI layer. */
:root{--zxp-navy:#0e2340;--zxp-blue:#126adc;--zxp-cyan:#21a7de;--zxp-muted:#74859d;--zxp-line:#e2e9f2;--zxp-shadow:0 8px 25px rgba(15,45,79,.045);--zxp-spring:cubic-bezier(.2,.8,.2,1)}
.zxp-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body.mode-app .app-page{max-width:1600px;margin-inline:auto}
/* Prominent but restrained global search affordance on both dashboards */
body.mode-app .zxp-search-launch,body.zph-shell .zxp-search-launch{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid #dce5f0;background:#f8fbff;color:#3e5b7c;border-radius:10px;padding:8px 11px;font-size:12px;line-height:1;font-weight:700;transition:border-color .18s,background .18s,box-shadow .18s}
.zxp-search-launch>span{font-size:21px;line-height:.7;color:#407da9}
.zxp-search-launch kbd{background:#fff;border:1px solid #dce6f1;border-radius:5px;padding:4px 6px;color:#7990a9;font:10px ui-monospace,monospace}
.zxp-search-launch:hover{border-color:#9fc9f9;background:#eef6ff;box-shadow:0 0 0 3px #e6f2ff}
body.mode-app :where(.app-page-head,.zxp-ops-head,.zxp-card-heading,.zxp-admin-heading){min-width:0}
body.mode-app .zxp-ops{margin:8px 0 27px;color:#17324f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif}
body.mode-app .zxp-ops-head{display:flex;justify-content:space-between;align-items:end;gap:18px;flex-wrap:wrap;margin:0 0 18px}
.zxp-eyebrow{display:inline-flex;gap:7px;align-items:center;font-size:10px;letter-spacing:.15em;font-weight:900;color:#2f77c4;text-transform:uppercase}
.zxp-live-dot{display:inline-block;width:8px;height:8px;background:#2bcaa0;border-radius:50%;box-shadow:0 0 0 4px rgba(43,202,160,.14);animation:zxp-pulse 2.6s ease-in-out infinite}
@keyframes zxp-pulse{50%{box-shadow:0 0 0 7px rgba(43,202,160,.03)}}
body.mode-app .zxp-ops-head h2{margin:7px 0 5px;font-size:clamp(22px,2.6vw,30px);font-weight:850;letter-spacing:-.045em;color:#0e294a}
body.mode-app .zxp-ops-head p{max-width:580px;margin:0;color:#788ba2;font-size:13px;line-height:1.5}
.zxp-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.zxp-actions label{color:#6f8199;font-size:12px;font-weight:730}
body.mode-app .zxp-ops .zxp-actions select{width:auto;min-width:130px;padding:9px 32px 9px 12px;background-color:#fff;border:1px solid #dce6f2!important;border-radius:10px;box-shadow:none;color:#2c496e;font-size:12px;font-weight:700;min-height:37px}
body.mode-app .zxp-action{display:inline-flex;align-items:center;gap:7px;background:#126ad8;color:white;padding:10px 13px;border-radius:10px;font-size:12px;font-weight:750;text-decoration:none;box-shadow:0 6px 14px rgba(18,106,216,.16);transition:transform .2s,box-shadow .2s}
body.mode-app .zxp-action:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(18,106,216,.22)}
.zxp-action svg{width:15px;height:15px}
body.mode-app .zxp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 16px}
body.mode-app .zxp-stats article{background:#fff;position:relative;overflow:hidden;min-height:127px;border:1px solid #e0e9f3;border-radius:15px;box-shadow:var(--zxp-shadow);padding:19px 17px;transition:transform .22s var(--zxp-spring),box-shadow .22s}
body.mode-app .zxp-stats article::before{content:'';position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#0f73de,#46bded);opacity:.7}
body.mode-app .zxp-stats article:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(15,45,79,.095)}
.zxp-stats article>span:first-child{display:block;max-width:calc(100% - 36px);color:#73859c;font-weight:750;font-size:11.5px}
.zxp-stats article strong{display:block;color:#112844;letter-spacing:-.05em;font-weight:850;font-size:clamp(27px,2.8vw,36px);margin:15px 0 3px;line-height:1;font-variant-numeric:tabular-nums}
.zxp-stats article small{font-size:10px;color:#8a9aad}
.zxp-stats .zxp-stat-icon{position:absolute;right:15px;top:16px;width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:#e9f3ff;color:#2779d9;font-style:normal}
.zxp-stats .zxp-stat-icon svg{width:19px;height:19px}
.zxp-stats .zxp-green{background:#e4fbf2;color:#19a078}.zxp-stats .zxp-amber{background:#fff6e2;color:#b28119}.zxp-stats .zxp-violet{background:#f1ecff;color:#775ad3}
body.mode-app .zxp-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.87fr);gap:15px;margin:0 0 15px}
body.mode-app .zxp-card{background:#fff;border:1px solid #e0e8f2;border-radius:17px;padding:clamp(16px,2vw,23px);box-shadow:var(--zxp-shadow);min-width:0;position:relative}
.zxp-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}
.zxp-card-heading h3{font-size:17px;font-weight:800;margin:4px 0 0;letter-spacing:-.035em;color:#162e4d}
.zxp-card-heading>a{display:inline-flex;align-items:center;gap:5px;color:#2470c9;text-decoration:none;font-size:11px;font-weight:800}
.zxp-card-heading a svg{width:15px;height:15px}
.zxp-card-heading>span{border-radius:50px;background:#f0f5fb;color:#70849e;padding:6px 10px;font-size:10px;font-weight:750}
.zxp-chart-scroller{width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.zxp-bars{height:219px;display:flex;align-items:stretch;gap:9px;min-width:325px;padding:6px 1px 0}
.zxp-bars[data-zxp-long="true"]{min-width:650px;gap:4px}
.zxp-bar{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:7px}
.zxp-bar>b{font-size:10px;font-weight:800;color:#57708d}
.zxp-bar>div{height:165px;min-width:0;width:min(100%,48px);display:flex;align-items:flex-end;position:relative;border-bottom:1px solid #dce7f2;background:repeating-linear-gradient(to bottom,#fff 0,#fff 39px,#eff4f8 40px,#fff 41px)}
.zxp-bar>div>span{display:block;height:var(--zxp-height);width:100%;min-height:2px;background:linear-gradient(180deg,#67b7f5,#126bd9);border-radius:6px 6px 2px 2px;box-shadow:0 5px 13px rgba(23,112,215,.12);transform-origin:bottom;animation:zxp-grow .75s var(--zxp-spring) both}
.zxp-bar:nth-child(2n)>div>span{animation-delay:.07s}.zxp-bar:nth-child(3n)>div>span{animation-delay:.11s}
.zxp-bar>small{font-size:10px;color:#7b8ba1;white-space:nowrap}
@keyframes zxp-grow{from{transform:scaleY(.05);opacity:.35}to{transform:scaleY(1);opacity:1}}
.zxp-card-note{border-top:1px solid #edf2f8;padding-top:13px;margin:11px 0 0;color:#8a9bb0;font-size:10px}
.zxp-donut-layout{display:grid;grid-template-columns:minmax(145px,1fr) minmax(160px,1fr);align-items:center;gap:15px;min-height:219px}
.zxp-donut{margin-inline:auto;width:min(100%,195px);aspect-ratio:1;background:var(--zxp-donut);border-radius:50%;display:grid;place-items:center;animation:zxp-pop .6s ease both}
@keyframes zxp-pop{from{transform:scale(.95);opacity:.8}to{transform:scale(1);opacity:1}}
.zxp-donut>div{background:#fff;width:68%;aspect-ratio:1;border-radius:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;box-shadow:0 0 0 1px #e7eef7}
.zxp-donut strong{font-size:37px;color:#132944;letter-spacing:-.07em;line-height:1;font-weight:850}
.zxp-donut small{font-size:10px;color:#8394a7;margin-top:6px}
.zxp-legend{display:grid;gap:5px}
.zxp-legend a{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 7px;border-radius:8px;text-decoration:none;color:#6b7d95;font-weight:680;font-size:11px;transition:background .2s}
.zxp-legend a:hover{background:#f2f7fe}.zxp-legend i{width:10px;height:10px;border-radius:3px}.zxp-legend strong{font-size:12px;font-variant-numeric:tabular-nums;color:#1b314d}
.zxp-bottom{grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr)}
.zxp-table-scroll{overflow-x:auto;scrollbar-width:thin}
.zxp-data-table{width:100%;border-collapse:collapse;min-width:460px;font-size:11px}
.zxp-data-table th{text-align:left;color:#8495aa;text-transform:uppercase;letter-spacing:.08em;font-size:10px;padding:11px 10px;border-bottom:1px solid #e7eef6;font-weight:800}
.zxp-data-table td{padding:11px 10px;color:#5f7089;border-bottom:1px solid #edf3f8}.zxp-data-table tr:last-child td{border:0}
.zxp-data-table tr:hover td{background:#f7faff}.zxp-data-table td:first-child a{display:grid;gap:3px;text-decoration:none;color:#253f5e}
.zxp-data-table td:first-child a strong{font-size:12px}.zxp-data-table td:first-child a small{color:#91a1b3}
.zxp-visits{display:grid;gap:3px}.zxp-visits>a{display:flex;align-items:center;gap:11px;padding:9px 4px;border-bottom:1px solid #edf2f7;text-decoration:none;color:#223a58;transition:background .17s}
.zxp-visits>a:last-child{border:0}.zxp-visits>a:hover{background:#f6faff}.zxp-visits>a>span:nth-child(2){flex:1;min-width:0;display:grid;gap:4px}
.zxp-visits strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zxp-visits small{font-size:10px;color:#8b9bb0}.zxp-visits svg{width:15px;height:15px;color:#a8b9cb}
.zxp-date{width:43px;min-width:43px;background:#eef6ff;color:#176bb9;border:1px solid #e1edfa;border-radius:10px;padding:6px;text-align:center}.zxp-date b{display:block;font-size:15px}.zxp-date small{color:#4c82ad;text-transform:uppercase;font-size:9px}
.zxp-empty{padding:25px 10px;color:#8596aa;line-height:1.6;font-size:12px}.zxp-live-message{font-size:10px;color:#8192a7;text-align:right;margin:9px 3px 0}
/* Search drawer: one surface shared by workspace and platform admin */
.zxp-command[hidden]{display:none!important}.zxp-command{position:fixed;inset:0;z-index:2000;display:grid;align-items:start;justify-items:center;padding:clamp(65px,10vh,128px) 15px 20px}
.zxp-command-shade{position:fixed;inset:0;background:rgba(7,21,42,.57);border:0;padding:0;cursor:default;backdrop-filter:blur(5px)}
.zxp-command-dialog{position:relative;width:min(100%,650px);max-height:70vh;overflow:hidden;background:#fff;border:1px solid #d9e6f4;border-radius:18px;box-shadow:0 36px 105px rgba(6,24,46,.32);display:flex;flex-direction:column;animation:zxp-dialog-in .2s var(--zxp-spring)}
@keyframes zxp-dialog-in{from{transform:translateY(-8px);opacity:.2}to{transform:translateY(0);opacity:1}}
.zxp-command-top{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e9eff6;padding:16px 19px}.zxp-command-top>span{font-size:25px;color:#1d75ce}
.zxp-command-top input{border:0!important;outline:0!important;box-shadow:none!important;flex:1;min-width:0;font-size:16px!important;color:#1e3556;padding:6px 0!important;background:transparent!important}
.zxp-command-top button{border:1px solid #dfe8f4;border-radius:7px;background:#f4f7fb;font-weight:800;color:#8091a7;padding:5px 9px;font-size:11px}
.zxp-command [data-zxp-results]{min-height:100px;max-height:440px;overflow-y:auto;padding:8px}
.zxp-command-empty{padding:27px 17px;color:#8292a8;font-size:13px;text-align:center}
.zxp-command-result{width:100%;display:grid;grid-template-columns:87px minmax(0,1fr);gap:10px;align-items:center;padding:12px 13px;border-radius:10px;color:#25405e;text-decoration:none!important}
.zxp-command-result:hover,.zxp-command-result[aria-selected="true"]{background:#edf5ff;outline:none}
.zxp-command-type{font-size:10px;color:#3272bc;background:#e4f0ff;border-radius:6px;padding:6px 8px;text-align:center;font-weight:800}
.zxp-command-content{min-width:0;display:grid;gap:3px}.zxp-command-content strong{font-size:13px;color:#193755;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zxp-command-content small{font-size:11px;color:#8092a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zxp-command-dialog footer{display:flex;gap:18px;align-items:center;padding:12px 17px;border-top:1px solid #e6edf5;font-size:10px;color:#8191a7;flex-wrap:wrap}.zxp-command-dialog footer span:last-child{margin-left:auto}.zxp-command kbd{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d9e4f0;border-radius:5px;min-width:22px;padding:3px 4px;margin-right:4px;font:11px ui-monospace,monospace;color:#7287a2}
body.zxp-lock-scroll{overflow:hidden}
/* Server-searchable, properly paginated jobs listing */
body.mode-app .zxp-jobs-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 16px;padding:14px 16px;background:#fff;border:1px solid #e1eaf3;border-radius:13px}
body.mode-app .zxp-jobs-toolbar form{display:flex;align-items:center;gap:9px;flex:1;min-width:210px}
body.mode-app .zxp-jobs-toolbar form input[type=search]{width:100%;max-width:420px;border:1px solid #d8e4f1;border-radius:9px;padding:10px 12px;font-size:12px}
body.mode-app .zxp-jobs-toolbar :where(a,button){padding:10px 12px;border:1px solid #d8e4f1;background:#f5f9fd;color:#2b679f;font-size:12px;font-weight:800;border-radius:9px;text-decoration:none}
body.mode-app .zxp-jobs-toolbar button:hover,body.mode-app .zxp-jobs-toolbar a:hover{background:#e7f2ff}
body.mode-app .zxp-jobs-pages{display:flex;gap:10px;justify-content:flex-end;align-items:center;padding:12px 0 22px;font-size:12px;color:#667d95}
body.mode-app .zxp-jobs-pages a{display:inline-flex;border:1px solid #d8e4f1;border-radius:9px;padding:9px 13px;color:#2369b4;background:#fff;text-decoration:none;font-weight:800}
/* Platform operations visibility */
body.zph-shell .zxp-admin-insights{margin:0 0 20px;padding:20px;border:1px solid #dce7f1;background:linear-gradient(145deg,#fff,#f8fbff);border-radius:17px;box-shadow:var(--zxp-shadow)}
.zxp-admin-heading{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.zxp-admin-heading h2{color:#152f4e;font-size:20px;font-weight:850;letter-spacing:-.04em;margin:4px 0}.zxp-admin-heading p{font-size:12px;color:#8091a7;margin:0}
.zxp-admin-heading>a{color:#236fc0;font-weight:800;font-size:12px;display:inline-flex;align-items:center;gap:6px}.zxp-admin-heading svg{width:15px;height:15px}
.zxp-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.zxp-admin-stats article{background:#fff;border:1px solid #e1eaf3;padding:17px;border-radius:12px;position:relative}
.zxp-admin-stats article span{font-size:11px;color:#7688a0;display:block;font-weight:750}.zxp-admin-stats article strong{display:block;font-size:29px;color:#153351;margin:12px 0 4px;letter-spacing:-.04em}.zxp-admin-stats article small{font-size:10px;color:#91a0b1}
.zxp-admin-trend{margin-top:14px;display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px;align-items:center;border:1px solid #e6edf5;border-radius:12px;background:#fff;padding:13px 17px}
.zxp-admin-trend>div:first-child{display:grid;gap:5px}.zxp-admin-trend strong{font-size:13px;color:#20405f}.zxp-admin-trend small{font-size:10px;color:#8d9cb0}
.zxp-admin-bars{height:108px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:end}.zxp-admin-bars>div{height:100%;display:flex;flex-direction:column;gap:5px;justify-content:end;text-align:center}
.zxp-admin-bars b{display:block;height:var(--zxp-height);min-height:2px;background:linear-gradient(180deg,#65b8fb,#196fcd);border-radius:5px 5px 2px 2px;animation:zxp-grow .7s ease both}
/* Light public polish without changing page flow or marketing claims */
body.mode-site :is(.feature-tile,.pricing-card,.solution-card,.resource-card){transition:transform .25s var(--zxp-spring),box-shadow .25s var(--zxp-spring),border-color .25s}
body.mode-site :is(.feature-tile,.pricing-card,.solution-card,.resource-card):hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(8,35,71,.12)}
body.mode-site .site-links details .zvx-chevron svg{width:13px;height:13px;transform:rotate(90deg)}
body.mode-site .site-links details[open] .zvx-chevron svg{transform:rotate(-90deg)}
:where(body.mode-app,body.mode-site,body.zph-shell) :where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #6cb6ff;outline-offset:3px}
@media(max-width:1180px){body.mode-app .zxp-stats,body.zph-shell .zxp-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}body.mode-app .zxp-grid{grid-template-columns:1fr}}
@media(max-width:800px){body.mode-app .zxp-ops-head{align-items:stretch}body.mode-app .zxp-actions{width:100%}body.mode-app .zxp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.zxp-admin-trend{grid-template-columns:1fr}}
@media(max-width:600px){body.mode-app .zxp-stats{gap:9px}body.mode-app .zxp-stats article{padding:14px;min-height:115px}body.mode-app .zxp-stats article strong{font-size:27px}body.mode-app .zxp-stats .zxp-stat-icon{right:9px;top:10px;width:29px;height:29px}body.mode-app .zxp-donut-layout{grid-template-columns:1fr;gap:18px}.zxp-donut{width:175px}.zxp-legend{grid-template-columns:repeat(2,minmax(0,1fr))}.zxp-search-launch kbd{display:none}.zxp-command{padding-top:50px}.zxp-command-dialog footer span:last-child{display:none}body.zph-shell .zxp-admin-stats{gap:8px}.zxp-admin-stats article{padding:12px}.zxp-admin-stats article strong{font-size:23px}}
@media(max-width:390px){.zxp-legend{grid-template-columns:1fr}body.mode-app .zxp-ops .zxp-actions label{width:100%}.zxp-command-result{grid-template-columns:75px 1fr}}
@media(prefers-reduced-motion:reduce){.zxp-live-dot,.zxp-bar>div>span,.zxp-donut,.zxp-admin-bars b,.zxp-command-dialog{animation:none!important}body.mode-app .zxp-stats article:hover,body.mode-site :is(.feature-tile,.pricing-card,.solution-card,.resource-card):hover{transform:none!important}}
@media print{.zxp-search-launch,.zxp-command,.zxp-actions{display:none!important}.zxp-bar>div>span,.zxp-admin-bars b{animation:none!important}}
/* Batch job workflow: bulk operations are permission-gated by the PHP handler. */
body.mode-app .zxp-bulk-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 17px;background:#f9fbff;border:1px solid #dce8f5;border-radius:13px;padding:13px 15px}
body.mode-app .zxp-bulk-actions>label{font-size:12px;font-weight:750;color:#385979;display:flex;gap:9px;align-items:center}
body.mode-app .zxp-bulk-actions>div{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
body.mode-app .zxp-bulk-actions>div span{font-size:11px;color:#6d83a0}
body.mode-app .zxp-bulk-actions>div label{font-size:11px;font-weight:800;color:#45617e}
body.mode-app .zxp-bulk-actions select{width:auto;min-width:130px;border:1px solid #d2e1f2;padding:9px 11px;border-radius:9px;background:#fff;color:#2b496b;font-size:12px}
body.mode-app .zxp-bulk-actions button{background:#1169d8;color:#fff;border:0;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:800;transition:background .2s}
body.mode-app .zxp-bulk-actions button:not([disabled]):hover{background:#0856b8}
body.mode-app .zxp-bulk-actions button[disabled]{cursor:not-allowed;opacity:.52}
body.mode-app .zxp-select-cell{width:45px}.zxp-select-cell input[type=checkbox]{width:16px;height:16px;accent-color:#1675df;cursor:pointer}
