/* Form-only polish. Shared cards, history and admin retain their existing styles. */
.fr-page{--fr-ink:#272d35;--fr-muted:#606b79;--fr-line:#e5e8ed;--fr-red:#bc192e;background:#f6f7f9;font-family:Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.fr-page header.fr-topbar,.fr-page main{width:min(100% - 40px,1100px)}
.fr-page header.fr-topbar{box-sizing:border-box;margin:20px auto 0;padding:14px 20px;gap:16px;background:#fff;border:1px solid var(--fr-line);border-radius:16px;box-shadow:0 4px 20px #26344605}
.fr-page .fr-brand{display:flex;gap:20px;align-items:center;min-width:0;min-height:44px;text-decoration:none;color:var(--fr-ink);line-height:1.4;border-radius:6px}
.fr-page .fr-brand img{display:block;flex:none;width:88px;height:auto;aspect-ratio:512/185;object-fit:contain}
.fr-page .fr-brand-copy{display:grid;gap:3px;padding-left:20px;border-left:1px solid var(--fr-line);min-width:0}
.fr-page .fr-brand-copy strong{font-size:14px;font-weight:700;letter-spacing:-.2px}
.fr-page .fr-brand-copy>span{font-size:11px;font-weight:500;letter-spacing:.35px;color:var(--fr-muted)}
.fr-page .fr-history-link{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border:1px solid var(--fr-line);border-radius:10px;background:#fafbfc;color:#424c59;text-decoration:none;font-size:12px;font-weight:600;white-space:nowrap;transition:background .16s,border-color .16s,color .16s}
.fr-page .fr-history-link:hover{background:#fff5f6;border-color:#ebc9ce;color:var(--fr-red)}
.fr-page .fr-history-link:focus-visible,.fr-page .fr-brand:focus-visible{outline:3px solid var(--fr-red);outline-offset:4px}
.fr-page .fr-history-link .fr-nav-arrow{width:14px;height:14px}
.fr-page main{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
.fr-page .fr-intro{padding:32px 0 8px}
.fr-page .fr-eyebrow,.fr-page .fr-overline{font-size:11px;font-weight:700;letter-spacing:1.3px;margin:0 0 10px;color:var(--fr-red)}
.fr-page h1{font-size:36px;letter-spacing:-1.2px;line-height:1.15;margin:0 0 12px}
.fr-page h1 span{font-weight:500;color:#525d6b}
.fr-page .fr-intro-copy{font-size:15px;color:var(--fr-muted);margin:0 0 16px;line-height:1.65}
.fr-page .fr-event-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;font-weight:600}
.fr-page .fr-event-meta>span{display:inline-flex;align-items:center;gap:7px;background:white;border:1px solid var(--fr-line);border-radius:8px;padding:6px 10px;min-height:32px}
.fr-page svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.fr-page .fr-intro>.fr-hint{font-size:12px;margin:12px 0 8px}
.fr-page .fr-panel{padding:24px;border-radius:16px;border-color:var(--fr-line);box-shadow:0 3px 16px #26344604;margin:16px 0;scroll-margin-top:16px}
.fr-page .fr-section-heading{display:flex;gap:12px;align-items:flex-start;margin-bottom:20px}
.fr-page .fr-section-number{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border:1px solid #f0dfe3;border-radius:10px;background:#fbf0f2;color:var(--fr-red);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.fr-page h2{font-size:19px;letter-spacing:-.3px;line-height:1.3;margin:0 0 4px}
.fr-page .fr-section-heading p{font-size:13px;color:var(--fr-muted);margin:0;line-height:1.5}
.fr-page .fr-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
.fr-page label{font-size:14px;font-weight:600;color:#353e49;min-width:0}
.fr-page input:not([type=checkbox]),.fr-page select{min-height:48px;border-color:#dbe0e7;border-radius:10px;padding:12px;font-size:16px;font-weight:400;line-height:1.4;margin-top:8px;background:#fff;min-width:0;max-width:100%;transition:border-color .16s,box-shadow .16s}
.fr-page input::placeholder{color:#858d99;font-size:14px}
.fr-page :is(input,select):hover:not(:disabled){border-color:#aab4c0}
.fr-page :is(input,select):focus-visible{outline:2px solid #bd193033;outline-offset:2px;border-color:var(--fr-red)}
.fr-page :is(input,select):disabled{background:#f7f8fa;color:#606b79;opacity:1}
.fr-page .fr-hint{font-size:13px;line-height:1.6;color:var(--fr-muted)}
.fr-page .fr-field-help{margin:8px 0 0;font-size:12px}
.fr-page #frProgramHelp{margin:-10px 0 -2px}
.fr-page .fr-error:empty{display:none}
.fr-page .fr-error:not(:empty){margin:6px 0 0}
.fr-page button{font-family:inherit;font-weight:600;min-height:44px;gap:8px;background:var(--fr-red);transition:background .16s,box-shadow .16s}
.fr-page .secondary{background:#fff;border:1px solid #dfe3e9;color:#485362}
.fr-page button:hover:not(:disabled){background:#a51428}
.fr-page .secondary:hover:not(:disabled){background:#f4f6f8}
.fr-page button:disabled{background:#e9ecf0;color:#717b87;opacity:1;cursor:not-allowed;box-shadow:none}
.fr-page .fr-form-nav{display:flex;gap:8px;justify-content:space-between;margin:16px 0}
.fr-page .fr-form-nav a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;flex:1;color:#505b6a;font-size:12px;text-decoration:none;border-radius:8px}
.fr-page .fr-form-nav a:hover{background:#eceff3}
.fr-page .fr-form-nav span{font-size:11px;display:grid;place-items:center;width:22px;height:22px;background:#fff;border:1px solid #dfe3e9;border-radius:50%;flex:none}
.fr-page #frNotice{font-size:13px;background:#f0f3f7;border-color:#e2e7ee;padding:12px 14px;line-height:1.6;margin:12px 0;overflow-wrap:anywhere}
.fr-page .fr-batch-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.fr-page .fr-batch-option{display:grid;gap:4px;border:1px solid var(--fr-line);border-radius:12px;padding:12px;background:#fafbfc;min-width:0}
.fr-page .fr-batch-option.is-active{background:#fff8f9;border-color:#eac4cb}
.fr-page .fr-batch-option strong{font-size:13px;font-weight:600}
.fr-page .fr-batch-price{font-size:20px;font-weight:700;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
.fr-page .fr-batch-option small{font-size:12px;line-height:1.5;color:var(--fr-muted)}
.fr-page .fr-batch-state{justify-self:start;font-size:12px;line-height:1.4;font-weight:600;color:#596373;border-radius:4px;background:#edf0f4;padding:3px 6px;margin-top:4px}
.fr-page .is-active .fr-batch-state{background:#f6e2e6;color:#ac162c}
.fr-page .fr-bank-card{border:1px solid var(--fr-line);border-radius:12px;background:#f8f9fb;padding:16px;margin:20px 0 12px}
.fr-page .fr-bank-card .fr-overline{color:var(--fr-muted);font-size:10px;margin-bottom:12px}
.fr-page .fr-bank-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.fr-page #frBank{display:grid;gap:4px;min-width:0}
.fr-page .fr-bank-name{font-size:13px;font-weight:600;color:#46515f}
.fr-page .fr-bank-number{font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.4px;overflow-wrap:anywhere;line-height:1.4}
.fr-page .fr-bank-holder{font-size:13px;color:var(--fr-muted);overflow-wrap:anywhere}
.fr-page #frCopyBank{font-size:12px;flex-shrink:0;padding:10px 12px}
.fr-page #frCopyFeedback{font-size:12px;color:#1b6747;margin:10px 0 0}
.fr-page #frCopyFeedback:empty{display:none}
.fr-page .fr-payment-note{font-size:12px;margin:0 0 12px}
.fr-page .fr-transfer-help{font-size:12px;color:var(--fr-muted);margin:0 0 24px}
.fr-page summary{cursor:pointer;min-height:44px;align-content:center;padding:10px 0;line-height:1.6}
.fr-page .fr-transfer-help p{margin:0 0 8px}
.fr-page .fr-upload{border-top:1px solid var(--fr-line);padding-top:20px}
.fr-page #frProofHelp{font-size:12px;margin:4px 0 12px}
.fr-page #frProof{border:1px dashed #cbd3de;background:#fafbfc;padding:12px;color:var(--fr-muted);font-size:12px;line-height:1.6}
.fr-page #frProof::file-selector-button{border:1px solid #dfe3e9;border-radius:8px;padding:10px 12px;min-height:44px;background:#fff;color:#344152;font:600 12px/1.5 Arial,sans-serif;margin-right:12px;cursor:pointer}
.fr-page #frProofName{font-size:12px;overflow-wrap:anywhere;margin:8px 0}
.fr-page .fr-preview{border-radius:8px;border:1px solid var(--fr-line);margin:12px auto 4px}
.fr-page #frRemoveProof{font-size:12px;margin-top:8px}
.fr-page .fr-policy{border:1px solid var(--fr-line);border-radius:10px;padding:2px 12px;background:#fafbfc;font-size:13px;margin-bottom:20px}
.fr-page #frPolicy{font-size:13px;line-height:1.7;padding-left:20px;margin:0 0 14px}
.fr-page #frPolicy li+li{margin-top:8px}
.fr-page .fr-check{font-size:14px;line-height:1.7;padding:12px;border:1px solid var(--fr-line);border-radius:12px;cursor:pointer;gap:12px;min-height:44px}
.fr-page .fr-check input{width:20px;height:20px;margin:2px 0 0}
.fr-page .fr-summary{display:grid;gap:8px;background:#f8f9fb;border:1px solid var(--fr-line);border-radius:12px;padding:16px;margin:24px 0 16px;font-size:14px}
.fr-page .fr-summary-label{font-size:11px;letter-spacing:.8px;font-weight:600;text-transform:uppercase;color:var(--fr-muted)}
.fr-page .fr-summary-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.fr-page .fr-summary-total{font-size:26px;font-weight:700;letter-spacing:-.7px;font-variant-numeric:tabular-nums;line-height:1.2}
.fr-page .fr-summary small{font-size:12px;color:var(--fr-muted);line-height:1.6}
.fr-page .fr-submit-actions{display:grid;grid-template-columns:1fr auto;gap:12px}
.fr-page .fr-submit-actions button{min-height:48px}
.fr-page .fr-save-help{font-size:12px;margin:16px 0 4px}
.fr-page .fr-history-bottom{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:12px;font-weight:600;text-decoration:none}
.fr-page .fr-footer{text-align:center;font-size:12px;color:#677280;padding:20px 16px 0;line-height:1.7}
.fr-page .fr-footer span{display:block;font-size:11px;color:#79828f}
.fr-page .fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:600px){
 .fr-page header.fr-topbar,.fr-page main{width:calc(100% - 32px)}
 .fr-page header.fr-topbar{width:calc(100% - 24px);margin-top:12px;padding:10px 12px;gap:10px;border-radius:14px}
 .fr-page .fr-brand{gap:12px}.fr-page .fr-brand img{width:64px;height:auto}.fr-page .fr-brand-copy{padding-left:12px;gap:3px}.fr-page .fr-brand-copy strong{font-size:11px;max-width:145px;line-height:1.35}.fr-page .fr-brand-copy>span{font-size:10px;letter-spacing:0}
 .fr-page .fr-history-link{width:44px;padding:0;gap:0}.fr-page .fr-history-link>span,.fr-page .fr-history-link .fr-nav-arrow{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.fr-page .fr-intro{padding-top:24px}.fr-page h1{font-size:30px;letter-spacing:-.9px}.fr-page .fr-intro-copy{font-size:14px}
 .fr-page .fr-panel{padding:20px 16px;margin:12px 0}.fr-page .fr-section-heading{margin-bottom:20px}.fr-page h2{font-size:18px}
 .fr-page .fr-grid{grid-template-columns:minmax(0,1fr);gap:18px}.fr-page .fr-form-nav{gap:0;margin:12px 0}.fr-page .fr-form-nav a{font-size:11px;gap:5px}
 .fr-page .fr-bank-row{align-items:flex-start;flex-direction:column;gap:12px}.fr-page #frCopyBank{width:100%}.fr-page .fr-bank-number{font-size:22px}
 .fr-page .fr-batch-schedule{gap:8px}.fr-page .fr-batch-option{padding:10px}.fr-page .fr-batch-price{font-size:19px}.fr-page .fr-batch-option small{font-size:11px}
 .fr-page .fr-submit-actions{grid-template-columns:minmax(0,1fr)}.fr-page .fr-submit-actions button{width:100%}
 .fr-page .fr-check{font-size:13px}.fr-page .fr-summary-total{font-size:24px}
}
.fr-page .fr-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.fr-page .fr-form-column{min-width:0}
.fr-page .fr-event-summary{position:sticky;top:24px;border:1px solid #dde6ed;border-radius:16px;padding:20px;background:#eff5f8;margin-top:12px}
.fr-page .fr-event-card{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.fr-page .fr-event-summary .fr-poster{display:block;padding:0;background:white;color:#415265;border:1px solid #dbe4ed;border-radius:10px;overflow:hidden;min-width:0}
.fr-page .fr-poster img{display:block;width:100%;height:auto;object-fit:contain}
.fr-page .fr-poster small{display:block;padding:8px 4px;font-size:12px;line-height:1.4}
.fr-page .fr-event-summary .fr-overline{font-size:10px;letter-spacing:.7px;color:#597487;line-height:1.6}
.fr-page .fr-event-copy h2{font-size:18px;line-height:1.4;margin-bottom:8px}
.fr-page .fr-event-copy p{font-size:13px;line-height:1.7;margin:8px 0}
.fr-page .fr-event-footnote{font-size:12px;line-height:1.7;margin:16px 0 0;border-top:1px solid #dce6ed;padding-top:12px}
.fr-page .fr-batch-field{border:0;padding:0;margin:0;min-width:0}
.fr-page .fr-batch-schedule:has(>.fr-batch-option:only-child){grid-template-columns:minmax(0,1fr)}
.fr-page .fr-batch-field legend{padding:0;font-size:14px;font-weight:600}
.fr-page label.fr-batch-option{position:relative;cursor:pointer;padding:16px;transition:border-color .16s,background .16s}
.fr-page label.fr-batch-option:has(input:disabled){cursor:default;background:#f8f9fb;color:#424c59}
.fr-page label.fr-batch-option:has(input:focus-visible){outline:3px solid #b91930;outline-offset:3px}
.fr-page .fr-batch-option input[type=radio]{position:absolute;right:12px;top:12px;width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--fr-red)}
.fr-page .fr-batch-option strong{padding-right:24px;font-size:14px}
.fr-page label.fr-batch-option.is-active{border-color:var(--fr-red);background:#fff5f6}
.fr-page .fr-payment-total{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--fr-line);margin-bottom:16px;font-size:14px;font-weight:600}
.fr-page .fr-payment-total small{display:block;font-size:12px;font-weight:400;color:var(--fr-muted);margin-top:4px}
.fr-page .fr-payment-total>strong{font-size:28px;letter-spacing:-.7px;white-space:nowrap;font-variant-numeric:tabular-nums}
.fr-page .fr-bank-number{font-size:22px;letter-spacing:.5px}
.fr-page .fr-upload-control{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px;border:1px dashed #c6d1de;border-radius:12px;background:#f8fafc}
.fr-page .fr-upload-control>svg{width:24px;height:24px;color:#5e768e}
.fr-page .fr-upload-control>div{flex:1;min-width:160px;font-size:13px;line-height:1.6}
.fr-page .fr-upload-control span{display:block;font-size:12px;color:var(--fr-muted)}
.fr-page input.fr-file-input{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);border:0}
.fr-page #frChooseProof{font-size:13px;min-height:44px}
.fr-page #frProofPreview{display:flex;flex-wrap:wrap;gap:12px;align-items:center;min-width:0}
.fr-page #frProofPreview .fr-preview{width:76px;height:86px;object-fit:contain;margin:12px 0}
.fr-page .fr-pdf-icon{display:grid;place-items:center;width:64px;height:76px;border:1px solid #e6dce0;border-radius:10px;background:#fff4f5;color:var(--fr-red);font-size:13px;font-weight:700;margin:12px 0}
.fr-page .fr-file-ready{font-size:12px;color:#276247;background:#eef7f1;border-radius:6px;padding:5px 8px}
.fr-page #frProofName{font-size:13px;line-height:1.6;margin:12px 0 0;color:var(--fr-ink)}
.fr-page .fr-proof-link{font-size:12px}
.fr-page .fr-config-error{padding:16px;background:#fff8ed;border:1px solid #eedac0;border-radius:12px;font-size:14px}
.fr-page .fr-config-error p{margin:0 0 12px}
.fr-page .fr-poster-dialog{max-height:90dvh;padding:12px;overscroll-behavior:contain}
.fr-page .fr-poster-dialog button{z-index:1;background:white;color:var(--fr-ink)}
@media(max-width:900px){.fr-page .fr-layout{grid-template-columns:minmax(0,1fr);gap:0}.fr-page .fr-event-summary{position:static;order:-1;margin:12px 0;padding:16px}.fr-page .fr-event-card{grid-template-columns:180px minmax(0,1fr)}.fr-page .fr-event-footnote{display:none}.fr-page .fr-event-copy p{margin:4px 0}.fr-page .fr-event-summary .fr-overline{display:none}.fr-page .fr-poster small{font-size:12px;padding:8px}}
@media(max-width:600px){.fr-page .fr-event-card{grid-template-columns:min(144px,48%) minmax(0,1fr);gap:12px}}
@media(max-width:600px){.fr-page .fr-batch-option small{font-size:12px}.fr-page label.fr-batch-option{padding:12px}.fr-page .fr-batch-option input[type=radio]{right:8px;top:12px}.fr-page .fr-payment-total>strong{font-size:25px}.fr-page .fr-upload-control>div{min-width:0}.fr-page #frChooseProof{width:100%}.fr-page .fr-check{font-size:14px}.fr-page h1{font-size:28px}}
@media(prefers-reduced-motion:reduce){.fr-page *, .fr-page *::before,.fr-page *::after{transition:none!important;scroll-behavior:auto!important}}
