@charset "UTF-8";
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("fonts/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("fonts/cairo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("fonts/cairo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --nav: #182e49;
  --nav-deep: #102137;
  --ink: #15263c;
  --muted: #52647b;
  --primary: #203f68;
  --accent: #a8c2e3;
  --line: #dfe4eb;
  --surface: #f5f6f8;
  --shadow: 0 2px 5px #10233b06;
  --blue-soft: #ecf1f8;
  --line-soft: #e9edf2;
  --input-line: #8894a4;
  --focus: #3b659d;
  --font-ar: "Cairo", Tahoma, Arial, sans-serif;
  --side: 224px;
  font-family: "Inter", "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.5;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
::selection {
  color: var(--ink);
  background: #d4e1f2;
}
button,
input,
select,
textarea {
  font: inherit;
  accent-color: var(--primary);
}
input::placeholder,
textarea::placeholder {
  color: #627186;
  opacity: 1;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
}
.sidebar :focus-visible {
  outline-color: var(--focus);
  outline-offset: -2px;
}
.sidebar .active:focus-visible {
  outline-color: #d5e4f7;
}
button {
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
}
a {
  color: var(--primary);
  text-decoration: none;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
.icon {
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip:focus {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  background: white;
  padding: 10px;
  z-index: 30;
}
.starting {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
}
.layout {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--side);
  display: flex;
  flex-direction: column;
  color: #dbe3ee;
  background: var(--nav-deep);
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 87px;
  flex: none;
  padding: 0 23px;
  border-bottom: 1px solid #ffffff14;
}
.brand img {
  width: 42px;
  flex: none;
}
.brand b {
  display: block;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 29px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 1px;
  line-height: 1;
  color: white;
}
.brand small {
  display: block;
  white-space: nowrap;
  font-size: 9.5px;
  letter-spacing: 0.19px;
  color: #c0cede;
  margin-top: 4px;
}
.sidebar nav {
  overflow: auto;
  padding: 16px 12px 10px;
  scrollbar-width: thin;
  scrollbar-color: #435772 transparent;
}
.nav-group {
  margin-bottom: 15px;
}
.nav-group h2 {
  font-size: 9px;
  letter-spacing: 1.45px;
  font-weight: 700;
  color: #a2b2c6;
  margin: 0 0 7px;
  padding-inline-start: 13px;
}
.nav-group button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 2px 0;
  height: 35px;
  padding: 0 13px;
  border-radius: 5px;
  border: 0;
  background: transparent;
  color: #d1dbea;
  text-align: start;
  font-size: 12.6px;
  font-weight: 500;
}
.nav-group button .icon {
  color: #b3c2d6;
}
.nav-group button:hover {
  background: #243a56;
  color: #fff;
}
.nav-group button.active {
  background: #2a4162;
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--accent);
}
.nav-group button.active .icon {
  color: #d4e4fa;
}
.sidebar-foot {
  margin-top: auto;
  padding: 15px 22px 17px;
  border-top: 1px solid #ffffff16;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #0f2036;
}
.workspace-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #c2cddd;
}
.workspace-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9db7da;
}
.side-action {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: #dce5f1;
  font-size: 11px;
  padding: 4px 0;
}
.workspace {
  margin-inline-start: var(--side);
  min-width: 0;
}
.topbar {
  height: 65px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 30px;
  gap: 18px;
}
.breadcrumb,
.top-actions,
.top-search,
.profile,
.actions,
.btn,
.icon-btn,
.text-btn,
.subtle,
.quiet,
.legend,
.control-select,
.metric-head,
.inline-field,
.back-link,
.calendar-top,
.form-footer,
.pagination > div,
.modal header,
.workspace-status {
  display: flex;
  align-items: center;
}
.breadcrumb {
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.breadcrumb > .icon:first-child {
  color: var(--muted);
}
.breadcrumb b {
  font-weight: 600;
  color: var(--ink);
}
.top-actions {
  gap: 15px;
}
.top-search {
  height: 32px;
  gap: 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 9px;
  background: #f8f9fb;
  font-size: 11.5px;
}
.top-search kbd {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 4px;
  font: inherit;
  font-size: 10px;
  line-height: 16px;
  color: var(--muted);
  background: white;
  margin-inline-start: 12px;
}
.language {
  border: 0;
  background: transparent;
  padding: 4px;
  color: #35465b;
  font-weight: 600;
  font-size: 12px;
}
.language[lang="ar"] {
  font-family: var(--font-ar);
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0;
}
.icon-btn {
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 5px;
  width: 32px;
  height: 32px;
}
.icon-btn:hover,
.language:hover {
  background: #eef1f6;
}
.bell {
  position: relative;
}
.bell i {
  position: absolute;
  top: 4px;
  inset-inline-end: 6px;
  background: #ba7c24;
  width: 6px;
  height: 6px;
  border: 1px solid white;
  border-radius: 50%;
}
.profile {
  gap: 9px;
  background: transparent;
  border: 0;
  border-inline-start: 1px solid var(--line);
  padding: 0;
  padding-inline-start: 16px;
  text-align: start;
}
.avatar {
  height: 33px;
  width: 33px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--blue-soft);
  border: 1px solid #d2ddeb;
  font-size: 11px;
  font-weight: 750;
  border-radius: 50%;
  letter-spacing: 0.2px;
}
.profile strong,
.profile small {
  display: block;
}
.profile strong {
  font-size: 11.5px;
  font-weight: 650;
}
.profile small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.profile > .icon {
  color: #63758a;
  margin-inline-start: 3px;
}
.mobile-only,
.mobile-backdrop {
  display: none;
}
main {
  max-width: 1790px;
  margin: auto;
  padding: 24px 30px 32px;
  min-height: calc(100vh - 121px);
}
.section-head,
.panel-head,
.inner-tools,
.registry-tools,
.page-heading,
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.section-head {
  margin: 23px 0 12px;
}
.section-head h2,
.panel h2,
.inner-tools h2,
.settings-form h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.38px;
  font-weight: 650;
}
.actions {
  gap: 8px;
  flex-wrap: wrap;
}
.btn,
.control-select {
  display: inline-flex;
  justify-content: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #cbd3df;
  padding: 8px 13px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 550;
  min-height: 34px;
  white-space: nowrap;
}
.btn:hover,
.control-select:hover {
  border-color: #91a1b5;
  background: #f8f9fb;
}
.btn.compact,
.control-select {
  padding: 5px 10px;
  font-size: 11.5px;
  min-height: 30px;
}
.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.btn.primary:hover {
  background: #172f51;
  border-color: #172f51;
}
.control-select select {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: inherit;
  max-width: 155px;
  font-weight: 550;
  padding: 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.metric {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  box-shadow: var(--shadow);
  text-align: start;
  padding: 16px 17px 14px;
  min-height: 119px;
}
.metric:hover {
  border-color: #aabbd0;
  box-shadow: 0 2px 8px #10233b0c;
}
.metric-head {
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #3b4c60;
}
.metric-head > .icon {
  margin-inline-start: auto;
  color: #7e8ea3;
}
.alert-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--primary);
}
.blue {
  background: #eef2f7;
  color: #435c7c;
}
.amber {
  background: #fbf2e2;
  color: #865c1b;
}
.red {
  background: #f9ecea;
  color: #994a42;
}
.navy {
  background: var(--blue-soft);
  color: var(--primary);
}
.metric > strong {
  display: block;
  color: var(--ink);
  font-weight: 630;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -1.4px;
  margin: 9px 0 5px;
  font-variant-numeric: tabular-nums;
}
.metric small {
  font-size: 10.7px;
  color: var(--muted);
}
.metric small b {
  color: #475a71;
  font-weight: 650;
}
.subtle,
.text-btn,
.back-link,
.plain-link {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  gap: 5px;
  padding: 0;
}
.subtle {
  color: var(--muted);
  font-size: 10px;
}
.subtle .icon {
  width: 12px;
}
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 17px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  padding: 18px 19px 13px;
}
.panel-head h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
}
.panel-head small,
.quiet {
  color: var(--muted);
  font-size: 10.5px;
}
.panel-head .small {
  width: 23px;
  height: 23px;
}
.chart-legend {
  display: flex;
  gap: 17px;
  padding: 0 20px;
}
.legend {
  gap: 6px;
  font-size: 10.5px;
  color: var(--muted);
}
.legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot);
}
.activity-plot {
  padding: 13px 20px 13px 13px;
  height: 190px;
}
.activity-plot svg {
  overflow: visible;
  width: 100%;
  height: 100%;
  direction: ltr;
}
.activity-plot text {
  fill: #5e7086;
  font-family: inherit;
  font-size: 10px;
}
.alert-list {
  padding-inline: 17px;
  padding-bottom: 6px;
}
.alert-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
  text-align: start;
  background: transparent;
}
.alert-row:first-child {
  border-top: 0;
  padding-top: 1px;
}
.alert-row:hover,
.stat-row:hover,
.pipeline-chart button:hover {
  background: #f7f9fc;
}
.alert-row b,
.alert-row small,
.notice-list b,
.notice-list small,
.search-result b,
.search-result small {
  display: block;
}
.alert-row b {
  font-size: 12px;
  font-weight: 600;
}
.alert-row small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.alert-row em {
  margin-inline-start: auto;
  font-weight: 650;
  font-style: normal;
  color: #425672;
  font-size: 13px;
}
.alert-row > .icon {
  color: #748498;
}
.alert-icon {
  width: 30px;
  height: 30px;
}
.pipeline-chart,
.stat-list {
  padding: 0 19px 14px;
}
.pipeline-chart button {
  border: 0;
  background: white;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(55px, 1.2fr) 22px;
  gap: 14px;
  align-items: center;
  text-align: start;
  font-size: 11px;
  padding: 5px 0;
}
.pipeline-chart button > i {
  height: 7px;
  background: #edf0f5;
  border-radius: 2px;
  overflow: hidden;
}
.pipeline-chart button b {
  display: block;
  height: 100%;
  background: #8195b1;
  border-radius: 2px;
}
.pipeline-chart button:nth-child(3n + 1) b {
  background: #395c87;
}
.pipeline-chart button strong {
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.stat-row {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line-soft);
  background: white;
  padding: 12px 0;
  text-align: start;
  font-size: 12px;
}
.stat-row strong {
  margin-inline-start: auto;
  font-weight: 600;
}
.stat-row .icon {
  color: #6e8198;
}
.site-footer {
  padding: 17px 30px;
  color: #5d6d80;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.site-footer i {
  font-style: normal;
  padding: 0 6px;
  color: #909eaf;
}
.page-heading {
  margin: 7px 0 20px;
  flex-wrap: wrap;
}
.page-heading h1 {
  font-size: 31px;
  line-height: 1.18;
  letter-spacing: -1.1px;
  margin: 0;
  font-weight: 650;
}
.page-heading p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.tabs {
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  margin: 0 0 18px;
}
.tabs button {
  flex-shrink: 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  font-weight: 550;
  padding: 10px 1px;
  color: var(--muted);
}
.tabs button.selected {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.profile-tabs {
  flex-wrap: wrap;
  gap: 1px 15px;
}
.registry-tools,
.inner-tools {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}
.inner-tools {
  justify-content: space-between;
}
.push {
  flex: 1;
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--input-line);
  border-radius: 5px;
  padding: 0 10px;
  background: white;
  color: #5d7087;
  min-height: 34px;
}
.searchbox input {
  border: 0;
  outline: none;
  width: 180px;
  padding: 6px 0;
  font-size: 12px;
  background: none;
  color: var(--ink);
}
.searchbox:focus-within {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
}
th {
  text-align: start;
  background: #f6f7fa;
  padding: 10px 14px;
  font-weight: 650;
  font-size: 10.5px;
  letter-spacing: 0.05px;
  white-space: nowrap;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
td {
  font-size: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.register tr[data-rowentity] {
  cursor: pointer;
}
.register tbody tr:hover {
  background: #f6f8fc;
}
.register td:first-child,
.row-chevron {
  white-space: nowrap;
}
.register td:nth-child(2) {
  font-weight: 550;
}
.code-link {
  background: none;
  border: 0;
  color: var(--primary);
  font-family: "Consolas", "Courier New", monospace;
  font-size: 11px;
  padding: 0;
  font-weight: 600;
  direction: ltr;
  unicode-bidi: isolate;
}
.row-chevron {
  color: #75859a;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 10.5px;
}
.badge i {
  width: 5px;
  height: 5px;
  display: block;
  background: currentColor;
  border-radius: 50%;
}
.badge.positive {
  background: #e7eef8;
  color: #2d4d78;
}
.pagination {
  border-top: 1px solid var(--line);
  padding: 12px 18px;
}
.pagination > span,
.pagination small {
  font-size: 11px;
  color: var(--muted);
}
.pagination > div {
  gap: 9px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: var(--blue-soft);
  margin: 10px 16px 2px;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 11px;
}
.filter-chip button {
  border: 0;
  background: transparent;
  color: inherit;
}
.empty {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 9px;
  padding: 33px 20px;
  color: var(--muted);
}
.empty p {
  margin: 0;
  font-size: 13px;
}
.segmented {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px;
}
.segmented button {
  display: flex;
  align-items: center;
  gap: 5px;
  background: white;
  border: 0;
  border-radius: 3px;
  padding: 5px 7px;
  color: var(--muted);
  font-size: 11px;
}
.segmented button.chosen {
  background: var(--blue-soft);
  color: var(--primary);
}
.kanban {
  display: flex;
  overflow: auto;
  min-height: 235px;
  gap: 12px;
  padding: 16px;
}
.lane {
  background: #f3f5f8;
  min-width: 218px;
  max-width: 218px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px;
}
.lane h3 {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  gap: 4px;
  margin: 2px 0 12px;
}
.lane h3 span {
  color: var(--muted);
}
.board-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  display: grid;
  gap: 6px;
  background: white;
  width: 100%;
  text-align: start;
  padding: 12px;
  margin: 8px 0;
}
.board-card small,
.board-card em {
  color: var(--primary);
  font-size: 10px;
  font-style: normal;
}
.board-card b {
  font-weight: 600;
  font-size: 13px;
}
.board-card span {
  font-size: 11px;
  color: var(--muted);
}
.calendar-top {
  gap: 15px;
  justify-content: center;
  padding: 12px;
}
.calendar-top h3 {
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.calendar-grid > b,
.day {
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 6px;
  font-size: 11px;
}
.calendar-grid > b {
  text-align: center;
  background: #f6f7fa;
}
.day {
  min-height: 75px;
  color: var(--muted);
}
.day.off {
  background: #f6f7f9;
}
.day.today {
  background: #edf2f8;
}
.day button {
  display: block;
  width: 100%;
  border: 0;
  background: #e1e9f4;
  color: #28496f;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
  font-size: 10px;
  padding: 3px;
  margin-top: 4px;
}
.back-link {
  margin: 1px 0 12px;
}
.back-link .icon {
  transform: rotate(180deg);
}
.info-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 6px 18px 19px;
  gap: 0 20px;
}
.info-grid > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.info-grid dt {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}
.info-grid dd {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.pill-link,
.plain-link {
  font-size: 12px;
}
.pill-link {
  border: 0;
  background: var(--blue-soft);
  color: var(--primary);
  padding: 3px 6px;
  border-radius: 3px;
}
.file-list,
.timeline,
.reference-list {
  padding: 12px 20px;
}
.file-list a,
.reference-list button,
.search-result,
.notice-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: start;
}
.file-list a > .icon:last-child,
.reference-list button > .icon:last-child,
.search-result > .icon:last-child,
.notice-list button > .icon:last-child {
  margin-inline-start: auto;
}
.file-list small,
.timeline small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.timeline article {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.file-list a span,
.timeline article {
  overflow-wrap: anywhere;
}
.settings-form,
.account-block {
  padding: 21px;
}
.settings-form h2 {
  margin-bottom: 17px;
}
.account-block p,
.form-note,
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.account-block > .icon {
  color: var(--primary);
  margin-bottom: 10px;
}
.inline-field {
  gap: 9px;
  font-size: 12px;
}
.inline-field span {
  color: var(--muted);
}
select,
input,
textarea {
  color: var(--ink);
}
.registry-tools select,
.field select,
.field input,
.field textarea {
  border: 1px solid var(--input-line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
  min-height: 35px;
  max-width: 100%;
  font-size: 13px;
}
.field select:focus,
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}
.field input:disabled {
  background: #f5f6f8;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
  min-width: 0;
}
.field > span,
.prefixes legend {
  font-size: 12px;
  font-weight: 600;
  color: #3d5069;
}
.field sup {
  color: #a4493f;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 15px;
}
.wide-field {
  grid-column: 1/-1;
}
.form-grid textarea {
  resize: vertical;
}
.prefixes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin: 0 0 15px;
}
.form-footer {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 15px;
  justify-content: flex-end;
  gap: 10px;
}
.scrim {
  position: fixed;
  inset: 0;
  background: #0c1b2f70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 40;
}
.modal {
  width: min(100%, 465px);
  max-height: calc(100dvh - 36px);
  background: white;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 18px 65px #0c1b2f42;
  display: flex;
  flex-direction: column;
}
.modal.wide {
  width: min(100%, 760px);
}
.modal header {
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.modal h2 {
  font-size: 17px;
  margin: 0;
}
.modal-body {
  padding: 18px;
  overflow: auto;
}
.modal-open {
  overflow: hidden;
}
.modal-search {
  margin-bottom: 10px;
}
.modal-search input {
  width: 100%;
}
.notice-list b,
.search-result b {
  font-size: 12px;
  font-weight: 600;
}
.notice-list small,
.search-result small {
  color: var(--muted);
  font-size: 10.5px;
  margin-top: 3px;
}
.search-result:hover,
.reference-list button:hover,
.notice-list button:hover {
  background: #f6f8fb;
}
.notice-list button:first-child {
  padding-top: 0;
}
.formula-list article {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.formula-list article > b {
  float: inline-end;
  color: var(--primary);
}
.formula-list p {
  margin: 5px 0;
  font-size: 12px;
}
.formula-list small {
  color: var(--muted);
}
.error {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #963e35;
  border: 1px solid #e8c7c2;
  background: #fcf2ef;
  padding: 10px;
  border-radius: 4px;
  font-size: 12px;
  margin: 10px 0;
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  background: #1c304b;
  color: white;
  padding: 10px 18px;
  border-radius: 5px;
  font-size: 12px;
  z-index: 50;
  transition:
    opacity 0.16s,
    transform 0.16s;
  text-align: center;
  max-width: min(90vw, 620px);
}
#toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}
[hidden] {
  display: none !important;
}
html[lang="ar"] {
  font-family: var(--font-ar);
  line-height: 1.7;
}
html[lang="ar"] :is(button, input, select, textarea, kbd) {
  font-family: var(--font-ar);
}
html[lang="ar"] .language[lang="en"] {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}
html[lang="ar"] :is(h1, h2, h3, .brand small, .badge, .site-footer) {
  letter-spacing: normal;
}
html[lang="ar"] .page-heading h1 {
  line-height: 1.4;
}
html[lang="ar"] .nav-group h2 {
  font-size: 11px;
}
html[lang="ar"] .nav-group button {
  height: auto;
  min-height: 36px;
  line-height: 1.6;
  padding-block: 5px;
}
html[lang="ar"] :is(.field input, .field select, .field textarea, .registry-tools select) {
  font-size: 14px;
}
html[lang="ar"] .code-link {
  font-variant-numeric: tabular-nums;
}
html[lang="ar"] :is(input[type="email"], input[type="url"], input[type="tel"]) {
  direction: ltr;
  text-align: start;
}
[dir="rtl"] .nav-group button.active {
  box-shadow: inset -3px 0 0 var(--accent);
}
[dir="rtl"] .nav-group h2,
[dir="rtl"] .page-heading h1,
[dir="rtl"] h2 {
  letter-spacing: 0;
}
[dir="rtl"] .breadcrumb .icon:nth-last-child(2),
[dir="rtl"] .alert-row > .icon,
[dir="rtl"] .stat-row > .icon,
[dir="rtl"] .row-chevron .icon,
[dir="rtl"] .notice-list button > .icon:last-child,
[dir="rtl"] .search-result > .icon:last-child,
[dir="rtl"] .reference-list button > .icon:last-child,
[dir="rtl"] .record-notices button > .icon:last-child,
[dir="rtl"] .text-btn > .icon:last-child {
  transform: rotate(180deg);
}
[dir="rtl"] .back-link .icon {
  transform: none;
}
@media (min-width: 1600px) {
  :root {
    --side: 246px;
  }
  .brand {
    height: 95px;
  }
  .nav-group button {
    height: 39px;
    font-size: 14px;
  }
  .metric {
    min-height: 138px;
  }
  .activity-plot {
    height: 223px;
  }
  .alert-row {
    padding: 13px 0;
  }
  .topbar {
    height: 69px;
  }
  main {
    padding-top: 28px;
  }
  .nav-group {
    margin-bottom: 19px;
  }
}
@media (max-width: 1250px) {
  :root {
    --side: 205px;
  }
  .topbar {
    padding-inline: 22px;
  }
  .top-actions {
    gap: 10px;
  }
  main {
    padding: 19px 21px 28px;
  }
  .metric {
    padding: 13px;
  }
  .metrics {
    gap: 10px;
  }
  .metric-head {
    font-size: 11px;
  }
  .brand {
    padding: 0 19px;
  }
  .dash-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 13px;
  }
  .sidebar-foot {
    padding-inline: 14px;
  }
  .profile {
    padding-inline-start: 11px;
  }
}
@media (max-width: 1050px) {
  :root {
    --side: 185px;
  }
  .top-search span,
  .top-search kbd {
    display: none;
  }
  .top-search {
    border: 0;
    background: none;
  }
  .metric-head > .icon {
    display: none;
  }
  .nav-group button {
    font-size: 12px;
    padding: 0 9px;
    gap: 9px;
  }
  .topbar {
    gap: 8px;
  }
  .brand {
    padding: 0 15px;
    gap: 7px;
  }
  .metric-head {
    gap: 6px;
  }
  .metrics {
    gap: 8px;
  }
  .activity-plot {
    padding-inline: 10px;
  }
  .panel-head {
    padding-inline: 15px;
  }
  .alert-list {
    padding-inline: 13px;
  }
  .dash-grid {
    grid-template-columns: minmax(0, 1.33fr) minmax(0, 1fr);
  }
}
@media (max-width: 830px) {
  :root {
    --side: 215px;
  }
  .sidebar {
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.18s;
  }
  [dir="rtl"] .sidebar {
    transform: translateX(100%);
  }
  .nav-open .sidebar {
    visibility: visible;
    transform: none;
  }
  .workspace {
    margin-inline-start: 0;
  }
  .mobile-only {
    display: flex;
  }
  .nav-open .mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: #0c1b2f60;
    z-index: 9;
  }
  .topbar {
    height: 56px;
    gap: 7px;
  }
  .breadcrumb {
    margin-inline-end: auto;
  }
  .sidebar .nav-group button {
    height: 37px;
  }
  .sidebar .nav-group {
    margin-bottom: 14px;
  }
  .brand {
    height: 75px;
  }
}
@media (max-width: 620px) {
  main {
    padding: 14px 13px 24px;
  }
  .topbar {
    padding-inline: 10px;
  }
  .top-actions {
    gap: 4px;
  }
  .profile > span:not(.avatar),
  .profile > .icon,
  .breadcrumb > span,
  .breadcrumb > .icon {
    display: none;
  }
  .profile {
    padding-inline-start: 7px;
  }
  .top-search {
    padding: 0 5px;
  }
  .section-head {
    margin: 19px 0 10px;
    gap: 6px;
  }
  .section-head h2 {
    font-size: 16px;
  }
  .section-head .actions {
    gap: 4px;
  }
  .control-select,
  .btn.compact {
    font-size: 10px;
    padding: 4px 7px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .metric {
    min-height: 101px;
    padding: 11px 13px;
  }
  .metric > strong {
    font-size: 27px;
    margin: 7px 0 3px;
  }
  .metric small {
    font-size: 10px;
  }
  .dash-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .activity-plot {
    height: 175px;
  }
  .alert-row {
    padding: 9px 0;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .form-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .prefixes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .registry-tools,
  .inner-tools {
    padding: 12px;
  }
  .searchbox input {
    width: 135px;
  }
  .profile-tabs {
    flex-wrap: nowrap;
  }
  .kanban .lane {
    min-width: 185px;
  }
  .calendar-grid > b,
  .day {
    padding: 3px;
  }
  .day {
    min-height: 63px;
  }
  .calendar-grid {
    min-width: 415px;
  }
  .register-panel:has(.calendar-grid) {
    overflow-x: auto;
  }
  .site-footer {
    padding-inline: 14px;
  }
  .scrim {
    padding: 8px;
  }
  .modal {
    max-height: calc(100dvh - 16px);
  }
  .info-grid {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.record-notices {
  padding: 0 18px 8px;
}
.record-notices button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
  background: transparent;
  text-align: start;
  font-size: 11px;
}
.record-notices button > .icon {
  color: #4c6381;
}
.record-notices button > .icon:last-child {
  margin-inline-start: auto;
}
@media (max-width: 620px) {
  .top-actions .language,
  .top-actions .icon-btn,
  .mobile-only {
    min-height: 40px;
    min-width: 40px;
  }
  .metric-head,
  .metric small,
  .legend,
  .alert-row small {
    font-size: 11px;
  }
  .nav-group button {
    min-height: 42px;
  }
  .activity-plot text {
    font-size: 11px;
  }
}
