:root {
    --sx-bg: #f5f7fa;
    --sx-surface: #ffffff;
    --sx-surface-muted: #eef3f7;
    --sx-border: #d9e1ea;
    --sx-text: #17202a;
    --sx-muted: #607082;
    --sx-header: #111827;
    --sx-accent: #008f8c;
    --sx-accent-hover: #00736f;
    --sx-danger: #b42318;
    --sx-warning: #b54708;
    --sx-radius: 8px;
    --sx-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

html,
body.grp-popup,
body {
    background: var(--sx-bg) !important;
    color: var(--sx-text);
    color-scheme: light;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
}

.visually-hidden,
.hidden {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.app-list thead.visually-hidden,
#content-main thead.visually-hidden,
#grp-content-container thead.visually-hidden {
    display: none !important;
}

a,
a:link,
a:visited {
    color: var(--sx-accent);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--sx-accent-hover);
    text-decoration: underline;
}

#grp-header,
#header {
    background: var(--sx-header) !important;
    border: 0 !important;
    box-shadow: 0 2px 14px rgba(17, 24, 39, 0.16);
}

#grp-navigation,
#header {
    min-height: 58px;
    padding: 0 28px !important;
    background: transparent !important;
    display: flex;
    align-items: center;
    gap: 18px;
}

#stratusx-branding,
#branding {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.stratusx-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sx-accent);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.stratusx-name,
#grp-admin-title,
#branding h1,
#branding h1 a:link,
#branding h1 a:visited {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
}

#grp-admin-title {
    margin-left: 8px !important;
}

#grp-user-tools,
#user-tools {
    margin-left: auto !important;
}

#grp-user-tools li,
#grp-user-tools a,
#user-tools,
#user-tools a {
    color: #e5e7eb !important;
}


.sx-admin-version {
    display: inline-block;
    color: #cbd5e1 !important;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    margin-right: 10px;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    vertical-align: middle;
    white-space: nowrap;
}

#grp-context-navigation {
    background: #fff !important;
    border-bottom: 1px solid var(--sx-border) !important;
    min-height: 42px;
    padding: 0 28px !important;
}

#grp-breadcrumbs,
#grp-breadcrumbs ul,
#grp-breadcrumbs li {
    color: var(--sx-muted) !important;
}

#grp-content,
#content {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    margin: 28px 0 48px !important;
    padding: 0 28px 120px !important;
    box-sizing: border-box;
}

#grp-content-title,
#content h1 {
    margin: 0 0 18px !important;
    padding: 0 !important;
}

#grp-content-title h1,
#content h1 {
    color: var(--sx-text) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

#grp-content-container,
#content-main,
.grp-module,
.grp-row,
.grp-group,
.module,
fieldset.module,
#changelist,
#content-main {
    background: var(--sx-surface) !important;
    border: 1px solid var(--sx-border) !important;
    border-radius: var(--sx-radius) !important;
    box-shadow: var(--sx-shadow);
}

#grp-content-container,
#content-main {
    padding: 14px !important;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}

.grp-module,
.module,
fieldset.module {
    overflow-x: auto;
    overflow-y: visible;
    margin-bottom: 18px !important;
}

.grp-module h2,
.module h2,
fieldset.module h2,
.grp-group h2 {
    background: var(--sx-surface-muted) !important;
    color: var(--sx-text) !important;
    border-bottom: 1px solid var(--sx-border) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    padding: 8px 10px !important;
}

table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    min-width: 100%;
    width: auto;
    background: var(--sx-surface) !important;
}

#changelist,
#changelist-form,
.results,
.grp-changelist-results {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}

#result_list,
.results table {
    min-width: max-content;
    width: max-content;
}

thead th,
.grp-table thead th,
.results thead th {
    background: var(--sx-surface-muted) !important;
    color: var(--sx-text) !important;
    border-bottom: 1px solid var(--sx-border) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    padding: 7px 8px !important;
    white-space: nowrap;
}

tbody td,
tbody th,
.grp-table tbody td,
.results tbody td,
.results tbody th {
    background: var(--sx-surface) !important;
    border-bottom: 1px solid #edf1f5 !important;
    color: var(--sx-text) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding: 7px 8px !important;
    vertical-align: top;
    white-space: nowrap;
}

tbody tr {
    background: var(--sx-surface) !important;
}

tbody tr:nth-child(even) td,
tbody tr:nth-child(even) th {
    background: #fbfcfd !important;
}

tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
    background: var(--sx-surface) !important;
}

tbody tr:hover td,
tbody tr:hover th {
    background: #eefaf8 !important;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="url"],
textarea,
select,
.vTextField {
    background: #fff !important;
    border: 1px solid #cbd5df !important;
    border-radius: 7px !important;
    color: var(--sx-text) !important;
    min-height: 34px;
    padding: 7px 10px !important;
    box-shadow: none !important;
}

textarea {
    min-height: 110px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--sx-accent) !important;
    outline: 3px solid rgba(0, 143, 140, 0.16) !important;
}

input[type="submit"],
button,
.button,
a.button,
.grp-button,
.grp-submit-row input,
.object-tools a,
ul.grp-object-tools li a {
    background: var(--sx-accent) !important;
    border: 1px solid var(--sx-accent) !important;
    border-radius: 7px !important;
    color: #fff !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    padding: 8px 12px !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

input[type="submit"]:hover,
button:hover,
.button:hover,
a.button:hover,
.grp-button:hover,
.grp-submit-row input:hover,
.object-tools a:hover,
ul.grp-object-tools li a:hover {
    background: var(--sx-accent-hover) !important;
    border-color: var(--sx-accent-hover) !important;
    text-decoration: none !important;
}

.grp-delete-link,
a.deletelink,
input[name="_delete"],
.grp-submit-row input.grp-delete-link {
    background: var(--sx-danger) !important;
    border-color: var(--sx-danger) !important;
}

.grp-submit-row,
.submit-row {
    background: #fff !important;
    border: 1px solid var(--sx-border) !important;
    border-radius: var(--sx-radius) !important;
    box-shadow: var(--sx-shadow);
    padding: 14px !important;
    z-index: 50;
}

.grp-change-form #grp-content-container,
.change-form #grp-content-container,
.change-form #content-main {
    padding-bottom: 120px !important;
}

.grp-change-form #grp-content,
.change-form #grp-content,
.change-form #content {
    padding-bottom: 150px !important;
}

#changelist-search,
.grp-search {
    background: #fff !important;
    border: 1px solid var(--sx-border) !important;
    border-radius: var(--sx-radius) !important;
    padding: 12px !important;
}

#changelist-filter,
.grp-filter {
    background: #fff !important;
    border: 1px solid var(--sx-border) !important;
    border-radius: var(--sx-radius) !important;
    box-shadow: var(--sx-shadow);
}

.grp-messagelist li,
ul.messagelist li {
    border-radius: var(--sx-radius) !important;
    border: 1px solid var(--sx-border) !important;
    box-shadow: none !important;
    color: var(--sx-text) !important;
}

.grp-messagelist li.grp-warning,
ul.messagelist li.warning {
    border-color: rgba(181, 71, 8, 0.35) !important;
    color: var(--sx-warning) !important;
}

.grp-messagelist.sx-toast-list,
ul.messagelist.sx-toast-list {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    list-style: none !important;
    margin: 0 !important;
    max-width: min(520px, calc(100vw - 40px));
    padding: 0 !important;
    position: fixed !important;
    right: 28px;
    top: 78px;
    width: max-content;
    z-index: 10000;
}

.grp-messagelist.sx-toast-list li,
ul.messagelist.sx-toast-list li {
    animation: sx-toast-in 180ms ease-out;
    background: #fff !important;
    border: 1px solid var(--sx-border) !important;
    border-left: 4px solid var(--sx-accent) !important;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.18) !important;
    color: var(--sx-text) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    min-width: 260px;
    padding: 12px 14px !important;
    transition: opacity 180ms ease, transform 180ms ease;
}

.grp-messagelist.sx-toast-list li.grp-error,
ul.messagelist.sx-toast-list li.error {
    border-left-color: var(--sx-danger) !important;
}

.grp-messagelist.sx-toast-list li.grp-warning,
ul.messagelist.sx-toast-list li.warning {
    border-left-color: var(--sx-warning) !important;
}

.grp-messagelist.sx-toast-list li.sx-toast-hiding,
ul.messagelist.sx-toast-list li.sx-toast-hiding {
    opacity: 0;
    transform: translateY(-8px);
}

@keyframes sx-toast-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grp-pagination,
.paginator {
    color: var(--sx-muted) !important;
    font-size: 13px !important;
}

.grp-pagination a,
.paginator a {
    border: 1px solid var(--sx-border) !important;
    border-radius: 7px !important;
    padding: 5px 8px !important;
}

.login #grp-content,
body.login #grp-content,
body.login #content {
    max-width: 440px;
    margin: 58px auto 48px !important;
    padding: 0 20px 120px !important;
}

.login #grp-content-container,
body.login #grp-content-container,
body.login #content-main {
    padding: 28px !important;
    overflow: visible;
}

body.login .form-row {
    border: 0 !important;
    padding: 0 0 14px !important;
}

body.login .form-row label {
    color: var(--sx-text) !important;
    display: block;
    font-weight: 700;
    margin: 0 0 6px;
}

body.login .submit-row {
    border: 0 !important;
    box-shadow: none !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    position: static !important;
    text-align: left;
}

body.login .submit-row input[type="submit"] {
    width: 100%;
}

@media (max-width: 800px) {
    #grp-navigation,
    #header,
    #grp-context-navigation,
    #grp-content,
    #content {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    #grp-content,
    #content {
        margin-top: 18px !important;
    }

    #grp-content-container,
    #content-main {
        padding: 14px !important;
        padding-bottom: 120px !important;
        overflow-x: auto;
    }

    .stratusx-name {
        font-size: 16px !important;
    }
}

/* Unified admin header */
#grp-admin-title {
    display: none !important;
}

#stratusx-branding {
    flex: 0 1 auto;
}

.sx-header-service {
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-left: 18px;
    white-space: nowrap;
}

#grp-user-tools,
#user-tools {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin-left: auto !important;
    color: #cbd5e1 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-transform: uppercase;
}

#grp-user-tools a,
#user-tools a {
    color: #e5e7eb !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.sx-welcome,
.sx-admin-version {
    color: #cbd5e1 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap;
}

.sx-admin-version::after,
#grp-user-tools a::after,
#user-tools a::after {
    content: ' /';
    color: rgba(229, 231, 235, 0.72);
    margin-left: 8px;
}

#grp-user-tools .sx-logout-form,
#user-tools .sx-logout-form {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

#grp-user-tools .sx-logout-button,
#user-tools .sx-logout-button {
    background: var(--sx-accent) !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: #fff !important;
    cursor: pointer;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    min-height: 30px;
    padding: 0 14px !important;
    text-transform: uppercase;
}

#grp-user-tools .sx-logout-button:hover,
#grp-user-tools .sx-logout-button:focus,
#user-tools .sx-logout-button:hover,
#user-tools .sx-logout-button:focus {
    background: var(--sx-accent-hover) !important;
}

/* Final guard: keep header actions and changelist actions from collapsing. */
#grp-user-tools,
#user-tools {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    margin-right: 18px !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

#grp-user-tools > *,
#user-tools > * {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

#grp-user-tools .sx-logout-form,
#user-tools .sx-logout-form {
    min-width: max-content !important;
}

#grp-user-tools .sx-logout-button,
#user-tools .sx-logout-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    min-width: 66px !important;
    width: auto !important;
    white-space: nowrap !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row .grp-changelist-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row .grp-changelist-actions select,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row .grp-changelist-actions button[name="index"],
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row .grp-changelist-actions .grp-horizontal-list,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row .grp-changelist-actions .grp-horizontal-list li {
    float: none !important;
    margin: 0 !important;
    position: static !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row .grp-changelist-actions select {
    order: 1;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row .grp-changelist-actions button[name="index"] {
    order: 2;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row .grp-changelist-actions .grp-horizontal-list {
    order: 3;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row .grp-changelist-actions .action-counter {
    display: none !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row .sx-changelist-object-tools {
    margin-left: auto !important;
}

/* Match rentx Grappelli changelist toolbar behavior. */
#grp-user-tools .sx-logout-button,
#user-tools .sx-logout-button {
    margin: 0 !important;
}

body.grp-change-list #grp-changelist-form {
    clear: both !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
}

body.grp-change-list #grp-content-container,
body.grp-change-list #content-main {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
}

body.grp-change-list #grp-changelist,
body.grp-change-list .grp-changelist-results {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
}

body.grp-change-list .grp-changelist-results {
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

body.grp-change-list.sx-submit-row-top-enabled #grp-changelist-form {
    align-items: stretch !important;
    display: flex !important;
    flex-direction: column !important;
}

body.grp-change-list.sx-submit-row-top-enabled #grp-changelist {
    height: auto !important;
    min-height: 0 !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top {
    bottom: auto !important;
    box-sizing: border-box !important;
    height: auto !important;
    left: auto !important;
    margin: 0 0 6px !important;
    max-width: 100% !important;
    min-height: 0 !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 10px 12px !important;
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    z-index: 1 !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer > ul,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top > ul {
    align-items: center !important;
    display: flex !important;
    gap: 12px !important;
    justify-content: space-between !important;
    margin: 0 !important;
    min-height: 36px !important;
    padding: 0 !important;
    width: 100% !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer > ul > li.grp-changelist-actions,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top > ul > li.grp-changelist-actions {
    align-items: center !important;
    display: flex !important;
    flex: 1 1 auto !important;
    gap: 10px !important;
    height: 36px !important;
    margin: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer select,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer button[name="index"],
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer .grp-horizontal-list,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer .grp-horizontal-list li.grp-action-counter,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top select,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top button[name="index"],
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top .grp-horizontal-list,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top .grp-horizontal-list li.grp-action-counter {
    box-sizing: border-box !important;
    float: none !important;
    height: 34px !important;
    margin: 0 !important;
    max-height: 34px !important;
    min-height: 34px !important;
    position: static !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer button[name="index"],
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top button[name="index"] {
    align-items: center !important;
    display: inline-flex !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 14px !important;
    white-space: nowrap !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer .grp-horizontal-list,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top .grp-horizontal-list {
    align-items: center !important;
    display: flex !important;
    gap: 8px !important;
    padding: 0 !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer .grp-horizontal-list li.grp-action-counter,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top .grp-horizontal-list li.grp-action-counter {
    align-items: center !important;
    display: inline-flex !important;
    padding: 0 !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer .sx-changelist-object-tools,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top .sx-changelist-object-tools {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex: 0 0 auto !important;
    height: 36px !important;
    justify-content: flex-end !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
}

body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.grp-fixed-footer .sx-changelist-object-tools .grp-object-tools,
body.grp-change-list #grp-changelist-form > #submit.grp-submit-row.sx-submit-row-top .sx-changelist-object-tools .grp-object-tools {
    align-items: center !important;
    display: flex !important;
    float: none !important;
    gap: 8px !important;
    margin: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
}

/* Operation action pages: FOTA, GUI, APN, configuration and logs. */
#grp-content:has(.sx-operation-page),
#content:has(.sx-operation-page) {
    margin-top: 84px !important;
}

.sx-operation-page {
    margin-top: 0;
    max-width: 1180px;
    min-width: 0;
}

.sx-operation-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}

.sx-operation-panel {
    background: var(--sx-surface) !important;
    border: 1px solid var(--sx-border) !important;
    border-radius: var(--sx-radius) !important;
    box-shadow: var(--sx-shadow);
    overflow: hidden;
}

.sx-operation-panel-muted {
    box-shadow: none;
}

.sx-operation-panel h2 {
    background: var(--sx-surface-muted) !important;
    border-bottom: 1px solid var(--sx-border) !important;
    color: var(--sx-text) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 9px 12px !important;
}

.sx-operation-fields {
    overflow-x: auto;
    padding: 12px;
}

.sx-operation-fields table {
    border: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

.sx-operation-fields tr,
.sx-operation-fields th,
.sx-operation-fields td {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.sx-operation-fields th {
    color: var(--sx-text) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 7px 12px 7px 0 !important;
    text-align: left !important;
    vertical-align: top !important;
    white-space: nowrap;
    width: 180px;
}

.sx-operation-fields td {
    padding: 5px 0 !important;
    white-space: normal !important;
}

.sx-operation-fields select,
.sx-operation-fields input[type="text"],
.sx-operation-fields input[type="number"],
.sx-operation-fields input[type="url"],
.sx-operation-fields textarea {
    max-width: 100%;
    min-width: min(360px, 100%);
}

.sx-operation-fields .helptext,
.sx-operation-fields .grp-help {
    color: var(--sx-muted) !important;
    display: block !important;
    font-size: 12px !important;
    margin: 6px 0 0 !important;
}

.sx-operation-device-list {
    padding: 10px 12px 12px;
}

.sx-operation-device-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.sx-operation-device-list li {
    background: #eefaf8;
    border: 1px solid rgba(0, 143, 140, 0.18);
    border-radius: 6px;
    color: var(--sx-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    padding: 6px 8px;
}

.sx-operation-actions {
    align-items: center;
    background: var(--sx-surface) !important;
    border: 1px solid var(--sx-border) !important;
    border-radius: var(--sx-radius) !important;
    box-shadow: var(--sx-shadow);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    padding: 10px 12px;
}

.sx-operation-actions-top {
    margin-bottom: 0;
}

.sx-operation-actions input[type="submit"] {
    min-height: 34px !important;
}

.sx-operation-actions .sx-secondary-action {
    background: #fff !important;
    border-color: var(--sx-border) !important;
    color: var(--sx-text) !important;
}

.sx-operation-actions .sx-secondary-action:hover,
.sx-operation-actions .sx-secondary-action:focus {
    background: var(--sx-surface-muted) !important;
    border-color: #cbd5df !important;
    color: var(--sx-text) !important;
}
