/* DrCG member interface, layered over the reused DrCG social UI and BP Legacy. */
.drcg-member-area{--drcg-primary:#6732a5;--drcg-accent:#3e7692;--drcg-surface-2:#f4f0f8;--drcg-muted:#6b6178}
.drcg-member-area>.drcg-container{max-width:1220px;width:calc(100% - 40px);padding:0;margin-right:auto;margin-left:auto}
.drcg-member-area h1,.drcg-member-area h2,.drcg-member-area h3{font-family:var(--drcg-font-display);font-weight:700;letter-spacing:normal;line-height:1.65}
.drcg-member-area h1{font-size:max(1.5rem, min(2.3vw, 2rem));font-size:clamp(1.5rem,2.3vw,2rem)}
.drcg-member-area a{color:inherit}
.drcg-next #buddypress .drcg-profile-cover__actions a.drcg-button{color:#fff;background:#6732a5}
.drcg-account-layout{display:grid;grid-template-columns:238px minmax(0,1fr);grid-gap:28px;gap:28px;align-items:start}
.drcg-account-sidebar{padding:20px;background:#fff;border:1px solid #e6dfee;border-radius:14px;position:-webkit-sticky;position:sticky;top:96px;min-width:0}
.drcg-account-identity{display:flex;flex-direction:column;align-items:center;gap:8px;padding:4px 0 20px;text-align:center;border-bottom:1px solid #eee8f3}
.drcg-account-identity img{width:72px;height:72px;object-fit:cover;border-radius:22px;background:#f4f0f8}
.drcg-account-identity strong{font-size:.9375rem}.drcg-account-identity small{font-size:.75rem;color:#766781;line-height:1.8}
.drcg-account-sidebar nav{display:grid;grid-gap:4px;gap:4px;margin:18px -8px}
.drcg-account-sidebar nav a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 12px;border-radius:8px;font-size:.8125rem}
.drcg-account-sidebar nav a[aria-current=page]{background:#efe5fa;color:#6732a5;font-weight:700}
.drcg-account-sidebar nav a:hover{background:#f4f0f8}
.drcg-account-sidebar nav small{padding:0 6px;border-radius:5px;background:#fff}
.drcg-account-community{display:grid;border-top:1px solid #eee8f3;padding-top:14px}
.drcg-account-community>small{color:#94869f;font-size:.6875rem;margin-bottom:8px}.drcg-account-community a{font-size:.8125rem;padding:8px 4px}
.drcg-account-sidebar .drcg-account-logout{display:block;margin-top:16px;padding:12px 0 0;border-top:1px solid #eee8f3;color:#8a3755;font-size:.8125rem}
.drcg-account-main{min-width:0}.drcg-account-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.drcg-account-title h1{margin:4px 0}.drcg-account-title .drcg-button{font-size:.8125rem;background:#fff;border:1px solid #ded9e9;min-height:44px}
.drcg-account-welcome{display:grid;grid-template-columns:minmax(0,1fr) 200px;grid-gap:24px;gap:24px;padding:28px;background:#fff;border:1px solid #ded9e9;border-radius:14px;border-top:3px solid #6732a5}
.drcg-account-welcome>div>span{font-size:.8125rem;color:#81728d}.drcg-account-welcome h2{font-size:1.5rem;margin:10px 0}.drcg-account-welcome p{font-size:.875rem;line-height:1.9;color:#6b6178}.drcg-account-welcome .drcg-button{font-size:.8125rem;margin-top:8px}
.drcg-account-progress{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px;background:#f4f0f8;border-radius:10px;text-align:center}
.drcg-account-progress strong{font-size:2.25rem;font-weight:700;color:#6732a5}.drcg-account-progress span,.drcg-account-progress a{font-size:.75rem}.drcg-account-progress progress{width:100%;height:7px;border:0;border-radius:8px;accent-color:#6732a5}.drcg-account-progress a{color:#6732a5}
.drcg-account-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px;margin:20px 0 28px}
.drcg-account-stats a{display:flex;flex-direction:column;gap:8px;padding:18px;background:#fff;border:1px solid #e6dfee;border-radius:10px}.drcg-account-stats strong{font-size:1.6rem;color:#6732a5}.drcg-account-stats span{font-size:.75rem;color:#6b6178}
.drcg-account-section{padding:24px;border:1px solid #e6dfee;border-radius:14px;background:#fff}.drcg-account-section .drcg-section-heading h2{font-size:1.25rem}.drcg-account-section .drcg-section-heading>a{font-size:.75rem;color:#6732a5}
.drcg-member-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:170px;padding:28px;background:#f8f5fb;border:1px dashed #d8c9e5;border-radius:12px;text-align:center}.drcg-member-empty .drcg-wire-cube{margin:14px}.drcg-member-empty h3{margin:4px 0}.drcg-member-empty p{margin:0;color:#766781;font-size:.875rem;line-height:1.9}.drcg-member-empty a{color:#6732a5;font-size:.8125rem}
.drcg-account-shortcuts,.drcg-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px;margin:24px 0}.drcg-account-shortcuts a,.drcg-settings-grid a{display:flex;flex-direction:column;gap:14px;padding:22px;border:1px solid #e6dfee;background:#fff;border-radius:12px}.drcg-account-shortcuts span,.drcg-settings-grid p{font-size:.8125rem;color:#766781;line-height:1.9}.drcg-settings-grid span{color:#6732a5;font-size:.75rem}
.drcg-member-notice{padding:16px 20px;border:1px solid #a2cbb8;border-radius:10px;background:#edf7f1;color:#245d42;margin:0 0 20px}
.drcg-profile-image-tools{display:flex;align-items:center;gap:16px;padding:20px;background:#fff;border:1px solid #e6dfee;border-radius:12px;margin-bottom:20px}.drcg-profile-image-tools img{width:64px;height:64px;border-radius:18px}.drcg-profile-image-tools>div{flex:1}.drcg-profile-image-tools p{font-size:.75rem;color:#766781;margin:6px 0}.drcg-profile-image-tools a{font-size:.75rem;color:#6732a5;padding:10px 12px;border:1px solid #ded9e9;border-radius:8px}
.drcg-profile-form fieldset{min-width:0;margin:0 0 24px;padding:24px;border:1px solid #e6dfee;border-radius:12px;background:#fff}.drcg-profile-form legend{font-size:1.0625rem;font-weight:700;padding:0 8px}.drcg-profile-form label{display:flex;flex-direction:column;gap:8px;margin:0 0 20px;font-size:.8125rem;font-weight:700}.drcg-profile-form input,.drcg-profile-form textarea,.drcg-profile-form select{width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid #d8cfe2;border-radius:8px;background:#fff;color:#292032;font:inherit;font-size:.875rem;font-weight:400;box-shadow:none}.drcg-profile-form :is(input,textarea,select){width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid #d8cfe2;border-radius:8px;background:#fff;color:#292032;font:inherit;font-size:.875rem;font-weight:400;box-shadow:none}.drcg-profile-form textarea{resize:vertical;line-height:1.9}.drcg-profile-form p,.drcg-profile-form small{font-size:.75rem;line-height:1.9;color:#766781;font-weight:400}.drcg-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.drcg-project-row{border-bottom:1px solid #eee8f3;padding-top:12px}.drcg-form-footer{display:flex;align-items:center;gap:20px}.drcg-form-footer>a{font-size:.8125rem;color:#6732a5}
.drcg-member-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.drcg-member-library article{min-width:0;padding:12px;border:1px solid #e6dfee;border-radius:12px;background:#fff}.drcg-member-library article>a{display:grid;grid-template-columns:92px minmax(0,1fr);grid-gap:14px;gap:14px;align-items:start}.drcg-member-library img,.drcg-library-placeholder{display:grid;align-items:center;justify-items:center;place-items:center;width:92px;height:92px;object-fit:cover;border-radius:8px;background:#f4f0f8}.drcg-member-library small{font-size:.625rem;color:#81728d}.drcg-member-library h2{font-size:.8125rem;margin:6px 0;line-height:1.9}.drcg-member-library .drcg-action-button{margin-top:10px;font-size:.6875rem;min-height:40px}.drcg-library-pages{display:flex;gap:10px;margin:24px 0}.drcg-library-pages>*{padding:8px 12px;background:#fff;border:1px solid #e6dfee;border-radius:8px}.drcg-library-pages .current{background:#6732a5;color:#fff}
.drcg-auth-layout{display:grid;grid-template-columns:1.1fr 1fr;max-width:1060px;margin:28px auto 60px;border:1px solid #ded9e9;border-radius:18px;overflow:hidden;background:#fff}.drcg-auth-story{position:relative;padding:44px;background:#241735;color:#fff}.drcg-auth-story>span{font-size:.6875rem;letter-spacing:.16em;color:#bd9ede}.drcg-auth-story h1{color:#fff;margin:18px 0}.drcg-auth-story p{color:#d1bfdf;font-size:.9375rem;line-height:2}.drcg-auth-art{display:grid;align-items:center;justify-items:center;place-items:center;height:170px}.drcg-auth-art .drcg-wire-cube{width:100px;height:100px;color:#ae84d2}.drcg-auth-features{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.drcg-auth-features span{padding:6px 10px;background:#ffffff0d;border:1px solid #ffffff20;border-radius:6px;font-size:.75rem}.drcg-auth-form{padding:44px;align-self:center}.drcg-auth-form h2{font-size:1.5rem;margin:10px 0}.drcg-auth-form>p{font-size:.875rem;color:#81728d;margin-bottom:28px}.drcg-auth-form form label{display:block;font-size:.8125rem;font-weight:700;margin-bottom:8px}.drcg-auth-form input.input{width:100%;min-height:48px;border:1px solid #d8cfe2;border-radius:8px;padding:10px 12px;background:#fff;font:inherit}.drcg-auth-form .login-remember label{display:flex;align-items:center;gap:8px;font-weight:400}.drcg-auth-form #wp-submit{width:100%;min-height:48px;border:0;border-radius:8px;background:#6732a5;color:#fff;font:inherit;font-weight:700;cursor:pointer}.drcg-auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;margin-top:20px;font-size:.75rem;color:#6732a5}
/* BP Legacy integration preserves native forms, IDs, scripts and authorization. */
.drcg-next #buddypress #item-header{display:block;overflow:visible;margin:0}
.drcg-next #buddypress #item-header .drcg-profile-cover{border:1px solid #e6dfee;border-radius:16px;margin-bottom:20px}
.drcg-profile-cover__backdrop{position:relative;height:210px;background-color:#261934;background-image:linear-gradient(120deg,#241735,#44265e 65%,#345572)}
.drcg-profile-cover__backdrop:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:36px 36px;pointer-events:none}
.drcg-profile-cover__signature{position:absolute;top:30px;left:28px;color:#d3b6ec;font-size:.625rem;letter-spacing:.18em}
.drcg-next a.drcg-cover-edit{position:absolute;top:24px;right:24px;z-index:2;padding:8px 12px;background:#ffffffea;border:1px solid #ffffff8c;border-radius:8px;color:#522481;font-size:.75rem;min-height:40px}
.drcg-next #buddypress .drcg-profile-cover__body{position:relative;align-items:end;margin-top:-56px;padding:0 28px 22px;grid-template-columns:136px minmax(0,1fr) auto}
.drcg-next #buddypress .drcg-profile-cover__avatar img{width:136px;height:136px;margin:0;border:6px solid #fff;border-radius:28px}
.drcg-next #buddypress .drcg-profile-cover__identity{padding-top:68px}.drcg-next #buddypress .drcg-profile-cover__name h1{font-size:1.75rem;color:#292032;margin:0}.drcg-profile-cover__headline{font-size:.9375rem;line-height:1.9}.drcg-profile-cover__meta{font-size:.75rem}.drcg-profile-cover__actions .drcg-button{background:#6732a5;color:#fff;font-size:.8125rem}
.drcg-profile-cover__stats>span{display:flex;align-items:center;gap:6px}.drcg-profile-cover__about{font-size:.875rem;line-height:1.9}.drcg-profile-cover__about:empty{display:none}
.drcg-next #buddypress #item-nav{position:static;background:transparent;padding:0}.drcg-next #buddypress #object-nav ul{display:flex;gap:4px;overflow-x:auto;flex-wrap:nowrap;padding:8px;background:#fff;border:1px solid #e6dfee;border-radius:12px}.drcg-next #buddypress #object-nav li{float:none;margin:0;flex:none}.drcg-next #buddypress #object-nav a{padding:12px 14px;font-size:.8125rem;min-height:44px;border-radius:8px}.drcg-next #buddypress #object-nav li.selected a,.drcg-next #buddypress #object-nav li.current a{background:#6732a5;color:#fff;box-shadow:none}.drcg-next #buddypress #object-nav a span{background:#ffffff33;color:inherit;border:0}
.drcg-next #buddypress #item-body{min-width:0;padding:24px;border:1px solid #e6dfee;background:#fff;border-radius:14px;clear:both}.drcg-next #buddypress #subnav{margin:0 0 20px}.drcg-next #buddypress #subnav ul{display:flex;gap:4px;flex-wrap:wrap;overflow:visible;background:#f5f1f9;padding:6px}.drcg-next #buddypress #subnav li{float:none;margin:0}.drcg-next #buddypress #subnav a{font-size:.75rem;min-height:42px;padding:10px 12px}
.drcg-next #buddypress .standard-form input[type=text],.drcg-next #buddypress .standard-form input[type=email],.drcg-next #buddypress .standard-form input[type=password],.drcg-next #buddypress .standard-form input[type=url],.drcg-next #buddypress .standard-form textarea:not(.does-not-exist),.drcg-next #buddypress .standard-form select:not(.does-not-exist){max-width:100%;background:#fff;border:1px solid #d8cfe2;border-radius:8px;padding:10px 12px;font:inherit;font-size:.875rem;min-height:44px;box-sizing:border-box}
.drcg-next #buddypress .standard-form :is(input[type=text],input[type=email],input[type=password],input[type=url],textarea,select){max-width:100%;background:#fff;border:1px solid #d8cfe2;border-radius:8px;padding:10px 12px;font:inherit;font-size:.875rem;min-height:44px;box-sizing:border-box}.drcg-next #buddypress .standard-form label{font-size:.875rem;line-height:1.9}.drcg-next #buddypress .standard-form input[type=submit],.drcg-next #buddypress a.button,.drcg-next #buddypress button{background:#6732a5;color:#fff;border:1px solid #6732a5;border-radius:8px;font-size:.8125rem;min-height:42px;padding:9px 14px;text-shadow:none;box-shadow:none}
.drcg-next #buddypress table{width:100%;font-size:.8125rem;border-collapse:collapse}.drcg-next #buddypress th,.drcg-next #buddypress td{padding:12px 10px;border-bottom:1px solid #eee8f3;text-align:right;line-height:1.9}.drcg-next #buddypress .activity-list .activity-item{background:#faf8fc;border-radius:12px;margin:12px 0}.drcg-next #buddypress #whats-new-form{background:#f8f5fb;border-radius:12px;padding:20px;margin-bottom:24px}.drcg-next #buddypress #whats-new-form textarea{background:#fff;min-height:100px}
.drcg-profile-resume{display:block;padding:24px;border:1px solid #e6dfee;border-radius:12px;background:#faf8fc;margin:0 0 24px}.drcg-profile-resume header{margin-bottom:20px}.drcg-profile-resume header span{color:#81728d;font-size:.625rem;letter-spacing:.12em}.drcg-profile-resume h2{font-size:1.25rem;margin:8px 0}.drcg-profile-resume header p{font-size:.8125rem;color:#81728d}.drcg-profile-resume dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:20px;gap:20px}.drcg-profile-resume dt{color:#6732a5;font-size:.8125rem;font-weight:700}.drcg-profile-resume dd{font-size:.875rem;line-height:2;margin:8px 0;white-space:pre-line}.drcg-profile-resume__website{font-size:.8125rem;color:#6732a5!important}
.drcg-member-portfolio{margin:24px 0}.drcg-member-portfolio .drcg-section-heading h2{font-size:1.25rem}.drcg-member-portfolio .drcg-section-heading a{font-size:.75rem;color:#6732a5}.drcg-portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:20px;gap:20px}.drcg-portfolio-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:12px;border:1px solid #e6dfee;border-radius:12px;background:#fff}.drcg-portfolio-card__art{position:relative;display:grid;align-items:center;justify-items:center;place-items:center;aspect-ratio:16/9;background:#241735;border-radius:8px;overflow:hidden}.drcg-portfolio-card__art .drcg-wire-cube{width:56px;height:56px;color:#b28ccc}.drcg-portfolio-card__art small{position:absolute;left:14px;bottom:10px;color:#b28ccc;font-size:.6875rem}.drcg-portfolio-card>strong{font-size:.9375rem}.drcg-portfolio-card>span{display:flex;justify-content:space-between;font-size:.75rem;color:#81728d}.drcg-profile-overview{margin-top:24px}.drcg-profile-overview h2{font-size:1.25rem}
@media(max-width:1050px){.drcg-account-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}.drcg-account-welcome{grid-template-columns:minmax(0,1fr) 155px;padding:22px}.drcg-account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.drcg-profile-image-tools{flex-wrap:wrap}.drcg-auth-layout{grid-template-columns:1fr 1fr}.drcg-auth-story,.drcg-auth-form{padding:28px}.drcg-next #buddypress .drcg-profile-cover__body{grid-template-columns:136px minmax(0,1fr)}.drcg-profile-cover__actions{grid-column:1/-1;padding:0}}
@media(max-width:760px){.drcg-member-area>.drcg-container{width:calc(100% - 24px)}.drcg-account-layout{grid-template-columns:minmax(0,1fr)}.drcg-account-sidebar{position:static;padding:12px}.drcg-account-identity,.drcg-account-community,.drcg-account-sidebar>.drcg-account-logout{display:none}.drcg-account-sidebar nav{display:flex;overflow:auto;gap:6px;margin:0}.drcg-account-sidebar nav a{flex:none;font-size:.75rem}.drcg-account-title{margin:6px 0 20px;gap:12px}.drcg-account-title .drcg-button{font-size:.6875rem;padding:8px 10px}.drcg-account-welcome{grid-template-columns:minmax(0,1fr);gap:20px;padding:20px}.drcg-account-progress{display:grid;grid-template-columns:auto 1fr;grid-gap:12px;gap:12px}.drcg-account-progress strong{grid-row:span 2;font-size:2rem}.drcg-account-progress a{grid-column:1/-1}.drcg-account-section{padding:16px}.drcg-account-shortcuts,.drcg-settings-grid,.drcg-form-grid,.drcg-member-library{grid-template-columns:minmax(0,1fr)}.drcg-profile-form fieldset{padding:16px}.drcg-form-grid{gap:0}.drcg-profile-image-tools{gap:12px;padding:16px}.drcg-auth-layout{grid-template-columns:minmax(0,1fr);margin-top:8px}.drcg-auth-art{display:none}.drcg-auth-story{padding:28px}.drcg-auth-story h1{font-size:1.5rem}.drcg-auth-story p{font-size:.8125rem}.drcg-auth-features{margin-top:16px}.drcg-auth-form{padding:28px}.drcg-next #buddypress .drcg-profile-cover__body{grid-template-columns:minmax(0,1fr);padding:0 20px 20px;margin-top:-45px;gap:12px}.drcg-next #buddypress .drcg-profile-cover__avatar img{width:112px;height:112px}.drcg-next #buddypress .drcg-profile-cover__identity{padding-top:0}.drcg-next #buddypress .drcg-profile-cover__name h1{font-size:1.5rem}.drcg-profile-cover__backdrop{height:160px}.drcg-profile-cover__signature{left:18px;top:85px;font-size:.5rem}.drcg-profile-cover__stats{gap:16px;padding:14px 20px;flex-wrap:wrap;overflow:visible}.drcg-profile-cover__about{padding:16px 20px}.drcg-profile-completion{margin:0}.drcg-next #buddypress #item-body{padding:16px}.drcg-profile-resume{padding:18px}.drcg-profile-resume dl{grid-template-columns:minmax(0,1fr)}.drcg-portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.drcg-next #buddypress table{display:block;max-width:100%;overflow:auto}.drcg-next #buddypress #object-nav a{padding:10px 12px}.drcg-profile-cover__meta{gap:8px}}
@media(max-width:440px){.drcg-portfolio-grid{grid-template-columns:minmax(0,1fr)}.drcg-account-stats{gap:10px}.drcg-account-stats a{padding:14px}.drcg-account-welcome h2{font-size:1.3rem}.drcg-profile-form legend{font-size:.9375rem}}
