/* Ejaaba legacy navigation: only the four newly requested utilities.
   Original menu header, submenu, ask-to-staff and logout remain untouched. */
.ejabat-menu-four-tools{display:block;margin:0;padding:0;background:#fff}
.ejabat-dark-menu-panel .ejabat-menu-four-tools>a.ejabat-menu-addon-link{
 display:flex;align-items:center;justify-content:flex-start;gap:8px;
 padding:5px 12px;margin:0;min-height:34px;
 color:#2c70b0;font-size:14px;font-weight:normal;line-height:1.3;
 text-align:right;text-decoration:none;border:0;border-bottom:1px solid #edf1f6;
 background:#fff;box-sizing:border-box
}
.ejabat-dark-menu-panel .ejabat-menu-four-tools>a.ejabat-menu-addon-link:hover,
.ejabat-dark-menu-panel .ejabat-menu-four-tools>a.ejabat-menu-addon-link:focus-visible{
 background:#f2f7fd!important;color:#174c81!important
}
.ejabat-menu-four-tools .ejabat-menu-archive-icon{
 flex:0 0 21px;display:inline-grid;place-items:center;
 min-width:21px;height:21px;color:#3077b6
}
.ejabat-menu-four-tools .ejabat-menu-archive-icon svg{
 width:19px;height:19px;display:block;stroke:currentColor;fill:none;
}
@media(max-width:640px){
 .ejabat-dark-menu-panel .ejabat-menu-archive-mobile .ejabat-menu-four-tools>a.ejabat-menu-addon-link{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:100%!important;height:32px!important;min-height:32px!important;
  max-height:32px!important;padding:0 12px!important;margin:0!important;gap:8px!important;
  background:#fff!important;border:0!important;border-bottom:1px solid #eef1f5!important;
  color:#2c70b0!important;text-align:right!important;
  font:normal 14px/1.35 Tahoma,Arial,sans-serif!important;
  white-space:nowrap!important;box-shadow:none!important
 }
}

/* Account-owned two-stream ledger: only authentic stored financial events. */
.ejabat-wallet-history{
 width:100%;max-width:850px;direction:rtl;margin:0 auto 24px;
 padding:9px 10px 24px;box-sizing:border-box;color:#284b68
}
.ejabat-wallet-history *,.ejabat-honor *{box-sizing:border-box}
.ejabat-wallet-crumb,.ejabat-honor-crumb{
 display:flex;flex-wrap:wrap;align-items:center;gap:7px;
 font-size:12px;color:#7c90a5;margin:4px 0 12px;line-height:1.6
}
.ejabat-wallet-crumb a,.ejabat-honor-crumb a{display:inline-flex;align-items:center;gap:4px;color:#3378b3;text-decoration:none}
.ejabat-wallet-crumb svg,.ejabat-honor-crumb svg{width:14px;height:14px}
.ejabat-wallet-banner{
 display:flex;align-items:center;flex-wrap:wrap;gap:14px;
 border:1px solid #d6e2f1;border-top:3px solid #3f7eb4;
 background:linear-gradient(110deg,#f7faff 0%,#eaf2fb 100%);
 padding:15px 18px;margin-bottom:12px
}
.ejabat-wallet-mark{
 display:grid;place-items:center;flex:0 0 47px;width:47px;height:47px;
 background:#315f91;color:#fff;border:2px solid #bdcfdf;border-radius:50%;
 font-size:29px;box-shadow:0 2px 7px #28568520
}
.ejabat-wallet-banner>div:nth-child(2){flex:1 1 250px}
.ejabat-wallet-banner small{color:#7d90a5;display:block;font-size:11px}
.ejabat-wallet-banner h1{color:#1b537e;font-size:23px;font-weight:750;margin:2px 0 4px}
.ejabat-wallet-banner p{color:#637b91;margin:0;font-size:12px;line-height:1.7}
.ejabat-wallet-how{display:inline-flex;align-items:center;gap:5px;color:#326b99;text-decoration:none;
 font-size:11px;padding:5px 8px;border:1px solid #c4d7e8;background:#fff}
.ejabat-wallet-how svg{width:16px;height:16px}
.ejabat-wallet-balances{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 13px
}
.ejabat-wallet-balance{
 display:flex;align-items:center;gap:11px;background:#fff;
 border:1px solid #d9e4ef;padding:12px 14px;min-width:0;
 box-shadow:0 2px 6px rgba(38,76,113,.035)
}
.ejabat-wallet-balance.is-points{border-right:3px solid #d3a047}
.ejabat-wallet-balance.is-reputation{border-right:3px solid #477aa7}
.ejabat-wallet-mini-icon{display:grid;place-items:center;flex:0 0 34px;
 width:34px;height:34px;background:#f0f6fc;border:1px solid #dce8f3;color:#437cac}
.ejabat-wallet-mini-icon svg{width:21px;height:21px}
.ejabat-wallet-balance small{display:block;color:#7890a5;font-size:11px}
.ejabat-wallet-balance strong{display:inline-block;color:#214e7b;font:bold 23px/1.25 Arial,Tahoma,sans-serif;
 font-variant-numeric:tabular-nums;margin:2px 0 0;direction:ltr}
.ejabat-wallet-balance div>span{font-size:11px;color:#718597;margin-right:5px}
.ejabat-wallet-tabs{
 display:flex;align-items:stretch;border:1px solid #cbddee;background:#edf3fa;
 margin:8px 0 0
}
.ejabat-wallet-tabs>a{
 display:flex;gap:6px;align-items:center;justify-content:center;
 flex:1 1 0;min-width:0;padding:9px 8px;
 color:#426d93;font-size:13px;text-decoration:none;border-bottom:3px solid transparent
}
.ejabat-wallet-tabs>a+a{border-right:1px solid #cfdfed}
.ejabat-wallet-tabs>a.active,.ejabat-wallet-tabs>a[aria-current=page]{
 color:#205e8d;border-bottom-color:#3e88c6;background:#fff;font-weight:700
}
.ejabat-wallet-tabs svg{width:17px;height:17px}
.ejabat-wallet-tabs small{background:#e4edf6;border:1px solid #d6e2ec;border-radius:11px;
 color:#587a9a;font-size:10px;min-width:22px;text-align:center;padding:0 4px}
.ejabat-wallet-records{border:1px solid #dce6f0;border-top:0;background:#fff}
.ejabat-wallet-section-head{
 display:flex;justify-content:space-between;align-items:center;gap:5px;flex-wrap:wrap;
 background:#f8fbff;padding:10px 12px;border-bottom:1px solid #e7eef5
}
.ejabat-wallet-section-head h2{font-size:15px;color:#376995;margin:0}
.ejabat-wallet-section-head h2 svg{width:17px;height:17px;vertical-align:middle}
.ejabat-wallet-section-head small{color:#8193a5;font-size:10px}
.ejabat-wallet-flow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:8px;padding:10px 10px 4px}
.ejabat-wallet-flow-cell{background:#fbfcfe;padding:9px 10px;border:1px solid #e4ebf3;min-width:0}
.ejabat-wallet-flow-cell span{display:flex;align-items:center;gap:4px;
 font-size:11px;color:#6c879c;margin-bottom:3px}
.ejabat-wallet-flow-cell span svg{width:14px;height:14px}
.ejabat-wallet-flow-cell strong{display:block;font:bold 21px/1.35 Arial,sans-serif}
.ejabat-wallet-flow-cell.is-plus{background:#f6fbf7;border-right:3px solid #308651}
.ejabat-wallet-flow-cell.is-plus strong{color:#217846}
.ejabat-wallet-flow-cell.is-minus{background:#fff8f8;border-right:3px solid #cc5660}
.ejabat-wallet-flow-cell.is-minus strong{color:#b33d4c}
.ejabat-wallet-events{padding:7px 10px 8px}
.ejabat-wallet-event{
 display:flex;align-items:center;gap:9px;
 padding:9px 8px;border-bottom:1px solid #edf2f7;
 min-height:54px;box-sizing:border-box
}
.ejabat-wallet-event:last-child{border-bottom:0}
.ejabat-wallet-event-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;
 border-radius:6px}
.ejabat-wallet-event-icon svg{width:18px;height:18px}
.ejabat-wallet-event.is-earned .ejabat-wallet-event-icon{background:#eaf7ed;color:#217847}
.ejabat-wallet-event.is-deducted .ejabat-wallet-event-icon{background:#fdf0f0;color:#bc4355}
.ejabat-wallet-event.is-neutral .ejabat-wallet-event-icon{background:#eff4fa;color:#6585a0}
.ejabat-wallet-event-content{flex:1 1 0;min-width:0}
.ejabat-wallet-event-content strong{display:block;color:#304e67;font-size:12px;
 line-height:1.55;overflow-wrap:anywhere}
.ejabat-wallet-event-content small{display:flex;align-items:center;gap:3px;font-size:10px;
 color:#8798a7;line-height:1.5;margin-top:3px}
.ejabat-wallet-event-content small svg{width:12px;height:12px}
.ejabat-wallet-event-value{font:bold 18px/1.2 Arial,Tahoma,sans-serif;flex:0 0 auto;
 min-width:34px;text-align:left;direction:ltr}
.ejabat-wallet-event.is-earned .ejabat-wallet-event-value{color:#237d4a}
.ejabat-wallet-event.is-deducted .ejabat-wallet-event-value{color:#bf4151}
.ejabat-wallet-event.is-neutral .ejabat-wallet-event-value{color:#6c8296}
.ejabat-wallet-empty{text-align:center;padding:28px 12px;color:#8195a8;font-size:12px}
.ejabat-wallet-empty svg{width:25px;height:25px}
.ejabat-wallet-pages{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
 gap:11px;margin:12px 0;font-size:12px;color:#6d8298}
.ejabat-wallet-pages a{border:1px solid #c9dce9;background:#fff;color:#2f74ab;
 padding:6px 10px;text-decoration:none;display:inline-flex;align-items:center;gap:5px}
.ejabat-wallet-pages svg{width:13px;height:13px}
.ejabat-wallet-note{font-size:11px;color:#71869a;line-height:1.8;margin:12px 2px 0}
.ejabat-wallet-note svg{width:14px;height:14px;vertical-align:middle}
.ejabat-wallet-note a{color:#2874aa}

/* Public tribute keeps 2021 classic geometry but adds warm royal detailing. */
.ejabat-honor{
 max-width:880px;margin:0 auto 26px;padding:8px 10px 20px;direction:rtl;color:#344f66
}
.ejabat-honor-hero{
 position:relative;text-align:center;padding:26px 20px 28px;
 background:linear-gradient(125deg,#123452,#235782 70%,#17456f);
 color:white;border:1px solid #567a9e;border-top:4px solid #d0a652;
 box-shadow:0 4px 14px #14355725;margin-bottom:14px
}
.ejabat-honor-sparks{color:#e9c77f;letter-spacing:5px;font-size:22px;margin-bottom:8px}
.ejabat-honor-era{display:inline-block;color:#f3dba1;font-size:12px;
 padding:5px 12px;border:1px solid #c6d9e554;background:#ffffff13}
.ejabat-honor-hero h1{color:#fff;font-size:30px;margin:11px 0 5px;font-weight:750;line-height:1.35}
.ejabat-honor-hero p{max-width:610px;margin:0 auto;color:#e0eaf3;font-size:14px;line-height:2}
.ejabat-honor-seal{display:inline-flex;gap:6px;align-items:center;justify-content:center;
 margin:13px 0 0;color:#ead296;font-size:11px}
.ejabat-honor-seal svg{width:16px;height:16px}
.ejabat-honor-section{background:#fff;border:1px solid #dce4ef;
 border-right:3px solid #4e86b5;margin:0 0 12px;padding:16px 17px;
 box-shadow:0 2px 7px #27456e08}
.ejabat-honor-section:nth-of-type(even){border-right-color:#d0a756}
.ejabat-honor-section-top{display:flex;gap:12px;align-items:center;margin-bottom:11px;
 padding-bottom:9px;border-bottom:1px solid #eef0f5}
.ejabat-honor-symbol{display:grid;place-items:center;flex:0 0 42px;
 width:42px;height:42px;background:#edf4fb;border:1px solid #d8e5f1;font-size:24px}
.ejabat-honor-section-top>div{flex:1 1 0;min-width:0}
.ejabat-honor-section-top small{display:block;color:#8594a6;font-size:10px;margin-bottom:1px}
.ejabat-honor-section-top h2{color:#235f90;font-size:18px;font-weight:750;line-height:1.45;margin:0}
.ejabat-honor-ribbon{display:inline-block;flex:0 0 auto;font-size:10px;color:#916629;
 background:#fdf8ed;border:1px solid #eadcb6;padding:4px 7px}
.ejabat-honor-section>p{font-size:13px;line-height:2.1;margin:5px 0 10px;color:#495d6d}
.ejabat-honor-section>p strong{color:#245a8c}
.ejabat-honor-section .ejabat-honor-quote{padding:10px 13px;
 border-right:2px solid #d6b76e;background:#fffaf0;color:#95703b;font-size:12px;line-height:1.85}
.ejabat-honor-names{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 14px}
.ejabat-honor-name{display:inline-flex;align-items:center;gap:6px;
 font-size:12px;line-height:1.5;color:#326c9a;padding:6px 9px;
 background:#f4f8fd;border:1px solid #dbe7f3}
.ejabat-honor-name>span{font-size:15px}
.ejabat-honor-section .ejabat-honor-all{color:#6e8090;font-size:12px}
.ejabat-honor-tomorrow{border-right-color:#cba95a!important;background:#fffdf8}
.ejabat-honor-final{text-align:center;background:#f1f7fe;padding:12px 10px;
 border:1px solid #d8e7f6;margin-top:14px!important;color:#2f6e99!important;
 font-size:14px!important}
.ejabat-honor-final span{font-size:18px}
.ejabat-honor-foot{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;
 align-items:center;font-size:12px;color:#a1a9b4;margin-top:16px}
.ejabat-honor-foot a{display:inline-flex;align-items:center;gap:4px;
 text-decoration:none;color:#3676aa}
.ejabat-honor-foot svg{width:15px;height:15px}
@media(max-width:560px){
 .ejabat-wallet-history,.ejabat-honor{padding-left:6px;padding-right:6px}
 .ejabat-wallet-banner{padding:12px 10px;gap:8px}
 .ejabat-wallet-banner h1{font-size:19px}
 .ejabat-wallet-mark{width:39px;height:39px;flex-basis:39px;font-size:24px}
 .ejabat-wallet-balance{padding:9px 8px;gap:7px}
 .ejabat-wallet-mini-icon{width:28px;height:28px;flex-basis:28px}
 .ejabat-wallet-mini-icon svg{width:17px;height:17px}
 .ejabat-wallet-balance strong{font-size:19px}
 .ejabat-wallet-balance small{font-size:10px}
 .ejabat-wallet-tabs>a{font-size:12px;padding:9px 5px;gap:4px}
 .ejabat-wallet-section-head{padding:9px}
 .ejabat-wallet-flow{padding:7px 7px 3px;gap:6px}
 .ejabat-wallet-flow-cell{padding:8px 7px}
 .ejabat-wallet-events{padding:5px 6px 8px}
 .ejabat-wallet-event{gap:7px;padding:8px 5px}
 .ejabat-wallet-event-icon{flex-basis:27px;width:27px;height:27px}
 .ejabat-wallet-event-value{font-size:16px}
 .ejabat-honor-hero{padding:21px 12px}
 .ejabat-honor-hero h1{font-size:26px}
 .ejabat-honor-hero p{font-size:12px;line-height:1.9}
 .ejabat-honor-section{padding:11px 10px;margin-bottom:10px}
 .ejabat-honor-section-top{gap:7px}
 .ejabat-honor-symbol{flex-basis:35px;width:35px;height:35px;font-size:19px}
 .ejabat-honor-section-top h2{font-size:15px}
 .ejabat-honor-ribbon{font-size:9px;padding:3px 5px}
 .ejabat-honor-section>p{font-size:12px;line-height:2}
 .ejabat-honor-name{padding:5px 7px;font-size:11px}
}
