/* Majelis 1.6 — profile components, scoped for admin and Ikhwan shells. */
.mp-profile{--mp-ink:#292542;--mp-muted:#77728b;--mp-purple:#6b59ad;--mp-line:#eae7f3;--mp-lavender:#f3f0fb;color:var(--mp-ink);color-scheme:light;min-width:0}
.mp-profile *{box-sizing:border-box}
.mp-profile svg{flex-shrink:0;width:19px;height:19px}
.mp-profile .mp-page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:0 0 24px}
.mp-profile .mp-eyebrow{display:block;font-size:.62rem;letter-spacing:.15em;line-height:1.5;font-weight:700;color:#8c81ac;margin:0 0 8px}
.mp-profile .mp-page-heading h1{font-size:clamp(1.6rem,2.8vw,2.2rem);letter-spacing:-.04em;line-height:1.2;margin:0 0 8px;color:var(--mp-ink)}
.mp-profile .mp-page-heading p{font-size:.8rem;line-height:1.6;color:var(--mp-muted);margin:0}
.mp-profile .mp-back-link{font-size:.73rem;line-height:1.5;color:var(--mp-purple);text-decoration:underline;text-underline-offset:4px}
.mp-profile .mp-panel{padding:25px;background:#fff;border:1px solid #eeebf6;border-radius:22px;box-shadow:0 5px 20px #55477605;min-width:0}
.mp-profile .mp-hero{padding:0;overflow:hidden;margin-bottom:24px}
.mp-profile .mp-hero-main{display:flex;align-items:center;gap:32px;padding:30px}
.mp-profile .mp-portrait{position:relative;flex-shrink:0;width:172px;height:172px;border-radius:50%;background:linear-gradient(140deg,#e4ddf8,#f4edf9 54%,#d8d9f3);border:8px solid #f8f5fc;box-shadow:0 0 0 1px #ede6f8;display:grid;place-items:center;color:#8d76b8}
.mp-profile .mp-portrait img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:center 25%;display:block}
.mp-profile .mp-photo-initials{font-size:2.7rem;letter-spacing:-.05em;font-weight:650}
.mp-profile .mp-portrait-accent{position:absolute;right:-2px;bottom:3px;display:grid;place-items:center;width:35px;height:35px;background:#8571bd;color:#fff;border:4px solid #fff;border-radius:50%}
.mp-profile .mp-portrait-accent svg{width:16px;height:16px}
.mp-profile .mp-hero-info{flex:1;min-width:0}
.mp-profile .mp-name-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.mp-profile .mp-name-row>div{min-width:0}
.mp-profile .mp-member-number{font-size:.69rem;color:#7f7390;letter-spacing:.1em;margin:0 0 6px;font-weight:600}
.mp-profile .mp-hero .mp-name{font-size:clamp(1.5rem,2.3vw,2rem);line-height:1.2;letter-spacing:-.04em;font-weight:750;color:var(--mp-ink);margin:0;overflow-wrap:anywhere}
.mp-profile .mp-spiritual-name{margin:6px 0 0;font-size:.8rem;color:#8b7fa4;line-height:1.5;overflow-wrap:anywhere}
.mp-profile .mp-edit-button{display:flex;align-items:center;justify-content:center;gap:7px;background:#f6f3fc;border:1px solid #ebe4f6;color:var(--mp-purple);font-size:.68rem;padding:9px 12px;border-radius:11px;min-height:40px;box-shadow:none;white-space:nowrap}
.mp-profile .mp-edit-button svg{width:16px;height:16px}
.mp-profile .mp-status-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:13px}
.mp-profile .mp-position{color:#777086;font-size:.73rem;line-height:1.5}
.mp-profile .mp-status-row .badge{font-size:.69rem;padding:5px 9px;border-radius:6px}
.mp-profile .mp-hero-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:15px 24px;margin-top:23px}
.mp-profile .mp-fact{display:flex;gap:10px;align-items:flex-start;min-width:0}
.mp-profile .mp-fact>div{min-width:0}
.mp-profile .mp-fact-icon{color:#a396bd;padding-top:1px}
.mp-profile .mp-fact svg{width:17px;height:17px}
.mp-profile .mp-fact div>span{display:block;color:#7b6e8a;font-size:.68rem;line-height:1.5;margin-bottom:3px}
.mp-profile .mp-fact strong{display:block;color:#5b526e;font-size:.73rem;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.mp-profile .mp-hero-bottom{padding:17px 28px;background:#fcfbfe;border-top:1px solid #f0ecf7;display:flex;justify-content:space-between;align-items:center;gap:15px}
.mp-profile .mp-hero-bottom>p{display:flex;align-items:center;gap:8px;color:#82759b;font-size:.72rem;margin:0;line-height:1.5;min-width:0}
.mp-profile .mp-hero-bottom>p>span{overflow-wrap:anywhere}
.mp-profile .mp-hero-bottom>p svg{width:17px;height:17px}
.mp-profile .mp-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mp-profile .mp-actions :is(button,a.button){padding:9px 12px;border-radius:10px;background:#fff;color:#71628f;border:1px solid #e6dfef;box-shadow:none;font-size:.69rem;line-height:1.4;min-height:40px;display:inline-flex;gap:6px;align-items:center;justify-content:center;text-decoration:none}
.mp-profile .mp-actions :is(button,a.button).primary{background:#7863b4;border-color:#7863b4;color:#fff;box-shadow:0 4px 10px #6b52a81a}
.mp-profile .mp-actions svg{width:16px;height:16px}
.mp-profile .mp-main-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(285px,1fr);gap:24px;align-items:start;margin-bottom:24px}
.mp-profile .mp-main-column,.mp-profile .mp-side-column{display:flex;flex-direction:column;gap:24px;min-width:0}
.mp-profile .mp-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:13px;margin-bottom:23px}
.mp-profile .mp-panel-heading>div{min-width:0}
.mp-profile .mp-panel h2{color:var(--mp-ink);font-size:.99rem;line-height:1.45;font-weight:700;letter-spacing:-.025em;margin:0}
.mp-profile .mp-panel-heading p{font-size:.72rem;line-height:1.65;color:#786d85;margin:6px 0 0}
.mp-profile .mp-heading-icon{display:grid;place-items:center;color:#a395be;background:#f7f4fc;border-radius:10px;width:35px;height:35px;flex-shrink:0}
.mp-profile .mp-heading-icon svg{width:18px;height:18px}
.mp-profile .mp-journey-list{position:relative;display:flex;flex-direction:column;gap:15px;padding-left:17px}
.mp-profile .mp-journey-list:before{content:'';position:absolute;width:1px;background:#d0c6e5;top:41px;bottom:41px;left:0}
.mp-profile .mp-journey-card{position:relative;display:flex;align-items:center;gap:15px;background:#f1f2ff;border:1px solid #edeefd;border-radius:15px;padding:20px 19px}
.mp-profile .mp-journey-card:before{content:'';position:absolute;width:9px;height:9px;left:-22px;top:calc(50% - 5px);border:3px solid #fff;box-shadow:0 0 0 1px #a898ca;background:#a898ca;border-radius:50%}
.mp-profile .mp-journey-1{background:#f5effc;border-color:#f1e9f9}
.mp-profile .mp-journey-2{background:#fff0f8;border-color:#faeaf4}
.mp-profile .mp-journey-symbol{display:grid;place-items:center;background:#e0dffb;color:#8780bf;width:54px;height:54px;border-radius:50%;flex-shrink:0}
.mp-profile .mp-journey-1 .mp-journey-symbol{background:#e9dcf7;color:#9e83be}
.mp-profile .mp-journey-2 .mp-journey-symbol{background:#f8dced;color:#c585af}
.mp-profile .mp-journey-symbol svg{width:25px;height:25px}
.mp-profile .mp-journey-info{flex:1;min-width:0}
.mp-profile .mp-journey-info h3{font-size:.85rem;line-height:1.5;color:#4b3b65;margin:0 0 5px;font-weight:650}
.mp-profile .mp-journey-info p{font-size:.66rem;line-height:1.55;color:#8b7e9b;margin:0}
.mp-profile .mp-journey-count{flex-shrink:0;text-align:right;min-width:51px}
.mp-profile .mp-journey-count strong{display:block;font-size:1.6rem;font-weight:700;letter-spacing:-.04em;line-height:1.2;color:#77649e}
.mp-profile .mp-journey-count span{display:block;font-size:.68rem;color:#7d6a90;margin-top:4px;line-height:1.4}
.mp-profile .mp-footnote{color:#766b84;font-size:.69rem;line-height:1.7;margin:18px 0 0}
.mp-profile .mp-membership-card{background:#66549e;color:#fff;border-radius:22px;padding:26px;position:relative;overflow:hidden}
.mp-profile .mp-membership-card:after{content:'';position:absolute;right:-36px;top:-40px;width:155px;height:155px;border-radius:50%;border:22px solid #ffffff06;pointer-events:none}
.mp-profile .mp-membership-symbol{display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff24;background:#ffffff0c;border-radius:11px;margin-bottom:18px;color:#e4d9fb}
.mp-profile .mp-membership-card .mp-eyebrow{color:#cfc2ed;font-size:.59rem;margin-bottom:9px}
.mp-profile .mp-membership-card h2{font-size:1.25rem;line-height:1.4;letter-spacing:-.035em;color:#fff;margin:0 0 23px;max-width:95%;overflow-wrap:anywhere}
.mp-profile .mp-membership-detail{border-top:1px solid #ffffff20;padding-top:15px;margin-top:15px}
.mp-profile .mp-membership-detail>span{display:block;color:#cec3e6;font-size:.62rem;line-height:1.5;margin-bottom:6px}
.mp-profile .mp-membership-detail>strong{font-size:.76rem;font-weight:500;line-height:1.6;color:#fff;display:block;overflow-wrap:anywhere}
.mp-profile .mp-section-title{display:flex;gap:9px;align-items:center;margin-bottom:18px}
.mp-profile .mp-section-title>span{color:#a192be;display:flex}
.mp-profile .mp-section-title h2{font-size:.9rem}
.mp-profile .mp-section-title svg{width:17px;height:17px}
.mp-profile .mp-identity-list{margin:0}
.mp-profile .mp-identity-list>div{padding:11px 0;border-bottom:1px solid #f1edf7;min-width:0}
.mp-profile .mp-identity-list>div:first-child{padding-top:0}
.mp-profile .mp-identity-list>div:last-child{border:0;padding-bottom:0}
.mp-profile .mp-identity-list dt{font-size:.68rem;line-height:1.5;color:#776b86;margin:0 0 5px}
.mp-profile .mp-identity-list dd{font-size:.74rem;line-height:1.6;color:#655a77;margin:0;overflow-wrap:anywhere}
.mp-profile .mp-more-details{margin-top:19px;padding-top:15px;border-top:1px solid #eee7f6}
.mp-profile .mp-more-details summary{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#8c77b2;font-size:.71rem;font-weight:600;cursor:pointer;list-style:none;min-height:30px}
.mp-profile .mp-more-details summary::-webkit-details-marker{display:none}
.mp-profile .mp-more-details summary svg{width:14px;height:14px;transition:transform .15s}
.mp-profile .mp-more-details[open] summary svg{transform:rotate(90deg)}
.mp-profile .mp-more-details[open] .mp-identity-list{margin-top:12px}
.mp-profile .mp-documents>p{font-size:.73rem;color:#796b88;line-height:1.7;margin:0 0 7px}
.mp-profile .mp-documents>small{display:block;color:#7e708b;font-size:.68rem;line-height:1.6}
.mp-profile .mp-document-link,.mp-profile .mp-document-action button{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:15px;padding:9px 12px;background:#f6f2fc;border:1px solid #e9e2f3;border-radius:10px;font-size:.71rem;color:#8970a8;text-decoration:none;min-height:40px;box-shadow:none}
.mp-profile .mp-document-action button{background:#fff;margin-top:9px}
.mp-profile .mp-account-links{display:flex;flex-direction:column;gap:3px}
.mp-profile .mp-account-links :is(a,button){display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#827295;font-size:.73rem;padding:11px 0;border-radius:0;box-shadow:none;min-height:44px;text-align:left;text-decoration:none}
.mp-profile .mp-account-links :is(a,button)>span{flex:1}
.mp-profile .mp-account-links :is(a,button)>svg:last-child{width:13px;height:13px;color:#b1a4c1}
.mp-profile .mp-account-links :is(a,button)>svg:first-child{width:17px;height:17px;color:#aa9abd}
.mp-profile .mp-account-links :is(a,button):hover{color:#604690;background:transparent}
.mp-profile .mp-record-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-bottom:23px;align-items:start}
.mp-profile .mp-request{padding:18px 0;border-top:1px solid #f0ebf7}
.mp-profile .mp-request:first-child{padding-top:0;border-top:0}
.mp-profile .mp-request:last-child{padding-bottom:0}
.mp-profile .mp-request>div{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.mp-profile .mp-request h3{font-size:.79rem;line-height:1.5;color:#6a587f;margin:0;font-weight:650}
.mp-profile .mp-request p{font-size:.71rem;line-height:1.7;color:#7a6987;margin:8px 0}
.mp-profile .mp-request small{display:block;font-size:.69rem;line-height:1.7;color:#80708d}
.mp-profile .mp-request .mp-decision-note{background:#f7f3fb;border-radius:8px;padding:10px 12px;margin-top:12px}
.mp-profile .mp-request .badge{font-size:.6rem;white-space:nowrap}
.mp-profile .timeline{margin:0}
.mp-profile .timeline-item{border-left-color:#e3daef;padding-left:20px;padding-bottom:23px}
.mp-profile .timeline-item:last-child{padding-bottom:0}
.mp-profile .timeline-item:before{width:8px;height:8px;background:#ac9cca;box-shadow:0 0 0 4px #f8f4fd;left:-4.5px;top:5px}
.mp-profile .timeline-item h3{color:#67567c;font-size:.8rem;line-height:1.55;margin-bottom:7px}
.mp-profile .timeline-item p{font-size:.71rem;line-height:1.8;color:#786786;overflow-wrap:anywhere}
.mp-profile .timeline-item .badge{font-size:.6rem}
.mp-profile .mp-fasting .panel{padding:25px;background:#fff;border:1px solid #eeebf6;border-radius:22px;box-shadow:0 5px 20px #55477605;backdrop-filter:none;min-width:0}
.mp-profile .mp-fasting .panel-head{gap:12px;align-items:center;margin-bottom:22px}
.mp-profile .mp-fasting h2{font-size:.99rem;line-height:1.4;color:var(--mp-ink)}
.mp-profile .mp-fasting .button{font-size:.64rem;color:#8b75a9;background:#f8f4fc;border-color:#e8e0f1;padding:8px 10px;min-height:36px;white-space:nowrap;border-radius:9px}
.mp-profile .mp-fasting .muted{font-size:.72rem;color:#7b6c87}
.mp-profile .empty{background:#fcfaff;border:1px dashed #e6dfef;border-radius:14px;padding:25px 16px;color:#b4a6c3;min-width:0}
.mp-profile .empty strong{color:#8c7a9d;font-size:.78rem;line-height:1.6}
.mp-profile .empty p{color:#81718e;font-size:.69rem;line-height:1.7}
.mp-profile .mp-profile-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 2px}
.mp-profile .mp-profile-footer>span{color:#7d708b;font-size:.68rem;line-height:1.7}
.mp-profile :is(a,button,summary):focus-visible{outline:3px solid #ac92d2;outline-offset:4px}
.mp-profile .mp-edit-button:hover,.mp-profile .mp-actions :is(button,a.button):hover,.mp-profile .mp-document-link:hover{background:#f2ecfc;border-color:#c9b9e2;color:#69508e}
.mp-profile .mp-actions :is(button,a.button).primary:hover{background:#6851a3;border-color:#6851a3;color:#fff}
@media(min-width:1450px){.mp-profile .mp-hero-main{gap:40px;padding:34px 36px}.mp-profile .mp-portrait{width:186px;height:186px}.mp-profile .mp-hero-facts{column-gap:40px}}
@media(max-width:1150px){.mp-profile .mp-hero-main{padding:25px;gap:24px}.mp-profile .mp-portrait{width:135px;height:135px;border-width:6px}.mp-profile .mp-hero-facts{gap:13px 16px}.mp-profile .mp-hero .mp-name{font-size:1.55rem}.mp-profile .mp-edit-button span{display:none}.mp-profile .mp-edit-button{width:38px;padding:9px;min-height:38px}.mp-profile .mp-hero-bottom{align-items:flex-start;flex-direction:column;padding:17px 25px}.mp-profile .mp-main-grid{grid-template-columns:minmax(0,1.25fr) minmax(255px,1fr);gap:19px}.mp-profile .mp-panel{padding:21px}.mp-profile .mp-main-column,.mp-profile .mp-side-column{gap:19px}.mp-profile .mp-journey-card{gap:11px;padding:17px 13px}.mp-profile .mp-journey-symbol{width:43px;height:43px}.mp-profile .mp-journey-symbol svg{width:22px;height:22px}.mp-profile .mp-journey-count strong{font-size:1.4rem}.mp-profile .mp-journey-info h3{font-size:.8rem}.mp-profile .mp-record-grid{gap:19px}}
@media(max-width:850px){.mp-profile .mp-main-grid{grid-template-columns:1fr}.mp-profile .mp-side-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.mp-profile .mp-identity{grid-row:span 3}.mp-profile .mp-membership-card{padding:23px}.mp-profile .mp-record-grid{grid-template-columns:1fr}.mp-profile .mp-main-column{gap:19px}.mp-profile .mp-profile-footer{flex-direction:column;align-items:flex-start}.mp-profile .mp-journey-card{padding:19px}.mp-profile .mp-journey-symbol{width:52px;height:52px}.mp-profile .mp-journey-count strong{font-size:1.6rem}.mp-profile .mp-journey-info h3{font-size:.85rem}}
@media(max-width:560px){.mp-profile .mp-page-heading{margin-bottom:20px;align-items:flex-start;flex-direction:column;gap:9px}.mp-profile .mp-page-heading h1{font-size:1.7rem}.mp-profile .mp-hero{border-radius:20px;margin-bottom:19px}.mp-profile .mp-hero-main{flex-direction:column;align-items:stretch;padding:25px 21px 23px;gap:22px}.mp-profile .mp-portrait{width:132px;height:132px;align-self:center}.mp-profile .mp-name-row{position:relative;justify-content:center;text-align:center}.mp-profile .mp-name-row>div{max-width:100%;padding:0 18px}.mp-profile .mp-hero .mp-name{font-size:1.6rem;line-height:1.25}.mp-profile .mp-edit-button{position:absolute;right:-4px;top:-65px}.mp-profile .mp-status-row{justify-content:center;margin-top:11px}.mp-profile .mp-position{font-size:.68rem}.mp-profile .mp-hero-facts{gap:17px 12px;border-top:1px solid #efe9f6;padding-top:22px;margin-top:23px}.mp-profile .mp-fact{gap:7px}.mp-profile .mp-fact strong{font-size:.69rem}.mp-profile .mp-fact div>span{font-size:.68rem}.mp-profile .mp-fact svg{width:15px;height:15px}.mp-profile .mp-hero-bottom{padding:16px 20px;gap:14px}.mp-profile .mp-actions{width:100%;gap:7px}.mp-profile .mp-actions :is(button,a.button){font-size:.69rem;flex:1;padding:10px;min-height:43px}.mp-profile .mp-side-column{display:flex;flex-direction:column;gap:19px}.mp-profile .mp-side-column>section{width:100%}.mp-profile .mp-main-grid{margin-bottom:19px}.mp-profile .mp-panel,.mp-profile .mp-fasting .panel{padding:22px 20px;border-radius:20px}.mp-profile .mp-panel-heading{margin-bottom:20px}.mp-profile .mp-panel-heading p{font-size:.68rem}.mp-profile .mp-journey-card{padding:17px 13px;gap:11px}.mp-profile .mp-journey-symbol{width:44px;height:44px}.mp-profile .mp-journey-info p{font-size:.68rem}.mp-profile .mp-journey-info h3{font-size:.8rem}.mp-profile .mp-journey-count{min-width:41px}.mp-profile .mp-journey-count strong{font-size:1.4rem}.mp-profile .mp-journey-count span{font-size:.69rem}.mp-profile .mp-membership-card{padding:25px}.mp-profile .mp-identity-list>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:11px;padding:12px 0}.mp-profile .mp-identity-list dt{margin:0;line-height:1.7}.mp-profile .mp-identity-list dd{font-size:.72rem}.mp-profile .mp-request>div{flex-wrap:wrap}.mp-profile .mp-fasting .panel-head{align-items:flex-start}.mp-profile .mp-fasting h2{font-size:.9rem}.mp-profile .mp-profile-footer .mp-actions{width:auto}}
@media(prefers-reduced-motion:reduce){.mp-profile *{transition:none!important}}
