:root{--tab-navy:#082b50;--tab-blue:#0d4f8b;--tab-light:#eef5fb;--tab-ink:#172235;--tab-white:#fff;--tab-border:#d7e1eb;--tab-success:#e8f6ee;--tab-danger:#fff0f0}
.tabmm-wrap{font-family:Arial,Helvetica,sans-serif;color:var(--tab-ink);max-width:1200px;margin:0 auto;padding:0 18px 60px}
.tabmm-hero{background:linear-gradient(120deg,rgba(5,31,58,.96),rgba(13,79,139,.88)),url('https://twinsburgtab.com/wp-content/uploads/2019/07/IMG_2664.jpg') center/cover;border-radius:24px;overflow:hidden;margin:24px 0 28px;color:#fff;min-height:430px;display:flex;align-items:center}
.tabmm-hero__content{max-width:720px;padding:58px}.tabmm-eyebrow{display:block;font-weight:800;letter-spacing:.14em;font-size:.78rem;margin-bottom:12px}.tabmm-hero h1{font-size:clamp(2.2rem,5vw,4.5rem);line-height:1.02;margin:0 0 20px;color:#fff}.tabmm-hero p{font-size:1.15rem;line-height:1.65;margin:0 0 28px}.tabmm-primary,.tabmm-submit{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--tab-navy)!important;text-decoration:none!important;font-weight:800;border:0;border-radius:999px;padding:15px 24px;cursor:pointer}.tabmm-submit{background:var(--tab-navy);color:#fff!important;font-size:1rem;width:100%;margin-top:18px}
.tabmm-notice{padding:18px 20px;border-radius:14px;margin:20px 0}.tabmm-notice--success{background:var(--tab-success)}.tabmm-notice--error{background:var(--tab-danger)}
.tabmm-impact{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:26px 0 60px}.tabmm-impact div{background:var(--tab-light);border-radius:16px;padding:22px}.tabmm-impact strong{display:block;color:var(--tab-navy);font-size:1.08rem;margin-bottom:6px}.tabmm-impact span{line-height:1.45;font-size:.94rem}
.tabmm-section-heading{text-align:center;max-width:760px;margin:0 auto 28px}.tabmm-section-heading h2,.tabmm-scholarship h2{font-size:clamp(1.8rem,3vw,2.8rem);color:var(--tab-navy);margin:0 0 12px}.tabmm-section-heading p{line-height:1.6}.tabmm-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:60px}.tabmm-level-card{position:relative;text-align:left;background:#fff;border:1px solid var(--tab-border);border-radius:18px;padding:24px;cursor:pointer;min-height:165px;box-shadow:0 8px 26px rgba(6,36,65,.06)}.tabmm-level-card:hover,.tabmm-level-card.is-selected{border-color:var(--tab-blue);transform:translateY(-2px)}.tabmm-level-card.is-featured{border:2px solid var(--tab-blue)}.tabmm-badge{position:absolute;right:14px;top:14px;background:var(--tab-navy);color:#fff;border-radius:999px;padding:6px 10px;font-size:.75rem;font-weight:700}.tabmm-card-title{display:block;font-weight:800;color:var(--tab-navy);max-width:80%;line-height:1.35}.tabmm-price{display:block;font-size:2.1rem;font-weight:800;margin:18px 0 8px}.tabmm-select-label{font-size:.9rem;font-weight:700;color:var(--tab-blue)}
.tabmm-form-section{background:#fff;border:1px solid var(--tab-border);border-radius:24px;padding:36px;box-shadow:0 14px 46px rgba(6,36,65,.08)}.tabmm-form fieldset{border:0;border-top:1px solid var(--tab-border);padding:28px 0 8px;margin:0}.tabmm-form legend{font-weight:800;color:var(--tab-navy);font-size:1.2rem;padding-right:12px}.tabmm-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tabmm-field--full{grid-column:1/-1}.tabmm-field label{display:block;font-weight:700;margin-bottom:7px}.tabmm-field label span{color:#a62626}.tabmm-field input,.tabmm-field select,.tabmm-field textarea{width:100%;box-sizing:border-box;border:1px solid #b8c7d5;border-radius:10px;padding:12px 13px;background:#fff;font:inherit}.tabmm-field input:focus,.tabmm-field select:focus,.tabmm-field textarea:focus{outline:3px solid rgba(13,79,139,.14);border-color:var(--tab-blue)}.tabmm-check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 0 20px}.tabmm-consent{display:block}.tabmm-security-note{background:var(--tab-light);border-radius:12px;padding:16px;line-height:1.5;margin-top:18px}.tabmm-scholarship{margin:48px 0 0;background:var(--tab-navy);color:#fff;border-radius:22px;padding:34px}.tabmm-scholarship h2{color:#fff}.tabmm-scholarship p{max-width:800px;line-height:1.6;margin-bottom:0}
@media(max-width:850px){.tabmm-impact{grid-template-columns:1fr 1fr}.tabmm-card-grid{grid-template-columns:1fr 1fr}.tabmm-hero__content{padding:38px}.tabmm-hero{min-height:360px}}
@media(max-width:600px){.tabmm-impact,.tabmm-card-grid,.tabmm-fields,.tabmm-check-grid{grid-template-columns:1fr}.tabmm-field--full{grid-column:auto}.tabmm-form-section{padding:24px 18px}.tabmm-hero__content{padding:30px 24px}.tabmm-wrap{padding-left:12px;padding-right:12px}}

.tabmm-logo{width:112px;height:112px;object-fit:cover;border-radius:50%;background:#fff;padding:7px;box-shadow:0 10px 30px rgba(0,0,0,.22);margin-bottom:20px}





.tabmm-level-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.tabmm-level-card.is-selected{box-shadow:0 12px 30px rgba(13,79,139,.16);background:var(--tab-light)}.tabmm-level-card.is-selected .tabmm-select-label:before{content:'✓ ';}.tabmm-level-card:focus-visible{outline:4px solid rgba(13,79,139,.22);outline-offset:3px}
.tabmm-selection-summary{display:grid;grid-template-columns:1fr auto;gap:4px 20px;align-items:center;background:var(--tab-light);border:1px solid var(--tab-border);border-radius:16px;padding:18px 20px;margin:0 0 28px}.tabmm-selection-summary span{grid-column:1/-1;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--tab-blue)}.tabmm-selection-summary strong{font-size:1.12rem;color:var(--tab-navy)}.tabmm-selection-summary b{font-size:1.7rem;color:var(--tab-navy)}
@media(max-width:600px){.tabmm-logo{width:88px;height:88px}


.tabmm-selection-summary{grid-template-columns:1fr}.tabmm-selection-summary b{margin-top:4px}}

.tabmm-second-member[hidden]{display:none!important}

.tabmm-field-help{margin:-2px 0 16px;color:#5d6c7c;line-height:1.5}
.tabmm-students{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}
.tabmm-student-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr) 38px;gap:14px;align-items:end;background:var(--tab-light);border:1px solid var(--tab-border);border-radius:14px;padding:14px}
.tabmm-student-row .tabmm-field label{font-size:.9rem}
.tabmm-remove-student{width:38px;height:44px;border:0;border-radius:10px;background:#fff;color:#8c2222;font-size:1.55rem;line-height:1;cursor:pointer;border:1px solid var(--tab-border)}
.tabmm-remove-student:hover{background:var(--tab-danger)}
.tabmm-remove-student[hidden]{visibility:hidden;display:block}
.tabmm-student-details{margin-top:8px}
@media(max-width:600px){.tabmm-student-row{grid-template-columns:1fr 110px 38px;gap:9px;padding:11px}.tabmm-student-row .tabmm-field input{padding:11px 9px}.tabmm-student-year-field label{font-size:.78rem}.tabmm-field-help{font-size:.92rem}}

/* Responsive refinements added in 1.0.8 */
.tabmm-wrap,.tabmm-wrap *{box-sizing:border-box}
.tabmm-level-card{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.tabmm-primary,.tabmm-submit,.tabmm-remove-student{min-height:44px;touch-action:manipulation}
.tabmm-field input,.tabmm-field select,.tabmm-field textarea{min-height:46px}
.tabmm-card-title,.tabmm-impact span,.tabmm-section-heading p,.tabmm-security-note{overflow-wrap:anywhere}

@media (max-width: 900px){
  .tabmm-wrap{max-width:100%;padding-left:20px;padding-right:20px}
  .tabmm-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tabmm-form-section{padding:30px}
}

@media (max-width: 768px){
  .tabmm-wrap{padding-bottom:40px}
  .tabmm-hero{min-height:auto;border-radius:18px;margin-top:14px}
  .tabmm-hero__content{padding:34px 28px}
  .tabmm-hero p{font-size:1.05rem;line-height:1.55}
  .tabmm-impact{margin-bottom:42px}
  .tabmm-card-grid{margin-bottom:42px}
  .tabmm-form-section{border-radius:18px;padding:26px 22px}
  .tabmm-fields{grid-template-columns:1fr}
  .tabmm-field--full{grid-column:auto}
  .tabmm-check-grid{grid-template-columns:1fr}
  .tabmm-submit{width:100%;padding:16px 18px}
  .tabmm-student-row{grid-template-columns:minmax(0,1fr) 145px 44px}
  .tabmm-level-card{min-height:150px}
}

@media (max-width: 600px){
  .tabmm-wrap{padding-left:12px;padding-right:12px}
  .tabmm-hero{border-radius:14px;margin-bottom:22px}
  .tabmm-hero__content{padding:26px 20px}
  .tabmm-hero h1{font-size:clamp(2rem,11vw,3rem)}
  .tabmm-hero p{font-size:1rem}
  .tabmm-logo{width:82px;height:82px;margin-bottom:16px}
  .tabmm-impact{grid-template-columns:1fr;gap:10px;margin-bottom:36px}
  .tabmm-impact div{padding:18px}
  .tabmm-card-grid{grid-template-columns:1fr;gap:12px;margin-bottom:36px}
  .tabmm-level-card{min-height:0;padding:20px;border-radius:15px}
  .tabmm-price{font-size:1.8rem;margin:12px 0 6px}
  .tabmm-badge{position:static;display:inline-block;margin-bottom:10px}
  .tabmm-card-title{max-width:none}
  .tabmm-selection-summary{padding:15px 16px;margin-bottom:22px}
  .tabmm-form-section{padding:22px 16px;border-radius:16px}
  .tabmm-form fieldset{padding-top:24px}
  .tabmm-form legend{font-size:1.08rem}
  .tabmm-field input,.tabmm-field select,.tabmm-field textarea{font-size:16px;padding:13px 12px}
  .tabmm-field label{font-size:.96rem}
  .tabmm-student-row{grid-template-columns:1fr;gap:10px;padding:12px;position:relative}
  .tabmm-student-year-field{padding-right:52px}
  .tabmm-remove-student{position:absolute;right:12px;bottom:12px;width:44px;height:46px}
  .tabmm-remove-student[hidden]{display:none!important}
  .tabmm-scholarship{padding:26px 20px;border-radius:16px;margin-top:36px}
}

@media (max-width: 380px){
  .tabmm-wrap{padding-left:8px;padding-right:8px}
  .tabmm-hero__content{padding:24px 16px}
  .tabmm-form-section{padding:20px 12px}
  .tabmm-level-card{padding:18px 16px}
}


/* Membership description tooltips — v1.4.2 */
.tabmm-level-card.has-description{overflow:visible}
.tabmm-info-icon{position:absolute;left:14px;top:14px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid var(--tab-blue);border-radius:50%;background:#fff;color:var(--tab-blue);font-size:.82rem;font-weight:800;font-style:normal;line-height:1}
.tabmm-level-card.has-description .tabmm-card-title{padding-left:32px}
.tabmm-level-tooltip{position:absolute;z-index:30;left:50%;bottom:calc(100% + 12px);width:min(310px,calc(100vw - 40px));transform:translate(-50%,8px);padding:13px 15px;border-radius:12px;background:var(--tab-navy);color:#fff;font-size:.9rem;font-weight:500;line-height:1.45;text-align:left;box-shadow:0 12px 32px rgba(0,0,0,.22);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,transform .16s ease,visibility .16s ease}
.tabmm-level-tooltip:after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);border:8px solid transparent;border-top-color:var(--tab-navy)}
.tabmm-level-card.has-description:hover .tabmm-level-tooltip,.tabmm-level-card.has-description:focus .tabmm-level-tooltip,.tabmm-level-card.has-description:focus-visible .tabmm-level-tooltip,.tabmm-level-card.has-description.is-tooltip-open .tabmm-level-tooltip{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(max-width:600px){.tabmm-level-tooltip{position:relative;left:auto;bottom:auto;width:auto;margin:14px 0 0;transform:none}.tabmm-level-tooltip:after{display:none}.tabmm-level-card.has-description:hover .tabmm-level-tooltip,.tabmm-level-card.has-description:focus .tabmm-level-tooltip,.tabmm-level-card.has-description:focus-visible .tabmm-level-tooltip,.tabmm-level-card.has-description.is-tooltip-open .tabmm-level-tooltip{transform:none}.tabmm-info-icon{cursor:pointer}}
