.acca-page { background: #f8fafc; color: #17211b; color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.acca-page header { margin-bottom: 0; }
.acca-shell { max-width: 1120px; display: block !important; padding: 28px 16px 48px; }
.acca-intro { max-width: 650px; margin-bottom: 24px; }
.acca-eyebrow { color: #15803d; font-size: .75rem; letter-spacing: .12em; font-weight: 750; margin-bottom: 8px; }
.acca-intro h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); letter-spacing: -.035em; font-weight: 800; margin-bottom: 12px; }
.acca-intro > p:last-of-type { color: #475569; line-height: 1.65; margin-bottom: 0; }
.acca-admin-link { display: inline-flex; align-items: center; min-height: 48px; color: #166534; }
.acca-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.acca-panel { background: #fff; border: 1px solid #dce5df; border-radius: 20px; padding: 20px; box-shadow: 0 4px 20px #17211b05; min-width: 0; }
.acca-section-heading { font-size: 1.2rem; font-weight: 750; margin-bottom: 24px; }
.acca-field { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.acca-field > legend, .acca-field-label { float: none; width: auto; display: flex; gap: 8px; align-items: center; font-size: .95rem; font-weight: 700; margin-bottom: 12px; }
.acca-step { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #eef5f0; color: #166534; font-size: .75rem; flex-shrink: 0; }
.acca-hint, .acca-form-footnote { color: #475569; font-size: .8rem; line-height: 1.6; margin: 8px 0 0; }
.acca-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.acca-day { position: relative; cursor: pointer; }
.acca-day input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.acca-day-label { display: flex; flex-direction: column; justify-content: center; text-align: center; min-height: 66px; border: 1px solid #ccd9d1; border-radius: 12px; padding: 8px 4px; transition: background-color 180ms, border-color 180ms; }
.acca-day-label strong { font-size: .95rem; }
.acca-day-label small { color: #475569; font-size: .7rem; margin-top: 2px; }
.acca-day input:checked + .acca-day-label { background: #ecfdf3; border-color: #15803d; box-shadow: inset 0 0 0 1px #15803d; color: #166534; }
.acca-day:hover .acca-day-label { border-color: #15803d; }
.acca-day:focus-within, .acca-outcome:focus-within { outline: 3px solid #15803d; outline-offset: 3px; border-radius: 12px; }
.acca-markets { display: grid; gap: 12px; }
.acca-market-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.acca-market-group legend { float: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; font-size: .75rem; color: #475569; font-weight: 600; margin-bottom: 6px; }
.acca-market-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.acca-outcome { display: flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 8px; border: 1px solid #ccd9d1; border-radius: 10px; padding: 10px; font-size: .8rem; cursor: pointer; min-height: 48px; transition: background-color 180ms, border-color 180ms; }
.acca-outcome:has(input:checked) { background: #ecfdf3; border-color: #15803d; color: #166534; font-weight: 650; }
.acca-outcome:hover { border-color: #15803d; }
.acca-outcome input { width: 16px; height: 16px; accent-color: #15803d; margin: 0; flex-shrink: 0; }
.acca-count-row { display: flex; align-items: center; gap: 16px; }
.acca-stepper { display: grid; grid-template-columns: 48px 56px 48px; gap: 0; border: 1px solid #ccd9d1; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.acca-stepper button { border: 0; background: #f1f5f3; color: #166534; min-height: 50px; display: grid; place-items: center; }
.acca-stepper input { min-width: 0; width: 100%; border: 0; text-align: center; font-size: 1.125rem; font-weight: 750; appearance: textfield; -moz-appearance: textfield; }
.acca-stepper input::-webkit-inner-spin-button, .acca-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.acca-shell .form-control { font-size: 16px; min-height: 52px; border-radius: 12px; border-color: #ccd9d1; }
.acca-odds-input { font-weight: 750; font-variant-numeric: tabular-nums; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.acca-odds-input::-webkit-inner-spin-button, .acca-odds-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.acca-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.acca-presets button { min-height: 48px; border: 1px solid #ccd9d1; border-radius: 10px; color: #475569; background: #fff; font-weight: 600; font-size: .85rem; }
.acca-presets button[aria-pressed="true"] { color: #166534; border-color: #15803d; background: #ecfdf3; }
.acca-shell button, .acca-shell summary, .acca-shell a { cursor: pointer; }
.acca-shell button { transition: background-color 180ms, border-color 180ms; }
.acca-shell button:disabled { cursor: not-allowed; opacity: .45; }
.acca-shell button:focus-visible, .acca-shell a:focus-visible, .acca-shell summary:focus-visible, .acca-stepper input:focus-visible { outline: 3px solid #15803d; outline-offset: 2px; }
.acca-stepper input:focus-visible, .acca-stepper button:focus-visible { outline-offset: -3px; }
.acca-shell .form-control:focus { border-color: #15803d; box-shadow: 0 0 0 3px #15803d30; }
.acca-shell .btn { min-height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.acca-shell .acca-generate { min-height: 56px; background: #15803d; color: #fff; font-weight: 750; border: 1px solid #15803d; }
.acca-shell .acca-generate:hover { background: #166534; border-color: #166534; }
.acca-shell .btn-outline-primary { color: #166534; border-color: #15803d; }
.acca-shell .btn-outline-primary:hover { background: #166534; color: #fff; }
.acca-form-footnote { text-align: center; margin-top: 12px; }
.acca-advanced { border-top: 1px solid #dce5df; padding-top: 16px; }
.acca-advanced summary { font-size: .85rem; font-weight: 600; min-height: 48px; align-content: center; }
.acca-admin-date { background: #fff8e6; border: 1px solid #f0daa0; border-radius: 12px; padding: 12px; margin-bottom: 20px; font-size: .85rem; }
.acca-admin-date span { display: block; margin-top: 4px; }
.acca-empty { text-align: center; padding: 32px 20px; }
.acca-empty-icon { display: inline-flex; padding: 16px; border-radius: 20px; background: #eef5f0; color: #15803d; margin-bottom: 16px; }
.acca-empty h3 { font-size: 1.05rem; font-weight: 700; }
.acca-empty p { color: #475569; line-height: 1.7; font-size: .9rem; margin-bottom: 0; }
.acca-loading { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.acca-loading-spinner { width: 40px; height: 40px; color: #15803d; }
.acca-loading h3 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.acca-loading p { color: #475569; font-size: .9rem; line-height: 1.7; margin: 0; }
.acca-method { padding: 20px; margin-top: 16px; border: 1px solid #dce5df; border-radius: 16px; background: #eef5f0; color: #475569; font-size: .85rem; line-height: 1.75; }
.acca-method h3 { color: #17211b; font-size: .95rem; font-weight: 700; margin-bottom: 10px; }
.acca-metrics { padding: 16px; border-radius: 12px; background: #ecfdf3; margin: 20px 0; }
.acca-metric-label { display: block; font-size: .8rem; color: #166534; }
.acca-metric-value { display: block; color: #166534; font-size: 2.5rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.25; overflow-wrap: anywhere; }
.acca-fallback { background: #fff8e6; color: #684b0b; border: 1px solid #f0daa0; border-radius: 12px; padding: 16px; margin-top: 20px; font-size: .85rem; line-height: 1.7; }
.acca-fallback strong { display: block; margin-bottom: 8px; }
.acca-fallback p { margin-bottom: 8px; }
.acca-pick { padding: 16px 0; border-top: 1px solid #dce5df; }
.acca-pick-title { font-size: .95rem; font-weight: 700; overflow-wrap: anywhere; line-height: 1.6; }
.acca-pick-meta { font-size: .8rem; color: #475569; }
.acca-pick-selection { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.acca-pick-selection .badge { background: #ecfdf3; color: #166534; border: 1px solid #b9ddc6; font-size: .8rem; padding: 8px 10px; }
.acca-pick-selection strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; margin-left: auto; }
.acca-details { border-top: 1px solid #dce5df; margin-top: 16px; padding-top: 8px; color: #475569; font-size: .8rem; line-height: 1.75; }
.acca-details summary { min-height: 48px; align-content: center; font-weight: 600; }
.acca-result-won { color: #166534; }
.acca-result-lost { color: #b02a37; }
.acca-result-unknown, .acca-result-unresolved { color: #80611a; }
.acca-guide, .acca-faq { margin-top: 32px; color: #475569; font-size: .95rem; line-height: 1.8; }
.acca-guide h2, .acca-faq h2 { color: #17211b; font-size: 1.35rem; font-weight: 750; margin-bottom: 16px; }
.acca-guide h3 { color: #17211b; font-size: 1.05rem; font-weight: 700; margin: 24px 0 12px; }
.acca-how-steps { padding-left: 24px; }
.acca-how-steps li { margin-bottom: 12px; }
.acca-faq details { border-top: 1px solid #dce5df; padding: 4px 0; }
.acca-faq summary { padding: 12px 0; color: #17211b; font-weight: 650; min-height: 48px; }
.acca-faq details p { padding: 0 0 12px; margin: 0; }
.acca-related { margin: 20px 0 0; }
.acca-related a { color: #166534; }
.acca-shell [hidden] { display: none !important; }
.acca-preview { min-width: 0; scroll-margin-top: 16px; }
@media (min-width: 992px) {
    .acca-layout { grid-template-columns: minmax(360px, 440px) minmax(0, 1fr); gap: 32px; }
    .acca-shell { padding-top: 40px; }
    .acca-panel { padding: 24px; }
}
@media (max-width: 767.98px) {
    .acca-count-row { flex-direction: column; align-items: stretch; gap: 8px; }
    .acca-stepper { width: 100%; grid-template-columns: 64px minmax(0, 1fr) 64px; }
    #acca-count-note { margin-top: 0; text-align: center; }
    #acca-count-note br { display: none; }
}
@media (max-width: 359px) {
    .acca-panel { padding: 16px; }
    .acca-outcome { padding: 10px 8px; font-size: .75rem; }
    .acca-count-row { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .acca-shell *, .acca-shell *::before, .acca-shell *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
