/*
 * Hamasat BrandLook — entry and employee surfaces only.
 * The selectors intentionally use the existing view IDs so this sheet does
 * not change the manager, supervisor, dashboard, or admin experience.
 */
:root {
  --hamasat-graphite: #29282b;
  --hamasat-graphite-soft: #39373b;
  --hamasat-coral: #e52d4f;
  --hamasat-coral-soft: #fff0f1;
  --hamasat-paper: #fff;
  --hamasat-canvas: #faf9f7;
  --hamasat-line: #e7e5e2;
  --hamasat-muted: #6f6d70;
}

/* Login: quiet canvas, white form card, and the graphite brand panel suggested
   by the approved entry composition. */
body:has(#employeeLoginView:not(.hidden)) {
  background: var(--hamasat-canvas);
  color: var(--hamasat-graphite);
}

body:has(#employeeLoginView:not(.hidden)) .container {
  max-width: 1060px;
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 34px 20px;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView {
  position: relative;
  width: min(100%, 920px);
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(250px, .82fr) minmax(330px, 1.18fr);
  direction: ltr;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--hamasat-line);
  border-radius: 24px;
  background: var(--hamasat-paper);
  box-shadow: 0 20px 55px rgba(41, 40, 43, .11);
  text-align: right;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background:
    radial-gradient(circle at 18% 82%, rgba(229, 45, 79, .2) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 16%, rgba(229, 45, 79, .14) 0 2px, transparent 3px),
    var(--hamasat-graphite);
  background-size: 38px 38px, 52px 52px, auto;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView::after {
  content: "همسات\A لمستحضرات التجميل";
  white-space: pre;
  position: absolute;
  top: 42px;
  left: 34px;
  margin: 0;
  width: 116px;
  padding-top: 82px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: right;
  background: url("hamasat-brand-mark.png") no-repeat top right / 72px 72px;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > * {
  direction: rtl;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > h2,
body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > label,
body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > #employeeSelect,
body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > #employeePin,
body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > button,
body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > #employeeLoginMsg {
  grid-column: 2;
  margin-inline: 56px;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > h2 {
  margin-top: 58px;
  margin-bottom: 22px;
  color: var(--hamasat-graphite);
  font-size: 30px;
  font-weight: 700;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > label {
  margin-top: 6px;
  margin-bottom: 7px;
  color: var(--hamasat-muted);
  font-weight: 500;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > select,
body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > input {
  width: auto;
  margin-bottom: 6px;
  border: 1px solid var(--hamasat-line);
  border-radius: 11px;
  background: #fff;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > select:focus,
body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > input:focus {
  border-color: var(--hamasat-coral);
  box-shadow: 0 0 0 3px rgba(229, 45, 79, .12);
  outline: 0;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > button {
  width: auto;
  margin-top: 14px;
  border-radius: 11px;
  min-height: 46px;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > button.btn {
  background: var(--hamasat-coral);
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > button.btn:hover {
  background: #c92343;
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > button.btn2 {
  margin-top: 0;
  background: #f4f2ef;
  color: var(--hamasat-graphite);
}

body:has(#employeeLoginView:not(.hidden)) #employeeLoginMsg {
  color: var(--hamasat-coral);
}

/* Employee workspace: white reporting cards on a warm, restrained canvas. */
body:has(#employeeReportView:not(.hidden)) {
  background: var(--hamasat-canvas);
  color: var(--hamasat-graphite);
}

body:has(#employeeReportView:not(.hidden)) #employeeReportView {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 18px 38px;
}

body:has(#employeeReportView:not(.hidden)) #employeeReportView > .employee-history-nav {
  margin-bottom: 18px;
  padding: 9px;
  border: 1px solid var(--hamasat-line);
  border-radius: 14px;
  background: #f4f2ef;
  box-shadow: none;
}

body:has(#employeeReportView:not(.hidden)) .employee-history-nav .toolbar {
  gap: 7px;
}

body:has(#employeeReportView:not(.hidden)) .employee-history-nav .tab {
  min-height: 42px;
  border-radius: 9px;
  background: transparent;
  color: var(--hamasat-muted);
}

body:has(#employeeReportView:not(.hidden)) .employee-history-nav .tab.active {
  background: var(--hamasat-coral);
  color: #fff;
}

body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card,
body:has(#employeeReportView:not(.hidden)) #employeeHistoryPanel {
  border: 1px solid var(--hamasat-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(41, 40, 43, .055);
}

body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card {
  padding: 25px;
  margin-bottom: 18px;
}

body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel h2,
body:has(#employeeReportView:not(.hidden)) #employeeHistoryPanel h2 {
  color: var(--hamasat-graphite);
  font-size: 24px;
  font-weight: 700;
}

body:has(#employeeReportView:not(.hidden)) #employeeWelcome {
  color: var(--hamasat-muted);
}

body:has(#employeeReportView:not(.hidden)) #draftStatus,
body:has(#employeeReportView:not(.hidden)) #draftConflict,
body:has(#employeeReportView:not(.hidden)) #leaveStatus {
  border-color: #f0dfbd;
  background: #fff8ed;
  color: #7b5b3f;
}

body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel label,
body:has(#employeeReportView:not(.hidden)) #employeeHistoryPanel label {
  color: var(--hamasat-muted);
  font-weight: 500;
}

body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel input:not([type="hidden"]),
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel select,
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel textarea,
body:has(#employeeReportView:not(.hidden)) #employeeHistoryPanel input {
  border-color: var(--hamasat-line);
  border-radius: 10px;
  background: #fff;
}

body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel input:focus,
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel select:focus,
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel textarea:focus,
body:has(#employeeReportView:not(.hidden)) #employeeHistoryPanel input:focus {
  border-color: var(--hamasat-coral);
  box-shadow: 0 0 0 3px rgba(229, 45, 79, .11);
  outline: 0;
}

body:has(#employeeReportView:not(.hidden)) #employeeWorkDuration {
  border-inline-start: 3px solid var(--hamasat-coral);
  background: var(--hamasat-coral-soft);
}

body:has(#employeeReportView:not(.hidden)) #employeeProducts {
  border-color: var(--hamasat-line);
}

body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-group summary {
  background: #faf9f7;
  color: var(--hamasat-graphite);
}

body:has(#employeeReportView:not(.hidden)) #employeeProducts .quantity-stepper button {
  background: var(--hamasat-coral-soft);
  color: var(--hamasat-coral);
}

body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel .success,
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel .btn {
  background: var(--hamasat-coral);
}

body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel .btn2 {
  background: #f4f2ef;
  color: var(--hamasat-graphite);
}

body:has(#employeeReportView:not(.hidden)) .total-box {
  border: 0;
  border-radius: 13px;
  background: #f3f1ee;
  color: var(--hamasat-graphite);
}

body:has(#employeeReportView:not(.hidden)) .total-box:last-child {
  background: var(--hamasat-graphite);
  color: #fff;
}

body:has(#employeeReportView:not(.hidden)) #employeeHistoryPanel {
  padding: 25px;
}

body:has(#employeeReportView:not(.hidden)) #employeeHistoryPanel th {
  background: #faf9f7;
  color: var(--hamasat-muted);
}

@media (max-width: 700px) {
  body:has(#employeeLoginView:not(.hidden)) .container {
    min-height: calc(100vh - 90px);
    padding: 18px 12px;
  }

  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView {
    display: block;
    min-height: 0;
    padding: 28px 22px 24px;
    border-radius: 18px;
  }

  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView::before {
    display: block;
    position: relative;
    inset: auto;
    width: auto;
    height: 118px;
    min-height: 0;
    margin: -28px -22px 24px;
  }

  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView::after {
    position: absolute;
    top: 20px;
    right: 22px;
    left: auto;
    margin: 0;
    width: 130px;
    padding-top: 0;
    padding-right: 60px;
    background-size: 48px 48px;
    background-position: right center;
    line-height: 48px;
  }

  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > h2,
  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > label,
  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > #employeeSelect,
  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > #employeePin,
  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > button,
  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > #employeeLoginMsg {
    margin-inline: 0;
  }

  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > h2 {
    margin-top: 0;
    font-size: 25px;
  }

  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > select,
  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > input,
  body:has(#employeeLoginView:not(.hidden)) #employeeLoginView > button {
    display: block;
    width: 100%;
  }

  body:has(#employeeReportView:not(.hidden)) #employeeReportView {
    padding-inline: 12px;
  }

  body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card,
  body:has(#employeeReportView:not(.hidden)) #employeeHistoryPanel {
    padding: 17px;
    border-radius: 14px;
  }
}

/* Approved BrandLook final composition: coral ribbon, compact masthead,
   flat tabs, free intro, one status strip, and two independent paper cards. */
body:has(#employeeReportView:not(.hidden)) {
  --employee-coral:#e52d4f;
  --employee-ink:#29282b;
  --employee-muted:#777277;
  --employee-rule:#e9e5e2;
  background:#faf9f7 !important;
  color:var(--employee-ink) !important;
}
body:has(#employeeReportView:not(.hidden)) .music-header-ribbon {
  height:32px !important;
  background:#e52d4f !important;
  color:rgba(255,255,255,.72) !important;
}
body:has(#employeeReportView:not(.hidden)) .music-header-ribbon span {
  font-size:21px !important;
  line-height:32px !important;
}
body:has(#employeeReportView:not(.hidden)) .music-header-ribbon span:nth-child(even) {
  color:transparent !important;
  -webkit-text-stroke:1px rgba(255,255,255,.56);
}
body:has(#employeeReportView:not(.hidden)) .header {
  height:74px !important;
  padding:0 24px !important;
  background:#fff !important;
  border:0 !important;
  border-bottom:1px solid var(--employee-rule) !important;
}
body:has(#employeeReportView:not(.hidden)) .brand-header {
  width:min(100%,1060px);
  height:100%;
  margin:0 auto;
}
body:has(#employeeReportView:not(.hidden)) .brand-header-logo {
  width:176px !important;
  height:58px !important;
  max-width:none !important;
}
body:has(#employeeReportView:not(.hidden)) .brand-greeting {
  font-size:13px !important;
  gap:9px !important;
}
body:has(#employeeReportView:not(.hidden)) .brand-greeting small {
  margin-top:2px !important;
  font-size:10px !important;
}
body:has(#employeeReportView:not(.hidden)) .brand-avatar {
  width:38px !important;
  height:38px !important;
  font-size:15px !important;
  background:#fff0f1 !important;
  color:#e52d4f !important;
}
body:has(#employeeReportView:not(.hidden)) #employeeReportView {
  width:min(100%,1100px);
  max-width:none !important;
  margin:0 auto;
  padding:20px 20px 56px !important;
}
body:has(#employeeReportView:not(.hidden)) #employeeReportView > .employee-history-nav {
  display:flex !important;
  align-items:center;
  justify-content:flex-start;
  min-height:42px;
  margin:0 0 25px !important;
  padding:0 !important;
  border:0 !important;
  border-bottom:1px solid var(--employee-rule) !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body:has(#employeeReportView:not(.hidden)) .employee-nav-heading { display:none !important; }
body:has(#employeeReportView:not(.hidden)) .employee-history-nav .toolbar {
  margin:0 !important;
  gap:0 !important;
}
body:has(#employeeReportView:not(.hidden)) .employee-history-nav .tab {
  min-height:42px !important;
  padding:9px 16px 11px !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#928b8e !important;
  font-size:12px !important;
}
body:has(#employeeReportView:not(.hidden)) .employee-history-nav .tab.active {
  background:transparent !important;
  color:#e52d4f !important;
  font-weight:700;
}
body:has(#employeeReportView:not(.hidden)) .employee-history-nav .tab.active::after {
  right:12px !important;
  left:12px !important;
  bottom:-1px !important;
  height:3px !important;
  background:#e52d4f !important;
}

/* Wrappers supplied by the parent agent: .employee-intro,
   .employee-status-strip, and .employee-details-card. */
body:has(#employeeReportView:not(.hidden)) .employee-intro {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin:0 0 17px;
}
body:has(#employeeReportView:not(.hidden)) .employee-intro h1 {
  margin:0 0 5px;
  color:#29282b;
  font-size:29px;
  line-height:1.2;
  letter-spacing:-.03em;
}
body:has(#employeeReportView:not(.hidden)) .employee-intro p {
  margin:0;
  color:#777277;
  font-size:12px;
}
body:has(#employeeReportView:not(.hidden)) .employee-intro .section-kicker {
  margin-bottom:7px;
  color:#9b9295;
  font-size:10px;
}
body:has(#employeeReportView:not(.hidden)) .draft-badge,
body:has(#employeeReportView:not(.hidden)) .draft-chip {
  border-radius:999px;
  padding:7px 11px;
  background:#fff0f1;
  color:#e52d4f;
  font-size:11px;
  white-space:nowrap;
}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip,
body:has(#employeeReportView:not(.hidden)) #draftStatus {
  display:flex;
  align-items:center;
  min-height:42px;
  margin:0 0 16px;
  padding:10px 13px;
  border:1px solid #f0dfbd;
  border-radius:9px;
  background:#fff8ed;
  color:#7b5b3f;
  font-size:11px;
}
body:has(#employeeReportView:not(.hidden)) .employee-recovery,
body:has(#employeeReportView:not(.hidden)) .draft-recovery,
body:has(#employeeReportView:not(.hidden)) #recordLeaveButton {
  min-height:32px;
  margin:3px 0 0;
  padding:6px 9px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#8b7f82;
  font-size:11px;
}
body:has(#employeeReportView:not(.hidden)) .draft-recovery:hover,
body:has(#employeeReportView:not(.hidden)) #recordLeaveButton:hover {
  background:#f3f0ee;
  color:#e52d4f;
}

body:has(#employeeReportView:not(.hidden)) .employee-details-card,
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) {
  padding:21px 23px !important;
  margin:0 0 15px !important;
  border:1px solid var(--employee-rule) !important;
  border-radius:13px !important;
  background:#fff !important;
  box-shadow:0 3px 14px rgba(41,40,43,.035) !important;
}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid,
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) .report-details-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin-top:15px;
}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(1),
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) .report-details-grid > div:nth-child(1) { grid-column:4/7; }
body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(2),
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) .report-details-grid > div:nth-child(2) { grid-column:1/4; }
body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(n+3),
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) .report-details-grid > div:nth-child(n+3) { grid-column:span 2; }
body:has(#employeeReportView:not(.hidden)) .employee-details-card label,
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) label {
  color:#777277;
  font-size:11px;
  font-weight:500;
}
body:has(#employeeReportView:not(.hidden)) .employee-details-card input,
body:has(#employeeReportView:not(.hidden)) .employee-details-card textarea,
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) input,
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) textarea {
  min-height:42px;
  margin-top:6px;
  padding:10px 11px;
  border:1px solid var(--employee-rule);
  border-radius:8px;
  background:#fff;
}
body:has(#employeeReportView:not(.hidden)) .employee-details-card textarea,
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) textarea { min-height:72px; }
body:has(#employeeReportView:not(.hidden)) .employee-products-card {
  padding:21px 23px !important;
  border:1px solid var(--employee-rule) !important;
  border-radius:13px !important;
  background:#fff !important;
  box-shadow:0 3px 14px rgba(41,40,43,.035) !important;
}
body:has(#employeeReportView:not(.hidden)) .employee-products-card .product-section-title h3 {
  color:#29282b;
  font-size:19px;
  font-weight:700;
}
body:has(#employeeReportView:not(.hidden)) .employee-products-card .section-number {
  margin-inline-end:8px;
  background:#fff0f1;
  color:#e52d4f;
}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-group summary { background:#faf9f7; color:#29282b; }
body:has(#employeeReportView:not(.hidden)) #employeeProducts .quantity-stepper button { background:#fff0f1; color:#e52d4f; }

@media (max-width:700px) {
  body:has(#employeeReportView:not(.hidden)) .header { height:64px !important; padding:0 13px !important; }
  body:has(#employeeReportView:not(.hidden)) .brand-header-logo { width:135px !important; height:48px !important; }
  body:has(#employeeReportView:not(.hidden)) .brand-greeting { font-size:11px !important; }
  body:has(#employeeReportView:not(.hidden)) .brand-greeting small { display:none !important; }
  body:has(#employeeReportView:not(.hidden)) #employeeReportView { padding:15px 12px 34px !important; }
  body:has(#employeeReportView:not(.hidden)) .employee-intro { align-items:flex-start; gap:10px; }
  body:has(#employeeReportView:not(.hidden)) .employee-intro h1 { font-size:23px; }
  body:has(#employeeReportView:not(.hidden)) .employee-details-card,
  body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card),
  body:has(#employeeReportView:not(.hidden)) .employee-products-card { padding:16px 13px !important; }
  body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid,
  body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) .report-details-grid {
    grid-template-columns:1fr 1fr;
    gap:9px;
  }
  body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div,
  body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) .report-details-grid > div { grid-column:auto !important; }
}

/* Interior BrandLook finish: the report is treated as a calm, two-step
   workspace rather than a stack of generic cards. Existing IDs and controls
   remain untouched so draft persistence and handlers continue to work. */
body:has(#employeeReportView:not(.hidden)) #employeeReportView {
  --employee-accent: #e52d4f;
  --employee-ink: #29282b;
  --employee-canvas: #faf9f7;
  max-width: 1120px;
}
body:has(#employeeReportView:not(.hidden)) .employee-history-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px !important;
  background: #f4f2ef !important;
}
.employee-nav-heading { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.employee-nav-heading strong { color: var(--employee-ink); font-size: 17px; }
.section-kicker {
  display: block;
  margin-bottom: 5px;
  color: #8c8585;
  font-size: 11px;
  letter-spacing: .04em;
  font-weight: 700;
}
body:has(#employeeReportView:not(.hidden)) .employee-history-nav .toolbar { margin: 0; }
body:has(#employeeReportView:not(.hidden)) .employee-overview-card {
  position: relative;
  overflow: hidden;
}
.employee-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hamasat-line);
}
.employee-page-heading h1 {
  margin: 0;
  color: var(--employee-ink);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
}
.employee-page-heading p { margin: 7px 0 0; color: var(--hamasat-muted); }
.draft-badge, .section-index {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--hamasat-coral-soft);
  color: var(--hamasat-coral);
  font-size: 12px;
  font-weight: 700;
}
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .employee-products-card {
  padding-top: 22px;
}
.employee-products-card .product-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.employee-products-card .product-section-title h3 {
  color: var(--employee-ink);
  font-size: 22px;
}
.employee-products-card .product-section-title .section-number {
  background: var(--hamasat-coral-soft);
  color: var(--hamasat-coral);
}
.employee-section-heading {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.employee-section-heading h2 { margin: 0 !important; }
.employee-section-heading .section-index { order: 2; }
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) .grid2 {
  margin-top: 18px;
}
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel > .card:not(.employee-products-card) {
  background: linear-gradient(140deg, #fff 0%, #fff 72%, #fff8f9 100%);
}
body:has(#employeeReportView:not(.hidden)) .employee-overview-card > .notice {
  display: block;
  min-height: 0;
  margin: 8px 0;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
}
body:has(#employeeReportView:not(.hidden)) .employee-overview-card > p {
  max-width: 760px;
  margin: 14px 0 10px;
  color: var(--hamasat-muted);
  font-size: 13px;
  line-height: 1.7;
}
body:has(#employeeReportView:not(.hidden)) .employee-overview-card .draft-recovery {
  min-height: 36px;
  margin: 3px 4px 3px 0;
  padding: 8px 11px;
  font-size: 12px;
}
body:has(#employeeReportView:not(.hidden)) #recordLeaveButton {
  min-height: 38px;
  margin-top: 8px;
  font-size: 12px;
}
body:has(#employeeReportView:not(.hidden)) .employee-products-card .grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, .7fr);
  gap: 12px;
  margin-bottom: 12px;
}
body:has(#employeeReportView:not(.hidden)) #employeeProducts {
  box-shadow: inset 0 0 0 1px #f3e9e9;
}
body:has(#employeeReportView:not(.hidden)) #employeeHistoryPanel h2 {
  margin-bottom: 22px;
}

@media (max-width: 700px) {
  body:has(#employeeReportView:not(.hidden)) .employee-history-nav {
    display: block;
  }
  .employee-nav-heading { margin: 2px 4px 8px; }
  .employee-page-heading { display: block; }
  .draft-badge { display: inline-block; margin-top: 15px; }
  .employee-page-heading h1 { font-size: 26px; }
  body:has(#employeeReportView:not(.hidden)) .employee-products-card .grid2 {
    grid-template-columns: 1fr;
  }
}

/* The real report keeps its original controls; only the approved screen hierarchy
   moves the status and recovery controls outside the daily-details card. */
body:has(#employeeReportView:not(.hidden)) .music-header-ribbon {
  display: flex !important;
}
body:has(#employeeReportView:not(.hidden)) #notificationBar {
  display: none !important;
}
body:has(#employeeReportView:not(.hidden)) .brand-header-logo {
  display: none !important;
}
body:has(#employeeReportView:not(.hidden)) .brand-header-identity {
  order: -1;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #29282b;
}
body:has(#employeeReportView:not(.hidden)) .brand-header-identity img {
  width: 48px;
  height: 52px;
  object-fit: contain;
}
body:has(#employeeReportView:not(.hidden)) .brand-header-identity strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}
body:has(#employeeReportView:not(.hidden)) .brand-header-identity small {
  display: block;
  margin-top: 5px;
  color: #777277;
  font-size: 10px;
}
body:has(#employeeReportView:not(.hidden)) .brand-greeting {
  margin-inline-start: auto;
}
body:has(#employeeReportView:not(.hidden)) .employee-notification-button {
  display: grid;
  place-items: center;
  order: 1;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #746d6d;
}
body:not(:has(#employeeReportView:not(.hidden))) .brand-header-identity,
body:not(:has(#employeeReportView:not(.hidden))) .employee-notification-button {
  display: none;
}
body:has(#employeeReportView:not(.hidden)) .music-header-ribbon::after {
  content: "همسات　 •　 تقرير الموظفة اليومي　 •　 مساحة الفريق";
}
body:has(#employeeReportView:not(.hidden)) .employee-intro .employee-page-heading {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip {
  justify-content: space-between;
  gap: 18px;
}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip > div:first-child {
  max-width: 70%;
}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip p {
  margin: 4px 0 0;
  line-height: 1.5;
}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip #draftStatus {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .employee-section-heading {
  flex-direction: row;
  margin-bottom: 20px;
  padding-bottom: 0;
}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .employee-section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .employee-section-heading .section-kicker {
  margin: 0;
}
body:has(#employeeReportView:not(.hidden)) .employee-recovery-row {
  margin: 20px 0 0;
  padding: 17px 22px;
  border: 1px solid var(--employee-rule);
  border-radius: 13px;
  background: #fff;
  color: #777277;
  font-size: 12px;
}
body:has(#employeeReportView:not(.hidden)) .employee-recovery-row .employee-recovery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}
body:has(#employeeReportView:not(.hidden)) #employeeEntryPanel .employee-recovery-row .employee-recovery-actions button.btn2 {
  background: #e52d4f;
  color: #fff;
  padding: 10px 14px;
  font: 500 12px Tajawal,Arial,sans-serif;
}
body:has(#employeeReportView:not(.hidden)) .employee-recovery-row p {
  margin: 9px 0 0;
}
@media (max-width: 700px) {
  body:has(#employeeReportView:not(.hidden)) .brand-header-identity img {
    width: 39px;
    height: 43px;
  }
  body:has(#employeeReportView:not(.hidden)) .brand-header-identity strong {
    font-size: 17px;
  }
  body:has(#employeeReportView:not(.hidden)) .brand-greeting {
    font-size: 11px;
  }
  body:has(#employeeReportView:not(.hidden)) .employee-status-strip {
    display: block;
  }
  body:has(#employeeReportView:not(.hidden)) .employee-status-strip > div:first-child {
    max-width: none;
  }
  body:has(#employeeReportView:not(.hidden)) .employee-status-strip #draftStatus {
    margin-top: 7px;
    text-align: right;
  }
  body:has(#employeeReportView:not(.hidden)) .employee-intro h1 {
    font-size: 23px;
  }
}

/* Graduated employee Proposed/BrandLook geometry; login selectors above are unchanged. */
body:has(#employeeReportView:not(.hidden)) {font-family:Tajawal,Arial,sans-serif}
body:has(#employeeReportView:not(.hidden)) .music-header-ribbon {height:28px!important;background:#e52d4f!important}
body:has(#employeeReportView:not(.hidden)) .music-header-ribbon::after {content:"همسات　 •　 تقرير الموظفة اليومي　 •　 مساحة الفريق";line-height:28px}
body:has(#employeeReportView:not(.hidden)) .header {height:78px!important}
body:has(#employeeReportView:not(.hidden)) .brand-header {max-width:1060px}
body:has(#employeeReportView:not(.hidden)) #employeeReportView {max-width:1060px!important;padding:24px 20px 54px!important}
body:has(#employeeReportView:not(.hidden)) #employeeReportView > .employee-history-nav {margin:0 0 26px!important}
body:has(#employeeReportView:not(.hidden)) .employee-history-nav .tab {font:500 12px Tajawal,Arial,sans-serif!important;padding:11px 15px 12px!important;display:flex;align-items:center;gap:6px;position:relative}
body:has(#employeeReportView:not(.hidden)) .employee-history-nav .tab.active {font-weight:700!important}
body:has(#employeeReportView:not(.hidden)) .employee-history-nav .tab span {background:#fff0f1;color:#e52d4f;border-radius:7px;padding:2px 6px;font-size:9px}
body:has(#employeeReportView:not(.hidden)) .employee-intro {align-items:flex-end;margin:0 0 18px}
body:has(#employeeReportView:not(.hidden)) .employee-intro .section-kicker {color:#e52d4f;font-size:10px;letter-spacing:0;font-weight:700;margin-bottom:5px}
body:has(#employeeReportView:not(.hidden)) .employee-intro h1 {font-size:25px;letter-spacing:-.3px;line-height:1.2;font-weight:500}
body:has(#employeeReportView:not(.hidden)) .employee-intro p {font-size:12px}
body:has(#employeeReportView:not(.hidden)) .draft-badge {display:flex;align-items:center;gap:8px;border:1px solid #eeded2;background:#fff8ed;color:#80624e;border-radius:11px;padding:9px 12px;font-weight:400}
body:has(#employeeReportView:not(.hidden)) .draft-badge i {width:8px;height:8px;border-radius:50%;background:#bd8b43}
body:has(#employeeReportView:not(.hidden)) .draft-badge b,body:has(#employeeReportView:not(.hidden)) .draft-badge small {display:block}
body:has(#employeeReportView:not(.hidden)) .draft-badge b {font-size:11px}
body:has(#employeeReportView:not(.hidden)) .draft-badge small {color:#a48779;font-size:9px;margin-top:2px}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip {min-height:0;margin-bottom:13px;padding:12px 14px;border-radius:12px;gap:11px}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip::before {content:"♢";font-size:22px;align-self:flex-start;color:#7b5b3f}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip::before {content:none}
body:has(#employeeReportView:not(.hidden)) .employee-shield-icon {flex:none;align-self:flex-start;color:#7b5b3f}
body:has(#employeeReportView:not(.hidden)) #employeeReportView .employee-status-strip {
  display:grid;
  grid-template-columns:20px minmax(0,1fr) minmax(90px,.3fr);
  align-items:start;
}
body:has(#employeeReportView:not(.hidden)) #employeeReportView .employee-status-strip > div {
  max-width:none;
}
@media(max-width:750px) {
  body:has(#employeeReportView:not(.hidden)) #employeeReportView .employee-status-strip {
    grid-template-columns:20px minmax(0,1fr);
    gap:6px 9px;
  }
  body:has(#employeeReportView:not(.hidden)) #employeeReportView .employee-status-strip #draftStatus {
    grid-column:2;
    margin:0;
    width:auto;
  }
}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip > div:first-child {flex:1;max-width:none}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip strong {font-size:11px}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip p {font-size:10px}
body:has(#employeeReportView:not(.hidden)) .employee-status-strip #draftStatus {font-size:10px;max-width:160px}
body:has(#employeeReportView:not(.hidden)) .employee-details-card,body:has(#employeeReportView:not(.hidden)) .employee-products-card {padding:21px!important;border-radius:15px!important;margin-bottom:15px!important}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .employee-section-heading {display:flex;align-items:center;gap:10px;margin-bottom:20px}
body:has(#employeeReportView:not(.hidden)) .employee-section-heading .section-index {order:0;background:#fff0f1;color:#e52d4f;border-radius:8px;padding:7px 8px;font-size:10px}
body:has(#employeeReportView:not(.hidden)) .employee-section-heading > div {order:1}
body:has(#employeeReportView:not(.hidden)) .employee-section-heading .section-kicker {color:#e52d4f;font-size:10px;margin-bottom:5px}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .employee-section-heading h2 {display:block;font-size:17px;font-weight:500;margin:0}
body:has(#employeeReportView:not(.hidden)) .employee-calendar-icon {order:2;margin-right:auto;color:#b79aa3;font-size:20px}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:0}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(1) {grid-column:4/7;grid-row:1}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(2) {grid-column:1/4;grid-row:1}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(3) {grid-column:5/7;grid-row:2}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(4) {grid-column:3/5;grid-row:2}
body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(5) {grid-column:1/3;grid-row:2}
body:has(#employeeReportView:not(.hidden)) .employee-details-card label {font-size:10px;color:#8c7b82;font-weight:400;margin:0}
body:has(#employeeReportView:not(.hidden)) .employee-details-card input {font:500 11px Tajawal,Arial,sans-serif;min-height:0;margin-top:6px;padding:10px;border-radius:8px}
body:has(#employeeReportView:not(.hidden)) .employee-duration {border:1px dashed #d9c9ce;background:#faf9f7;border-radius:9px;padding:9px 11px;margin-top:20px}
body:has(#employeeReportView:not(.hidden)) .employee-duration label,body:has(#employeeReportView:not(.hidden)) .employee-duration small {display:block;color:#a58c94;font-size:9px}
body:has(#employeeReportView:not(.hidden)) .employee-duration #employeeWorkDuration {display:block!important;min-height:0;margin:3px 0;padding:0;border:0;border-radius:0;background:transparent;color:#29282b;font-size:15px;font-weight:700}
body:has(#employeeReportView:not(.hidden)) .employee-details-card textarea {min-height:70px;font-size:11px}
body:has(#employeeReportView:not(.hidden)) .employee-products-card .music-signature {display:none}
body:has(#employeeReportView:not(.hidden)) .employee-products-card .product-section-title {justify-content:flex-start;gap:10px;margin-bottom:20px}
body:has(#employeeReportView:not(.hidden)) .employee-products-card .employee-products-count {margin-right:auto;color:#e52d4f;background:#fff0f1;border-radius:9px;padding:6px 9px;font-size:10px}
body:has(#employeeReportView:not(.hidden)) .employee-products-card .product-section-title h3 {font-size:17px;font-weight:500}
body:has(#employeeReportView:not(.hidden)) .employee-products-card > .grid2 {grid-template-columns:1.4fr .8fr;gap:10px;margin-bottom:15px}
body:has(#employeeReportView:not(.hidden)) .employee-products-card > .grid2 label {font-size:10px;font-weight:400;margin:0 0 6px}
body:has(#employeeReportView:not(.hidden)) .employee-products-card > .grid2 input,body:has(#employeeReportView:not(.hidden)) .employee-products-card > .grid2 select {font:500 11px Tajawal,Arial,sans-serif;padding:10px;border-radius:8px}
body:has(#employeeReportView:not(.hidden)) .employee-products-card > p {display:none}
body:has(#employeeReportView:not(.hidden)) #employeeProducts {box-shadow:none}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-group {border:1px solid #e7e5e2;border-radius:10px;margin:0 0 9px;overflow:hidden}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-group summary {display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:11px 13px;font-size:12px;font-weight:700;list-style:none}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-group summary::before {display:none}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .group-info {font-size:9px;color:#aa969d;font-weight:400}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .group-chevron {margin-right:auto;font-size:16px}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-group[open] .group-chevron {transform:rotate(180deg)}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .group-body {padding:0}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-row {display:grid;grid-template-columns:minmax(0,1fr) 150px 100px;gap:12px;align-items:center;padding:12px 13px;border-top:1px solid #f1e8e9;border-bottom:0}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-ident {gap:9px}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-name {font-weight:700;font-size:11px}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-name small {display:block;color:#6f6d70;font-size:9px;font-weight:400;margin-top:3px}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-thumb {width:38px;height:38px;min-width:38px;border-radius:10px}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-ident:not(:has(.product-thumb))::before {content:"";display:block;width:38px;height:38px;flex:none;border-radius:10px;background:#e52d4f}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-row:nth-child(4n+2) .product-ident:not(:has(.product-thumb))::before {background:#29282b}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-row:nth-child(4n+3) .product-ident:not(:has(.product-thumb))::before {background:#bd8b43}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-row:nth-child(4n+4) .product-ident:not(:has(.product-thumb))::before {background:#6f8c80}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .price {display:none}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .quantity-stepper {grid-column:2;grid-row:1;min-width:0;height:33px;grid-template-columns:33px 1fr 33px;border-radius:8px}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .quantity-stepper button {height:33px;font-size:16px}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .quantity-stepper input {font-size:12px;padding:0}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .line-total {grid-column:3;grid-row:1;color:#29282b;text-align:left;font-size:11px;font-weight:700}
body:has(#employeeReportView:not(.hidden)) #employeeProducts .line-total::after {content:" ₪"}
body:has(#employeeReportView:not(.hidden)) .employee-products-card .totals {grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}
body:has(#employeeReportView:not(.hidden)) .employee-products-card .total-box {background:#f5f3f0;color:#6f6d70;border-radius:11px;padding:13px 15px;font-size:10px}
body:has(#employeeReportView:not(.hidden)) .employee-products-card .total-box:last-child {background:#29282b;color:#fff}
body:has(#employeeReportView:not(.hidden)) .employee-products-card .total-box strong {color:inherit;font-size:24px;line-height:1.15;margin:5px 0}
body:has(#employeeReportView:not(.hidden)) .employee-products-card > .employee-attachments {background:#fff;border:1px dashed #decbd0;padding:11px 12px;border-radius:10px;margin-top:14px;font-size:11px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#29282b}
body:has(#employeeReportView:not(.hidden)) .employee-upload-icon {width:32px;height:32px;border-radius:8px;background:#fff0f1;color:#e52d4f;display:grid;place-items:center;font-size:18px}
body:has(#employeeReportView:not(.hidden)) .employee-attachments > div:nth-child(2) {flex:1}
body:has(#employeeReportView:not(.hidden)) .employee-attachments strong,body:has(#employeeReportView:not(.hidden)) .employee-attachments small {display:block}
body:has(#employeeReportView:not(.hidden)) .employee-attachments strong {font-size:11px}
body:has(#employeeReportView:not(.hidden)) .employee-attachments em {font-style:normal;color:#aa8d95;font-size:9px;font-weight:400}
body:has(#employeeReportView:not(.hidden)) .employee-attachments small {font-size:9px;color:#6f6d70;margin-top:3px}
body:has(#employeeReportView:not(.hidden)) .employee-upload-button {display:flex;align-items:center;gap:5px;color:#e52d4f;font:500 10px Tajawal;border:1px solid #e7caca;border-radius:7px;padding:8px 9px;cursor:pointer;margin:0}
body:has(#employeeReportView:not(.hidden)) .employee-upload-button input {position:absolute;width:1px;height:1px;opacity:0}
body:has(#employeeReportView:not(.hidden)) .employee-attachments #reportAttachmentsPreview,body:has(#employeeReportView:not(.hidden)) .employee-attachments #reportAttachmentsStatus {flex-basis:100%;margin:0}
body:has(#employeeReportView:not(.hidden)) .employee-products-card > .success.full {background:#e52d4f;border-radius:9px;font-size:12px}
@media(max-width:750px) {
  body:has(#employeeReportView:not(.hidden)) .header {height:67px!important;padding:0 14px!important}
  body:has(#employeeReportView:not(.hidden)) #employeeReportView {padding:16px 12px 30px!important}
  body:has(#employeeReportView:not(.hidden)) .employee-details-card,body:has(#employeeReportView:not(.hidden)) .employee-products-card {padding:14px 12px!important;border-radius:13px!important}
  body:has(#employeeReportView:not(.hidden)) .employee-intro h1 {font-size:21px}
  body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid {grid-template-columns:1fr 1fr;gap:9px}
  body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(1) {grid-column:2;grid-row:1}
  body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(2) {grid-column:1;grid-row:1}
  body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(3) {grid-column:2;grid-row:2}
  body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(4) {grid-column:1;grid-row:2}
  body:has(#employeeReportView:not(.hidden)) .employee-details-card .report-details-grid > div:nth-child(5) {grid-column:1/-1;grid-row:3;margin-top:0}
  body:has(#employeeReportView:not(.hidden)) .employee-products-card > .grid2 {grid-template-columns:1fr}
  body:has(#employeeReportView:not(.hidden)) #employeeProducts .product-row {grid-template-columns:minmax(0,1fr) 126px;gap:8px}
  body:has(#employeeReportView:not(.hidden)) #employeeProducts .quantity-stepper {grid-column:2;grid-row:1}
  body:has(#employeeReportView:not(.hidden)) #employeeProducts .line-total {grid-column:1;grid-row:2;text-align:right;font-size:10px}
  body:has(#employeeReportView:not(.hidden)) .employee-products-card .totals {grid-template-columns:1fr 1fr}
}

/* Final cascade correction: beat the earlier #employeeEntryPanel > .card:not(...)
   field rules rather than relying on order against a more specific selector. */
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .employee-section-heading h2 {
  display:block !important;
  margin:0 !important;
  color:#29282b;
  font:400 16px/1.25 Tajawal,Arial,sans-serif !important;
}
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel .employee-intro h1 {
  font:400 25px/1.2 Tajawal,Arial,sans-serif !important;
}
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-products-card .product-section-title h3 {
  font:400 17px/1.25 Tajawal,Arial,sans-serif !important;
}
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px;
  margin-top:0;
}
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid > div:nth-child(1) {grid-column:2 !important;grid-row:1 !important}
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid > div:nth-child(2) {grid-column:1 !important;grid-row:1 !important}
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid > div:nth-child(3) {grid-column:1 !important;grid-row:2 !important}
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid > div:nth-child(4) {grid-column:2 !important;grid-row:2 !important}
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid > div:nth-child(5) {grid-column:1/-1 !important;grid-row:3 !important;margin-top:0}
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-products-card #recordLeaveButton {
  display:block;
  width:max-content;
  max-width:100%;
  min-height:0;
  margin:12px auto 0;
  padding:6px 8px;
  background:transparent;
  color:#e52d4f;
  font:500 11px Tajawal,Arial,sans-serif;
  white-space:normal;
}
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-products-card #recordLeaveButton:disabled {opacity:.55}
body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-products-card > .btn2.full {width:max-content;display:block;max-width:100%;min-height:0;margin:8px auto 0;padding:10px 14px;background:#e52d4f;color:#fff;font:500 12px Tajawal,Arial,sans-serif}
@media(max-width:750px) {
  body:has(#employeeReportView:not(.hidden)) .container {padding:0 !important}
  body:has(#employeeReportView:not(.hidden)) #employeeReportView {width:100%;padding:16px 12px 30px !important}
  body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel .employee-intro h1 {font-size:21px !important}
  body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px;
  }
  body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid > div:nth-child(1) {grid-column:2 !important;grid-row:1 !important}
  body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid > div:nth-child(2) {grid-column:1 !important;grid-row:1 !important}
  body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid > div:nth-child(3) {grid-column:1 !important;grid-row:2 !important}
  body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid > div:nth-child(4) {grid-column:2 !important;grid-row:2 !important}
  body:has(#employeeReportView:not(.hidden)) #employeeReportView #employeeEntryPanel > .employee-details-card:not(.employee-products-card) .report-details-grid > div:nth-child(5) {grid-column:1/-1 !important;grid-row:3 !important}
}

/* Employee header: greeting at left, then notifications, then updates. */
body:has(#employeeReportView:not(.hidden)) .brand-header {direction:rtl;}
body:has(#employeeReportView:not(.hidden)) .brand-header > .brand-greeting {order:3;margin-inline-start:0;}
body:has(#employeeReportView:not(.hidden)) .brand-header > .employee-notification-button {order:2;}
body:has(#employeeReportView:not(.hidden)) .brand-header > .uc-entry {order:1;margin-inline-start:auto;}
