/* Scoped personal center; keeps genealogy tools and their data contracts intact. */
#accountCard #pc-edit{padding-bottom:110px}
#accountCard #accountProfileForm .profile-save-bar{position:fixed;bottom:16px;margin:0;z-index:20}
#accountCard .profile-panel-head{flex-direction:row!important;text-align:left!important}
#accountCard .membership-summary{flex-direction:row!important;text-align:left!important}
#accountCard .profile-section-title>div{display:block!important;text-align:left!important}
#accountCard .profile-section-title p{display:block!important}
[data-workspace-view="profile"] .settings-grid{display:block;width:min(1160px,100%);margin:auto}
#accountCard.profile-center-v2{display:block;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;color:#203c32;font-family:system-ui,"Microsoft YaHei",sans-serif}
#accountCard .profile-panel-head{display:flex;align-items:center;margin:0;padding:4px 0 26px;border:0;background:none;gap:24px}
#accountCard .profile-panel-head .profile-kicker{display:none}
#accountCard .profile-panel-head h2{margin:0 0 10px;font:600 30px/1.3 system-ui,"Microsoft YaHei",sans-serif;letter-spacing:.02em}
#accountCard .profile-panel-head p{margin:0;color:#697b73;font-size:14px;line-height:1.7}
#accountCard .profile-completeness{margin-left:auto;min-width:100px;text-align:right;display:grid;gap:4px}
#accountCard .profile-completeness strong{font-size:27px;color:#214b3a}
#accountCard .profile-completeness span{font-size:12px;color:#74857a}
#accountCard .pc-tabs{display:flex;gap:30px;border-bottom:1px solid #d6dfd9;margin-bottom:28px}
#accountCard .pc-tabs button{padding:14px 2px;border:0;border-bottom:3px solid transparent;background:none;color:#697b73;font:500 15px/1.4 system-ui,"Microsoft YaHei",sans-serif;cursor:pointer}
#accountCard .pc-tabs button[aria-selected="true"]{border-bottom-color:#1c4a37;color:#173f2e;font-weight:700}
#accountCard [hidden]{display:none!important}
#accountCard button:focus-visible,#accountCard summary:focus-visible{outline:3px solid #a4bda9;outline-offset:4px}
#accountCard .pc-pane{min-width:0}
#accountCard .profile-identity-strip{display:grid;grid-template-columns:68px minmax(170px,1fr) auto;align-items:center;gap:20px;margin:0;padding:30px;border:1px solid #dde5df;border-radius:14px;background:#fff;box-shadow:none}
#accountCard .profile-initial{width:64px;height:64px;border:0;box-shadow:none;flex-shrink:0;background:#e6eee8;color:#214f3c}
#accountCard .profile-initial img{width:100%;height:100%;object-fit:cover;border-radius:50%}
#accountCard .profile-identity-strip h3{font-size:23px;margin:0 0 8px;font-weight:650}
#accountCard .profile-identity-strip p{font-size:13px;color:#63786b;line-height:1.6;margin:0}
#accountCard #profileSyncState{display:block;font-size:12px;color:#7a897f;margin-top:7px}
#accountCard .account-stats{display:flex;gap:0;background:none}
#accountCard .account-stats>span{display:grid;gap:8px;min-width:90px;padding:2px 24px;border:0;border-left:1px solid #e3e9e4;background:none;color:#7a887f;font-size:12px}
#accountCard .account-stats strong{font:600 26px/1.2 system-ui,sans-serif;color:#234d3a}
#accountCard .membership-summary{display:flex;align-items:center;justify-content:space-between;margin:18px 0 0;padding:24px 30px;border:1px solid #e5decc;border-radius:12px;background:#faf7ef;box-shadow:none;gap:24px}
#accountCard .membership-summary .profile-kicker{margin:0 0 6px;font-size:12px;color:#8e7245}
#accountCard .membership-summary h3{margin:0 0 8px;font-size:20px}
#accountCard .membership-summary p{font-size:13px;margin:0;color:#766e5b}
#accountCard .membership-progress-copy{display:grid;gap:7px;text-align:right}
#accountCard .membership-progress-copy strong{font-size:24px}
#accountCard .membership-progress-copy span{font-size:12px;color:#81755e}
#accountCard .pc-actions{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin-top:32px;border-top:1px solid #d8e2da}
#accountCard .pc-actions>div{grid-column:1/-1;padding:24px 0 10px}
#accountCard .pc-actions h3,#accountCard .pc-edit-intro h3{font-size:19px;margin:0 0 8px}
#accountCard .pc-actions p,#accountCard .pc-edit-intro p{margin:0;color:#78857e;font-size:13px;line-height:1.7}
#accountCard .pc-actions button{display:grid;gap:8px;text-align:left;padding:22px 4px;border:0;border-bottom:1px solid #d8e2da;background:none;cursor:pointer;color:#204b38}
#accountCard .pc-actions button:hover{background:#eaf0eb}
#accountCard .pc-actions button strong{font:600 16px/1.5 system-ui,"Microsoft YaHei",sans-serif}
#accountCard .pc-actions button span{font:400 13px/1.5 system-ui,"Microsoft YaHei",sans-serif;color:#718177}
#accountCard .pc-edit-intro{margin:0 0 22px}
#accountCard #accountProfileForm{display:block;margin:0;padding:0;border:0;background:none}
#accountCard .pc-group{border:1px solid #dce5de;border-radius:12px;background:#fff;margin:0 0 14px;overflow:visible}
#accountCard .pc-group>summary{display:list-item;padding:22px 26px;cursor:pointer;list-style-position:inside;color:#738577}
#accountCard .profile-section-title{display:inline-flex;vertical-align:middle;gap:0;border:0;padding:0;margin:0 0 0 10px;background:none}
#accountCard .profile-section-title>span{display:none}
#accountCard .profile-section-title h3{font-size:16px;line-height:1.5;margin:0 0 3px;color:#274735}
#accountCard .profile-section-title p{font-size:12px;line-height:1.6;margin:0;color:#7c897f}
#accountCard .pc-group-body{padding:0 28px 26px}
#accountCard .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px}
#accountCard .field-grid>label{display:grid;gap:9px;font-size:13px;font-weight:500;color:#52655a;min-width:0}
#accountCard .field-grid input,#accountCard .field-grid select,#accountCard .field-grid textarea{width:100%;min-width:0;min-height:46px;border:1px solid #d6dfd8;border-radius:8px;padding:11px 13px;color:#243d30;background:#fcfdfb;font:400 15px/1.5 system-ui,"Microsoft YaHei",sans-serif;box-shadow:none}
#accountCard .field-grid input:focus,#accountCard .field-grid select:focus,#accountCard .field-grid textarea:focus{outline:2px solid #b7cfbc;outline-offset:1px;border-color:#779780}
#accountCard .field-grid .span-2{grid-column:1/-1}
#accountCard .field-grid .profile-checkbox{display:flex;align-items:center;gap:10px}
#accountCard .profile-checkbox input{width:18px;min-height:18px;accent-color:#214c37}
#accountCard .profile-avatar-upload{border-top:1px solid #e4eae5;padding-top:20px;background:none}
#accountCard .profile-avatar-copy p{font-size:13px;line-height:1.7;color:#76847a}
#accountCard .profile-save-bar{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;gap:14px;margin:20px 0 0;padding:14px 20px;background:#fff;border:1px solid #d6dfd8;border-radius:12px;box-shadow:0 6px 24px #17382912}
#pc-save-hint{font-size:13px;color:#738074;white-space:nowrap}
#accountCard .profile-save-bar .form-status{flex:1;font-size:13px;margin:0;min-height:0}
#accountCard .button{font:600 14px/1.4 system-ui,"Microsoft YaHei",sans-serif;min-height:44px;border-radius:8px;padding:12px 18px;white-space:nowrap}
#accountCard .button.primary{background:#234b37;border:1px solid #234b37;color:#fff;box-shadow:none}
#accountCard .button.secondary{background:#fff;border:1px solid #cfdbd1;color:#284c36}
#accountCard .profile-oral-history{margin:0;padding:26px;border:1px solid #dce5de;border-radius:12px;background:#fff;box-shadow:none}
#accountCard .oral-history-heading{gap:24px;align-items:flex-start}
#accountCard .oral-history-heading .profile-kicker{display:none}
#accountCard .oral-history-heading h3{font-size:21px;margin:0 0 10px}
#accountCard .oral-history-heading p{font-size:13px;line-height:1.8;color:#718275;max-width:540px;margin:0}
#accountCard .oral-history-metrics{margin:24px 0;border:0;background:#f3f6f2;border-radius:8px}
#accountCard .oral-history-metrics>span{padding:16px;font-size:12px;border-color:#e1e7df}
#accountCard .oral-history-project{border:0;border-top:1px solid #dde5dd;border-radius:0;margin-top:20px;padding:20px 0;background:none}
#accountCard .oral-history-project-head{padding:0 0 18px}
#accountCard .oral-history-project-head h4{font-size:18px}
#accountCard .claim-review-panel{margin-top:18px;border:1px solid #e7d4b7;border-radius:12px;padding:24px;background:#fffdf8}
@media(max-width:1100px){#accountCard .profile-identity-strip{grid-template-columns:64px 1fr}#accountCard .account-stats{grid-column:1/-1;border-top:1px solid #e5eae4;padding-top:20px}#accountCard .account-stats>span{flex:1;border-left:0;padding:0 12px}#accountCard .account-stats>span+span{border-left:1px solid #e5eae4}}
@media(max-width:640px){#accountCard .profile-panel-head{padding:4px 0 18px;gap:12px}#accountCard .profile-panel-head h2{font-size:25px}#accountCard .profile-panel-head p{font-size:12px}#accountCard .profile-completeness{min-width:65px}#accountCard .profile-completeness strong{font-size:23px}#accountCard .pc-tabs{gap:0;justify-content:space-between;margin-bottom:20px}#accountCard .pc-tabs button{font-size:14px}#accountCard .profile-identity-strip{padding:20px;gap:15px;grid-template-columns:52px 1fr}#accountCard .profile-initial{width:52px;height:52px}#accountCard .profile-identity-strip h3{font-size:21px}#accountCard .profile-identity-strip p{overflow-wrap:anywhere}#accountCard .account-stats>span{padding:0 8px;min-width:0}#accountCard .account-stats strong{font-size:23px}#accountCard .membership-summary{padding:20px;gap:12px}#accountCard .membership-summary h3{font-size:18px}#accountCard .pc-actions{grid-template-columns:1fr;margin-top:24px}#accountCard .field-grid{grid-template-columns:1fr;gap:18px}#accountCard .pc-group>summary{padding:18px 14px}#accountCard .pc-group-body{padding:0 20px 22px}#accountCard .profile-section-title{margin-left:3px}#accountCard .profile-save-bar{flex-wrap:wrap;padding:12px;gap:8px;bottom:8px}#accountCard .profile-save-bar .form-status{flex:1 1 60%}#accountCard .profile-save-bar button{width:100%}#accountCard .profile-oral-history{padding:20px}#accountCard .oral-history-heading{display:block}#accountCard .oral-history-heading-actions{margin-top:16px;display:flex;gap:10px}#accountCard .oral-history-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}#accountCard .oral-history-metrics>span{padding:12px 6px;font-size:11px}#accountCard .oral-history-metrics strong{display:block;font-size:22px}}
