/* [project]/src/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-border-style: solid;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::-moz-placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::-moz-placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }

    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .absolute {
    position: absolute;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

:root {
  --app-font-family: "IranYekan", "IRANSans", Tahoma, Arial, sans-serif;
  --color-page: #f5f7fa;
  --color-surface: #fff;
  --color-border: #dbe4ee;
  --color-border-soft: #edf2f7;
  --color-text: #172033;
  --color-muted: #64748b;
  --color-brand: #1e3a5f;
  --color-primary: #1d4ed8;
  --color-success: #15803d;
  --shadow-soft: 0 12px 30px #0f23340f;
  --shadow-panel: 0 16px 38px #0f233414;
}

@font-face {
  font-family: IranYekan;
  src: url("/fonts/iranyekan/iranyekanwebregular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: IranYekan;
  src: url("/fonts/iranyekan/iranyekanwebmedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: IranYekan;
  src: url("/fonts/iranyekan/iranyekanwebbold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, :before, :after {
  box-sizing: border-box;
  font-family: var(--app-font-family);
}

html {
  direction: rtl;
}

body {
  font-family: var(--app-font-family);
  text-align: right;
  background-color: var(--color-page);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  direction: rtl;
  margin: 0;
  padding: 0;
}

button, input, select, textarea {
  font-family: var(--app-font-family);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  border: 4px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: .8s linear infinite spin;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.login-page {
  background: linear-gradient(135deg, #15803d14, #1e3a5f0f), #f4f6f9;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  display: grid;
}

.login-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  width: min(100%, 560px);
  padding: 32px;
  box-shadow: 0 18px 50px #0f172a14;
}

.login-panel--compact {
  text-align: center;
}

.login-brand {
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  display: flex;
}

.login-brand h1, .login-panel h1 {
  color: #1e3a5f;
  margin: 6px 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.login-brand span {
  color: #64748b;
  font-size: 14px;
  line-height: 1.9;
}

.login-action {
  justify-content: center;
  width: 100%;
}

.primary-action, .ghost-action, .text-action {
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .16s, box-shadow .16s;
}

.primary-action {
  color: #fff;
  background: #15803d;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  box-shadow: 0 10px 22px #15803d29;
}

.primary-action:hover:not(:disabled) {
  background: #166534;
  transform: translateY(-1px);
}

.primary-action:disabled, .ghost-action:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.ghost-action {
  color: #1e3a5f;
  background: linear-gradient(#fff, #f8fbff);
  border: 1px solid #cbd5e1;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  box-shadow: 0 1px 2px #0f172a0d;
}

.ghost-action:hover:not(:disabled) {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.refresh-action__icon {
  color: #1d4ed8;
  background: #eaf2ff;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  display: inline-flex;
}

.refresh-action__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 16px;
  height: 16px;
}

.refresh-action:disabled .refresh-action__icon {
  opacity: .72;
}

.jalali-input {
  text-align: center;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.jalali-picker {
  align-items: center;
  gap: 6px;
  max-width: 100%;
  display: inline-flex;
  position: relative;
}

.jalali-picker .jalali-input {
  min-width: 150px;
}

.jalali-picker__button {
  color: #1d4ed8;
  cursor: pointer;
  background: #f8fbff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: inline-flex;
}

.jalali-picker__button:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.jalali-picker__button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 18px;
  height: 18px;
}

.jalali-picker__popover {
  z-index: 40;
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  width: 286px;
  padding: 12px;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  box-shadow: 0 18px 42px #0f23342e;
}

.jalali-picker__header, .jalali-picker__footer {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.jalali-picker__header {
  margin-bottom: 10px;
}

.jalali-picker__header strong {
  color: #123b63;
  font-size: 14px;
  font-weight: 900;
}

.jalali-picker__header button, .jalali-picker__footer button {
  color: #334155;
  cursor: pointer;
  min-height: 32px;
  font: inherit;
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  font-weight: 800;
}

.jalali-picker__header button {
  width: 34px;
  font-size: 18px;
}

.jalali-picker__weekdays, .jalali-picker__days {
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  display: grid;
}

.jalali-picker__weekdays {
  margin-bottom: 6px;
}

.jalali-picker__weekdays span {
  color: #64748b;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
}

.jalali-picker__days button, .jalali-picker__days span {
  min-height: 32px;
}

.jalali-picker__days button {
  color: #334155;
  cursor: pointer;
  font: inherit;
  background: #fff;
  border: 1px solid #0000;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.jalali-picker__days button:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.jalali-picker__days button.is-selected {
  color: #fff;
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.jalali-picker__time {
  border-top: 1px solid #edf2f7;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  display: grid;
}

.jalali-picker__time label {
  color: #64748b;
  gap: 5px;
  font-size: 11px;
  font-weight: 900;
  display: grid;
}

.jalali-picker__time input {
  box-sizing: border-box;
  text-align: center;
  width: 100%;
  min-height: 34px;
  font: inherit;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 8px;
}

.jalali-picker__footer {
  margin-top: 10px;
}

.jalali-picker__footer button {
  padding: 0 12px;
}

.jalali-picker__footer button:last-child {
  color: #fff;
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.text-action {
  color: #15803d;
}

.notice {
  border-radius: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  font-size: 13px;
}

.notice.error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.notice.success {
  color: #166534;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}

.eyebrow {
  color: #15803d;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.app-frame {
  background: linear-gradient(180deg, #1e3a5f09, #f5f7fa00 240px), var(--color-page);
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns .22s;
  display: grid;
}

.app-frame--sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

.app-sidebar {
  background: #fff;
  border-left: 1px solid #e5e7eb;
  min-height: 100vh;
  padding: 20px;
  transition: opacity .22s, padding .22s, transform .22s;
  overflow: hidden;
  box-shadow: -1px 0 #0f172a05;
}

.app-frame--sidebar-collapsed .app-sidebar {
  opacity: 0;
  pointer-events: none;
  border-left: 0;
  padding-left: 0;
  padding-right: 0;
  transform: translateX(16px);
}

.sidebar-brand, .side-nav-item, .side-process-item, .operation-row, .admin-row {
  color: inherit;
  text-decoration: none;
}

.sidebar-brand {
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin-bottom: 28px;
  display: flex;
}

.sidebar-brand img {
  -o-object-fit: contain;
  object-fit: contain;
  width: 48px;
  height: 48px;
}

.sidebar-brand strong, .side-nav-item strong, .admin-row strong {
  color: #1e3a5f;
  display: block;
}

.sidebar-brand small, .side-nav-item small, .metric-card small, .admin-row span {
  color: #64748b;
  font-size: 12px;
}

.sidebar-section {
  margin-bottom: 24px;
}

.sidebar-section > p {
  color: #94a3b8;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.side-nav {
  gap: 8px;
  display: grid;
}

.side-nav-item {
  border: 1px solid #0000;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  transition: background .16s, border-color .16s, transform .16s, box-shadow .16s;
  display: flex;
}

.side-nav-icon {
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  flex: 0 0 34px;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  transition: color .16s, background .16s, border-color .16s;
  display: inline-flex;
}

.side-nav-icon svg {
  width: 20px;
  height: 20px;
}

.side-nav-item--active {
  background: linear-gradient(#f0fdf4, #fff);
  border-color: #bbf7d0;
  box-shadow: inset -3px 0 #16a34a;
}

.side-nav-item--active .side-nav-icon {
  color: #047857;
  background: #dff7eb;
  border-color: #bbf7d0;
}

.side-nav-item:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  transform: translateX(-2px);
}

.side-nav-item--active:hover {
  background: #e7f8ef;
  border-color: #86efac;
}

.side-nav-item:hover .side-nav-icon {
  background: #e0f2fe;
  border-color: #bae6fd;
}

.sidebar-footer {
  color: #64748b;
  border-top: 1px solid #e5e7eb;
  margin-top: 32px;
  padding-top: 16px;
  font-size: 12px;
}

.sidebar-footer strong {
  color: #1e3a5f;
  margin-top: 4px;
  display: block;
}

.app-main {
  min-width: 0;
  padding: 22px;
}

.topbar, .section-heading, .admin-row, .operation-row {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  display: flex;
}

.topbar {
  color: #64748b;
  margin-bottom: 24px;
  font-size: 13px;
}

.formal-header {
  border: 1px solid var(--color-border);
  min-height: 68px;
  box-shadow: var(--shadow-soft);
  z-index: 20;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  direction: rtl;
  background: #fffffff0;
  border-radius: 10px;
  padding: 12px 16px;
  position: sticky;
  top: 14px;
}

.formal-header__identity, .formal-header__page, .formal-header__meta, .formal-header__datetime, .formal-header__user {
  align-items: center;
  display: flex;
}

.formal-header__identity {
  flex: 260px;
  gap: 12px;
  min-width: 0;
}

.formal-header__identity img {
  -o-object-fit: contain;
  object-fit: contain;
  flex: none;
  width: 44px;
  height: 44px;
}

.formal-header__identity div, .formal-header__page, .formal-header__user, .formal-header__datetime {
  gap: 2px;
  min-width: 0;
  display: grid;
}

.formal-header__identity span, .formal-header__identity small, .formal-header__page span, .formal-header__user span, .formal-header__datetime span {
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.formal-header__identity strong {
  color: #16324f;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.45;
  overflow: hidden;
}

.formal-header__page {
  border-right: 1px solid #e5e7eb;
  flex: 240px;
  min-width: 180px;
  padding: 0 18px;
}

.formal-header__page strong {
  color: #1e3a5f;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
}

.formal-header__meta {
  flex-wrap: wrap;
  flex: 360px;
  justify-content: flex-end;
  gap: 14px;
}

.formal-header__datetime, .formal-header__user {
  min-height: 40px;
}

.formal-header__datetime {
  text-align: right;
  direction: rtl;
  unicode-bidi: plaintext;
  justify-items: end;
}

.formal-header__datetime strong, .formal-header__datetime span {
  text-align: right;
  direction: rtl;
  unicode-bidi: plaintext;
}

.formal-header__datetime strong, .formal-header__user strong {
  color: #26384d;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow: hidden;
}

.formal-header__user {
  -moz-column-gap: 8px;
  border-right: 1px solid #e5e7eb;
  grid-template-columns: 34px auto;
  align-items: center;
  column-gap: 8px;
  max-width: 220px;
  padding-right: 14px;
}

.user-avatar {
  background: #eef6f1;
  border-radius: 50%;
  grid-row: span 2;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  font-weight: 800;
  color: #166534 !important;
  font-size: 14px !important;
  display: inline-flex !important;
}

.sidebar-toggle {
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  grid-template-rows: repeat(3, 2px);
  align-content: center;
  place-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  transition: background .16s, border-color .16s, box-shadow .16s;
  display: inline-grid;
}

.sidebar-toggle span {
  transform-origin: center;
  background: #334155;
  border-radius: 999px;
  width: 16px;
  height: 2px;
  transition: transform .22s, opacity .16s, width .16s, background .16s;
}

.sidebar-toggle:hover {
  background: #eef6f1;
  border-color: #bbf7d0;
  box-shadow: 0 6px 16px #15803d1f;
}

.sidebar-toggle:hover span {
  background: #166534;
}

.sidebar-toggle--open span:first-child {
  transform: translateY(7px)rotate(45deg);
}

.sidebar-toggle--open span:nth-child(2) {
  opacity: 0;
  width: 4px;
}

.sidebar-toggle--open span:nth-child(3) {
  transform: translateY(-7px)rotate(-45deg);
}

.topbar-status, .topbar-links, .context-strip, .heading-actions, .row-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.topbar-user {
  color: #166534;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
}

.topbar-logout {
  color: #334155;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  min-height: 36px;
  padding: 0 14px;
  font-weight: 700;
  transition: background .16s, border-color .16s, color .16s;
}

.topbar-logout:hover {
  color: #991b1b;
  background: #fff7f7;
  border-color: #fecaca;
}

.live-dot {
  background: #22c55e;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.page-subtitle {
  color: #64748b;
  max-width: 760px;
  margin: 0;
  line-height: 1.9;
}

.shell-toolbar {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  display: flex;
}

.shell-toolbar__content {
  gap: 10px;
  min-width: 0;
  display: grid;
}

.context-strip span, .permission-cloud span, .status-pill {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.context-strip span {
  color: #3730a3;
  background: #eef2ff;
}

.panel-section, .metric-card, .admin-form {
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  background: #fff;
  border-radius: 10px;
  padding: 20px;
}

.section-heading {
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.section-heading > div {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.section-heading h2 {
  color: #1e3a5f;
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.7;
}

.section-heading .eyebrow {
  color: #166534;
  background: #f0fdf4;
  border-radius: 999px;
  justify-self: start;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  font-size: 11px;
  line-height: 1;
  display: inline-flex;
}

.compact-heading {
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
}

.compact-heading h2 {
  font-size: 16px;
}

.compact-heading .eyebrow {
  min-height: 20px;
  padding: 0 7px;
  font-size: 10px;
}

.admin-grid, .ops-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
  display: grid;
}

.data-entry-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
  display: grid;
}

.data-entry-choice {
  min-height: 170px;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  align-content: start;
  gap: 8px;
  padding: 22px;
  text-decoration: none;
  transition: border-color .16s, box-shadow .16s, transform .16s;
  display: grid;
}

.data-entry-choice:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px #0f172a14;
}

.data-entry-choice h2 {
  color: #1e3a5f;
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
}

.data-entry-choice span {
  color: #64748b;
  line-height: 1.9;
}

.data-entry-choice-button {
  color: #fff;
  background: #1e3a5f;
  border-radius: 8px;
  justify-content: center;
  justify-self: start;
  align-items: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
}

.data-entry-choice:hover .data-entry-choice-button {
  background: #0f766e;
}

.dashboard-page, .execution-list-page {
  max-width: 1500px;
  margin: 0 auto;
}

.dashboard-loading, .table-loading, .dashboard-error {
  min-height: 240px;
  color: var(--color-muted);
  text-align: center;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 40px;
  display: grid;
}

.dashboard-error {
  background: #fff7f7;
  border: 1px dashed #fecaca;
  border-radius: 12px;
  min-height: 220px;
}

.dashboard-error strong {
  color: #991b1b;
  font-size: 16px;
  font-weight: 900;
}

.dashboard-error span {
  color: #7f1d1d;
  font-size: 13px;
  line-height: 1.8;
}

.dashboard-hero-panel, .dashboard-card, .dashboard-stat-card, .execution-filter-panel {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  border-radius: 12px;
}

.dashboard-hero-panel {
  background: linear-gradient(#fff, #f8fbff);
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 22px 24px;
  display: flex;
}

.dashboard-hero-panel h2 {
  color: var(--color-brand);
  margin: 4px 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.7;
}

.dashboard-hero-panel span {
  color: var(--color-muted);
  line-height: 1.9;
}

.dashboard-hero-action {
  color: #fff;
  min-height: 42px;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  background: #1d4ed8;
  border: 1px solid #1d4ed8;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
  transition: transform .14s, background .14s, border-color .14s;
  display: inline-flex;
  box-shadow: 0 12px 24px #2563eb2e;
}

.dashboard-hero-action:hover {
  background: #1e40af;
  border-color: #1e40af;
  transform: translateY(-1px);
}

.dashboard-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
  display: grid;
}

.dashboard-stat-card {
  gap: 8px;
  min-height: 110px;
  padding: 16px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.dashboard-stat-card:before {
  content: "";
  background: #94a3b8;
  height: 4px;
  position: absolute;
  inset: 0 0 auto;
}

.dashboard-stat-card--success:before {
  background: #16a34a;
}

.dashboard-stat-card--warning:before {
  background: #f97316;
}

.dashboard-stat-card--danger:before {
  background: #ef4444;
}

.dashboard-stat-card span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 900;
}

.dashboard-stat-card strong {
  color: var(--color-brand);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.35;
}

.dashboard-stat-card--success strong {
  color: #15803d;
}

.dashboard-stat-card--warning strong {
  color: #c2410c;
}

.dashboard-stat-card--danger strong {
  color: #be123c;
}

.dashboard-main-grid {
  grid-template-columns: minmax(360px, 1.05fr) minmax(360px, .95fr);
  align-items: stretch;
  gap: 16px;
  display: grid;
}

.dashboard-card {
  overflow: hidden;
}

.dashboard-card__header {
  border-bottom: 1px solid var(--color-border-soft);
  background: linear-gradient(#fff, #f8fbff);
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  display: flex;
}

.dashboard-card__header h2 {
  color: var(--color-brand);
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 900;
}

.dashboard-chart-card {
  align-content: start;
  display: grid;
}

.dashboard-chart-loading {
  color: #9ca3af;
  place-items: center;
  height: 260px;
  display: grid;
}

.dashboard-financial-list {
  gap: 0;
  padding: 4px 18px 18px;
  display: grid;
}

.dashboard-financial-row {
  border-bottom: 1px solid #f1f5f9;
  gap: 5px;
  padding: 14px 0;
  display: grid;
}

.dashboard-financial-row:last-child {
  border-bottom: 0;
}

.dashboard-financial-row span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-financial-row strong {
  color: #172033;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.6;
}

.execution-filter-panel {
  background: linear-gradient(#fff, #f9fbfd);
  margin-bottom: 16px;
  padding: 15px;
}

.execution-filter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.execution-filter-grid label {
  color: #52657a;
  gap: 5px;
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
  display: grid;
}

.execution-filter-grid input, .execution-filter-grid select {
  box-sizing: border-box;
  color: #1f2937;
  width: 100%;
  min-height: 38px;
  font: inherit;
  background: #fff;
  border: 1px solid #d5dee8;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
}

.execution-filter-grid input:focus, .execution-filter-grid select:focus {
  border-color: #93c5fd;
  outline: 3px solid #2563eb24;
}

.execution-table-card {
  margin-top: 0;
}

.execution-tabs {
  background: linear-gradient(#fff, #f8fbff);
  border-bottom: 1px solid #dbeafe;
  gap: 4px;
  padding: 10px 12px 0;
  display: flex;
  overflow-x: auto;
}

.execution-tabs button {
  color: #64748b;
  min-height: 42px;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 0;
  border-bottom: 3px solid #0000;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
}

.execution-tabs button.is-active {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.execution-grid-table {
  min-width: 1180px;
}

.execution-code-cell {
  color: #14365d;
  direction: ltr;
  font-family: monospace;
}

.execution-name-cell {
  text-align: right;
  color: #172033;
  font-weight: 800;
}

.execution-debt-cell {
  color: #172033;
  font-weight: 900;
}

.execution-detail-cell {
  min-width: 170px;
}

.execution-empty-state {
  justify-items: center;
  margin: 24px;
}

.table-error {
  margin: 18px;
}

.table-pagination {
  direction: rtl;
  border-top: 1px solid #edf2f7;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 16px;
  display: flex;
}

.table-pagination button, .table-pagination span {
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  min-width: 34px;
  min-height: 34px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
}

.table-pagination button {
  color: #334155;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dbe4ee;
}

.table-pagination button:hover:not(:disabled) {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.table-pagination button.is-active {
  color: #fff;
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.table-pagination button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.debt-entry-top-actions {
  justify-content: flex-end;
}

.debt-entry-hero {
  background: radial-gradient(circle at 100% 0, #3b82f629, #0000 32%), linear-gradient(135deg, #fff 0%, #eef6ff 46%, #f8fafc 100%);
  border: 1px solid #c7d2fe;
  border-radius: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 42px #2563eb1f;
}

.debt-entry-hero:before {
  content: "";
  inset-inline-start: 0;
  background: linear-gradient(#2563eb, #0f766e, #f59e0b);
  width: 6px;
  position: absolute;
  top: 0;
  bottom: 0;
}

.debt-entry-hero__icon, .debt-entry-hero__stats {
  z-index: 1;
  position: relative;
}

.debt-entry-hero__icon {
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #0f766e);
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  display: inline-flex;
  box-shadow: 0 14px 26px #1d4ed83d;
}

.debt-entry-hero__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8px;
  width: 30px;
  height: 30px;
}

.debt-entry-hero h2 {
  color: #14365d;
  margin: 2px 0 4px;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.75;
}

.debt-entry-hero span {
  color: #475569;
  font-size: 13px;
  line-height: 1.9;
}

.debt-entry-hero__stats {
  text-align: center;
  background: #ffffffc7;
  border: 1px solid #2563eb29;
  border-radius: 12px;
  gap: 5px;
  min-width: 132px;
  padding: 12px 14px;
  display: grid;
  box-shadow: 0 12px 28px #0f172a14;
}

.debt-entry-hero__stats span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.debt-entry-hero__stats strong {
  color: #1d4ed8;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.2;
}

.debt-entry-panel {
  border-color: #dbeafe;
}

.debt-form-section-title {
  border: 1px solid #0000;
  border-radius: 999px;
  align-items: center;
  gap: 9px;
  margin: 22px 0 12px;
  padding: 8px 10px 8px 14px;
  font-size: 13px;
  font-weight: 950;
  display: inline-flex;
}

.debt-form-section-title:first-child {
  margin-top: 0;
}

.debt-form-section-title span, .debt-entry-icon {
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.debt-form-section-title span {
  color: #fff;
  border-radius: 10px;
  width: 28px;
  height: 28px;
}

.debt-form-section-title svg, .debt-entry-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9px;
  width: 16px;
  height: 16px;
}

.debt-form-section-title--blue {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.debt-form-section-title--blue span {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.debt-form-section-title--green {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.debt-form-section-title--green span {
  background: linear-gradient(135deg, #059669, #0f766e);
}

.debt-form-section-title--indigo {
  color: #4338ca;
  background: #eef2ff;
  border-color: #c7d2fe;
}

.debt-form-section-title--indigo span {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.debt-form-section-title--amber {
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}

.debt-form-section-title--amber span {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.debt-entry-action, .debt-entry-submit {
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  line-height: 1.5;
  text-decoration: none;
  transition: transform .14s, box-shadow .14s, background .14s, border-color .14s, color .14s;
  display: inline-flex;
}

.debt-entry-action {
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
}

.debt-entry-icon {
  border-radius: 7px;
  width: 23px;
  height: 23px;
  font-size: 13px;
  line-height: 1;
}

.debt-entry-icon svg {
  width: 14px;
  height: 14px;
}

.debt-entry-action--sample {
  color: #0f4c81;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.debt-entry-action--sample .debt-entry-icon {
  color: #1d4ed8;
  background: #fff;
}

.debt-entry-action--back {
  color: #475569;
  background: #fff;
  border-color: #cbd5e1;
}

.debt-entry-action--back .debt-entry-icon {
  color: #475569;
  background: #f8fafc;
}

.debt-entry-action--refresh {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.debt-entry-action--refresh .debt-entry-icon {
  color: #15803d;
  background: #fff;
}

.debt-entry-action:hover:not(:disabled), .debt-entry-submit:hover:not(:disabled) {
  transform: translateY(-1px);
}

.debt-entry-action:disabled, .debt-entry-submit:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.debt-entry-command-bar {
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  display: flex;
}

.debt-entry-submit {
  min-height: 46px;
  padding: 0 18px;
  font-size: 14px;
}

.debt-entry-submit--save {
  color: #fff;
  background: #15803d;
  border-color: #15803d;
  box-shadow: 0 12px 24px #15803d2e;
}

.debt-entry-submit--save .debt-entry-icon {
  color: #15803d;
  background: #fffffff0;
}

.debt-entry-submit--workflow {
  color: #fff;
  background: #1d4ed8;
  border-color: #1d4ed8;
  box-shadow: 0 12px 24px #2563eb33;
}

.debt-entry-submit--workflow .debt-entry-icon {
  color: #1d4ed8;
  background: #fffffff0;
}

.debt-entry-submit--save:hover:not(:disabled) {
  background: #166534;
  border-color: #166534;
}

.debt-entry-submit--workflow:hover:not(:disabled) {
  background: #1e40af;
  border-color: #1e40af;
}

.fake-service-page {
  max-width: 1280px;
  margin: 0 auto;
}

.fake-service-hero {
  background: linear-gradient(#fff, #f8fbff);
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 18px 20px;
  display: flex;
  box-shadow: 0 10px 26px #0f23340d;
}

.fake-service-hero h2 {
  color: #1e3a5f;
  margin: 4px 0 0;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.7;
}

.fake-service-stats {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.fake-service-stats span {
  color: #1d4ed8;
  white-space: nowrap;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
}

.fake-service-stats .fake-service-stat--danger {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.fake-service-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 14px;
  display: grid;
}

.fake-service-card {
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  gap: 14px;
  padding: 16px;
  display: grid;
  box-shadow: 0 12px 30px #0f233412;
}

.fake-service-card__header {
  border-bottom: 1px solid #edf2f7;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  display: flex;
}

.fake-service-card__eyebrow {
  color: #64748b;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 900;
  display: block;
}

.fake-service-card__header strong {
  color: #123b63;
  direction: ltr;
  font-family: monospace;
  font-size: 15px;
  line-height: 1.8;
  display: inline-block;
}

.fake-service-badge {
  white-space: nowrap;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
}

.fake-service-badge--confirmed {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.fake-service-badge--sent {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.fake-service-badge--inform {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.fake-service-badge--rejection {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.fake-service-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}

.fake-service-info {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  gap: 4px;
  min-height: 66px;
  padding: 10px 12px;
  display: grid;
}

.fake-service-info span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.fake-service-info strong {
  color: #1f2937;
  overflow-wrap: anywhere;
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
}

.fake-service-ltr {
  text-align: right;
  direction: ltr;
  font-family: monospace;
}

.fake-service-action-bar {
  border-top: 1px solid #edf2f7;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: end;
  gap: 10px;
  padding-top: 12px;
  display: flex;
}

.fake-service-action-bar label {
  color: #52657a;
  gap: 5px;
  font-size: 12px;
  font-weight: 900;
  display: grid;
}

.fake-service-action-bar input {
  color: #1f2937;
  min-height: 38px;
  font: inherit;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
}

.fake-service-primary {
  color: #fff;
  min-height: 38px;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  background: #1d4ed8;
  border: 1px solid #1d4ed8;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 20px #2563eb29;
}

.fake-service-primary:hover {
  background: #1e40af;
  border-color: #1e40af;
}

.fake-service-random-action {
  color: #fff;
  min-height: 40px;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(#0e7490, #155e75);
  border: 1px solid #155e75;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
  display: inline-flex;
  box-shadow: 0 12px 24px #0e74902e;
}

.fake-service-random-action:hover:not(:disabled) {
  background: linear-gradient(#155e75, #164e63);
  border-color: #164e63;
  transform: translateY(-1px);
}

.fake-service-random-action:disabled {
  cursor: wait;
  opacity: .65;
}

.fake-sanim-chart-card {
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  gap: 14px;
  margin-bottom: 16px;
  padding: 18px 20px;
  display: grid;
  box-shadow: 0 12px 28px #0f23340f;
}

.fake-sanim-chart-card__heading {
  border-bottom: 1px solid #edf2f7;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  display: flex;
}

.fake-sanim-chart-card__heading h2 {
  color: #1e3a5f;
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 900;
}

.fake-sanim-chart-card__heading > span {
  color: #3730a3;
  white-space: nowrap;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
}

.fake-sanim-chart-layout {
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  display: grid;
}

.fake-sanim-chart-legend {
  gap: 9px;
  display: grid;
}

.fake-sanim-chart-legend div {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 10px;
  display: grid;
}

.fake-sanim-chart-legend span {
  border-radius: 3px;
  width: 12px;
  height: 12px;
}

.fake-sanim-chart-legend strong {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.fake-sanim-chart-legend em {
  color: #0f172a;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.fake-service-table-card {
  margin-top: 6px;
}

.fake-service-table {
  min-width: 1320px;
}

.fake-service-table--sanim {
  min-width: 1240px;
}

.fake-service-row--rejection {
  background: #fff7f7;
}

.fake-service-row--rejection .task-grid-cell {
  border-bottom-color: #fee2e2;
}

.fake-service-rejection-detail {
  gap: 3px;
  max-width: 320px;
  display: grid;
}

.fake-service-rejection-detail strong {
  color: #991b1b;
  font-size: 12px;
  font-weight: 900;
}

.fake-service-rejection-detail span {
  color: #7f1d1d;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.8;
}

.fake-service-table .task-table-primary-action--danger {
  background: #b91c1c;
  border-color: #b91c1c;
  box-shadow: 0 10px 20px #b91c1c29;
}

.fake-service-table .task-table-primary-action--danger:hover {
  background: #991b1b;
  border-color: #991b1b;
}

.fake-service-row-actions {
  justify-content: center;
  place-items: stretch stretch;
  gap: 7px;
  width: 220px;
  margin: 0 auto;
  display: grid;
}

.fake-service-row-actions input {
  box-sizing: border-box;
  color: #334155;
  width: 100%;
  min-height: 36px;
  font: inherit;
  direction: ltr;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 12px;
}

.fake-service-table .task-grid-cell--actions {
  min-width: 230px;
}

.fake-service-table .task-table-primary-action {
  min-width: 150px;
}

.fake-service-row-actions .task-table-primary-action {
  width: 100%;
}

.fake-sanim-modal-backdrop {
  z-index: 80;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #0f172a75;
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: flex;
  position: fixed;
  inset: 0;
}

.fake-sanim-modal {
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  width: min(980px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  box-shadow: 0 30px 80px #0f172a42;
}

.fake-sanim-modal__header {
  z-index: 1;
  background: #fff;
  border-bottom: 1px solid #edf2f7;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  display: flex;
  position: sticky;
  top: 0;
}

.fake-sanim-modal__header h2 {
  color: #1e3a5f;
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.fake-sanim-modal__close {
  color: #334155;
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  font-size: 24px;
  line-height: 1;
}

.fake-sanim-sample-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 20px;
  display: grid;
}

.fake-sanim-sample-section-title {
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  grid-column: 1 / -1;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 900;
  display: flex;
}

.fake-sanim-sample-section-title:first-child {
  margin-top: 0;
}

.fake-sanim-sample-grid label {
  gap: 6px;
  min-width: 0;
  display: grid;
}

.fake-sanim-sample-grid span {
  color: #52657a;
  font-size: 12px;
  font-weight: 900;
}

.fake-sanim-sample-grid input, .fake-sanim-sample-grid select {
  color: #1f2937;
  width: 100%;
  min-height: 40px;
  font: inherit;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
}

.fake-sanim-sample-grid input:focus, .fake-sanim-sample-grid select:focus {
  border-color: #0e7490;
  outline: 2px solid #0e74902e;
}

.fake-sanim-sample-grid__wide {
  grid-column: span 2;
}

.fake-sanim-modal__summary {
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 16px;
  display: flex;
}

.fake-sanim-modal__summary span {
  color: #334155;
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  border-radius: 999px;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
}

.fake-sanim-modal__actions {
  background: #fff;
  border-top: 1px solid #edf2f7;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  display: flex;
  position: sticky;
  bottom: 0;
}

.metric-card span {
  color: #64748b;
  font-size: 13px;
}

.metric-card strong {
  color: #1e3a5f;
  margin: 8px 0;
  font-size: 28px;
  display: block;
}

.metric-card--success strong {
  color: #15803d;
}

.metric-card--warning strong {
  color: #a16207;
}

.ops-summary-grid .metric-card {
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 18px;
  display: flex;
}

.metric-card__icon {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  flex: 0 0 46px;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  display: inline-flex;
}

.metric-card--success .metric-card__icon {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.metric-card--warning .metric-card__icon {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
}

.metric-card__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 24px;
  height: 24px;
}

.ops-summary-grid .metric-card strong {
  margin: 4px 0 0;
  line-height: 1.3;
}

.admin-two-column {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 18px;
  display: grid;
}

.masterdata-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.masterdata-panel {
  align-content: start;
  gap: 16px;
  display: grid;
}

.masterdata-form {
  border: 0;
  padding: 0;
}

.masterdata-list {
  max-height: 520px;
  padding-left: 4px;
  overflow: auto;
}

.admin-form {
  align-self: start;
  gap: 14px;
  display: grid;
}

.admin-form label {
  color: #334155;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  display: grid;
}

.admin-form input, .admin-form select {
  color: #0f172a;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
}

.admin-form input:disabled {
  color: #64748b;
  background: #f8fafc;
}

.checkbox-line {
  flex-direction: row;
  align-items: center;
  grid-template-columns: none !important;
  gap: 10px !important;
  display: flex !important;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
}

.danger-action {
  color: #991b1b;
  border-color: #fecaca;
}

.login-hint {
  margin-top: 8px;
  display: block;
  color: #991b1b !important;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.wide-form {
  border: 0;
  padding: 0;
}

.wide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.form-subtitle {
  color: #1e3a5f;
  border-top: 1px solid #e5e7eb;
  margin: 8px 0 12px;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 700;
}

.data-list-panel {
  min-height: 260px;
}

.admin-control-hero {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: stretch;
  gap: 18px;
  margin-bottom: 18px;
  display: grid;
}

.admin-control-hero__main, .admin-control-hero__profile, .admin-control-stats article, .admin-module-card, .admin-preview-panel, .admin-access-panel {
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  box-shadow: 0 10px 26px #0f23340d;
}

.admin-control-hero__main {
  background: linear-gradient(#fff, #f8fbff);
  align-content: center;
  gap: 8px;
  min-height: 150px;
  padding: 24px;
  display: grid;
}

.admin-control-hero__main h2 {
  color: #14365d;
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.7;
}

.admin-control-hero__main span {
  color: #475569;
  font-size: 14px;
  line-height: 1.9;
}

.admin-control-hero__profile {
  background: #f8fafc;
  align-content: center;
  gap: 6px;
  padding: 20px;
  display: grid;
}

.admin-control-hero__profile span, .admin-control-stats span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.admin-control-hero__profile strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.7;
}

.admin-control-hero__profile small, .admin-control-stats small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.8;
}

.admin-control-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  display: grid;
}

.admin-control-stats article {
  gap: 4px;
  padding: 16px;
  display: grid;
}

.admin-control-stats strong {
  color: #1e3a5f;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
}

.admin-module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  display: grid;
}

.admin-module-card {
  min-height: 190px;
  color: inherit;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  text-decoration: none;
  transition: transform .14s, box-shadow .14s, border-color .14s;
  display: grid;
}

.admin-module-card:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px #1e3a5f17;
}

.admin-module-card h2 {
  color: #14365d;
  margin: 4px 0 6px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.7;
}

.admin-module-card div > span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.9;
  display: block;
}

.admin-module-card footer {
  border-top: 1px solid #edf2f7;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  display: flex;
}

.admin-module-card footer strong {
  color: #0f766e;
  font-size: 22px;
  font-weight: 900;
}

.admin-module-card footer span {
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.admin-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  display: grid;
}

.admin-preview-panel, .admin-access-panel {
  padding: 18px;
}

.admin-preview-panel__header {
  border-bottom: 1px solid #edf2f7;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  display: flex;
}

.admin-preview-panel__header h2 {
  color: #14365d;
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 900;
}

.admin-preview-panel__header a {
  color: #1d4ed8;
  white-space: nowrap;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
}

.admin-preview-list {
  gap: 8px;
  display: grid;
}

.admin-preview-row {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  display: flex;
}

.admin-preview-row div {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.admin-preview-row strong {
  color: #0f172a;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
}

.admin-preview-row span {
  color: #64748b;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}

.admin-preview-status {
  color: #475569;
  text-align: center;
  background: #f1f5f9;
  border-radius: 999px;
  flex: none;
  min-width: 70px;
  padding: 5px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.admin-preview-status--ok {
  color: #166534;
  background: #dcfce7;
}

.admin-access-cloud {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.admin-access-cloud span {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
}

.admin-table {
  gap: 8px;
  display: grid;
}

.admin-row {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-height: 62px;
  padding: 12px;
  transition: border-color .16s, background .16s;
}

.admin-row:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.admin-row--with-actions {
  align-items: center;
}

.status-pill {
  color: #475569;
  white-space: nowrap;
  background: #f1f5f9;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.status-pill--ready, .status-pill--success {
  color: #166534;
  background: #dcfce7;
}

.status-pill--warning {
  color: #c2410c;
  background: #ffedd5;
}

.status-pill--danger {
  color: #b91c1c;
  background: #fee2e2;
}

.status-pill--muted {
  color: #64748b;
  background: #f1f5f9;
}

.status-pill--submitting {
  color: #a16207;
  background: #fffbeb;
}

.status-pill--error {
  color: #b91c1c;
  background: #fef2f2;
}

.status-pill--loading {
  color: #475569;
  background: #f1f5f9;
}

.permission-cloud {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.permission-cloud span {
  color: #1d4ed8;
  background: #eff6ff;
}

.permission-editor-card {
  gap: 16px;
}

.selected-role-card {
  background: linear-gradient(#f8fbff, #fff);
  border: 1px solid #dbeafe;
  border-radius: 8px;
  gap: 4px;
  padding: 14px;
  display: grid;
}

.selected-role-card span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.selected-role-card strong {
  color: #14365d;
  font-size: 18px;
  line-height: 1.7;
}

.selected-role-card small {
  text-align: left;
  color: #64748b;
  direction: ltr;
  font-size: 12px;
}

.permission-form-grid {
  gap: 12px;
  display: grid;
}

.permission-mapping-list {
  gap: 10px;
  display: grid;
}

.permission-mapping-row {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px;
  transition: border-color .16s, background .16s;
  display: grid;
}

.permission-mapping-row:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.permission-mapping-main {
  gap: 4px;
  display: grid;
}

.permission-mapping-main strong {
  color: #14365d;
  font-size: 14px;
  line-height: 1.7;
}

.permission-mapping-main span {
  color: #64748b;
  font-size: 12px;
}

.permission-mapping-meta {
  align-items: center;
  gap: 10px;
  display: flex;
}

.permission-mapping-meta code {
  color: #334155;
  direction: ltr;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11px;
}

.permission-reference {
  margin-top: 18px;
}

.permission-reference-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  display: grid;
}

.permission-reference-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  gap: 5px;
  padding: 12px;
  display: grid;
}

.permission-reference-item strong {
  color: #1e3a5f;
  font-size: 13px;
}

.permission-reference-item span {
  text-align: left;
  color: #64748b;
  direction: ltr;
  font-size: 11px;
}

.task-list {
  gap: 14px;
  display: grid;
}

.process-page-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  display: flex;
}

.process-start-action {
  background: linear-gradient(135deg, #0f766e, #15803d);
  border: 1px solid #0f766e;
  gap: 8px;
  font-weight: 900;
  box-shadow: 0 12px 26px #0f766e33;
}

.process-start-action:hover:not(:disabled) {
  background: linear-gradient(135deg, #115e59, #166534);
}

.process-start-action span, .process-back-action span {
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.process-start-action span {
  color: #0f766e;
  background: #fffffff2;
  border-radius: 8px;
  width: 24px;
  height: 24px;
}

.process-start-action svg, .process-back-action svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9px;
  width: 15px;
  height: 15px;
}

.workflow-panel {
  background: radial-gradient(circle at 100% 0, #2563eb1c, #0000 34%), linear-gradient(135deg, #fff 0%, #f8fbff 55%, #eef6ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  display: grid;
  box-shadow: 0 16px 34px #0f233414;
}

.workflow-step {
  background: #ffffffd1;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 10px;
  min-height: 86px;
  padding: 14px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.workflow-step:before {
  content: "";
  inset-inline-start: 0;
  background: #cbd5e1;
  width: 4px;
  position: absolute;
  top: 0;
  bottom: 0;
}

.workflow-step > span {
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  font-size: 13px;
  font-weight: 950;
  display: inline-flex;
}

.workflow-step strong {
  color: #1e3a5f;
  font-size: 14px;
  font-weight: 950;
}

.workflow-step small {
  color: #64748b;
  grid-column: 2;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.workflow-step--done {
  background: linear-gradient(#fff, #f0fdf4);
  border-color: #bbf7d0;
}

.workflow-step--done:before {
  background: #16a34a;
}

.workflow-step--done > span {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.workflow-step--active {
  background: linear-gradient(#fff, #eff6ff);
  border-color: #bfdbfe;
  box-shadow: inset 0 0 0 1px #2563eb14;
}

.workflow-step--active:before {
  background: #2563eb;
}

.workflow-step--active > span {
  color: #1d4ed8;
  background: #dbeafe;
  border-color: #bfdbfe;
}

.process-back-action {
  color: #334155;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: background .14s, border-color .14s, color .14s, transform .14s, box-shadow .14s;
  display: inline-flex;
}

.process-back-action span {
  color: #475569;
  background: #f8fafc;
  border-radius: 7px;
  width: 23px;
  height: 23px;
}

.process-back-action:hover {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px #2563eb1a;
}

.process-back-action:hover span {
  color: #1d4ed8;
  background: #fff;
}

.task-filter-panel {
  direction: rtl;
  background: linear-gradient(#fff, #f9fbfd);
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  margin-bottom: 14px;
  padding: 14px;
  box-shadow: 0 10px 26px #0f23340d;
}

.task-filter-header {
  border-bottom: 1px solid #edf2f7;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  display: flex;
}

.task-filter-title {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.task-filter-title > span {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 9px;
  flex: 0 0 34px;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  display: inline-flex;
}

.task-filter-title svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 18px;
  height: 18px;
}

.task-filter-header h3 {
  color: #1e3a5f;
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 900;
}

.task-filter-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.task-filter-grid {
  grid-template-columns: minmax(210px, 1.15fr) minmax(180px, 1fr) minmax(170px, .9fr) minmax(170px, .9fr) minmax(150px, .75fr) minmax(150px, .75fr);
  gap: 10px;
  display: grid;
}

.task-filter-grid label {
  color: #52657a;
  gap: 5px;
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
  display: grid;
}

.task-filter-grid input, .task-filter-grid select {
  box-sizing: border-box;
  color: #1f2937;
  width: 100%;
  min-height: 38px;
  font: inherit;
  background: #fff;
  border: 1px solid #d5dee8;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  box-shadow: inset 0 1px #0f172a05;
}

.task-filter-grid input:focus, .task-filter-grid select:focus {
  border-color: #93c5fd;
  outline: 3px solid #2563eb24;
}

.task-filter-primary, .task-filter-secondary {
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 900;
}

.task-filter-primary {
  color: #fff;
  background: #2563eb;
  border: 1px solid #2563eb;
}

.task-filter-secondary {
  color: #475569;
  background: #fff;
  border: 1px solid #cbd5e1;
}

.task-empty-state {
  background: #fff;
  border: 1px dashed #cbd5e1;
}

.task-table-card {
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 34px #0f233414;
}

.task-table-header {
  background: linear-gradient(#fff, #f8fbff);
  border-bottom: 1px solid #dbeafe;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  display: flex;
}

.task-table-header h2 {
  color: #1e3a5f;
  margin: 3px 0 0;
  font-size: 19px;
  font-weight: 900;
}

.task-table-header > span {
  color: #1d4ed8;
  white-space: nowrap;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 74px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
  display: inline-flex;
}

.task-table-scroll {
  overflow-x: auto;
}

.task-grid-table {
  border-collapse: collapse;
  direction: rtl;
  width: 100%;
  min-width: 1120px;
}

.task-grid-table thead tr {
  background: #f1f7ff;
}

.task-grid-table th {
  color: #456179;
  text-align: center;
  white-space: nowrap;
  border-bottom: 2px solid #dbeafe;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 800;
}

.task-grid-row {
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
  transition: background .12s;
}

.task-grid-row--zebra {
  background: #fafafa;
}

.task-grid-row:hover {
  background: #f0f7ff;
}

.task-grid-cell {
  color: #374151;
  text-align: center;
  vertical-align: middle;
  padding: 13px 14px;
  font-size: 13px;
  line-height: 1.8;
}

.task-grid-cell--index {
  color: #9ca3af;
  font-weight: 700;
}

.task-grid-cell--paper {
  text-align: right;
  color: #1f2937;
  min-width: 180px;
}

.task-grid-cell--paper span {
  color: #64748b;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 800;
  display: block;
}

.task-grid-cell--paper strong {
  color: #123b63;
  direction: ltr;
  font-family: monospace;
  font-size: 13px;
  display: inline-block;
}

.task-grid-cell--step {
  text-align: right;
  min-width: 210px;
}

.task-grid-cell--step strong {
  color: #1f2937;
  font-size: 13px;
  font-weight: 800;
}

.task-grid-cell--step small {
  color: #64748b;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
  display: block;
}

.ops-grid-table {
  min-width: 960px;
}

.ops-grid-table .task-grid-cell--actions {
  min-width: 150px;
}

.ops-grid-table .task-table-detail-action {
  min-width: 112px;
}

.ops-count-pill {
  color: #14365d;
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 42px;
  height: 30px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
  display: inline-flex;
}

.process-task-table-card {
  margin-top: 4px;
}

.process-task-grid-table {
  min-width: 1080px;
}

.process-task-grid-table .task-grid-cell--actions {
  min-width: 250px;
}

.process-task-actions {
  gap: 10px;
}

.task-table-secondary-link {
  color: #334155;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background .14s, border-color .14s, color .14s, transform .14s;
  display: inline-flex;
}

.task-table-secondary-link:hover {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

.process-task-loading-list {
  gap: 10px;
  padding: 16px;
  display: grid;
}

.process-task-loading-row {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  grid-template-columns: 64px minmax(220px, 1fr) 160px;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 10px 12px;
  display: grid;
}

.task-grid-cell--actions {
  min-width: 330px;
}

.task-role-pill {
  color: #334155;
  white-space: normal;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  max-width: 220px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
}

.task-assignee-pill {
  color: #9a3412;
  white-space: nowrap;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
}

.task-assignee-pill--assigned {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.task-table-actions {
  direction: rtl;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  display: flex;
}

.task-table-detail-action, .task-table-primary-action, .task-table-secondary-action {
  white-space: nowrap;
  cursor: pointer;
  border-radius: 8px;
  min-height: 36px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 800;
  transition: background .14s, border-color .14s, color .14s, transform .14s;
}

.task-table-detail-action {
  color: #fff;
  background: #1d4ed8;
  border: 1px solid #1d4ed8;
  justify-content: center;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  display: inline-flex;
  box-shadow: 0 8px 18px #2563eb2e;
}

.task-table-detail-action:hover {
  background: #1e40af;
  border-color: #1e40af;
  transform: translateY(-1px);
}

.task-table-detail-action__icon {
  color: #1d4ed8;
  background: #fffffff0;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  display: inline-flex;
}

.task-table-detail-action__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 16px;
  height: 16px;
}

.task-table-primary-action {
  color: #fff;
  background: #2563eb;
  border: 1px solid #2563eb;
}

.task-table-primary-action:hover:not(:disabled) {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.task-table-secondary-action {
  color: #475569;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
}

.task-table-secondary-action:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.task-table-primary-action:disabled, .task-table-secondary-action:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.task-table-delegate {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 6px;
  display: inline-flex;
}

.task-table-delegate select {
  color: #334155;
  max-width: 190px;
  min-height: 34px;
  font: inherit;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
}

.task-grid-message-row td {
  background: #fff7ed;
  padding: 0 12px 12px;
}

.task-page-back-action {
  color: #334155;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background .14s, border-color .14s, color .14s, transform .14s;
  display: inline-flex;
}

.task-page-back-action span {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  display: inline-flex;
}

.task-page-back-action svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 15px;
  height: 15px;
}

.task-page-back-action:hover {
  color: #1d4ed8;
  background: #f8fbff;
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

.task-detail-layout {
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  display: grid;
}

.task-detail-aside, .task-card {
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  box-shadow: 0 14px 34px #0f233414;
}

.task-detail-aside {
  gap: 16px;
  padding: 18px;
  display: grid;
  position: sticky;
  top: 104px;
  overflow: hidden;
}

.task-detail-aside:before {
  content: "";
  background: linear-gradient(90deg, #1d4ed8, #10b981);
  height: 4px;
  position: absolute;
  inset: 0 0 auto;
}

.task-detail-aside__icon {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 13px;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  display: inline-flex;
}

.task-detail-aside__icon svg, .task-card .task-index svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 24px;
  height: 24px;
}

.task-detail-aside h2 {
  color: #14365d;
  margin: 4px 0 0;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.7;
}

.task-detail-aside p:not(.eyebrow) {
  color: #64748b;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.9;
}

.task-detail-steps {
  border-top: 1px solid #edf2f7;
  gap: 8px;
  padding-top: 14px;
  display: grid;
}

.task-detail-step {
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  align-items: center;
  min-height: 34px;
  padding: 6px 34px 6px 10px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  position: relative;
}

.task-detail-step:before {
  content: "";
  background: #cbd5e1;
  border-radius: 999px;
  width: 10px;
  height: 10px;
  position: absolute;
  right: 11px;
}

.task-detail-step--done {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.task-detail-step--done:before {
  background: #10b981;
}

.task-detail-step--active {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.task-detail-step--active:before {
  background: #2563eb;
}

.task-card {
  overflow: hidden;
}

.task-card-header {
  background: linear-gradient(#fff, #f8fbff);
  border-bottom: 1px solid #dbeafe;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  display: flex;
}

.task-title-block {
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.task-card .task-index {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 11px;
  flex: 0 0 42px;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  display: inline-flex;
}

.task-title-block h3 {
  color: #14365d;
  margin: 3px 0 0;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.7;
}

.task-card-copy {
  color: #64748b;
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.8;
}

.task-card > .notice, .task-card > .empty-state, .task-card > .form-stage, .task-card > .task-skeleton {
  margin: 18px;
}

.form-stage {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  gap: 16px;
  padding: 16px;
  display: grid;
}

.form-stage-header {
  border-bottom: 1px solid #edf2f7;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  display: flex;
}

.form-stage-header h4 {
  color: #14365d;
  margin: 3px 0 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.7;
}

.task-skeleton {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  gap: 12px;
  padding: 16px;
  display: grid;
}

.skeleton-grid {
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 12px;
  display: grid;
}

.skeleton-line, .skeleton-input, .skeleton-area, .skeleton-button {
  background: linear-gradient(90deg, #eef2f7, #f8fafc, #eef2f7) 0 0 / 220% 100%;
  border-radius: 8px;
  animation: 1.2s ease-in-out infinite skeleton-shimmer;
  display: block;
}

.skeleton-line {
  height: 12px;
}

.skeleton-line.tiny {
  width: 78px;
}

.skeleton-line.short {
  width: 130px;
}

.skeleton-line.medium {
  width: 220px;
}

.skeleton-line.title {
  width: min(320px, 100%);
  height: 16px;
}

.skeleton-input {
  height: 42px;
}

.skeleton-area {
  height: 104px;
}

.skeleton-button {
  justify-self: start;
  width: 140px;
  height: 40px;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.execution-task-card {
  background: linear-gradient(90deg, #15803d14, #fff0 34%), #fff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  padding: 18px;
  display: grid;
  box-shadow: 0 12px 30px #0f172a0f;
}

.execution-task-card__content {
  gap: 14px;
  min-width: 0;
  display: grid;
}

.execution-task-card__header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  display: flex;
}

.execution-task-card__header h3 {
  color: #14365d;
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.7;
}

.execution-task-meta {
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  display: grid;
}

.execution-task-meta__item {
  background: #f8fafcc2;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  gap: 4px;
  min-height: 68px;
  padding: 10px 12px;
  display: grid;
}

.execution-task-meta__item span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.execution-task-meta__item strong {
  color: #0f172a;
  font-size: 13px;
  line-height: 1.8;
}

.execution-task-actions {
  border-right: 1px solid #e5e7eb;
  align-content: start;
  gap: 10px;
  padding-right: 16px;
  display: grid;
}

.task-detail-action {
  color: #fff;
  background: linear-gradient(135deg, #164e63, #2563eb);
  border: 1px solid #155e75;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  font-weight: 900;
  line-height: 1.6;
  text-decoration: none;
  transition: transform .16s, border-color .16s, box-shadow .16s, filter .16s;
  display: inline-flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 24px #155e7538;
}

.task-detail-action:before {
  content: "";
  background: linear-gradient(90deg, #0000, #ffffff29, #0000);
  transition: transform .22s;
  position: absolute;
  inset: 0;
  transform: translateX(110%);
}

.task-detail-action > span {
  z-index: 1;
  position: relative;
}

.task-detail-action:hover {
  filter: saturate(1.08);
  border-color: #0f766e;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px #2563eb47;
}

.task-detail-action:hover:before {
  transform: translateX(-110%);
}

.task-detail-action:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #2563eb3d;
}

.task-detail-action__icon {
  color: #fff;
  background: #ffffffeb;
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  display: inline-flex;
  box-shadow: 0 4px 10px #0f172a24;
}

.task-detail-action__icon svg {
  fill: none;
  stroke: #1d4ed8;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 19px;
  height: 19px;
}

.execution-task-message {
  background: #fef2f2;
  border-radius: 8px;
  width: fit-content;
  padding: 8px 10px;
}

.execution-print-template {
  display: none;
}

.execution-print-page {
  box-sizing: border-box;
  color: #111827;
  direction: rtl;
  background: #fff;
  border: 1.5px solid #111827;
  width: 190mm;
  min-height: 270mm;
  margin: 0 auto;
  padding: 6mm 7mm;
  font-family: B Nazanin, BNazanin, Nazanin, IRNazanin, Tahoma, serif;
  font-size: 9px;
  line-height: 1.45;
}

.print-header {
  grid-template-columns: 125px 1fr 80px;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  display: grid;
}

.print-logo-block {
  text-align: center;
  justify-items: center;
  gap: 2px;
  font-size: 8px;
  line-height: 1.35;
  display: grid;
}

.print-logo-block img {
  -o-object-fit: contain;
  object-fit: contain;
  width: 48px;
  height: 44px;
}

.print-heading {
  background: #eef0ec;
  border: 1px solid #111827;
  align-content: center;
  justify-items: center;
  gap: 2px;
  min-height: 46px;
  font-size: 11px;
  font-weight: 800;
  display: grid;
}

.print-heading strong {
  font-size: 16px;
  line-height: 1.1;
}

.print-barcode-block {
  justify-items: end;
  display: grid;
}

.print-barcode {
  background: repeating-linear-gradient(90deg, #111827 0 2px, #fff 2px 4px, #111827 4px 5px, #fff 5px 8px);
  width: 48px;
  height: 24px;
  margin-top: 2px;
}

.print-meta-table, .print-info-table, .print-amount-table, .print-signature {
  border-collapse: collapse;
  width: 100%;
  margin-top: 5px;
}

.print-meta-table th, .print-meta-table td, .print-info-table th, .print-info-table td, .print-amount-table th, .print-amount-table td {
  vertical-align: middle;
  border: 1px solid #111827;
  padding: 1.5px 4px;
}

.print-meta-table th, .print-info-table th {
  background: #f1f3f5;
  width: 16%;
  font-weight: 800;
}

.print-info-table caption, .print-amount-table caption {
  caption-side: top;
  text-align: center;
  background: #cfd6cc;
  border: 1px solid #111827;
  border-bottom: 0;
  padding: 3px 5px;
  font-weight: 900;
}

.print-legal-text {
  text-align: justify;
  margin: 6px 0 4px;
  font-size: 9px;
  line-height: 1.65;
}

.print-amount-table th {
  background: #e5e7eb;
  font-weight: 900;
}

.print-amount-table td:last-child, .print-amount-table th:last-child {
  text-align: center;
  width: 28%;
}

.print-signature {
  grid-template-columns: 1fr 1fr;
  margin-top: 16mm;
  display: grid;
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
}

.print-signature > div {
  min-height: 34px;
  padding: 4px 7px;
  display: grid;
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
}

.print-signature > div:last-child {
  text-align: center;
  align-content: center;
  border: 0 !important;
}

.print-signature * {
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  html, body {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.execution-printing .app-frame {
    display: none !important;
  }

  body.execution-printing .execution-print-template {
    background: #fff;
    width: 194mm;
    height: 281mm;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: block !important;
    position: static !important;
  }

  body.execution-printing .execution-print-page {
    box-sizing: border-box;
    width: 194mm;
    height: 281mm;
    min-height: 0;
    max-height: 281mm;
    box-shadow: none;
    -moz-column-break-inside: avoid;
    break-inside: avoid;
    page-break-after: avoid;
    margin: 0;
    padding: 5mm 6mm;
    font-family: B Nazanin, BNazanin, Nazanin, IRNazanin, Tahoma, serif;
    overflow: hidden;
  }
}

.delegate-box {
  gap: 8px;
  min-width: 0;
  display: grid;
}

.delegate-box select {
  color: #0f172a;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
}

.delegate-message {
  color: #991b1b;
  font-size: 12px;
  line-height: 1.7;
}

.empty-state {
  color: #64748b;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  gap: 6px;
  padding: 22px;
  display: grid;
}

@media (max-width: 980px) {
  .dashboard-hero-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-stat-grid, .dashboard-main-grid, .execution-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-control-hero, .admin-control-stats, .admin-module-grid, .admin-preview-grid, .task-detail-layout {
    grid-template-columns: 1fr;
  }

  .task-detail-aside {
    position: static;
  }

  .task-detail-steps, .task-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow-panel, .execution-task-card {
    grid-template-columns: 1fr;
  }

  .execution-task-actions {
    border-top: 1px solid #e5e7eb;
    border-right: 0;
    padding-top: 14px;
    padding-right: 0;
  }

  .execution-task-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dashboard-stat-grid, .dashboard-main-grid, .execution-filter-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-action {
    width: 100%;
  }

  .dashboard-hero-panel, .dashboard-card__header {
    padding: 16px;
  }

  .task-card-header, .form-stage-header {
    flex-direction: column;
    align-items: stretch;
  }

  .task-detail-steps, .skeleton-grid {
    grid-template-columns: 1fr;
  }

  .task-filter-header {
    flex-direction: column;
    align-items: stretch;
  }

  .task-filter-actions {
    justify-content: stretch;
  }

  .process-page-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .process-start-action, .process-back-action {
    width: 100%;
  }

  .workflow-step {
    min-height: auto;
  }

  .task-filter-primary, .task-filter-secondary {
    flex: 1;
  }

  .task-filter-grid {
    grid-template-columns: 1fr;
  }

  .execution-task-card {
    padding: 14px;
  }

  .execution-task-card__header {
    display: grid;
  }

  .execution-task-meta {
    grid-template-columns: 1fr;
  }
}

.empty-state.compact {
  padding: 14px;
}

@media (max-width: 920px) {
  .app-frame, .app-frame--sidebar-collapsed, .admin-two-column {
    grid-template-columns: 1fr;
  }

  .app-frame--sidebar-collapsed .app-sidebar {
    display: none;
  }

  .app-sidebar {
    border-bottom: 1px solid #e5e7eb;
    border-left: 0;
  }

  .admin-grid, .ops-summary-grid, .masterdata-grid, .data-entry-choice-grid, .form-grid {
    grid-template-columns: 1fr;
  }

  .debt-entry-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .debt-entry-hero__icon {
    width: 50px;
    height: 50px;
  }

  .debt-entry-hero__stats {
    text-align: start;
  }

  .debt-entry-command-bar, .debt-entry-top-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .debt-entry-action, .debt-entry-submit {
    width: 100%;
  }

  .fake-service-hero, .fake-service-card__header, .fake-service-action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .fake-service-stats {
    justify-content: flex-start;
  }

  .fake-service-grid, .fake-service-meta {
    grid-template-columns: 1fr;
  }

  .fake-sanim-chart-card__heading, .fake-sanim-chart-layout, .fake-sanim-modal__actions {
    flex-direction: column;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .fake-sanim-chart-layout {
    justify-items: center;
  }

  .fake-sanim-sample-grid {
    grid-template-columns: 1fr;
  }

  .fake-sanim-sample-grid__wide {
    grid-column: auto;
  }

  .fake-sanim-modal-backdrop {
    align-items: stretch;
    padding: 12px;
  }

  .fake-sanim-modal {
    max-height: calc(100vh - 24px);
  }

  .fake-service-primary, .fake-service-random-action, .fake-service-action-bar input {
    width: 100%;
  }

  .topbar, .shell-toolbar, .admin-row--with-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .formal-header__identity, .formal-header__meta {
    justify-content: flex-start;
  }

  .formal-header__page {
    border-right: 0;
    padding: 0;
  }
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

/*# sourceMappingURL=src_app_globals_91e4631d.css.map*/