/* Ejaaba Saraha compact v3 — clean profile tab + one-card form. */
.ej-saraha-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden;gap:4px!important;scrollbar-width:thin;scroll-snap-type:x proximity;padding-block:5px!important;align-items:stretch}
.ej-saraha-tabs>a{flex:0 0 auto!important;min-width:77px!important;max-width:130px!important;scroll-snap-align:start;white-space:nowrap}
.ej-saraha-tabs a[href*="tab=saraha"]{background:linear-gradient(135deg,#173960,#254d79)!important;color:#fff!important;border-radius:12px!important}
.ej-saraha-tabs a[href*="tab=saraha"].active{box-shadow:inset 0 -3px 0 #d9ad68!important}
.ej-saraha-tabs a[href*="tab=saraha"] svg,.ej-saraha-tabs a[href*="tab=saraha"] span{color:#fff!important}
.ejabat-classic-profile-action.ej-saraha-action{background:linear-gradient(120deg,#193b61,#315b86)!important;color:#fff!important;border:1px solid #668baf!important}
.ejabat-classic-profile-action.ej-saraha-action svg{color:inherit!important}
.sr-compose,.sr-inbox-standalone{box-sizing:border-box;width:min(100%,825px);margin:18px auto 42px;padding:0 12px}
.sr-crumb{font-size:.88rem;color:#73849a;margin:0 0 12px}.sr-crumb a{color:#275e99}
.sr-compose-card{background:#0b192c;color:#eff7ff;border:1px solid #405d7d;box-shadow:0 9px 30px #17263c30;border-radius:19px;overflow:hidden}
.sr-compose-head{padding:23px 25px 12px;background:linear-gradient(125deg,#112c4c,#0b192c)}
.sr-mini{color:#d5aa68;font-size:.82rem;font-weight:800;letter-spacing:.01em}
.sr-compose-head h1{font-size:clamp(1.45rem,3vw,1.95rem);line-height:1.35;margin:5px 0 6px;color:white}
.sr-compose-head p{color:#cbd9ed;font-size:.92rem;margin:0;line-height:1.8}
.sr-instructions{margin:9px 24px 4px;border:1px solid #455d76;border-radius:13px;padding:13px 17px;background:#17283c;color:#e6effc}
.sr-instructions h2{margin:0 0 9px;font-size:1rem;color:#f4ce8e}
.sr-instructions ol{margin:0;padding:0 21px 0 0;display:grid;gap:5px}
.sr-instructions li{font-size:.83rem;line-height:1.8;padding-right:2px}
.sr-instructions li::marker{color:#dbb57a;font-weight:900}
.sr-compose-card form{padding:17px 24px 25px}
.sr-choice{margin:0 0 14px;border:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.sr-choice legend{font-size:.88rem;color:#ebf2fb;font-weight:800;padding:0;margin-bottom:7px}
.sr-choice label{position:relative;cursor:pointer}
.sr-choice label input{position:absolute;opacity:0;pointer-events:none}
.sr-choice label span{display:block;border:1px solid #7d94ae;border-radius:10px;padding:8px 21px;background:#142e4d;color:#e8f1fc;font-weight:800;min-width:100px;text-align:center}
.sr-choice label:has(input:checked) span{background:#e3bf83;border-color:#e3bf83;color:#1c314a}
.sr-choice label:has(input:focus-visible) span{outline:3px solid #72aaf7;outline-offset:3px}
.sr-write-label{font-size:.92rem;font-weight:800;display:block;margin-bottom:7px}
.sr-compose textarea,.sr-profile-controls textarea{box-sizing:border-box;display:block;width:100%;min-height:124px;border:1px solid #bfd0e3;border-radius:12px;padding:13px 14px;font:inherit;line-height:1.8;color:#23354b;background:#fbfdff;resize:vertical;outline-offset:3px}
.sr-compose textarea:focus,.sr-profile-controls textarea:focus{outline:2px solid #c6a169}
.sr-form-note{font-size:.8rem;color:#c5d3e5;line-height:1.8;margin:8px 0}
.sr-agree{display:flex;gap:8px;align-items:flex-start;font-size:.82rem;line-height:1.75;color:#e4ecf8;margin:9px 0 17px;cursor:pointer}
.sr-agree input{margin-top:4px;flex:0 0 auto;accent-color:#d5ac6b}
.sr-submit{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:49px;border:0;border-radius:11px;background:#e6ba73;color:#1a3048;cursor:pointer;font:inherit;font-weight:900}
.sr-submit:hover{background:#f1cc92}
.sr-profile{box-sizing:border-box;width:100%;padding:clamp(13px,3vw,23px);border:1px solid #d6e2ef;border-radius:17px;background:#f8fbff;color:#203854}
.sr-profile-head{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;margin-bottom:12px}
.sr-profile-head h2{color:#133d68;margin:3px 0;font-size:1.4rem}
.sr-profile-head p{font-size:.83rem;line-height:1.75;color:#61748e;margin:0}
.sr-profile-settings,.sr-back{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#fff!important;text-decoration:none;background:#1d4d7c;border-radius:10px;padding:9px 13px;font-size:.85rem;font-weight:800;white-space:nowrap}
.sr-back{margin-bottom:12px}
.sr-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border:1px solid #d6e1ef;border-radius:10px;padding:9px 12px;background:white;color:#294762;font-size:.85rem}
.sr-status-dot{width:8px;height:8px;background:#0a9f69;border-radius:50%;flex:0 0 8px}
.sr-status-dot.is-off{background:#ad5961}
.sr-status>a{margin-inline-start:auto;color:#2265a2;font-weight:800}
.sr-pending{padding:9px 12px;border-radius:9px;background:#fff4dd;color:#835d27;font-size:.87rem;margin:10px 0}
.sr-profile-tips{padding:11px 13px;background:#eaf2fb;border:1px solid #d5e3f4;border-radius:11px;margin-top:10px;color:#294563;font-size:.81rem}
.sr-profile-tips strong{display:block;margin-bottom:3px;color:#1c4673}
.sr-profile-tips p{line-height:1.8;margin:0;display:inline}
.sr-profile-tips>a{display:inline-block;color:#175b9e;font-weight:800;margin-inline-start:9px}
.sr-profile-list{display:grid;gap:11px;margin-top:14px}
.sr-profile-card{border:1px solid #dce5ee;border-radius:12px;background:#fff;box-shadow:0 2px 7px #19395b0b;padding:15px}
.sr-profile-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.sr-profile-meta strong,.sr-profile-meta strong a{color:#1e4776;font-size:.94rem}
.sr-profile-meta time{color:#8292a6;font-size:.77rem}
.sr-profile-message{font-size:.97rem;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#293f57;margin:12px 0}
.sr-profile-reply{border-inline-start:3px solid #c9a56b;padding:6px 11px;background:#f4f7fc;border-radius:5px;font-size:.85rem}
.sr-profile-reply strong{color:#355678}
.sr-profile-reply p{margin:5px 0;white-space:pre-wrap;line-height:1.75}
.sr-profile-share{display:inline-block;color:#276195;font-weight:800;font-size:.8rem;margin-top:8px}
.sr-profile-controls{border-top:1px solid #e1e9f1;padding-top:9px;margin-top:12px}
.sr-profile-controls>summary{cursor:pointer;color:#275d90;font-size:.86rem;font-weight:800;padding:3px 0}
.sr-profile-controls form{padding-top:11px;display:grid;gap:10px}
.sr-profile-controls label{font-size:.84rem;color:#294a71;font-weight:700}
.sr-profile-controls textarea{margin-top:7px;min-height:88px}
.sr-profile-confirm{font-size:.78rem!important;line-height:1.8}
.sr-profile-confirm input{accent-color:#1c6097}
.sr-profile-actions{display:flex;flex-wrap:wrap;gap:7px}
.sr-profile-actions button{background:#eff4fa;border:1px solid #c8d8e8;color:#30516f;border-radius:8px;padding:8px 10px;font:inherit;font-size:.79rem;cursor:pointer;font-weight:700}
.sr-profile-actions button[value=publish]{background:#214f7d;color:white}
.sr-profile-actions button[value=report]{color:#a3333e}
.sr-profile-empty{text-align:center;border:1px dashed #c1d0df;border-radius:12px;background:white;padding:27px 15px;display:grid;gap:6px;justify-items:center}
.sr-profile-empty>span{color:#c39d67;font-size:23px}.sr-profile-empty strong{color:#224a73}.sr-profile-empty p{color:#74859a;font-size:.83rem;line-height:1.7;margin:0}
@media(max-width:560px){
 .sr-compose{padding:0 7px;margin:10px auto 22px}
 .sr-compose-card{border-radius:14px}
 .sr-compose-head{padding:17px 15px 10px}
 .sr-instructions{margin:8px 13px 0;padding:11px 12px}
 .sr-instructions li{font-size:.79rem;line-height:1.7}
 .sr-compose-card form{padding:14px 13px 18px}
 .sr-profile{border-radius:12px;padding:12px}
 .sr-profile-head{align-items:flex-start}
 .sr-profile-settings{font-size:.78rem}
 .sr-profile-head h2{font-size:1.19rem}
 .sr-status>a{margin-inline-start:0}
 .ej-saraha-tabs>a{min-width:70px!important;max-width:105px!important}
}
/* Saraha v3: restrained midnight + champagne mobile-first profile experience */
.sr-profile{
 position:relative;isolation:isolate;background:radial-gradient(ellipse at 5% 3%,#214779 0%,transparent 56%),linear-gradient(145deg,#0a1d37 0%,#122e50 100%)!important;
 color:#edf4ff!important;border:1px solid #547ca9!important;
 box-shadow:0 14px 35px #071b3840, inset 0 1px 0 #d2e8ff25!important;
 border-radius:21px!important;overflow:hidden;
}
.sr-profile:before{content:"✦";position:absolute;pointer-events:none;top:4px;left:22px;color:#f8dca83b;font-size:70px;line-height:1;z-index:-1}
.sr-profile-head{padding-bottom:14px;border-bottom:1px solid #b3c9e43b;margin-bottom:15px!important}
.sr-profile-head h2{font-size:clamp(1.3rem,2.6vw,1.85rem)!important;font-weight:900!important;color:#fff!important;letter-spacing:0}
.sr-profile-head p{color:#d1e2f5!important;max-width:480px}
.sr-profile-head .sr-mini{display:inline-block;margin-bottom:4px;color:#e7bf7c;font-weight:900}
.sr-profile-settings{background:#efc688!important;color:#1c314b!important;box-shadow:0 2px 10px #050e2266;padding:10px 14px!important}
.sr-profile-settings:hover{filter:brightness(1.08)}
.sr-status{background:#ffffff10!important;color:#ebf3ff!important;border-color:#9bbbd052!important;padding:11px 13px!important;border-radius:11px!important}
.sr-status>a{color:#f7cd83!important}
.sr-profile-tips{border:1px solid #789bc15c!important;background:#0a1b2e6e!important;color:#c8d8eb!important;font-size:.83rem!important;padding:12px 14px!important}
.sr-profile-tips strong{color:#f5cd8d!important}
.sr-profile-tips a{color:#f5cd8d!important}
.sr-profile-list{gap:12px!important}
.sr-profile-card{background:#fbfdff!important;border:1px solid #a4bbd3!important;border-radius:14px!important;box-shadow:0 9px 21px #06192f38!important;padding:clamp(14px,2.5vw,20px)!important}
.sr-profile-meta strong{font-weight:900}
.sr-profile-empty{background:#ffffff0e!important;border:1px dashed #a8c3de78!important;border-radius:14px!important;box-shadow:inset 0 1px 0 #d2e6ff1b;padding:32px 15px!important}
.sr-profile-empty>span{color:#f4ca8a!important}
.sr-profile-empty strong{color:#fff!important;font-size:1rem}
.sr-profile-empty p{color:#cbdced!important}
.sr-profile-controls{border-color:#d5e0ee!important}
.sr-report-fold{margin-top:9px;padding-top:9px;border-top:1px solid #e3eaf2}
.sr-report-fold>summary{cursor:pointer;font-size:.83rem;color:#ad4e4e;font-weight:800}
.sr-report-fold form{display:grid;gap:10px;padding-top:10px}
.sr-report-button{border:1px solid #b74c4c;background:#a63b46;color:white;border-radius:9px;padding:10px 13px;font-weight:800;font:inherit;cursor:pointer}
.sr-inbox-standalone{max-width:825px}
.sr-quota-warning{margin:16px 23px 24px;padding:19px;border-radius:16px;border:1px solid #ddb7758e;background:linear-gradient(130deg,#273c50,#142b43);display:flex;gap:15px;color:#f5f5f4;align-items:flex-start;box-shadow:inset 0 1px 0 #ffffff1a}
.sr-quota-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f3d79e;color:#182e47;font-weight:900;font-size:25px;flex:0 0 42px}
.sr-quota-warning h2{color:#ffdc9d!important;font-size:clamp(1rem,3vw,1.25rem)!important;margin:0 0 8px}
.sr-quota-warning p{font-size:.9rem;line-height:1.85;margin:0 0 7px;color:#e5effa}
.sr-quota-warning small{display:block;color:#d7e6f9;font-size:.8rem;margin-bottom:7px}
.sr-quota-warning a{color:#ffdc9d!important;font-weight:800;font-size:.83rem}
.sr-compose-card{border-color:#6286aa!important;box-shadow:0 15px 36px #0b234e3d!important}
.sr-compose-head{border-bottom:1px solid #9dc1e62c!important}
.sr-instructions{border-color:#6987a061!important;background:#172f48!important}
.sr-choice label:has(input:checked) span{box-shadow:0 0 0 2px #ffe1a444}
.sr-submit{background:linear-gradient(115deg,#f1d49e,#d8a95f)!important}
.ej-saraha-tabs a[href*="tab=saraha"]{background:linear-gradient(130deg,#0d2d51,#225b91)!important;border:1px solid #d2b0798a!important}
@media(max-width:560px){
 .sr-profile{border-radius:15px!important;padding:16px 13px!important}
 .sr-profile-head{gap:10px!important}
 .sr-profile-settings{font-size:.8rem!important}
 .sr-profile-empty{padding:26px 13px!important}
 .sr-quota-warning{margin:12px 12px 21px;padding:14px;gap:9px}
 .sr-quota-icon{width:35px;height:35px;flex-basis:35px}
}
.sr-share-panel{border:1px solid #d5b787;border-radius:14px;padding:15px 18px;margin:12px 0 18px;background:linear-gradient(135deg,#162f51,#21466b);color:#e7f0fd;box-shadow:0 7px 15px #051a3b36}
.sr-share-panel>strong{color:#f5d399}.sr-share-panel p{line-height:1.8;font-size:.85rem}.sr-share-panel>a{color:#f3cf96;font-weight:800;font-size:.85rem}
.sr-share-link{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.sr-share-link input{flex:1 1 170px;min-width:0;padding:9px 12px;border:1px solid #a8bcd2;background:#eff5ff;border-radius:9px;font:inherit;direction:ltr;color:#204569}
.sr-share-link button{border:0;border-radius:9px;padding:8px 12px;background:#f3d199;color:#183856;font:inherit;font-weight:800;cursor:pointer}
/* Mobile polish after real 390px render: keep title visible before CTA. */
.sr-profile{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.sr-profile-head>div{min-width:0;max-width:100%}
.sr-profile-head h2,.sr-profile-head p{overflow-wrap:anywhere}
@media(max-width:600px){
 .sr-profile-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important}
 .sr-profile-head>div{order:0!important;width:100%!important}
 .sr-profile-head .sr-profile-settings{order:1!important;align-self:flex-start!important}
 .sr-profile-head h2{display:block!important;visibility:visible!important;color:#fff!important;margin:3px 0 7px!important}
 .sr-profile-head p{display:block!important;line-height:1.8!important}
}

/* Private sender receipt: server-side DB lookup, never exposes other members' messages. */
.sr-sent-preview{margin:14px 23px 10px;background:linear-gradient(128deg,#183653,#102a45);border:1px solid #8faecb;border-radius:14px;padding:16px;color:#f1f6fd}
.sr-sent-top{display:flex;gap:10px;align-items:flex-start}
.sr-sent-check{display:grid;place-items:center;border-radius:50%;width:36px;height:36px;flex:0 0 36px;background:#e9bd79;color:#162d49;font-size:21px;font-weight:900}
.sr-sent-top h2{font-size:1.06rem;line-height:1.5;margin:0 0 4px;color:#f4d194}
.sr-sent-top p{color:#d8e8fb;font-size:.85rem;line-height:1.8;margin:0}
.sr-sent-metadata{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:13px 0;color:#e9d1a5;font-size:.79rem}
.sr-sent-message{background:#f4f8ff;border-radius:11px;padding:13px 14px;color:#193451;overflow-wrap:anywhere}
.sr-sent-message small{display:block;font-size:.74rem;color:#607f9e;margin-bottom:5px}
.sr-sent-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.96rem;line-height:1.85;margin:0}
@media(max-width:600px){.sr-sent-preview{margin:12px 12px 8px;padding:12px}.sr-sent-message{padding:12px}}
.sr-profile-list{display:flex !important;flex-direction:column !important;gap:12px !important;width:100% !important;max-width:100% !important}
.sr-profile-list>.sr-profile-card{width:100%;box-sizing:border-box;min-width:0;max-width:100%}

/* Visible, high-contrast reply and direct notification focus. */
.sr-profile-card{scroll-margin-top:105px}
.sr-profile-card:target,.sr-profile-card.sr-target-flash{outline:3px solid #eebf75!important;outline-offset:3px;box-shadow:0 0 0 7px #e9bd7940,0 10px 25px #10233b30!important}
.sr-profile-reply{background:#eaf1fb!important;border-inline-start:4px solid #ba8b47!important;border-radius:10px!important;padding:12px 15px!important;margin:12px 0!important;color:#17324f!important;font-size:.95rem!important}
.sr-profile-reply strong{color:#174777!important;font-weight:900!important;font-size:.88rem!important;opacity:1!important}
.sr-profile-reply p{color:#183b5d!important;opacity:1!important;font-weight:700!important;font-size:1rem!important;line-height:1.9!important;white-space:pre-wrap!important;overflow-wrap:anywhere}
.sr-profile-reply[hidden],.sr-profile-share[hidden],[data-saraha-feedback][hidden]{display:none!important}
[data-saraha-feedback]{display:block;margin:9px 0 2px;padding:11px 12px;background:#e5f3ed;border:1px solid #98c3af;color:#125436!important;font-weight:800;border-radius:9px;font-size:.83rem}
[data-saraha-feedback].sr-feedback-error{background:#fff0ed;color:#92353d!important;border-color:#efb9bc}
.sr-profile-card.sr-ajax-busy{opacity:.75;pointer-events:none}
.sr-profile-card.sr-removing{animation:srFadeOut .22s ease-in forwards}@keyframes srFadeOut{to{opacity:0;transform:translateY(-6px)}}

.sr-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sr-refresh{background:#ffffff18;border:1px solid #92b4d87b;color:#e4f2ff;border-radius:10px;padding:9px 12px;cursor:pointer;font:inherit;font-weight:800;font-size:.8rem}
.sr-refresh:hover,.sr-refresh:focus-visible{background:#ffffff2c}
.sr-refresh:disabled{opacity:.7;cursor:progress}
.sr-list-banner{background:#e5f3ed;border:1px solid #9dc6ae;border-radius:9px;color:#14563a;padding:10px;font-weight:800}
.sr-card-toast{background:#e6f2e9;border:1px solid #a6cfb2;border-radius:9px;color:#1b583a;padding:10px 12px;font-weight:800;font-size:.83rem;line-height:1.8}
.sr-card-toast.sr-feedback-error{background:#fff0ed;border-color:#e4a9ad;color:#a12f43}
.sr-card-toast[hidden],.sr-list-banner[hidden]{display:none!important}
@media(max-width:520px){.sr-header-actions{width:100%}.sr-header-actions>*{flex:1;min-width:0;text-align:center}}
