html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body,
.content-inner {
  color: #232D42;
}
.content-inner .form-label {
  color: #2C3850 !important;
  font-weight: 600 !important;
  font-size: .875rem !important;
}
.content-inner .form-control,
.content-inner .form-select {
  color: #232D42;
  font-weight: 500;
  font-size: .9375rem;
}
.content-inner .form-control:disabled,
.content-inner .form-control[readonly] {
  color: #2C3850;
  font-weight: 600;
}
.content-inner .form-control::placeholder,
.content-inner .form-select option[value=""] {
  color: #5C6578;
  opacity: 1;
}
.content-inner .form-text,
.content-inner .text-body-secondary,
.content-inner .form-intro p,
.content-inner .empty-state p,
.content-inner .list-toolbar-title p,
.content-inner .flow-step p,
.content-inner .card-header .text-body-secondary {
  color: #4E5870 !important;
}
.content-inner .table,
.content-inner .table td {
  color: #232D42;
}
.content-inner .table thead th,
.content-inner .list-table thead th {
  color: #2C3850 !important;
  font-weight: 600;
  font-size: .8125rem;
  text-transform: none;
  letter-spacing: 0;
}
.sidebar .item-name,
.sidebar .default-icon {
  font-weight: 500;
}
.sidebar .sub-nav .nav-sub-icon {
  width: 1.35rem;
  min-width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: .15rem;
  color: inherit;
}
.sidebar .sub-nav .nav-sub-icon .bi {
  font-size: 1rem;
  line-height: 1;
}
.sidebar .sub-nav .nav-link.active .nav-sub-icon,
.sidebar .sub-nav .nav-link:hover .nav-sub-icon {
  color: #3a57e8;
}
.badge.text-bg-primary, .badge.text-bg-secondary, .badge.text-bg-success,
.badge.text-bg-danger, .badge.text-bg-warning, .badge.text-bg-info {
  color: #fff;
}
.badge.text-bg-primary { background: #3a57e8; }
.badge.text-bg-secondary { background: #6c757d; }
.badge.text-bg-success { background: #1aa053; }
.badge.text-bg-danger { background: #c03221; }
.badge.text-bg-warning { background: #fbc647; color: #212529; }
.badge.text-bg-info { background: #08b1ba; }
.form-select { min-height: calc(1.5em + .75rem + 2px); }
.table-nowrap td, .table-nowrap th { white-space: nowrap; }
.nav-notif-link {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #3a57e8 !important;
  background: rgba(58, 87, 232, .1);
}
.nav-notif-link:hover,
.nav-notif-link.show,
.nav-notif-link[aria-expanded="true"] {
  background: rgba(58, 87, 232, .18);
  color: #3a57e8 !important;
}
.nav-notif-bell {
  font-size: 1.15rem;
  line-height: 1;
}
.nav-notif-link.has-unread .nav-notif-bell {
  animation: nav-notif-ring 1.25s ease-in-out 3;
  transform-origin: top center;
}
.nav-notif-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e11d2e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.nav-notif-menu {
  width: 360px;
  max-width: calc(100vw - 1.25rem);
  padding: 0 !important;
  margin-top: .65rem !important;
  border: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(35, 45, 66, .16) !important;
}
.nav-notif-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.1rem .9rem;
  background: #fff;
  border-bottom: 1px solid #eef2f6;
}
.nav-notif-head h6 {
  font-weight: 700;
  color: #232D42;
}
.nav-notif-count {
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 .45rem;
  border-radius: 999px;
  background: #e11d2e;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-align: center;
}
.nav-notif-list {
  max-height: 22rem;
  overflow-y: auto;
}
.nav-notif-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .9rem 1.1rem;
  text-decoration: none !important;
  color: inherit;
  background: #fff;
  border-bottom: 1px solid #f3f5f9;
}
.nav-notif-item:hover {
  background: #f6f8ff;
}
.nav-notif-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}
.nav-notif-icon.is-primary { background: rgba(58, 87, 232, .12); color: #3a57e8; }
.nav-notif-icon.is-warning { background: rgba(251, 198, 71, .28); color: #b8860b; }
.nav-notif-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .12rem;
}
.nav-notif-title {
  font-weight: 600;
  color: #232D42;
  font-size: .9rem;
  line-height: 1.35;
}
.nav-notif-text,
.nav-notif-when {
  display: block;
  font-size: .78rem;
  color: #6b7385;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-notif-dot {
  width: 8px;
  height: 8px;
  margin-top: .45rem;
  border-radius: 50%;
  background: #3a57e8;
  flex-shrink: 0;
}
.nav-notif-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: #6b7385;
}
.nav-notif-empty i {
  display: block;
  font-size: 1.75rem;
  color: #c5cad6;
  margin-bottom: .55rem;
}
.nav-notif-more {
  display: block;
  padding: .85rem 1.1rem;
  text-align: center;
  font-weight: 600;
  font-size: .875rem;
  color: #3a57e8 !important;
  text-decoration: none !important;
  background: #f7f8fc;
}
.nav-notif-more:hover {
  background: #eef1fb;
}
@keyframes nav-notif-ring {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(14deg); }
  30% { transform: rotate(-12deg); }
  45% { transform: rotate(8deg); }
  60% { transform: rotate(-6deg); }
  75% { transform: rotate(3deg); }
}
.card-tools { display: flex; align-items: center; gap: 8px; }
@media (min-width: 768px) {
  .items-table-wrap.table-responsive {
    overflow-x: auto;
  }
  .items-table {
    width: 100%;
    min-width: 56rem;
    table-layout: fixed;
  }
  .items-table > :not(caption) > * > * {
    overflow: visible;
  }
  .items-table .item-row .form-control,
  .items-table .item-row .form-select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .items-table .col-name,
  .items-table td[data-label="Barang"],
  .items-table td[data-label="Nama barang"] {
    width: auto;
  }
  .items-table .col-source,
  .items-table td[data-label="Sumber harga"] {
    width: 12.5rem;
    white-space: nowrap;
  }
  .items-table .col-qty,
  .items-table td[data-label="Qty"] {
    width: 8.5rem;
    white-space: nowrap;
  }
  .items-table .col-price,
  .items-table td[data-label="Harga"],
  .items-table td[data-label="Harga ke cabang"] {
    width: 10rem;
  }
  .items-table .col-sub,
  .items-table td[data-label="Subtotal"] {
    width: 9rem;
    white-space: nowrap;
  }
  .items-table .col-action,
  .items-table td.item-row-actions {
    width: 6.5rem;
    white-space: nowrap;
  }
  .items-table .col-qty .form-control,
  .items-table .col-price .form-control,
  .items-table .col-source .form-select {
    min-width: 100%;
  }
}
.content-inner { padding-bottom: 2rem !important; }
.content-inner .card {
  margin-bottom: 1.5rem;
  border: 1px solid #e9edf4 !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(35, 45, 66, .045) !important;
  overflow: hidden;
}
.content-inner .card-header {
  background: #fff !important;
  border-bottom: 1px solid #eef2f6;
}
.content-inner .card-footer {
  background: #fafbfe;
  border-top: 1px solid #eef2f6;
}
.content-inner .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-bg-type: transparent;
  box-shadow: none;
}
.content-inner .table thead th {
  background: #f6f8fc;
}
.content-inner .table tbody tr {
  transition: background .12s ease;
}
.content-inner .table tbody tr:hover > * {
  background: #f7f9ff;
  --bs-table-bg-state: #f7f9ff;
}
.id-cell {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-width: 0;
}
.id-cell > div {
  min-width: 0;
}
.id-cell strong,
.id-cell .id-title {
  display: block;
  font-weight: 700;
  color: #232D42;
  line-height: 1.3;
  text-decoration: none;
}
.id-cell a.id-title:hover {
  color: #3a57e8;
}
.settings-head {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.settings-head .header-title,
.settings-head .form-intro {
  min-width: 0;
}
.circle-progress-warning.hope-stat-icon { background: rgba(251, 198, 71, .28); color: #b8860b; }
.circle-progress-danger.hope-stat-icon { background: rgba(192, 50, 33, .12); color: #c03221; }
.circle-progress-success.hope-stat-icon { background: rgba(26, 160, 83, .14); color: #1aa053; }
.circle-progress-violet.hope-stat-icon { background: rgba(124, 92, 232, .14); color: #6d46d9; }
.content-inner .row.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
  row-gap: 1.5rem;
}
.content-inner .row.g-4 > [class*="col-"] > .card { margin-bottom: 0; }
.card-header .card-title { margin-bottom: 0; }
.chart-h-280 { height: 280px; }
.hope-stat-card {
  height: 100%;
}
.hope-stat-card .card-body {
  padding: 1.5rem 1.5rem;
}
.hope-stat-widget {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.hope-stat-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hope-stat-detail {
  min-width: 0;
  flex: 1;
}
.hope-stat-detail p {
  margin: 0 0 .15rem;
  font-size: .8125rem;
  color: #4E5870;
  font-weight: 500;
  line-height: 1.3;
}
.hope-stat-detail .counter {
  margin: 0 0 .2rem;
  font-size: 1.35rem;
  line-height: 1.25;
  word-break: break-word;
}
.hope-stat-detail a {
  font-size: .75rem;
  text-decoration: none;
}
.circle-progress-primary.hope-stat-icon { background: rgba(58, 87, 232, .12); color: #3a57e8; }
.circle-progress-info.hope-stat-icon { background: rgba(8, 177, 186, .12); color: #08b1ba; }
.logo-title { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar .logo-title { max-width: 110px; }
.app-logo.icon-30, .app-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}
.app-logo.app-logo-full {
  width: auto !important;
  height: 40px !important;
  max-width: 168px;
}
.sidebar.has-full-logo .navbar-brand,
.navbar-brand.has-full-logo {
  min-width: 0;
}
.sidebar.has-full-logo .logo-main,
.sidebar.has-full-logo .logo-normal,
.navbar-brand.has-full-logo .logo-main,
.navbar-brand.has-full-logo .logo-normal {
  width: auto !important;
  max-width: 168px;
}
.sidebar.has-full-logo .logo-title,
.navbar-brand.has-full-logo .logo-title {
  display: none !important;
}
.app-logo-mini {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  object-fit: cover;
  object-position: left center;
}
.app-logo-login {
  width: auto !important;
  height: 56px !important;
  max-width: 280px;
}
.app-logo-invoice {
  width: auto;
  height: 48px;
  max-width: 160px;
}
.app-logo-invoice.app-logo-full {
  height: 52px !important;
  max-width: 220px;
}
.app-logo-preview {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-logo-preview.is-wide {
  width: 220px;
  height: 80px;
}
.app-logo-preview-img {
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
}
.app-logo-preview.is-wide .app-logo-preview-img {
  max-width: 200px;
  max-height: 72px;
}
#loading.hope-loaded { display: none !important; }
.loc-stock-chip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  background: #eef2ff;
  color: #232D42;
  border-radius: 6px;
  padding: .12rem .45rem;
  margin: 0;
  white-space: nowrap;
  min-width: 0;
  line-height: 1.3;
}
.loc-stock-code {
  color: #3a57e8;
  font-weight: 700;
  letter-spacing: .01em;
}
.loc-stock-qty {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #232D42;
}
.loc-stock-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(5.6rem, 1fr));
  gap: .22rem .4rem;
  width: 13.2rem;
  max-width: 100%;
}
.loc-stock-cell {
  white-space: normal !important;
  overflow: hidden;
  vertical-align: middle;
  box-shadow: none !important;
  padding-right: 1.25rem !important;
}
.col-stock-min {
  white-space: nowrap;
  vertical-align: middle;
  box-shadow: none !important;
  padding-left: .85rem !important;
}
@media (min-width: 768px) {
  .products-table {
    table-layout: auto;
    width: 100%;
    min-width: 0;
  }
  .products-table td.loc-stock-cell,
  .products-table th:nth-child(4) {
    width: 14.5rem;
    min-width: 14.5rem;
  }
  .products-table th.col-stock-min,
  .products-table td.col-stock-min {
    width: 4.5rem;
    min-width: 4.5rem;
    background-color: #fff;
  }
  .products-table td[data-label="Barang"] .id-cell > div {
    min-width: 0;
  }
  .products-table td[data-label="Barang"] strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.req-thumb, .req-preview {
  max-width: 180px;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e9edf4;
}
.req-preview { max-width: 240px; max-height: 180px; }
.req-attach-card { max-width: 200px; }
.page-hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: .35rem;
}
.page-hero p {
  margin: 0;
  max-width: 38rem;
  opacity: 1;
  font-weight: 500;
  color: #fff;
  line-height: 1.55;
}
.page-hero-crumb {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
  color: rgba(255, 255, 255, .9);
  margin-bottom: .4rem;
}
.form-intro {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef2f6;
}
.form-intro h5 {
  color: #232D42;
  font-weight: 600;
  margin-bottom: .35rem;
}
.form-intro p {
  margin: 0;
  color: #4E5870;
  line-height: 1.6;
  max-width: 40rem;
  font-size: .9375rem;
}
.list-card {
  overflow: hidden;
}
.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 0;
}
.list-toolbar-title h5 {
  font-weight: 600;
}
.list-toolbar-title p {
  font-size: .875rem;
}
.list-filters {
  padding: 0 1.5rem 1.25rem;
  background: #fff;
}
.list-filters .form-label {
  font-size: .875rem;
  font-weight: 600;
  color: #2C3850;
  margin-bottom: .35rem;
}
.list-table thead th {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #2C3850;
  border-bottom-width: 1px;
  padding-top: .85rem;
  padding-bottom: .85rem;
}
.list-table tbody td {
  padding-top: .9rem;
  padding-bottom: .9rem;
}
.list-row-main {
  cursor: pointer;
}
.list-row-main.is-open {
  background: #f4f6ff;
}
.list-row-main .list-expand-caret {
  font-size: .75rem;
  color: #6c757d;
  margin-left: .15rem;
  transition: transform .15s ease;
}
.list-row-main.is-open .list-expand-caret {
  transform: rotate(-180deg);
}
.item-preview-line {
  font-size: .8125rem;
  color: #4E5870;
  line-height: 1.4;
  max-width: 22rem;
}
.list-row-detail td {
  background: #f7f8fc;
  padding: .85rem 1.15rem !important;
}
.list-row-detail[hidden] {
  display: none !important;
}
.nested-items {
  background: #fff;
  margin: 0;
}
.nested-items thead th {
  font-size: .75rem;
  font-weight: 600;
  color: #2C3850;
  background: #eef1f8;
}
.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  max-width: 28rem;
  margin: 0 auto;
}
.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(58, 87, 232, .1);
  color: #3a57e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.empty-state h5 {
  font-weight: 600;
  margin-bottom: .4rem;
}
.empty-state p {
  color: #8A92A6;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.flow-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.flow-step {
  min-width: 0;
}
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(58, 87, 232, .1);
  color: #3a57e8;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .65rem;
}
.flow-step h6 {
  color: #232D42;
  font-weight: 600;
  margin-bottom: .35rem;
}
.flow-step p {
  margin: 0;
  color: #4E5870;
  font-size: .875rem;
  line-height: 1.55;
}
@media (max-width: 991.98px) {
  .flow-guide {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 575.98px) {
  .flow-guide {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1199.98px) {
  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100%;
  }
  .conatiner-fluid.content-inner {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
    max-width: 100%;
  }
}
@media (max-width: 767.98px) {
  html, body {
    overflow-x: hidden;
  }
  .content-inner .form-control,
  .content-inner .form-select,
  .content-inner .form-control-sm,
  .content-inner .form-select-sm {
    font-size: 16px !important;
    min-height: 44px;
    width: 100%;
    max-width: 100%;
  }
  .item-row .form-control,
  .item-row .form-select {
    min-width: 0;
    width: 100%;
  }
  .iq-navbar-header {
    height: auto !important;
    min-height: 0;
    padding-bottom: 1.25rem;
  }
  .page-hero {
    width: 100%;
  }
  .page-hero h1 {
    font-size: 1.35rem;
  }
  .page-hero p {
    font-size: .9rem;
    max-width: none;
  }
  .iq-navbar-header .btn-soft-light {
    margin-top: .75rem;
    width: 100%;
    justify-content: center;
  }
  .navbar .search-input {
    display: none !important;
  }
  .nav-notif-link {
    margin: .25rem 0;
  }
  .nav-notif-menu {
    width: min(22rem, calc(100vw - 1rem));
  }
  .content-inner .card-body {
    padding: 1rem;
  }
  .list-toolbar,
  .list-filters {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .list-toolbar .btn,
  .items-toolbar {
    width: 100%;
  }
  .items-toolbar {
    flex-wrap: wrap;
    gap: .5rem;
  }
  .items-toolbar .btn {
    width: 100%;
  }
  .list-card {
    overflow: visible;
  }
  .table-responsive {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  .items-table-wrap.table-responsive {
    overflow: visible;
  }
  .items-table thead {
    display: none;
  }
  .items-table,
  .items-table tbody,
  .items-table tfoot {
    display: block;
    width: 100%;
  }
  .items-table tbody tr {
    display: block;
    width: 100%;
    background: #f8f9fd;
    border: 1px solid #e9edf4;
    border-radius: 12px;
    padding: .85rem 1rem;
    margin-bottom: .85rem;
  }
  .items-table tbody td {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
    width: 100%;
    border: 0;
    padding: .55rem 0;
  }
  .items-table tbody td + td {
    border-top: 1px solid #eef2f6;
  }
  .items-table tbody td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: #2C3850;
    font-size: .8125rem;
  }
  .items-table tbody td.item-row-actions {
    grid-template-columns: 1fr;
    padding-top: .75rem;
  }
  .items-table tbody td.item-row-actions::before {
    display: none;
  }
  .items-table tbody td.item-row-actions .btn {
    width: 100%;
  }
  .items-table tfoot {
    display: block;
    padding: .25rem .15rem 0;
  }
  .items-table tfoot tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .items-table tfoot .items-total-label,
  .items-table tfoot .items-total-value {
    display: block;
    width: auto;
    border: 0;
    padding: .35rem 0;
  }
  .items-table tfoot .items-total-spacer {
    display: none;
  }
  .list-table thead {
    display: none;
  }
  .list-table,
  .list-table tbody {
    display: block;
    width: 100%;
  }
  .list-table tbody tr {
    display: block;
    width: 100%;
    padding: 1rem;
    border-bottom: 8px solid #f5f6fa;
  }
  .list-table tbody tr[hidden] {
    display: none !important;
  }
  .list-table tbody tr.list-row-main.is-open {
    border-bottom: 0;
    padding-bottom: .35rem;
  }
  .list-table tbody tr.list-row-detail {
    padding-top: 0;
  }
  .item-preview-line {
    max-width: none;
  }
  .list-table tbody td {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr);
    align-items: start;
    gap: .65rem;
    width: 100%;
    border: 0;
    padding: .4rem 0;
    white-space: normal;
  }
  .list-table tbody td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: #2C3850;
    font-size: .8125rem;
  }
  .list-table tbody td[colspan] {
    display: block;
    text-align: center;
  }
  .list-table tbody td[colspan]::before {
    display: none;
  }
  .list-table tbody td.list-row-actions {
    grid-template-columns: 1fr;
    padding-top: .75rem;
  }
  .list-table tbody td.list-row-actions::before {
    display: none;
  }
  .list-table tbody td.list-row-actions .req-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .list-table .nested-items,
  .list-table .nested-items thead,
  .list-table .nested-items tbody {
    display: table;
    width: 100%;
  }
  .list-table .nested-items thead {
    display: table-header-group;
  }
  .list-table tbody .nested-items tr {
    display: table-row;
    padding: 0;
    border-bottom: 0;
    width: auto;
  }
  .list-table tbody .nested-items th,
  .list-table tbody .nested-items td {
    display: table-cell;
    padding: .4rem .5rem;
    width: auto;
    border: 0;
    white-space: normal;
  }
  .list-table tbody .nested-items th::before,
  .list-table tbody .nested-items td::before {
    display: none;
    content: none;
  }
  .card-header.d-flex {
    flex-wrap: wrap;
    gap: .5rem;
  }
  .card-header .btn.ms-auto {
    margin-left: 0 !important;
    width: 100%;
  }
  .card-tools {
    width: 100%;
    flex-wrap: wrap;
  }
  .card-tools form,
  .card-tools .form-control {
    width: 100%;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
  }
  .loc-stock-cell {
    max-width: none;
    overflow: visible;
    padding-right: 0 !important;
  }
  .loc-stock-wrap {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .list-table tbody td.loc-stock-cell {
    align-items: start;
  }
  .list-table tbody td.col-stock-min {
    width: auto;
    min-width: 0;
    background: transparent;
    padding-left: 0 !important;
  }
  .chart-h-280 {
    height: 220px;
  }
  .hope-stat-card .card-body {
    padding: 1.1rem;
  }
  .footer .footer-body {
    flex-wrap: wrap;
    gap: .5rem;
  }
  .app-logo-preview.is-wide {
    width: 100%;
    max-width: 220px;
  }
  .req-thumb,
  .req-preview,
  .req-attach-card {
    max-width: 100%;
  }
}
.cat-toolbar,
.entity-toolbar {
  padding: 1.25rem 1.4rem 1.1rem;
}
.cat-toolbar-main,
.entity-toolbar-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cat-toolbar .card-title,
.entity-toolbar .card-title {
  font-size: 1.15rem;
  font-weight: 700;
}
.cat-toolbar-actions,
.entity-toolbar-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}
.cat-search,
.entity-search {
  position: relative;
  min-width: 220px;
}
.cat-search i,
.entity-search i {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8A92A6;
  pointer-events: none;
}
.cat-search .form-control,
.entity-search .form-control {
  padding-left: 2.25rem;
  min-height: 40px;
  border-radius: 10px;
}
.cat-stats,
.entity-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.cat-stat,
.entity-stat {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: #f4f6fb;
  color: #4E5870;
  font-size: .8125rem;
  font-weight: 500;
}
.cat-stat strong,
.entity-stat strong {
  color: #232D42;
  font-weight: 700;
}
.cat-stat.is-filled,
.entity-stat.is-filled {
  background: rgba(26, 160, 83, .1);
  color: #157a3f;
}
.cat-stat.is-filled strong,
.entity-stat.is-filled strong { color: #116433; }
.cat-stat.is-empty,
.entity-stat.is-empty {
  background: rgba(251, 198, 71, .22);
  color: #8a6a12;
}
.cat-stat.is-empty strong,
.entity-stat.is-empty strong { color: #6d540c; }
.cat-grid,
.entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.cat-card,
.entity-card {
  background: #fff;
  border: 1px solid #e9edf4;
  border-radius: 16px;
  padding: 1.15rem 1.15rem 1rem;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .9rem;
  box-shadow: 0 8px 24px rgba(35, 45, 66, .045);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.cat-card:hover,
.entity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(35, 45, 66, .08);
  border-color: #d9e0f5;
}
.cat-card-top,
.entity-card-top {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  min-width: 0;
}
.cat-icon,
.entity-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 700;
}
.entity-icon.sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: .95rem;
}
.entity-icon.is-initials {
  font-size: .85rem;
  letter-spacing: .02em;
}
.cat-icon.is-blue, .entity-icon.is-blue { background: rgba(58, 87, 232, .12); color: #3a57e8; }
.cat-icon.is-teal, .entity-icon.is-teal { background: rgba(8, 177, 186, .14); color: #08939a; }
.cat-icon.is-amber, .entity-icon.is-amber { background: rgba(251, 198, 71, .28); color: #b8860b; }
.cat-icon.is-rose, .entity-icon.is-rose { background: rgba(192, 50, 33, .12); color: #c03221; }
.cat-icon.is-violet, .entity-icon.is-violet { background: rgba(124, 92, 232, .14); color: #6d46d9; }
.cat-icon.is-green, .entity-icon.is-green { background: rgba(26, 160, 83, .14); color: #1aa053; }
.cat-icon.is-cyan, .entity-icon.is-cyan { background: rgba(14, 165, 233, .14); color: #0284c7; }
.cat-icon.is-orange, .entity-icon.is-orange { background: rgba(249, 115, 22, .14); color: #c2410c; }
.req-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .35rem;
}
.req-actions form {
  display: inline;
  margin: 0;
}
.req-actions .btn {
  white-space: nowrap;
}
.req-status-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.2;
  padding: .28rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.req-status-pill .bi {
  font-size: .85rem;
}
.req-status-pill.is-amber { background: rgba(251, 198, 71, .28); color: #8a6708; }
.req-status-pill.is-green { background: rgba(26, 160, 83, .14); color: #147a3f; }
.req-status-pill.is-rose { background: rgba(192, 50, 33, .12); color: #c03221; }
.req-status-pill.is-teal { background: rgba(8, 177, 186, .16); color: #0a7d82; }
.req-status-pill.is-cyan { background: rgba(14, 165, 233, .14); color: #0369a1; }
.req-status-pill.is-violet { background: rgba(124, 92, 232, .14); color: #5b3cc4; }
.req-status-meta {
  font-size: .72rem;
  color: #697a8d;
  font-weight: 600;
  letter-spacing: .01em;
}
.req-status-links {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.req-status-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1;
  padding: .28rem .5rem;
  border-radius: 999px;
  text-decoration: none;
  color: #3a57e8;
  background: #eef2ff;
}
.req-status-link:hover {
  color: #2f46c8;
  background: #e0e7ff;
}
.req-status-link.is-go {
  color: #147a3f;
  background: rgba(26, 160, 83, .14);
}
.req-status-link.is-go:hover {
  color: #0f5e31;
  background: rgba(26, 160, 83, .22);
}
@media (max-width: 767.98px) {
  .req-status { min-width: 0; }
}
.cat-card-copy,
.entity-card-copy {
  min-width: 0;
}
.cat-card-copy h4,
.entity-card-copy h4 {
  margin: .1rem 0 .35rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #232D42;
  line-height: 1.3;
}
.cat-card-copy p,
.entity-card-copy p {
  margin: 0;
  color: #4E5870;
  font-size: .875rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.cat-card-copy p.is-muted,
.entity-card-copy p.is-muted {
  color: #8A92A6;
  font-style: italic;
}
.cat-card-foot,
.entity-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: .15rem;
  flex-wrap: wrap;
}
.cat-count,
.entity-chip {
  font-size: .8125rem;
  font-weight: 700;
  color: #3a57e8;
  text-decoration: none;
  background: rgba(58, 87, 232, .08);
  border-radius: 999px;
  padding: .28rem .7rem;
}
.cat-count:hover,
.entity-chip:hover {
  background: rgba(58, 87, 232, .16);
  color: #2c45c9;
}
.cat-count.is-zero,
.entity-chip.is-zero,
.entity-chip.is-muted {
  color: #6b7385;
  background: #f3f5f9;
  font-weight: 600;
}
.entity-chip.is-success {
  color: #157a3f;
  background: rgba(26, 160, 83, .1);
}
.entity-chip.is-danger {
  color: #c03221;
  background: rgba(192, 50, 33, .1);
}
.cat-card-actions,
.entity-card-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.cat-card-actions form,
.entity-card-actions form {
  display: inline;
  margin: 0;
}
.cat-card.tone-blue, .entity-card.tone-blue { background: linear-gradient(180deg, #f7f9ff 0%, #fff 46%); }
.cat-card.tone-teal, .entity-card.tone-teal { background: linear-gradient(180deg, #f3fcfc 0%, #fff 46%); }
.cat-card.tone-amber, .entity-card.tone-amber { background: linear-gradient(180deg, #fffaf0 0%, #fff 46%); }
.cat-card.tone-rose, .entity-card.tone-rose { background: linear-gradient(180deg, #fff6f5 0%, #fff 46%); }
.cat-card.tone-violet, .entity-card.tone-violet { background: linear-gradient(180deg, #f8f5ff 0%, #fff 46%); }
.cat-card.tone-green, .entity-card.tone-green { background: linear-gradient(180deg, #f4fbf6 0%, #fff 46%); }
.cat-card.tone-cyan, .entity-card.tone-cyan { background: linear-gradient(180deg, #f3faff 0%, #fff 46%); }
.cat-card.tone-orange, .entity-card.tone-orange { background: linear-gradient(180deg, #fff7f0 0%, #fff 46%); }
@media (max-width: 767.98px) {
  .cat-toolbar-actions,
  .entity-toolbar-actions,
  .cat-search,
  .entity-search,
  .cat-toolbar-actions .btn,
  .entity-toolbar-actions .btn {
    width: 100%;
  }
  .cat-grid,
  .entity-grid {
    grid-template-columns: 1fr;
  }
}
.guide-acc {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.guide-acc .accordion-item {
  border: 1px solid #e9edf4;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(35, 45, 66, .045);
}
.guide-acc .accordion-button {
  background: #fff;
  box-shadow: none;
  padding: 1rem 1.15rem;
  gap: .75rem;
  align-items: flex-start;
}
.guide-acc .accordion-button:not(.collapsed) {
  background: #f7f9ff;
  color: #232D42;
  box-shadow: none;
}
.guide-acc .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
.guide-acc .accordion-button::after {
  margin-top: .55rem;
  flex-shrink: 0;
}
.guide-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #3a57e8;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .2rem;
}
.guide-copy {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
  text-align: left;
}
.guide-copy strong {
  font-size: 1rem;
  font-weight: 700;
  color: #232D42;
  line-height: 1.35;
}
.guide-copy span {
  font-size: .8125rem;
  font-weight: 500;
  color: #4E5870;
  line-height: 1.4;
}
.guide-acc .accordion-body {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: #232D42;
}
.guide-acc .accordion-body ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
.guide-acc .accordion-body li + li {
  margin-top: .4rem;
}
.guide-acc .accordion-body p {
  color: #4E5870;
}
.guide-ok,
.guide-warn {
  padding: .7rem .85rem;
  border-radius: 10px;
  font-size: .9rem;
}
.guide-ok {
  background: rgba(26, 160, 83, .1);
  color: #116433;
}
.guide-warn {
  background: rgba(251, 198, 71, .22);
  color: #6d540c;
}
.guide-item.tone-blue .guide-num { background: #3a57e8; }
.guide-item.tone-teal .guide-num { background: #08939a; }
.guide-item.tone-violet .guide-num { background: #6d46d9; }
.guide-item.tone-amber .guide-num { background: #b8860b; }
.guide-item.tone-green .guide-num { background: #1aa053; }
.guide-item.tone-cyan .guide-num { background: #0284c7; }
.guide-item.tone-rose .guide-num { background: #c03221; }
.guide-item.tone-orange .guide-num { background: #c2410c; }
.perm-box {
  border: 1px solid #e4e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  background: #f7f8fc;
}
.perm-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.perm-title {
  font-weight: 700;
  color: #2C3850;
}
.perm-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.perm-group + .perm-group {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e4e8f0;
}
.perm-group h6 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5C6578;
  margin: 0 0 8px;
}
.perm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}
.perm-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-weight: 500;
  font-size: .875rem;
  color: #232D42;
  cursor: pointer;
}
.perm-item input {
  margin-top: 3px;
  flex: 0 0 auto;
}
@media (max-width: 576px) {
  .perm-head { flex-direction: column; }
  .perm-grid { grid-template-columns: 1fr; }
}
@media print {
  .sidebar, .iq-navbar, .iq-navbar-header, .footer, .no-print, #loading { display: none !important; }
  .main-content, .content-inner { margin: 0 !important; padding: 0 !important; width: 100% !important; }
  .guide-acc .accordion-collapse { display: block !important; height: auto !important; }
  .guide-acc .accordion-button { box-shadow: none !important; }
  .list-row-detail[hidden] { display: table-row !important; }
  .list-expand-caret { display: none !important; }
}
.tools-steps {
  padding-left: 1.15rem;
  color: #4E5870;
}
.tools-steps li + li { margin-top: .35rem; }
.tools-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.tools-table thead th {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #6b7385;
  background: #f7f8fb;
  border-bottom-color: #e9edf4;
}
.tools-table td {
  vertical-align: top;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
@media (max-width: 767.98px) {
  .tools-table thead { display: none; }
  .tools-table, .tools-table tbody, .tools-table tr, .tools-table td {
    display: block;
    width: 100%;
  }
  .tools-table tr {
    border-bottom: 1px solid #e9edf4;
    padding: .75rem 1rem 1rem;
  }
  .tools-table td { padding: .2rem 0; }
}
