/* Meakes product-family design. Panexis owns the lime accent; layouts follow Linxis. */
:root { --family-accent:#d7f74f; --family-accent-ink:#536b16; --family-soft:#f1f8dd; --family-dark:#24343d; --family-glow:radial-gradient(ellipse at 85% 12%,#bdcdd9 0,transparent 43%),radial-gradient(ellipse at 75% 80%,#e3edc7 0,transparent 42%),linear-gradient(110deg,#fff 28%,#f3f7ed 70%); }
.marketing-body .marketing-shell { overflow:clip; }
.marketing-body .marketing-topbar { border-top:0; }
.marketing-body .marketing-brand__logo { width:148px; height:auto; }
.marketing-body .marketing-topbar__inner { min-height:88px; gap:32px; }
.marketing-body .marketing-nav { gap:16px; }
.marketing-body .marketing-nav a { background:transparent; box-shadow:none; }
.marketing-body .marketing-nav a.is-active { background:transparent; color:var(--family-accent-ink); }
.marketing-body .marketing-nav .px-nav-cta { background:var(--family-accent); color:#182b36; padding:13px 20px; margin-left:18px; }
.marketing-body :is(.marketing-hero,.marketing-page-hero) { position:relative; isolation:isolate; background:transparent; padding-top:88px; padding-bottom:112px; }
.marketing-body :is(.marketing-hero,.marketing-page-hero)::before { content:''; position:absolute; inset:0; z-index:-2; background:var(--family-glow); clip-path:polygon(0 0,100% 0,100% calc(100% - 5vw),0 100%); }
/* Continue the next section beneath the clipped hero, without a white wedge. */
.marketing-body :is(.marketing-hero,.marketing-page-hero):has(+ .marketing-section--dark) { background:var(--family-dark); }
.marketing-body :is(.marketing-hero,.marketing-page-hero):has(+ .marketing-section--cream) { background:var(--panexis-canvas); }
.marketing-body :is(.marketing-hero,.marketing-page-hero):has(+ .marketing-section--split),
.marketing-body .marketing-hero--videos { background:#f6f8fa; }
.marketing-body .marketing-title { font-size:clamp(42px,4.8vw,68px); line-height:1.12; max-width:16ch; letter-spacing:-.045em; }
.marketing-body .marketing-title span { background:linear-gradient(110deg,#536b16 25%,#657a3c 65%,#526f83); background-clip:text; -webkit-text-fill-color:transparent; }
.marketing-body :is(.marketing-kicker,.marketing-panel > span,.marketing-stat__label) { color:var(--family-accent-ink); font-weight:800; font-size:11px; letter-spacing:.12em; }
.marketing-body .marketing-lead { font-size:17px; line-height:1.8; margin:28px 0 30px; }
.marketing-body .marketing-actions { gap:16px; }
.marketing-body .marketing-btn { min-height:48px; display:inline-flex; align-items:center; justify-content:center; }
.marketing-body .marketing-strip { width:min(1216px,calc(100% - 64px)); margin:48px auto 0; padding:0; border:1px solid #dfe7df; border-radius:16px; background:linear-gradient(120deg,#f4f9e8,#edf2f5); overflow:hidden; }
.marketing-body .marketing-section { padding-top:72px; padding-bottom:72px; }
.marketing-body .marketing-section h2 { font-size:clamp(28px,3vw,40px); font-weight:800; letter-spacing:-.04em; line-height:1.2; }
.marketing-body :is(.marketing-panel,.marketing-plan,.marketing-legal) { border-radius:16px; border-color:#dfe7df; box-shadow:0 8px 24px #24343d08; }
.marketing-body .marketing-section--dark { background:var(--family-dark); color:#fff; }
.marketing-body .marketing-section--dark h2 { color:#fff; }
.marketing-body .marketing-section--cta { background:linear-gradient(120deg,#f3f8e3,#edf2f5); }
.marketing-body .marketing-footer__inner { align-items:start; gap:64px; }
.marketing-body .marketing-footer__links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 28px; }
.marketing-body .marketing-footer__copy { max-width:320px; line-height:1.8; }
.marketing-body .px-family-credit { margin-top:18px; font-size:12px; color:#60717d; }
.px-preview-stage { position:relative; min-width:0; padding:28px 0 32px; font-size:12px; }
.px-preview-orbit { position:absolute; inset:-8px -32px 30px; border:1px solid #ffffffc9; border-radius:48%; transform:rotate(-20deg); pointer-events:none; }
.px-preview-orbit::after { content:''; position:absolute; inset:28px -16px; border:1px solid #ffffff9c; border-radius:inherit; transform:rotate(32deg); }
.px-preview-caption { position:relative; display:flex; align-items:center; gap:10px; margin:0 0 18px 20px; color:#526536; font-weight:700; }
.px-preview-caption i,.px-preview-top i { display:inline-block; width:7px; height:7px; background:#9bb731; border-radius:3px; margin-right:7px; }
.px-preview-window { position:relative; background:#fff; border:1px solid #fff; border-radius:16px; box-shadow:0 32px 70px -24px #526b3455; transform:perspective(1200px) rotateY(-4deg) rotateX(2deg); overflow:hidden; }
.px-preview-top { display:flex; justify-content:space-between; gap:12px; padding:20px 22px; background:#f8faf5; border-bottom:1px solid #e3eae1; color:#52636f; }
.px-preview-body { padding:22px; }
.px-preview-tabs { display:flex; padding:4px; gap:4px; background:#f0f4e9; border-radius:8px; margin-bottom:24px; }
.px-preview-tabs button { flex:1; padding:10px 8px; border:0; border-radius:6px; background:transparent; color:#52636f; font:700 12px var(--panexis-font); }
.px-preview-tabs button[aria-pressed=true] { background:#fff; color:#536b16; box-shadow:0 2px 6px #182b3614; }
.px-preview-connection { display:flex; align-items:center; margin-bottom:24px; font-size:11px; font-weight:800; }
.px-preview-connection span { padding:10px 8px; border:1px solid #dfe7df; border-radius:8px; }
.px-preview-connection b { padding:15px 12px; border-radius:10px; background:var(--family-accent); box-shadow:0 5px 14px #64792722; }
.px-preview-connection i { height:2px; flex:1; background:#d8e6b5; position:relative; }
.px-preview-connection i::after { content:''; position:absolute; width:6px; height:6px; top:-2px; left:45%; background:#7893a4; border-radius:50%; }
.px-preview-body h2 { font-size:16px; font-weight:700; color:#60717d; margin:0 0 20px; line-height:1.4; }
.px-preview-steps { list-style:none; padding:0; margin:0; counter-reset:journey; }
.px-preview-steps li { counter-increment:journey; display:grid; grid-template-columns:28px 1fr; gap:4px 12px; padding:16px 0; border-bottom:1px solid #e5ece6; }
.px-preview-steps li:last-child { border:0; }
.px-preview-steps li::before { content:'0' counter(journey); grid-row:span 2; background:var(--family-soft); border-radius:50%; height:28px; display:grid; place-items:center; color:#536b16; font-size:10px; font-weight:800; }
.px-preview-steps strong { font-size:13px; }
.px-preview-steps span { color:#60717d; line-height:1.6; }
.px-preview-note { position:relative; display:flex; gap:12px; align-items:center; width:fit-content; max-width:95%; margin:-8px 0 0 -24px; padding:18px 22px; border-radius:12px; background:#fff; box-shadow:0 15px 35px #526b3420; }
.px-preview-note > span { font-size:28px; color:#789125; }
.px-preview-note small { display:block; color:#60717d; margin-top:4px; }
.px-preview-disclaimer { text-align:center; margin:20px 0 0; font-size:10px; color:#60717d; }
/* Shared workspace backdrop and component proportions, including portals. */
/* All public landing pages share the homepage's full-bleed hero and content width. */
.marketing-body .marketing-section__intro { display:block; margin-bottom:32px; }
.marketing-body .marketing-section__intro h2 { max-width:900px; }
.marketing-body .marketing-feature-grid .marketing-panel { display:flex; flex-direction:column; align-items:flex-start; }
.marketing-body .marketing-panel__link { margin-top:auto; padding-top:20px; }
.marketing-body .marketing-stat { min-width:0; padding:26px; }
.marketing-body .marketing-stat__value { font-size:clamp(24px,2.2vw,32px); line-height:1.25; overflow-wrap:anywhere; color:var(--panexis-ink); }
.marketing-body .image-card { border-radius:14px; }
.marketing-body .image-card--two { background:#526f83; }
.marketing-body .image-card--three { background:#24343d; }
.marketing-body :is(.marketing-checks li,.marketing-feature-list li) { color:var(--panexis-muted); border-color:var(--panexis-line); }
.marketing-body .marketing-footer__brand { color:var(--panexis-ink); }
/* Plans need the whole content width, with explicit readable card colours. */
.marketing-body .marketing-section--dark { grid-template-columns:minmax(0,1fr); gap:36px; }
.marketing-body .marketing-section--dark .marketing-kicker { color:var(--family-accent); }
.marketing-body .marketing-plan-grid { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:24px; }
.marketing-body .marketing-section .marketing-plan { min-width:0; display:flex; flex-direction:column; align-items:flex-start; padding:28px; background:#fff; color:var(--panexis-ink); box-shadow:none; border:1px solid var(--panexis-line); }
.marketing-body .marketing-section .marketing-plan.is-featured { border:2px solid var(--family-accent); padding:27px; }
.marketing-body .marketing-section .marketing-plan h3 { color:var(--panexis-ink); font-size:26px; margin:12px 0; }
.marketing-body .marketing-section .marketing-plan :is(p,.text-muted,.marketing-checks li,.marketing-feature-list li,.marketing-plan__price span) { color:var(--panexis-muted)!important; }
.marketing-body .marketing-section .marketing-plan .marketing-plan__price strong { color:var(--panexis-ink); font-size:40px; }
.marketing-body .marketing-plan__price { flex-wrap:wrap; gap:6px; }
.marketing-body .marketing-plan__tag { margin:0 0 8px; }
.marketing-body .marketing-plan .marketing-btn { margin-top:auto; width:100%; box-shadow:none; }
.marketing-body .marketing-plan .marketing-checks { width:100%; margin-bottom:24px; }
@media(max-width:900px) { .marketing-body .marketing-plan-grid { grid-template-columns:minmax(0,1fr); } }
.marketing-body .marketing-page-hero { width:100%; margin:0; min-height:0; border:0; box-shadow:none; padding-left:max(32px,calc((100vw - 1216px)/2)); padding-right:max(32px,calc((100vw - 1216px)/2)); grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; }
.marketing-body .marketing-page-hero > * { min-width:0; }
.marketing-body .marketing-page-hero .marketing-title { font-size:clamp(36px,4vw,56px); line-height:1.14; }
.marketing-body .marketing-hero-card { background:#fff; color:var(--panexis-ink); border:1px solid var(--panexis-line); border-radius:16px; padding:32px; box-shadow:0 24px 60px #24343d14; }
.marketing-body .marketing-hero-card > span { color:var(--family-accent-ink); }
.marketing-body .marketing-hero-card > strong { color:var(--panexis-ink); font-size:28px; line-height:1.35; }
.marketing-body .marketing-hero-card > small { color:var(--panexis-muted); line-height:1.75; }
.marketing-body :is(.marketing-module-list__item,.marketing-preview-tile,.marketing-pathway__step,.marketing-flow,.marketing-preview-frame) { background:#fff; border:1px solid var(--panexis-line); border-radius:16px; box-shadow:0 8px 24px #24343d08; overflow:hidden; }
.marketing-body :is(.marketing-section--split,.marketing-trial-grid) { background:#f6f8fa; }
.marketing-body .marketing-card-cta { background:var(--family-accent); border-color:var(--family-accent); color:var(--panexis-ink); border-radius:7px; box-shadow:none; font-size:14px; }
.marketing-body .marketing-screen { background:#fff; border-radius:16px; padding:28px; box-shadow:0 24px 60px #24343d14; }
.marketing-body .marketing-screen::before { display:none; }
.marketing-body :is(.screen-job-title,.screen-portal-title) { font-size:32px; line-height:1.2; color:var(--panexis-ink); }
.marketing-body .marketing-preview-tile__media { background:linear-gradient(135deg,#edf2f5,#f1f6e5); }
.marketing-body :is(.marketing-panel p,.marketing-module-list__item p,.marketing-preview-tile__body p,.marketing-flow p) { color:var(--panexis-muted); }
@media(max-width:1100px) { .marketing-body .marketing-page-hero { grid-template-columns:minmax(0,1fr); } }
@media(max-width:760px) { .marketing-body .marketing-page-hero { padding-left:16px; padding-right:16px; gap:28px; } .marketing-body .marketing-hero-card { padding:24px; } }
#backend-workspace,.customer-portal-body,.login-page-body { background:#fff!important; }
#backend-workspace .forms-content,.customer-portal-content { position:relative; isolation:isolate; }
#backend-workspace .forms-content::before,.customer-portal-content::before { content:''; position:absolute; z-index:-1; top:0; left:calc((100% - 100vw)/2); width:100vw; height:820px; max-height:100%; background:var(--family-glow); clip-path:polygon(0 0,100% 0,100% calc(100% - 7vw),0 100%); pointer-events:none; }
#backend-workspace .forms-content { padding-top:32px!important; }
#backend-workspace :is(.dashboard-hero-card,.dashboard-header-card,.platform-hero,.platform-beta-hero) { padding:8px 0 20px!important; margin-bottom:20px!important; border-bottom:0!important; align-items:center!important; }
#backend-workspace :is(.dashboard-title,.page-title,.job-form-title,.platform-title) { font-size:clamp(28px,2.8vw,42px)!important; letter-spacing:-.045em!important; }
#backend-workspace :is(.dashboard-panel,.dashboard-workspace-card,.projects-workspace-card,.account-panel,.job-form-panel,.card,.platform-panel,.customer-section-panel,.supplier-section-panel,.production-card) { border-radius:16px!important; box-shadow:0 8px 24px #24343d08!important; overflow:clip; }
#backend-workspace .dashboard-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; background:transparent!important; border:0!important; margin-bottom:28px; }
#backend-workspace :is(.dashboard-stat,.summary-card,.platform-stat) { padding:24px!important; background:#fff!important; border:1px solid #dfe7eb!important; border-top:3px solid #8da5b3!important; border-radius:16px!important; box-shadow:0 8px 24px #24343d08!important; }
#backend-workspace :is(.dashboard-stat,.summary-card,.platform-stat):nth-child(2) { border-top-color:#9cb83f!important; }
#backend-workspace :is(.dashboard-stat,.summary-card,.platform-stat):nth-child(3) { border-top-color:#e0b552!important; }
#backend-workspace :is(.dashboard-stat__value,.platform-stat__value) { font-size:34px!important; margin-top:16px!important; }
#backend-workspace .dashboard-panel > :is(header,.dashboard-panel-header) { background:var(--family-dark); color:#fff; padding:22px 24px; }
#backend-workspace .dashboard-panel > :is(header,.dashboard-panel-header) h2 { color:#fff!important; }
#backend-workspace .topnav .iconbtn { background:#fff; color:#182b36; border:1px solid #dfe7eb; border-radius:7px; }
.customer-portal-body .customer-portal-shell { background:transparent; }
.customer-portal-body .customer-portal-content .dashboard-hero-card { background:transparent; border:0; padding:40px 0; }
.customer-portal-body .customer-stat-grid { gap:20px; border:0; background:transparent; }
.customer-portal-body .customer-stat { border:1px solid #dfe7eb; border-top:3px solid #8da5b3; border-radius:16px; }
.login-page-body .panexis-login-page { background:var(--family-glow); }
@media(max-width:1100px) { .marketing-body .marketing-hero { grid-template-columns:1fr; } .px-preview-stage { max-width:650px; width:100%; margin:auto; } .marketing-body .marketing-nav { gap:6px; } }
@media(max-width:760px) {
 .marketing-body :is(.marketing-hero,.marketing-page-hero) { padding-top:40px; padding-bottom:64px; }
 .marketing-body .marketing-title { font-size:38px; }
 .marketing-body .marketing-nav { background:#fff; }
 .marketing-body .marketing-nav .px-nav-cta { margin:0; }
 .marketing-body .marketing-strip { width:calc(100% - 32px); }
 .marketing-body .marketing-footer__inner { gap:28px; }
 .marketing-body .marketing-footer__links { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .px-preview-note { margin:0; max-width:100%; }
 .px-preview-window { transform:none; }
 .px-preview-body { padding:16px; }
 #backend-workspace .forms-content { padding-top:24px!important; }
 #backend-workspace .dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 #backend-workspace :is(.dashboard-stat,.summary-card,.platform-stat) { padding:18px!important; }
}
@media(prefers-reduced-motion:reduce) { .px-preview-window { transform:none; } }
/* Explicit workspace scope wins over legacy per-page inline styles. */
#backend-workspace#backend-workspace .dashboard-stat { background:#fff!important; border:1px solid #dfe7eb!important; border-top:3px solid #8da5b3!important; border-radius:16px!important; padding:24px!important; box-shadow:0 8px 24px #24343d08!important; }
#backend-workspace#backend-workspace .dashboard-stat:nth-child(2) { border-top-color:#9cb83f!important; }
#backend-workspace#backend-workspace .dashboard-stat:nth-child(3) { border-top-color:#e0b552!important; }
#backend-workspace#backend-workspace .dashboard-stat__value { font-size:34px!important; margin-top:16px!important; }
#backend-workspace#backend-workspace .dashboard-title { font-size:clamp(28px,2.8vw,42px)!important; }
/* Use the page's available width, excluding the scrollbar, for the full-bleed glow. */
#backend-workspace,.customer-portal-body { container-type:inline-size; }
#backend-workspace .forms-content::before { left:calc((100% - 100cqw)/2); width:100cqw; }
#backend-workspace .forms-content { overflow:visible; }
.customer-portal-body .customer-portal-content { min-width:0; }
.customer-portal-body .customer-portal-content::before { left:calc((100% - 100cqw)/2); width:100cqw; }
.customer-portal-body .customer-stat-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.customer-portal-body .customer-stat { min-width:0; overflow-wrap:anywhere; }
@media(max-width:760px) {
 .customer-portal-body .customer-portal-content .dashboard-hero-card { grid-template-columns:minmax(0,1fr); padding:24px 0; min-width:0; }
 .customer-portal-body .customer-portal-content .dashboard-header-copy { min-width:0; }
 .customer-portal-body .customer-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .customer-portal-body .customer-stat { padding:16px; }
 #backend-workspace#backend-workspace .dashboard-stat { padding:18px!important; }
}
#backend-workspace .workspace-dashboard-page .dashboard-panel > .px-family-panel-header { margin:-28px -28px 24px; padding:22px 28px; background:linear-gradient(110deg,#24343d,#354c59); color:#fff; }
#backend-workspace .workspace-dashboard-page .px-family-panel-header :is(h2,.dashboard-section-kicker) { color:#fff!important; }
#backend-workspace .workspace-dashboard-page .px-family-panel-header h2 { font-size:20px!important; }
.customer-portal-body .customer-portal-content > * { min-width:0; max-width:100%; }
.customer-portal-body :is(.customer-grid,.customer-card,.dashboard-header-copy,.dashboard-hero-actions) { min-width:0; }
@media(max-width:760px) { .customer-portal-body .customer-grid { grid-template-columns:minmax(0,1fr); } .customer-portal-body .customer-card { padding:20px; } }

.marketing-body .marketing-section .marketing-plan { position:relative; padding-top:64px; }
.marketing-body .marketing-section .marketing-plan.is-featured { padding-top:63px; }
.marketing-body .marketing-plan__tag { position:absolute; top:22px; left:28px; }
@media(min-width:901px) { .marketing-body .marketing-plan > p { min-height:84px; } }
.marketing-body .marketing-section--dark .marketing-plan .marketing-btn--primary { background:var(--family-accent); border-color:var(--family-accent); box-shadow:none; }
/* Daily workspace: compact actions and readable, independently sized panels. */
#backend-workspace .workspace-dashboard-page .dashboard-grid { align-items:start; }
#backend-workspace .workspace-dashboard-page .dashboard-grid.is-three { align-items:stretch; }
#backend-workspace .workspace-dashboard-page .dashboard-shortcuts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:20px 0; }
#backend-workspace .dashboard-shortcuts a { display:grid; grid-template-columns:24px 1fr; gap:5px 10px; padding:18px; background:#fff; color:#24343d; border:1px solid #dfe7eb; border-radius:12px; text-decoration:none; font-weight:700; }
#backend-workspace .dashboard-shortcuts span { grid-column:2; color:#526779; font-size:12px; font-weight:400; }
#backend-workspace .dashboard-shortcuts i { color:#607d20; }
#backend-workspace .dashboard-shortcuts a:hover { border-color:#93ac36; background:#f8fbeF; }
#backend-workspace .workspace-dashboard-page .dashboard-panel { min-width:0; }
#backend-workspace .workspace-dashboard-page .dashboard-list { margin-top:12px; gap:0; }
#backend-workspace .workspace-dashboard-page .dashboard-list a { padding:12px 0; font-size:14px; }
#backend-workspace .workspace-dashboard-page .dashboard-note { font-size:13px; line-height:1.6; }
#backend-workspace .workspace-dashboard-page .dashboard-empty { padding:12px 0; font-size:14px; line-height:1.7; }
#backend-workspace .workspace-dashboard-page .dashboard-empty p { margin:8px 0 0; }
#backend-workspace .dashboard-clear-queues { margin-top:16px; border-top:1px solid #dfe7eb; padding-top:12px; font-size:13px; }
#backend-workspace .dashboard-clear-queues summary { cursor:pointer; font-weight:700; }
#backend-workspace .workspace-dashboard-page .dashboard-pipeline { grid-template-columns:repeat(7,minmax(0,1fr)); gap:12px; align-items:stretch; }
#backend-workspace .workspace-dashboard-page .dashboard-pipe { min-height:0; padding:14px; border:1px solid #dfe7eb; border-radius:10px; justify-content:start; background:#f6f8fa; }
#backend-workspace .workspace-dashboard-page .dashboard-pipe__bar { display:none; }
#backend-workspace .workspace-dashboard-page .dashboard-pipe strong { color:#24343d; font-size:26px; }
#backend-workspace .workspace-dashboard-page .dashboard-pipe div { font-size:13px; }
#backend-workspace .workspace-dashboard-page .dashboard-pipe span { font-size:11px; margin-top:4px; }
#backend-workspace .workspace-dashboard-page .dashboard-bar__fill { min-width:0; }
#backend-workspace .dashboard-table-scroll { overflow-x:auto; }
#backend-workspace .dashboard-table-scroll .dashboard-table { min-width:540px; }
#backend-workspace .workspace-dashboard-page .dashboard-pill.is-soft { background:#edf2f5; color:#354c59; }
#backend-workspace .workspace-dashboard-page :is(a,summary):focus-visible { outline:3px solid #718a27; outline-offset:3px; }
@media(max-width:1100px) {
 #backend-workspace .workspace-dashboard-page .dashboard-pipeline { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:760px) {
 #backend-workspace .workspace-dashboard-page .dashboard-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 #backend-workspace .dashboard-shortcuts a { padding:12px; font-size:13px; }
 #backend-workspace .workspace-dashboard-page .dashboard-pipeline { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
/* Consent choices must remain above the floating help launcher. */
:is(.marketing-body,.customer-portal-body,.login-page-body,#backend-workspace) .panexis-cookie-banner { z-index:1100; }
@media(max-width:600px) {
 :is(.marketing-body,.customer-portal-body,.login-page-body,#backend-workspace) .panexis-cookie-banner { left:12px; right:12px; bottom:12px; width:auto; max-width:none; }
}
#backend-workspace:has(.workspace-dashboard-page) .forms-content { padding-top:32px!important; }
#backend-workspace .workspace-dashboard-page .dashboard-hero-card { padding:8px 0 20px!important; margin-bottom:20px!important; }
#backend-workspace#backend-workspace .workspace-dashboard-page .dashboard-stat { padding:20px!important; }
#backend-workspace .workspace-dashboard-page .dashboard-stat__hint { font-size:13px; line-height:1.5; margin-top:8px; }
#backend-workspace .workspace-dashboard-page .dashboard-stat__label a { color:inherit; text-decoration:none; }
#backend-workspace .workspace-dashboard-page .dashboard-stat__label a:hover { text-decoration:underline; }

/* One summary-to-workspace spacing rule for the refreshed admin lists. */
#backend-workspace :is(.fitter-dashboard-page,.surveyor-dashboard-page,.account-details-page,.colours-page,.pricing-page,.suppliers-index-page,.supplier-capabilities-page,.staff-page--fitters,.staff-page--surveyors,.inbox-page,.workspace-users-page) {
  --px-summary-workspace-gap:28px;
  row-gap:0!important;
}
#backend-workspace :is(.fitter-dashboard-page,.surveyor-dashboard-page,.account-details-page,.colours-page,.pricing-page,.suppliers-index-page,.supplier-capabilities-page,.staff-page--fitters,.staff-page--surveyors) > .dashboard-summary-grid,
#backend-workspace .account-details-page > .account-summary-grid,
#backend-workspace .inbox-page > .inbox-summary,
#backend-workspace .workspace-users-page > .users-stats {
  margin-bottom:0!important;
}
#backend-workspace :is(.fitter-dashboard-page,.surveyor-dashboard-page,.account-details-page,.colours-page,.pricing-page,.suppliers-index-page,.supplier-capabilities-page,.staff-page--fitters,.staff-page--surveyors) > .dashboard-summary-grid + .dashboard-workspace-card,
#backend-workspace .fitter-dashboard-page > .dashboard-summary-grid + .fitter-workspace,
#backend-workspace .surveyor-dashboard-page > .dashboard-summary-grid + .surveyor-workspace,
#backend-workspace .account-details-page > .account-summary-grid + .account-workspace,
#backend-workspace .inbox-page > .inbox-summary + .inbox-workspace,
#backend-workspace .workspace-users-page > .users-stats + .users-grid {
  margin-top:var(--px-summary-workspace-gap)!important;
}
@media(max-width:767px) {
  #backend-workspace :is(.fitter-dashboard-page,.surveyor-dashboard-page,.account-details-page,.colours-page,.pricing-page,.suppliers-index-page,.supplier-capabilities-page,.staff-page--fitters,.staff-page--surveyors,.inbox-page,.workspace-users-page) {
    --px-summary-workspace-gap:20px;
  }
}

/* Remaining legacy surfaces found in the November workspace visual audit. */
#backend-workspace .workspace-dashboard-page .dashboard-btn:not(.is-primary):not(.is-accent) { background:#fff!important; }
#backend-workspace .fitter-job-page .table-responsive,
#backend-workspace .supplier-capability-form-page .capability-form-shell { background:#fff!important; border-color:#dce5eb!important; border-radius:10px; }
#backend-workspace :is(.staff-form-actions,.evidence-header-actions) { background:transparent!important; border:0!important; box-shadow:none!important; }
#backend-workspace .service-job-page .service-job-bulk { background:#f5f8fa!important; border-color:#dce5eb!important; }
#backend-workspace .fitter-service-documents-page .evidence-summary-grid { background:transparent!important; border:0!important; gap:16px; }
#backend-workspace .fitter-service-documents-page :is(.evidence-summary-card,.evidence-card,.evidence-tile) { background:#fff!important; border:1px solid #dce5eb!important; border-radius:16px!important; box-shadow:0 8px 22px #192e3a12!important; }
#backend-workspace .fitter-service-documents-page .evidence-card { padding:24px!important; }
#backend-workspace .fitter-service-documents-page .evidence-section-header { margin:-24px -24px 24px; padding:20px 24px; border-radius:15px 15px 0 0; background:linear-gradient(110deg,#24343d,#354c59); }
#backend-workspace .fitter-service-documents-page .evidence-section-header h5 { color:#fff!important; font-size:22px; margin:0; }
#backend-workspace .fitter-service-documents-page .evidence-section-header .section-kicker { color:#d2dfe6!important; }
#backend-workspace .fitter-service-documents-page .evidence-empty { background:#f5f8fa!important; border-color:#dce5eb!important; }
#backend-workspace .fitter-project-page .glass { background:#fff!important; border:1px solid #dce5eb!important; border-radius:16px!important; padding:24px!important; box-shadow:0 8px 22px #192e3a12!important; }
#backend-workspace .fitter-project-page .glass > h5 { margin:-24px -24px 24px!important; padding:20px 24px; border-radius:15px 15px 0 0; background:linear-gradient(110deg,#24343d,#354c59); color:#fff!important; }
#backend-workspace .fitter-project-page .glass-strong { background:transparent!important; border:0!important; box-shadow:none!important; padding:0 0 20px!important; }
#backend-workspace .fitter-project-page .btn { border-radius:6px!important; }
#backend-workspace .fitter-project-page :is(.btn-success,.btn-primary,.btn-info) { background:#d7f74f!important; border-color:#d7f74f!important; color:#192e3a!important; }
@media(max-width:760px) {
 #backend-workspace .fitter-service-documents-page .evidence-card,#backend-workspace .fitter-project-page .glass { padding:16px!important; }
 #backend-workspace .fitter-service-documents-page .evidence-section-header,#backend-workspace .fitter-project-page .glass > h5 { margin:-16px -16px 16px!important; padding:16px; }
}

#backend-workspace .service-job-page .table tbody tr { background:#fff!important; }
.customer-portal-body .customer-pill--muted { background:#edf3f6!important; color:#60717d; }

#backend-workspace .fitter-service-documents-page .dashboard-header-card { min-height:0!important; flex-wrap:wrap!important; gap:20px!important; padding:8px 0 20px!important; }
#backend-workspace .fitter-service-documents-page .evidence-header-actions { max-width:100%; min-width:0; }
#backend-workspace .fitter-service-documents-page .evidence-header-actions .btn { white-space:normal; max-width:100%; }
#backend-workspace .fitter-service-documents-page .btn-primary { background:#d7f74f!important; border-color:#d7f74f!important; color:#192e3a!important; }
@media(max-width:760px) { #backend-workspace .fitter-service-documents-page .evidence-header-actions { flex-basis:100%; } }

#backend-workspace .customer-show-page .dashboard-btn:not(.is-primary):not(.is-accent) { background:#fff!important; }
.login-page-body .panexis-login-tile:not(.panexis-login-tile-dark):not(.panexis-login-tile-accent) { background:#fff; border-color:#dce5eb; border-radius:12px; }

@media(max-width:760px) {
 #backend-workspace .fitter-service-documents-page .dashboard-header-card { display:block!important; }
 #backend-workspace .fitter-service-documents-page :is(.dashboard-header-copy,.evidence-header-actions) { width:100%!important; }
 #backend-workspace .fitter-service-documents-page .evidence-header-actions { padding:0!important; margin-top:20px; }
}

#backend-workspace .fitter-service-documents-page .evidence-chip { background:#edf3f6!important; border-color:#dce5eb!important; color:#60717d; }
#backend-workspace .fitter-service-documents-page .evidence-chip--accent { background:#f1f8dd!important; border-color:#d4e3ab!important; color:#536b16; }
