.app-sidebar .sidebar-menu a.active,
.app-sidebar .sidebar-submenu a.active { background: #eef4ff; color: #487fff; }
.sidebar-logo {
    border-inline-end: 0 !important;
    border-block-end: 0 !important;
    background: transparent !important;
}
.sidebar-logo img {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.sidebar-logo img.light-logo,
.sidebar-logo img.dark-logo {
    max-height: 56px;
    width: auto;
}
.sidebar-logo img.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.app-sidebar .sidebar-menu li.dropdown > a::after {
    transition: transform 0.2s ease;
}
.app-sidebar .sidebar-menu .sidebar-submenu li a {
    display: flex;
    align-items: center;
    gap: 8px;
}
.app-sidebar .sidebar-menu .sidebar-submenu li a .menu-bullet {
    font-size: 8px;
    color: var(--primary-400);
    flex-shrink: 0;
}
.app-sidebar .sidebar-menu .sidebar-submenu li:nth-child(2) a .menu-bullet {
    color: var(--primary-600);
}
.app-sidebar .sidebar-menu .sidebar-submenu li:nth-child(3) a .menu-bullet {
    color: var(--primary-800);
}
.app-sidebar .sidebar-menu .sidebar-submenu li.active-page a .menu-bullet,
.app-sidebar .sidebar-menu .sidebar-submenu li a.active-page .menu-bullet {
    color: var(--primary-700);
}
.app-card-link { cursor: pointer; transition: all .2s ease; }
.app-card-link:hover { transform: translateY(-2px); border-color: #487fff !important; }
.equipment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.request-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 24px; }
.catalog-list { max-height: 65vh; overflow: auto; }
.catalog-items-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding-top: 12px;
    padding-right: 12px;
}
.catalog-item {
    position: relative;
    overflow: visible;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 12px;
    background: #f8fafc;
    min-width: 0;
    cursor: pointer;
    transition: .2s ease;
}
.catalog-item img {
    display: block;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}
.catalog-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(148, 163, 184, 0.08);
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
    border-radius: 12px;
}
.catalog-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px dashed #bfd7ff;
    border-radius: 12px;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}
.catalog-item > * {
    position: relative;
    z-index: 1;
}
.catalog-item:hover {
    transform: translateY(-2px);
    border-color: #cfe0ff;
    background: #f4f7fb;
    box-shadow: 0 14px 28px rgba(72,127,255,.12);
}
.catalog-item:hover::before {
    opacity: 1;
}
.catalog-item.is-selected {
    border-color: #bfd7ff;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    box-shadow: inset 0 0 0 1px rgba(72,127,255,.14), 0 8px 18px rgba(72,127,255,.06);
}
.catalog-item.is-selected::after {
    opacity: 1;
}
.equipment-thumb {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.equipment-thumb.is-previewable {
    cursor: zoom-in;
    position: relative;
}
.equipment-thumb.is-previewable::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0);
    transition: background .2s ease;
}
.equipment-thumb.is-previewable:hover::after {
    background: rgba(148, 163, 184, 0.24);
}
.catalog-item .equipment-thumb {
    padding: 5px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px dashed #d4d9e3;
    background: #ffffff;
}
.catalog-item .equipment-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: #ffffff;
}
.catalog-item .catalog-copy { min-width: 0; }
.catalog-item .catalog-copy h6,
.catalog-item .catalog-copy p,
.catalog-item .catalog-copy span { overflow-wrap: anywhere; word-break: break-word; }
.catalog-title { display: block; margin-bottom: 2px; }
.catalog-badge-wrap { display: block; padding-left: 6px; line-height: 1; margin-top: 0; }
.catalog-line { min-width: 0; height: 18px; display: flex; align-items: center; overflow: hidden; }
.catalog-line.title-line { height: 22px; }
.catalog-line.badge-line {
    height: clamp(26px, 2vw, 30px);
    align-items: center;
    overflow: visible;
    padding-top: 0;
}
.catalog-marquee { min-width: 0; width: 100%; overflow: hidden; white-space: nowrap; }
.catalog-marquee-inner {
    display: inline-block;
    width: max-content;
    min-width: 100%;
    max-width: none;
    transform: translateX(0);
    transition: transform .35s ease;
    will-change: transform;
}
.system-soft-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-width: 1px;
    border-style: solid;
    border-radius: 6px;
    font-size: 8px;
    font-weight: 400 !important;
    line-height: 1;
    padding: 4px 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.system-soft-badge-primary {
    color: #3b82f6 !important;
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}
.system-soft-badge-neutral {
    color: #171717 !important;
    background: rgba(23, 23, 23, 0.08) !important;
    border-color: rgba(23, 23, 23, 0.18) !important;
}
.catalog-description-clamp {
    display: block;
    line-height: 1.35;
    max-height: calc(1.35em * 4);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 0;
    text-align: justify;
    text-justify: inter-word;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.catalog-description-clamp::-webkit-scrollbar { display: none; width: 0; height: 0; }
.catalog-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    width: 100%;
}
.catalog-tabs .nav-item {
    width: 100%;
}
.catalog-tabs .nav-link {
    width: 100%;
    min-height: 66px;
    justify-content: center;
    border: 1px solid #d8e7ff;
    background: #f5f9ff;
    color: #4774c7;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 6px 18px rgba(72, 127, 255, 0.06);
}
.catalog-tabs .nav-link.active {
    background: linear-gradient(90deg, #2d6cdf 0%, #59a8ff 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(72, 127, 255, 0.18);
}
.catalog-item-count {
    position: absolute;
    top: -12px;
    right: -12px;
    min-width: 38px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.24);
    z-index: 5;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}
.system-flash-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1090;
    width: 360px;
    max-width: calc(100vw - 32px);
    animation: system-toast-in .28s ease both;
    transition: opacity .26s ease, transform .26s ease;
}
.system-flash-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.system-flash-toast.is-leaving {
    opacity: 0;
    transform: translateY(8px);
}
.system-flash-toast.is-static {
    opacity: 0;
    transform: translateY(10px);
}
.system-flash-toast .alert {
    margin-bottom: 0;
    background-color: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}
.system-toast-message {
    white-space: normal;
    overflow-wrap: anywhere;
}
@keyframes system-toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.catalog-item-count.is-visible {
    opacity: 1;
    transform: scale(1);
}
.area-selection-board { max-width: none; width: 100%; margin: 0; }
.area-selection-board .table-responsive { margin-bottom: 0; }
.selection-table-wrap {
    position: relative;
    width: 100%;
    --right-fade-opacity: 0;
    --right-fade-mask-mid: 1;
    --right-fade-mask-end: 1;
    --sticky-shadow-opacity: 0;
}
.selection-table-wrap .table-responsive {
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.selection-table-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.24) 40%, rgba(248, 250, 252, 0.70) 100%);
    opacity: var(--right-fade-opacity);
    transition: opacity .28s ease;
}
.selection-group + .selection-group { margin-top: 20px; }
.selection-item { border: 1px solid #eef1f7; border-radius: 14px; padding: 14px; background: #fbfcff; }
.selection-item + .selection-item { margin-top: 12px; }
.sticky-panel { position: sticky; top: 92px; }
.mobile-stack-card { min-height: 100%; }
.print-sheet { max-width: 980px; margin: 0 auto; background: #fff; }
.print-break-inside-avoid { break-inside: avoid; page-break-inside: avoid; }
.navbar-header {
    position: sticky;
    top: 0;
    z-index: 12;
    background: #fff;
}
.form-icon { z-index: 1; }
.form-with-icon { padding-left: 3.4rem !important; }
.auto-grow-textarea { min-height: 46px; overflow: hidden; resize: none; }
.form-icon-top { top: 15px; }
.floating-add-alert { position: fixed; right: 20px; bottom: 20px; z-index: 1080; width: 360px; display: flex; flex-direction: column-reverse; gap: 10px; }
.floating-add-alert > div {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
}
.floating-add-alert > div.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.floating-add-alert > div.is-leaving {
    opacity: 0;
    transform: translateY(8px);
}
.add-alert-box {
    min-height: 0;
    align-items: flex-start;
}
.add-alert-surface {
    background-color: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.alert-progress-track {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.06);
}
.alert-progress-bar {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transform-origin: left center;
    animation: alert-progress-countdown 5s linear forwards;
}
.alert-progress-bar.is-success {
    background: linear-gradient(90deg, #34d399 0%, #22c55e 100%);
}
.alert-progress-bar.is-danger {
    background: linear-gradient(90deg, #fb7185 0%, #ef4444 100%);
}
.alert-progress-bar.is-warning {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}
@keyframes alert-progress-countdown {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}
.dashboard-main-body {
    background: #F5F6FA;
}

.dashboard-main-body #request-form > .row > .col-12 > .card,
.selection-table-card,
.selection-summary-card {
    background: #ffffff;
    border: 1px solid #e9edf5;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}
.dashboard-main-body #request-form .request-card-error {
    border-color: #f04438 !important;
    box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.10), 0 10px 30px rgba(17, 24, 39, 0.04) !important;
}
.dashboard-main-body #request-form .request-field-error {
    border-color: #f04438 !important;
    box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.10) !important;
}
.dashboard-main-body #request-form .request-field-error:focus {
    border-color: #f04438 !important;
    box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.12) !important;
}

.dashboard-main-body #request-form .card > .card-body,
.selection-table-card .card-body,
.selection-summary-card .card-body,
.selection-table-card .card-header,
.selection-summary-card .card-header {
    background: transparent;
}

.selection-board-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.selection-table-card {
    border-radius: 8px;
}
.selection-summary-card {
    border: 1px solid #e9edf5 !important;
    height: auto !important;
    align-self: start;
    position: static;
    top: auto;
    overflow: hidden;
}
.selection-table-total,
.selection-summary-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff4ff;
    color: #3b82f6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.selection-panel-header {
    min-height: 88px;
}
.selection-panel-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 56px;
}
.system-section-title,
.selection-panel-copy > h6 {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
}
.system-section-subtitle,
.selection-panel-copy p {
    font-size: 13px;
    line-height: 1.45;
    max-width: 420px;
}
.selection-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.selection-toolbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.selection-search-wrap {
    width: min(100%, 240px);
}
.selection-search-input {
    height: 40px;
    min-height: 40px;
    line-height: 1.2;
    padding-inline: 14px;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 8px;
    border-color: #d8dee8;
    background: #fff;
    box-shadow: none;
}
.selection-search-input::placeholder {
    color: #98a2b3;
}
.requests-toolbar-add-btn,
.equipment-create-btn {
    width: 40px;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.requests-toolbar-add-btn {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #17b26a;
}
.requests-toolbar-add-btn:hover {
    color: #079455;
    background: #dcfae6;
    box-shadow: 0 10px 18px rgba(23, 178, 106, 0.16);
    transform: translateY(-1px);
}
.requests-toolbar-add-btn iconify-icon {
    font-size: 22px;
}
.equipment-preview-trigger {
    background: #eff4ff;
    color: #155eef;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.equipment-preview-trigger:hover:not(.is-disabled) {
    background: #dbe8ff;
    color: #004ee5;
    box-shadow: 0 8px 18px rgba(21, 94, 239, 0.16);
    transform: translateY(-1px);
}
.equipment-preview-trigger.is-disabled,
.equipment-preview-trigger:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
    transform: none;
}
.equipment-qr-preview-card {
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.equipment-qr-preview-media {
    min-height: 176px;
    border: 1px dashed #d0d5dd;
    border-radius: 10px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.equipment-qr-preview-image {
    width: 176px;
    height: 176px;
    object-fit: contain;
    display: block;
    background: #fff;
}
.equipment-qr-preview-placeholder {
    min-height: 176px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #98a2b3;
    font-size: 12px;
    text-align: center;
    padding: 16px;
}
.equipment-qr-preview-placeholder iconify-icon {
    font-size: 34px;
    color: #b2bfd3;
}
.equipment-qr-preview-footer {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.equipment-qr-preview-footer .form-control {
    min-width: 0;
}
.equipment-qr-print-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}
.equipment-search-wrap {
    width: min(100%, 260px);
}
.equipment-import-pill {
    min-height: 24px;
    padding-inline: 10px;
    font-size: 10px;
}
.equipment-import-card,
.equipment-catalog-card {
    max-width: 1120px;
    margin: 0 auto;
}
.equipment-import-copy p {
    max-width: 520px;
}
.system-toolbar-link-btn {
    height: 40px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #d8dee8;
    background: #fff;
    color: #475467;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.system-toolbar-link-btn:hover {
    color: #155eef;
    border-color: #b2ccff;
    background: #eff4ff;
    box-shadow: 0 10px 18px rgba(21, 94, 239, 0.12);
    transform: translateY(-1px);
}
.system-toolbar-link-btn iconify-icon {
    font-size: 16px;
}
.users-grid-panel {
    border: 1px solid #e9edf5;
    border-radius: 10px;
    min-height: calc(100vh - 210px);
    overflow: visible;
}
.users-grid-panel .card-body {
    min-height: inherit;
    overflow: visible;
}
.users-grid-toolbar {
    align-items: flex-start;
}
.users-grid-toolbar-actions {
    row-gap: 10px;
}
.users-grid-toolbar-actions .system-toolbar-link-btn:hover {
    color: #fff;
    border-color: #155eef;
    background: #155eef;
    box-shadow: 0 10px 18px rgba(21, 94, 239, 0.18);
}
.users-grid-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.users-role-table-wrap {
    overflow-y: visible;
    min-height: calc(100vh - 360px);
}
.users-role-table {
    width: 100%;
    min-width: 920px;
}
.users-role-table .users-grid-role-dropdown {
    position: relative;
}
.users-role-table .users-grid-role-dropdown .dropdown-menu {
    z-index: 1080;
}
.users-role-table tbody tr {
    transition: background-color 0.2s ease;
}
.users-role-table tbody tr:hover {
    background: #f8faff;
}
.users-role-table td,
.users-role-table th {
    vertical-align: middle;
}
.users-role-table .users-grid-role-dropdown .btn {
    min-width: 138px;
    min-height: 32px;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 11px;
    border-radius: 6px;
}
.users-role-table .users-grid-role-dropdown .equipment-filter-dropdown {
    width: 100%;
    min-width: 138px;
}
.users-role-table .users-grid-role-dropdown .equipment-filter-dropdown-label {
    width: 100%;
    min-width: 0;
}
.users-role-table .badge.system-soft-badge-neutral {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.users-grid-item {
    border: 1px solid #e9edf5;
    border-radius: 10px;
    background: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.users-grid-item:hover {
    transform: translateY(-1px);
    border-color: #d7deea;
    box-shadow: 0 14px 28px rgba(16, 24, 40, 0.08);
}
.users-grid-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
.users-grid-avatar-wrap {
    width: 68px;
    height: 68px;
    padding: 4px;
    border: 1px dashed #d0d5dd;
    border-radius: 18px;
    background: #fff;
    flex-shrink: 0;
}
.users-grid-avatar {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}
.users-grid-item-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.users-grid-item-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.users-grid-heading {
    min-width: 0;
}
.users-grid-name {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
    color: #101828;
}
.users-grid-email {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
    color: #667085;
    word-break: break-word;
}
.users-grid-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.users-grid-role-dropdown .btn {
    min-height: 36px;
    font-size: 12px;
    border-radius: 8px;
}
.user-profile-summary-card {
    border-color: #e9edf5;
}
.user-profile-summary-head {
    padding-bottom: 18px;
}
.user-profile-info-list {
    display: grid;
    gap: 12px;
}
.user-profile-info-row {
    display: grid;
    grid-template-columns: minmax(88px, 108px) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}
.user-profile-info-label {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    color: #344054;
}
.user-profile-info-value {
    min-width: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #667085;
    word-break: break-word;
}
.user-profile-info-row-bio .user-profile-info-value {
    white-space: pre-wrap;
}
.user-profile-editor-card {
    border: 1px solid #e9edf5;
}
.user-profile-form-label {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    color: #344054;
    margin-bottom: 8px;
}
.user-profile-form .form-control,
.user-profile-form .form-select {
    min-height: 42px;
}
.user-profile-bio-input {
    min-height: 132px;
    resize: vertical;
}
.user-profile-password-form {
    max-width: 520px;
}
.user-photo-crop-modal {
    border: 1px solid #e9edf5;
}
.user-photo-crop-stage {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #d8dee8;
    background:
        linear-gradient(45deg, #f2f4f7 25%, transparent 25%),
        linear-gradient(-45deg, #f2f4f7 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f2f4f7 75%),
        linear-gradient(-45deg, transparent 75%, #f2f4f7 75%);
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
    touch-action: none;
    user-select: none;
    cursor: grab;
}
.user-photo-crop-stage.is-dragging {
    cursor: grabbing;
}
.user-photo-crop-stage img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    max-height: none;
    transform-origin: top left;
    will-change: transform, width, height;
    pointer-events: none;
}
.user-photo-crop-frame {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    box-shadow: inset 0 0 0 9999px rgba(16, 24, 40, 0.18);
    pointer-events: none;
}
.user-photo-crop-frame::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}
.request-view-summary-card,
.request-view-items-card {
    border: 1px solid #e9edf5;
}
.request-view-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.request-view-metric-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 84px;
    padding: 14px 16px;
    border: 1px solid #edf1f5;
    border-radius: 10px;
    background: #fbfcfe;
}
.request-view-metric-label {
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #667085;
}
.request-view-metric-value {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: #101828;
    word-break: break-word;
}
.request-view-metric-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}
.request-view-info-list {
    display: grid;
    gap: 12px;
}
.request-view-info-row {
    display: grid;
    grid-template-columns: minmax(120px, 148px) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}
.request-view-info-label {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    color: #344054;
}
.request-view-info-value {
    min-width: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #667085;
    word-break: break-word;
}
.request-view-info-row-notes .request-view-info-value {
    white-space: pre-wrap;
}
.request-view-mail-meta {
    min-width: 0;
}
@media (max-width: 991.98px) {
    .users-grid-toolbar {
        align-items: stretch;
    }
    .users-grid-toolbar-actions {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }
    .user-profile-info-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .request-view-metric-grid {
        grid-template-columns: 1fr;
    }
    .request-view-info-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .request-view-mail-meta span {
        text-align: left !important;
    }
}
.equipment-import-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.equipment-import-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}
.equipment-import-controls {
    display: flex;
    align-items: stretch;
    width: 100%;
}
.equipment-import-card .equipment-import-file-field {
    width: 286px !important;
    min-width: 286px !important;
    max-width: 286px !important;
    justify-self: end;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.equipment-import-card .equipment-import-combo {
    position: relative;
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 46px 0 12px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}
.equipment-import-card .equipment-import-file-input {
    position: absolute;
    inset: 0 40px 0 0;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.equipment-import-file-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}
.equipment-import-combo.has-file .equipment-import-file-text {
    color: #344054;
}
.equipment-import-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.equipment-import-error-list {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #fecdca;
    border-radius: 8px;
    background: #fff6f5;
}
.equipment-import-error-title {
    margin-bottom: 8px;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
}
.equipment-import-error-items {
    margin: 0;
    padding-left: 18px;
    color: #912018;
    font-size: 11px;
    line-height: 1.5;
}
.equipment-import-error-items li + li {
    margin-top: 4px;
}
.equipment-demo-btn {
    min-height: 40px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #3b82f6;
    color: #155eef;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.equipment-demo-btn:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.12);
    transform: translateY(-1px);
}
.equipment-demo-btn iconify-icon {
    font-size: 14px;
}
.equipment-import-card .equipment-import-submit {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    transform: none;
    min-height: auto !important;
    min-width: 40px !important;
    width: 40px !important;
    height: auto !important;
    margin: 0;
    padding: 0;
    font-size: 13px;
    border: 0;
    border-left: 1px solid #abefc6;
    border-radius: 0 8px 8px 0;
    flex-shrink: 0;
    z-index: 2;
    background: #ecfdf3;
    color: #17b26a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.equipment-import-card .equipment-import-submit:hover,
.equipment-import-card .equipment-import-submit:focus-visible {
    background: #dcfae6;
    color: #079455;
}
.equipment-import-action-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    transform: translateX(1px);
}
.equipment-create-btn {
    padding: 0 !important;
}
.equipment-catalog-table thead th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    vertical-align: middle;
}
.equipment-catalog-table tbody td {
    vertical-align: middle;
}
.equipment-catalog-table tbody tr:not(.equipment-group-row) td {
    padding-top: 14px;
    padding-bottom: 14px;
}
.equipment-catalog-table tbody tr:not(.equipment-group-row) td:first-child {
    padding-left: 24px;
}
.equipment-catalog-table .selection-group-bar {
    padding: 7px 12px;
}
.equipment-catalog-table .selection-group-title {
    font-size: 9px;
    letter-spacing: 0.16em;
}
.equipment-catalog-table .selection-group-meta {
    font-size: 9px;
}
.equipment-catalog-table .equipment-row-title {
    display: block;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}
.equipment-catalog-table .equipment-row-description {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.4;
}
.equipment-catalog-table .equipment-row-thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px !important;
    flex-shrink: 0;
}
.equipment-stock-table-wrap {
    width: 100%;
    margin: 0;
}
.equipment-header-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
}
.equipment-header-filters {
    width: 100%;
    max-width: 920px;
    margin: 0;
}
.equipment-header-filters > .col-auto {
    display: flex;
    align-items: center;
}
.equipment-header-filters .selection-search-input,
.equipment-header-filters .equipment-filter-dropdown,
.equipment-header-filters .equipment-create-btn,
.equipment-header-filters .equipment-demo-btn {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}
.equipment-header-filters .selection-search-input,
.equipment-header-filters .selection-search-input::placeholder,
.equipment-header-filters .equipment-filter-dropdown,
.equipment-header-filters .equipment-filter-dropdown .equipment-filter-dropdown-label,
.equipment-header-filters .equipment-create-btn,
.equipment-header-filters .equipment-demo-btn {
    font-size: 12px !important;
    font-weight: 500 !important;
}
.equipment-header-filters .selection-search-input {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-inline: 12px !important;
}
.equipment-header-filters .equipment-create-btn {
    width: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
}
.equipment-header-filters .equipment-create-btn iconify-icon,
.equipment-header-filters .equipment-import-submit iconify-icon {
    font-size: 16px !important;
    line-height: 1 !important;
}
.equipment-header-filters .equipment-demo-btn iconify-icon {
    font-size: 14px !important;
}
.equipment-filter-dropdown {
    width: 100%;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 1.2;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-inline: 12px;
    text-align: left;
    background: #ffffff;
    border: 1px solid #d8dee8;
    color: #344054;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.equipment-filter-dropdown .equipment-filter-dropdown-label {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}
.equipment-filter-dropdown.dropdown-toggle::after {
    margin-left: auto;
}
.equipment-filter-dropdown.btn {
    font-size: 12px;
    font-weight: 500;
}
.equipment-filter-dropdown:hover:not(:disabled),
.equipment-filter-dropdown:focus-visible:not(:disabled) {
    background: #3b82f6;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.18);
}
.equipment-filter-dropdown:disabled {
    background: #f8fafc;
    border-color: #e5e7eb;
    color: #98a2b3;
    box-shadow: none;
    opacity: 1;
}
.equipment-header-filters .dropdown-menu {
    border-radius: 6px;
    border-color: #e5e7eb;
    padding: 8px;
}
.equipment-header-filters .dropdown-item {
    font-size: 12px;
    line-height: 1.2;
    padding: 5px 10px !important;
    font-weight: 500;
}
@media (max-width: 991.98px) {
    .equipment-import-layout {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }
    .equipment-import-controls {
        align-items: stretch;
    }
    .equipment-import-combo {
        min-width: 0;
    }
    .equipment-import-file-field {
        width: 100%;
        min-width: 0;
    }
}
.equipment-stock-table.selection-history-table .selection-col-asset {
    min-width: 360px;
    width: 360px;
}
.equipment-stock-table.selection-history-table .selection-col-meta {
    min-width: 140px;
    width: 140px;
}
.equipment-stock-table.selection-history-table .selection-col-origin {
    min-width: 210px;
    width: 210px;
}
.equipment-stock-table.selection-history-table .selection-col-action {
    min-width: 88px;
    width: 88px;
}
.equipment-stock-table .mix-origin-grid {
    margin-top: 0;
}
.selection-summary-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-bottom: 24px;
    align-items: stretch;
}
.selection-summary-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: 14px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}
.selection-summary-label {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.selection-summary-value {
    margin-bottom: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}
.selection-summary-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.selection-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-left: 12px;
    border-inline-start: 3px solid #7c3aed;
}
.selection-summary-item-0 { border-inline-start-color: #7c3aed; }
.selection-summary-item-1 { border-inline-start-color: #f59e0b; }
.selection-summary-item-2 { border-inline-start-color: #10b981; }
.selection-summary-item-3 { border-inline-start-color: #3b82f6; }
.selection-summary-item-title {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}
.selection-summary-item-meta {
    margin-top: 4px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 500;
}
.selection-summary-item-qty {
    color: #111827;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.item-notes-textarea { min-height: 40px; overflow: hidden; resize: none; }
.table-item-title {
    display: block;
    margin-bottom: 3px;
    color: #0f172a;
    font-size: 12px;
    line-height: 1.25;
    text-align: justify;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.table-item-badge-wrap { display: block; padding-left: 2px; line-height: 1; }
.selection-history-table thead th:nth-child(2) {
    text-align: center;
}
.selection-history-table thead th:nth-child(3),
.selection-history-table thead th:nth-child(4),
.selection-history-table thead th:nth-child(5) {
    text-align: center;
}
.selection-history-table tbody td:nth-child(2) {
    text-align: center;
}
.selection-history-table tbody td:nth-child(3),
.selection-history-table tbody td:nth-child(4),
.selection-history-table tbody td:nth-child(5) {
    text-align: center;
}
.selection-history-table tbody td:nth-child(2) .table-item-badge-wrap {
    display: flex;
    justify-content: center;
    padding-left: 0;
}
.page-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.selection-data-table thead th.selection-head-cell {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #fcfcfd;
    border-bottom: 1px solid #eaeef3 !important;
}
.selection-history-table thead th:first-child {
    padding-left: 24px !important;
}
.selection-data-table tbody td {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    vertical-align: middle;
    border-bottom: 1px solid #eef2f6;
    white-space: normal;
    overflow-wrap: anywhere;
}
.selection-history-table tbody tr:not(.selection-group-row) td:first-child {
    padding-left: 24px !important;
}
.selection-history-table .selection-group-row td {
    padding: 10px 16px 6px !important;
    border-bottom: 0 !important;
    background: transparent !important;
}
.selection-group-cell {
    border: 0 !important;
}
.selection-group-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #edf1f5;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(245, 247, 250, 0.92) 100%);
}
.selection-group-copy {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.selection-group-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.04);
}
.selection-group-title {
    color: #334155;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.selection-group-meta {
    flex-shrink: 0;
    color: #64748b;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}
.action-col { text-align: center !important; }
.action-col .remove-item { margin: 0 auto; }
.selection-history-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}
.selection-history-table .selection-col-asset { min-width: 290px; width: 290px; }
.selection-history-table .selection-col-meta { min-width: 160px; }
.selection-history-table .selection-col-quantity { min-width: 106px; width: 106px; }
.selection-history-table .selection-col-origin { min-width: 186px; width: 186px; }
.selection-history-table .selection-col-notes { min-width: 220px; }
.selection-history-table .selection-col-action { min-width: 84px; width: 84px; }
.selection-asset-content {
    min-width: 0;
    max-width: 100%;
}
.selection-asset {
    min-width: 0;
    align-items: flex-start !important;
}
.selection-asset .equipment-thumb {
    width: 40px;
    height: 40px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px dashed #d4d9e3;
    background: #ffffff;
    flex-shrink: 0;
    overflow: hidden;
}
.selection-asset .equipment-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: #ffffff;
}
.selection-history-table .selection-description {
    display: block;
    font-size: 10px;
    color: #6b7280 !important;
    text-align: justify;
    line-height: 1.35;
    height: calc(1.35em * 4);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scrollbar-gutter: auto;
    padding-right: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.selection-history-table .selection-description::-webkit-scrollbar { display: none; width: 0; height: 0; }
.selection-meta-primary {
    color: #111827;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}
.selection-history-table .qty-display-static,
.selection-history-table .mix-qty-display-static {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #344054;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.selection-history-table .origin-chip-group-static {
    pointer-events: none;
}
.selection-history-table .origin-chip-group-single {
    display: flex;
    justify-content: center;
    width: 100%;
}
.selection-history-table .origin-chip-group-single .origin-chip {
    min-width: 68px;
}
.selection-history-table .mix-origin-grid-static {
    max-width: 148px;
    margin-left: auto;
    margin-right: auto;
}
.selection-history-table .item-notes-static {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.selection-meta-secondary {
    margin-top: 4px;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.2;
}
.selection-history-table .item-origin-city,
.selection-history-table .item-notes-textarea,
.selection-history-table .item-mix-mty,
.selection-history-table .item-mix-cdmx {
    border-radius: 10px;
    border-color: #e5e7eb;
    box-shadow: none;
    font-size: 12px;
}
.selection-history-table .item-notes-textarea {
    min-height: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.selection-qty-slot-enter {
    opacity: 0;
    transform: translateY(-4px) scale(0.985);
    transition: opacity .2s ease, transform .2s ease;
}
.selection-qty-slot-enter.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.selection-history-table .item-origin-city,
.selection-history-table .item-notes-textarea,
.selection-history-table .item-mix-mty,
.selection-history-table .item-mix-cdmx {
    width: 100%;
}
.selection-history-table .item-qty-edit {
    min-height: 30px;
    width: min(62px, 100%);
    text-align: center;
    margin: 0 auto;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 11px;
    font-weight: 700;
    border-style: dashed;
    border-radius: 8px;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}
.selection-history-table .item-qty-edit::-webkit-outer-spin-button,
.selection-history-table .item-qty-edit::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-inline-editor {
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-display {
    width: min(62px, 100%);
    min-height: 30px;
    padding: 0 4px;
    border: 1px dashed #d7dde8;
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.origin-chip-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    justify-content: center;
    margin: 0 auto;
}
.origin-chip {
    min-height: 30px;
    padding: 0 4px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0.42;
    transition: opacity .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.origin-chip.is-active {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
    opacity: 1;
}
.mix-qty-inline-editor .qty-display,
.mix-qty-inline-editor .item-mix-mty-edit,
.mix-qty-inline-editor .item-mix-cdmx-edit {
    width: min(72px, 100%);
    margin: 0 auto;
}
.selection-history-table .remove-item {
    width: 34px;
    height: 34px;
}
.selection-mixed-note {
    min-height: 40px;
}
.mix-origin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
}
.mix-origin-grid-enter {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
    margin-top: 0;
    transition: max-height .26s ease, opacity .22s ease, transform .22s ease, margin-top .22s ease;
}
.mix-origin-grid-enter.is-visible {
    max-height: 96px;
    opacity: 1;
    transform: translateY(0) scale(1);
    margin-top: 6px;
}
.mix-origin-grid .form-control { min-width: 0; }
.mix-origin-field {
    position: relative;
    min-width: 0;
    width: 100%;
}
.mix-origin-field .item-mix-mty-edit,
.mix-origin-field .item-mix-cdmx-edit {
    min-height: 40px;
    width: 100%;
    padding-left: 1.45rem;
    padding-right: 0.5rem;
    text-align: center;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}
.mix-origin-field .qty-display {
    width: 100%;
    min-height: 40px;
    padding-left: 1.45rem;
    padding-right: 0.5rem;
    text-align: center;
}
.stock-qty-display.is-readonly {
    cursor: default;
    opacity: 0.9;
    border-style: solid;
}
.mix-origin-field .item-mix-mty-edit::-webkit-outer-spin-button,
.mix-origin-field .item-mix-mty-edit::-webkit-inner-spin-button,
.mix-origin-field .item-mix-cdmx-edit::-webkit-outer-spin-button,
.mix-origin-field .item-mix-cdmx-edit::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.mix-origin-field .mix-origin-icon {
    position: absolute;
    top: 50%;
    left: 8px;
    width: 10px;
    height: calc(100% - 8px);
    transform: translateY(-50%) rotate(180deg);
    z-index: 1;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0.9;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 7px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    pointer-events: none;
}
.mix-origin-field .form-control {
    padding-left: 1.45rem;
    padding-right: 0.5rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}
.equipment-preview-image {
    display: block;
    max-width: min(88vw, 720px);
    max-height: 76vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
}
.category-icon-option {
    min-height: 56px;
    min-width: 56px;
    border-radius: 12px;
    transition: all .2s ease;
    padding: 0;
}
.category-icon-option.active {
    box-shadow: 0 10px 22px rgba(72, 127, 255, 0.16);
}
.category-color-option {
    min-height: 48px;
    border-radius: 12px;
    transition: all .2s ease;
}
.category-color-option.active {
    box-shadow: 0 10px 22px rgba(72, 127, 255, 0.12);
    border-color: #c7d2fe;
}
.category-color-swatch {
    display: inline-flex;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    flex-shrink: 0;
}
.category-color-badge {
    color: var(--category-badge-text, #3b82f6) !important;
    background: var(--category-badge-bg, rgba(59, 130, 246, 0.12)) !important;
    border-color: var(--category-badge-border, rgba(59, 130, 246, 0.24)) !important;
}
.category-color-badge-purple {
    background: #f3e8ff !important;
    border-color: #ddd6fe !important;
    color: #7c3aed !important;
}
.category-color-badge-warning {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
    color: #f59e0b !important;
}
.category-color-badge-success {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    color: #10b981 !important;
}
.category-color-badge-primary {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #3b82f6 !important;
}
.system-flash-toast .alert.alert-danger {
    background-color: rgba(255, 248, 248, 0.98) !important;
}
.system-flash-toast .alert.alert-success {
    background-color: rgba(247, 255, 250, 0.98) !important;
}
.device-guard-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(180deg, rgba(245, 246, 250, 0.98) 0%, rgba(235, 240, 248, 0.99) 100%);
    backdrop-filter: blur(10px);
}
.device-guard-card {
    width: min(100%, 420px);
    padding: 28px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
    text-align: center;
}
.device-guard-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.device-guard-title {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
}
.device-guard-text {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}
.device-guard-meta {
    margin-top: 14px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
html.device-guard-active,
body.device-guard-active {
    overflow: hidden !important;
}
html.device-guard-active .device-guard-overlay,
body.device-guard-active .device-guard-overlay {
    display: flex;
}
html.device-guard-active .sidebar,
html.device-guard-active .dashboard-main,
body.device-guard-active .sidebar,
body.device-guard-active .dashboard-main {
    visibility: hidden;
}
@media (max-width: 1199px) {
    .request-layout { grid-template-columns: 1fr; }
    .sticky-panel { position: static; top: auto; }
    .catalog-items-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .selection-board-layout { grid-template-columns: 1fr; }
    .selection-summary-card { position: static; top: auto; }
}
@media (max-width: 767px) {
    .dashboard-main-body { padding: 18px !important; }
    .navbar-header { padding: 14px 18px !important; }
    .catalog-list { max-height: none; }
    .catalog-items-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-actions { justify-content: stretch; }
    .selection-summary-stats { grid-template-columns: 1fr; }
}
@media print {
    body { background: #fff !important; }
    .no-print { display: none !important; }
    .dashboard-main { margin-left: 0 !important; }
    .dashboard-main-body { padding: 0 !important; }
    .card { border: 1px solid #d8d8d8 !important; box-shadow: none !important; }
    .print-page-break { page-break-before: always; break-before: page; }
}
