@font-face {
  font-family: NotoAR;
  src: url("arabic-Regular.woff") format("woff");
  font-display: swap;
  font-weight: 400 500;
}
@font-face {
  font-family: NotoAR;
  src: url("arabic-Bold.woff") format("woff");
  font-display: swap;
  font-weight: 600 900;
}
:root {
  color-scheme: light;
  --ink: #192940;
  --navy: #192c52;
  --muted: #596a7b;
  --line: #e0e5eb;
  --paper: #f5f7fa;
  --side: 240px;
  font:
    16px NotoAR,
    Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  border: 0;
  cursor: pointer;
  background: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #3f8ac5;
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
dl {
  margin: 0;
}
button,
input,
select,
textarea {
  font-size: 0.94rem;
}
svg {
  flex: none;
  stroke-width: 1.8;
}
.sidebar {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--side);
  display: flex;
  flex-direction: column;
  background: white;
  border-inline-end: 1px solid var(--line);
  z-index: 5;
}
.brand {
  min-height: 99px;
  padding: 15px 24px 15px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
}
.brand img {
  width: 100px;
  height: 34px;
  object-fit: contain;
  filter: contrast(1.36);
  mix-blend-mode: multiply;
}
.brand > span {
  font-size: 0.81rem;
  color: #53627a;
  padding-inline: 2px;
}
.sidebar nav {
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  padding: 0 14px 20px;
}
.navgroup {
  margin-top: 12px;
}
.navgroup + .navgroup {
  border-top: 1px solid #eaf0f3;
  padding-top: 12px;
}
.navgroup > small,
.eyeline {
  display: block;
  color: #66768b;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 12px 5px;
}
.navgroup button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: start;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 7px;
  color: #4d5c71;
  margin: 1px 0;
  font-size: 0.89rem;
}
.navgroup button svg {
  color: #64778e;
}
.navgroup button:hover,
.square:hover,
.linkbtn:hover {
  background: #f1f4f8;
}
.navgroup button.active {
  background: #eaf0fa;
  color: #203c65;
  font-weight: 700;
}
.navgroup button.active svg {
  color: #254b79;
}
.navgroup em {
  font:
    600 0.75rem Arial,
    sans-serif;
  border-radius: 5px;
  background: #f5e9d3;
  color: #8d591b;
  padding: 3px 6px;
  margin-inline-start: auto;
}
.sidefoot {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 23px;
}
.sidefoot small,
.profile small,
.recordtitle small {
  display: block;
  color: #637287;
  font-size: 0.76rem;
}
.sidefoot b,
.profile b {
  font-size: 0.87rem;
}
.sitepin,
.profileicon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid #dce5ee;
  border-radius: 10px;
  background: #f2f5f9;
  color: #384d70;
}
main {
  margin-inline-start: var(--side);
  min-height: 100vh;
}
.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(19px, 3vw, 48px);
  gap: 12px;
}
.crumb,
.topactions,
.profile,
.buttons,
.hero-actions,
.legend,
.legend span,
.softlabel,
.person,
.linkbtn,
.primary,
.secondary,
.dangerbtn,
.inline,
.toolbar > div,
.demo-banner span,
.demo-link button {
  display: flex;
  align-items: center;
  gap: 8px;
}
.crumb {
  font-size: 0.88rem;
  gap: 11px;
}
.crumb > span {
  color: #68778b;
}
.crumb > svg {
  color: #8996a6;
}
.topactions {
  gap: 10px;
}
.square {
  display: inline-grid;
  place-items: center;
  height: 36px;
  width: 36px;
  border-radius: 8px;
  color: #42546c;
}
.profile {
  gap: 9px;
}
.profile b {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
}
.divider {
  height: 27px;
  width: 1px;
  background: var(--line);
  margin: 0 4px;
}
.menu {
  display: none;
}
.bell {
  position: relative;
}
.bell i {
  position: absolute;
  background: #d89039;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  top: 7px;
  left: 8px;
  border: 1px solid white;
}
.content {
  max-width: 1620px;
  margin: auto;
  padding: 24px clamp(18px, 3vw, 48px) 40px;
}
.hero {
  min-height: 218px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #162b4a;
  color: white;
  display: flex;
  align-items: center;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      265deg,
      #192d4e 5%,
      rgba(22, 46, 74, 0.97) 29%,
      rgba(16, 41, 66, 0.78) 49%,
      rgba(16, 38, 62, 0.21) 77%
    ),
    url("aqaba-port.webp") 30% 50% / cover;
  z-index: -1;
}
.hero-content {
  padding: 25px 32px;
}
.hero-date,
.hero-actions span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e4edf5;
  font-size: 0.82rem;
}
.hero-date svg {
  color: #c8d8e5;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
  letter-spacing: -0.065rem;
  line-height: 1.55;
}
.hero p {
  font-size: 1rem;
  color: #e2e9ee;
}
.hero-actions {
  margin-top: 19px;
  gap: 18px;
}
.hero-actions button {
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #21395c;
  padding: 5px 13px;
  font-weight: 700;
  font-size: 0.86rem;
  min-height: 37px;
}
.hero-actions button:hover {
  background: #e7eff5;
}
.hero-actions span {
  font-size: 0.8rem;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.metric,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 2px 4px #142c4a03;
}
.metric {
  text-align: start;
  padding: 16px 19px;
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.metric:hover {
  transform: translateY(-2px);
  border-color: #b3c5d5;
}
.metric > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #516176;
  font-size: 0.87rem;
}
.iconbox {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.violet {
  color: #57518a;
  background: #eeeaf7;
}
.mint {
  color: #237865;
  background: #e4f3ed;
}
.blue {
  color: #3a6da1;
  background: #e8eff9;
}
.sand {
  color: #996b24;
  background: #fcf0da;
}
.metric strong {
  margin-top: 10px;
  display: flex;
  gap: 9px;
  align-items: baseline;
  font:
    700 2rem/1.2 Arial,
    sans-serif;
  color: #1c2e46;
}
.metric strong small {
  font:
    400 0.8rem NotoAR,
    sans-serif;
  color: #6c7a8b;
}
.dashgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.44fr) minmax(0, 1fr);
  gap: 17px;
}
.panel {
  padding: 20px;
  min-width: 0;
}
.panelhead,
.sectiontitle,
.recordtitle,
.toolbar,
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.panel h2,
.dialog h2 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.65;
}
.softlabel {
  font-size: 0.77rem;
  color: #53667c;
  background: #f5f7f9;
  padding: 3px 9px;
  border-radius: 6px;
}
.legend {
  gap: 15px;
  color: #5c6a79;
  font-size: 0.78rem;
  margin-top: 10px;
}
.legend span {
  gap: 5px;
}
.legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.inkdot,
.actual {
  background: #324e75;
}
.aqudot,
.planned {
  background: #6bb9ad;
}
.plot {
  height: 142px;
  margin-top: 16px;
  margin-bottom: 21px;
  display: flex;
  gap: 10px;
  direction: ltr;
}
.yaxis {
  font:
    12px Arial,
    sans-serif;
  color: #78889a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}
.bars {
  flex: 1;
  display: flex;
  justify-content: space-around;
  position: relative;
  background: repeating-linear-gradient(
    to top,
    #e2e7ee 0 1px,
    transparent 1px 25%
  );
  border-top: 1px solid #e2e7ee;
}
.barcol {
  flex: 1;
  position: relative;
}
.barpair {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
}
.barpair i {
  display: block;
  width: clamp(5px, 1vw, 15px);
  border-radius: 3px 3px 0 0;
}
.barcol small {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  text-align: center;
  color: #69788a;
  font-size: 0.73rem;
}
.linkbtn {
  font-size: 0.81rem;
  color: #355a80;
  padding: 3px 5px;
  border-radius: 6px;
}
.subtle {
  font-size: 0.81rem;
  color: #667488;
  margin-top: 2px;
}
.requests {
  margin-top: 10px;
}
.requests button,
.alerts button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: start;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f4;
}
.requests button:last-child,
.alerts button:last-child {
  border: 0;
}
.requests button:hover,
.alerts button:hover,
.searchresults button:hover {
  background: #f7f9fb;
}
.requests button > div,
.alerts button > div {
  flex: 1;
}
.requests b,
.alerts b,
.person {
  font-size: 0.89rem;
}
.requests small,
.alerts small {
  display: block;
  font-size: 0.77rem;
  color: var(--muted);
}
.avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  font-size: 0.77rem;
  font-weight: 700;
}
.tone0 {
  background: #e9e7f7;
  color: #615488;
}
.tone1 {
  background: #dff0ee;
  color: #347b71;
}
.tone2 {
  background: #f5e9db;
  color: #926a38;
}
.tone3 {
  background: #e2edf8;
  color: #466b91;
}
.tone4 {
  background: #f7e7ea;
  color: #9b5765;
}
.pill {
  font-size: 0.75rem;
  line-height: 1.45;
  padding: 4px 9px;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-block;
}
.green {
  background: #e4f4eb;
  color: #276a48;
}
.amber {
  background: #fff1d8;
  color: #865a16;
}
.red {
  background: #fbe7e8;
  color: #9c3440;
}
.neutral {
  background: #eaf0f6;
  color: #4e647a;
}
.shiftpanel {
  margin-top: 18px;
}
.count {
  font:
    600 0.78rem Arial,
    sans-serif;
  border-radius: 5px;
  background: #edf1f6;
  color: #496077;
  padding: 3px 7px;
  margin-inline-start: 3px;
}
.tablewrap {
  max-width: 100%;
  overflow: auto;
}
.shiftpanel .tablewrap {
  margin-top: 12px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: start;
  white-space: nowrap;
  font-size: 0.88rem;
}
th {
  text-align: start;
  background: #f5f7fa;
  color: #586a7f;
  padding: 9px 12px;
  font-size: 0.79rem;
  font-weight: 600;
}
td {
  padding: 10px 12px;
  border-bottom: 1px solid #ecf0f4;
}
tbody tr:last-child td {
  border: 0;
}
.person {
  text-align: start;
  gap: 9px;
  padding: 0;
  font-weight: 600;
}
.person:hover {
  text-decoration: underline;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 145px;
  padding: 17px;
  gap: 3px;
}
.empty > span {
  display: grid;
  place-items: center;
  background: #f1f5f9;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #8092a5;
  margin-bottom: 5px;
}
.empty strong {
  font-size: 0.93rem;
}
.empty small {
  font-size: 0.81rem;
  color: var(--muted);
}
.sectiontitle {
  margin: 5px 0 18px;
}
.sectiontitle h1 {
  font-size: 1.75rem;
  line-height: 1.5;
}
.eyeline {
  margin: 0 0 4px;
}
.primary,
.secondary,
.dangerbtn {
  display: inline-flex;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.89rem;
  min-height: 38px;
  font-weight: 600;
}
.primary {
  background: #233f65;
  color: white;
}
.primary:hover {
  background: #172e52;
}
.secondary {
  background: white;
  border: 1px solid #d9e0e9;
}
.secondary:hover {
  background: #f6f8fb;
}
.dangerbtn {
  background: #fcecee;
  color: #983a42;
}
.listpanel {
  padding: 0;
  overflow: hidden;
}
.toolbar,
.filters,
.reportcontrols {
  padding: 16px 20px;
}
.toolbar > div {
  gap: 12px;
}
.searchfield {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  background: #fafbfd;
  border: 1px solid #dbe2e9;
  color: #718196;
  border-radius: 8px;
  max-width: 100%;
}
.searchfield input {
  border: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  height: 38px;
  outline: none;
}
.searchfield:focus-within {
  border-color: #6a86a8;
}
.recordcount {
  color: #5d7084;
  font-weight: 400;
  font-size: 0.83rem;
}
.filters,
.reportcontrols {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  background: #f9fafc;
  border-top: 1px solid var(--line);
}
.filters label,
.reportcontrols label,
.formgrid label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}
.filters input,
.filters select,
.reportcontrols select,
.formgrid input,
.formgrid select,
.formgrid textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #d8e0e9;
  background: white;
  border-radius: 7px;
  padding: 6px 10px;
  margin-top: 5px;
  font-size: 0.92rem;
  min-height: 39px;
}
.formgrid textarea {
  resize: vertical;
}
.formgrid input[type="file"] {
  font-size: 0.85rem;
}
.formgrid input[type="number"],
input[type="date"],
input[type="time"],
input[type="month"] {
  direction: ltr;
  text-align: right;
}
.formgrid input[type="email"],
.formgrid input[type="tel"] {
  text-align: start;
  direction: ltr;
}
select {
  appearance: none;
  background: white
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23566a80' stroke-width='1.6' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")
    no-repeat left 9px center !important;
  padding-left: 28px !important;
}
.reportcontrols {
  align-items: center;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.reportcontrols label {
  min-width: 185px;
}
.reportcontrols > div {
  margin-inline-start: auto;
}
.reportcontrols small {
  display: block;
  color: var(--muted);
}
.reportcontrols b {
  font:
    700 1.2rem NotoAR,
    Arial;
}
.more {
  margin: 14px;
}
.demo-banner {
  padding: 6px 13px;
  border: 1px solid #e2dcce;
  border-radius: 8px;
  background: #fcf8ef;
  color: #735c30;
  margin-bottom: 13px;
  font-size: 0.82rem;
}
.demo-banner button,
.demo-banner a,
.demo-link button {
  font-size: 0.8rem;
  text-decoration: underline;
  color: inherit;
}
.demo-link {
  margin-top: 17px;
  display: flex;
  justify-content: center;
  color: #5c7084;
}
.loading {
  text-align: center;
}
.alerts button {
  padding: 14px 0;
}
.inline {
  width: fit-content;
}
.dialog {
  width: min(620px, 94vw);
  max-height: 89dvh;
  overflow: auto;
  border: 1px solid #d6dfe9;
  border-radius: 16px;
  padding: 0;
  color: var(--ink);
  background: white;
  box-shadow: 0 24px 75px #1223363d;
}
.dialog::backdrop {
  background: #14243c75;
}
.dialog > header,
.dialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 21px;
  border-bottom: 1px solid var(--line);
}
.dialog footer {
  justify-content: flex-start;
  border: 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 8px;
  background: #f9fafc;
}
.dialogbody {
  padding: 18px 21px;
}
.formgrid,
.detailsgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 15px;
}
.full {
  grid-column: 1/-1;
}
.required {
  color: #855346;
}
.recordtitle {
  margin-bottom: 15px;
}
.recordtitle h3 {
  font-size: 1.28rem;
}
.detailsgrid {
  gap: 0 18px;
}
.detailsgrid > div {
  padding: 10px 0;
  border-bottom: 1px solid #e9edf3;
}
.detailsgrid dt {
  color: #627287;
  font-size: 0.78rem;
}
.detailsgrid dd {
  margin: 2px 0 0;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.formnote,
.error,
.paytotal {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  background: #edf3f8;
  color: #435b74;
  margin: 0 0 13px;
}
.formgrid + .formnote,
.paytotal {
  margin: 14px 0 0;
}
.paytotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e9f5f0;
  color: #265e4a;
}
.error {
  background: #fcf0ef;
  color: #963c34;
  margin: 8px 20px;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 10px;
  color: white;
  background: #233c55;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  box-shadow: 0 6px 15px #13294025;
  max-width: 90vw;
}
.searchresults {
  margin-top: 12px;
}
.searchresults button {
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sr {
  clip-path: inset(50%);
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.scrim {
  display: none;
}
@media (min-width: 1600px) {
  :root {
    --side: 265px;
  }
  .content {
    padding-top: 32px;
  }
  .hero {
    min-height: 255px;
  }
  .metric {
    padding: 19px 23px;
  }
  .plot {
    height: 170px;
  }
  .navgroup button {
    height: 44px;
  }
}
@media (max-width: 1150px) {
  :root {
    --side: 203px;
  }
  .content {
    padding-inline: 20px;
  }
  .topbar {
    padding-inline: 20px;
  }
  .dashgrid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .metric {
    padding: 13px;
  }
  .metric > div {
    gap: 7px;
  }
  .requests .pill {
    font-size: 0.69rem;
  }
  .brand {
    min-height: 82px;
  }
  .navgroup button {
    height: 38px;
  }
}
@media (max-width: 900px) {
  :root {
    --side: 0px;
  }
  .sidebar {
    transform: translateX(105%);
    width: 237px;
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #14243c70;
    z-index: 4;
  }
  .menu {
    display: inline-grid;
  }
  .topbar {
    height: 59px;
  }
  .metric > div {
    font-size: 0.84rem;
  }
  .hero {
    min-height: 200px;
  }
}
@media (max-width: 660px) {
  .topbar {
    padding: 0 11px;
  }
  .topactions {
    gap: 3px;
  }
  .profile > div,
  .crumb > span,
  .crumb > svg,
  .divider {
    display: none;
  }
  .content {
    padding: 13px 12px 26px;
  }
  .hero {
    min-height: 208px;
    border-radius: 12px;
  }
  .hero:before {
    background:
      linear-gradient(
        270deg,
        rgba(24, 47, 77, 0.97),
        rgba(23, 44, 69, 0.82) 46%,
        rgba(19, 37, 60, 0.42)
      ),
      url("aqaba-port.webp") 29% 50% / cover;
  }
  .hero-content {
    padding: 18px;
  }
  .hero h1 {
    font-size: 1.78rem;
  }
  .hero p {
    font-size: 0.92rem;
  }
  .hero-actions {
    gap: 14px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin: 10px 0;
  }
  .metric {
    padding: 11px 13px;
  }
  .metric > div {
    gap: 7px;
  }
  .metric strong {
    margin-top: 8px;
    font-size: 1.65rem;
  }
  .iconbox {
    width: 31px;
    height: 31px;
  }
  .iconbox svg {
    width: 18px;
  }
  .dashgrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .panel {
    padding: 15px;
  }
  .listpanel {
    padding: 0;
  }
  .shiftpanel {
    margin-top: 10px;
  }
  .sectiontitle {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .sectiontitle h1 {
    font-size: 1.5rem;
  }
  .toolbar {
    padding: 13px 10px;
    gap: 7px;
  }
  .recordcount {
    display: none;
  }
  .toolbar .searchfield {
    flex: 1;
  }
  .buttons {
    flex-wrap: wrap;
  }
  .filters,
  .reportcontrols {
    padding: 12px;
  }
  .formgrid {
    gap: 10px;
  }
  .dialogbody {
    padding: 14px;
  }
  .dialog > header,
  .dialog footer {
    padding: 12px 15px;
  }
  .demo-banner {
    gap: 5px;
    font-size: 0.72rem;
  }
  .demo-banner span {
    gap: 4px;
  }
  .demo-banner button,
  .demo-banner a {
    font-size: 0.73rem;
  }
  .toast {
    width: max-content;
  }
  .legend,
  .barcol small {
    font-size: 0.76rem;
  }
}
@media (max-width: 370px) {
  .formgrid {
    grid-template-columns: 1fr;
  }
  .metric > div {
    font-size: 0.77rem;
  }
  .requests .pill {
    font-size: 0.68rem;
  }
}
@media print {
  body {
    background: white;
  }
  .shell > main,
  .sidebar,
  .toast,
  .scrim,
  .dialog header button,
  .dialog footer {
    display: none !important;
  }
  .dialog[open] {
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
    overflow: visible;
    inset: 0;
    position: absolute;
    box-shadow: none;
    border: 0;
  }
  .dialog::backdrop {
    background: white;
  }
  .dialog > header {
    border-bottom: 2px solid #333;
  }
  .dialogbody:before {
    content: "TLS · الموارد البشرية";
    font-weight: 700;
  }
  .detailsgrid {
    grid-template-columns: 1fr 1fr;
  }
  .detailsgrid > div {
    break-inside: avoid;
  }
  .detailsgrid dd {
    font-size: 12pt;
  }
}
