/* Modern ATC Clubportal – intentionally scoped to the private shortcode wrapper.
   Overrides legacy inline dark forms without changing data/permissions/payment. */
body .atc-public-inner .atc-public-main .atc-page-content:has(.atc-portal-shell){width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
body .atc-approved-design .atc-page-content .atc-portal-shell{width:100%!important;max-width:1440px!important;margin:0 auto 34px!important;background:#fff!important;display:grid!important;grid-template-columns:minmax(230px,275px) minmax(0,1fr)!important;overflow:hidden!important;border:1px solid #dce7f0!important;border-radius:19px!important;box-shadow:0 16px 42px rgba(17,63,94,.07)!important;color:#173b59!important}
body .atc-approved-design .atc-portal-shell .atc-portal-sidebar{background:#f1f7fc!important;border-right:1px solid #dce7f0!important;padding:25px 18px!important;min-width:0!important}
body .atc-approved-design .atc-portal-shell .atc-portal-main{background:#fff!important;padding:36px clamp(22px,2.8vw,45px) 45px!important;min-width:0!important}
body .atc-approved-design .atc-portal-shell .atc-member-head{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;padding:0!important;margin:0 0 23px!important;background:none!important;border:0!important;min-height:0!important;box-shadow:none!important}
body .atc-approved-design .atc-portal-shell .atc-member-head .atc-avatar{width:70px!important;height:70px!important;max-width:70px!important;min-width:70px!important;aspect-ratio:1;border-radius:50%!important;object-fit:cover!important;background:#dcebf6!important;border:3px solid #fff!important;box-shadow:0 3px 9px #153c5a22!important}
body .atc-approved-design .atc-portal-shell .atc-member-head strong{color:#173b59!important;font-size:16px!important;line-height:1.25!important}
body .atc-approved-design .atc-portal-shell .atc-member-head span{color:#627f92!important;font-size:12px!important}
body .atc-approved-design .atc-portal-shell .atc-portal-nav{display:grid!important;gap:5px!important;margin-top:16px!important;white-space:normal!important}
body .atc-approved-design .atc-portal-shell .atc-portal-nav a,body .atc-approved-design .atc-portal-shell a.atc-profile-edit-shortcut{display:flex!important;align-items:center!important;gap:10px!important;min-height:42px!important;margin:0!important;padding:10px 12px!important;text-decoration:none!important;color:#285674!important;border-radius:9px!important;border:1px solid transparent!important;background:transparent!important;font-size:13px!important;font-weight:750!important;line-height:1.3!important}
body .atc-approved-design .atc-portal-shell .atc-portal-nav a.is-active,body .atc-approved-design .atc-portal-shell .atc-portal-nav a:hover,body .atc-approved-design .atc-portal-shell a.atc-profile-edit-shortcut.is-active{background:#dceef9!important;color:#0d5d9b!important;border-color:#c5e2f3!important}
body .atc-approved-design .atc-portal-shell .atc-portal-nav .dashicons,body .atc-approved-design .atc-portal-shell .atc-profile-edit-shortcut .dashicons{width:18px!important;height:18px!important;font-size:18px!important;line-height:18px!important;color:inherit!important}
body .atc-approved-design .atc-portal-shell .atc-top-logout{position:absolute!important;top:27px!important;right:32px!important;margin:0!important;padding:7px 10px!important;color:#315a75!important;background:#f0f6fa!important;border:1px solid #dbe8f1!important;border-radius:8px!important;text-decoration:none!important}
body .atc-approved-design .atc-portal-shell .atc-section-head{display:flex!important;align-items:start!important;justify-content:space-between!important;gap:16px!important;margin:0 0 24px!important;padding:0 130px 0 0!important;background:transparent!important;border:0!important;box-shadow:none!important;min-height:0!important}
body .atc-approved-design .atc-portal-shell .atc-section-head h1{margin:5px 0 9px!important;font-size:clamp(28px,3.2vw,42px)!important;line-height:1.12!important;color:#173b59!important;letter-spacing:-.035em!important}
body .atc-approved-design .atc-portal-shell .atc-section-head p{margin:0!important;color:#607f95!important;font-size:14px!important}
body .atc-approved-design .atc-portal-shell .atc-eyebrow{font-size:11px!important;letter-spacing:.13em!important;text-transform:uppercase!important;color:#2779b1!important;font-weight:800!important}
body .atc-approved-design .atc-portal-shell .atc-section-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:0!important;margin:0 0 17px!important;background:transparent!important}
body .atc-approved-design .atc-portal-shell .atc-section-title h2{font-size:clamp(21px,2.4vw,28px)!important;line-height:1.18!important;color:#173b59!important;margin:3px 0!important}
body .atc-approved-design .atc-portal-shell :is(.atc-private-label,.atc-section-title>div>span){color:#648299!important;font-size:11px!important}
body .atc-approved-design .atc-portal-shell .atc-profile-badges{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:0 0 18px!important}
body .atc-approved-design .atc-portal-shell .atc-profile-badge{display:inline-flex!important;padding:7px 11px!important;border-radius:999px!important;background:#e8f4fb!important;color:#1f678f!important;font-size:12px!important}
body .atc-approved-design .atc-portal-shell .atc-person-summary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:0 0 23px!important;padding:0!important;background:none!important}
body .atc-approved-design .atc-portal-shell .atc-person-summary a{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important;padding:16px!important;min-width:0!important;background:#edf6fc!important;border:1px solid #d5e8f4!important;border-radius:11px!important;text-decoration:none!important;color:#456d88!important;font-size:12px!important}
body .atc-approved-design .atc-portal-shell .atc-person-summary a strong{display:block!important;font-size:23px!important;color:#1769b3!important}
body .atc-approved-design .atc-portal-shell .atc-data-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0!important;padding:0!important;background:none!important}
body .atc-approved-design .atc-portal-shell .atc-data-card{padding:14px 16px!important;min-width:0!important;border-radius:11px!important;border:1px solid #dce7f0!important;background:#f9fcff!important;box-shadow:none!important;overflow-wrap:anywhere!important}
body .atc-approved-design .atc-portal-shell .atc-data-card span{display:block!important;font-size:11px!important;color:#6e8798!important;margin-bottom:6px!important}
body .atc-approved-design .atc-portal-shell .atc-data-card strong{display:block!important;font-size:14px!important;color:#183d5a!important;font-weight:750!important;line-height:1.4!important}
body .atc-approved-design .atc-portal-shell .atc-data-card.is-empty strong{color:#8e9ead!important;font-weight:500!important}
body .atc-approved-design .atc-portal-shell :is(.atc-profile-section,.atc-membership-application,.atc-membership-step,.atc-membership-current,.atc-form-section,.atc-list-card,.atc-download-section,.atc-family-section){color:#173b59!important;background:#fff!important;border-color:#dce7f0!important;box-shadow:0 3px 12px #163b5810!important}
body .atc-approved-design .atc-portal-shell :is(.atc-membership-options,.atc-membership-checks,.atc-payment-options,.atc-person-filter,.atc-family-form,.atc-profile-form){color:#173b59!important}
body .atc-approved-design .atc-portal-shell :is(.atc-membership-option,.atc-membership-step h2,.atc-form-section h2,.atc-person-filter strong){color:#173b59!important}
body .atc-approved-design .atc-portal-shell :is(.atc-profile-form,.atc-family-form) :is(input:not([type="checkbox"]),select,textarea){background:#fff!important;color:#173b59!important;border:1px solid #cbdbe7!important;border-radius:8px!important;box-shadow:none!important;opacity:1!important;color-scheme:light!important;-webkit-text-fill-color:#173b59!important}
body .atc-approved-design .atc-portal-shell :is(.atc-profile-form,.atc-family-form) input::placeholder{color:#7b90a0!important}
body .atc-approved-design .atc-portal-shell :is(.atc-profile-form,.atc-family-form) :is(input,select,textarea):focus-visible{outline:3px solid #b7ddf4!important;border-color:#1769b3!important}
body .atc-approved-design .atc-portal-shell :is(.atc-profile-form,.atc-family-form) label>span{color:#244b66!important}
body .atc-approved-design .atc-portal-shell .atc-top-logout .dashicons{color:inherit!important}
body .atc-approved-design .atc-portal-shell :is(.atc-form-section,.atc-membership-step,.atc-membership-transfer,.atc-membership-current,.atc-list-card){border-radius:13px!important;background:#fff!important}
body .atc-approved-design .atc-portal-shell .atc-person-filter a{background:#edf5fa!important;border-radius:10px!important;color:#244b68!important;text-decoration:none!important}
body .atc-approved-design .atc-portal-shell .atc-person-filter a.is-active{background:#dceffc!important;color:#075893!important;border:1px solid #87bce2!important}
body .atc-approved-design .atc-portal-shell .atc-membership-options>label,body .atc-approved-design .atc-portal-shell .atc-payment-options>label{background:#f6fafc!important;border:1px solid #d6e4ed!important;border-radius:12px!important;padding:14px!important;color:#183d5a!important}
body .atc-approved-design .atc-portal-shell .atc-membership-options input[type="radio"],body .atc-approved-design .atc-portal-shell .atc-payment-options input[type="radio"]{accent-color:#1769b3!important}
body .atc-approved-design .atc-portal-shell .atc-membership-submit button{background:#1769b3!important;color:#fff!important;border-radius:9px!important}
body .atc-approved-design .atc-portal-shell .atc-required-note{background:#f2f8fc!important;color:#305a74!important;border-color:#dce7f0!important}
body .atc-approved-design .atc-portal-shell :is(.atc-family-photo-preview img,.atc-profile-photo-preview img){width:74px!important;height:74px!important;border-radius:50%!important;object-fit:cover!important}
@media(max-width:930px){body .atc-approved-design .atc-page-content .atc-portal-shell{grid-template-columns:1fr!important}body .atc-approved-design .atc-portal-shell .atc-portal-sidebar{border-right:0!important;border-bottom:1px solid #dce7f0!important;padding:17px!important}body .atc-approved-design .atc-portal-shell .atc-member-head{margin-bottom:11px!important}body .atc-approved-design .atc-portal-shell .atc-portal-nav{display:flex!important;flex-wrap:wrap!important;gap:5px!important}body .atc-approved-design .atc-portal-shell .atc-portal-main{padding:29px 21px!important}}
@media(max-width:650px){body .atc-approved-design .atc-page-content .atc-portal-shell{border-radius:13px!important}body .atc-approved-design .atc-portal-shell .atc-portal-main{padding:24px 15px!important}body .atc-approved-design .atc-portal-shell .atc-section-head{padding:0!important;padding-right:0!important;margin-bottom:22px!important}body .atc-approved-design .atc-portal-shell .atc-top-logout{position:static!important;float:right!important;margin:0 0 12px 10px!important}body .atc-approved-design .atc-portal-shell .atc-data-grid{grid-template-columns:1fr!important}body .atc-approved-design .atc-portal-shell .atc-person-summary{gap:7px!important}body .atc-approved-design .atc-portal-shell .atc-person-summary a{padding:11px!important;font-size:10px!important}body .atc-approved-design .atc-portal-shell .atc-person-summary a strong{font-size:19px!important}body .atc-approved-design .atc-portal-shell .atc-membership-options{grid-template-columns:1fr!important}body .atc-approved-design .atc-portal-shell .atc-portal-nav a{font-size:12px!important;padding:8px!important;min-height:36px!important}}
@media(max-width:650px){
 body .atc-approved-design .atc-portal-shell .atc-person-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body .atc-approved-design .atc-portal-shell .atc-person-summary a:last-child{grid-column:1/-1!important;flex-direction:row!important;align-items:center!important}
 body .atc-approved-design .atc-portal-shell .atc-person-summary a:last-child strong{font-size:18px!important}
}
