/* Pricing estimator: local to pricing.html */
.pc-hero { padding-bottom: 44px; }
.pc-headline-accent { color: var(--brand); }
.pc-calculator-section { padding-top: 36px; }
.pc-heading-row { display:flex; align-items:end; justify-content:space-between; gap:26px; margin-bottom:30px; }
.pc-heading-row .section-intro { max-width:740px; }
.pc-mode-box { display:grid; gap:7px; min-width:205px; padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.pc-mode-box label { color:var(--text); font-size:12px; font-weight:750; }
.pc-mode-box select { width:100%; min-height:42px; padding:9px 10px; color:var(--text); background:var(--bg); border:1px solid var(--line); border-radius:9px; }
.pc-mode-box span { color:var(--faint); font-size:11px; line-height:1.5; }
.pc-workspace { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:20px; align-items:start; }
.pc-config { min-width:0; }
.pc-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; padding:17px 18px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.pc-toolbar > div:first-child { display:grid; gap:3px; }
.pc-toolbar strong { font-size:14px; }
.pc-toolbar span { color:var(--faint); font-size:11px; }
.pc-toolbar-actions { display:flex; gap:12px; align-items:center; }
.pc-text-button { border:0; background:transparent; color:var(--brand); font-size:12px; font-weight:750; cursor:pointer; padding:6px 2px; }
.pc-text-button:hover { text-decoration:underline; }
.pc-warning { display:grid; gap:4px; padding:13px 15px; margin:0 0 14px; border:1px solid #f5c16c; border-radius:12px; background:#fff7e8; color:#854d0e; font-size:12px; line-height:1.6; }
html.dark .pc-warning { background:#342814; border-color:#8a6429; color:#f8d99e; }
.pc-warning[hidden] { display:none; }
.pc-categories { display:grid; gap:10px; }
.pc-category { border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--surface); }
.pc-category > summary { display:grid; grid-template-columns:40px minmax(0,1fr) auto 12px; align-items:center; gap:12px; min-height:75px; padding:13px 15px; cursor:pointer; list-style:none; }
.pc-category > summary::-webkit-details-marker { display:none; }
.pc-category > summary:hover { background:var(--surface-2); }
.pc-category-icon { display:grid; place-items:center; width:38px; height:38px; color:var(--brand); background:var(--brand-soft); border:1px solid var(--brand-line); border-radius:11px; }
.pc-category-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.pc-category-heading { min-width:0; display:grid; gap:4px; }
.pc-category-heading strong { font-size:13px; }
.pc-category-heading small { color:var(--faint); font-size:11px; line-height:1.45; }
.pc-category-meta { text-align:right; display:grid; gap:4px; white-space:nowrap; }
.pc-category-meta strong { font-size:13px; font-variant-numeric:tabular-nums; }
.pc-category-meta small { color:var(--faint); font-size:10px; }
.pc-disclosure { width:8px; height:8px; border-right:1.6px solid var(--faint); border-bottom:1.6px solid var(--faint); transform:rotate(45deg); transition:transform .15s ease; margin-bottom:4px; }
.pc-category[open] .pc-disclosure { transform:rotate(225deg); margin-bottom:-4px; }
.pc-category-body { border-top:1px solid var(--line); }
.pc-line { display:grid; grid-template-columns:minmax(190px,1fr) 140px 146px 92px; align-items:center; gap:14px; padding:15px 16px; border-bottom:1px solid var(--line); }
.pc-line:last-child { border-bottom:0; }
.pc-line:hover { background:color-mix(in srgb, var(--surface-2) 42%, transparent); }
.pc-line.over-limit { box-shadow:inset 3px 0 0 #d97706; }
.pc-feature-toggle { display:grid; grid-template-columns:18px minmax(0,1fr); align-items:start; gap:10px; cursor:pointer; }
.pc-feature-toggle input { position:absolute; opacity:0; width:1px; height:1px; }
.pc-check { width:17px; height:17px; margin-top:2px; display:grid; place-items:center; border:1.5px solid var(--line); background:var(--bg); border-radius:5px; color:white; }
.pc-feature-toggle input:checked + .pc-check { background:var(--brand); border-color:var(--brand); }
.pc-feature-toggle input:checked + .pc-check::after { content:"✓"; font-size:12px; font-weight:800; line-height:1; }
.pc-feature-toggle input:focus-visible + .pc-check { outline:3px solid #818cf8; outline-offset:3px; }
.pc-feature-copy { min-width:0; display:grid; gap:4px; }
.pc-feature-copy strong { font-size:12px; line-height:1.4; }
.pc-feature-copy > span:not(.pc-parent) { color:var(--faint); font-size:10.5px; line-height:1.45; }
.pc-parent { display:inline-flex; justify-self:start; color:var(--brand); background:var(--brand-soft); border-radius:5px; padding:3px 5px; font:500 9px/1.3 "JetBrains Mono",monospace; text-transform:uppercase; letter-spacing:.01em; }
.pc-quantity-label { display:grid; gap:6px; color:var(--muted); font-size:10.5px; font-weight:650; }
.pc-quantity-label small { color:var(--faint); font-size:10px; font-weight:500; }
.pc-quantity { width:100%; min-width:0; height:38px; padding:7px 9px; border:1px solid var(--line); border-radius:8px; background:var(--bg); color:var(--text); font-variant-numeric:tabular-nums; }
.pc-quantity:disabled { opacity:.48; cursor:not-allowed; }
.pc-unit-rate { display:grid; gap:3px; min-width:0; }
.pc-rate-value { font:600 12px/1.3 "JetBrains Mono",monospace; color:var(--text); }
.pc-unit-rate small { color:var(--faint); font-size:10px; }
.pc-cap-text { color:var(--faint); font-size:9px; line-height:1.4; }
.pc-line-cost { display:grid; gap:4px; justify-items:end; }
.pc-line-cost small { color:var(--faint); font-size:9px; text-transform:uppercase; letter-spacing:.06em; }
.pc-row-total { font:600 11px/1.4 "JetBrains Mono",monospace; font-variant-numeric:tabular-nums; text-align:right; overflow-wrap:anywhere; }
.pc-line:not(.is-selected) .pc-row-total { color:var(--faint); }
.pc-calc-footnote { display:grid; gap:5px; padding:16px 17px; margin-top:12px; background:var(--surface-2); border-radius:12px; color:var(--muted); font-size:11.5px; line-height:1.65; }
.pc-calc-footnote strong { color:var(--text); font-size:12px; }
.pc-estimate-card { position:sticky; top:96px; border:1px solid var(--line); background:var(--surface); border-radius:17px; box-shadow:var(--shadow); overflow:hidden; }
.pc-estimate-top { padding:22px 22px 17px; background:var(--navy); color:#f8fafc; }
.pc-estimate-top .eyebrow { color:#a5b4fc; }
.pc-estimate-top h3 { margin-top:10px; color:#fff; font-size:22px; }
.pc-estimate-top > p:not(.eyebrow) { margin:8px 0 0; color:#cbd5e1; font-size:12px; line-height:1.6; }
.pc-environment-badge { display:inline-flex; margin-top:13px; padding:6px 8px; border:1px solid rgba(165,180,252,.3); border-radius:999px; background:rgba(99,102,241,.16); color:#c7d2fe; font-size:10px; font-weight:700; }
.pc-total-block { padding:22px; border-bottom:1px solid var(--line); display:grid; gap:6px; }
.pc-total-block small { color:var(--faint); font-size:11px; }
#pcGrandTotal { display:block; color:var(--text); font:800 clamp(30px,3.2vw,39px)/1.13 "Inter",sans-serif; letter-spacing:-.05em; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
#pcSelectedCount { color:var(--faint); font-size:11px; }
.pc-summary-list { display:grid; padding:8px 22px 12px; }
.pc-summary-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); font-size:11px; }
.pc-summary-row:last-child { border-bottom:0; }
.pc-summary-row span { color:var(--muted); }
.pc-summary-row strong { white-space:nowrap; font:600 10.5px/1.4 "JetBrains Mono",monospace; }
.pc-summary-empty { padding:12px 0; color:var(--faint); font-size:11px; }
.pc-estimate-actions { display:grid; gap:8px; padding:0 22px 20px; }
.pc-estimate-actions .btn { width:100%; font-size:11.5px; min-height:41px; }
.pc-disclaimer { margin:0; padding:15px 17px; border-top:1px solid var(--line); background:var(--surface-2); color:var(--faint); font-size:10px; line-height:1.65; }
.pc-feedback { margin:0; padding:12px 17px; color:var(--teal); font-size:11px; line-height:1.5; }
.pc-feedback[hidden] { display:none; }
.pc-model-cards .card-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:11px; background:var(--brand-soft); color:var(--brand); font:700 11px/1 "JetBrains Mono",monospace; }
@media (max-width:1150px) { .pc-workspace { grid-template-columns:minmax(0,1fr) 295px; gap:14px; } .pc-line { grid-template-columns:minmax(175px,1fr) 120px 128px 83px; gap:10px; padding:13px 12px; } .pc-line-cost { min-width:0; } }
@media (max-width:980px) { .pc-workspace { grid-template-columns:1fr; } .pc-estimate-card { position:static; display:grid; grid-template-columns:1fr 1fr; } .pc-estimate-top { grid-column:1/-1; } .pc-total-block { border-right:1px solid var(--line); border-bottom:0; } .pc-summary-list { align-content:start; } .pc-estimate-actions,.pc-disclaimer,.pc-feedback { grid-column:1/-1; } .pc-heading-row { align-items:start; } }
@media (max-width:690px) { .pc-heading-row { display:grid; grid-template-columns:1fr; gap:18px; } .pc-mode-box { min-width:0; } .pc-category > summary { grid-template-columns:34px minmax(0,1fr) auto 10px; gap:9px; padding:12px 10px; } .pc-category-icon { width:32px; height:32px; } .pc-category-icon svg { width:17px; height:17px; } .pc-category-heading strong { font-size:12px; } .pc-category-heading small { font-size:10px; } .pc-category-meta strong { font-size:11px; } .pc-category-meta small { font-size:9px; } .pc-line { grid-template-columns:minmax(0,1fr) auto; gap:12px; padding:14px 12px; } .pc-line-main { grid-column:1/-1; } .pc-quantity-label { grid-column:1; grid-row:2; max-width:240px; } .pc-unit-rate { grid-column:2; grid-row:2; text-align:right; } .pc-cap-text { max-width:160px; margin-left:auto; } .pc-line-cost { grid-column:1/-1; display:flex; justify-content:space-between; align-items:center; padding-top:8px; border-top:1px dashed var(--line); } .pc-line-cost small { font-size:9px; } .pc-row-total { font-size:12px; } .pc-toolbar { align-items:flex-start; } .pc-toolbar-actions { flex-wrap:wrap; justify-content:flex-end; gap:9px; } .pc-estimate-card { grid-template-columns:1fr; } .pc-estimate-top,.pc-total-block,.pc-summary-list,.pc-estimate-actions,.pc-disclaimer,.pc-feedback { grid-column:1; } .pc-total-block { border-right:0; border-bottom:1px solid var(--line); } .pc-summary-list { padding-top:12px; } }
@media (prefers-reduced-motion:reduce) { .pc-disclosure { transition:none; } }


/* Discount programmes and accessible application dialog */
.pc-discount-section { background:var(--surface-2); }
.pc-discount-intro { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(250px,.6fr); gap:30px; align-items:end; margin-bottom:26px; }
.pc-discount-intro .section-intro { max-width:760px; }
.pc-discount-note { display:grid; gap:7px; padding:17px 18px; background:var(--surface); border:1px solid var(--line); border-radius:13px; color:var(--muted); font-size:12px; line-height:1.65; }
.pc-discount-note strong { color:var(--text); font-size:13px; }
.pc-discount-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.pc-discount-card { padding:24px; border:1px solid var(--line); border-radius:17px; background:var(--surface); display:flex; flex-direction:column; align-items:flex-start; min-width:0; box-shadow:var(--shadow); }
.pc-discount-card-featured { border-color:var(--brand-line); }
.pc-discount-top { display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%; margin-bottom:17px; }
.pc-discount-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:var(--brand-soft); color:var(--brand); font-size:23px; font-weight:700; }
.pc-discount-badge { display:inline-flex; padding:7px 11px; border:1px solid var(--brand-line); border-radius:999px; background:var(--brand-soft); color:var(--brand); font-size:11px; font-weight:800; }
.pc-discount-card h3 { margin:0 0 9px; color:var(--text); font-size:20px; letter-spacing:-.025em; }
.pc-discount-card > p { color:var(--muted); font-size:13px; line-height:1.75; margin:0 0 16px; }
.pc-discount-points { list-style:none; display:grid; gap:9px; padding:0; margin:0 0 21px; color:var(--muted); font-size:12px; line-height:1.6; }
.pc-discount-points li { display:flex; align-items:flex-start; gap:9px; }
.pc-discount-points li::before { content:"✓"; color:var(--brand); font-weight:800; }
.pc-eligibility { padding:14px 15px; margin:0 0 20px; width:100%; background:var(--surface-2); border:1px solid var(--line); border-radius:11px; }
.pc-eligibility strong { font-size:11px; color:var(--text); }
.pc-eligibility ul { margin:8px 0 0; padding-left:19px; color:var(--muted); font-size:12px; line-height:1.75; }
.pc-discount-link { display:inline-flex; align-items:center; justify-content:center; gap:9px; margin-top:auto; padding:10px 0 3px; color:var(--brand); border:0; background:transparent; font:750 13px/1.4 Inter,sans-serif; text-align:left; text-decoration:none; cursor:pointer; }
.pc-discount-link:hover { text-decoration:underline; text-underline-offset:4px; }
.pc-discount-link:focus-visible { outline:3px solid #818cf8; outline-offset:4px; border-radius:4px; }

/* Native dialog keeps the application focused, readable and keyboard accessible. */
.pc-discount-modal { width:min(760px,calc(100vw - 28px)); max-width:none; max-height:calc(100dvh - 28px); margin:auto; padding:0; overflow:visible; border:0; background:transparent; color:var(--text); }
.pc-discount-modal:not([open]) { display:none; }
.pc-discount-modal[open] { display:block; }
.pc-discount-modal::backdrop { background:rgba(5,10,24,.68); backdrop-filter:blur(5px); }
.pc-modal-card { display:flex; flex-direction:column; max-height:calc(100dvh - 28px); overflow:hidden; border:1px solid var(--line); border-radius:20px; background:var(--surface); color:var(--text); box-shadow:0 30px 100px rgba(0,0,0,.34); }
.pc-modal-header { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; padding:26px 28px 21px; border-bottom:1px solid var(--line); }
.pc-modal-heading { min-width:0; }
.pc-modal-heading .eyebrow { margin:0 0 8px; color:var(--brand); font-size:10px; letter-spacing:.12em; font-weight:800; }
.pc-modal-heading h2 { margin:0 0 8px; color:var(--text); font-size:clamp(21px,3vw,27px); line-height:1.2; letter-spacing:-.04em; }
.pc-modal-heading > p:last-child { max-width:540px; margin:0; color:var(--muted); font-size:13px; line-height:1.65; }
.pc-modal-close { display:grid; flex:0 0 auto; place-items:center; width:38px; height:38px; padding:0; border:1px solid var(--line); border-radius:11px; background:var(--surface-2); color:var(--text); font:400 25px/1 Inter,sans-serif; cursor:pointer; }
.pc-modal-close:hover { border-color:var(--brand-line); background:var(--brand-soft); }
.pc-modal-close:focus-visible,.pc-modal-footer button:focus-visible { outline:3px solid #818cf8; outline-offset:3px; }
.pc-modal-form { display:flex; min-height:0; flex-direction:column; }
.pc-modal-content { overflow-y:auto; padding:22px 28px 10px; }
.pc-program-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:0; margin:0 0 22px; border:0; }
.pc-program-choices legend { grid-column:1/-1; margin:0 0 1px; padding:0; color:var(--text); font-size:13px; font-weight:800; }
.pc-program-option { display:flex; align-items:flex-start; gap:11px; min-width:0; padding:15px; border:1px solid var(--line); border-radius:13px; background:var(--surface-2); cursor:pointer; transition:border-color .15s ease,background-color .15s ease; }
.pc-program-option:has(input:checked) { border-color:var(--brand); background:var(--brand-soft); box-shadow:inset 0 0 0 1px var(--brand); }
.pc-program-option input { flex:0 0 auto; width:17px; height:17px; margin:3px 0 0; accent-color:var(--brand); cursor:pointer; }
.pc-program-option input:focus-visible { outline:3px solid #818cf8; outline-offset:3px; }
.pc-program-option-copy { display:grid; gap:6px; min-width:0; }
.pc-program-option strong { color:var(--text); font-size:12.5px; line-height:1.5; }
.pc-program-option small { color:var(--muted); font-size:11.5px; line-height:1.6; }
.pc-form-fields { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:15px; }
.pc-form-field { display:grid; align-content:start; gap:8px; min-width:0; }
.pc-form-field > span { color:var(--text); font-size:12px; font-weight:750; }
.pc-form-field b { color:#dc2626; }
.pc-form-field input,.pc-form-field textarea { display:block; box-sizing:border-box; width:100%; min-width:0; min-height:45px; padding:12px 13px; border:1px solid var(--line); border-radius:10px; background:var(--bg); color:var(--text); font:400 13px/1.6 Inter,sans-serif; }
.pc-form-field textarea { min-height:106px; resize:vertical; }
.pc-form-field input::placeholder,.pc-form-field textarea::placeholder { color:var(--faint); opacity:.9; }
.pc-form-field input:focus,.pc-form-field textarea:focus { outline:3px solid rgba(99,102,241,.2); border-color:var(--brand); }
.pc-form-field > small { color:var(--faint); font-size:10.5px; line-height:1.6; }
.pc-modal-submit-note { display:flex; align-items:flex-start; gap:8px; margin:18px 0 0; padding:11px 13px; border:1px solid var(--line); border-radius:10px; background:var(--surface-2); color:var(--muted); font-size:11px; line-height:1.6; }
.pc-modal-submit-note > span { color:var(--brand); font-size:14px; }
.pc-modal-footer { display:flex; align-items:center; justify-content:flex-end; gap:10px; padding:16px 28px 23px; border-top:1px solid var(--line); background:var(--surface); }
.pc-modal-footer .btn { min-height:43px; padding:11px 16px; border-radius:10px; cursor:pointer; font-size:12px; }
.pc-modal-footer .pc-modal-cancel { color:var(--text); }
.pc-modal-footer .pc-modal-submit { display:inline-flex; align-items:center; justify-content:center; gap:9px; }
.pc-form-status { margin:15px 0 0; padding:12px 13px; border:1px solid var(--brand-line); border-radius:10px; background:var(--brand-soft); color:var(--text); font-size:12px; line-height:1.65; overflow-wrap:anywhere; }
.pc-form-status[hidden] { display:none; }
.pc-form-status[data-state="error"] { border-color:#fca5a5; background:#fef2f2; color:#991b1b; }
html.dark .pc-form-status[data-state="error"] { border-color:#7f1d1d; background:#351b22; color:#fecaca; }
@media(max-width:850px) { .pc-discount-intro { grid-template-columns:1fr; gap:18px; } }
@media(max-width:620px) {
  .pc-discount-grid { grid-template-columns:1fr; }
  .pc-discount-card { padding:20px; }
  .pc-discount-note { padding:15px; }
  .pc-discount-modal { width:calc(100vw - 20px); max-height:calc(100dvh - 20px); }
  .pc-modal-card { max-height:calc(100dvh - 20px); border-radius:16px; }
  .pc-modal-header { padding:20px 18px 17px; gap:12px; }
  .pc-modal-content { padding:17px 18px 9px; }
  .pc-program-choices { grid-template-columns:1fr; gap:9px; margin-bottom:19px; }
  .pc-form-fields { grid-template-columns:1fr; gap:14px; }
  .pc-modal-footer { padding:13px 18px 18px; }
  .pc-modal-footer .btn { flex:1; }
}
@media (prefers-reduced-motion:reduce) { .pc-disclosure,.pc-program-option { transition:none; } }
