html,
body {
    height: 100%;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.5;
    font-feature-settings: normal;
    font-variation-settings: normal;
}

html {
    scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
    html {
        overflow-y: scroll;
    }
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.oms-field-label {
    display: block;
    margin: 0 0 2px;
    font-size: 12.5px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--ocean-text-soft);
}

.oms-field-value {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--ocean-deep);
    overflow-wrap: anywhere;
}

.oms-card-subheading {
    margin: 0 0 var(--oms-space-2);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--ocean-deep);
}

.oms-card-subheading .fas {
    color: var(--ocean-teal);
}

:root {
    --oms-navbar-height: 67px;
    --oms-layout-max-width: 1440px;
    --oms-layout-side-padding: 18px;
    --oms-layout-top-gap: 12px;
    --oms-space-2: 8px;
    --oms-space-3: 12px;
    --oms-space-4: 16px;
    --oms-orders-grid-loading-height: 60vh;
    --ocean-deep: #0A2540;
    --ocean-teal: #0E7A86;
    --ocean-aqua: #33C1D6;
    --ocean-border: #E7EBEE;
    --ocean-input-border: #DCE3E8;
    --ocean-text-muted: #4A5661;
    --ocean-text-soft: #586674;
    --ocean-text-secondary: #3E4A54;
    --ocean-muted: #8B96A0;
    --ocean-page-bg: #F4F6F8;
    --ocean-row-border: #F0F2F4;
    --ocean-thead-bg: #F7F9FA;
    --ocean-chip-bg: #F1F3F5;
    --ocean-teal-tint: #E7F1F3;
    --ocean-teal-soft: #EAF3F4;
    --ocean-teal-ink: #0C6874;
    --ocean-teal-wash: rgba(14, 122, 134, 0.12);
    --ocean-danger: #C74B3E;
    --ocean-danger-bg: #FCECEA;
    --ocean-danger-ink: #7A3730;
    --ocean-amber: #C98A2C;
    --ocean-amber-bg: #FBF2DF;
    --ocean-amber-ink: #7A5B1E;
    --ocean-success: #2A9D77;
    --ocean-success-bg: #E4F3EF;
    --ocean-success-ink: #215C4C;
    --ocean-neutral: #5C6B77;
    --ocean-neutral-bg: #EAEDF0;
    --ocean-neutral-ink: #4A5661;
    --ocean-purple: #5B4CBF;
    --ocean-purple-bg: #EEECF9;
    --ocean-gradient-primary: linear-gradient(90deg, var(--ocean-deep), var(--ocean-teal));
    --ocean-gradient-primary-hover: linear-gradient(90deg, #081D33, #0C6874);
    --ocean-gradient-icon: linear-gradient(135deg, var(--ocean-deep), var(--ocean-teal));
    --ocean-radius-card: 16px;
    --ocean-radius-control: 10px;
    --ocean-radius-btn-sm: 9px;
    --ocean-radius-pager: 8px;
    --ocean-pager-arrow: #C2CAD1;
    --ocean-placeholder: #A6B0B9;
    --ocean-focus-ring: 0 0 0 3px rgba(14, 122, 134, 0.15);
    --ocean-error: #D64545;
    --ocean-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --oms-scrollbar-track: #EDF0F2;
    --oms-scrollbar-thumb: #9AA5AF;
    --oms-scrollbar-thumb-hover: var(--ocean-teal);
}

@media (min-width: 1200px) {
    :root {
        --oms-layout-side-padding: 40px;
        --oms-layout-top-gap: 24px;
    }
}

.table-responsive::-webkit-scrollbar,
.oms-history-feed::-webkit-scrollbar,
.js-name-search-results::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-responsive::-webkit-scrollbar-button,
.oms-history-feed::-webkit-scrollbar-button,
.js-name-search-results::-webkit-scrollbar-button {
    display: none;
}

.table-responsive::-webkit-scrollbar-track,
.oms-history-feed::-webkit-scrollbar-track,
.js-name-search-results::-webkit-scrollbar-track {
    background: var(--oms-scrollbar-track);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb,
.oms-history-feed::-webkit-scrollbar-thumb,
.js-name-search-results::-webkit-scrollbar-thumb {
    background: var(--oms-scrollbar-thumb);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover,
.oms-history-feed::-webkit-scrollbar-thumb:hover,
.js-name-search-results::-webkit-scrollbar-thumb:hover {
    background: var(--oms-scrollbar-thumb-hover);
}

/* Chrome 121+ drops all ::-webkit-scrollbar rules once scrollbar-width/-color is set; keep this exclusive. */
@supports not selector(::-webkit-scrollbar) {
    .table-responsive,
    .oms-history-feed,
    .js-name-search-results {
        scrollbar-width: thin;
        scrollbar-color: var(--oms-scrollbar-thumb) var(--oms-scrollbar-track);
    }
}

body {
    background: var(--ocean-page-bg);
    color: var(--ocean-text-secondary);
}

a {
    color: var(--ocean-teal);
}

a:hover,
a:focus {
    color: var(--ocean-deep);
}

.btn {
    border-radius: var(--ocean-radius-control);
    font-weight: 600;
}

.btn-sm {
    border-radius: var(--ocean-radius-btn-sm);
}

.btn-primary {
    background: var(--ocean-gradient-primary);
    border: 0;
    color: #fff;
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background: var(--ocean-gradient-primary-hover);
    color: #fff;
}

.btn-primary:focus,
.btn-primary:focus-visible {
    box-shadow: var(--ocean-focus-ring);
}

.btn-primary:disabled,
.btn-primary.disabled {
    background: var(--ocean-gradient-primary);
    opacity: 0.55;
}

.btn-success {
    background: var(--ocean-success);
    border-color: var(--ocean-success);
    color: #fff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background: #238A68;
    border-color: #238A68;
    color: #fff;
}

.btn-warning {
    background: var(--ocean-amber);
    border-color: var(--ocean-amber);
    color: #fff;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background: #B67B24;
    border-color: #B67B24;
    color: #fff;
}

.btn-danger {
    background: var(--ocean-danger);
    border-color: var(--ocean-danger);
    color: #fff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background: #B24237;
    border-color: #B24237;
    color: #fff;
}

.btn-light,
.btn-outline-secondary {
    background: #fff;
    border: 1px solid var(--ocean-input-border);
    color: var(--ocean-text-soft);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background: var(--ocean-chip-bg);
    border-color: var(--ocean-input-border);
    color: var(--ocean-deep);
}

.btn-outline-primary {
    background: #fff;
    border: 1px solid var(--ocean-input-border);
    color: var(--ocean-teal);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background: var(--ocean-teal-tint);
    border-color: var(--ocean-input-border);
    color: var(--ocean-teal);
}

.btn-outline-success {
    background: #fff;
    border: 1px solid var(--ocean-input-border);
    color: var(--ocean-success);
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
    background: var(--ocean-success-bg);
    border-color: var(--ocean-input-border);
    color: var(--ocean-success-ink);
}

.btn-outline-danger {
    background: #fff;
    border: 1px solid var(--ocean-input-border);
    color: var(--ocean-danger);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
    background: var(--ocean-danger-bg);
    border-color: var(--ocean-input-border);
    color: var(--ocean-danger-ink);
}

.form-control,
.form-select {
    border-color: var(--ocean-input-border);
    border-radius: var(--ocean-radius-control);
    color: var(--ocean-deep);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ocean-teal);
    box-shadow: var(--ocean-focus-ring);
    color: var(--ocean-deep);
}

.form-control::placeholder {
    color: var(--ocean-placeholder);
}

.form-check-input:checked {
    background-color: var(--ocean-teal);
    border-color: var(--ocean-teal);
}

.form-check-input:focus {
    border-color: var(--ocean-teal);
    box-shadow: var(--ocean-focus-ring);
}

.card {
    border: 1px solid var(--ocean-border);
    border-radius: var(--ocean-radius-card);
    box-shadow: none;
}

.breadcrumb {
    font-size: 13px;
}

.breadcrumb-item a {
    color: var(--ocean-teal);
    text-decoration: none;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
    color: var(--ocean-deep);
}

.breadcrumb-item.active {
    color: var(--ocean-muted);
}

.ts-control {
    border-color: var(--ocean-input-border);
    border-radius: var(--ocean-radius-control);
    color: var(--ocean-deep);
}

.ts-wrapper.focus .ts-control {
    border-color: var(--ocean-teal);
    box-shadow: var(--ocean-focus-ring);
}

.ts-dropdown {
    border-color: var(--ocean-input-border);
    border-radius: var(--ocean-radius-control);
    box-shadow: 0 12px 24px rgba(10, 37, 64, 0.12);
}

.ts-dropdown .option.active {
    background-color: var(--ocean-teal-tint);
    color: var(--ocean-teal);
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
}

.wrap > .container.oms-layout-container {
    max-width: var(--oms-layout-max-width);
    padding: calc(var(--oms-navbar-height) + var(--oms-layout-top-gap)) var(--oms-layout-side-padding) 20px;
}

.footer {
    height: 60px;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: "Font Awesome 5 Free", serif;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\f0de";
}

a.desc:after {
    content: "\f0dd";
}

.sort-numerical a.asc:after {
    content: "\f162";
}

.sort-numerical a.desc:after {
    content: "\f163";
}

.sort-ordinal a.asc:after {
    content: "\f15d";
}

.sort-ordinal a.desc:after {
    content: "\f15e";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav > li > form {
    padding: 8px;
}

@media (max-width: 768px) {
    .nav li > form {
        padding: 3px;
    }
}

.nav > li > form > button:hover {
    text-decoration: none;
}

div.required label:after {
    content: " *";
    color: red;
}

.nav-tabs-custom > .tab-content {
    background: #fff none repeat scroll 0 0;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: 10px;
}

.nav-tabs > .tab-content {
    padding: 10px;
}

.profile-user-img {
    border: 3px solid #d2d6de;
    margin: 0 auto;
    padding: 3px;
    width: 100px;
}

.oms-navbar {
    background: #fff;
    border-bottom: 1px solid var(--ocean-border);
    box-shadow: 0 1px 2px rgba(10, 37, 64, 0.04);
    min-height: var(--oms-navbar-height);
    padding-top: calc(0.5rem + 3px);
}

.oms-navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ocean-deep), var(--ocean-teal), var(--ocean-aqua));
}

.oms-navbar__inner {
    padding-left: var(--oms-layout-side-padding);
    padding-right: var(--oms-layout-side-padding);
}

.oms-brand .oms-brand-mark {
    display: block;
    width: 160px;
    height: 40px;
}

.oms-navbar__tab-icon {
    margin-right: 8px;
    vertical-align: -3px;
}

.oms-navbar__link {
    color: var(--ocean-text-muted) !important;
    border-radius: 8px;
    padding: 0.45rem 0.8rem !important;
    font-weight: 500;
    font-size: 15px;
}

.oms-navbar__link:hover,
.oms-navbar__link:focus {
    color: var(--ocean-deep) !important;
    background: var(--ocean-page-bg);
}

.oms-navbar__link--active {
    color: var(--ocean-teal) !important;
    background: var(--ocean-teal-tint);
}

.oms-navbar__user .oms-navbar__link {
    color: var(--ocean-deep) !important;
    font-weight: 600;
}

.oms-navbar .navbar-collapse {
    justify-content: space-between;
}

.oms-navbar__main {
    margin: 0 auto;
}

.oms-navbar__main .nav-item {
    margin: 0 8px;
}

.oms-main-tabs .tab-content {
    display: none;
}

.oms-main-tabs .nav-tabs,
.oms-main-tabs .nav-pills {
    border: 0;
    margin-bottom: 0;
}

.oms-main-tabs .nav-link {
    border: 0 !important;
    border-radius: var(--ocean-radius-control) !important;
    padding: 0.55rem 1rem !important;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ocean-text-soft) !important;
    background: transparent;
}

.oms-main-tabs .nav-link:hover,
.oms-main-tabs .nav-link:focus {
    color: var(--ocean-deep) !important;
    background: var(--ocean-page-bg);
}

.oms-main-tabs .nav-link.active,
.oms-main-tabs .nav-item.active .nav-link,
.oms-main-tabs .nav-item.show .nav-link {
    color: var(--ocean-teal) !important;
    background: var(--ocean-teal-tint) !important;
    box-shadow: none;
    border-radius: var(--ocean-radius-control) !important;
}

@media (min-width: 992px) {
    .oms-navbar__user {
        align-items: center;
    }
}

.oms-navbar__marks {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 0.5rem;
}

.oms-navbar__mark {
    display: block;
    width: auto;
    height: 28px;
}

@media (max-width: 1199.98px) {
    .oms-navbar__mark {
        height: 22px;
    }
}

@media (max-width: 991.98px) {
    .oms-navbar__marks {
        order: 1;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 10px;
        padding: 12px 0.5rem 0;
        border-top: 1px solid var(--ocean-border);
    }

    .oms-navbar__mark {
        height: 26px;
    }
}

.oms-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.oms-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ocean-teal-soft);
    color: var(--ocean-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.oms-avatar {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.oms-avatar--teal {
    background: var(--ocean-teal-tint);
    color: var(--ocean-teal-ink);
}

.oms-avatar--purple {
    background: var(--ocean-purple-bg);
    color: var(--ocean-purple);
}

.oms-avatar--green {
    background: var(--ocean-success-bg);
    color: var(--ocean-success-ink);
}

.oms-avatar--amber {
    background: var(--ocean-amber-bg);
    color: var(--ocean-amber-ink);
}

.oms-avatar--slate {
    background: var(--ocean-neutral-bg);
    color: var(--ocean-neutral-ink);
}

.oms-user-name {
    color: var(--ocean-deep);
    font-weight: 600;
    font-size: 0.92rem;
}

.oms-notif {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.oms-notif__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: var(--ocean-radius-control);
    background: transparent;
    color: var(--ocean-text-muted);
    font-size: 18px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.oms-notif__toggle:hover,
.oms-notif__toggle.show {
    background: var(--ocean-page-bg);
    color: var(--ocean-deep);
}

.oms-notif__toggle:focus-visible {
    outline: 0;
    box-shadow: var(--ocean-focus-ring);
}

.oms-notif__badge {
    position: absolute;
    top: 3px;
    left: calc(50% + 1px);
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--ocean-teal);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 14px;
    text-align: center;
}

.oms-navbar .oms-notif__menu {
    top: 100%;
    right: var(--oms-layout-side-padding);
    left: auto;
    width: 360px;
    max-width: calc(100% - 2 * var(--oms-layout-side-padding));
    margin-top: 6px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ocean-input-border);
    border-radius: var(--ocean-radius-control);
    box-shadow: 0 12px 24px rgba(10, 37, 64, 0.12);
}

.oms-notif__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ocean-border);
}

.oms-notif__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ocean-deep);
}

.oms-notif__mark-all {
    padding: 2px 4px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ocean-teal);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.oms-notif__mark-all:hover {
    color: var(--ocean-deep);
    text-decoration: underline;
}

.oms-notif__mark-all:focus-visible {
    outline: 0;
    box-shadow: var(--ocean-focus-ring);
}

.oms-notif__mark-all[aria-disabled="true"] {
    color: var(--ocean-muted);
    text-decoration: none;
    cursor: default;
}

.oms-notif__body {
    max-height: min(440px, calc(100vh - var(--oms-navbar-height) - 90px));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.oms-notif__error {
    margin: 0;
    padding: 10px 16px;
    background: var(--ocean-danger-bg);
    color: var(--ocean-danger-ink);
    font-size: 13px;
}

.oms-notif__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    color: var(--ocean-text-soft);
    font-size: 13.5px;
}

.oms-notif-list > li + li {
    border-top: 1px solid var(--ocean-row-border);
}

.oms-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    white-space: normal;
    color: var(--ocean-text-secondary);
}

.oms-notif-item:hover,
.oms-notif-item:focus,
.oms-notif-item:active {
    background: var(--ocean-page-bg);
    color: var(--ocean-text-secondary);
}

.oms-notif-item:focus-visible {
    outline: 0;
    box-shadow: inset 0 0 0 2px rgba(14, 122, 134, 0.45);
}

.oms-notif-item--unread {
    background: var(--ocean-teal-soft);
}

.oms-notif-item--unread:hover,
.oms-notif-item--unread:focus,
.oms-notif-item--unread:active {
    background: var(--ocean-teal-wash);
}

.oms-notif-item__dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 999px;
}

.oms-notif-item--unread .oms-notif-item__dot {
    background: var(--ocean-teal);
}

.oms-notif-item__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.oms-notif-item__text {
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--ocean-deep);
}

.oms-notif-item__order {
    white-space: nowrap;
}

.oms-notif-item__snippet {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ocean-text-soft);
    overflow-wrap: anywhere;
}

.oms-notif-item__time {
    font-size: 12px;
    color: var(--ocean-text-soft);
}

.oms-notif-list__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 16px;
    color: var(--ocean-text-soft);
    font-size: 13.5px;
    text-align: center;
}

.oms-notif-list__empty-icon {
    font-size: 22px;
    color: var(--ocean-muted);
}

@media (max-width: 991.98px) {
    .oms-notif {
        order: 1;
        margin-right: 12px;
        margin-left: auto;
    }

    .oms-navbar .navbar-toggler {
        order: 2;
    }

    .oms-navbar .navbar-collapse {
        order: 3;
    }
}

@media (max-width: 767.98px) {
    .oms-navbar .oms-notif__menu {
        left: var(--oms-layout-side-padding);
        width: auto;
        max-width: none;
    }
}

body.oms-auth-body {
    background: var(--ocean-page-bg);
}

.auth-login {
    max-width: 1228px;
    margin: 0 auto;
    padding: 44px 24px 24px;
}

.auth-login__card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background: #fff;
    border: 1px solid var(--ocean-border);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.10);
    overflow: hidden;
}

.auth-login__intro {
    position: relative;
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #0A2540 0%, #0E5F72 55%, #1B9BAA 100%);
    overflow: hidden;
}

.auth-login__intro-art {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
}

.auth-login__eyebrow {
    position: relative;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 22px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #CFEFF3;
    font-family: var(--ocean-font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
}

.auth-login__title {
    position: relative;
    margin: 0 0 12px;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.auth-login__subtitle {
    position: relative;
    margin: 0 0 32px;
    color: #C7DDE2;
    font-size: 15.5px;
    line-height: 1.5;
}

.auth-login__benefits {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-login__benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #E7F1F2;
    font-size: 15px;
}

.auth-login__benefits svg {
    flex-shrink: 0;
}

.auth-login__form-wrap {
    padding: 56px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.auth-login__form .form-group {
    margin-bottom: 12px;
}

.auth-login__form label {
    display: block;
    color: var(--ocean-deep);
    font-weight: 600;
    font-size: 14.5px;
    margin-bottom: 9px;
}

.auth-login__form .required label:after {
    color: var(--ocean-error);
}

.auth-login__input {
    height: auto;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--ocean-input-border);
    color: var(--ocean-deep);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-login__input::placeholder {
    color: var(--ocean-placeholder);
}

.auth-login__input:-webkit-autofill,
.auth-login__input:-webkit-autofill:hover,
.auth-login__input:-webkit-autofill:focus,
.auth-login__input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--ocean-deep);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    caret-color: var(--ocean-deep);
}

.auth-login__input:focus {
    border-color: var(--ocean-teal);
    box-shadow: 0 0 0 3px rgba(14, 122, 134, 0.15);
}

.auth-login__meta {
    margin-top: 6px;
}

.auth-login__meta .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 1.5rem;
    margin-bottom: 0;
    padding-left: 0;
}

.auth-login__meta .form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

.auth-login__meta .form-check-input:checked {
    background-color: var(--ocean-teal);
    border-color: var(--ocean-teal);
}

.auth-login__meta .form-check-input:focus {
    border-color: var(--ocean-teal);
    box-shadow: 0 0 0 3px rgba(14, 122, 134, 0.15);
}

.auth-login__meta .form-check-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--ocean-deep);
    line-height: 1.3;
}

.auth-login__reset {
    margin: 14px 0 26px;
    color: var(--ocean-text-soft);
    font-size: 14.5px;
}

.auth-login__link {
    color: var(--ocean-teal);
    text-decoration: underline;
}

.auth-login__link:hover,
.auth-login__link:focus {
    color: var(--ocean-deep);
    text-decoration: underline;
}

.auth-login__actions {
    margin-bottom: 0;
}

.auth-login__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--ocean-deep), var(--ocean-teal));
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 8px 20px rgba(14, 122, 134, 0.28);
}

.auth-login__submit:hover,
.auth-login__submit:focus {
    background: linear-gradient(90deg, #081D33, #0C6874);
    color: #fff;
    box-shadow: 0 8px 20px rgba(14, 122, 134, 0.35);
}

.auth-login__form .form-group .help-block {
    min-height: 20px;
    margin: 4px 0 0;
    padding: 0;
    font-size: 12.5px;
    line-height: 20px;
    color: transparent;
    transition: color 0.2s ease;
}

.auth-login__form .form-group.has-error .help-block {
    color: var(--ocean-error);
    animation: auth-error-fade-in 0.25s ease both;
}

.auth-login__form .form-group.has-error .help-block::before {
    content: "\f06a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
    font-size: 11px;
}

.auth-login__form .form-group.has-error .auth-login__input {
    border-color: var(--ocean-error);
    box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.15);
}

.auth-login__form .form-group.has-error label {
    color: var(--ocean-error);
}

.auth-login__form .form-group.has-error .auth-login__input:focus {
    border-color: var(--ocean-teal);
    box-shadow: 0 0 0 3px rgba(14, 122, 134, 0.15);
}

@media (max-width: 992px) {
    .auth-login {
        padding: 24px 16px 16px;
    }

    .auth-login__card {
        grid-template-columns: 1fr;
    }

    .auth-login__intro,
    .auth-login__form-wrap {
        padding: 32px 24px;
    }

    .auth-login__title {
        font-size: 32px;
    }
}

.oms-dashboard {
    min-height: calc(100vh - 160px);
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    border-radius: 0;
}

.oms-page {
    padding-top: 0;
    padding-bottom: 1.75rem;
}

.oms-page-header__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--ocean-gradient-icon);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.oms-dashboard h1,
.oms-page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ocean-deep);
}

.oms-page-subtitle {
    color: var(--ocean-muted) !important;
    font-size: 15px;
}

.oms-filters-card .card {
    box-shadow: none !important;
}

.oms-filters-card .form-group {
    min-width: 220px;
}

.oms-filters-card__reset {
    color: var(--ocean-text-soft);
    text-decoration: none;
}

.oms-filters-card__reset:hover,
.oms-filters-card__reset:focus {
    color: var(--ocean-deep);
    text-decoration: none;
}

.oms-kpi-card {
    border: 0;
    border-radius: var(--ocean-radius-card);
    box-shadow: none;
}

.oms-kpi-card .card-body {
    padding: 22px 24px;
}

.oms-kpi-card__label {
    font-size: 14.5px;
    line-height: 1.25rem;
    font-weight: 600;
}

.oms-kpi-card__value {
    color: var(--ocean-deep);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    height: 34px;
    display: flex;
    align-items: flex-end;
    margin-top: 22px;
}

.oms-dashboard-kpi-skeleton {
    display: inline-block;
    width: 4.25rem;
    height: 34px;
    line-height: 1;
    flex: 0 0 auto;
}

.oms-dashboard-kpi-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.oms-kpi-card__value .js-dashboard-kpi-value {
    line-height: 1;
}

.oms-dashboard-table__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    line-height: 1;
}

.oms-dashboard-table__value-link {
    color: var(--ocean-teal);
    font-weight: 700;
    text-decoration: none;
}

.oms-dashboard-table__value-link:hover,
.oms-dashboard-table__value-link:focus {
    color: var(--ocean-deep);
    text-decoration: underline;
}

.oms-dashboard-table__value-empty {
    color: var(--ocean-muted);
    font-weight: 600;
}

.js-dashboard-table-skeleton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 1rem;
}

.oms-dashboard-table__placeholder {
    width: 24px;
}

.oms-kpi-card__badge {
    width: 34px;
    height: 34px;
    border-radius: var(--ocean-radius-btn-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
}

.oms-kpi-card--blue {
    background: var(--ocean-teal-soft);
}

.oms-kpi-card--blue .oms-kpi-card__label {
    color: #3E5359;
}

.oms-kpi-card--blue .oms-kpi-card__badge {
    background: var(--ocean-teal);
}

.oms-kpi-card--red {
    background: var(--ocean-danger-bg);
}

.oms-kpi-card--red .oms-kpi-card__label {
    color: var(--ocean-danger-ink);
}

.oms-kpi-card--red .oms-kpi-card__badge {
    background: var(--ocean-danger);
}

.oms-kpi-card--amber {
    background: var(--ocean-amber-bg);
}

.oms-kpi-card--amber .oms-kpi-card__label {
    color: var(--ocean-amber-ink);
}

.oms-kpi-card--amber .oms-kpi-card__badge {
    background: var(--ocean-amber);
}

.oms-kpi-card--green {
    background: var(--ocean-success-bg);
}

.oms-kpi-card--green .oms-kpi-card__label {
    color: var(--ocean-success-ink);
}

.oms-kpi-card--green .oms-kpi-card__badge {
    background: var(--ocean-success);
}

.oms-kpi-card--gray {
    background: var(--ocean-neutral-bg);
}

.oms-kpi-card--gray .oms-kpi-card__label {
    color: var(--ocean-neutral-ink);
}

.oms-kpi-card--gray .oms-kpi-card__badge {
    background: var(--ocean-neutral);
}

.oms-dashboard__table-block .card {
    overflow: hidden;
}

.oms-dashboard__table-block > h2 {
    color: var(--ocean-deep);
    font-weight: 700;
    font-size: 21px;
}

.oms-dashboard-table {
    margin-bottom: 0;
    table-layout: fixed;
    min-width: 1100px;
}

.oms-dashboard-table__col-status {
    width: 220px;
}

.oms-dashboard-table__col-metric {
    width: 98px;
}

.oms-dashboard-table thead th {
    background: var(--ocean-thead-bg);
    color: var(--ocean-muted);
    font-size: 0.75rem;
    line-height: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
}

.oms-dashboard-table td,
.oms-dashboard-table th {
    vertical-align: middle;
    padding: 0.7rem 0.6rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-color: var(--ocean-row-border);
}

.oms-dashboard-table tbody th,
.oms-dashboard-table tbody td:first-child {
    color: var(--ocean-deep);
    font-weight: 700;
    font-size: 14.5px;
}

.oms-dashboard-table tbody tr:hover {
    background: rgba(247, 249, 250, 0.65);
}

.oms-dashboard-table__status-head {
    min-width: 220px;
}

thead th.oms-dashboard-table__within {
    color: var(--ocean-success);
    font-weight: 700;
}

thead th.oms-dashboard-table__exceeds {
    color: var(--ocean-danger);
    font-weight: 700;
}

.oms-dashboard-table__row-alert {
    background: rgba(252, 236, 234, 0.4);
}

.oms-dashboard-table__row-voided {
    --bs-table-bg: rgba(252, 236, 234, 0.6);
    background: rgba(252, 236, 234, 0.6);
}

.oms-dashboard-table tbody tr.oms-dashboard-table__row-voided:hover {
    --bs-table-bg: rgba(252, 236, 234, 0.8);
    background: rgba(252, 236, 234, 0.8);
}

.oms-dashboard-table__status-voided {
    color: var(--ocean-danger) !important;
    font-weight: 700;
}

.oms-dashboard-table__row-voided td.text-muted {
    color: var(--ocean-pager-arrow) !important;
}

.oms-dashboard-table__row-voided .oms-dashboard-table__value-link {
    color: var(--ocean-danger);
}

.oms-dashboard-table__row-voided .oms-dashboard-table__value-link:hover,
.oms-dashboard-table__row-voided .oms-dashboard-table__value-link:focus {
    color: var(--ocean-danger-ink);
}

.oms-link {
    color: var(--ocean-teal);
    font-weight: 600;
    text-decoration: none;
}

.oms-link:hover,
.oms-link:focus {
    color: var(--ocean-deep);
    text-decoration: underline;
}

.oms-link--danger {
    color: var(--ocean-danger);
}

.oms-link--danger:hover,
.oms-link--danger:focus {
    color: var(--ocean-danger-ink);
}

thead th.oms-dashboard-table__head--vip {
    background: var(--ocean-amber-bg);
    color: var(--ocean-amber-ink);
    font-family: var(--ocean-font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
}

thead th.oms-dashboard-table__head--other {
    background: var(--ocean-chip-bg);
    color: var(--ocean-text-soft);
    font-family: var(--ocean-font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
}

thead th.oms-dashboard-table__head--all {
    background: var(--ocean-teal-tint);
    color: var(--ocean-teal);
    font-family: var(--ocean-font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
}

.oms-orders-page .card {
    overflow: hidden;
}

.oms-orders-toolbar .form-group {
    min-width: 200px;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

.oms-orders-toolbar__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

@media (min-width: 1200px) {
    .oms-orders-toolbar__grid {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr 0.8fr 0.8fr;
        align-items: stretch;
    }

    .oms-orders-toolbar__grid .form-group {
        min-width: 0;
    }
}

.oms-orders-toolbar .form-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-left: 0;
}

.oms-orders-toolbar .form-check-input {
    float: none;
    margin-left: 0;
    flex-shrink: 0;
}

.oms-orders-toolbar .card {
    box-shadow: none !important;
    background: #ffffff;
    overflow: visible;
}

.oms-orders-toolbar__title {
    color: var(--ocean-deep);
    font-size: 15px;
    font-weight: 700;
}

.oms-orders-toolbar__title .fas {
    color: var(--ocean-teal);
}

.oms-orders-toolbar__field {
    flex: 1 1 170px;
    min-width: 0;
}

.oms-orders-toolbar__field--search {
    flex: 1.9 1 360px;
}

.oms-input-icon {
    position: relative;
}

.oms-input-icon .fas {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: var(--ocean-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.oms-input-icon .form-control {
    padding-left: 36px;
}

.oms-orders-toolbar .form-control {
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: var(--ocean-radius-control);
    font-size: 14.5px;
    line-height: 1.25rem;
    border-color: var(--ocean-input-border);
    background: #fff;
}

.oms-orders-toolbar .btn {
    border-radius: var(--ocean-radius-control);
    font-size: 14.5px;
    line-height: 1.25rem;
    font-weight: 700;
}

.oms-orders-toolbar .btn-link {
    height: auto;
    color: var(--ocean-text-soft);
    text-decoration: none;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
}

.oms-orders-toolbar .btn-link:hover,
.oms-orders-toolbar .btn-link:focus {
    color: var(--ocean-deep);
}

.oms-orders-toolbar [data-orders-reset="1"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 11px 18px;
    background: #fff;
    border: 1px solid var(--ocean-input-border);
    color: var(--ocean-text-soft);
}

.oms-orders-toolbar [data-orders-reset="1"]:hover,
.oms-orders-toolbar [data-orders-reset="1"]:focus {
    background: var(--ocean-chip-bg);
    color: var(--ocean-deep);
}

.oms-orders-toolbar [data-orders-apply="1"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 11px 20px;
    background: var(--ocean-gradient-primary);
    border: 0;
    color: #fff;
}

.oms-orders-toolbar [data-orders-apply="1"]:hover,
.oms-orders-toolbar [data-orders-apply="1"]:focus {
    background: var(--ocean-gradient-primary-hover);
    color: #fff;
}

.oms-orders-toolbar [data-orders-apply="1"]:disabled,
.oms-orders-toolbar [data-orders-apply="1"][aria-disabled="true"] {
    background: var(--ocean-gradient-primary);
    color: #fff;
    opacity: 0.55;
    cursor: not-allowed;
}

.oms-orders-toolbar .form-check-input {
    margin-top: 0;
    width: 17px;
    height: 17px;
}

.oms-orders-toolbar .form-check-label {
    color: var(--ocean-deep);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.25rem;
}

.oms-orders-pager-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.oms-orders-pager-size {
    display: inline-flex;
    align-items: center;
}

.oms-orders-page-size-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.oms-orders-page-size-form .form-control {
    height: 34px;
    border-radius: var(--ocean-radius-pager);
    width: fit-content;
    min-width: 0;
    font-size: 0.8125rem;
    border-color: var(--ocean-input-border);
}

#orders-page-size {
    text-align: center;
}

.oms-orders-pager-nav .pagination {
    justify-content: center;
    gap: 6px;
}

.oms-orders-pager-nav .page-item .page-link {
    color: var(--ocean-text-soft);
    background: #fff;
    border-color: var(--ocean-input-border);
    border-radius: var(--ocean-radius-pager) !important;
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 34px;
    height: 34px;
    padding: 0 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    box-shadow: none;
}

.oms-orders-pager-nav .page-item .page-link:hover,
.oms-orders-pager-nav .page-item .page-link:focus {
    background: var(--ocean-chip-bg);
    border-color: var(--ocean-input-border);
    color: var(--ocean-deep);
    box-shadow: none;
}

.oms-orders-pager-nav .page-item.active .page-link {
    background: var(--ocean-teal);
    border-color: var(--ocean-teal);
    color: #fff;
    font-weight: 700;
}

.oms-orders-pager-nav .page-item.disabled .page-link {
    color: var(--ocean-pager-arrow);
    background: #fff;
    border-color: var(--ocean-input-border);
    opacity: 1;
    pointer-events: none;
}

.oms-toolbar-reset {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 6px;
    line-height: 1;
}

.oms-toolbar-reset:hover,
.oms-toolbar-reset:focus {
    background: var(--ocean-chip-bg);
    text-decoration: none;
}

.oms-toolbar-reset .fas {
    font-size: 0.85rem;
}

.oms-order-list-table {
    table-layout: fixed;
    min-width: 1100px;
}

.oms-order-list-table thead th:nth-child(1) { width: 13.5%; } /* Order # */
.oms-order-list-table thead th:nth-child(2) { width: 15%; }   /* Customer */
.oms-order-list-table thead th:nth-child(3) { width: 8.5%; }  /* Company */
.oms-order-list-table thead th:nth-child(4) { width: 10%; }   /* Order Date */
.oms-order-list-table thead th:nth-child(5) { width: 10%; }   /* Amount */
.oms-order-list-table thead th:nth-child(6) { width: 15.5%; } /* Status */
.oms-order-list-table thead th:nth-child(7) { width: 12%; }   /* Responsibility */
.oms-order-list-table thead th:nth-child(8) { width: 5.5%; }  /* SLA */
.oms-order-list-table thead th:nth-child(9) { width: 10%; }   /* Actions */

.oms-order-list-table thead th {
    background: var(--ocean-thead-bg);
    color: var(--ocean-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    border-top: 0;
    border-bottom: 1px solid var(--ocean-border);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.oms-order-list-table thead th a {
    color: inherit;
    text-decoration: none;
}

.oms-order-list-table thead th > a {
    display: inline-block;
    position: relative;
    padding-right: 14px;
    white-space: nowrap;
}

.oms-order-list-table thead th > a.asc:after,
.oms-order-list-table thead th > a.desc:after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-45%);
    padding-left: 0;
}

.oms-order-list-table thead th a:hover,
.oms-order-list-table thead th a:focus {
    color: var(--ocean-deep);
    text-decoration: none;
}

.oms-order-list-table td,
.oms-order-list-table th {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.oms-order-list-table td {
    color: var(--ocean-text-secondary);
    font-size: 14.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oms-order-list-table td:nth-child(8),
.oms-order-list-table td:nth-child(9) {
    text-overflow: clip;
}

.oms-order-list-table .oms-order-customer-name {
    color: var(--ocean-deep);
    font-weight: 700;
}

.oms-order-list-table .oms-order-customer-email {
    color: var(--ocean-muted);
    font-size: 13px;
}

.oms-order-list-table td.oms-order-col-number,
.oms-order-list-table td.oms-order-col-customer,
.oms-order-list-table td.oms-order-col-company {
    white-space: normal;
}

.oms-order-list-table .oms-order-customer-name,
.oms-order-list-table .oms-order-customer-email,
.oms-order-list-table .oms-order-company-name {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.oms-order-list-table.placeholder-glow td {
    white-space: normal;
    overflow: visible;
}

.oms-order-list-table tbody tr {
    border-bottom: 1px solid var(--ocean-row-border);
}

.oms-order-list-table tbody tr:hover {
    background: rgba(247, 249, 250, 0.8);
}

.oms-view-btn {
    background: #fff;
    border: 1px solid var(--ocean-input-border);
    border-radius: var(--ocean-radius-btn-sm);
    color: var(--ocean-deep);
    font-size: 13.5px;
    font-weight: 700;
    padding: 7px 15px;
}

.oms-view-btn:hover,
.oms-view-btn:focus {
    background: var(--ocean-chip-bg);
    border-color: var(--ocean-input-border);
    color: var(--ocean-deep);
}

.font-weight-semibold {
    font-weight: 600;
}

.oms-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 700;
    border: 1px solid transparent;
}

.oms-badge--warning {
    background: var(--ocean-amber-bg);
    color: var(--ocean-amber-ink);
}

.oms-badge--success {
    background: var(--ocean-success-bg);
    color: var(--ocean-success-ink);
}

.oms-badge--green {
    background: var(--ocean-success-bg);
    color: var(--ocean-success);
}

.oms-badge--blue {
    background: var(--ocean-teal-tint);
    color: var(--ocean-teal);
}

.oms-badge--danger {
    background: var(--ocean-danger-bg);
    color: var(--ocean-danger-ink);
}

.oms-badge--info {
    background: var(--ocean-teal-tint);
    color: var(--ocean-teal);
}

.oms-badge--teal {
    background: var(--ocean-teal-tint);
    color: var(--ocean-teal);
}

.oms-badge--muted {
    background: var(--ocean-neutral-bg);
    color: var(--ocean-neutral-ink);
}

.oms-badge--danger-soft {
    background: var(--ocean-danger-bg);
    color: var(--ocean-danger);
}

.oms-badge--purple {
    background: var(--ocean-purple-bg);
    color: var(--ocean-purple);
}

.oms-badge--olive {
    background: #EAF3EC;
    color: #3F6E42;
}

.oms-badge--vip {
    background: var(--ocean-amber-bg);
    color: var(--ocean-amber-ink);
    border: 0;
}

.oms-sla-total-indicator {
    color: var(--ocean-purple);
}

.oms-order-details-page .card {
    overflow: hidden;
}

.oms-order-tab-content-wrap > div > .card > .card-header,
.oms-order-sidebar > .card > .card-header,
.oms-order-sidebar > div > .card > .card-header {
    padding: 14px 16px 0;
}

.oms-order-tab-content-wrap > div > .card > .card-body,
.oms-order-sidebar > .card > .card-body,
.oms-order-sidebar > div > .card > .card-body {
    padding: 10px 16px 14px;
}

.oms-order-details-header {
    margin-bottom: var(--oms-space-3);
}

.oms-order-details-page .oms-order-details-header .card-body {
    padding-top: 10px;
    padding-bottom: 10px;
}

.oms-order-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--oms-space-3);
}

.oms-order-details-header h1 {
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--ocean-deep);
}

.oms-order-back {
    width: 36px;
    height: 36px;
    border-radius: var(--ocean-radius-control);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: var(--ocean-chip-bg);
    color: var(--ocean-deep);
    text-decoration: none;
}

.oms-order-back:hover,
.oms-order-back:focus {
    background: var(--ocean-border);
    color: var(--ocean-deep);
    text-decoration: none;
}

.oms-order-details-header__title {
    flex: 1 1 0;
    min-width: 0;
}

.oms-order-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.oms-order-meta__item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.oms-order-meta__item + .oms-order-meta__item {
    padding-left: 14px;
    border-left: 1px solid var(--ocean-border);
}

.oms-order-meta__icon {
    font-size: 15px;
    color: var(--ocean-muted);
}

.oms-order-meta__label {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    color: var(--ocean-text-soft);
}

.oms-order-meta__value {
    display: block;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--ocean-deep);
}

.oms-order-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    scroll-margin-top: calc(var(--oms-navbar-height) + var(--oms-space-3));
}

.oms-order-tab {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: var(--ocean-radius-control);
    color: var(--ocean-muted);
    font-size: 14.5px;
    line-height: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.oms-order-tab__icon {
    font-size: 13px;
    color: var(--ocean-muted);
    transition: color 0.2s ease;
}

.oms-order-tab__badge {
    justify-content: center;
    min-width: 20px;
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1.2;
    background: var(--ocean-teal);
    color: #fff;
}

.oms-order-tab:hover,
.oms-order-tab:focus {
    background: var(--ocean-chip-bg);
    color: var(--ocean-deep);
    text-decoration: none;
}

.oms-order-tab:hover .oms-order-tab__icon,
.oms-order-tab:focus .oms-order-tab__icon {
    color: var(--ocean-deep);
}

.oms-order-tab:focus-visible {
    outline: 0;
    box-shadow: var(--ocean-focus-ring);
}

.oms-order-tab--active,
.oms-order-tab--active:hover,
.oms-order-tab--active:focus {
    background: var(--ocean-teal-tint);
    color: var(--ocean-teal);
}

.oms-order-tab--active .oms-order-tab__icon,
.oms-order-tab--active:hover .oms-order-tab__icon,
.oms-order-tab--active:focus .oms-order-tab__icon {
    color: var(--ocean-teal);
}

.oms-order-tab--active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 3px;
    border-radius: 3px;
    background: var(--ocean-teal);
}

.oms-order-details-page .card-header h2 {
    color: var(--ocean-deep);
    font-size: 1.02rem;
    line-height: 1.2;
    font-weight: 700;
}

.oms-order-details-page .card-header h2 .fas,
.oms-order-details-page .card-header h2 .far {
    color: var(--ocean-teal);
}

.oms-order-actions .js-order-actions-list {
    display: flex;
    flex-direction: column;
    gap: var(--oms-space-2);
}

.oms-order-actions__group {
    display: flex;
    flex-direction: column;
    gap: var(--oms-space-2);
}

.oms-order-actions__group--hero {
    gap: var(--oms-space-3);
}

.oms-order-actions__group--secondary {
    gap: 6px;
}

.oms-order-actions__group--hero .js-order-action-form {
    padding: var(--oms-space-3);
    background: var(--ocean-thead-bg);
    border: 1px solid var(--ocean-border);
    border-radius: var(--ocean-radius-control);
}

.oms-order-actions__divider {
    border-top: 1px solid var(--ocean-border);
    margin: var(--oms-space-2) 0;
}

.oms-order-actions__divider:first-child {
    display: none;
}

.oms-order-actions .oms-order-action {
    border-radius: var(--ocean-radius-control);
}

.oms-order-actions .oms-order-action--hero {
    padding: 13px 14px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(10, 37, 64, 0.16);
}

.oms-order-actions .oms-order-action--hero:disabled,
.oms-order-actions .oms-order-action--hero.disabled {
    box-shadow: none;
}

.oms-order-actions .oms-order-action--primary {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 700;
}

.oms-order-actions .oms-order-action--secondary,
.oms-order-actions .oms-order-action--destructive {
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: var(--ocean-radius-btn-sm);
}

.js-order-items-table .js-delete-line-btn {
    border: 0;
    background: transparent;
    color: var(--ocean-danger);
}

.js-order-items-table .js-delete-line-btn:hover,
.js-order-items-table .js-delete-line-btn:focus {
    background: var(--ocean-danger-bg);
    color: var(--ocean-danger-ink);
}

.placeholder {
    background-color: var(--ocean-border);
}

.oms-narrow-card {
    max-width: 520px;
}

.oms-profile-page .nav-tabs {
    border-bottom: 0;
    gap: 6px;
}

.oms-profile-page .nav-tabs .nav-item {
    margin-bottom: 0;
}

.oms-profile-page .nav-tabs .nav-link {
    border: 0;
    border-radius: var(--ocean-radius-control);
    color: var(--ocean-muted);
    font-weight: 700;
    font-size: 14.5px;
    padding: 11px 20px;
}

.oms-profile-page .nav-tabs .nav-link:hover,
.oms-profile-page .nav-tabs .nav-link:focus {
    color: var(--ocean-deep);
    border: 0;
}

.oms-profile-page .nav-tabs .nav-link.active {
    background: var(--ocean-chip-bg);
    color: var(--ocean-deep);
    border: 0;
}

.oms-profile-page .nav-tabs > .tab-content {
    padding: 1.25rem 0.25rem 0.25rem;
}

.oms-profile-page .form-group {
    margin-bottom: 12px;
}

.oms-profile-page .form-group label {
    display: block;
    color: var(--ocean-deep);
    font-weight: 600;
    font-size: 14.5px;
    margin-bottom: 9px;
}

.oms-profile-page .required label:after {
    color: var(--ocean-error);
}

.oms-profile-page .form-group .help-block {
    min-height: 20px;
    margin: 4px 0 0;
    padding: 0;
    font-size: 12.5px;
    line-height: 20px;
    color: transparent;
    transition: color 0.2s ease;
}

.oms-profile-page .form-group.has-error .help-block {
    color: var(--ocean-error);
    animation: auth-error-fade-in 0.25s ease both;
}

.oms-profile-page .form-group.has-error .help-block::before {
    content: "\f06a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
    font-size: 11px;
}

.oms-profile-page .form-group.has-error .form-control {
    border-color: var(--ocean-error);
    box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.15);
}

.oms-profile-page .form-group.has-error label {
    color: var(--ocean-error);
}

.oms-profile-page .form-group.has-error .form-control:focus {
    border-color: var(--ocean-teal);
    box-shadow: 0 0 0 3px rgba(14, 122, 134, 0.15);
}

.js-avatar-crop-image {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
}

.oms-profile-page .invalid-feedback {
    font-size: 12.5px;
    line-height: 20px;
    color: var(--ocean-error);
}

.oms-profile-page .invalid-feedback::before {
    content: "\f06a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
    font-size: 11px;
}

.oms-profile-page .table th,
.oms-profile-page .table td {
    border-color: var(--ocean-row-border);
    padding: 0.65rem 0.5rem;
    vertical-align: middle;
}

.oms-profile-page .table th {
    color: var(--ocean-muted);
    font-weight: 600;
    font-size: 13px;
}

.oms-profile-page .table td {
    color: var(--ocean-deep);
    font-weight: 600;
    font-size: 14.5px;
}

.oms-order-details-table {
    table-layout: fixed;
}

.oms-order-details-table thead {
    background: none !important;
    background-image: none !important;
}

.oms-order-details-table thead th {
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    color: var(--ocean-text-soft);
    font-size: 0.8125rem;
    line-height: 1.25rem;
    letter-spacing: normal;
    text-transform: none;
    font-weight: 700;
    border-top: 0;
    border-bottom: 1px solid var(--ocean-border);
    padding: 0.5rem;
    height: 2.5rem;
    vertical-align: middle;
}

.oms-order-details-table tbody td {
    padding: 0.65rem 0.5rem;
    vertical-align: middle;
    border-color: var(--ocean-row-border);
    border-left: 0;
    border-right: 0;
    overflow: hidden;
}

.oms-order-details-table tbody td .oms-badge {
    max-width: 100%;
}

.oms-order-details-table tbody td .oms-badge__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.oms-order-details-table--auto {
    table-layout: auto;
    width: 100%;
}

.oms-order-details-table--auto thead th,
.oms-order-details-table--auto tbody td {
    white-space: nowrap;
    overflow: visible;
}

.oms-order-details-table--auto tbody td .oms-badge {
    max-width: none;
}

.oms-order-details-table--auto thead th.oms-order-details-table__col-file,
.oms-order-details-table--auto tbody td.oms-order-details-table__col-file {
    width: 320px;
    max-width: 320px;
}

.oms-order-details-table--auto thead th.oms-order-details-table__col-reference,
.oms-order-details-table--auto tbody td.oms-order-details-table__col-reference {
    width: 200px;
    max-width: 200px;
}

.oms-order-details-table--auto tbody td.oms-order-details-table__col-file .oms-cell-truncate,
.oms-order-details-table--auto tbody td.oms-order-details-table__col-reference .oms-cell-truncate {
    max-width: 100%;
    width: 100%;
}

.oms-order-details-table--auto tbody td .oms-badge__text {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.oms-order-details-table--dense thead th {
    padding: 0.4rem 0.5rem;
    height: 2.25rem;
    font-size: 12.5px;
}

.oms-order-details-table--dense tbody td {
    padding: 0.5rem;
    font-size: 14.5px;
}

.oms-order-details-table tbody tr {
    background-color: #fff;
    border-bottom: 1px solid var(--ocean-row-border);
    transition: background-color 0.15s ease;
}

.oms-order-details-table tbody tr:last-child {
    border-bottom: 0;
}

.oms-order-details-table tbody tr:hover td {
    background-color: rgba(247, 249, 250, 0.8);
}

.oms-order-details-table__col-narrow {
    white-space: nowrap;
}

.oms-cell-truncate {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oms-order-details-table a {
    text-decoration: none;
}

.oms-order-details-table a:hover,
.oms-order-details-table a:focus {
    text-decoration: underline;
}

.oms-order-details-table tbody tr.oms-payment-credit-group td {
    background-color: rgba(14, 122, 134, 0.04);
}

.oms-order-details-table tbody tr.oms-payment-credit-group:not(.oms-payment-credit-group--last),
.oms-order-details-table tbody tr.oms-payment-credit-group:not(.oms-payment-credit-group--last) td {
    border-bottom: 1px dashed rgba(14, 122, 134, 0.2);
}

.oms-order-details-table tbody tr.oms-payment-credit-group--last + tr.oms-payment-credit-group--first td {
    border-top: 4px solid #fff;
}

.oms-order-details-table tbody tr.oms-payment-credit-group td:first-child {
    position: relative;
}

.oms-order-details-table tbody tr.oms-payment-credit-group td:first-child::before {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: 0;
    width: 3px;
    background-color: var(--ocean-teal);
}

.oms-order-details-table tbody tr.oms-payment-credit-group--first td:first-child::before {
    top: 6px;
    border-radius: 3px 3px 0 0;
}

.oms-order-details-table tbody tr.oms-payment-credit-group--last td:first-child::before {
    bottom: 6px;
    border-radius: 0 0 3px 3px;
}

.oms-payment-type-icons {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2px;
    margin-right: 6px;
    font-size: 13px;
    vertical-align: middle;
}

.oms-payment-type-icons--1 {
    width: 1.25em;
}

.oms-payment-type-icons--2 {
    width: calc(2.5em + 2px);
}

.oms-payment-type-icon {
    display: inline-block;
    width: 1.25em;
    line-height: 1;
    text-align: center;
}

.oms-payment-type-icon--linked {
    color: var(--ocean-teal);
}

.oms-payment-type-icon--held {
    color: var(--ocean-amber-ink);
}

.oms-payment-type-icon--unmatched {
    color: var(--ocean-text-soft);
}

.oms-payment-type-icon--unallocated {
    color: var(--bs-warning);
}

.oms-order-packed-summary-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 1rem;
}

.oms-order-packed-summary-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1rem;
    row-gap: 0.75rem;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.35;
}

.oms-order-packed-summary-list dt,
.oms-order-packed-summary-list dd {
    margin: 0;
    min-width: 0;
}

.oms-order-packed-summary-list dt {
    color: var(--ocean-text-secondary);
    font-weight: 500;
}

.oms-order-packed-summary-list dd {
    justify-self: end;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .oms-order-packed-summary-columns {
        grid-template-columns: minmax(0, 1fr);
    }
}

.oms-sku-cell {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.875rem;
}

.oms-sku-cell .oms-sku-cell__value {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oms-order-summary {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-top: var(--oms-space-3);
    font-variant-numeric: tabular-nums;
}

.oms-order-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--oms-space-4);
    padding: 3px 0;
}

.oms-order-summary,
.oms-order-summary span {
    color: var(--ocean-text-soft);
    font-size: 14px;
}

.oms-order-summary span:last-child {
    color: var(--ocean-deep);
    font-weight: 600;
}

.oms-order-summary__total {
    border-top: 1px solid var(--ocean-border);
    padding-top: var(--oms-space-2);
    margin-top: 4px;
    font-weight: 700;
    color: var(--ocean-deep);
}

.oms-order-summary__total span {
    color: var(--ocean-deep);
    font-size: 1.0625rem;
}

.oms-order-details-page .form-control:disabled,
.oms-order-details-page .form-control[readonly] {
    background: #fff;
    color: var(--ocean-text-secondary);
    border-color: var(--ocean-input-border);
    opacity: 1;
}

.oms-tracking-row {
    background: var(--ocean-thead-bg);
    border: 1px solid var(--ocean-border);
    border-radius: var(--ocean-radius-control);
    padding: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.6rem;
}

.oms-tracking-row__box {
    width: 90px;
    flex: 0 0 auto;
}

.oms-history-feed {
    max-height: 560px;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.oms-history-item {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--ocean-row-border);
}
.oms-history-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.oms-history-item strong {
    font-size: 0.875rem;
    color: var(--ocean-deep);
}

.oms-history-subtabs {
    display: inline-flex;
    gap: 0.25rem;
    background: var(--ocean-chip-bg);
    border-radius: var(--ocean-radius-btn-sm);
    padding: 3px;
    margin-bottom: 0.5rem;
}
.oms-history-subtab {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ocean-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.oms-history-subtab:hover { color: var(--ocean-deep); }
.oms-history-subtab--active {
    background: #fff;
    color: var(--ocean-deep);
    box-shadow: 0 1px 2px rgba(10, 37, 64, 0.08);
}

.oms-history-details {
    margin-top: 0.35rem;
    padding-left: 0.85rem;
    border-left: 2px solid var(--ocean-border);
}
.js-history-details-toggle { text-decoration: none !important; line-height: 1; }
.js-history-details-toggle:hover { color: var(--ocean-deep) !important; }
.js-history-toggle-icon {
    transition: transform 0.15s ease;
    display: inline-block;
}
.js-history-toggle-icon.oms-rotated { transform: rotate(90deg); }

@media (max-width: 767.98px) {
    .oms-history-feed {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .oms-history-item {
        padding: 0.5rem 0;
    }

    .oms-history-item > .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.15rem;
    }

    .oms-history-item strong .badge {
        margin-top: 0.2rem;
    }

    .oms-history-details {
        padding-left: 0.6rem;
    }

    .oms-history-subtabs {
        display: flex;
        width: 100%;
    }

    .oms-history-subtab {
        flex: 1;
        justify-content: center;
    }
}

.oms-workflow-scroller {
    position: relative;
}

.oms-workflow-scroller::before,
.oms-workflow-scroller::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.oms-workflow-scroller::before {
    left: 0;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.oms-workflow-scroller::after {
    right: 0;
    background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

.oms-workflow-scroller--can-prev::before,
.oms-workflow-scroller--can-next::after {
    opacity: 1;
}

.oms-workflow-scroller__nav {
    position: absolute;
    top: 19px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--ocean-border);
    background: #fff;
    color: var(--ocean-deep);
    font-size: 10px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(10, 37, 64, 0.12);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.oms-workflow-scroller__nav--prev {
    left: 0;
}

.oms-workflow-scroller__nav--next {
    right: 0;
}

.oms-workflow-scroller--can-prev .oms-workflow-scroller__nav--prev,
.oms-workflow-scroller--can-next .oms-workflow-scroller__nav--next {
    display: inline-flex;
}

.oms-workflow-scroller__nav:hover {
    background: var(--ocean-chip-bg);
    color: var(--ocean-deep);
}

.oms-workflow-scroller__nav:focus-visible {
    outline: 0;
    box-shadow: var(--ocean-focus-ring);
}

/* isolation keeps the dots' z-index below the scroller edge fades. */
.oms-workflow {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    padding: 8px 0 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.oms-workflow::-webkit-scrollbar {
    display: none;
}

.oms-workflow:focus-visible {
    outline: 0;
    border-radius: 8px;
    box-shadow: var(--ocean-focus-ring);
}

.oms-workflow__step {
    position: relative;
    flex: 0 0 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 4px;
    text-align: center;
    scroll-snap-align: center;
}

.oms-workflow__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    left: calc(50% + 14px);
    width: calc(100% - 28px);
    height: 2px;
    background: var(--ocean-border);
}

.oms-workflow__step--done::after {
    background: var(--ocean-success);
}

.oms-workflow__dot {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--ocean-border);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
}

.oms-workflow__check {
    display: none;
}

.oms-workflow__step--done .oms-workflow__dot {
    background: var(--ocean-success);
    border-color: var(--ocean-success);
}

.oms-workflow__step--done .oms-workflow__check {
    display: inline;
}

.oms-workflow__step--current .oms-workflow__dot {
    background: var(--ocean-teal);
    border-color: #fff;
    box-shadow: 0 0 0 2px var(--ocean-teal), 0 0 0 6px var(--ocean-teal-tint);
}

.oms-workflow__step--danger .oms-workflow__dot {
    background: var(--ocean-danger);
    box-shadow: 0 0 0 2px var(--ocean-danger), 0 0 0 6px var(--ocean-danger-bg);
}

.oms-workflow__label {
    margin-top: 6px;
    font-size: 11.5px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--ocean-muted);
}

.oms-workflow__step--done .oms-workflow__label {
    color: var(--ocean-text-soft);
}

.oms-workflow__step--current .oms-workflow__label {
    color: var(--ocean-deep);
    font-weight: 700;
}

.oms-workflow__step--danger .oms-workflow__label {
    color: var(--ocean-danger-ink);
}

.oms-notes__count {
    margin-left: 6px;
    padding: 3px 9px;
    font-size: 11.5px;
    vertical-align: middle;
}

.oms-notes__unread {
    background: var(--ocean-teal);
    color: #fff;
}

.oms-notes__composer {
    margin-bottom: var(--oms-space-3);
    padding: var(--oms-space-3);
    background: var(--ocean-thead-bg);
    border: 1px solid var(--ocean-border);
    border-radius: var(--ocean-radius-control);
    scroll-margin-top: calc(var(--oms-navbar-height) + var(--oms-space-3));
    scroll-margin-bottom: var(--oms-space-3);
}

.oms-notes__textarea {
    min-height: 84px;
    resize: vertical;
    font-size: 14.5px;
}

.oms-notes {
    /* Equals the card-body horizontal padding, so highlighted rows span the full card width. */
    --oms-notes-bleed: 16px;
}

.oms-notes__list {
    display: flex;
    flex-direction: column;
}

.oms-note {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid var(--ocean-row-border);
    scroll-margin-top: calc(var(--oms-navbar-height) + var(--oms-space-3));
}

.oms-notes__list > .oms-note:first-child,
.oms-notes__day + .oms-note {
    border-top: 0;
}

.oms-notes__list > .oms-note:first-child:not(.oms-note--unread) {
    padding-top: 4px;
}

.oms-note--unread {
    margin: 0 calc(-1 * var(--oms-notes-bleed));
    padding: 12px var(--oms-notes-bleed);
    background: var(--ocean-teal-soft);
    border-top-color: transparent;
    box-shadow: inset 3px 0 0 var(--ocean-teal);
}

.oms-note--unread + .oms-note {
    border-top-color: transparent;
}

.oms-note--unread + .oms-note--unread {
    border-top-color: var(--ocean-teal-wash);
}

.oms-note--focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    animation: oms-note-focus-ring 2.4s ease-out;
}

/* Unread rows bleed to the card edge, where an outer ring would be clipped by the card overflow. */
.oms-note--unread.oms-note--focus {
    outline-offset: -2px;
}

.oms-note__content {
    flex: 1 1 auto;
    min-width: 0;
}

.oms-note__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 6px;
    margin-bottom: 2px;
}

.oms-note__author {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ocean-deep);
}

.oms-note__separator {
    color: var(--ocean-muted);
}

.oms-note__date {
    white-space: nowrap;
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
    color: var(--ocean-text-soft);
}

.oms-note__body {
    max-width: 75ch;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ocean-text-secondary);
    overflow-wrap: anywhere;
}

.oms-notes__day {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ocean-text-soft);
}

.oms-notes__day::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--ocean-border);
}

.oms-notes__list > .oms-notes__day:first-child {
    margin-top: 0;
}

.oms-notes--sidebar .oms-note:not(.oms-note--unread) .oms-note__body {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.oms-notes--sidebar .oms-note:not(.oms-note--unread) .oms-note__body--expanded {
    display: block;
    overflow: visible;
    -webkit-line-clamp: none;
}

.oms-note__more {
    margin-top: 2px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    color: var(--ocean-teal);
    font-size: 12.5px;
    font-weight: 600;
}

.oms-note__more:hover {
    color: var(--ocean-deep);
    text-decoration: underline;
}

.oms-note__more:focus-visible {
    outline: 0;
    box-shadow: var(--ocean-focus-ring);
}

.oms-notes__skeleton-avatar {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
}

.oms-note__new {
    flex: 0 0 auto;
    padding: 1px 7px;
    font-size: 10.5px;
    background: var(--ocean-teal);
    color: #fff;
}

.oms-mention {
    padding: 0 4px;
    border-radius: 6px;
    background: var(--ocean-teal-wash);
    color: var(--ocean-teal-ink);
    font-weight: 600;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.oms-mention--self {
    background: var(--ocean-amber-bg);
    color: var(--ocean-amber-ink);
}

/* Tribute appends the menu before candidates load and sets an inline display only once it is positioned. */
.oms-mention-menu {
    display: none;
    min-width: 220px;
    max-width: 320px;
    max-height: 320px;
    margin: 6px 0;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--ocean-input-border);
    border-radius: var(--ocean-radius-control);
    box-shadow: 0 12px 24px rgba(10, 37, 64, 0.12);
    z-index: 2050;
}

.oms-mention-menu ul {
    margin: 0;
    padding: 0;
    background: transparent;
}

.oms-mention-menu li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 7px 12px;
    font-size: 13.5px;
    line-height: 1.35;
    color: var(--ocean-deep);
}

.oms-mention-menu li.highlight {
    background: var(--ocean-teal-tint);
    color: var(--ocean-teal);
}

.oms-mention-menu li.no-match {
    color: var(--ocean-text-soft);
}

.oms-mention-menu .oms-mention-menu__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.oms-mention-menu .oms-mention-menu__username {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--ocean-text-soft);
}

.oms-mention-menu li.highlight .oms-mention-menu__username {
    color: var(--ocean-teal);
}

.oms-notes__empty {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px dashed var(--ocean-input-border);
    border-radius: var(--ocean-radius-control);
    color: var(--ocean-text-soft);
    font-size: 13.5px;
}

.oms-notes__empty-icon {
    color: var(--ocean-muted);
    font-size: 18px;
}

.oms-notes__footer {
    display: flex;
    justify-content: center;
    margin: 0 16px;
    padding: 10px 0 12px;
    border-top: 1px solid var(--ocean-row-border);
}

.oms-notes__view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 6px;
    border-radius: 6px;
    color: var(--ocean-teal);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.oms-notes__view-all:hover,
.oms-notes__view-all:focus {
    color: var(--ocean-deep);
    text-decoration: none;
}

.oms-notes__view-all:focus-visible {
    outline: 0;
    box-shadow: var(--ocean-focus-ring);
}

@keyframes oms-note-focus-ring {
    0%,
    60% {
        outline-color: rgba(14, 122, 134, 0.45);
    }
    100% {
        outline-color: transparent;
    }
}

.oms-toast-stack {
    z-index: 2000;
}

.oms-toast-stack .toast {
    min-width: 320px;
}

.oms-confirm-modal .modal-content {
    border-radius: var(--ocean-radius-card);
    border: 1px solid var(--ocean-border);
}

.oms-confirm-modal .modal-header,
.oms-confirm-modal .modal-footer {
    border-color: var(--ocean-row-border);
}

.oms-confirm-modal__message {
    color: var(--ocean-deep);
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: pre-line;
}

.oms-confirm-modal__hint {
    margin-top: 0.55rem;
    font-size: 0.78rem;
}

.oms-confirm-modal__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
}

.oms-spinner-teal {
    color: var(--ocean-teal);
}

.oms-confirm-modal.is-loading .btn-close,
.oms-confirm-modal.is-loading [data-bs-dismiss="modal"] {
    pointer-events: none;
}

.oms-email-preview-modal .modal-dialog {
    --bs-modal-width: 880px;
}

.oms-email-preview-modal__body {
    padding: 1rem;
    background: #f5f5f5;
    overflow-x: hidden;
}

.oms-email-preview-modal__frame {
    display: block;
    width: 100%;
    height: 60vh;
    border: 0;
}

@media (max-width: 575.98px) {
    /* Bootstrap's 100vw includes the scrollbar-gutter reserve and pushes the close button off-edge. */
    .oms-email-preview-modal .modal-fullscreen-sm-down {
        width: 100%;
    }

    .oms-email-preview-modal__body {
        padding: 0 0.5rem;
    }
}

.oms-layout-container {
    position: relative;
}

.oms-pjax-loader {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.16s ease;
    z-index: 1200;
}

#oms-pjax-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
}

#oms-pjax-loader.is-active {
    pointer-events: auto;
}

.oms-pjax-loader.is-active {
    opacity: 1;
}

.oms-pjax-loader__spinner {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 3px solid var(--ocean-teal-tint);
    border-top-color: var(--ocean-teal);
    animation: oms-spin 0.8s linear infinite;
    background: #fff;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.08);
}

.oms-order-tab-content-wrap {
    position: relative;
    margin-top: var(--oms-space-3);
}

.oms-order-details-page {
    position: relative;
}

.oms-order-details-page .oms-pjax-loader {
    background: rgba(255, 255, 255, 0.72);
    pointer-events: none;
}

.oms-order-details-page .oms-pjax-loader.is-active {
    pointer-events: auto;
}

#oms-order-action-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
}

#oms-order-action-loader.is-active {
    pointer-events: auto;
}

body.oms-no-scroll {
    overflow: hidden;
}

.oms-orders-grid-wrap {
    position: relative;
}

body.oms-page-scroll-locked {
    overflow: hidden;
}

.oms-pjax-loader--inner {
    z-index: 30;
}

.oms-section-refresh {
    position: relative;
}

.oms-section-refresh__loader {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    z-index: 5;
}

.oms-section-refresh.is-loading {
    min-height: 120px;
}

.oms-section-refresh.is-loading .oms-section-refresh__loader {
    display: flex;
}

.oms-section-refresh.is-loading > :not(.oms-section-refresh__loader) {
    opacity: 0.45;
}

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

#oms-main-pjax,
#oms-order-tab-pjax,
#orders-grid-pjax {
    will-change: opacity;
}

#oms-main-pjax.oms-pjax-phase-leave,
#oms-order-tab-pjax.oms-pjax-phase-leave,
#orders-grid-pjax.oms-pjax-phase-leave {
    opacity: 0;
    transition: opacity 0.14s ease;
}

#oms-main-pjax.oms-pjax-phase-enter,
#oms-order-tab-pjax.oms-pjax-phase-enter,
#orders-grid-pjax.oms-pjax-phase-enter {
    animation: oms-pjax-fade-in 0.2s ease;
}

@keyframes oms-pjax-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes auth-error-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.js-editable-qty,
.js-editable-new-qty,
.js-editable-price,
.js-editable-new-price,
.js-editable-name,
.js-editable-new-name {
    cursor: pointer;
}

.js-editable-qty:hover,
.js-editable-new-qty:hover,
.js-editable-price:hover,
.js-editable-new-price:hover,
.js-editable-name:hover,
.js-editable-new-name:hover {
    color: var(--ocean-teal);
}

.js-qty-cell,
.js-price-cell,
.js-name-cell,
.js-new-name-cell,
.js-new-qty-cell,
.js-new-price-cell {
    position: relative;
}

.js-qty-input,
.js-price-input,
.js-name-input,
.js-new-name-input,
.js-new-name-select,
.js-new-qty-input,
.js-new-price-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0.25rem 0.5rem;
    z-index: 1;
    background: none;
}

.js-order-items-container .js-name-input,
.js-order-items-container .js-qty-input,
.js-order-items-container .js-price-input,
.js-order-items-container .js-new-name-input,
.js-order-items-container .js-new-name-select,
.js-order-items-container .js-new-qty-input,
.js-order-items-container .kv-table-header,
.js-order-items-container .js-new-price-input {
    border: 0;
    background: none;
    box-shadow: none;
    outline: none;
}

.js-order-items-container .js-name-input:focus,
.js-order-items-container .js-qty-input:focus,
.js-order-items-container .js-price-input:focus,
.js-order-items-container .js-new-name-input:focus,
.js-order-items-container .js-new-name-select:focus,
.js-order-items-container .js-new-qty-input:focus,
.js-order-items-container .js-new-price-input:focus {
    border: 0;
    box-shadow: none;
    outline: none;
}

.js-name-search-results {
    position: fixed;
    z-index: 1050;
    max-height: 200px;
    overflow-y: auto;
    min-width: 250px;
    background: #fff;
    border: 1px solid var(--ocean-input-border);
    border-radius: var(--ocean-radius-control);
}

.js-qty-input,
.js-price-input,
.js-new-qty-input,
.js-new-price-input {
    text-align: right;
}

.js-qty-cell .js-qty-display.d-none,
.js-price-cell .js-price-display.d-none,
.js-name-cell .js-name-display.d-none,
.js-new-qty-cell .js-new-qty-display.d-none,
.js-new-price-cell .js-new-price-display.d-none,
.js-new-name-cell .js-new-name-display.d-none {
    display: inline !important;
    visibility: hidden;
}

tr.js-order-line-row.js-qty-changed {
    background-color: var(--ocean-amber-bg) !important;
}

tr.js-order-line-row.js-line-deleted td {
    text-decoration: line-through;
    opacity: 0.5;
}

tr.js-order-line-row.js-line-deleted .js-undo-delete-btn {
    text-decoration: none !important;
    opacity: 1 !important;
}

.oms-orders-toolbar .ts-wrapper {
    min-width: 0;
    width: 100%;
}

.oms-orders-toolbar .ts-control,
.oms-orders-page-size-form .ts-control {
    cursor: pointer;
    line-height: 1.25rem;
}

.oms-orders-page-size-form .ts-control {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.oms-orders-toolbar .ts-control {
    padding-top: 10px;
    padding-bottom: 10px;
}

.oms-orders-toolbar .ts-control .item {
    line-height: 1.25rem;
}

.oms-orders-page-size-form .ts-wrapper {
    min-width: 66px;
}

.oms-orders-page-size-form .ts-wrapper.single .ts-control::after {
    display: none;
}

.oms-orders-page-size-form .ts-control:not(.rtl) {
    padding-right: 0.75rem !important;
}

.oms-orders-page-size-form .ts-control .item {
    line-height: 1.25rem;
    width: 100%;
    text-align: center;
    display: inline-block !important;
}

.oms-orders-toolbar .ts-control input,
.oms-orders-page-size-form .ts-control input {
    caret-color: transparent;
}

.oms-order-details-page .js-order-logistics-form .ts-wrapper {
    min-width: 0;
    width: 100%;
}

.oms-order-details-page .js-order-logistics-form .ts-control {
    cursor: pointer;
    min-height: calc(1.5em + 0.75rem + 2px);
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    line-height: 1.25rem;
    border-color: var(--ocean-input-border);
    border-radius: var(--ocean-radius-control);
    box-shadow: none;
}

.oms-order-details-page .js-order-logistics-form .ts-control .item {
    line-height: 1.25rem;
}

.oms-order-details-page .js-order-logistics-form .ts-control input {
    caret-color: transparent;
}

.oms-order-details-page .js-order-logistics-form .ts-dropdown {
    margin-top: 0 !important;
    z-index: 2050;
}

.oms-order-details-page .js-order-logistics-form .form-control.is-invalid,
.oms-order-details-page .js-order-logistics-form .ts-control.is-invalid {
    border-color: var(--ocean-danger);
    box-shadow: 0 0 0 1px rgba(199, 75, 62, 0.15);
}

.oms-shipping-form-error {
    min-height: 1.25rem;
    color: var(--ocean-danger);
    font-size: 0.75rem;
    line-height: 1rem;
}

@media (max-width: 767.98px) {
    .oms-shipping-quotes__upload-panel {
        padding: 1rem;
    }

    .oms-shipping-quotes__panel-meta {
        margin-top: 0.25rem;
    }

    .oms-shipping-quotes__actions {
        display: block;
    }

    .oms-shipping-quotes__submit {
        width: 100%;
        min-width: 0;
    }
}

.oms-orders-page-size-form .ts-control.has-items input {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    flex: none;
}

.oms-orders-toolbar .ts-dropdown,
.oms-page-size-select.ts-dropdown {
    margin-top: 0 !important;
    z-index: 2050;
}

.js-edit-tracking-package-type.ts-dropdown {
    z-index: 2060;
}

.oms-page-size-select.ts-dropdown {
    min-width: 66px;
    border-radius: var(--ocean-radius-pager);
    border-color: var(--ocean-input-border);
    overflow: hidden;
}

.oms-page-size-select.ts-dropdown .option {
    padding: 6px 12px;
    font-size: 0.8125rem;
    text-align: center;
}

.oms-page-size-select.ts-dropdown .option.active {
    background-color: var(--ocean-teal-tint);
    color: var(--ocean-teal);
}

.js-new-name-cell .ts-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.js-new-name-cell .ts-control {
    width: 100%;
    height: 100%;
    min-height: calc(1.5em + 0.5rem + 2px);
    font-size: 0.875rem;
}

.js-name-cell .js-inline-name-ts-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.js-order-items-container .js-name-cell .js-inline-name-ts-wrapper {
    border: 0;
    box-shadow: none;
    outline: none;
    background: transparent;
    padding: 0;
}

.js-order-items-container .js-name-cell .js-inline-name-ts-wrapper:focus,
.js-order-items-container .js-name-cell .js-inline-name-ts-wrapper:focus-within,
.js-order-items-container .js-name-cell .js-inline-name-ts-wrapper.focus {
    border: 0;
    box-shadow: none;
    outline: none;
}

.js-name-cell .js-inline-name-ts-wrapper .ts-control {
    width: 100%;
    height: 100%;
    min-height: 100%;
    font-size: 0.875rem;
}

.js-order-items-container .js-new-name-cell .ts-control,
.js-order-items-container .js-name-cell .js-inline-name-ts-wrapper .ts-control {
    border: 0;
    box-shadow: none;
}

.js-order-items-container .js-new-name-cell .ts-control:focus,
.js-order-items-container .js-name-cell .js-inline-name-ts-wrapper .ts-control:focus,
.js-order-items-container .js-new-name-cell .ts-control.focus,
.js-order-items-container .js-name-cell .js-inline-name-ts-wrapper .ts-control.focus {
    border: 0;
    box-shadow: none;
}

.js-new-name-cell .js-new-name-input,
.js-new-name-cell .js-new-name-select {
    width: 100%;
    height: 100%;
    min-height: calc(1.5em + 0.5rem + 2px);
}

.oms-order-items-ts-dropdown {
    margin-top: 0 !important;
    z-index: 2060;
    background: #fff;
    border: 1px solid var(--ocean-input-border);
    border-radius: var(--ocean-radius-control);
    box-shadow: 0 12px 24px rgba(10, 37, 64, 0.14);
}

.frontend-error {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--oms-navbar-height) - 100px);
    padding: 2rem 1rem;
}

.frontend-error__card {
    text-align: center;
    background: #fff;
    border: 1px solid var(--ocean-border);
    border-radius: var(--ocean-radius-card);
    box-shadow: none;
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 100%;
}

.frontend-error__code {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ocean-border);
    margin-bottom: 0.5rem;
}

.frontend-error__icon {
    font-size: 2rem;
    color: var(--ocean-muted);
    margin-bottom: 1rem;
}

.frontend-error__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ocean-deep);
    margin: 0 0 0.5rem;
}

.frontend-error__message {
    font-size: 0.925rem;
    color: var(--ocean-muted);
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.frontend-error__btn {
    border-radius: var(--ocean-radius-control);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.oms-tom-select-ellipsis .ts-control {
    flex-wrap: nowrap;
}

.oms-tom-select-ellipsis .ts-control > .item,
.oms-tom-select-ellipsis .ts-control > .item .oms-tom-select-ellipsis-text {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oms-tom-select-ellipsis.single.plugin-clear_button .ts-control {
    padding-right: 1.75rem !important;
}

.oms-tom-select-ellipsis.single.plugin-clear_button .ts-control .clear-button {
    right: 0.5rem;
}

.oms-tom-select-ellipsis.single.plugin-clear_button.input-active.has-items .ts-control > input {
    min-width: 0 !important;
}

.oms-tom-select-ellipsis-dropdown .ts-dropdown-content .option,
.oms-tom-select-ellipsis-dropdown .ts-dropdown-content .option .oms-tom-select-ellipsis-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .oms-orders-toolbar__field,
    .oms-orders-toolbar__field--search {
        flex: 1 1 calc((100% - 1rem) / 3);
        min-width: 0;
    }

    .oms-orders-toolbar .form-group {
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    :root {
        --oms-layout-side-padding: 12px;
        --oms-layout-top-gap: 8px;
    }

    .wrap > .container.oms-layout-container {
        padding-bottom: 16px;
    }

    .oms-navbar__main {
        margin: 0.5rem 0;
    }

    .oms-main-tabs .nav-link {
        display: inline-flex;
        align-items: center;
    }

    .oms-user-name {
        font-size: 0.85rem;
    }

    .oms-dashboard h1,
    .oms-page-header h1 {
        font-size: 1.65rem;
    }

    .oms-page-header__icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 17px;
    }

    .oms-page-header__icon svg {
        width: 20px;
        height: 20px;
    }

    .oms-dashboard-table td,
    .oms-dashboard-table th,
    .oms-order-list-table td,
    .oms-order-list-table th {
        padding: 0.5rem 0.45rem;
        font-size: 0.78rem;
    }

    .oms-orders-toolbar .card-body {
        padding: 0.75rem;
    }

    .oms-orders-toolbar .form-group {
        min-width: 100%;
        margin-right: 0 !important;
    }

    .oms-orders-toolbar__field {
        flex-basis: 100%;
    }

    .oms-orders-toolbar .btn {
        margin-right: 0.5rem !important;
    }

    .oms-filters-card .form-group {
        min-width: 100%;
        margin-right: 0 !important;
    }

    .oms-filters-card .card-body {
        padding: 0.9rem;
    }

    .oms-order-details-header h1 {
        font-size: 1.2rem;
    }

    .oms-order-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oms-order-tab:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .oms-order-summary {
        max-width: none;
    }

    .oms-order-actions .oms-order-action--hero {
        padding: 12px;
        font-size: 14.5px;
    }

    .oms-notes__composer {
        padding: var(--oms-space-2);
    }

    .oms-order-details-page .oms-order-details-header .card-body {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .oms-order-meta {
        flex-basis: 100%;
        margin-top: 4px;
        padding-top: 8px;
        border-top: 1px solid var(--ocean-border);
    }

    .oms-tracking-row {
        flex-direction: column;
        align-items: stretch;
    }

    .oms-tracking-row__box {
        width: 100%;
    }
}
