/* Portara sample viewer + product-page viewer block: ONE stylesheet for wp-content/uploads/sample-viewer.html
   (standalone, #portara-viewer.pv-standalone) and for the #portara-viewer block the viewer-merge mu-plugin injects
   into every product page (option 3, 20 Sep 2026). Every rule is scoped to #portara-viewer so the WordPress theme's
   button / h2 / ul rules cannot restyle the block. Covers: download box, chart (.pc-*), Data Size Calculator (.psc-*),
   Volume History chip (.pvc-*), Data Formats card (.pfc-*), order-process card. Cache-bust with ?v=N. */
#portara-viewer { --bg: #ffffff; --ink: #333333; --sub: #666666; --faint: #999999; --blue: #2f7ed8; --blue-dark: #335cad; --grid: #e6e6e6; --band: #f7f8fa; --border: #d9dde3; --good: #2e7d32; }
#portara-viewer { color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif; }
#portara-viewer .wrap { max-width: 1240px; margin: 0 auto; }
#portara-viewer.pv-standalone .wrap { padding: 24px 20px 60px; }
/* product page: the template container carries margin-bottom:-50px (it assumed the old volume chip's own 50px margin) - keep the next block clear of the order card */
#portara-viewer:not(.pv-standalone) .wrap { padding-bottom: 74px; }
#portara-viewer .topbar { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
#portara-viewer .pv-h { font-size: 22px; margin: 0; color: #975be5; min-height: 27px; opacity: 0; transition: opacity 0.25s ease; }
#portara-viewer.viewer-ready .pv-h { opacity: 1; }
#portara-viewer .dbtype { color: #975be5; font-weight: normal; }
#portara-viewer .backlink { font-size: 13px; color: var(--blue-dark); cursor: pointer; text-decoration: underline; }
#portara-viewer .meta { color: var(--sub); font-size: 13.5px; margin: 0 0 16px; min-height: 21px; opacity: 0; transition: opacity 0.25s ease; }
#portara-viewer.viewer-ready .meta { opacity: 1; }
#portara-viewer .dlbox { background: var(--band); border: 1px solid var(--border); border-radius: 4px; padding: 14px 18px; margin: 0 0 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; opacity: 0; transition: opacity 0.25s ease; min-height: 40px; }
#portara-viewer.viewer-ready .dlbox { opacity: 1; }
#portara-viewer .dlbox .fname { font-weight: 600; font-variant-numeric: tabular-nums; }
#portara-viewer .dlbox .fsize { color: var(--sub); font-size: 13px; }
#portara-viewer .dlbox button.rawdl { font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif; padding: 10px 20px; border-radius: 4px; cursor: pointer; border: 0; display: inline-block; background: #975be5; color: #fff; box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.3); transition: all 500ms ease-in-out; }
#portara-viewer .dlbox button.rawdl:hover { box-shadow: 0 30px 20px -20px rgba(0, 0, 0, 0.3); background: #8a4cd8; }
#portara-viewer .dlbox select { font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif; padding: 7px 8px; border: 1px solid #ccc; border-radius: 3px; background: #fff; cursor: pointer; }
#portara-viewer .dlbox .or { color: var(--faint); font-size: 13px; }
#portara-viewer .tznote { flex-basis: 100%; font-size: 12px; color: var(--faint); margin: 0; }
#portara-viewer .err { background: #fdecea; border: 1px solid #f5c6c3; color: #a13c34; padding: 12px 16px; border-radius: 3px; max-width: 70ch; }
#portara-viewer .pc-wrap { display: block; min-height: 664px; opacity: 0; transition: opacity 0.25s ease; }
#portara-viewer.viewer-ready .pc-wrap { opacity: 1; }
#portara-viewer .pc-title { text-align: center; font-weight: bold; font-size: 20px; margin: 8px 0 2px; color: var(--ink); }
#portara-viewer .pc-sub { text-align: center; font-size: 16px; color: var(--sub); margin: 0 0 4px; }
#portara-viewer .pc-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 8px; gap: 12px; flex-wrap: wrap; }
#portara-viewer .pc-btns { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
#portara-viewer .pc-btns button, #portara-viewer .pc-png { font: 11px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; padding: 5px 9px; background: #f7f7f7; color: #333; border: 1px solid #ccc; border-radius: 2px; cursor: pointer; }
#portara-viewer .pc-btns button:hover, #portara-viewer .pc-png:hover { background: #e6ebf5; }
#portara-viewer .pc-btns button.pc-sel { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
#portara-viewer .pc-cap { font-size: 12px; color: var(--sub); font-variant-numeric: tabular-nums; }
#portara-viewer .pc-canvasbox { position: relative; }
#portara-viewer .pc-canvasbox canvas { display: block; width: 100%; }
#portara-viewer .pc-readout { position: absolute; top: 8px; left: 10px; font-size: 12px; color: var(--ink); background: rgba(255,255,255,0.92); padding: 3px 6px; pointer-events: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
#portara-viewer .pc-readout b { color: var(--blue-dark); }
#portara-viewer .pc-hint { text-align: center; font-size: 11.5px; color: var(--faint); margin: 4px 0 0; }
#portara-viewer .order-process { margin: 42px 0 0; background: var(--band); border: 1px solid var(--border); border-left: 5px solid #975be5; border-radius: 6px; padding: 26px 30px; }
#portara-viewer .order-process h2 { font-size: 26px; margin: 0 0 14px; color: #975be5; }
#portara-viewer .order-process p { font-size: 15.5px; line-height: 1.65; color: var(--ink); margin: 0 0 13px; }
#portara-viewer .order-process p:last-child { margin-bottom: 0; }
#portara-viewer .pfc-section { font-family: Oxygen, sans-serif; margin: 0; background: var(--band); border: 1px solid var(--border); border-left: 5px solid #975be5; border-radius: 6px; padding: 26px 30px; }
#portara-viewer .pfc-section[hidden] { display: none; }
#portara-viewer .pfc { --pfc-ink:#333; --pfc-muted:#66708a; --pfc-line:#dfe3ec; --pfc-soft:#f3f5fa; --pfc-accent:#335cad; }
#portara-viewer .pfc-head { margin-bottom: 16px; }
#portara-viewer .pfc-title { font-size: 26px; font-weight: 700; margin: 0 0 6px; color: #975be5; line-height: 1.25; }
#portara-viewer .pfc-sym { color: var(--pfc-accent); }
#portara-viewer .pfc-lede { margin: 0; font-size: 16px; color: var(--pfc-muted); max-width: 78ch; }
#portara-viewer .pfc-lede2 { margin-top: 8px; }
#portara-viewer .pfc-combined { margin: 0 0 10px; color: var(--pfc-ink); }
#portara-viewer .pfc-combined b { color: var(--pfc-ink); }
#portara-viewer .pfc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
#portara-viewer .pfc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--pfc-line); border-radius: 4px; background: #fff; color: var(--pfc-ink); cursor: pointer; font: inherit; font-size: 14px; line-height: 1.2; text-align: left; }
#portara-viewer .pfc-chip:hover { border-color: var(--pfc-accent); }
#portara-viewer .pfc-chip[aria-pressed="true"] { background: var(--pfc-soft); border-color: var(--pfc-accent); box-shadow: inset 0 0 0 1px var(--pfc-accent); }
#portara-viewer .pfc-chip:focus-visible { outline: 2px solid var(--pfc-accent); outline-offset: 2px; }
#portara-viewer .pfc-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; flex: none; }
#portara-viewer .pfc-chip-pre { color: var(--pfc-muted); }
#portara-viewer .pfc-tools { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; align-self: center; }
#portara-viewer .pfc-tool { font: inherit; font-size: 12px; padding: 5px 10px; background: #f7f7f7; color: var(--pfc-ink); border: 1px solid #ccc; border-radius: 3px; cursor: pointer; }
#portara-viewer .pfc-tool:hover { background: #e6ebf5; border-color: var(--pfc-accent); }
#portara-viewer .pfc-tool { display: inline-flex; align-items: center; line-height: 1.2; box-sizing: border-box; }
#portara-viewer a.pfc-tool { text-decoration: none; }
#portara-viewer .pfc-tool.pfc-done { background: var(--pfc-accent); color: #fff; border-color: var(--pfc-accent); }
@media (max-width: 640px) {
#portara-viewer .pfc-tools { margin-left: 0; }
}
#portara-viewer .pfc-chip-name { font-weight: 600; }
#portara-viewer .pfc-panel { margin-top: 16px; font-size: 15px; color: var(--pfc-ink); line-height: 1.55; max-width: 78ch; }
#portara-viewer .pfc-panel[hidden] { display: none; }
#portara-viewer .pfc-panel p { margin: 0 0 12px; }
#portara-viewer .pfc-panel .pfc-sub { font-size: 15px; font-weight: 700; color: var(--pfc-ink); margin: 0 0 8px; }
#portara-viewer .pfc-panel p:last-child { margin-bottom: 0; }
#portara-viewer .pfc-panel ul { margin: 0 0 14px 22px; padding: 0; }
#portara-viewer .pfc-panel li { margin: 0 0 7px; }
#portara-viewer .pfc-panel ul.pfc-sub { margin: 6px 0 4px 22px; }
#portara-viewer .pfc-panel ul.pfc-sub li { margin: 0 0 4px; font-size: 14.5px; }
#portara-viewer .pfc-panel li b { color: var(--pfc-ink); }
#portara-viewer .pfc-panel a { color: var(--pfc-accent); }
#portara-viewer .pfc-note { display: block; font-size: 14px; color: var(--pfc-muted); margin-top: 3px; }
#portara-viewer .pfc-con { font-family: Menlo, Consolas, monospace; font-size: 13px; color: var(--pfc-accent); }
#portara-viewer .pfc-info { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 7px; border-radius: 50%; border: 1px solid var(--pfc-accent); color: var(--pfc-accent); background: #fff; font-size: 11px; font-weight: 700; font-style: normal; line-height: 1; cursor: help; position: relative; vertical-align: -2px; }
#portara-viewer .pfc-info:hover, #portara-viewer .pfc-info:focus { background: var(--pfc-accent); color: #fff; outline: none; }
#portara-viewer .pfc-tip { display: none; position: absolute; left: -8px; bottom: calc(100% + 9px); background: #fff; color: var(--pfc-ink); border: 1px solid var(--pfc-line); border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.14); padding: 12px 14px; width: max-content; max-width: 360px; font-size: 13px; font-weight: 400; line-height: 1.5; text-align: left; z-index: 20; white-space: normal; cursor: default; }
#portara-viewer .pfc-info:hover .pfc-tip, #portara-viewer .pfc-info:focus .pfc-tip { display: block; }
#portara-viewer .pfc-tip b { display: block; margin-bottom: 6px; color: var(--pfc-ink); }
#portara-viewer .pfc-tip-list { display: grid; grid-template-columns: repeat(3, auto); column-gap: 18px; row-gap: 2px; font-family: Menlo, Consolas, monospace; font-size: 12px; color: var(--pfc-ink); }
#portara-viewer .pfc-tip-list.cols1 { grid-template-columns: auto; }
#portara-viewer .pfc-tip-foot { margin-top: 8px; font-size: 12px; color: var(--pfc-muted); }
#portara-viewer .psc { --psc-ink:#333; --psc-muted:#66708a; --psc-line:#dfe3ec; --psc-soft:#f3f5fa; --psc-accent:#335cad; --psc-accent-soft:#c9d5ec; --psc-ground:#fff; font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; color:var(--psc-ink); margin:0 0 50px; }
#portara-viewer .psc-head { margin-bottom:18px; }
#portara-viewer .psc-title { font-size:26px; font-weight:700; margin:0 0 6px; color:#975be5; line-height:1.25; text-wrap:balance; }
#portara-viewer .psc-sym { color:var(--psc-accent); }
#portara-viewer .psc-lede { margin:0; font-size:16px; color:var(--psc-muted); max-width:70ch; }
#portara-viewer .psc-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr); gap:28px; align-items:start; }
@media (max-width:820px) {
#portara-viewer .psc-grid { grid-template-columns:1fr; }
}
#portara-viewer .psc-block { margin-bottom:22px; }
#portara-viewer .psc-label { font-size:11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--psc-muted); margin-bottom:8px; }
#portara-viewer .psc-label-row { display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap; }
#portara-viewer .psc-chips { display:flex; flex-wrap:wrap; gap:8px; }
#portara-viewer .psc-chip { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid var(--psc-line); border-radius:4px; background:var(--psc-ground); color:var(--psc-ink); cursor:pointer; font:inherit; font-size:14px; line-height:1.2; text-align:left; }
#portara-viewer .psc-chip[aria-pressed="true"] { background:var(--psc-soft); border-color:var(--psc-accent); box-shadow:inset 0 0 0 1px var(--psc-accent); }
#portara-viewer .psc-chip:hover { border-color:var(--psc-accent); }
#portara-viewer .psc-chip:focus-visible, #portara-viewer .psc-preset:focus-visible, #portara-viewer .psc-tablebtn:focus-visible, #portara-viewer .psc-thumb:focus-visible { outline:2px solid var(--psc-accent); outline-offset:2px; }
#portara-viewer .psc-chip-name { font-weight:600; }
#portara-viewer .psc-chip-total { font-size:12px; color:var(--psc-muted); font-variant-numeric:tabular-nums; }
#portara-viewer .psc-swatch { display:inline-block; width:10px; height:10px; border-radius:2px; flex:none; }
#portara-viewer .psc-presets { display:flex; gap:4px; flex-wrap:wrap; }
#portara-viewer .psc-preset { font:inherit; font-size:12px; padding:4px 9px; background:#f7f7f7; color:var(--psc-ink); border:1px solid #ccc; border-radius:2px; cursor:pointer; }
#portara-viewer .psc-preset:hover { background:#e6ebf5; }
#portara-viewer .psc-range-readout { font-size:18px; margin:2px 0 10px; font-variant-numeric:tabular-nums; }
#portara-viewer .psc-muted { color:var(--psc-muted); }
#portara-viewer .psc-strips { display:flex; flex-direction:column; gap:6px; margin-bottom:4px; }
#portara-viewer .psc-strip { display:grid; grid-template-columns:78px 1fr; align-items:end; gap:8px; }
#portara-viewer .psc-strip-label { font-size:12px; color:var(--psc-muted); display:flex; align-items:center; gap:6px; padding-bottom:2px; }
#portara-viewer .psc-bars { display:flex; align-items:flex-end; gap:2px; height:42px; border-bottom:1px solid var(--psc-line); }
#portara-viewer .psc-bar { flex:1 1 0; min-width:0; display:flex; align-items:flex-end; height:100%; cursor:pointer; }
#portara-viewer .psc-bar i { display:block; width:100%; border-radius:2px 2px 0 0; opacity:.22; transition:opacity .12s; }
#portara-viewer .psc-bar.psc-in i { opacity:1; }
#portara-viewer .psc-bar:hover i { opacity:.7; }
#portara-viewer .psc-slider { position:relative; height:28px; margin:0 0 2px; }
#portara-viewer .psc-track { position:absolute; left:0; right:0; top:12px; height:4px; background:var(--psc-line); border-radius:2px; }
#portara-viewer .psc-fill { position:absolute; top:0; height:4px; background:var(--psc-accent); border-radius:2px; }
#portara-viewer .psc-thumb { position:absolute; left:0; right:0; top:0; width:100%; height:28px; margin:0; background:transparent; pointer-events:none; -webkit-appearance:none; appearance:none; }
#portara-viewer .psc-thumb::-webkit-slider-runnable-track { background:transparent; height:28px; }
#portara-viewer .psc-thumb::-moz-range-track { background:transparent; height:28px; }
#portara-viewer .psc-thumb::-webkit-slider-thumb { -webkit-appearance:none; pointer-events:auto; width:22px; height:22px; margin-top:3px; border-radius:50%; background:var(--psc-ground); border:2px solid var(--psc-accent); box-shadow:0 1px 3px rgba(0,0,0,.25); cursor:grab; }
#portara-viewer .psc-thumb::-moz-range-thumb { pointer-events:auto; width:22px; height:22px; border-radius:50%; background:var(--psc-ground); border:2px solid var(--psc-accent); box-shadow:0 1px 3px rgba(0,0,0,.25); cursor:grab; }
#portara-viewer .psc-axis { display:flex; justify-content:space-between; }
#portara-viewer .psc-tick { flex:1 1 0; font-size:10.5px; color:var(--psc-muted); text-align:center; font-variant-numeric:tabular-nums; }
#portara-viewer .psc-result { background:var(--psc-soft); border-radius:6px; padding:22px 24px; position:sticky; top:16px; }
#portara-viewer .psc-result-label { font-size:13px; color:var(--psc-muted); margin-bottom:6px; }
#portara-viewer .psc-big { font-size:46px; font-weight:700; line-height:1; color:var(--psc-accent); font-variant-numeric:tabular-nums; letter-spacing:-.01em; }
#portara-viewer .psc-big-sub { font-size:13px; color:var(--psc-muted); margin:8px 0 16px; }
#portara-viewer .psc-breakdown { display:flex; flex-direction:column; gap:8px; border-top:1px solid var(--psc-line); padding-top:14px; }
#portara-viewer .psc-bd-row { display:grid; grid-template-columns:10px 1fr auto; column-gap:10px; align-items:baseline; font-size:14px; }
#portara-viewer .psc-bd-name { font-weight:600; }
#portara-viewer .psc-bd-size { font-variant-numeric:tabular-nums; font-weight:600; }
#portara-viewer .psc-bd-pct { grid-column:2 / 4; font-size:12px; color:var(--psc-muted); }
#portara-viewer .psc-result-note { font-size:12.5px; color:var(--psc-muted); margin:16px 0 0; line-height:1.45; }
#portara-viewer .psc-tablebtn { font:inherit; font-size:13px; margin-top:6px; padding:6px 12px; background:var(--psc-accent-soft); color:var(--psc-accent); border:0; border-radius:4px; cursor:pointer; }
#portara-viewer .psc-tablebtn:hover { background:var(--psc-accent); color:#fff; }
#portara-viewer .psc-scroll { overflow-x:auto; margin-top:12px; }
#portara-viewer .psc-table { border-collapse:collapse; width:100%; font-size:13.5px; font-variant-numeric:tabular-nums; }
#portara-viewer .psc-table th, #portara-viewer .psc-table td { padding:6px 10px; text-align:right; border-bottom:1px solid var(--psc-line); white-space:nowrap; }
#portara-viewer .psc-table th:first-child, #portara-viewer .psc-table td:first-child { text-align:left; }
#portara-viewer .psc-table thead th { font-weight:700; color:var(--psc-ink); text-align:center; }
#portara-viewer .psc-table thead th .psc-swatch { margin-right:6px; vertical-align:middle; }
#portara-viewer .psc-table thead tr.psc-sub th { font-weight:400; font-size:11.5px; color:var(--psc-muted); text-transform:uppercase; letter-spacing:.06em; text-align:right; }
#portara-viewer .psc-table tbody tr:nth-child(even) { background:var(--psc-soft); }
#portara-viewer .psc-table tfoot td { font-weight:700; border-top:2px solid var(--psc-accent); }
#portara-viewer .psc-foot { font-size:12px; color:var(--psc-muted); margin:14px 0 0; line-height:1.5; }
@media (prefers-reduced-motion:reduce) {
#portara-viewer .psc-bar i { transition:none; }
}
#portara-viewer .pvc { --pvc-ink:#333; --pvc-muted:#66708a; --pvc-line:#dfe3ec; --pvc-soft:#f3f5fa; --pvc-accent:#335cad; margin:0 0 50px; }
#portara-viewer .pvc-head { margin-bottom:16px; }
#portara-viewer .pvc-title { font-size:26px; font-weight:700; margin:0 0 6px; color:#975be5; line-height:1.25; }
#portara-viewer .pvc-sym { color:var(--pvc-accent); }
#portara-viewer .pvc-lede { margin:0; font-size:16px; color:var(--pvc-muted); max-width:78ch; }
#portara-viewer .pvc-rows { display:flex; flex-direction:column; gap:14px; }
#portara-viewer .pvc-row { display:grid; grid-template-columns:150px 1fr; grid-template-rows:auto auto; column-gap:14px; row-gap:4px; align-items:center; }
#portara-viewer .pvc-row.pvc-this .pvc-label { font-weight:700; color:var(--pvc-ink); }
#portara-viewer .pvc-label { font-size:13.5px; color:var(--pvc-muted); display:flex; align-items:center; gap:7px; grid-row:1 / 3; }
#portara-viewer .pvc-swatch { display:inline-block; width:10px; height:10px; border-radius:2px; flex:none; }
#portara-viewer .pvc-track { position:relative; height:14px; background:transparent; }
#portara-viewer .pvc-seg { position:absolute; top:3px; height:8px; border-radius:4px; }
#portara-viewer .pvc-grey { background:#dfe3ec; }
#portara-viewer .pvc-dot { position:absolute; top:0; width:14px; height:14px; margin-left:-7px; border-radius:50%; background:#fff; border:3px solid #999; box-sizing:border-box; box-shadow:0 1px 2px rgba(0,0,0,.2); z-index:2; }
#portara-viewer .pvc-dia { position:absolute; top:2px; width:10px; height:10px; margin-left:-5px; transform:rotate(45deg); border:2px solid #fff; box-sizing:border-box; box-shadow:0 0 0 1px rgba(0,0,0,.15); z-index:3; }
#portara-viewer .pvc-cap { grid-column:2; font-size:12.5px; color:var(--pvc-muted); }
#portara-viewer .pvc-cap b { color:var(--pvc-ink); font-weight:600; }
#portara-viewer .pvc-con { font-family:Menlo, Consolas, monospace; font-size:11.5px; color:var(--pvc-accent); }
#portara-viewer .pvc-none { color:#b23a3a; }
#portara-viewer .pvc-axis { position:relative; height:18px; margin:6px 0 0 164px; border-top:1px solid var(--pvc-line); }
#portara-viewer .pvc-tick { position:absolute; top:3px; transform:translateX(-50%); font-size:10.5px; color:var(--pvc-muted); font-variant-numeric:tabular-nums; }
#portara-viewer .pvc-tick-end { transform:translateX(-100%); }
#portara-viewer .pvc-legend { display:flex; flex-wrap:wrap; gap:16px; font-size:12px; color:var(--pvc-muted); margin:12px 0 0 164px; }
#portara-viewer .pvc-legend span { display:inline-flex; align-items:center; gap:6px; }
#portara-viewer .pvc-legend .pvc-lg { position:static; display:inline-block; width:22px; height:8px; margin:0; }
#portara-viewer .pvc-legend b.pvc-dot.pvc-lg { width:12px; height:12px; }
#portara-viewer .pvc-legend b.pvc-dia.pvc-lg { width:9px; height:9px; background:#7a8db8; }
#portara-viewer .pvc-foot { font-size:12px; color:var(--pvc-muted); margin:12px 0 0; line-height:1.5; }
#portara-viewer .pvc-foot a { color:var(--pvc-accent); }
@media (max-width:640px) {
#portara-viewer .pvc-row { grid-template-columns:1fr; }
#portara-viewer .pvc-label { grid-row:auto; }
#portara-viewer .pvc-cap { grid-column:1; }
#portara-viewer .pvc-axis, #portara-viewer .pvc-legend { margin-left:0; }
}
/* ---- shared card headings: explicit weights so the WordPress theme's h2 rule cannot thin them ---- */
#portara-viewer .order-process h2, #portara-viewer .pfc-title, #portara-viewer .psc-title, #portara-viewer .pvc-title { font-weight: 700; }
#portara-viewer h2.pv-h { font-size: 22px; font-weight: 700; margin: 0; color: #975be5; min-height: 27px; }
/* standalone viewer: call-to-action card to the product page (the page itself keeps its URL) */
#portara-viewer .pv-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; padding: 16px 22px; background: var(--band); border: 1px solid var(--border); border-left: 5px solid #975be5; border-radius: 6px; }
#portara-viewer .pv-cta[hidden] { display: none; }
#portara-viewer .pv-cta-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); max-width: 70ch; }
#portara-viewer .pv-cta-text b { color: #975be5; }
#portara-viewer .pv-cta-btn { font: 600 14px "Helvetica Neue", Helvetica, Arial, sans-serif; padding: 10px 20px; border-radius: 4px; background: #975be5; color: #fff; text-decoration: none; white-space: nowrap; box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.3); transition: all 500ms ease-in-out; }
#portara-viewer .pv-cta-btn:hover { background: #8a4cd8; color: #fff; box-shadow: 0 30px 20px -20px rgba(0, 0, 0, 0.3); }
#portara-viewer .pfc-section { margin-bottom: 0; }
#portara-viewer .psc-section, #portara-viewer .pvc-section { padding-bottom: 0; }
#portara-viewer .pfc-panel ul, #portara-viewer .pfc-panel ul.pfc-sub { list-style: disc; }

