/* Drukwerk extra's — built on the theme tokens (fallbacks for any other theme). */

:root {
  --pdx-ink: var(--c-ink, #172E4B);
  --pdx-ink-soft: var(--c-ink-soft, #4B5A6E);
  --pdx-paper: var(--c-paper, #F5F3EE);
  --pdx-paper-2: var(--c-paper-2, #ECE9E1);
  --pdx-surface: var(--c-surface, #fff);
  --pdx-line: var(--c-line, rgba(23, 46, 75, .14));
  --pdx-line-strong: var(--c-line-strong, rgba(23, 46, 75, .28));
  --pdx-blue: var(--c-blue, #3095B4);
  --pdx-blue-deep: var(--c-blue-deep, #1D6F89);
  --pdx-blue-tint: var(--c-blue-tint, #E6F2F6);
  --pdx-orange: var(--c-orange, #F16721);
  --pdx-orange-deep: var(--c-orange-deep, #B8430A);
  --pdx-cyan: var(--c-cyan, #00A0E3);
  --pdx-magenta: var(--c-magenta, #E5007E);
  --pdx-yellow: var(--c-yellow, #FFE11A);
  --pdx-ok: #1E7A4C;
  --pdx-warn: #8A5A00;
  --pdx-err: #B3261E;
  --pdx-r: var(--r-lg, 10px);
  --pdx-r-sm: var(--r-sm, 4px);
  --pdx-shadow: var(--shadow, 0 1px 2px rgba(23, 46, 75, .06), 0 8px 24px -12px rgba(23, 46, 75, .18));
  --pdx-shadow-lg: var(--shadow-lg, 0 2px 4px rgba(23, 46, 75, .06), 0 24px 48px -20px rgba(23, 46, 75, .3));
  --pdx-display: var(--f-display, Archivo, "Arial Narrow", Arial, sans-serif);
  --pdx-body: var(--f-body, Inter, system-ui, sans-serif);
  --pdx-ease: var(--ease, cubic-bezier(.2, .7, .2, 1));
}

.pdx-icon { width: 18px; height: 18px; flex: none; }

/* ---------- buttons & small parts ---------- */
.pdx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .6rem 1rem; border: 1.5px solid var(--pdx-ink); border-radius: var(--r-md, 6px); background: var(--pdx-ink); color: var(--pdx-paper); font: 600 .9375rem/1.2 var(--pdx-body); text-decoration: none; cursor: pointer; transition: background-color .2s var(--pdx-ease), color .2s var(--pdx-ease), border-color .2s var(--pdx-ease); }
.pdx-btn:hover { background: var(--pdx-blue-deep); border-color: var(--pdx-blue-deep); color: #fff; }
.pdx-btn--ghost { background: transparent; color: var(--pdx-ink); border-color: var(--pdx-line-strong); }
.pdx-btn--ghost:hover { background: var(--pdx-ink); border-color: var(--pdx-ink); color: var(--pdx-paper); }
.pdx-btn--primary { background: var(--pdx-orange-deep); border-color: var(--pdx-orange-deep); color: #fff; }
.pdx-btn--primary:hover { background: var(--pdx-ink); border-color: var(--pdx-ink); }
.pdx-btn--icon { width: 44px; padding: 0; }
.pdx-link { padding: 0; border: 0; background: none; color: var(--pdx-blue-deep); font: 500 .875rem/1.4 var(--pdx-body); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.pdx-link:hover { color: var(--pdx-ink); text-decoration-color: var(--pdx-orange); }
.pdx-card { margin: 0 0 16px; border: 1px solid var(--pdx-line); border-radius: var(--pdx-r); background: var(--pdx-surface); box-shadow: var(--pdx-shadow); }
.pdx-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 20px; border-bottom: 1px solid var(--pdx-line); }
.pdx-card-title { margin: 0 !important; font: 700 .9375rem/1.2 var(--pdx-display) !important; font-stretch: 112%; letter-spacing: .01em !important; color: var(--pdx-ink); }

/* ---------- live preview ---------- */
.pdx-preview { margin-top: 20px; overflow: hidden; }
.pdx-live { display: inline-flex; align-items: center; gap: 6px; font: 600 .6875rem/1 var(--pdx-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pdx-blue-deep); }
.pdx-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pdx-orange); box-shadow: 0 0 0 0 rgba(241, 103, 33, .5); animation: pdx-pulse 2s infinite; }
@keyframes pdx-pulse { 70% { box-shadow: 0 0 0 7px rgba(241, 103, 33, 0); } 100% { box-shadow: 0 0 0 0 rgba(241, 103, 33, 0); } }
.pdx-stage { position: relative; padding: 18px 20px 4px; background:
  linear-gradient(var(--pdx-line) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(90deg, var(--pdx-line) 1px, transparent 1px) 0 0 / 24px 24px,
  var(--pdx-paper); background-blend-mode: normal; min-height: 160px; display: grid; place-items: center; }
.pdx-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--pdx-paper), transparent 30%, transparent 70%, var(--pdx-paper)); opacity: .55; pointer-events: none; }
.pdx-stage.is-empty { min-height: 120px; }
.pdx-svg { position: relative; display: block; width: 100%; max-height: 300px; overflow: visible; }
.pdx-ref { fill: rgba(23, 46, 75, .035); stroke: rgba(23, 46, 75, .45); stroke-dasharray: 5 4; }
.pdx-ref-label { fill: var(--pdx-ink-soft); font-family: var(--pdx-display); font-weight: 700; font-stretch: 118%; opacity: .7; }
.pdx-sheet { fill: #fff; stroke: rgba(23, 46, 75, .18); stroke-width: .4; transition: all .35s var(--pdx-ease); }
.pdx-art-block { fill: var(--pdx-blue); opacity: .9; }
.pdx-art--mono .pdx-art-block { fill: #3A3F47; }
.pdx-art--pms .pdx-art-block { fill: var(--pdx-orange); }
.pdx-art-line { fill: var(--pdx-ink); opacity: .16; }
.pdx-art--color .pdx-art-line:nth-child(2) { fill: var(--pdx-magenta); opacity: .55; }
.pdx-art--color .pdx-art-line:nth-child(3) { fill: var(--pdx-yellow); opacity: .9; }
.pdx-hole { fill: var(--pdx-paper); stroke: rgba(23, 46, 75, .2); stroke-width: .4; }
.pdx-fold { stroke: var(--pdx-magenta); fill: none; }
.pdx-fold.is-valley { stroke: var(--pdx-cyan); }
.pdx-wire { fill: none; stroke: #7C8794; }
.pdx-staple { fill: #7C8794; }
.pdx-spine { fill: var(--pdx-ink); opacity: .18; }
.pdx-sheen { mix-blend-mode: screen; pointer-events: none; }
.pdx-sheet-g.is-matt .pdx-art-block { opacity: .78; }
.pdx-dim { stroke: var(--pdx-orange-deep); }
.pdx-dim-label { fill: var(--pdx-orange-deep); font-family: var(--pdx-body); font-weight: 600; font-variant-numeric: tabular-nums; }
.pdx-stage-caption { margin: 0; padding: 12px 20px 0; color: var(--pdx-ink); font: 600 .9375rem/1.4 var(--pdx-body); font-variant-numeric: tabular-nums; }
.pdx-stage-bleed { display: block; margin-top: 2px; color: var(--pdx-ink-soft); font-weight: 400; font-size: .8125rem; }
.pdx-spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0; margin: 14px 20px 0; font-size: .875rem; }
.pdx-spec dt, .pdx-spec dd { margin: 0; padding: 7px 0; border-top: 1px solid var(--pdx-line); }
.pdx-spec dt { color: var(--pdx-ink-soft); }
.pdx-spec dd { color: var(--pdx-ink); font-weight: 500; text-align: right; }
.pdx-spec dd.is-open { color: var(--pdx-ink-soft); font-weight: 400; font-style: italic; }
.pdx-preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 20px 20px; }
.pdx-preview-actions:empty { display: none; }

/* ---------- price matrix ---------- */
.pdx-matrix .prindustry-price-cell { cursor: pointer; }
.pdx-cell-price { display: block; }
.pdx-cell-ppp { display: block; margin-top: 1px; font-size: .6875rem; font-weight: 500; color: var(--pdx-ink-soft); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.pdx-matrix .is-selected .pdx-cell-ppp { color: rgba(255, 255, 255, .78); }
.pdx-matrix .prindustry-price-cell:focus-visible { outline: 2px solid var(--pdx-orange); outline-offset: -3px; }

/* ---------- insights ---------- */
.pdx-insights { overflow: hidden; }
.pdx-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--pdx-paper-2); }
.pdx-seg button { min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--pdx-ink-soft); font: 600 .75rem/1 var(--pdx-body); cursor: pointer; }
.pdx-seg button[aria-pressed="true"] { background: var(--pdx-surface); color: var(--pdx-ink); box-shadow: 0 1px 3px rgba(23, 46, 75, .18); }
.pdx-total { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding: 18px 20px 6px; }
.pdx-total-amount { display: block; font: 800 clamp(1.8rem, 1.4rem + 1.2vw, 2.3rem)/1 var(--pdx-display); font-stretch: 116%; letter-spacing: -.02em; color: var(--pdx-ink); font-variant-numeric: tabular-nums; }
.pdx-total-sub { display: block; margin-top: 6px; color: var(--pdx-ink-soft); font-size: .875rem; font-variant-numeric: tabular-nums; }
.pdx-total-meta { display: grid; gap: 3px; text-align: right; font-size: .875rem; color: var(--pdx-ink-soft); }
.pdx-total-meta strong { color: var(--pdx-ink); font-variant-numeric: tabular-nums; }
.pdx-chart { margin: 8px 20px 0; padding: 12px 12px 4px; border-radius: var(--r-md, 6px); background: var(--pdx-paper); }
.pdx-chart figcaption { margin-bottom: 2px; font: 600 .6875rem/1 var(--pdx-body); letter-spacing: .08em; text-transform: uppercase; color: var(--pdx-ink-soft); }
.pdx-chart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pdx-chart-area { fill: var(--pdx-blue); opacity: .1; }
.pdx-chart-line { fill: none; stroke: var(--pdx-blue-deep); stroke-width: 2; stroke-linejoin: round; }
.pdx-chart-dot { fill: var(--pdx-surface); stroke: var(--pdx-blue-deep); stroke-width: 1.5; }
.pdx-chart-dot.is-on { fill: var(--pdx-orange); stroke: var(--pdx-orange-deep); }
.pdx-chart-x { fill: var(--pdx-ink-soft); font: 500 10px var(--pdx-body); }
.pdx-chart-x.is-on { fill: var(--pdx-ink); font-weight: 700; }
.pdx-chart-val { fill: var(--pdx-orange-deep); font: 700 11px var(--pdx-body); }
.pdx-hint { display: flex; gap: 10px; align-items: flex-start; margin: 12px 20px 0; padding: 12px 14px; border-left: 3px solid var(--pdx-orange); border-radius: 0 var(--r-md, 6px) var(--r-md, 6px) 0; background: #FDF0E8; color: var(--pdx-ink); font-size: .875rem; line-height: 1.45; }
.pdx-hint .pdx-icon { color: var(--pdx-orange-deep); margin-top: 1px; }
.pdx-share { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px 6px; }
.pdx-share .pdx-btn { min-height: 42px; font-size: .875rem; }
.pdx-qr { display: flex; align-items: center; gap: 16px; margin: 6px 20px 0; padding: 12px; border: 1px dashed var(--pdx-line-strong); border-radius: var(--r-md, 6px); }
.pdx-qr[hidden] { display: none; }
.pdx-qr-svg { width: 120px; height: 120px; flex: none; }
.pdx-qr p { margin: 0; font-size: .8125rem; color: var(--pdx-ink-soft); }
.pdx-share-status { min-height: 1em; margin: 0; padding: 4px 20px 16px; font-size: .8125rem; color: var(--pdx-ok); }

/* ---------- preflight ---------- */
.pdx-preflight { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--pdx-line); border-left-width: 4px; border-radius: var(--r-md, 6px); background: var(--pdx-surface); font-size: .875rem; }
.pdx-preflight.is-ok { border-left-color: var(--pdx-ok); }
.pdx-preflight.is-warn { border-left-color: #E0A100; }
.pdx-preflight.is-error { border-left-color: var(--pdx-err); }
.pdx-preflight.is-pending { border-left-color: var(--pdx-blue); }
.pdx-preflight.is-pending .pdx-icon { animation: pdx-spin 1.2s linear infinite; }
@keyframes pdx-spin { to { transform: rotate(360deg); } }
.pdx-pf-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 700; color: var(--pdx-ink); }
.is-ok > .pdx-pf-title .pdx-icon { color: var(--pdx-ok); }
.is-warn > .pdx-pf-title .pdx-icon { color: var(--pdx-warn); }
.is-error > .pdx-pf-title .pdx-icon { color: var(--pdx-err); }
.pdx-pf-body { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 14px; align-items: start; }
.pdx-pf-body:not(:has(figure)) { grid-template-columns: 1fr; }
.pdx-pf-proof { margin: 0; }
.pdx-pf-proof img { display: block; width: 100%; height: auto; border: 1px solid var(--pdx-line); background: #fff; box-shadow: var(--pdx-shadow); }
.pdx-pf-proof figcaption { margin-top: 6px; font-size: .6875rem; color: var(--pdx-ink-soft); line-height: 1.6; }
.pdx-key { display: inline-block; width: 14px; height: 0; margin: 0 4px 3px 0; border-top: 2px solid var(--pdx-magenta); vertical-align: middle; }
.pdx-key--safe { border-top: 2px dashed var(--pdx-cyan); margin-left: 6px; }
.pdx-pf-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pdx-pf-list li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; color: var(--pdx-ink); }
.pdx-pf-list .pdx-icon { width: 16px; height: 16px; margin-top: 2px; }
.pdx-pf-list .is-ok .pdx-icon { color: var(--pdx-ok); }
.pdx-pf-list .is-warn .pdx-icon { color: var(--pdx-warn); }
.pdx-pf-list .is-error .pdx-icon { color: var(--pdx-err); }
.pdx-pf-list .is-info .pdx-icon { color: var(--pdx-blue-deep); }
.pdx-pf-note { margin: 10px 0 0; font-size: .75rem; color: var(--pdx-ink-soft); }
@media (max-width: 480px) { .pdx-pf-body { grid-template-columns: 1fr; } .pdx-pf-proof { max-width: 220px; } }

/* ---------- mobile price bar ---------- */
.pdx-bar { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--pdx-ink); color: var(--pdx-paper); box-shadow: 0 -10px 30px -12px rgba(23, 46, 75, .5); transform: translateY(0); transition: transform .25s var(--pdx-ease); }
.pdx-bar[hidden] { display: flex; transform: translateY(110%); visibility: hidden; }
.pdx-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--pdx-cyan) 0 20%, var(--pdx-magenta) 20% 40%, var(--pdx-yellow) 40% 60%, var(--pdx-paper) 60% 80%, var(--pdx-orange) 80%); }
.pdx-bar-text { display: grid; min-width: 0; }
.pdx-bar-price { font: 800 1.125rem/1.1 var(--pdx-display); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.pdx-bar-meta { font-size: .8125rem; color: #C3CDD8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdx-bar-btn { min-height: 46px; flex: none; }
.pdx-bar-btn:hover { background: var(--pdx-paper); color: var(--pdx-ink); border-color: var(--pdx-paper); }
html.pdx-has-bar body { padding-bottom: 76px; }
@media (min-width: 900px) { .pdx-bar { display: none !important; } }

/* ---------- header search button ---------- */
.pdx-search-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px 0 12px; border: 1.5px solid var(--pdx-line-strong); border-radius: var(--r-md, 6px); background: var(--pdx-surface); color: var(--pdx-ink-soft); font: 500 .875rem/1 var(--pdx-body); cursor: pointer; transition: border-color .2s, color .2s; }
.pdx-search-btn:hover { border-color: var(--pdx-ink); color: var(--pdx-ink); }
.pdx-search-label { min-width: 70px; text-align: left; }
.pdx-kbd, .pdx-palette kbd { display: inline-block; padding: 3px 6px; border: 1px solid var(--pdx-line-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--pdx-paper); color: var(--pdx-ink-soft); font: 600 .6875rem/1 var(--pdx-body); }
@media (max-width: 1560px) { .pdx-search-label, .pdx-search-btn .pdx-kbd { display: none; } .pdx-search-btn { width: 44px; padding: 0; justify-content: center; border-color: var(--pdx-line-strong); } }
@media (pointer: coarse) { .pdx-search-btn .pdx-kbd { display: none; } }

/* ---------- search palette ---------- */
html.pdx-palette-open { overflow: hidden; }
.pdx-palette { position: fixed; inset: 0; z-index: 1000; display: grid; justify-items: center; align-items: start; padding: min(12vh, 110px) 16px 16px; }
.pdx-palette[hidden] { display: none; }
.pdx-palette-backdrop { position: absolute; inset: 0; background: rgba(23, 46, 75, .45); backdrop-filter: blur(4px); animation: pdx-fade .18s ease-out; }
.pdx-palette-panel { position: relative; width: min(680px, 100%); max-height: min(70vh, 640px); display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: var(--pdx-surface); box-shadow: 0 30px 80px -20px rgba(10, 20, 35, .55); animation: pdx-rise .22s var(--pdx-ease); }
.pdx-palette-panel::before { content: ""; height: 4px; flex: none; background: linear-gradient(90deg, var(--pdx-cyan) 0 20%, var(--pdx-magenta) 20% 40%, var(--pdx-yellow) 40% 60%, var(--pdx-ink) 60% 80%, var(--pdx-orange) 80%); }
@keyframes pdx-fade { from { opacity: 0; } }
@keyframes pdx-rise { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.pdx-palette-field { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--pdx-line); color: var(--pdx-ink-soft); }
.pdx-palette-field .pdx-icon { width: 20px; height: 20px; }
.pdx-palette-input { flex: 1; min-width: 0; height: 62px; border: 0; outline: 0; background: transparent; color: var(--pdx-ink); font: 500 1.0625rem/1 var(--pdx-body); }
.pdx-palette-input::-webkit-search-cancel-button { display: none; }
.pdx-palette-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--pdx-ink-soft); cursor: pointer; }
.pdx-palette-close:hover { background: var(--pdx-paper); color: var(--pdx-ink); }
.pdx-palette-list { margin: 0; padding: 8px; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.pdx-palette-heading { padding: 10px 12px 6px; font: 600 .6875rem/1 var(--pdx-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pdx-ink-soft); }
.pdx-palette-item { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-radius: 10px; cursor: pointer; color: var(--pdx-ink); }
.pdx-palette-item[aria-selected="true"] { background: var(--pdx-blue-tint); }
.pdx-palette-item > .pdx-icon { margin-left: auto; color: var(--pdx-blue-deep); opacity: 0; transform: translateX(-4px); transition: all .15s; }
.pdx-palette-item[aria-selected="true"] > .pdx-icon { opacity: 1; transform: none; }
.pdx-palette-media { display: grid; place-items: center; width: 46px; height: 46px; flex: none; overflow: hidden; border-radius: 8px; background: var(--pdx-paper); color: var(--pdx-blue-deep); }
.pdx-palette-media img { width: 100%; height: 100%; object-fit: cover; }
.pdx-palette-text { display: grid; min-width: 0; }
.pdx-palette-title { font-weight: 600; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdx-palette-sub { font-size: .8125rem; color: var(--pdx-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdx-palette-empty { padding: 28px 16px; text-align: center; color: var(--pdx-ink-soft); }
.pdx-palette-foot { display: flex; gap: 18px; margin: 0; padding: 10px 20px; border-top: 1px solid var(--pdx-line); background: var(--pdx-paper); font-size: .75rem; color: var(--pdx-ink-soft); }
.pdx-palette-foot kbd { margin-right: 3px; }
@media (max-width: 640px) {
  .pdx-palette { padding: 0; align-items: stretch; }
  .pdx-palette-panel { width: 100%; max-height: none; height: 100%; border-radius: 0; }
  .pdx-palette-foot { display: none; }
}

/* ---------- recent ---------- */
.pdx-recent { margin: 0 auto; }
.pdx-recent[hidden] { display: none; }
.pdx-recent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pdx-recent-title { margin: 0; }
.pdx-recent-lead { margin: 6px 0 20px; color: var(--pdx-ink-soft); }
.pdx-recent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pdx-recent-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--pdx-line); border-radius: var(--pdx-r); background: var(--pdx-surface); color: var(--pdx-ink); text-decoration: none; box-shadow: var(--pdx-shadow); transition: transform .2s var(--pdx-ease), box-shadow .2s var(--pdx-ease); }
.pdx-recent-card:hover { transform: translateY(-2px); box-shadow: var(--pdx-shadow-lg); color: var(--pdx-ink); }
.pdx-recent-img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--pdx-paper); }
.pdx-recent-img img { width: 100%; height: 100%; object-fit: cover; }
.pdx-recent-body { display: grid; gap: 2px; min-width: 0; }
.pdx-recent-name { font: 700 1rem/1.2 var(--pdx-display); font-stretch: 112%; }
.pdx-recent-sum, .pdx-recent-when { font-size: .8125rem; color: var(--pdx-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdx-recent-meta { font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- guides ---------- */
.pdx-guide { display: grid; gap: clamp(48px, 7vw, 88px); }
.pdx-guide-head { max-width: 680px; margin-bottom: 24px; }
.pdx-guide-head h2 { margin-bottom: .35em; }
.pdx-guide-head p { margin: 0; color: var(--pdx-ink-soft); }
.pdx-f-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.pdx-f-stage { padding: 24px; border: 1px solid var(--pdx-line); border-radius: var(--pdx-r); background:
  linear-gradient(var(--pdx-line) 1px, transparent 1px) 0 0 / 20px 20px,
  linear-gradient(90deg, var(--pdx-line) 1px, transparent 1px) 0 0 / 20px 20px, var(--pdx-surface); position: sticky; top: calc(var(--header-h, 72px) + 16px); }
.pdx-f-svg { display: block; width: 100%; height: auto; max-height: 70vh; overflow: visible; }
.pdx-f-rect { fill: rgba(48, 149, 180, .04); stroke: rgba(23, 46, 75, .3); stroke-width: .8; transition: fill .25s, stroke .25s; }
.pdx-f-rect.is-on { fill: rgba(241, 103, 33, .14); stroke: var(--pdx-orange-deep); stroke-width: 2; }
.pdx-f-label { fill: var(--pdx-orange-deep); font-family: var(--pdx-body); font-weight: 700; }
.pdx-f-ref { fill: rgba(255, 255, 255, .55); stroke: rgba(23, 46, 75, .4); stroke-width: 1; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.pdx-f-ref-label { fill: var(--pdx-ink-soft); font-family: var(--pdx-display); font-weight: 700; font-stretch: 118%; }
.pdx-f-rect.is-on { vector-effect: non-scaling-stroke; animation: pdx-grow .45s var(--pdx-ease); transform-origin: 0 100%; transform-box: fill-box; }
@keyframes pdx-grow { from { transform: scale(.94); opacity: .4; } }
.pdx-f-group + .pdx-f-group { margin-top: 16px; }
.pdx-f-group-label { margin: 0 0 8px; font: 600 .6875rem/1 var(--pdx-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pdx-ink-soft); }
.pdx-f-group-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pdx-m-card[hidden] { display: none; }
.pdx-m-more { margin-top: 16px; }
.pdx-f-chips { display: block; }
.pdx-chip { display: grid; gap: 2px; padding: 8px 12px; border: 1.5px solid var(--pdx-line-strong); border-radius: 8px; background: var(--pdx-surface); color: var(--pdx-ink); font: 400 .75rem/1.2 var(--pdx-body); text-align: left; cursor: pointer; transition: all .15s; }
.pdx-chip strong { font-size: .875rem; }
.pdx-chip span { color: var(--pdx-ink-soft); font-variant-numeric: tabular-nums; }
.pdx-chip:hover { border-color: var(--pdx-ink); }
.pdx-chip[aria-pressed="true"] { border-color: var(--pdx-ink); background: var(--pdx-ink); color: var(--pdx-paper); }
.pdx-chip[aria-pressed="true"] span { color: #C3CDD8; }
.pdx-f-detail { margin-top: 24px; padding: 22px; border-radius: var(--pdx-r); background: var(--pdx-surface); border: 1px solid var(--pdx-line); box-shadow: var(--pdx-shadow); }
.pdx-f-detail h3 { margin: 0 0 4px; }
.pdx-f-dims { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.pdx-f-bleed { margin: 2px 0 16px; color: var(--pdx-ink-soft); font-size: .875rem; }
.pdx-f-sub { margin: 0 0 8px; font: 600 .6875rem/1 var(--pdx-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pdx-ink-soft); }
.pdx-f-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.pdx-f-cats a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--pdx-blue-tint); color: var(--pdx-blue-deep); font-weight: 600; font-size: .875rem; text-decoration: none; }
.pdx-f-cats a:hover { background: var(--pdx-ink); color: var(--pdx-paper); }
.pdx-f-cats .pdx-icon { width: 14px; height: 14px; }
.pdx-w-scale { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pdx-line); }
.pdx-w-scale li { display: grid; grid-template-columns: 56px 110px minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--pdx-line); }
.pdx-w-sheet { display: block; height: var(--t); width: 48px; border-radius: 1px; background: linear-gradient(#fff, #E8E4DA); box-shadow: 0 1px 0 rgba(23, 46, 75, .25), 0 3px 6px -3px rgba(23, 46, 75, .35); }
.pdx-w-scale strong { font-variant-numeric: tabular-nums; }
.pdx-w-use { color: var(--pdx-ink-soft); font-size: .875rem; }
.pdx-w-cats { font-size: .875rem; }
.pdx-m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pdx-m-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 14px; border: 1px solid var(--pdx-line); border-radius: var(--pdx-r); background: var(--pdx-surface); }
.pdx-m-swatch { width: 56px; height: 56px; border-radius: 4px; border: 1px solid var(--pdx-line); background: #FBFAF6; box-shadow: inset 0 0 0 1px #fff; }
.pdx-m-swatch.is-glans { background: linear-gradient(135deg, #fff 0 35%, #EEF2F5 45%, #fff 55% 100%); }
.pdx-m-swatch.is-zijdeglans { background: linear-gradient(135deg, #FDFDFB, #F1F1EC); }
.pdx-m-swatch.is-mat { background: #F6F5F0; }
.pdx-m-swatch.is-naturel { background: #EFE8D8 radial-gradient(rgba(120, 100, 70, .14) 1px, transparent 1.4px) 0 0 / 5px 5px; }
.pdx-m-swatch.is-karton { background: #E7E1D2; }
.pdx-m-text { display: grid; gap: 2px; min-width: 0; }
.pdx-m-fin { font: 600 .6875rem/1.2 var(--pdx-body); letter-spacing: .08em; text-transform: uppercase; color: var(--pdx-blue-deep); }
.pdx-m-cats { font-size: .8125rem; color: var(--pdx-ink-soft); }
@media (max-width: 900px) {
  .pdx-f-layout { grid-template-columns: 1fr; }
  .pdx-f-stage { position: static; }
  .pdx-w-scale li { grid-template-columns: 48px 1fr; gap: 4px 12px; }
  .pdx-w-use, .pdx-w-cats { grid-column: 2; }
}

/* bleed demo */
.pdx-bd-stage { --dx: 0; --dy: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 4vw, 40px); padding: clamp(20px, 4vw, 40px); border: 1px solid var(--pdx-line); border-radius: var(--pdx-r); background: var(--pdx-paper-2); }
.pdx-bd-card { margin: 0; text-align: center; }
.pdx-bd-card figcaption { margin-top: 14px; font-weight: 600; }
.pdx-bd-sheet { position: relative; aspect-ratio: 148 / 210; max-width: 260px; margin: 0 auto; background: #fff; box-shadow: var(--pdx-shadow-lg); overflow: hidden; --mm: calc(100% / 148); }
.pdx-bd-art { position: absolute; background: linear-gradient(160deg, var(--pdx-blue) 0 55%, var(--pdx-ink) 55% 100%); }
.pdx-bd-card[data-mode="bleed"] .pdx-bd-art { inset: 0; }
.pdx-bd-card[data-mode="none"] .pdx-bd-art { inset: 2.1%; }
.pdx-bd-sheet::after { content: ""; position: absolute; inset: 2.1%; border: 1.5px dashed var(--pdx-magenta); transition: opacity .3s; }
.pdx-bd-stage.is-cut .pdx-bd-sheet::after { opacity: 0; }
.pdx-bd-stage.is-cut .pdx-bd-sheet { clip-path: inset(calc(2.1% + var(--dy) * 1.4%) calc(2.1% - var(--dx) * 1.4%) calc(2.1% - var(--dy) * 1.4%) calc(2.1% + var(--dx) * 1.4%)); transition: clip-path .5s var(--pdx-ease); }
.pdx-bd-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
.pdx-bd-note { flex: 1 1 280px; margin: 0; color: var(--pdx-ink-soft); font-size: .9375rem; }

/* template + check forms */
.pdx-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.pdx-field { display: grid; gap: 6px; }
.pdx-field[hidden] { display: none; }
.pdx-field--pair { grid-template-columns: auto auto; gap: 6px 10px; }
.pdx-field--pair label { grid-row: 1; }
.pdx-field label { font: 600 .8125rem/1.2 var(--pdx-body); color: var(--pdx-ink); }
.pdx-field select, .pdx-field input { min-height: 48px; padding: 0 12px; border: 1.5px solid var(--pdx-line-strong); border-radius: var(--r-md, 6px); background: var(--pdx-surface); color: var(--pdx-ink); font: 500 .9375rem/1 var(--pdx-body); }
.pdx-field input { width: 110px; }
.pdx-form-note { margin: 12px 0 0; font-size: .8125rem; color: var(--pdx-ink-soft); }
.pdx-check-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.pdx-check-grid .pdx-form { flex-direction: column; align-items: stretch; }
.pdx-drop { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; min-height: 200px; padding: 24px; border: 2px dashed var(--pdx-line-strong); border-radius: var(--pdx-r); background: var(--pdx-surface); text-align: center; cursor: pointer; transition: all .15s; }
.pdx-drop:hover, .pdx-drop.is-over { border-color: var(--pdx-blue-deep); background: var(--pdx-blue-tint); }
.pdx-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pdx-drop .pdx-icon { width: 30px; height: 30px; color: var(--pdx-blue-deep); transform: rotate(180deg); }
.pdx-drop-title { font-weight: 700; color: var(--pdx-ink); }
.pdx-drop-hint { font-size: .8125rem; color: var(--pdx-ink-soft); }
.pdx-check-result:empty { display: none; }
.pdx-check-result .pdx-preflight { margin-top: 20px; }
@media (max-width: 720px) { .pdx-check-grid, .pdx-bd-stage { grid-template-columns: 1fr; } .pdx-bd-sheet { max-width: 200px; } }

@media (prefers-reduced-motion: reduce) {
  .pdx-live::before, .pdx-preflight.is-pending .pdx-icon { animation: none; }
  .pdx-palette-backdrop, .pdx-palette-panel { animation: none; }
  .pdx-bd-stage.is-cut .pdx-bd-sheet, .pdx-bar, .pdx-sheet { transition: none; }
}

/* Long delivery dates may wrap on phones, so the matrix fits its card. */
@media (max-width: 480px) {
  .pdx-matrix th.prindustry-price-dlv { white-space: normal; min-width: 92px; }
  .pdx-matrix .prindustry-price-dlv-date { display: block; white-space: normal; }
}
.pdx-recent:not(.pdx-recent--band) { margin-bottom: clamp(32px, 5vw, 56px); }
.pdx-recent--band { padding-block: clamp(40px, 6vw, 72px) !important; }
.pdx-palette-input:focus, .pdx-palette-input:focus-visible { outline: none; box-shadow: none; }
.pdx-palette-field:focus-within { box-shadow: inset 0 -2px 0 var(--pdx-blue-deep); }
.pdx-recent-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pdx-recent-meta { white-space: nowrap; }

/* ---------- cart feedback ---------- */
.prindustry-cart-item { position: relative; transition: box-shadow .4s var(--pdx-ease); }
.prindustry-cart-item.pdx-busy > :not(.pdx-row-veil) { opacity: .45; transition: opacity .2s; }
.pdx-row-veil { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; border-radius: inherit; background: rgba(255, 255, 255, .55); backdrop-filter: blur(1.5px); color: var(--pdx-ink); font: 600 .9375rem/1.3 var(--pdx-body); text-align: center; }
.pdx-spinner { width: 22px; height: 22px; flex: none; border: 2.5px solid var(--pdx-line); border-top-color: var(--pdx-orange); border-radius: 50%; animation: pdx-spin .8s linear infinite; }
.pdx-row-error { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid var(--pdx-err); border-radius: 0 6px 6px 0; background: #FCEDEC; color: var(--pdx-ink); font-size: .875rem; line-height: 1.45; }
.pdx-row-error .pdx-icon { color: var(--pdx-err); width: 16px; height: 16px; margin-top: 2px; }
.prindustry-cart-item.pdx-flash { box-shadow: 0 0 0 2px var(--pdx-ok), var(--pdx-shadow); }
.pdx-toast { position: fixed; z-index: 1001; right: 20px; bottom: 20px; display: flex; gap: 12px; align-items: flex-start; width: min(380px, calc(100vw - 32px)); padding: 16px 14px 16px 16px; border-radius: 10px; background: var(--pdx-ink); color: var(--pdx-paper); box-shadow: 0 20px 50px -18px rgba(10, 20, 35, .6); transform: translateY(16px); opacity: 0; transition: transform .3s var(--pdx-ease), opacity .3s; overflow: hidden; }
.pdx-toast::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--pdx-cyan) 0 20%, var(--pdx-magenta) 20% 40%, var(--pdx-yellow) 40% 60%, var(--pdx-paper) 60% 80%, var(--pdx-orange) 80%); }
.pdx-toast.is-in { transform: none; opacity: 1; }
.pdx-toast > .pdx-icon { width: 22px; height: 22px; color: #7FD3A6; flex: none; }
.pdx-toast div { display: grid; gap: 2px; flex: 1; font-size: .875rem; line-height: 1.4; color: #C3CDD8; }
.pdx-toast strong { color: var(--pdx-paper); font-size: .9375rem; }
.pdx-toast button { display: grid; place-items: center; width: 30px; height: 30px; margin: -6px -4px 0 0; border: 0; border-radius: 6px; background: transparent; color: #C3CDD8; cursor: pointer; }
.pdx-toast button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 640px) { .pdx-toast { left: 16px; right: 16px; bottom: 16px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .pdx-spinner { animation-duration: 2s; } .pdx-toast { transition: none; } }

/* ---------- account dashboard ---------- */
.pdx-acc { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.pdx-acc-side { position: sticky; top: calc(var(--header-h, 72px) + 24px); display: grid; gap: 16px; }
.pdx-acc-me { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--pdx-line); border-radius: var(--pdx-r); background: var(--pdx-surface); }
.pdx-acc-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--pdx-ink); color: var(--pdx-paper); font: 800 1.125rem/1 var(--pdx-display); font-stretch: 116%; box-shadow: inset 0 -3px 0 var(--pdx-orange); }
.pdx-acc-me-text { display: grid; min-width: 0; font-size: .8125rem; color: var(--pdx-ink-soft); }
.pdx-acc-me-text strong { color: var(--pdx-ink); font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdx-acc-me-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdx-acc-nav { padding: 8px; border: 1px solid var(--pdx-line); border-radius: var(--pdx-r); background: var(--pdx-surface); }
.pdx-acc-nav ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pdx-acc-nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 8px; color: var(--pdx-ink); font: 500 .9375rem/1 var(--pdx-body); text-decoration: none; transition: background-color .15s; }
.pdx-acc-nav a:hover { background: var(--pdx-paper); }
.pdx-acc-nav a[aria-selected="true"] { background: var(--pdx-ink); color: var(--pdx-paper); font-weight: 600; }
.pdx-acc-nav a[aria-selected="true"]::before { content: ""; position: absolute; left: -8px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pdx-orange); }
.pdx-acc-nav .pdx-icon { width: 19px; height: 19px; }
.pdx-acc-count { margin-left: auto; min-width: 22px; padding: 3px 7px; border-radius: 999px; background: var(--pdx-paper-2); color: var(--pdx-ink); font: 700 .6875rem/1 var(--pdx-body); text-align: center; }
.pdx-acc-nav a[aria-selected="true"] .pdx-acc-count { background: var(--pdx-orange); color: var(--pdx-ink); }
.pdx-acc-logout { margin-top: 6px; border-top: 1px solid var(--pdx-line); border-radius: 0 0 8px 8px !important; color: var(--pdx-ink-soft) !important; }
.pdx-acc-panel[hidden] { display: none; }
.pdx-acc-panel { animation: pdx-panel .25s var(--pdx-ease); }
@keyframes pdx-panel { from { opacity: 0; transform: translateY(6px); } }
.pdx-acc-head { margin-bottom: 24px; }
.pdx-acc-head h2 { margin: 0 0 .3em; font-size: var(--fs-2xl, 2rem); }
.pdx-acc-head p:not(.pd-eyebrow) { margin: 0; max-width: 62ch; color: var(--pdx-ink-soft); }
.pdx-acc-notice { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 20px; padding: 12px 14px; border-left: 3px solid #E0A100; border-radius: 0 6px 6px 0; background: #FFF6DB; font-size: .875rem; }
.pdx-acc-notice .pdx-icon { color: var(--pdx-warn); margin-top: 1px; }
.pdx-acc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.pdx-acc-stat { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--pdx-line); border-radius: var(--pdx-r); background: var(--pdx-surface); color: var(--pdx-ink-soft); text-decoration: none; font-size: .875rem; transition: transform .2s var(--pdx-ease), box-shadow .2s; }
.pdx-acc-stat:hover { transform: translateY(-2px); box-shadow: var(--pdx-shadow); color: var(--pdx-ink-soft); }
.pdx-acc-stat-n { font: 800 2rem/1 var(--pdx-display); font-stretch: 116%; color: var(--pdx-ink); font-variant-numeric: tabular-nums; }
.pdx-acc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pdx-acc-card { padding: 22px; border: 1px solid var(--pdx-line); border-radius: var(--pdx-r); background: var(--pdx-surface); }
.pdx-acc .pdx-acc-card :is(h2, h3), .pdx-acc .pdx-acc-section :is(h2, h3) { margin: 0 0 12px !important; font-size: var(--fs-lg, 1.25rem) !important; letter-spacing: -.01em; }
.pdx-acc-order-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 4px; }
.pdx-acc-muted { margin: 0 0 16px; color: var(--pdx-ink-soft); font-size: .875rem; }
.pdx-acc-quick { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pdx-acc-quick a { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 6px; color: var(--pdx-ink); font-weight: 500; text-decoration: none; }
.pdx-acc-quick a:hover { background: var(--pdx-paper); }
.pdx-acc-quick .pdx-icon { color: var(--pdx-blue-deep); }
.pdx-acc-section { margin-top: 32px; }
.pdx-acc-empty { display: grid; justify-items: start; gap: 12px; padding: 28px; border: 1.5px dashed var(--pdx-line-strong); border-radius: var(--pdx-r); background: var(--pdx-surface); color: var(--pdx-ink-soft); }
.pdx-acc-empty > .pdx-icon { width: 28px; height: 28px; color: var(--pdx-blue-deep); }
.pdx-acc-empty p { margin: 0; max-width: 56ch; }
.pdx-acc-empty strong { color: var(--pdx-ink); }
.pdx-acc-qlist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pdx-acc-q { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--pdx-line); border-radius: var(--pdx-r); background: var(--pdx-surface); transition: opacity .2s; }
.pdx-acc-q.is-removing, .pdx-acc-saved.is-removing { opacity: .4; pointer-events: none; }
.pdx-acc-q img, .pdx-acc-q-ph { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; background: var(--pdx-paper); display: grid; place-items: center; color: var(--pdx-blue-deep); }
.pdx-acc-q-main { min-width: 0; }
.pdx-acc-q-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.pdx-acc-q-title span { color: var(--pdx-ink-soft); font-size: .75rem; font-variant-numeric: tabular-nums; }
.pdx-acc-q-spec { margin: 2px 0; color: var(--pdx-ink-soft); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdx-acc-q-meta { margin: 0; font-size: .8125rem; color: var(--pdx-ink); }
.pdx-acc-q-price { display: grid; text-align: right; font-variant-numeric: tabular-nums; }
.pdx-acc-q-price strong { font: 800 1.125rem/1.1 var(--pdx-display); font-stretch: 112%; }
.pdx-acc-q-price span { font-size: .75rem; color: var(--pdx-ink-soft); }
.pdx-acc-q-actions { display: grid; justify-items: center; gap: 6px; }
.pdx-acc-q-actions .pdx-btn { min-height: 40px; }
.pdx-acc-saved { display: grid; gap: 6px; justify-items: end; }
.pdx-acc-saved .pdx-recent-card { width: 100%; }
/* the plugin's page inside the tabs: its own greeting/logout/orders card/continue link are ours now */
.pdx-acc-plugin .prindustry-account-header, .pdx-acc-plugin .prindustry-account-continue, .pdx-acc-plugin .prindustry-account-card:has(a[href*="/orders"]) { display: none; }
.pdx-acc-plugin .prindustry-account-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (max-width: 899px) {
  .pdx-acc { grid-template-columns: minmax(0, 1fr); }
  .pdx-acc-side { position: static; }
  .pdx-acc-me { display: none; }
  .pdx-acc-nav { position: sticky; top: var(--header-h, 64px); z-index: 5; display: flex; padding: 6px; overflow-x: auto; scrollbar-width: none; box-shadow: var(--pdx-shadow); }
  .pdx-acc-nav::-webkit-scrollbar { display: none; }
  .pdx-acc-nav ul { display: flex; gap: 4px; }
  .pdx-acc-nav a { min-height: 42px; white-space: nowrap; padding: 0 12px; }
  .pdx-acc-nav a[aria-selected="true"]::before { display: none; }
  .pdx-acc-logout { margin: 0 0 0 4px; border-top: 0; border-left: 1px solid var(--pdx-line); border-radius: 0 8px 8px 0 !important; white-space: nowrap; }
  .pdx-acc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pdx-acc-stat { padding: 14px; }
  .pdx-acc-stat-n { font-size: 1.6rem; }
  .pdx-acc-grid { grid-template-columns: minmax(0, 1fr); }
  .pdx-acc-q { grid-template-columns: 52px minmax(0, 1fr); }
  .pdx-acc-q img, .pdx-acc-q-ph { width: 52px; height: 52px; }
  .pdx-acc-q-price { grid-column: 2; text-align: left; }
  .pdx-acc-q-actions { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: center; gap: 16px; }
}
