.member-page{max-width:1120px;margin:38px auto;padding:0 20px;color:#3b3440}.member-card{padding:28px;border:1px solid #f1e5ed;border-radius:24px;background:#fff;box-shadow:0 4px 24px #42223e05}.member-identity{display:flex;align-items:center;gap:24px;background:linear-gradient(115deg,#fff,#fff0f7)}.member-identity h1{font-size:2.125rem;margin:6px 0;overflow-wrap:anywhere}.member-avatar{border-radius:50%;background:#fff;border:5px solid #fff;object-fit:cover}.member-eyebrow{color:#ad326b;font-size:1rem}.member-button{margin-inline-start:auto;padding:12px 18px;border-radius:14px;background:#a52e66;color:#fff}.member-stats{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:16px;margin:24px 0}.member-card h2{font-size:1.875rem;margin:12px 0}.member-card small{font-size:1.125rem}.member-card p{line-height:1.9;color:#756879}.member-current{background:#fff0f7;position:relative}.member-current a{display:inline-block;margin-top:20px;color:#9d285e}.member-emblem{float:left;font-size:3rem;color:#c44582}.member-links{display:flex;flex-wrap:wrap;gap:22px;margin-bottom:24px}.member-links a{color:#9d285e}.member-next{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:38px}.member-next h2{font-size:1.625rem}.member-next progress{accent-color:#bc3c7e;max-width:100%;width:240px;height:12px}.member-badges>h2{font-size:1.875rem}.member-badges>p{color:#756879;margin:10px 0 24px}.badge-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:start}.badge-card{background:#fff;border:1px solid #f0e5ed;border-radius:22px;overflow:hidden;text-align:center;min-width:0}.badge-card summary{cursor:pointer;list-style:none;padding:20px 10px}.badge-card summary::-webkit-details-marker{display:none}.badge-card img{margin:0 auto 16px;max-width:100%;height:auto}.badge-card strong,.badge-card span{display:block;overflow-wrap:anywhere}.badge-card strong{font-size:1.125rem}.badge-card span{font-size:0.875rem;color:#817484;margin-top:8px}.badge-card .badge-more{color:#a52e66}.badge-card.is-locked img{filter:grayscale(1);opacity:.4}.badge-details{border-top:1px solid #f0e5ed;padding:14px;font-size:1rem;line-height:1.9}.badge-details p{margin:6px 0}.member-page a:focus-visible,.badge-card summary:focus-visible,.achievement-pill:focus-visible,[role=button]:focus-visible{outline:3px solid #a52e66;outline-offset:4px}.achievement-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #f2ccdf;border-radius:999px;background:#fff1f8;color:#96245b;padding:7px 12px;font-size:0.875rem;white-space:nowrap}.achievement-narrow{display:none}@media(max-width:800px){.member-stats{grid-template-columns:1fr 1fr}.member-current{grid-column:1/-1}.badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.member-identity{flex-wrap:wrap}.member-button{margin-inline-start:0}.member-next{flex-wrap:wrap}}@media(max-width:480px){.member-page{margin:20px auto;padding:0 12px}.member-card{padding:20px}.member-identity{gap:14px}.member-avatar{width:80px;height:80px}.member-identity h1{font-size:1.75rem}.member-stats{gap:10px}.member-card h2{font-size:1.625rem}.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.badge-card img{width:94px}.achievement-wide{display:none}.achievement-narrow{display:inline}.member-links{gap:18px}.p-nav{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.member-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.p-nav .achievement-pill{color:#96245b!important}.member-next progress{-webkit-appearance:none;appearance:none;border:0;border-radius:999px;overflow:hidden;background:#f2e4ee}.member-next progress::-webkit-progress-bar{background:#f2e4ee}.member-next progress::-webkit-progress-value{background:#bc3c7e}.member-next progress::-moz-progress-bar{background:#bc3c7e}

.p-account-nav{display:flex;align-items:center;gap:12px;margin-inline-start:auto;flex-wrap:wrap}.p-account-nav .p-return{margin:0}.member-page .member-button{color:#fff}.member-identity>div{min-width:0;flex:1}.member-button{flex-shrink:0}
/* Shared profile hub: the supplied cover, overlapping identity card and tab layout. */
.profile-hub{max-width:1320px;margin:28px auto 80px;padding:0 24px;color:#39333c}.profile-cover{height:350px;position:relative;border-radius:20px;background:#e3bdcb url('/achievements/profile-cover.jpg') center center/cover no-repeat}.profile-cover-link{position:absolute;top:18px;left:20px;display:inline-flex;align-items:center;gap:8px;background:#fff;border-radius:8px;padding:7px 12px;font-size:1rem;color:#51434c}.profile-body{display:grid;grid-template-columns:280px minmax(0,1fr);gap:26px;padding:0 46px;align-items:start}.profile-sidebar{position:relative;margin-top:-132px;min-width:0}.profile-hub .member-identity{display:flex;flex-direction:column;text-align:center;gap:0;background:#fff;padding:30px 22px 26px;border-radius:22px;box-shadow:0 3px 7px #3e2d3c16}.profile-hub .member-avatar{width:160px;height:160px;border-radius:18px;border:0;background:#f8f5f8;object-fit:cover}.profile-hub .member-identity h1{font-size:1.75rem;line-height:1.8;margin:18px 0 8px;width:100%;overflow-wrap:anywhere}.profile-level{font-size:1rem;color:#b33875}.profile-membership{border-top:1px solid #e7e1e6;margin:24px 0 20px;padding-top:20px;width:100%}.profile-hub .profile-membership p{font-size:1rem;margin:0}.profile-outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border:1px solid #ef4a95;border-radius:12px;color:#dd3d86!important;font-size:1rem;line-height:1.6;text-decoration:none;white-space:nowrap}.profile-side-links{padding:14px 8px;display:grid;gap:4px}.profile-side-links a{font-size:1rem;padding:10px 6px;color:#776774;display:flex;justify-content:space-between;gap:12px}.profile-side-links a:hover{color:#b02d6b}.profile-main{min-width:0;padding-bottom:25px}.profile-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid #e9e1e7;overflow-x:auto;white-space:nowrap;margin:14px 0 24px;scrollbar-width:thin}.profile-tabs a{display:block;padding:16px 2px 18px;font-size:1rem;color:#52474f;border-bottom:3px solid transparent;text-decoration:none}.profile-tabs a[aria-current=page]{color:#e94490;border-color:#f34c9b}.profile-panel{min-height:550px}.profile-panel-heading h2{font-size:1.625rem;margin:0 0 8px}.profile-panel-heading p{font-size:1rem;color:#8b7e89;margin-bottom:24px}.profile-hub .member-stats{grid-template-columns:1.3fr 1fr 1fr;gap:12px;margin:0 0 20px}.profile-hub .member-stats .member-card{padding:20px 16px;border-radius:18px}.profile-hub .member-stats h2{font-size:1.625rem;line-height:1.8}.profile-hub .member-stats p{font-size:0.875rem}.profile-hub .member-stats small{font-size:1rem}.profile-hub .member-emblem{font-size:1.875rem}.profile-hub .member-current a{font-size:0.875rem;margin-top:14px}.profile-hub .member-next{padding:22px;border-radius:18px;margin-bottom:28px}.profile-hub .member-next h2{font-size:1.375rem}.profile-hub .member-next p{font-size:1rem}.profile-hub .member-next progress{width:180px}.profile-hub .badge-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.profile-hub .member-badges>h2{font-size:1.625rem}.profile-hub .member-badges>p{font-size:1rem;line-height:1.9}.profile-hub .badge-card{border-radius:18px}.profile-hub .badge-card img{width:94px}.profile-hub .badge-card strong{font-size:1rem}.profile-hub .badge-card summary{padding:20px 8px}.profile-hub .badge-card span{font-size:0.8125rem}.profile-order{margin:18px 0;padding:0;overflow:hidden;border-radius:20px;box-shadow:0 3px 8px #3e2d3c12}.profile-order summary{list-style:none;cursor:pointer;display:flex;gap:16px;justify-content:space-between;align-items:center;padding:24px 20px;font-size:1rem}.profile-order summary::-webkit-details-marker{display:none}.profile-order summary>span{min-width:0}.profile-order summary small,.profile-order summary strong{display:block;line-height:1.9}.profile-order summary small{font-size:0.8125rem;color:#8b7e89}.profile-order summary strong{font-size:0.875rem;overflow-wrap:anywhere}.profile-order summary .profile-outline{font-size:0.8125rem;padding:8px 10px}.profile-order-status{font-size:0.875rem;color:#c43b7c}.profile-order-items{padding:22px;background:#fffcf5;font-size:1rem;border-top:1px solid #efe9e9}.profile-order-items p{display:flex;justify-content:space-between;gap:18px;margin:10px 0}.profile-order-items a{display:inline-block;margin-top:14px;color:#c43b7c}.profile-record{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:16px 0;padding:24px;border-radius:18px}.profile-record h3{font-size:1.25rem;line-height:1.8;overflow-wrap:anywhere}.profile-record p{font-size:1rem;margin-top:8px}.profile-empty{text-align:center;padding:60px 24px;margin-top:16px;box-shadow:none}.profile-empty>span{font-size:3.375rem;color:#dd80ae}.profile-empty h2{font-size:1.625rem}.profile-empty p{font-size:1rem;margin:14px auto 24px;max-width:400px}.profile-pagination{margin:24px 0}.profile-tabs a:focus-visible,.profile-side-links a:focus-visible,.profile-outline:focus-visible,.profile-order summary:focus-visible{outline:3px solid #a52e66;outline-offset:3px}
@media(max-width:1100px){.profile-body{padding:0 22px;grid-template-columns:240px minmax(0,1fr);gap:20px}.profile-hub .member-identity{padding:24px 18px}.profile-tabs{gap:20px}.profile-hub .badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-hub .member-stats{grid-template-columns:1fr 1fr}.profile-hub .member-current{grid-column:1/-1}.profile-hub .member-next{flex-wrap:wrap}.profile-order summary{flex-wrap:wrap}.profile-order summary>span{flex:1 1 30%}}
@media(max-width:700px){.profile-hub{padding:0 12px;margin:18px auto 42px}.profile-cover{height:200px;border-radius:16px}.profile-cover-link{top:12px;left:12px;font-size:0.875rem}.profile-body{display:flex;flex-direction:column;padding:0 12px;gap:4px}.profile-sidebar{width:100%;margin-top:-68px}.profile-hub .member-identity{padding:22px 18px;display:grid;grid-template-columns:90px minmax(0,1fr);column-gap:18px;text-align:right;align-items:center}.profile-hub .member-avatar{width:90px;height:90px;grid-row:1/4;border:4px solid #fff}.profile-hub .member-identity h1{font-size:1.375rem;line-height:1.7;margin:0 0 6px}.profile-level{font-size:0.875rem}.profile-membership{grid-column:2;border:0;padding:0;margin:8px 0 0}.profile-hub .profile-membership p{font-size:0.8125rem}.profile-hub .member-identity>.profile-outline{grid-column:1/-1;justify-self:start;margin-top:18px;font-size:0.875rem}.profile-side-links{display:flex;flex-wrap:wrap;padding:10px 4px;gap:0 18px}.profile-side-links a{font-size:0.8125rem;gap:6px;padding:8px 0}.profile-main{width:100%}.profile-tabs{margin-top:0;gap:22px}.profile-tabs a{font-size:1rem;padding:14px 0}.profile-panel{min-height:350px}.profile-hub .badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-hub .member-stats .member-card{padding:18px 14px}.profile-hub .member-stats h2{font-size:1.375rem}.profile-record{flex-wrap:wrap;padding:20px}.profile-order summary{padding:20px 16px}.profile-order summary>span{flex:1 1 40%}.profile-order summary .profile-outline{flex:0 1 auto}.profile-hub .member-badges>h2{font-size:1.5rem}}
@media(max-width:440px){.profile-hub .badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-body{padding:0 6px}.profile-hub .member-identity h1{font-size:1.25rem}.profile-hub .member-next{padding:20px}.profile-hub .member-next h2{font-size:1.25rem}.profile-order-items p{flex-wrap:wrap}.profile-hub .member-identity{column-gap:12px;padding:20px 14px}}

.profile-streak-heading{font-size:1.625rem;margin:32px 0 18px}.profile-cover{background-position:center 46%}.profile-tabs{scroll-padding-inline:12px}
/* Account-specific cover choices and private profile collections. */
.profile-cover.cover-ocean,.cover-swatch.cover-ocean{background-color:#9bd7ed;background-blend-mode:multiply}.profile-cover.cover-sage,.cover-swatch.cover-sage{background-color:#a0d2b1;background-blend-mode:multiply}.profile-cover.cover-lavender,.cover-swatch.cover-lavender{background-color:#baa4e5;background-blend-mode:multiply}.profile-cover.cover-sunset,.cover-swatch.cover-sunset{background-color:#f0b987;background-blend-mode:multiply}
.profile-cover-picker{position:absolute;right:28px;top:24px;z-index:5}.profile-cover-picker>summary{background:#fff;cursor:pointer}.profile-cover-picker form{background:#fff;padding:20px;border-radius:20px;box-shadow:0 8px 30px #51374730;max-width:310px}.profile-cover-picker fieldset{border:0;margin:0 0 12px;padding:0}.profile-cover-picker label{display:flex;align-items:center;gap:10px;margin:10px 0;cursor:pointer}.cover-swatch{display:inline-block;width:55px;height:28px;border-radius:8px;background-image:url('/achievements/profile-cover.jpg');background-size:cover}.profile-cover-picker input:focus-visible{outline:3px solid #973764;outline-offset:4px}
.profile-order-status{padding:6px 12px;border-radius:20px;font-size:.9rem}.profile-order-status.status-completed{background:#e6f5eb;color:#23643a}.profile-order-status.status-failed,.profile-order-status.status-revoked{background:#fdeaea;color:#a72b35}.profile-order-status.status-pending{background:#fff4d8;color:#785507}.profile-order-status.status-refunded,.profile-order-status.status-partially_refunded{background:#e8effc;color:#315d9a}.profile-order-status.status-credited{background:#f1e8fa;color:#74419c}.profile-reference{display:flex;align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:20px}.profile-reference input{font-family:monospace;max-width:100%;border:1px solid #dccdda;border-radius:10px;padding:10px;background:#faf7fb;color:#3d3540}.profile-reference small{color:#746c78}
.profile-saved-filters{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.profile-saved-filters [aria-current]{background:#973764;color:white}.profile-saved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.profile-saved-card{overflow:hidden;padding:0}.profile-saved-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.profile-saved-card a>div{padding:20px}.profile-saved-card small{color:#8c7384}.profile-saved-card h3{font-size:1.1rem;margin:12px 0;overflow-wrap:anywhere}.profile-saved-card span{color:#973764}.profile-saved-grid .profile-empty{grid-column:1/-1}.profile-library{min-width:0}.profile-library .r-journal{padding:0}.profile-library .r-header{flex-wrap:wrap}.profile-library input,.profile-library select{max-width:100%}
@media(max-width:600px){.profile-saved-grid{grid-template-columns:1fr}.profile-cover-picker{right:16px;top:16px}.profile-cover-picker form{max-width:260px}.profile-library .r-filters{padding:12px}}
.profile-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}.profile-cover-upload{margin-bottom:10px;cursor:pointer}.profile-cover-picker button:disabled{opacity:.6;cursor:wait}.profile-cover-picker small{display:block;margin-bottom:12px;color:#756b77}.profile-cover-link{z-index:1}.profile-saved-filters a[aria-current]{color:#fff!important}
.profile-order-reference{font-size:0.75rem;color:#7b6d7c;display:block;overflow-wrap:anywhere;white-space:normal}
.profile-saved-toggle{margin:0 20px 20px}.profile-saved-toggle[aria-pressed=false]{background:#fff4f9}
.profile-content-card{min-width:0}.profile-content-card>.course-card,.profile-content-card>.webinars>.w-card{height:100%}.profile-content-card .course-card__media img{width:100%;object-fit:cover}.profile-content-card .pishro-content-card>img{width:100%;aspect-ratio:16/9;object-fit:cover}.profile-content-card .course-card__body{padding:18px}.profile-content-state{color:#827585;font-size:0.875rem;margin:10px 0}.profile-content-card .w-card{margin:0}.profile-content-card a:focus-visible,.profile-content-card button:focus-visible{outline:3px solid #973764;outline-offset:3px}

/* Nested owned-content navigation. Native links preserve reload/back and pagination. */
.profile-owned-contents { scroll-margin-top: 120px; }
.profile-content-tabs { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px; margin: 0 0 24px; border-radius: 16px; background: #f0edf8; }
.profile-content-tabs a { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 auto; min-height: 42px; padding: 8px 14px; border: 1px solid transparent; border-radius: 11px; color: #635a74; text-decoration: none; font-size: 1rem; }
.profile-content-tabs a[aria-current="page"] { background: white; border-color: #d8cde8; color: #b33875; }
.profile-content-tabs a:hover { background: #fff9fc; }
.profile-content-tabs a:focus-visible { outline: 3px solid #a52e66; outline-offset: 2px; }
@media (max-width: 480px) { .profile-content-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .profile-content-tabs a { padding: 8px 4px; } }

.achievement-share{width:min(560px,calc(100vw - 24px));max-height:90dvh;margin:auto;padding:20px;border:1px solid #e5dfee;border-radius:24px;background:#fff;color:#303139;overflow:auto;direction:rtl;box-sizing:border-box}.achievement-share::backdrop{background:#253449ad;backdrop-filter:blur(5px)}.achievement-share>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.achievement-share header span{font-size:.8125rem;color:#87778e}.achievement-share h2{font-size:1.25rem;font-weight:750;margin:4px 0}.achievement-share header button{display:grid;place-items:center;width:36px;height:36px;background:#f6f2fa;border:0;border-radius:50%;cursor:pointer;flex-shrink:0}.achievement-share header svg{width:20px;height:20px}.achievement-share img{width:100%;height:auto;border-radius:18px;border:1px solid #ebe5ef}.achievement-share-privacy,.achievement-share [data-share-message]{font-size:.8125rem;line-height:1.9;margin-top:12px;color:#786d80}.achievement-share [data-share-message]:empty{display:none}.achievement-share-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.achievement-share-actions button{flex:1 1 130px;min-height:44px;border-radius:12px;background:#f5f1fa;border:1px solid #e4dced;color:#675178;font:inherit;font-size:.875rem;padding:10px;cursor:pointer}.achievement-share-actions [data-share-save]{background:#ed4e89;color:#fff;border-color:#ed4e89}.achievement-share button:disabled{opacity:.45;cursor:default}.achievement-share [data-share-link]{width:100%;padding:10px;border:1px solid #e4dced;border-radius:10px}.achievement-share :focus-visible{outline:3px solid #aa568b;outline-offset:3px}.achievement-share [hidden]{display:none!important}

.achievement-share-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px;border:1px solid #e7c7d9;border-radius:10px;background:transparent;color:#a12e61;cursor:pointer;flex-shrink:0;vertical-align:middle}.achievement-share-icon svg{width:18px;height:18px}.achievement-share-icon:hover{background:#fce5f0}.achievement-share-icon:focus-visible{outline:3px solid #aa568b;outline-offset:3px}.member-current .achievement-share-icon{margin-inline-end:8px}.p-streak-strip{align-items:center}.p-streak-strip .achievement-pill{min-width:0}.p-streak-strip .achievement-share-icon{margin:4px 0 4px 8px;border:0;color:#7d234c}

.member-current-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.profile-hub .member-current-actions a,.member-current-actions a{margin-top:0}.member-current-actions .achievement-share-icon{margin:0}.badge-open{display:block;position:relative;width:100%;height:100%;padding:20px 10px;border:0;background:transparent;color:inherit;font:inherit;text-align:center;cursor:pointer}.profile-hub .badge-open{padding:20px 8px}.badge-open:focus-visible{outline:3px solid #a52e66;outline-offset:-4px;border-radius:18px}.badge-open:hover{background:#fff8fc}.badge-open .badge-share-icon{display:flex;align-items:center;justify-content:center;position:absolute;top:8px;left:8px;width:28px;height:28px;margin:0;border:1px solid #e7c7d9;border-radius:9px;color:#a12e61;background:#fff0f6}.badge-share-icon svg{width:16px;height:16px}.achievement-detail [data-badge-image]{width:112px;height:112px;border:0;display:block;margin:0 auto 16px}.achievement-detail>p{line-height:1.9;margin:12px 0;color:#756879}

.achievement-section{margin-block:28px 44px}.achievement-section>h2{margin-bottom:18px}.achievement-section .member-stats{margin-bottom:20px}.achievement-section .member-next{margin-bottom:24px;flex-wrap:wrap;gap:18px}.achievement-section .member-next>div{flex:1 1 240px;min-width:0}.achievement-discover{display:inline-flex;align-items:center;gap:8px;color:#b8417b;font-weight:700;padding:10px 0}.achievement-section progress{width:100%;accent-color:#b8417b}.achievement-section h3{line-height:1.8}.achievement-section .badge-grid{margin-top:16px}
