/* APC Fee Calculator – public styles (Editra: no boxed panels or shadows, thin rules, theme fonts). */
.apc-fee-calculator,.apc-fee-finder{--apcfc-accent:#1f4e79;--apcfc-rule:rgba(0,0,0,.12);--apcfc-muted:#4a5561;box-sizing:border-box;font:inherit;color:inherit}
.apc-fee-calculator *,.apc-fee-calculator *::before,.apc-fee-calculator *::after,.apc-fee-finder *,.apc-fee-finder *::before,.apc-fee-finder *::after{box-sizing:border-box}
.apc-fee-calculator{margin:2.5rem 0;padding:1.75rem 0 0;border-top:2px solid var(--apcfc-accent);max-width:980px}
.apc-fee-finder{margin:2rem 0}

/* shared form parts */
.apcfc-title{margin:0 0 .4rem}
.apcfc-intro{margin:0;color:var(--apcfc-muted);max-width:720px}
.apcfc-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem 2.5rem;margin:1.5rem 0 0}
.apcfc-field{margin:0;padding:0;border:0;min-width:0}
.apcfc-field > label:not(.apcfc-radio),.apcfc-field > legend{display:block;font-weight:600;margin:0 0 .5rem;padding:0;font-size:.95em}
.apc-fee-calculator select,.apc-fee-finder select,.apc-fee-finder input[type="search"]{width:100%;min-height:46px;padding:0 .75rem;border:1px solid #b8c0c9;border-radius:3px;background:#fff;color:inherit;font:inherit;margin:0}
.apc-fee-calculator select:focus,.apc-fee-finder select:focus,.apc-fee-finder input:focus{outline:2px solid var(--apcfc-accent);outline-offset:2px}
.apcfc-radio{display:flex;align-items:center;gap:.6rem;min-height:36px;margin:0;cursor:pointer;font-weight:400;font-size:inherit}
.apcfc-radio input{width:18px;height:18px;margin:0;accent-color:var(--apcfc-accent);flex:none}
.apcfc-radio input:focus-visible,.apcfc-linkbtn:focus-visible{outline:2px solid var(--apcfc-accent);outline-offset:2px}
.apcfc-empty{margin:1.75rem 0 0;padding:1.1rem 0;border-top:1px solid var(--apcfc-rule);border-bottom:1px solid var(--apcfc-rule);color:var(--apcfc-muted)}
.apcfc-strong-msg{color:inherit;font-weight:600}
.apcfc-nownote{color:inherit}
.apcfc-nownote span{display:block}
.apcfc-nownote span + span{margin-top:.2rem;color:var(--apcfc-muted)}
.apcfc-tax{display:block;margin:.2rem 0 0;font-size:.85rem;font-weight:400;color:var(--apcfc-muted)}
.apcfc-nocharge{margin:0;font-size:1rem;font-weight:400;line-height:1.5}
.apcfc-kicker{display:block;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--apcfc-muted)}
.apcfc-muted,.apcfc-second{color:var(--apcfc-muted);font-weight:400}
.apcfc-hybrid{margin:.6rem 0 0;font-size:.92rem;color:var(--apcfc-muted)}
.apcfc-note{margin:.9rem 0 0;font-size:.88rem;color:var(--apcfc-muted)}

/* journal calculator result */
.apcfc-result{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1.25rem 3rem;margin:1.75rem 0 0;padding:1.4rem 0;border-top:1px solid var(--apcfc-rule);border-bottom:1px solid var(--apcfc-rule)}
.apcfc-amount{flex:1 1 220px}
.apcfc-amount strong{display:inline-block;font-size:2.6rem;line-height:1.1;font-weight:700;color:var(--apcfc-accent);margin-top:.25rem}
.apcfc-amount-second{display:inline-block;margin-left:.6rem;font-size:1.15rem;color:var(--apcfc-muted)}
.apcfc-free{display:block;font-size:.9rem;margin-top:.25rem}
.apcfc-facts{flex:2 1 420px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem 1.5rem;margin:0}
.apcfc-facts dt{font-size:.82rem;color:var(--apcfc-muted);font-weight:400}
.apcfc-facts dd{margin:.15rem 0 0;font-weight:600}
.apcfc-subtitle{font-size:1rem;font-weight:700;margin:1.75rem 0 .5rem}

/* tables */
.apcfc-table-wrap{overflow-x:auto}
.apc-fee-calculator table,.apc-fee-finder table{width:100%;min-width:520px;border-collapse:collapse;margin:0;font-size:.95em;background:none}
.apc-fee-calculator th,.apc-fee-calculator td,.apc-fee-finder th,.apc-fee-finder td{padding:.75rem;border:0;border-bottom:1px solid var(--apcfc-rule);text-align:right;vertical-align:top;background:none}
.apc-fee-calculator th:first-child,.apc-fee-finder th:first-child{text-align:left;padding-left:0}
.apc-fee-calculator th:last-child,.apc-fee-calculator td:last-child,.apc-fee-finder td:last-child,.apc-fee-finder th:last-child{padding-right:0}
.apc-fee-calculator thead th,.apc-fee-finder thead th{font-weight:600;border-bottom-color:currentColor}
.apc-fee-calculator tbody th,.apc-fee-finder tbody th{font-weight:400}
.apc-fee-calculator tr.is-selected th,.apc-fee-calculator tr.is-selected td{font-weight:600}
.apcfc-strong{font-weight:700}
.apcfc-tag{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-left:.5rem;color:var(--apcfc-accent)}

/* finder (compact rows; sizes in rem so they follow the theme's text scale) */
.apcfc-filters{border-top:2px solid var(--apcfc-accent)}
.apcfc-frow{display:flex;flex-wrap:wrap;gap:.6rem 2rem;padding:1.1rem 0;border-bottom:1px solid var(--apcfc-rule)}
.apcfc-fhead{flex:1 1 200px;max-width:240px}
.apcfc-fhead strong{display:block;font-weight:600;font-size:.95rem}
.apcfc-fhead span{display:block;font-size:.875rem;color:var(--apcfc-muted)}
.apcfc-fbody{flex:999 1 460px;min-width:0}
.apcfc-inline{display:flex;flex-wrap:wrap;gap:0 1.5rem;align-items:center}
.apcfc-inline-radios{display:flex;flex-wrap:wrap;gap:0 1.25rem}
.apcfc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.9rem 1.5rem}
.apc-fee-finder .apcfc-field > label:not(.apcfc-radio),.apc-fee-finder .apcfc-field > legend{font-size:.875rem;margin-bottom:.35rem}
.apc-fee-finder select,.apc-fee-finder input[type="search"]{min-height:42px;font-size:.95rem}
.apc-fee-finder .apcfc-radio{font-size:.95rem;min-height:34px}
.apcfc-count{margin:1.25rem 0 .25rem;color:var(--apcfc-muted);font-size:.875rem}
.apcfc-journal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 2rem;padding:1.1rem 0;border-bottom:1px solid var(--apcfc-rule)}
.apcfc-jmain{flex:1 1 420px;min-width:0}
.apcfc-jside{flex:0 1 300px;min-width:220px;text-align:right}
.apcfc-jtitle{margin:0;font-size:1.0625rem;line-height:1.4;font-weight:600}
.apcfc-jtitle a{color:inherit;text-decoration:none}
.apcfc-jtitle a:hover,.apcfc-jtitle a:focus{text-decoration:underline}
.apcfc-ext{margin-left:.35rem;color:var(--apcfc-muted);vertical-align:baseline}
.apcfc-jfacts{margin:.2rem 0 0;font-size:.875rem;color:var(--apcfc-muted)}
.apcfc-jamount{margin:0;font-size:1.125rem;line-height:1.3;font-weight:700;color:var(--apcfc-accent)}
.apcfc-jamount .apcfc-amount-second{margin:0;font-size:.95rem;font-weight:400}
.apcfc-std{margin:0;font-size:.95rem}
.apcfc-small{margin:0;font-size:.8125rem;line-height:1.45;color:var(--apcfc-muted)}
.apcfc-small a{color:var(--apcfc-accent)}
.apcfc-jlinks{margin:.4rem 0 0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.25rem 1rem;font-size:.875rem}
.apcfc-jlinks a,.apcfc-linkbtn{font-weight:600;color:var(--apcfc-accent)}
.apcfc-linkbtn{background:none;border:0;padding:0;font:inherit;font-size:inherit;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.apcfc-jtypes{flex:1 1 100%}
.apcfc-journal .apcfc-table-wrap{margin-top:.5rem}
.apc-fee-finder .apcfc-nocharge{margin:0;font-size:.95rem;font-weight:400;line-height:1.5}
.page_apcfc_finder .apcfc-page-intro{max-width:760px}

@media (max-width:640px){
  .apcfc-facts{grid-template-columns:1fr 1fr}
  .apcfc-amount strong{font-size:2.1rem}
  .apcfc-jside{text-align:left;flex-basis:100%}
  .apcfc-jlinks{justify-content:flex-start}
}
