/* Employee self service: the second sign in look (reveals over the classic login) and the employee home. */
:root {
  --brand: #DA9E52;
  --brand-hover: #C4883D;
  --brand-2: #DCA35A;
  --brand-soft: #FBF3E8;
  --brand-ink: #9A6424;
  --brand-orange: #f63;
  --ink: #1F2430;
  --ink-2: #4B5263;
  --muted: #8A90A0;
  --line: #E6E9ED;
  --field-line: #ffd7bd;
  --field-line-focus: #dca35a;
  --field-glow: 0 0 4px #ffe4d1;
  --field-ro: #fffcfa;
  --bg: #FBFAF7;
  --card: #FFFFFF;
  --ok: #16A36A;
  --ok-soft: #E5F7EF;
  --warn: #E39A0B;
  --warn-soft: #FFF5DE;
  --bad: #DC3D43;
  --bad-soft: #FDECEC;
  --info: #2F6FED;
  --info-soft: #E9F0FE;
  --violet: #7A5AF8;
  --violet-soft: #F0ECFF;
  --teal: #0EA5A4;
  --teal-soft: #E1F6F5;
  --pink: #E0457B;
  --pink-soft: #FDE9F0;
  --shadow: 0 1px 2px rgba(31, 36, 48, .05), 0 8px 24px rgba(31, 36, 48, .07);
  --shadow-lg: 0 2px 6px rgba(31, 36, 48, .06), 0 24px 60px rgba(31, 36, 48, .12);
  font-family: 'Droid Arabic Kufi', Tahoma, 'Segoe UI', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.ess-layer * {
  box-sizing: border-box;
}

.ess-layer svg,
.ess-ctabs svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.ess-ctabs .reset-button,
.ess-tabs .reset-button {
  width: auto;
  height: auto;
  border: none;
  background: transparent !important;
  color: #ab722f !important;
  font-weight: bold !important;
  font-size: 14px;
  padding: 0 8px;
  box-shadow: none;
}

/* ---- the two tabs above today's login box (the only change to the classic page) ---- */
.ess-ctabs,
.ess-tabs {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6px;
  margin-bottom: 15px;
  /* max-width: 360px;
  margin: 0 auto 15px; */
}

.ess-form .ess-ctabs {
  grid-template-columns: 1.7fr 1fr;
  margin-top: 20px;
  margin-bottom: 15px;
}

.ess-ctabs button,
.ess-tabs button {
  border: 0;
  border-radius: 5px;
  padding: 9px 8px;
  font-family: inherit;
  font-size: 12px;
  background: rgba(255, 255, 255, .8);
  color: #665851;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  cursor: pointer;
  font-weight: bold;
}

.ess-ctabs button svg,
.ess-tabs button svg {
  width: 16px;
  height: 16px;
}

.ess-ctabs button.on,
.ess-tabs button.on {
  background: #fff;
  color: #a8712c;
  font-weight: 700;
  /* box-shadow: inset 0 -3px 0 #da9e52, 0 2px 4px rgba(0, 0, 0, .1); */
}

.ess-form .ess-ctabs .reset-button {
  background: transparent !important;
  color: #665851 !important;
  box-shadow: none;
}

.ess-form .ess-ctabs .reset-button:hover {
  color: #a8712c !important;
}

.ess-ctabs button:focus-visible,
.ess-tabs button:focus-visible {
  outline: 2px solid #da9e52;
  outline-offset: 2px;
}

.ess-ctabs button:nth-child(2):not(.on),
.ess-tabs button:nth-child(2):not(.on) {
  animation: ess-nudge 2.4s ease-in-out 1.2s 2;
}

@keyframes ess-nudge {

  0%,
  100% {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(218, 158, 82, .55), 0 2px 4px rgba(0, 0, 0, .1);
  }
}

/* ---- the reveal: the classic page blurs, the new look grows out of the clicked tab ---- */
.ess-blur {
  position: fixed;
  inset: 0;
  z-index: 1040;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(8px) brightness(.8);
  -webkit-backdrop-filter: blur(6px) brightness(.8);
  transition: opacity .9s;
}

html.ess-on .ess-blur {
  opacity: 1;
}

.ess-layer {
  position: fixed;
  inset: 0;
  z-index: 1050;
  /* background: #fff; */
  overflow: auto;
  visibility: hidden;
  pointer-events: none;
  /* clip-path: circle(0px at var(--ess-x, 50%) var(--ess-y, 30%));
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .9s; */
}

html.ess-on .ess-layer {
  visibility: visible;
  pointer-events: auto;
  clip-path: circle(160% at var(--ess-x, 50%) var(--ess-y, 30%));
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1), visibility 0s;
}

.login-footer {
  z-index: 1060;
}

html.ess-instant .ess-layer,
html.ess-instant .ess-blur {
  transition: none !important;
}

.ess-login {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 100%;
  background: transparent;
}

.ess-art {
  /* background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .25), transparent 40%), linear-gradient(150deg, #F26B2C 0%, #FF8F45 55%, #FFB066 100%); */
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.ess-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}

.ess-circle-1 {
  width: 420px;
  height: 420px;
  inset-inline-start: -140px;
  bottom: -160px;
}

.ess-circle-2 {
  width: 180px;
  height: 180px;
  inset-inline-end: -50px;
  top: 120px;
}

.ess-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  position: relative;
}

.ess-brand-logo {
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 8px;
  /* box-shadow: 0 6px 16px rgba(0, 0, 0, .15); */
  flex: none;
}

.ess-brand-logo {
  width: auto;
  min-width: 54px;
  padding: 8px 12px;
}

.ess-brand-logo img {
  height: 28px;
  width: auto;
}

.ess-brand-name {
  color: #fff !important;
}

.ess-brand-name span {
  color: #fff !important;
}

.ess-brand-name small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  opacity: .95;
  color: #fff !important;
}

.ess-pitch {
  position: relative;
}

.ess-pitch h2 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 14px;
  font-weight: 700;
  color: #fff !important;
}

.ess-pitch p {
  font-size: 16px;
  opacity: .93;
  max-width: 420px;
  margin: 0;
}

.ess-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 460px;
  position: relative;
}

.ess-feat {
  background: rgb(245 160 52 / 59%);
  border: 1px solid 1px solid rgb(211 145 60);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
}

.ess-form {
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  background-color: rgb(255 255 255 / 20%);
}

.ess-form>* {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s, transform .5s;
}

html.ess-on .ess-form>* {
  opacity: 0.95;
  transform: none;
}

html.ess-on .ess-form>*:nth-child(2) {
  transition-delay: .4s;
}

html.ess-on .ess-form>*:nth-child(3) {
  transition-delay: .45s;
}

html.ess-on .ess-form>*:nth-child(4) {
  transition-delay: .5s;
}

html.ess-on .ess-form>*:nth-child(5) {
  transition-delay: .55s;
}

html.ess-on .ess-form>*:nth-child(n+6) {
  transition-delay: .6s;
}

html.ess-instant .ess-form>* {
  transition: none !important;
}

.ess-brand-small {
  display: none;
  color: #fff !important;
  margin-bottom: 18px;
}

.ess-brand-small .ess-brand-logo {
  box-shadow: var(--shadow);
  /* border: 1px solid var(--line); */
}

.ess-title {
  font-size: 24px;
  font-weight: 700;
  color: #c18c4b;
}

.ess-sub-title {
  color: white !important;
  font-size: 13px;
  color: #665851 !important;
}

.ess-muted {
  color: var(--muted);
}

.ess-form-header {
  background-color: var(--brand, #da9e52);
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 5px 5px 0 0;
}

.ess-form-header h2 {
  color: white !important;
  font-size: 1.1em;
  font-weight: bold;
  margin: 4px 0;
  padding: 0;
}

.ess-form-header h2 .fa {
  font-size: 16px;
}

.ess-fields-container {
  padding: 20px;
  background-color: rgb(255 255 255 / 95%);
}

.ess-field {
  margin-bottom: 14px;
}

.ess-field label {
  display: block;
  font-size: 13px;
  color: #444;
  margin-bottom: 5px;
  font-weight: bold;
}

.ess-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ffd7bd;
  border-radius: 4px;
  padding: 0 10px;
  height: 34px;
  min-height: 34px;
  background: #fff;
  color: #665851;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .03);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.ess-input svg {
  width: 16px;
  height: 16px;
  color: #da9e52;
  stroke: currentColor;
  stroke-width: 1.8;
  flex: none;
  transition: color .15s ease;
}

.ess-input:hover:not(:has(input:disabled)) {
  border-color: #dca35a;
}

.ess-input:focus-within {
  border-color: #dca35a;
  box-shadow: 0 0 4px #ffe4d1;
  color: #3e342e;
}

.ess-input:focus-within svg {
  color: #dca35a;
}

.ess-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: 'Droid Arabic Naskh', Tahoma, 'Segoe UI', sans-serif;
  font-size: 13px;
  padding: 0 4px;
  color: #3e342e;
}

.ess-input input::placeholder {
  color: #8A90A0;
  font-size: 12.5px;
}

.ess-input:has(input:disabled),
.ess-input.disabled {
  background-color: #fffcfa;
  border-color: #ffebdd;
  cursor: not-allowed;
  opacity: .85;
}

.ess-input input:disabled {
  color: #777;
  cursor: not-allowed;
}

.ess-alert {
  background: #fbf3e8;
  color: #9a6424;
  border: 1px solid #ffd7bd;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
}

.ess-alert p {
  margin: 4px 0 0;
}

.ess-btn {
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 8px 16px;
  height: 36px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.ess-btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

.ess-btn-primary {
  background: #da9e52;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  margin-top: 6px;
  border-radius: 0 0 5px 5px;
}

.ess-btn-primary:hover:not([disabled]) {
  background: #dca35a;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .14);
}

.ess-btn-ghost {
  background: #fff;
  border: 1px solid #ffd7bd;
  color: #665851;
  margin: 4px 0 14px;
}

.ess-btn-ghost:hover:not([disabled]) {
  background: #fbf9f6;
  border-color: #dca35a;
  color: #a8712c;
}

.ess-enroll {
  margin-top: 4px;
}

.ess-layer .form-control {
  height: 34px;
  border: 1px solid #ffd7bd;
  border-radius: 4px;
  font-size: 13px;
  color: var(--brand);
  background-color: #fff;
  box-shadow: none;
}

.ess-layer .form-control:focus {
  border-color: #dca35a;
  box-shadow: 0 0 4px #ffe4d1;
  outline: 0;
}

.ess-layer .form-control[disabled],
.ess-layer .form-control[readonly] {
  background-color: #fffcfa;
  border-color: #ffebdd;
  color: #555;
  cursor: not-allowed;
}

.ess-form-inner {
  background-color: white;
  width: 100%;
  border-radius: 5px;
}

@media (max-width: 860px) {
  .ess-login {
    grid-template-columns: 1fr;
  }

  .ess-art {
    display: none;
  }

  .ess-form {
    padding: 28px 22px 40px;
    justify-content: center;
    /* min-height: 100%; */
    min-height: 610px;
    background-color: transparent;
    position: relative;
  }



  .ess-brand-small {
    display: flex;
    position: absolute;
    top: 28px;
    inset-inline-start: 22px;
    margin-bottom: 0;
  }

  /* Mobile screen: preserve white text and button styling over brand background */
  .ess-title {
    color: #ffffff !important;
  }

  .ess-sub-title {
    color: #ffffff !important;
  }

  .ess-muted {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .ess-ctabs button,
  .ess-tabs button,
  .ess-form .ess-ctabs button {
    /* background-color: white; */
    color: #b58141;
    box-shadow: 0 2px 4px rgb(96 66 27 / 30%);
    font-weight: bold;
  }

  .ess-ctabs button.on,
  .ess-tabs button.on,
  .ess-form .ess-ctabs button.on {
    background: #fff;
    color: #a8712c;
    font-weight: 700;
    /* box-shadow: 0 2px 4px rgb(96 66 27 / 30%); */
  }

  .ess-ctabs .reset-button,
  .ess-tabs .reset-button,
  .ess-form .ess-ctabs .reset-button {
    width: auto;
    height: auto;
    border: none;
    background: transparent !important;
    color: #ab722f !important;
    font-weight: bold !important;
    font-size: 14px;
    padding: 0 8px;
    box-shadow: none;
  }
}

.ess-ctabs .reset-button {
  justify-content: unset;
}

/* =====================================================================================================
   Self service pages (.ss-home / .ss-page): ERP tokens and the shared components.
   Component class names (reuse these, do not invent parallel ones):
   layout    ss-top (header: ss-brand, ss-logo, ss-brand-text, ss-top-actions, ss-me, ss-lang, ss-top-btn)
             ss-body (page container), ss-pagebar (ss-back, ss-pagebar-text, ss-crumb, h1)
   surfaces  ss-card (+ ss-pad), ss-section-title (alias ss-group), ss-alert, ss-hint
   buttons   ss-btn + ss-btn-primary | ss-btn-secondary | ss-btn-ghost | ss-btn-danger, sizes ss-btn-sm | ss-btn-lg, ss-btn-block
             legacy: ss-btn-bad (red outline), ss-btn-ok (green)
   status    ss-badge + is-pending | is-review | is-approved | is-rejected | is-neutral (legacy: ss-pill p-pending ...)
   filters   ss-filters > ss-chip (+ .on or .sel for the active one)
   lists     ss-list (card) > ss-row (ss-row-ic, ss-row-main, ss-row-meta, ss-chev), ss-empty (icon + text)
   dialog    ss-dialog-back > ss-dialog (ss-dialog-head, ss-dialog-body, ss-dialog-foot)
   phone bar ss-actionbar (sticky at the bottom on phone, normal row on desktop)
   stepper   ss-steps > li (ss-step-dot, ss-step-title, ss-step-sub) + is-done | is-current | is-rejected
   upload    ss-upload (drop zone: ss-upload-ic, ss-upload-text, ss-btn), ss-filechip (ss-filechip-name, ss-filechip-size, ss-filechip-x)
   forms     the ERP np-* controls are restyled inside .ss-page (label above, 44px fields); errors: .has-error or .ng-invalid.ng-touched
   home      ss-hero, ss-avatar, ss-stat, ss-tiles > ss-tile (ss-tile-ic, ss-tile-text, ss-chev)
   icons     inline svg line icons; add class ss-chev to a ">" chevron, it flips itself in Arabic
   ===================================================================================================== */
.ss-home {
  --brand: #DA9E52;
  --brand-hover: #C4883D;
  --brand-2: var(--brand);
  --brand-soft: #FBF3E8;
  --brand-ink: #9A6424;
  --ink: #1D1B22;
  --ink-2: #5D5866;
  --muted: #6F6A78;
  --line: #E6E9ED;
  --field-line: #ced4da;
  --field-line-focus: #da9e52;
  --field-glow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  --bg: #fff6f0;
  --card: #FFFFFF;
  --field-ro: rgb(141 141 141 / 5%);
  --st-pending: #eea236;
  --st-pending-bg: #fff8ee;
  --st-review: #5bc0de;
  --st-review-bg: #edf9fc;
  --st-approved: #26b99a;
  --st-approved-bg: #eaf8f5;
  --st-rejected: #ef6d69;
  --st-rejected-bg: #fdeeee;
  --st-neutral: #59666F;
  --st-neutral-bg: #EEF0F2;
  --ok: #26b99a;
  --ok-soft: #eaf8f5;
  --warn: #eea236;
  --warn-soft: #fff8ee;
  --bad: #ef6d69;
  --bad-soft: #fdeeee;
  --info: #5bc0de;
  --info-soft: #edf9fc;
  --violet: #7A5AF8;
  --violet-soft: #F0ECFF;
  --teal: #0EA5A4;
  --teal-soft: #E1F6F5;
  --pink: #E0457B;
  --pink-soft: #FDE9F0;
  --edge: #1D1B22;
  --border: #E6E9ED;
  --hard: 0px 2px 4px rgba(0, 0, 0, 0.08);
  --hard-up: 0px 6px 14px rgba(0, 0, 0, 0.12);
  --hard-lg: 0px 2px 4px rgba(0, 0, 0, 0.08);
  --r: 0;
  --r-sm: 8px;
  --shadow: none;
  --shadow-lg: var(--hard-lg);
  --ring: 0 0 0 3px rgba(218, 158, 82, .35);
  font-family: 'Droid Arabic Kufi', Tahoma, 'Segoe UI', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  isolation: isolate;
}

.ss-home .school-watermark,
.ss-home .school-watermark-picture {
  z-index: 0;
  margin-left: 0;
}

@media (min-width: 991px) {

  body.nav-md .ss-home .school-watermark,
  body.nav-md .ss-home .school-watermark-picture,
  body.nav-sm .ss-home .school-watermark,
  body.nav-sm .ss-home .school-watermark-picture,
  body.en.nav-md .ss-home .school-watermark,
  body.en.nav-md .ss-home .school-watermark-picture,
  body.en.nav-sm .ss-home .school-watermark,
  body.en.nav-sm .ss-home .school-watermark-picture {
    margin-left: 0 !important;
  }
}

.ss-home .ss-top,
.ss-home .ss-body {
  position: relative;
  z-index: 1;
}

.ss-home * {
  box-sizing: border-box;
}

.ss-home svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

html[dir="rtl"] .ss-home .ss-chev {
  transform: scaleX(-1);
}

.ss-home a:focus-visible,
.ss-home button:focus-visible,
.ss-home .ss-tile:focus-visible,
.ss-home .ss-row:focus-visible {
  outline: 0;
  box-shadow: var(--ring);
}

/* ---- header ---- */
.ss-home .ss-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 8px 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 5;
}

.ss-home .ss-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ss-home .ss-logo {
  display: flex;
  align-items: center;
  flex: none;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.ss-home .ss-logo img {
  height: 36px;
  width: auto;
}

.ss-home .ss-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--line);
}

.ss-home .ss-brand-text>span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.ss-home .ss-brand-text small {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}

.ss-home .ss-top-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.ss-home .ss-me {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline-end: 12px;
  margin-inline-end: 4px;
  border-inline-end: 1px solid var(--line);
}

.ss-home .ss-me-avatar,
.ss-home .ss-avatar {
  border-radius: 50%;
  background: var(--brand);
  color: var(--edge);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: none;
  border: 1px solid var(--border);
}

.ss-home .ss-me-avatar {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.ss-home .ss-me-name {
  font-size: 13px;
  color: var(--ink);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ss-home .ss-lang a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.ss-home .ss-lang a:hover {
  background: var(--field-ro);
  color: var(--ink);
}

/* Sign-out button: matches core system .sign-out .btn */
.ss-home .sign-out {
  float: none;
  margin: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ss-home .sign-out .btn,
.ss-home .sign-out .ss-top-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  max-height: 28px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  background: #f63 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ss-home .sign-out .btn:hover:not([disabled]),
.ss-home .sign-out .ss-top-btn:hover:not([disabled]) {
  background: #f63 !important;
  color: #ffffff !important;
  opacity: 0.9;
  box-shadow: none !important;
}

.ss-home .sign-out .fa {
  color: #ffffff !important;
  font-size: 12px;
  line-height: 1;
}

.ss-home .sign-out span.text {
  display: none !important;
}

.ss-home .ss-lang,
.ss-home .ss-lang .lang-container,
.ss-home .ss-lang .global-buttons-segmented {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.ss-home .ss-lang img {
  display: none;
}

.ss-home .ss-lang .lang-text {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: inherit;
}

.ss-home .ss-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--hard);
}

/* ---- page container, page bar ---- */
.ss-home .ss-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 40px;
}

.ss-home .ss-pagebar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ss-home .ss-back {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  box-shadow: var(--hard);
  transition: box-shadow .15s, border-color .15s;
}

.ss-home .ss-back:hover {
  border-color: #da9e52;
  box-shadow: var(--hard-up);
}

.ss-home .ss-back svg {
  width: 20px;
  height: 20px;
}

html[dir="ltr"] .ss-home .ss-pagebar .ss-back:not(.ss-home-btn) svg {
  transform: scaleX(-1);
}

.ss-home .ss-ftabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 5px 6px;
  background: #ffffff;
  border: 1px solid;
  border-color: #F5DDCD #f7decc #fbdfca;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ss-home .ss-ftabs::-webkit-scrollbar {
  display: none;
}

.ss-home .ss-ftab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  min-height: 36px;
  padding: 0 16px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #555555;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ss-home .ss-ftab np-ss-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a76e41;
  transition: color .18s ease;
}

.ss-home .ss-ftab svg {
  width: 17px;
  height: 17px;
}

.ss-home .ss-ftab:hover:not(.on) {
  background: #fff9f3;
  border-color: #f5ddcd;
  color: #a76e41;
}

.ss-home .ss-ftab.on {
  background: #da9e52;
  border-color: #da9e52;
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(218, 158, 82, 0.3);
}

.ss-home .ss-ftab.on np-ss-icon {
  color: #ffffff;
}

.ss-home .ss-pagebar-text {
  min-width: 0;
}

.ss-home .ss-pagebar h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: var(--ink);
  line-height: 1.4;
}

.ss-home .ss-crumb {
  display: block;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.ss-home .ss-crumb a {
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* ---- surfaces ---- */
.ss-home .ss-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ss-home .ss-pad {
  padding: 20px;
}

.ss-home .ss-section-title,
.ss-home .ss-group {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin: 30px 0 12px;
  color: var(--ink);
}

.ss-home .ss-card-title h2,
.ss-home .ss-head-text h2 {
  font-size: 15px;
}

.ss-home .ss-alert {
  background: var(--warn-soft);
  color: var(--st-pending);
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.ss-home .ss-hint {
  border-radius: 8px;
  border: 1px solid #BFD3EA;
  background: var(--info-soft);
  color: var(--st-review);
}

.ss-home .ss-hint-warn {
  border-color: #EBCF95;
  background: var(--warn-soft);
  color: var(--st-pending);
}

.ss-home .ss-hint-violet {
  border-color: #EBCB9F;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.ss-home .ss-card-violet {
  background: var(--card);
}

.ss-home .ss-balance {
  background: var(--st-approved-bg);
  border: 1px solid #B4DCC4;
  border-radius: 8px;
}

.ss-home .ss-money {
  color: var(--ink);
}

/* ---- buttons (exact match with core system style.min.css button palette & dimensions) ---- */
.ss-home .ss-btn,
.ss-home .btn {
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  background-color: #da9e52;
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.42857143;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
  text-decoration: none;
  transition: all .2s ease-in-out;
}

.ss-home .ss-btn:hover:not([disabled]),
.ss-home .btn:hover:not([disabled]),
.ss-home .ss-btn:active:not([disabled]),
.ss-home .btn:active:not([disabled]) {
  outline: 0 !important;
  box-shadow: none !important;
}

.ss-home .ss-btn svg,
.ss-home .btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
}

.ss-home .ss-btn .fa,
.ss-home .btn .fa,
.ss-home .ss-btn np-ss-icon,
.ss-home .btn np-ss-icon {
  color: inherit;
}

.ss-home .ss-btn[disabled],
.ss-home .ss-btn.disabled,
.ss-home .btn[disabled],
.ss-home .btn.disabled {
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none !important;
}

/* Save / Submit / Approve Button (Matches Core System .btn-success: #08bf7d) */
.ss-home .ss-btn-primary,
.ss-home .ss-btn-ok,
.ss-home .ss-btn-success,
.ss-home .btn-success {
  background-color: #08bf7d !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

.ss-home .ss-btn-primary:hover:not([disabled]),
.ss-home .ss-btn-ok:hover:not([disabled]),
.ss-home .ss-btn-success:hover:not([disabled]),
.ss-home .btn-success:hover:not([disabled]),
.ss-home .ss-btn-primary:focus,
.ss-home .ss-btn-ok:focus,
.ss-home .ss-btn-success:focus,
.ss-home .btn-success:focus,
.ss-home .ss-btn-primary:active,
.ss-home .ss-btn-ok:active,
.ss-home .ss-btn-success:active,
.ss-home .btn-success:active {
  background-color: #08c480 !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

/* Undo / Cancel / Default Button (Matches Core System .btn-default: #da9e52) */
.ss-home .ss-btn-secondary,
.ss-home .ss-btn-ghost,
.ss-home .btn-default,
.ss-home .btn-primary {
  background-color: #da9e52 !important;
  border-color: #cc9147 !important;
  color: #ffffff !important;
}

.ss-home .ss-btn-secondary:hover:not([disabled]),
.ss-home .ss-btn-ghost:hover:not([disabled]),
.ss-home .btn-default:hover:not([disabled]),
.ss-home .btn-primary:hover:not([disabled]),
.ss-home .ss-btn-secondary:focus,
.ss-home .ss-btn-ghost:focus,
.ss-home .btn-default:focus,
.ss-home .btn-primary:focus,
.ss-home .ss-btn-secondary:active,
.ss-home .ss-btn-ghost:active,
.ss-home .btn-default:active,
.ss-home .btn-primary:active {
  background-color: #d8994a !important;
  border-color: #c38536 !important;
  color: #ffffff !important;
}

/* Danger / Delete / Reject Button (Matches Core System .btn-danger: #d9534f) */
.ss-home .ss-btn-danger,
.ss-home .ss-btn-bad,
.ss-home .btn-danger {
  background-color: #d9534f !important;
  border-color: #d9534f !important;
  color: #ffffff !important;
}

.ss-home .ss-btn-danger:hover:not([disabled]),
.ss-home .ss-btn-bad:hover:not([disabled]),
.ss-home .btn-danger:hover:not([disabled]),
.ss-home .ss-btn-danger:focus,
.ss-home .ss-btn-bad:focus,
.ss-home .btn-danger:focus,
.ss-home .ss-btn-danger:active,
.ss-home .ss-btn-bad:active,
.ss-home .btn-danger:active {
  background-color: #d43f3a !important;
  border-color: #d43f3a !important;
  color: #ffffff !important;
}

/* Warning / Edit Button (Matches Core System .btn-warning: #f0ad4e) */
.ss-home .ss-btn-warning,
.ss-home .btn-warning {
  background-color: #f0ad4e !important;
  border-color: #eea236 !important;
  color: #ffffff !important;
}

.ss-home .ss-btn-warning:hover:not([disabled]),
.ss-home .btn-warning:hover:not([disabled]),
.ss-home .ss-btn-warning:focus,
.ss-home .btn-warning:focus,
.ss-home .ss-btn-warning:active,
.ss-home .btn-warning:active {
  background-color: #ec971f !important;
  border-color: #d58512 !important;
  color: #ffffff !important;
}

/* Info / Add Button (Matches Core System .btn-info: #5BC0DE) */
.ss-home .ss-btn-info,
.ss-home .btn-info {
  background-color: #5BC0DE !important;
  border-color: #5BC0DE !important;
  color: #ffffff !important;
}

.ss-home .ss-btn-info:hover:not([disabled]),
.ss-home .btn-info:hover:not([disabled]) {
  background-color: #46b8da !important;
  border-color: #46b8da !important;
  color: #ffffff !important;
}

.ss-home .ss-btn-info:focus,
.ss-home .btn-info:focus,
.ss-home .ss-btn-info:active,
.ss-home .btn-info:active {
  background-color: #85d0e7 !important;
  border-color: #85d0e7 !important;
  color: #ffffff !important;
}

/* Print Button (Matches Core System .btn-print: #9aaab5) */
.ss-home .ss-btn-print,
.ss-home .btn-print,
.ss-home .ss-eval-print {
  background-color: #9aaab5 !important;
  border-color: #9aaab5 !important;
  color: #ffffff !important;
}

.ss-home .ss-btn-print:hover:not([disabled]),
.ss-home .btn-print:hover:not([disabled]),
.ss-home .ss-eval-print:hover:not([disabled]) {
  background-color: #8b9eaa !important;
  border-color: #8b9eaa !important;
  color: #ffffff !important;
}

.ss-home .ss-btn-print:focus,
.ss-home .btn-print:focus,
.ss-home .ss-eval-print:focus,
.ss-home .ss-btn-print:active,
.ss-home .btn-print:active,
.ss-home .ss-eval-print:active {
  background-color: #b7c3cb !important;
  border-color: #b7c3cb !important;
  color: #ffffff !important;
}

.ss-home .ss-btn-sm {
  min-height: 24px;
  padding: 2px 8px;
  font-size: 11.5px;
}

.ss-home .ss-btn-lg {
  min-height: 34px;
  padding: 6px 18px;
  font-size: 13px;
}

.ss-home .ss-btn-block {
  display: flex;
  width: 100%;
}

/* ---- status badges ---- */
.ss-home .ss-badge,
.ss-home .ss-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  background: var(--st-neutral-bg);
  color: var(--st-neutral);
}

.ss-home .ss-badge::before,
.ss-home .ss-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.ss-home .ss-badge.is-pending,
.ss-home .ss-pill.p-pending {
  background: var(--st-pending-bg);
  color: var(--st-pending);
}

.ss-home .ss-badge.is-review,
.ss-home .ss-pill.p-review {
  background: var(--st-review-bg);
  color: var(--st-review);
}

.ss-home .ss-badge.is-approved,
.ss-home .ss-pill.p-approved {
  background: var(--st-approved-bg);
  color: var(--st-approved);
}

.ss-home .ss-badge.is-rejected,
.ss-home .ss-pill.p-rejected {
  background: var(--st-rejected-bg);
  color: var(--st-rejected);
}

.ss-home .ss-badge.is-neutral {
  background: var(--st-neutral-bg);
  color: var(--st-neutral);
}

.ss-home .ss-pill-lg {
  font-size: 12px;
  padding: 5px 14px;
}

/* ---- filter chips ---- */
.ss-home .ss-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.ss-home .ss-chip {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ss-home .ss-chip:hover {
  background: var(--brand-soft);
}

.ss-home .ss-chip.on,
.ss-home .ss-chip.sel,
.ss-home.ss-page .ss-chip.sel {
  border-color: var(--brand-orange);
  background: var(--brand-orange);
  color: #fff;
  font-weight: 700;
}

.ss-home .ss-select {
  min-height: 28px;
  height: 28px;
  border: 1px solid var(--field-line);
  border-radius: 0;
  background: #fff;
  padding: 2px 6px;
  font-family: inherit;
  font-size: 12px;
  color: #3e342e;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}

.ss-home .ss-select:focus {
  border-color: #da9e52;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  outline: 0;
}

/* ---- list rows, empty state ---- */
.ss-home .ss-list {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden;
}

.ss-home .ss-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  font-family: inherit;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
}

.ss-home .ss-row:first-child {
  border-top: 0;
}

.ss-home .ss-row:hover {
  /* background: var(--brand-soft); */
  color: var(--brand-orange);

}

.ss-home .ss-row:hover svg {
  stroke: var(--brand-orange);
}

.ss-home .ss-row-ic {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--brand-soft);
  color: var(--edge);
  display: grid;
  place-items: center;
  flex: none;
}

.ss-home .ss-row-main {
  flex: 1;
  min-width: 0;
}

.ss-home .ss-row-main b {
  display: block;
  font-weight: 700;
}

.ss-home .ss-row-main small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.ss-home .ss-row-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  flex: none;
}

.ss-home .ss-row>.ss-chev {
  color: var(--muted);
  width: 20px;
  height: 20px;
}

.ss-home .ss-empty {
  text-align: center;
  color: var(--muted);
  border: 1px dashed #B3ADBE;
  border-radius: var(--r);
  background: #fff;
  padding: 32px 16px;
  font-size: 13px;
}

.ss-home .ss-empty svg {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.ss-home .ss-loading {
  padding: 40px;
  font-size: 24px;
  color: var(--muted);
  text-align: center;
}

/* ---- dialog ---- */
.ss-home .ss-dialog-back {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(31, 36, 48, .45);
  display: grid;
  place-items: center;
  padding: 16px;
}

.ss-home .ss-dialog {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--hard-lg);
}

.ss-home .ss-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.ss-home .ss-dialog-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.ss-home .ss-dialog-body {
  padding: 20px;
}

.ss-home .ss-dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

/* ---- bottom action bar: a plain row on desktop, sticky on phone ---- */
.ss-home .ss-actionbar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ---- vertical stepper ---- */
.ss-home .ss-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ss-home .ss-steps>li {
  display: flex;
  gap: 12px;
  position: relative;
  padding-bottom: 20px;
}

.ss-home .ss-steps>li:last-child {
  padding-bottom: 0;
}

.ss-home .ss-steps>li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 13px;
  top: 30px;
  bottom: 2px;
  width: 2px;
  background: var(--line);
}

.ss-home .ss-steps>li.is-done:not(:last-child)::after {
  background: var(--st-approved);
}

.ss-home .ss-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--field-line);
  background: #fff;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 600;
  flex: none;
  z-index: 1;
}

.ss-home .ss-step-dot svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

.ss-home .is-done>.ss-step-dot {
  border-color: var(--st-approved);
  background: var(--st-approved-bg);
  color: var(--st-approved);
}

.ss-home .is-current>.ss-step-dot {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--edge);
}

.ss-home .is-rejected>.ss-step-dot {
  border-color: var(--st-rejected);
  background: var(--st-rejected-bg);
  color: var(--st-rejected);
}

.ss-home .ss-step-title {
  display: block;
  font-weight: 700;
  line-height: 1.5;
}

.ss-home .ss-step-sub {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

/* ---- upload zone and file chip ---- */
.ss-home .ss-upload {
  border: 1px dashed #B3ADBE;
  border-radius: 8px;
  background: #fff;
  padding: 24px 16px;
  text-align: center;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ss-home .ss-upload.dragover,
.ss-home .ss-upload:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.ss-home .ss-upload-ic {
  width: 32px;
  height: 32px;
  color: var(--brand-ink);
}

.ss-home .ss-upload-text small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.ss-home .ss-filechip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff;
}

.ss-home .ss-filechip>svg {
  color: var(--brand-ink);
}

.ss-home .ss-filechip-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13.5px;
}

.ss-home .ss-filechip-size {
  color: var(--muted);
  font-size: 12px;
  flex: none;
}

.ss-home .ss-filechip-x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}

.ss-home .ss-filechip-x:hover {
  background: #E8EBEE;
}

/* ---- the ERP form controls inside the self service pages ---- */
.ss-home.ss-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
}

.ss-home.ss-page .form-group::before,
.ss-home.ss-page .form-group::after {
  display: none;
}

.ss-home.ss-page .form-group>label,
.ss-home.ss-page .form-group>[class*="col-"] {
  float: none;
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
  margin: 0;
  min-height: 0;
  text-align: start;
}

.ss-home.ss-page .form-group>label {
  font-size: 12px;
  font-weight: 700;
  color: #3e342e;
  line-height: 1.5;
  margin-bottom: 4px;
}

.ss-home.ss-page .form-control {
  display: block;
  width: 100%;
  height: 28px;
  padding: 2px 6px;
  border: 1px solid var(--field-line);
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  background-color: #fff;
  color: #3e342e;
  font-family: inherit;
  font-size: 12px;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}

.ss-home.ss-page textarea.form-control {
  height: auto;
  min-height: 60px;
  padding: 4px 6px;
  resize: vertical;
  font-size: 12px;
  border-radius: 0;
}

.ss-home.ss-page .form-control::placeholder {
  color: #333;
  font-size: 11px;
}

.ss-home.ss-page .form-control:focus {
  border: 1px solid #da9e52;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  outline: 0;
}

.ss-home.ss-page .form-control[readonly],
.ss-home.ss-page .form-control[disabled],
.ss-home.ss-page fieldset[disabled] .form-control {
  background-color: var(--field-ro);
  border-color: #ccc #ededed #ededed;
  color: #555;
  cursor: text;
  opacity: 1;
  -webkit-appearance: none;
  -moz-appearance: none;
  resize: none;
}

.ss-home.ss-page .form-control[disabled]:focus,
.ss-home.ss-page .form-control[readonly]:focus,
.ss-home.ss-page fieldset[disabled] .form-control:focus {
  border-color: transparent;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

.ss-home.ss-page select.form-control {
  height: 28px !important;
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5263' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: right 6px center;
  font-size: 12px;
  border-radius: 0;
}

html[dir="rtl"] .ss-home.ss-page select.form-control {
  background-position: left 6px center;
}

.ss-home.ss-page select.form-control[disabled] {
  background-color: var(--field-ro);
  border-color: #ccc #ededed #ededed;
}

/* the ERP marks a required field with a red edge; here a field is red only after it was touched or the form was sent */
html body .ss-home.ss-page .form-group .form-control[class*="ng-invalid"] {
  border: 1px solid var(--field-line) !important;
}

html body .ss-home.ss-page .form-group.has-error .form-control,
html body .ss-home.ss-page .form-group .form-control.ng-invalid.ng-touched,
html body .ss-home.ss-page .ng-submitted .form-group .form-control.ng-invalid,
html body .ss-home.ss-page .form-group .form-control.invalid {
  border: 1px solid var(--bad) !important;
  background-color: #fff !important;
}

html body .ss-home.ss-page .form-group .form-control.ng-invalid.ng-touched:focus,
html body .ss-home.ss-page .ng-submitted .form-group .form-control.ng-invalid:focus {
  box-shadow: 0 0 0 3px rgba(177, 61, 61, .25);
}

.ss-home.ss-page .np-validations-container {
  display: block;
  margin-top: 4px;
}

.ss-home.ss-page .text-danger,
.ss-home.ss-page .ss-error {
  color: var(--bad);
  font-size: 12.5px;
}

.ss-home.ss-page .input-group {
  display: flex;
  width: 100%;
}

.ss-home.ss-page .input-group .form-control {
  float: none;
  flex: 1;
  min-width: 0;
  width: auto;
  border-radius: 0;
}

html[dir="rtl"] .ss-home.ss-page .input-group .form-control:not(:last-child) {
  border-radius: 0;
}

.ss-home.ss-page .input-group-addon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--field-line);
  border-radius: 0;
  border-inline-start: 0;
  background: #eee;
  color: #555;
  width: auto;
  cursor: pointer;
  font-size: 12px;
}

.ss-home.ss-page .checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0;
  font-weight: 500;
  font-size: 13px;
}

/* ---- Unified, clean & clear styling for np-file across all self-service pages ---- */
.ss-home np-file {
  display: block;
  min-width: 0;
}

.ss-home .single-file,
.ss-home .multiFiles-button-only,
.ss-home .np-file-upload {
  text-align: start !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Upload trigger button (.btn-upload / .upload-button) */
html body .ss-home .single-file .btn-upload,
html body .ss-home .multiFiles-button-only .upload-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 36px !important;
  max-height: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 6px 16px !important;
  background-color: #fffaf5 !important;
  color: #a76e41 !important;
  border: 1px dashed #da9e52 !important;
  border-radius: 4px !important;
  font-family: inherit;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

html body .ss-home .single-file .btn-upload .fa,
html body .ss-home .multiFiles-button-only .upload-button .fa {
  font-size: 14px;
  color: #da9e52 !important;
}

html body .ss-home .single-file .btn-upload:hover:not(.disabled),
html body .ss-home .multiFiles-button-only .upload-button:hover:not([disabled]) {
  background-color: #fff0e6 !important;
  border: 1px solid #da9e52 !important;
  color: #8c5a20 !important;
  box-shadow: none !important;
}

html body .ss-home .single-file .btn-upload.disabled,
html body .ss-home .multiFiles-button-only .upload-button[disabled] {
  opacity: .55;
  pointer-events: none;
}

/* Hide single-file info row when no file is chosen yet (prevents stray "%" and "KB") */
.ss-home .single-file .file-info {
  display: none;
}

/* Clean attachment row when a file is selected/uploaded */
.ss-home .single-file .file-info:has(.file-name a:not(:empty)),
.ss-home .multiFiles-button-only .uploaded-files .upload-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  max-width: 100%;
  width: 100%;
  min-height: 40px;
  margin: 8px 0 0 !important;
  padding: 6px 12px !important;
  background: #ffffff;
  border: 1px solid #e6e9ed !important;
  border-inline-start: 3px solid #da9e52 !important;
  border-radius: 4px;
  clear: both;
  overflow: hidden;
}

.ss-home .single-file .file-info:has(.file-name a:not(:empty))::before {
  content: "\f0c6";
  font-family: FontAwesome;
  font-size: 14px;
  color: #a76e41;
  flex: none;
}

.ss-home .multiFiles-button-only .uploaded-files {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ss-home .multiFiles-button-only .uploaded-files .upload-item .icon {
  position: static !important;
  width: auto !important;
  padding: 0 !important;
  color: #a76e41 !important;
  display: inline-flex;
  align-items: center;
  flex: none;
}

.ss-home .multiFiles-button-only .uploaded-files .upload-item .icon .fa {
  font-size: 15px !important;
  margin: 0 !important;
}

.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info {
  flex: 1;
  min-width: 0;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  right: auto !important;
  left: auto !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.ss-home .single-file .file-info .file-name,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .file-name {
  float: none !important;
  flex: 1;
  min-width: 0;
  width: auto !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
}

.ss-home .single-file .file-info .file-name a,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .file-name a {
  color: #252525;
  font-family: inherit;
  text-decoration: none;
}

.ss-home .single-file .file-info .file-name a:hover,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .file-name a:hover {
  color: #da9e52;
  text-decoration: underline;
}

.ss-home .single-file .file-info .percentage,
.ss-home .single-file .file-info .file-size,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .percentage,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .file-size {
  float: none !important;
  font-size: 11.5px;
  color: #737373;
  direction: ltr;
  unicode-bidi: isolate;
}

.ss-home .single-file .file-info .progress,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .progress {
  flex-basis: 100%;
  order: 9;
  height: 4px !important;
  margin: 2px 0 0 !important;
  background: #edf0f3;
  border-radius: 99px;
  box-shadow: none;
}

.ss-home .single-file .file-info .progress-bar,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .progress-bar {
  background-color: #26b99a;
  box-shadow: none;
}

.ss-home .single-file .file-info .actions,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .actions {
  float: none !important;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.ss-home .single-file .file-info .actions a,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .actions a {
  min-width: 38px;
  height: 28px;
  padding: 0 14px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ss-home .single-file .file-info .actions a.preview,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .actions a.preview {
  background-color: #eaf8f5;
  color: #08a86d !important;
  border-color: #bfe8dc;
}

.ss-home .single-file .file-info .actions a.preview:hover,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .actions a.preview:hover {
  background-color: #08bf7d;
  color: #ffffff !important;
  border-color: #08bf7d;
  box-shadow: 0 2px 4px rgba(8, 191, 125, 0.25);
}

.ss-home .single-file .file-info .actions a.download,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .actions a.download {
  background-color: #edf8fb;
  color: #2689ab !important;
  border-color: #c4e5f0;
}

.ss-home .single-file .file-info .actions a.download:hover,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .actions a.download:hover {
  background-color: #5bc0de;
  color: #ffffff !important;
  border-color: #46b8da;
  box-shadow: 0 2px 4px rgba(91, 192, 222, 0.28);
}

.ss-home .single-file .file-info .actions a.delete,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .actions a.delete {
  background-color: #fdf0f0;
  color: #d9534f !important;
  border-color: #f3c4c2;
}

.ss-home .single-file .file-info .actions a.delete:hover,
.ss-home .multiFiles-button-only .uploaded-files .upload-item .file-info .actions a.delete:hover {
  background-color: #d9534f;
  color: #ffffff !important;
  border-color: #d43f3a;
  box-shadow: 0 2px 4px rgba(217, 83, 79, 0.25);
}

/* ---- the employee home ---- */
.ss-home .ss-hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--hard-lg);
  padding: 20px 24px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ss-home .ss-hero::after {
  display: none;
}

.ss-home .ss-hero-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  font-size: 22px;
  color: var(--muted);
}

.ss-home .ss-who {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.ss-home .ss-avatar {
  width: 64px;
  height: 64px;
  font-size: 24px;
  border: 2px solid #DA9E52;
  box-shadow: 0 4px 12px rgba(218, 158, 82, 0.22);
  overflow: hidden;
  background: #FFFFFF;
}

.ss-home .ss-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.ss-home .ss-who-text {
  min-width: 0;
}

.ss-home .ss-greeting {
  color: var(--muted);
  font-size: 13px;
  opacity: 1;
}

.ss-home .ss-hero h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}

.ss-home .ss-meta {
  color: var(--ink-2);
  font-size: 13.5px;
  opacity: 1;
}

.ss-home .ss-sep {
  margin: 0 6px;
}

.ss-home .ss-stat {
  flex: none;
  min-width: 160px;
  padding: 0;
  padding-inline-start: 24px;
  border: 0;
  border-inline-start: 1px solid var(--line);
  border-radius: 0;
  background: none;
  text-align: start;
}

.ss-home .ss-stat small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  opacity: 1;
}

.ss-home .ss-stat-val {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ss-home .ss-stat-val svg {
  width: 28px;
  height: 28px;
  color: var(--brand-ink);
}

.ss-home .ss-stat-val b {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.ss-home .ss-stat-val span {
  color: var(--ink-2);
  font-size: 14px;
}

/* ---------- Home: greeting, quick actions, latest requests and service cards ---------- */
.ss-home .is-teal {
  --c: #14A896;
}

.ss-home .is-orange {
  --c: #F08C32;
}

.ss-home .is-green {
  --c: #22A35A;
}

.ss-home .is-violet {
  --c: #7C5CDB;
}

.ss-home .is-blue {
  --c: #3B82F6;
}

.ss-home .is-gold {
  --c: #DA9E52;
}

.ss-home .is-pink {
  --c: #E0527E;
}

.ss-home .is-indigo {
  --c: #5865F2;
}

.ss-home .is-yellow {
  --c: #F2B01E;
}

.ss-home .is-sky {
  --c: #0EA5E9;
}

.ss-home .is-purple {
  --c: #A855F7;
}

.ss-home .ssb-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.ss-home .ssb-hi h1 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.2px;
  line-height: 1.35;
  color: var(--brand-orange);
}

.ss-home .ssb-hi p {
  margin: 0;
  color: #737373;
  font-size: 13px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ss-home .ssb-hi p b {
  color: #da9e52;
  font-weight: 700;
}

.ss-home .ssb-chips {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ss-home .ssb-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 16px 8px 12px;
  border: 1px solid #E6E9ED;
  border-radius: 8px;
  background-color: #ffffff;
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  text-align: start;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ss-home .ssb-chip:hover {
  border-color: #da9e52;
  -webkit-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12) !important;
  -moz-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12) !important;
}

.ss-home .ssb-chip np-ss-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--c, #da9e52) 13%, #fff);
  color: var(--c, #da9e52);
  flex: none;
}

.ss-home .ssb-chip np-ss-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex: none;
}

.ss-home .ssb-chip span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  gap: 2px;
}

.ss-home .ssb-chip b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #252525;
  letter-spacing: -0.2px;
}

.ss-home .ssb-chip small {
  display: block;
  font-size: 11px;
  color: #737373;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.ss-home .ssb-row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.ss-home .ssb-hero {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #E6E9ED;
  border-radius: 8px;
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ss-home .ssb-hero-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e5e7eb;
}

.ss-home .ssb-hero h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #252525;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ss-home .ssb-hero h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 15px;
  background: #da9e52;
  border-radius: 2px;
  flex: none;
}

.ss-home .ssb-hero-head p,
.ss-home .ssb-hero>p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #737373;
  font-size: 12px;
}

.ss-home .ssb-acts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ss-home .is-teal.ssb-act {
  --c: #0EA5A4;
  --c-soft: #ECF9F8;
}

.ss-home .is-orange.ssb-act {
  --c: #DA9E52;
  --c-soft: #FDF6EC;
}

.ss-home .is-green.ssb-act {
  --c: #26B99A;
  --c-soft: #EDF9F6;
}

.ss-home .is-violet.ssb-act {
  --c: #5BC0DE;
  --c-soft: #EFF9FC;
}

.ss-home .ssb-act {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--c) 24%, #e6e9ed);
  border-inline-start: 3.5px solid var(--c);
  border-radius: 6px;
  background: var(--c-soft);
  color: #333333;
  font-family: inherit;
  text-align: start;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color .18s ease, border-color .18s ease;
}

.ss-home .ssb-act:hover {
  background: color-mix(in srgb, var(--c) 14%, #ffffff);
  border-color: var(--c);
  box-shadow: none !important;
}

.ss-home .ssb-act-ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 25%, #ffffff);
  display: grid;
  place-items: center;
  margin-bottom: 0;
  flex: none;
}

.ss-home .ssb-act-ic svg {
  width: 19px;
  height: 19px;
}

.ss-home .ssb-act-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ss-home .ssb-act b {
  font-size: 13px;
  font-weight: 700;
  color: #252525;
  line-height: 1.3;
}

.ss-home .ssb-act small {
  font-size: 11px;
  color: #666666;
  line-height: 1.35;
}

.ss-home .ssb-act-go {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--c);
  display: grid;
  place-items: center;
  flex: none;
  transition: background-color .18s ease, color .18s ease;
}

.ss-home .ssb-act-go svg {
  width: 14px;
  height: 14px;
}

.ss-home .ssb-act:hover .ssb-act-go {
  background: var(--c);
  color: #ffffff;
}

.ss-home .ssb-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #ffffff;
  border: 1px solid #E6E9ED;
  border-radius: 8px;
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  padding: 22px 20px 18px;
  margin: 0;
  text-align: center;
  overflow: visible;
  position: relative;
}

.ss-home .ssb-photo-frame {
  width: 78px;
  height: 78px;
  max-width: 78px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 3px;
  background: #ffffff;
  border: 2px solid #DA9E52;
  box-shadow: 0 4px 14px rgba(218, 158, 82, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  flex: none;
}

.ss-home .ssb-photo-frame::after {
  content: "";
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #16A36A;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

html[dir="rtl"] .ss-home .ssb-photo-frame::after {
  right: auto;
  left: 2px;
}

.ss-home .ssb-photo-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.ss-home .ssb-photo-frame .ss-art {
  position: static;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #FDF9F3 0%, #F5E8D4 100%);
  align-self: end;
  stroke: none;
  overflow: hidden;
}

.ss-home .ssb-photo-frame .ss-art path,
.ss-home .ssb-photo-frame .ss-art circle {
  fill: #DA9E52 !important;
}

.ss-home .ssb-photo-frame .ss-art ellipse {
  fill: #FFF9F3 !important;
}

.ss-home .ssb-photo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-top: 2px;
  width: 100%;
}

.ss-home .ssb-photo-text b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: #1D1B22;
  line-height: 1.35;
  letter-spacing: -0.2px;
  max-width: 100%;
  word-break: break-word;
}

.ss-home .ssb-photo-text small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  background: #FAF4EB;
  border: 1px solid #F0DFCA;
  border-radius: 20px;
  color: #9A6424;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 100%;
}

.ss-home .ssb-photo-text small::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DA9E52;
  flex: none;
}

.ss-home .ssb-photo .ssb-more {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 18px;
  border: 1.5px solid #DA9E52;
  border-radius: 6px;
  background: #FAF4EB;
  color: #9A6424;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(218, 158, 82, 0.12);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.ss-home .ssb-photo .ssb-more:hover {
  background: #DA9E52;
  border-color: #DA9E52;
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(218, 158, 82, 0.32);
}

.ss-home .ssb-photo .ssb-more:active {
  opacity: 0.95;
}

.ss-home .ss-home-btn svg {
  width: 20px;
  height: 20px;
}

.ss-home .ssb-more svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  flex: none;
}

html[dir="rtl"] .ss-home .ss-chev-ic {
  transform: scaleX(-1);
  line-height: 2.5;
}

.ss-home .ssb-sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 16px;
}

.ss-home .ssb-sec h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #252525;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ss-home .ssb-sec h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #da9e52;
  border-radius: 2px;
  flex: none;
}

.ss-home .ssb-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid #E6E9ED;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.04);
}

.ss-home .ssb-tabs button {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #666666;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
}

.ss-home .ssb-tabs button:hover {
  color: #da9e52;
  background: #FFF9F3;
}

.ss-home .ssb-tabs button.on {
  background: #da9e52;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(218, 158, 82, 0.35);
}

.ss-home .ssb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 0 10px;
}

.ss-home .ssb-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 158px;
  padding: 18px;
  border: 1px solid #E6E9ED;
  border-radius: 8px;
  background-color: #ffffff;
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  color: #333333;
  font-family: inherit;
  text-align: start;
  cursor: pointer;
  transition: box-shadow .18s ease, border-color .18s ease;
}

.ss-home .ssb-card:hover {
  border-color: #da9e52;
  -webkit-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12) !important;
  -moz-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12) !important;
}

.ss-home .ssb-card::before {
  display: none;
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  border-radius: 46% 54% 60% 40%;
  background: color-mix(in srgb, var(--c) 26%, #fff);
  inset-inline-end: -40px;
  top: -40px;
}

.ss-home .ssb-card-group {
  font-size: 11px;
  font-weight: 700;
  color: #8c8c8c;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.ss-home .ssb-card b {
  font-size: 14px;
  font-weight: 700;
  color: #252525;
  line-height: 1.35;
}

.ss-home .ssb-card-sub {
  font-size: 12px;
  color: #737373;
  line-height: 1.45;
}

.ss-home .ssb-pill {
  margin-top: auto;
  padding-top: 6px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 10px;
  border: 0;
  border-radius: 6px;
  background: color-mix(in srgb, var(--c) 14%, #fff);
  color: color-mix(in srgb, var(--c) 70%, #1D1B22);
  font-size: 11px;
  font-weight: 700;
}

.ss-home .ssb-card-ic {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  background: color-mix(in srgb, var(--c) 13%, #fff);
  color: var(--c);
}

.ss-home .ssb-card-ic svg {
  width: 22px;
  height: 22px;
}



body.ar .ess-input input {
  text-align: right;
}

body.en .ess-input input {
  text-align: left;
}

/* ==========================================================================
   Responsive Architecture & Mobile-First Excellence for Employee Self-Service
   ========================================================================== */

/* Active state tap feedback & touch optimizations across all devices */
.ss-home {
  overflow-x: clip;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.ss-home .ss-body {
  width: 100%;
  box-sizing: border-box;
}

.ss-home .ssb-card:active,
.ss-home .ssb-act:active,
.ss-home .ssb-chip:active,
.ss-home .ss-btn:active,
.ss-home .ss-row:active {
  opacity: 0.95;
}

/* --------------------------------------------------------------------------
   1. Tablets & Medium Screens (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ss-home .ss-body {
    padding: 22px 20px 32px;
  }

  .ss-home .ssb-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .ss-home .ssb-photo {
    flex-direction: row;
    text-align: start;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 22px;
    gap: 16px;
  }

  .ss-home .ssb-photo-frame {
    width: 64px;
    height: 64px;
    max-width: 64px;
    flex: none;
    padding: 2.5px;
  }

  .ss-home .ssb-photo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    gap: 4px;
    flex: 1;
    min-width: 0;
    margin: 0;
  }

  .ss-home .ssb-photo-text b {
    font-size: 15.5px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .ss-home .ssb-photo-text small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .ss-home .ssb-photo .ssb-more {
    margin-inline-start: auto;
    margin-top: 0;
    width: auto;
    flex: none;
    white-space: nowrap;
    padding: 0 18px;
  }

  .ss-home .ssb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

/* --------------------------------------------------------------------------
   2. Mobile & Phablet Screens (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* --- Top Navigation Bar --- */
  .ss-home .ss-top {
    padding: 8px 14px;
    min-height: 56px;
    gap: 10px;
  }

  .ss-home .ss-brand {
    gap: 8px;
    min-width: 0;
  }

  .ss-home .ss-logo img {
    height: 32px;
  }

  .ss-home .ss-brand-text {
    padding-inline-start: 8px;
    max-width: 180px;
    min-width: 0;
  }

  .ss-home .ss-brand-text>span {
    font-size: 13.5px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ss-home .ss-brand-text small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    opacity: 0.85;
  }

  .ss-home .ss-top-actions {
    gap: 6px;
    align-items: center;
  }

  /* Keep employee avatar visible on mobile, only hide the text name */
  .ss-home .ss-me {
    display: flex;
    align-items: center;
    padding: 2px;
  }

  .ss-home .ss-me-name {
    display: none;
  }

  .ss-home .ss-me-avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .ss-home .sign-out .btn,
  .ss-home .sign-out .ss-top-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-height: 28px;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .ss-home .ss-lang a {
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 12.5px;
  }

  /* --- Pagebar --- */
  .ss-home .ss-pagebar {
    gap: 10px;
    margin-bottom: 16px;
  }

  .ss-home .ss-pagebar h1 {
    font-size: clamp(16px, 4vw, 18px);
    line-height: 1.3;
  }

  .ss-home .ss-back {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  /* --- Main Container --- */
  .ss-home .ss-body {
    padding: 16px 14px 30px;
  }

  /* --- Home Greeting & Quick Chips --- */
  .ss-home .ssb-top {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 18px;
  }

  .ss-home .ssb-hi h1 {
    font-size: clamp(16px, 3.5vw, 18px);
    margin-bottom: 4px;
  }

  .ss-home .ssb-hi p {
    font-size: 13px;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
  }

  .ss-home .ssb-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .ss-home .ssb-chip {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    min-height: 52px;
    border-radius: 8px;
  }

  .ss-home .ssb-chip np-ss-icon {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 7px;
  }

  .ss-home .ssb-chip np-ss-icon svg {
    width: 18px;
    height: 18px;
  }

  .ss-home .ssb-chip span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
  }

  .ss-home .ssb-chip b {
    font-size: 16px;
  }

  .ss-home .ssb-chip small {
    font-size: 11px;
  }

  /* --- Hero Actions & Profile Banner --- */
  .ss-home .ssb-hero {
    padding: 16px;
  }

  .ss-home .ssb-acts {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .ss-home .ssb-act {
    min-height: 56px;
    padding: 10px 12px;
    flex-direction: row;
    align-items: center;
    text-align: start;
    gap: 10px;
  }

  .ss-home .ssb-act-ic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-bottom: 0;
  }

  .ss-home .ssb-photo {
    padding: 14px 16px;
    gap: 12px;
    border-radius: 8px;
  }

  .ss-home .ssb-photo-frame {
    width: 54px;
    height: 54px;
    max-width: 54px;
    padding: 2px;
  }

  .ss-home .ssb-photo-frame::after {
    width: 11px;
    height: 11px;
    border-width: 2px;
    bottom: 1px;
    right: 1px;
  }

  html[dir="rtl"] .ss-home .ssb-photo-frame::after {
    right: auto;
    left: 1px;
  }

  .ss-home .ssb-photo-text {
    gap: 3px;
  }

  .ss-home .ssb-photo-text b {
    font-size: 14.5px;
  }

  .ss-home .ssb-photo-text small {
    font-size: 10.5px;
    padding: 2px 8px;
  }

  .ss-home .ssb-photo .ssb-more {
    font-size: 12px;
    min-height: 34px;
    padding: 0 12px;
    gap: 5px;
  }

  /* --- Services Filter Tabs --- */
  .ss-home .ssb-sec {
    margin: 20px 0 12px;
  }

  .ss-home .ssb-sec h2 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .ss-home .ssb-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 0 6px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ss-home .ssb-tabs::-webkit-scrollbar {
    display: none;
  }

  .ss-home .ssb-tabs button {
    flex: none;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* --- Services Grid --- */
  .ss-home .ssb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ss-home .ssb-card {
    min-height: 136px;
    padding: 12px;
    border-radius: 8px;
  }

  .ss-home .ssb-card-ic {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    margin-bottom: 6px;
  }

  .ss-home .ssb-card-ic np-ss-icon,
  .ss-home .ssb-card-ic svg {
    width: 20px;
    height: 20px;
  }

  .ss-home .ssb-card-group {
    font-size: 10.5px;
    margin-bottom: 2px;
  }

  .ss-home .ssb-card b {
    font-size: 14px;
    line-height: 1.3;
  }

  .ss-home .ssb-card-sub {
    font-size: 11.5px;
    line-height: 1.35;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ss-home .ssb-pill {
    margin-top: 6px;
    font-size: 10.5px;
    padding: 2px 8px;
  }

  /* --- Dialogs & Bottom Sheets --- */
  .ss-home .ss-dialog-back {
    align-items: flex-end;
    padding: 0;
  }

  .ss-home .ss-dialog {
    max-width: 100%;
    width: 100%;
    border-radius: 8px 8px 0 0;
    max-height: 88vh;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.16);
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  }

  .ss-home .ss-actionbar {
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin: 16px -14px -30px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
  }

  .ss-home .ss-actionbar .ss-btn {
    flex: 1;
    min-height: 44px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
  }
}

/* --------------------------------------------------------------------------
   3. Small Mobile Screens (max-width: 400px)
   -------------------------------------------------------------------------- */
@media (max-width: 400px) {
  .ss-home .ss-brand-text {
    max-width: 130px;
  }

  .ss-home .ss-brand-text>span {
    font-size: 12.5px;
  }

  .ss-home .ssb-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .ss-home .ssb-chip {
    padding: 8px 10px;
    gap: 8px;
    min-height: 50px;
  }

  .ss-home .ssb-chip np-ss-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
  }

  .ss-home .ssb-chip np-ss-icon svg {
    width: 16px;
    height: 16px;
  }

  .ss-home .ssb-chip b {
    font-size: 14.5px;
  }

  .ss-home .ssb-acts {
    gap: 6px;
  }

  .ss-home .ssb-act {
    min-height: 52px;
    padding: 8px 10px;
  }

  .ss-home .ssb-act b {
    font-size: 12.5px;
  }

  .ss-home .ssb-grid {
    gap: 8px;
  }

  .ss-home .ssb-card {
    min-height: 124px;
    padding: 10px 8px;
  }

  .ss-home .ssb-card b {
    font-size: 13px;
  }

  .ss-home .ssb-card-sub {
    display: none;
  }

  .ss-home .ssb-photo {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 16px 14px;
    gap: 10px;
  }

  .ss-home .ssb-photo-text {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .ss-home .ssb-photo-text b {
    white-space: normal;
  }

  .ss-home .ssb-photo-text small {
    white-space: normal;
  }

  .ss-home .ssb-photo .ssb-more {
    width: 100%;
    margin-top: 6px;
    margin-inline-start: 0;
  }
}

/* =====================================================================================================
   Cards: same corners, border and shadow as the core system panels (.x_panel)
   square corners, 1px warm border (#F5DDCD top, #f7decc sides, #fbdfca bottom), 0 2px 4px rgba(0,0,0,.1)
   Kept last and prefixed with "html body" so it wins over the page files and the phone overrides.
   ===================================================================================================== */
html body .ss-home .ss-card,
html body .ss-home .ss-list,
html body .ss-home .ss-hero,
html body .ss-home .ssb-hero,
html body .ss-home .ssb-photo,
html body .ss-home .ssb-chip,
html body .ss-home .ssb-card,
html body .ss-home .ss-des-q,
html body .ss-home .ss-sal-sum {
  border-radius: 3px !important;
  border: 1px solid !important;
  border-color: #F5DDCD #f7decc #fbdfca !important;
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* clickable or active cards: same shadow, only the border turns brand colour */
html body .ss-home .ssb-chip:hover,
html body .ss-home .ssb-card:hover,
html body .ss-home .ss-sal-pos.is-open,
html body .ss-home .ss-pf-card.is-editing,
html body .ss-home .ss-sal-sum.is-main {
  border-color: #da9e52 !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* a panel inside a panel has no shadow, like .x_panel .x_panel in the core system */
html body .ss-home .ss-card .ss-card,
html body .ss-home .ss-card .ss-sal-sum {
  box-shadow: none !important;
}

/* phone: list rows turn into separate cards, the list itself becomes a plain container */
@media (max-width: 768px) {
  html body .ss-home .ss-list.ss-reqlist {
    border: 0 !important;
    background: none;
    box-shadow: none !important;
  }

  html body .ss-home .ss-reqlist .ss-row,
  html body .ss-home .ss-reqlist .ss-ib,
  html body .ss-home .ss-des-row {
    border-radius: 0 !important;
    border: 1px solid !important;
    border-color: #F5DDCD #f7decc #fbdfca !important;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  }
}