.member-home{--border:#62758b70;--ink:#eff4fb;--muted:#c0cddd}
.member-home .shell{max-width:1560px;padding:0 4%;background:transparent}
.member-home .flag-motion{display:block}
.member-home header{height:auto;min-height:200px;flex-direction:column;justify-content:center;gap:12px;padding:24px 0;text-align:center;border-bottom:0}
.member-home .brand{flex-direction:column;gap:10px;font-weight:900;font-size:18px;letter-spacing:.13em;line-height:1.35;text-shadow:0 2px 2px #000}
.member-home .brand strong{font-size:26px;font-weight:900;letter-spacing:.12em}
.member-home .brand-crest{width:165px;height:165px;filter:drop-shadow(0 8px 16px #000)}
.member-home .header-note{font-size:13px;font-weight:800;letter-spacing:.16em;color:#e5edf6}
.member-home .portal{padding:0 0 32px}
.member-home #view{padding:0;background:none;color:#edf3fb;border:0;border-radius:0;box-shadow:none;animation:none}
.member-home .member-nav{display:flex;flex-direction:column;gap:14px;justify-content:center;text-align:center;margin:0;padding:20px;border:1px solid #a9bbcc75;border-radius:12px;background:linear-gradient(135deg,#1e344cf0,#071626f5);box-shadow:inset 0 1px 0 #ffffff40,0 8px 22px #0007}
.member-home .member-nav>strong{font-size:15px;letter-spacing:.2em;color:#f1dbc0}
.member-home .member-nav div{justify-content:center;gap:8px 12px}
.member-home .member-nav button{font-size:14px;font-weight:800;color:#e7eff9;padding:10px 15px;background:linear-gradient(#35485f,#17293e);border:1px solid #70869b;border-radius:6px;box-shadow:inset 0 1px 0 #ffffff30,0 2px 0 #030b14}
.member-home .member-nav button:hover{color:white;background:#415a75}
.member-home .home-welcome{display:block;text-align:center;margin:24px 0;padding:42px 26px;border-radius:14px;border:1px solid #a9bbcc70;background:linear-gradient(115deg,#08182de3,#13283aca,#08182df0);box-shadow:inset 0 2px 0 #ffffff25,0 12px 28px #0005}
.member-home .home-welcome .eyebrow{justify-content:center;color:#e4d0b0;font-size:14px;letter-spacing:.16em;gap:16px;margin:0 0 18px}
.member-home .home-welcome .eyebrow>span{width:auto;height:auto;background:none;font-size:20px;color:#e5edf5;text-shadow:0 2px 2px #000}
.member-home .home-welcome h2{font-family:Georgia,serif;font-size:clamp(32px,4vw,55px);font-weight:900;line-height:1.13;margin:0 0 20px;color:#f5f7fc;text-shadow:0 3px 3px #000,0 -1px 0 #ffffff50}
.member-home .home-welcome h2 em{font-weight:900;color:#e4cba6}
.member-home .home-welcome .sub{max-width:700px;margin:0 auto 20px;font-size:17px;line-height:1.7;color:#dce6f3}
.home-badges,.home-shortcuts{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:18px}
.home-badges span{font-size:12px;letter-spacing:.08em;font-weight:800;padding:7px 12px;border:1px solid #94a6bc70;border-radius:99px;background:#071527b0;color:#d4dfed}
.home-shortcuts a{font-size:15px;font-weight:800;color:#fff;padding:12px 20px;border:1px solid #8ea0b4;border-radius:6px;background:linear-gradient(#354b63,#15283e);box-shadow:inset 0 1px 0 #fff4,0 3px 0 #030a12}
.home-shortcuts a:first-child{background:linear-gradient(#cf394c,#91152b);border-color:#e66879}
.member-home .home-grid{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:24px;padding:0;border:0;align-items:start}
.discussion-panel,.videos-panel{min-width:0;border:1px solid #8fa4ba7a;border-top:4px solid #c63148;border-radius:12px;padding:26px;background:linear-gradient(135deg,#152a40f7,#071627fa);box-shadow:inset 0 1px 0 #fff3,0 12px 30px #0006;scroll-margin-top:20px}
.member-home .section-heading{gap:15px;flex-wrap:wrap;margin-bottom:8px}
.member-home .section-heading h3{font-size:29px;color:#f5f7fb;font-weight:800;margin:0;text-shadow:0 2px 2px #000}
.member-home .section-heading span{font-size:11px;font-weight:800;letter-spacing:.1em;color:#e6c5a2;margin:0}
.member-home .home-grid .sub{font-size:15px;color:#bfccdc;line-height:1.7;margin:14px 0 20px}
.member-home #new-discussion{background:linear-gradient(145deg,#223950,#122439);border:1px solid #8195ab65;box-shadow:inset 0 1px 0 #fff2;padding:22px;border-radius:9px}
.member-home form label{font-size:15px;font-weight:800;color:#edf3fb}
.member-home input,.member-home textarea{background:#071728;color:#f1f5fb;border:1px solid #71869c;font-size:16px;box-shadow:inset 0 2px 5px #0007;min-height:48px}
.member-home input::placeholder,.member-home textarea::placeholder{color:#9dafc3;font-weight:400}
.member-home textarea{min-height:125px}
.member-home .primary{background:linear-gradient(#d33b50,#97192e);border:1px solid #df6b7c;color:white;min-height:48px;font-size:16px;font-weight:850;box-shadow:inset 0 1px 0 #ffbdc6,0 3px 0 #520c19;text-shadow:0 1px 2px #500}
.member-home .primary:hover{background:linear-gradient(#e0475d,#aa2036)}
.member-home .secondary{background:linear-gradient(#354d66,#192f47);border:1px solid #8399b2;color:#f0f5fc;min-height:46px;font-size:15px;font-weight:800;box-shadow:inset 0 1px 0 #fff3,0 2px 0 #06101d}
.member-home .secondary:hover{background:#3d5670}
.member-home .thread{margin-top:20px;padding:22px;border:1px solid #687f9780;border-radius:9px;background:linear-gradient(130deg,#20364cef,#0c1d31f5);box-shadow:inset 0 1px 0 #fff2}
.member-home .thread-by{font-size:13px;font-weight:800;color:#ddc5a5;letter-spacing:.03em;margin:0 0 14px}
.member-home .thread-by span{color:#dae5f1;margin-right:7px}
.member-home .thread h4{font-size:21px;line-height:1.4;color:#fff;margin:0 0 12px}
.member-home .post-body{font-size:16px;line-height:1.8;color:#d7e2ef;font-weight:400}
.member-home .thread summary{font-size:15px;font-weight:800;color:#f1b7c0;border-top:1px solid #6f82964d;padding:16px 0 2px;margin-top:16px}
.member-home .reply{background:#07172bbf;border-left:3px solid #b83148;border-radius:0 6px 6px 0;padding:14px}
.member-home .reply strong{font-size:14px;color:#e8cfad}
.member-home .clear-slot{color:#f6b3bf;font-size:14px;font-weight:700;min-height:40px}
.discussion-empty{padding:35px 12px 15px;text-align:center;color:#c8d5e6}
.discussion-empty>span{font-size:35px;color:#bdcee0;text-shadow:0 3px 2px #000}
.discussion-empty h4{font:800 23px/1.4 Georgia,serif;color:#f3e0c4;margin:15px 0 10px}
.discussion-empty p{font-size:15px;line-height:1.7}
.video-management{margin:-3px 0 20px}.video-management .secondary{margin:0}
.video-collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.member-home .video-card{margin:0;border:1px solid #879bb270;border-radius:9px;background:linear-gradient(#1c3148,#0d2034);box-shadow:inset 0 1px 0 #fff2;padding-bottom:15px;min-width:0}
.video-slot-label{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;font-size:11px;font-weight:850;letter-spacing:.05em;border-bottom:1px solid #60758c60;color:#e9d0af}
.video-slot-label span:last-child{font-size:9px;letter-spacing:.02em;color:#b6c5d8}
.member-home .video-stage{min-height:130px;aspect-ratio:16/9;background:radial-gradient(ellipse at top,#2d455e,#09182a);border-bottom:1px solid #687d954d;gap:10px}
.member-home .video-stage .primary{font-size:13px;padding:9px 12px;min-height:40px;width:calc(100% - 24px);letter-spacing:0}
.empty-star{font-size:37px;color:#8ca3bb;text-shadow:0 3px 2px #000,0 -1px 0 #d7e4f0;opacity:.9}
.empty-stage p{font-size:12px;line-height:1.5;text-align:center;color:#b3c4d7;margin:0 10px 10px;font-weight:600}
.member-home .video-card h4{font-size:16px;line-height:1.5;padding:0 14px;color:#edf3fa;margin:14px 0 6px}
.member-home .video-card .small-note{font-size:12px;line-height:1.7;color:#b8c9dc;padding:0 14px;margin-top:6px;font-weight:400}
.member-home .video-card a{color:#f6b1bd}
.member-home .summary{background:#132b43;color:#edf3fb;border:1px solid #71869c}
.member-home .form-error{color:#ffbbc5;font-weight:700}
.member-home .editor-grid fieldset{background:#12283eee;border-color:#7d94ae}.member-home .editor-grid legend{font-weight:800;color:#e6c9a4}
.member-home .editor-grid{margin:24px 0}
@media(min-width:1200px){.member-home .home-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
@media(max-width:1050px){.member-home .home-grid{grid-template-columns:1fr}.member-home .home-welcome h2{font-size:42px}.video-collection{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.member-home .shell{padding:0 16px}.member-home .brand-crest{width:145px;height:145px}.member-home .brand{font-size:16px}.member-home .brand strong{font-size:23px}.member-home .header-note{display:flex;font-size:11px}.member-home .member-nav{padding:16px 12px}.member-home .member-nav div{gap:8px}.member-home .member-nav button{font-size:13px;padding:9px 11px}.member-home .home-welcome{padding:30px 18px}.member-home .home-welcome h2{font-size:34px}.member-home .home-welcome .eyebrow{font-size:10px;gap:9px;letter-spacing:.08em}.member-home .home-welcome .sub{font-size:16px}.home-shortcuts a{font-size:14px;padding:11px 14px}.discussion-panel,.videos-panel{padding:20px 16px}.member-home .section-heading h3{font-size:26px}.member-home .section-heading span{font-size:10px}.member-home #new-discussion{padding:17px}.member-home .thread{padding:18px}.video-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.video-slot-label{display:block;font-size:12px}.video-slot-label span{display:block}.video-slot-label span:last-child{margin-top:4px}.member-home .video-stage{min-height:120px}.member-home .video-card h4{padding:0 12px}.member-home .video-card .small-note{padding:0 12px}}
@media(max-width:380px){.video-collection{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.member-home .flag-motion{display:none}}

.member-home #details{--ink:#15253b;color:#15253b}
.member-home .video-stage{width:100%;min-width:0}.member-home .video-stage .primary{white-space:normal;overflow-wrap:anywhere}.member-home .empty-stage p{overflow-wrap:anywhere}

/* Clear full name at sign-in; compact initials inside the account. */
body .brand .brand-name{display:flex;flex-direction:column;align-items:center;gap:5px;font-family:'Segoe UI',Arial,sans-serif;font-size:clamp(19px,3vw,30px);font-weight:900;line-height:1.15;letter-spacing:.08em;color:#eef4fc;text-shadow:0 2px 2px #000}
body .brand .brand-name strong{font:inherit;font-size:1.12em;letter-spacing:.07em;display:block}
body .brand .brand-initials{display:none}
body.member-home .brand .brand-name{display:none}
body.member-home .brand .brand-initials{display:block;font-family:'Segoe UI',Arial,sans-serif;font-size:clamp(38px,5vw,54px);font-weight:900;line-height:1.1;letter-spacing:.04em;padding-left:0;color:#edf3fa;text-shadow:0 2px 1px #15263b}
.member-home .member-nav .account-tabs{width:100%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.member-home .member-nav .account-tabs button{font-size:16px;min-height:56px;padding:12px 8px}
.member-home .member-nav button[aria-current="page"]{background:linear-gradient(#d33b50,#89162b);border-color:#ed8292;box-shadow:inset 0 1px 0 #ffc0c8,0 3px 0 #420a17;color:#fff}
.member-home .member-nav .account-tools{display:flex;flex-wrap:wrap;width:100%;justify-content:center;padding-top:15px;border-top:1px solid #8a9db74d}
.member-home .account-section{margin:24px 0;padding:50px 24px;text-align:center;border:1px solid #9aafc878;border-top:4px solid #c63148;border-radius:14px;background:linear-gradient(135deg,#1e344cef,#071626f5);box-shadow:inset 0 1px 0 #fff4,0 12px 30px #0007}
.member-home .account-section .eyebrow{justify-content:center;color:#dfc5a2}
.section-medallion{font-size:50px;margin:25px auto;color:#c7d5e6;text-shadow:0 3px 1px #08111e,0 -1px 0 #fff}
.member-home .account-section h2{font-size:clamp(36px,5vw,60px);font-weight:900;color:#f0f4fc;text-shadow:0 3px 2px #000}
.member-home .account-section .sub{font-size:20px;color:#dbe5f2}.section-pending{font-size:16px;color:#bacbdd;line-height:1.8;max-width:540px;margin:16px auto 30px}
.member-home .account-section .primary{max-width:280px}
@media(max-width:1050px){.member-home .member-nav .account-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){body .brand .brand-name{font-size:clamp(18px,5.2vw,26px);letter-spacing:.045em}.member-home .member-nav .account-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.member-home .member-nav .account-tabs button{font-size:15px}}

body.member-home .brand .brand-initials{display:flex;align-items:center;gap:.22em}body.member-home .brand .brand-initials>span{font-size:.34em;color:#c8d4e2;letter-spacing:0}

.header-note .us-flag{display:block;width:48px;height:auto;flex-shrink:0;border-radius:1px;box-shadow:0 0 0 1px #ffffff50,0 3px 8px #0008}
.member-home .vault-heading,.member-home .vault-editor,.member-home .vault-library{margin:24px 0;padding:30px;border:1px solid #8fa4ba7a;border-top:4px solid #c63148;border-radius:12px;background:linear-gradient(135deg,#152a40f5,#071627fa);box-shadow:inset 0 1px 0 #fff3,0 12px 30px #0006}
.member-home .vault-heading{text-align:center}.vault-heading .eyebrow{justify-content:center;color:#ddc5a5}.member-home .vault-heading h2{font-size:clamp(36px,5vw,56px);font-weight:900;margin:18px 0}.member-home .vault-heading .sub{font-size:18px}.vault-access{font-size:14px;color:#b4c8dc;line-height:1.7}.vault-toolbar{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:24px}.vault-toolbar button{width:auto;min-width:160px}.vault-filter{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:24px}.vault-filter span{color:#bacbdd;font-size:14px;margin-left:auto}.member-home select{font:inherit;font-size:16px;padding:12px;background:#0b2036;color:#eef4fc;border:1px solid #71869c;border-radius:5px;max-width:100%}.vault-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.vault-item{min-width:0;padding:24px;border:1px solid #647f9a;border-radius:9px;background:linear-gradient(130deg,#223c56,#10243a)}.vault-item h3{font:800 25px/1.3 Georgia,serif;overflow-wrap:anywhere;margin:16px 0}.vault-kind{font-size:12px;letter-spacing:.07em;color:#e7cdac;overflow-wrap:anywhere}.vault-item .sub{overflow-wrap:anywhere;line-height:1.7}.vault-item-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.vault-item-actions .secondary{width:auto;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;text-align:center}.vault-empty{grid-column:1/-1;text-align:center;padding:45px 15px;color:#becfe2}.vault-empty>span{font-size:50px}.vault-empty h3{font:800 28px Georgia,serif;color:#f4e5ce}.vault-editor{max-width:900px;margin-left:auto!important;margin-right:auto!important}.vault-editor h2{font-weight:850}.vault-editor fieldset{padding:0;border:0;min-width:0}.vault-editor fieldset:disabled{opacity:1}.vault-editor label{display:block;margin:20px 0 10px;font-weight:800}.vault-editor textarea{min-height:340px}.vault-editor .primary,.vault-editor>.secondary{max-width:320px;margin-top:16px}.vault-editor input[type=file]{height:auto;white-space:normal}.vault-editor .sub{line-height:1.7}.vault-editor fieldset:disabled input,.vault-editor fieldset:disabled textarea{color:#e1eaf6;opacity:1}.vault-editor .form-error{margin-top:20px}@media(max-width:700px){.vault-grid{grid-template-columns:1fr}.member-home .vault-heading,.member-home .vault-editor,.member-home .vault-library{padding:22px 16px}.vault-toolbar button{min-width:0;flex:1 1 150px}.vault-filter select{width:100%}}
.verification-image{display:block;width:100%;height:auto;max-height:700px;object-fit:contain;margin-top:22px;background:#071728}.member-home .verification-consent{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.6}.member-home .verification-consent input{width:20px;height:20px;min-height:20px;margin-top:3px;flex-shrink:0}.vault-editor select{width:100%}
.member-home .card-page{padding:32px 0;text-align:center}.card-page h2{font-weight:850}.card-page>.sub{font-size:17px;line-height:1.7}.membership-card{width:100%;max-width:560px;min-height:340px;margin:30px auto;box-sizing:border-box;text-align:left;padding:25px;border:1px solid #a0b3cb;border-radius:17px;color:#f2f5fb;background:linear-gradient(120deg,#243e59,#0b1b30 64%,#182f48);box-shadow:inset 0 2px 0 #ffffff50,0 16px 38px #0008;display:flex;flex-direction:column;gap:20px;position:relative;overflow:hidden}.membership-card:before{content:'';position:absolute;top:0;left:0;right:0;height:6px;background:linear-gradient(90deg,#b72e44 0 33%,#e7edf6 33% 66%,#3f6390 66%)}.card-banner{display:flex;align-items:center;gap:18px;padding-bottom:14px;border-bottom:1px solid #a4b7cd55}.card-banner img{width:66px;height:66px;object-fit:contain}.card-banner strong{font-size:29px;letter-spacing:.04em;white-space:nowrap}.card-banner strong span{font-size:12px;vertical-align:middle;color:#ccdaeb}.card-banner p{font-size:11px;font-weight:800;letter-spacing:.15em;margin:6px 0 0;color:#d5e0ed}.card-holder>span,.card-record span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#b9cbe0;display:block}.card-holder h3{font-size:26px;line-height:1.2;margin:7px 0;overflow-wrap:anywhere;color:#fff}.card-holder p{font-size:14px;font-weight:700;margin:0;color:#e7cfab}.card-record{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:12px;margin-top:auto}.card-record strong{font-size:12px;display:block;margin-top:6px;line-height:1.4}.card-number strong{font-family:Consolas,monospace;overflow-wrap:anywhere}.card-disclaimer{display:flex;flex-direction:column;gap:4px;border-top:1px solid #a4b7cd55;padding-top:12px;font-size:9px;letter-spacing:.035em;color:#cbd9e9}.card-controls{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.card-controls button{width:auto;max-width:300px}.card-print-note{max-width:600px;margin:24px auto;font-size:14px;line-height:1.7;color:#bed0e3}@media(max-width:480px){.membership-card{padding:20px;gap:17px;min-height:0}.card-banner{gap:12px}.card-banner img{width:52px;height:52px}.card-banner strong{font-size:24px}.card-banner p{font-size:9px}.card-holder h3{font-size:22px}.card-record{grid-template-columns:1fr 1fr}.card-number{grid-column:1/-1}}
@media print{@page{size:auto;margin:15mm}body{background:white!important}.flag-motion,.preview,header,footer,.member-nav,.portal-caption,.identity,.card-page>h2,.card-page>.sub,.card-controls,.card-print-note,#form-error,dialog{display:none!important}.member-home .shell,.member-home main,.member-home .portal,.member-home #view,.member-home .card-page{display:block!important;padding:0!important;margin:0!important;max-width:none!important;width:auto!important;background:none!important;min-height:0!important;border:0!important;box-shadow:none!important}.membership-card{width:85.6mm!important;height:53.98mm!important;min-height:0!important;max-width:none!important;margin:0!important;padding:3.2mm!important;border-radius:3mm!important;gap:2mm!important;box-shadow:none!important;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.membership-card:before{height:1mm}.card-banner{gap:3mm;padding-bottom:2mm}.card-banner img{width:12mm;height:12mm}.card-banner strong{font-size:17pt}.card-banner strong span{font-size:7pt}.card-banner p{font-size:6pt;margin-top:1mm}.card-holder>span,.card-record span{font-size:5pt}.card-holder h3{font-size:11pt;line-height:1.1;margin:1mm 0;max-height:8.6mm;overflow:hidden}.card-holder p{font-size:7pt}.card-record{grid-template-columns:1.7fr 1fr 1fr;gap:2mm}.card-number{grid-column:auto}.card-record strong{font-size:5.8pt;margin-top:1mm}.card-disclaimer{font-size:4.5pt;gap:.5mm;padding-top:1.5mm}}

@media print{body::before{display:none!important}.member-home .portal{width:100%!important;justify-self:stretch!important}.card-holder .card-long-name{font-size:8.5pt}}
/* Approved patriotic artwork and centered, role-free membership card. */
.membership-card{background:linear-gradient(#06122528,#06122528),url('patriotic-relief-distinct-soldier.png') center/100% 100%;text-align:center;align-items:center;gap:12px;padding:18px;min-height:0;aspect-ratio:85.6/53.98;text-shadow:0 1px 3px #000}.membership-card:before{display:none}.card-banner{flex-direction:column;justify-content:center;gap:2px;border:0;padding:0}.card-banner img{width:56px;height:56px}.card-banner strong{font-size:27px}.card-banner p{font-size:9px;margin:3px 0 0}.card-holder{width:68%}.card-holder h3{font-size:23px;margin:5px 0}.card-holder .card-long-name{font-size:18px}.card-record{width:68%;grid-template-columns:1fr 1fr;gap:8px}.card-number{grid-column:1/-1}.card-record strong{margin-top:3px;font-size:11px}.card-record span,.card-holder>span{font-size:9px}.card-disclaimer{align-items:center;width:72%;font-size:8px;padding-top:7px;gap:3px}.card-print-note strong{color:#edf2fa}
@media(max-width:480px){.membership-card{gap:9px;padding:14px;aspect-ratio:auto;min-height:325px}.card-banner img{width:47px;height:47px}.card-banner strong{font-size:24px}.card-holder h3{font-size:20px}.card-holder .card-long-name{font-size:16px}.card-record{width:74%}.card-disclaimer{width:78%;font-size:7px}}
@media print{.membership-card{padding:2.5mm!important;gap:1.3mm!important;text-align:center!important;background:linear-gradient(#06122528,#06122528),url('patriotic-relief-distinct-soldier.png') center/100% 100%!important}.card-banner{flex-direction:column;gap:.3mm;padding:0;border:0}.card-banner img{width:9mm;height:9mm}.card-banner strong{font-size:13pt}.card-banner strong span{font-size:5pt}.card-banner p{font-size:4.5pt;margin:.3mm 0 0}.card-holder{width:68%}.card-holder>span{font-size:4pt}.card-holder h3{font-size:9pt;margin:.7mm 0;max-height:7mm}.card-holder .card-long-name{font-size:6.7pt}.card-record{width:68%;grid-template-columns:1fr 1fr;gap:1mm}.card-number{grid-column:1/-1}.card-record span{font-size:4pt}.card-record strong{font-size:5.5pt;margin-top:.5mm}.card-disclaimer{width:75%;font-size:4pt;padding-top:1mm;gap:.4mm}}

/* Each complete label/date pair moves one eighth inch inward. */
.card-record>div:nth-child(2){transform:translateX(3.175mm)}
.card-record>div:nth-child(3){transform:translateX(-3.175mm)}
.membership-card-back{width:min(354px,100%);aspect-ratio:53.98/85.6;margin:24px auto 30px;position:relative;overflow:hidden;border-radius:16px;color:#3c2714;text-shadow:none;box-shadow:0 12px 30px #0008;text-align:center}
.constitution-parchment{box-sizing:border-box;width:100%;height:100%;padding:18px;background:radial-gradient(ellipse at 18% 15%,#fff4dba3,transparent 48%),radial-gradient(ellipse at 88% 78%,#a873362b,transparent 55%),repeating-linear-gradient(13deg,#70471906 0 1px,transparent 1px 4px),linear-gradient(105deg,#cda76a,#f0d9a8 15%,#f4e3bf 50%,#e7ca94 85%,#c5a06b);box-shadow:inset 0 0 25px #71451b55}
.constitution-frame{height:100%;box-sizing:border-box;border:1px solid #79562b99;outline:1px solid #79562b55;outline-offset:4px;padding:22px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
.constitution-title{font:700 14px/1.5 Georgia,'Times New Roman',serif;letter-spacing:.08em;margin:0;color:#3c2714}
.constitution-title span{font-size:11px;letter-spacing:.06em}
.constitution-rule{font-size:18px;color:#79562b}
.constitution-frame h3{font:700 34px/1.1 'Palatino Linotype',Georgia,serif;margin:0;color:#3c2714}
.constitution-text{font:400 19px/1.48 Georgia,'Times New Roman',serif;margin:0;color:#3c2714}
.constitution-caption{font:700 10px/1.4 Georgia,serif;letter-spacing:.15em;margin:0;color:#634322}
@media print{.card-back-heading{display:none!important}.membership-card-back{break-before:page;width:85.6mm!important;height:53.98mm!important;aspect-ratio:auto;margin:0!important;border-radius:3mm;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}.constitution-parchment{position:absolute;left:50%;top:50%;width:53.98mm;height:85.6mm;transform:translate(-50%,-50%) rotate(90deg);padding:3mm}.constitution-frame{padding:3.5mm 2mm;gap:2.4mm;outline-offset:1mm}.constitution-title{font-size:6.5pt}.constitution-title span{font-size:5.5pt}.constitution-rule{font-size:8pt}.constitution-frame h3{font-size:16pt}.constitution-text{font-size:8pt;line-height:1.45}.constitution-caption{font-size:5pt}}

/* Both sides use the same landscape orientation. */
.membership-card-back{width:100%;max-width:560px;aspect-ratio:85.6/53.98}
.constitution-frame{padding:14px 22px;gap:10px}
.constitution-frame h3{font-size:31px}
.constitution-text{font-size:17px;line-height:1.45}
.constitution-rule{display:none}
@media(max-width:480px){.constitution-parchment{padding:14px}.constitution-frame{padding:12px;gap:8px}.constitution-frame h3{font-size:25px}.constitution-text{font-size:13px}.constitution-title{font-size:11px}.constitution-title span{font-size:9px}.constitution-caption{font-size:8px}}
@media print{.constitution-parchment{position:static;width:100%;height:100%;transform:none;padding:3mm}.constitution-frame{padding:2mm 3mm;gap:1.5mm}.constitution-title{font-size:6pt;line-height:1.3}.constitution-title span{font-size:5pt}.constitution-frame h3{font-size:14pt}.constitution-text{font-size:7.3pt;line-height:1.35}.constitution-caption{font-size:4.5pt}}
/* Restrained aged parchment: mottling, warm edges and two small paper curls. */
.constitution-parchment{position:relative;isolation:isolate;background:radial-gradient(ellipse at 4% 9%,#80501e38,transparent 23%),radial-gradient(ellipse at 94% 91%,#75431230,transparent 27%),radial-gradient(ellipse at 75% 12%,#a4783420,transparent 19%),radial-gradient(ellipse at 16% 82%,#97632b1f,transparent 20%),repeating-linear-gradient(13deg,#70471908 0 1px,transparent 1px 4px),linear-gradient(105deg,#c09a60,#efdaa9 15%,#f4e3bf 50%,#e7ca94 85%,#bc945e);box-shadow:inset 0 0 18px #71451b66,inset 0 2px 5px #fff6d9aa,inset 0 -3px 8px #70431944}
.constitution-parchment:before,.constitution-parchment:after{content:'';position:absolute;width:5.5%;aspect-ratio:1;z-index:2;pointer-events:none;filter:drop-shadow(1px 2px 2px #4d2c2255)}
.constitution-parchment:before{left:0;top:0;background:linear-gradient(135deg,#664522 0%,#ac834c 38%,#ead1a0 48%,#fff0cd 53%,#b88e53 62%,transparent 64%);clip-path:polygon(0 0,100% 0,0 100%)}
.constitution-parchment:after{right:0;bottom:0;background:linear-gradient(315deg,#664522 0%,#ac834c 38%,#ead1a0 48%,#fff0cd 53%,#b88e53 62%,transparent 64%);clip-path:polygon(100% 0,100% 100%,0 100%)}
.constitution-frame{border-color:#79562b88;outline-color:#79562b44}
.constitution-parchment{left:auto;top:auto}
/* Natural paper texture; no simulated folded corners. */
.constitution-parchment{background:#e7d2a7 url('parchment-paper.png') center/100% 100%;box-shadow:inset 0 0 10px #71451b33}
.constitution-parchment:before,.constitution-parchment:after{display:none}
.constitution-frame{border-color:#79562b55;outline-color:#79562b22}
/* Center the membership-number block within the space above the date row. */
.card-record{flex:1;min-height:0;margin-top:0;grid-template-rows:1fr auto;text-align:center}
.card-number{align-self:center;justify-self:stretch;text-align:center}

.member-security-notice{max-width:1050px;margin:26px auto;padding:22px 26px;background:#0b1c30eb;border:1px solid #9fb5d052;border-top:3px solid #b92b42;border-radius:12px;color:#e6eef7;text-align:center}#security-notice-title{font-family:Georgia,Cambria,serif;font-size:18px;font-weight:400;line-height:1.4;letter-spacing:.01em;text-shadow:none;margin:0 0 12px;color:#fff}.member-security-notice p{font-size:16px;line-height:1.65;margin:12px 0}.member-security-notice summary{font-weight:750;cursor:pointer;padding:12px;color:#e5cda9}.member-security-notice details[open]{text-align:left}@media print{.member-security-notice{display:none!important}}

.community-choice-intro span{display:block;white-space:nowrap}.community-choice-intro{font-size:clamp(12px,3.1vw,15px)!important;line-height:1.65;text-align:center}

/* Sentence-aware screen typography: keep complete short sentences together. */
@media screen{
 .sentence-line{display:block;max-width:100%;text-wrap:pretty}
 :is(.intro,.sub,.vault-access,.section-pending,.small-note,.card-print-note,.form-error,.status,.member-security-notice p,#dialog-content p){text-wrap:pretty;overflow-wrap:break-word}
 :is(.identity h1,#view h2,#view h3,.section-heading h3,.video-card h4){text-wrap:balance}
 body:not(.member-home) .intro{max-width:760px}
 .community-choice-intro span{white-space:normal;text-wrap:pretty}
}

/* Keep the community introduction on one line within the popup. */
#dialog-content{container-type:inline-size}
#dialog-content .forum-heading{font-size:clamp(14px,5.7cqi,28px);white-space:nowrap;letter-spacing:-.02em;line-height:1.2}
