/* Scoped styles: do not affect Joomla template */
.pcvf{--pcvf-ink:#242c35;--pcvf-muted:#626c77;--pcvf-line:#dde2e6;--pcvf-accent:#0679ac;--pcvf-pale:#edf6fa;font-size:15px;line-height:1.5;font-family:var(--pcvf-font,inherit);color:var(--pcvf-ink);max-width:var(--pcvf-maxwidth,1100px);margin:0 auto;box-sizing:border-box}
.pcvf *{box-sizing:border-box}.pcvf button,.pcvf select{font:inherit}.pcvf-toggle{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;background:var(--pcvf-accent);color:var(--pcvf-button-text,#fff);border:0;border-radius:var(--pcvf-radius,10px);padding:20px 24px;font-size:clamp(17px,2.1vw,23px);font-weight:700;line-height:1.3;text-align:left;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.09)}.pcvf-toggle:hover{filter:brightness(.87)}.pcvf-toggle:focus-visible,.pcvf a:focus-visible,.pcvf button:focus-visible,.pcvf select:focus-visible{outline:3px solid #113e59;outline-offset:3px}.pcvf-symbol{display:grid;place-items:center;background:rgba(255,255,255,.16);flex:none;width:40px;height:40px;border-radius:50%;font-size:30px;line-height:1}.pcvf-panel{padding:25px 0}.pcvf-panel[hidden]{display:none!important}.pcvf-head{border-bottom:3px solid var(--pcvf-accent);padding-bottom:15px;margin-bottom:22px}.pcvf-kicker{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--pcvf-accent);font-weight:700}.pcvf-title{font-size:clamp(24px,3vw,36px);line-height:1.2;margin:6px 0}.pcvf-sub{color:var(--pcvf-muted);max-width:760px;margin:0}.pcvf-controls{background:#f8f9fa;border:1px solid var(--pcvf-line);border-radius:var(--pcvf-radius,10px);padding:18px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.pcvf-label{font-weight:650;display:block;margin-bottom:7px}.pcvf-select{display:block;width:100%;min-height:46px;border:1px solid #b6c0c9;border-radius:6px;background:#fff;color:var(--pcvf-ink);padding:10px 12px}.pcvf-btn{border-radius:6px;border:1px solid var(--pcvf-line);background:#fff;font-weight:600;min-height:44px;padding:9px 15px;color:var(--pcvf-ink);cursor:pointer}.pcvf-btn:disabled{opacity:.35;cursor:not-allowed}.pcvf-btn:hover:not(:disabled){border-color:var(--pcvf-accent)}.pcvf-content{padding-top:23px}.pcvf-section{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap;margin:7px 0 13px}.pcvf-section h3{margin:0;font-size:21px}.pcvf-section small{color:var(--pcvf-muted)}.pcvf-section-extra{margin-top:var(--pcvf-section-spacing,26px)}.pcvf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--pcvf-item-gap,11px)}.pcvf-item{background:#fff;border:1px solid var(--pcvf-line);border-radius:var(--pcvf-radius,10px);padding:var(--pcvf-item-padding,14px);display:flex;gap:12px;align-items:flex-start;min-width:0}.pcvf-num{display:grid;place-items:center;flex:none;border-radius:6px;width:30px;height:30px;font-size:13px;background:#e8edf1;color:#34404d;font-weight:700}.pcvf-body{flex:1;min-width:0}.pcvf-item strong{display:block;line-height:1.35;font-size:15px;overflow-wrap:anywhere}.pcvf-item p{margin:4px 0 0;font-size:13px;color:var(--pcvf-muted)}.pcvf-extra .pcvf-item{background:var(--pcvf-pale);border-color:#cce1eb}.pcvf-extra .pcvf-num{background:#d5ebf5;color:#125675}.pcvf-link{display:inline-flex;align-items:center;gap:5px;margin-top:9px;color:var(--pcvf-accent);font-size:13px;font-weight:650;text-decoration:underline;text-underline-offset:3px}.pcvf-link:hover{color:#055c85}.pcvf-link[aria-disabled="true"]{cursor:default}.pcvf-nav{display:flex;justify-content:space-between;gap:10px;margin-top:25px;padding-top:18px;border-top:1px solid var(--pcvf-line)}.pcvf-note{font-size:12px;line-height:1.55;color:var(--pcvf-muted);margin:25px 0 0}.pcvf-error{color:#a11;font-weight:600;padding:16px}
@media(max-width:680px){.pcvf-toggle{padding:16px;font-size:17px}.pcvf-symbol{width:36px;height:36px}.pcvf-controls{grid-template-columns:1fr}.pcvf-grid{grid-template-columns:1fr}}
/* v1.6 printing: the print button isolates the selected module, not the whole Joomla page. */
@media print {
  body.pcvf-print-active * { visibility: hidden !important; }
  body.pcvf-print-active .pcvf-print-target,
  body.pcvf-print-active .pcvf-print-target * { visibility: visible !important; }
  body.pcvf-print-active .pcvf-print-target {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
    box-shadow: none !important;
  }
  body.pcvf-print-active .pcvf-print-target .pcvf-panel[hidden] { display: block !important; }
  body.pcvf-print-active .pcvf-print-target .pcvf-toggle,
  body.pcvf-print-active .pcvf-print-target .pcvf-controls,
  body.pcvf-print-active .pcvf-print-target .pcvf-nav,
  body.pcvf-print-active .pcvf-print-target .pcvf-data { display: none !important; }
  body.pcvf-print-active .pcvf-print-target .pcvf-panel { padding: 0 !important; }
  body.pcvf-print-active .pcvf-print-target .pcvf-head { break-after: avoid; }
  body.pcvf-print-active .pcvf-print-target .pcvf-item { break-inside: avoid; page-break-inside: avoid; }
  body.pcvf-print-active .pcvf-print-target .pcvf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.pcvf-print-active .pcvf-print-target .pcvf-link { text-decoration: none; }
}


/* Joomla backend design overrides keep all changes scoped to this module. */
.pcvf .pcvf-toggle-text,.pcvf .pcvf-symbol{color:var(--pcvf-button-text,#fff)}

/* v1.4: fine-tuning the vertical rhythm in the open configurator. */
.pcvf .pcvf-head {margin-bottom:var(--pcvf-intro-controls-gap,22px)}
.pcvf .pcvf-title {margin-top:var(--pcvf-kicker-title-gap,6px);margin-bottom:var(--pcvf-title-sub-gap,6px)}
.pcvf .pcvf-content {padding-top:var(--pcvf-controls-content-gap,23px)}
.pcvf .pcvf-section {margin-top:0;margin-bottom:var(--pcvf-heading-rows-gap,13px)}
.pcvf .pcvf-section + .pcvf-section {margin-top:var(--pcvf-heading-rows-gap,13px)}
.pcvf .pcvf-section-extra {margin-top:var(--pcvf-section-spacing,26px)}
/* Responsive: shrink vertical distances on narrow screens without zeroing user settings. */
@media(max-width:680px){
 .pcvf .pcvf-head {margin-bottom:calc(var(--pcvf-intro-controls-gap,22px) * .75)}
 .pcvf .pcvf-title {margin-top:calc(var(--pcvf-kicker-title-gap,6px) * .75);margin-bottom:calc(var(--pcvf-title-sub-gap,6px) * .75)}
 .pcvf .pcvf-content {padding-top:calc(var(--pcvf-controls-content-gap,23px) * .75)}
 .pcvf .pcvf-section {margin-bottom:calc(var(--pcvf-heading-rows-gap,13px) * .75)}
 .pcvf .pcvf-section + .pcvf-section {margin-top:calc(var(--pcvf-heading-rows-gap,13px) * .75)}
 .pcvf .pcvf-section-extra {margin-top:calc(var(--pcvf-section-spacing,26px) * .75)}
}

/* v1.5 – independent typography controls, with module-scoped selectors. */
.pcvf .pcvf-toggle{font-size:var(--pcvf-toggle-size,20px);font-weight:var(--pcvf-toggle-weight,700)}
.pcvf .pcvf-kicker{font-size:var(--pcvf-kicker-size,12px);font-weight:var(--pcvf-kicker-weight,700)}
.pcvf .pcvf-title{font-size:var(--pcvf-title-size,30px);font-weight:var(--pcvf-title-weight,700)}
.pcvf .pcvf-sub{font-size:var(--pcvf-subtitle-size,15px);font-weight:var(--pcvf-subtitle-weight,400)}
.pcvf .pcvf-label{font-size:var(--pcvf-label-size,15px);font-weight:var(--pcvf-label-weight,650)}
.pcvf .pcvf-select{font-size:var(--pcvf-select-size,15px);font-weight:var(--pcvf-select-weight,400)}
.pcvf .pcvf-section h3{font-size:var(--pcvf-section-size,21px);font-weight:var(--pcvf-section-weight,700)}
.pcvf .pcvf-section small{font-size:var(--pcvf-counter-size,13px);font-weight:var(--pcvf-counter-weight,400)}
.pcvf .pcvf-item strong{font-size:var(--pcvf-material-size,15px);font-weight:var(--pcvf-material-weight,700)}
.pcvf .pcvf-item p{font-size:var(--pcvf-description-size,13px);font-weight:var(--pcvf-description-weight,400)}
.pcvf .pcvf-link{font-size:var(--pcvf-link-size,13px);font-weight:var(--pcvf-link-weight,650)}
.pcvf .pcvf-btn{font-size:var(--pcvf-button-size,15px);font-weight:var(--pcvf-button-weight,600)}
.pcvf .pcvf-note{font-size:var(--pcvf-note-size,12px);font-weight:var(--pcvf-note-weight,400)}
/* Only the responsive font SIZE changes; weights stay as configured. */
@media(max-width:680px){
  .pcvf .pcvf-toggle{font-size:max(10px,calc(var(--pcvf-toggle-size) * .9))}
  .pcvf .pcvf-kicker{font-size:max(10px,calc(var(--pcvf-kicker-size) * .9))}
  .pcvf .pcvf-title{font-size:max(10px,calc(var(--pcvf-title-size) * .9))}
  .pcvf .pcvf-sub{font-size:max(10px,calc(var(--pcvf-subtitle-size) * .9))}
  .pcvf .pcvf-label{font-size:max(10px,calc(var(--pcvf-label-size) * .9))}
  .pcvf .pcvf-select{font-size:max(10px,calc(var(--pcvf-select-size) * .9))}
  .pcvf .pcvf-section h3{font-size:max(10px,calc(var(--pcvf-section-size) * .9))}
  .pcvf .pcvf-section small{font-size:max(10px,calc(var(--pcvf-counter-size) * .9))}
  .pcvf .pcvf-item strong{font-size:max(10px,calc(var(--pcvf-material-size) * .9))}
  .pcvf .pcvf-item p{font-size:max(10px,calc(var(--pcvf-description-size) * .9))}
  .pcvf .pcvf-link{font-size:max(10px,calc(var(--pcvf-link-size) * .9))}
  .pcvf .pcvf-btn{font-size:max(10px,calc(var(--pcvf-button-size) * .9))}
  .pcvf .pcvf-note{font-size:max(10px,calc(var(--pcvf-note-size) * .9))}
}

/* v1.8: Optional colored region with backend-selected color and spacings. */
.pcvf[data-area-enabled="1"] {
  background-color: var(--pcvf-area-bg, #f1f5f8);
  padding: var(--pcvf-area-padding-y,24px) var(--pcvf-area-padding-x,20px);
}
/* In articles, place {loadmoduleid ID} inside .pcvf-color-region, between two HRs.
   The script transfers this instance's settings to the surrounding article region. */
.pcvf-color-region { box-sizing: border-box; }
.pcvf-color-region > .pcvf,
.pcvf-color-region .pcvf[data-area-enabled="1"] { max-width: var(--pcvf-maxwidth,1100px); }
.pcvf-color-region.pcvf-region-active .pcvf[data-area-enabled="1"] {
  background: transparent;
  padding: 0;
}
@media(max-width:680px) {
  .pcvf[data-area-enabled="1"] {
    padding: calc(var(--pcvf-area-padding-y,24px) * .75) calc(var(--pcvf-area-padding-x,20px) * .75);
  }
}
@media print {
  body.pcvf-print-active .pcvf-print-target { background: #fff !important; padding:0 !important; }
  body.pcvf-print-active .pcvf-color-region { background: transparent !important; padding:0 !important; }
}

@media(max-width:680px) { .pcvf-color-region { --pcvf-mobile-scale: .75; } }

/* PE applications: benefit and caution as two distinct paragraphs */
.pcvf .pcvf-item .pcvf-body p + p{margin-top:8px}.pcvf .pcvf-item .pcvf-body p b{font-weight:700;color:var(--pcvf-ink)}

/* Keep the inherited section-spacing control useful for the single application list. */
.pcvf .pcvf-content > .pcvf-section:nth-child(2){margin-bottom:var(--pcvf-section-spacing,26px)}
@media(max-width:680px){.pcvf .pcvf-content > .pcvf-section:nth-child(2){margin-bottom:calc(var(--pcvf-section-spacing,26px)*.75)}}

/* v1.1: reliable wrapping of application text within cards,
   including Joomla templates that set nowrap or unusual word-break rules. */
.pcvf .pcvf-grid,
.pcvf .pcvf-item,
.pcvf .pcvf-body { min-width: 0; max-width: 100%; }
.pcvf .pcvf-item .pcvf-body,
.pcvf .pcvf-item .pcvf-body strong,
.pcvf .pcvf-item .pcvf-body p,
.pcvf .pcvf-item .pcvf-body b,
.pcvf .pcvf-item .pcvf-body a {
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  max-width: 100%;
}
.pcvf .pcvf-item .pcvf-body p { display: block; }
.pcvf .pcvf-item .pcvf-body a { display: inline-flex; flex-wrap: wrap; }

/* v1.2: the bottom explanatory note must wrap inside its own container. */
.pcvf .pcvf-note {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
