.necs-support-login-wrap,
.necs-support-ticket,
.necs-support-products,
.necs-support-dashboard {
    width: 100%;
}

.necs-field {
    margin-bottom: 16px;
}

.necs-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.necs-field input,
.necs-field textarea,
.necs-field select {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
}

.necs-support-button {
    min-height: 46px;
    padding: 10px 20px;
    cursor: pointer;
}

.necs-support-error,
.necs-support-success,
.necs-support-notice {
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid currentColor;
}

.necs-support-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.necs-support-product {
    padding: 18px;
    border: 1px solid #ddd;
}

.necs-support-product__name {
    font-weight: 700;
}

.necs-support-product__status {
    margin-top: 6px;
    opacity: .75;
}

/* Customer login — scoped to avoid changing other forms or the WordPress theme. */
.necs-support-login-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 10px 7px 0;
    background: #fff;
    color: #102e54;
    font: 12px/1.3 Arial,Helvetica,sans-serif;
}

.necs-support-login-wrap * {
    box-sizing: border-box;
}

.necs-support-login-wrap h2 {
    margin: 0 0 10px;
    color: #102e54;
    font: 700 21px/1.25 Arial,Helvetica,sans-serif;
    letter-spacing: -.8px;
}

.necs-support-login-wrap .necs-support-login {
    margin: 0;
    padding: 0;
}

.necs-support-login-wrap .necs-field {
    margin: 0 0 11px;
}

.necs-support-login-wrap .necs-field label {
    margin: 0 0 3px;
    color: #102e54;
    font: 400 12px/1.3 Arial,Helvetica,sans-serif;
}

.necs-support-login-wrap .necs-login-input {
    position: relative;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.necs-support-login-wrap .necs-login-input>.necs-dashicon {
    font-size: 17px;
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    max-width: 17px;
    max-height: 17px;
    display: block;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.necs-support-login-wrap .necs-field input {
    display: block;
    width: 100%;
    height: 31px;
    min-height: 31px;
    margin: 0;
    padding: 5px 10px 5px 35px;
    border: 1px solid #dedede;
    border-radius: 6px;
    background: #f8f8f8;
    color: #102e54;
    box-shadow: none;
    font: 14px/1.3 Arial,Helvetica,sans-serif;
}

.necs-support-login-wrap .necs-support-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 32px;
    min-height: 32px;
    margin: 13px 0 0;
    padding: 6px 12px;
    border: 1px solid #e40022;
    border-radius: 5px;
    background: #e40022;
    color: #fff;
    font: 700 11px/1.3 Arial,Helvetica,sans-serif;
    text-transform: uppercase;
    letter-spacing: 0;
    box-shadow: none;
}

.necs-support-login-wrap .necs-support-button>.necs-dashicon {
    font-size: 13px;
    width: 13px;
    height: 13px;
    max-width: 13px;
    max-height: 13px;
    flex: 0 0 13px;
    display: block;
    margin: 0;
    padding: 0;
}

.necs-support-login-wrap .necs-support-button:hover {
    background: #c6001d;
    border-color: #c6001d;
}

.necs-support-login-wrap a {
    color: #102e54;
}

.necs-support-login-wrap a:hover {
    color: #c6001d;
}

.necs-support-login-wrap :focus-visible {
    outline: 2px solid #1977bd;
    outline-offset: 2px;
}

.necs-support-login-wrap .necs-field input:focus,
.necs-support-login-wrap .necs-field input:focus-visible {
    border-color: #1977bd;
    outline: none;
    box-shadow: none;
}

.necs-support-login-wrap .necs-login-recovery {
    margin: 10px 0 14px;
    text-align: center;
    font-size: 10px;
}

.necs-support-login-wrap .necs-login-recovery a {
    text-decoration: underline;
}

.necs-support-login-wrap .necs-login-help {
    margin: 0;
    padding: 16px 0 4px;
    border-top: 1px solid #e1e8f0;
    text-align: center;
    font-size: 10px;
    line-height: 1.35;
}

.necs-support-login-wrap .necs-login-help a {
    text-decoration: none;
}

.necs-support-login-wrap .necs-support-error {
    padding: 10px;
    border: 1px solid #e7b2b8;
    border-radius: 4px;
    background: #fff1f2;
    color: #8a1724;
}

/* Keep the reference's compact sizing when page-builder form rules override defaults. */
.necs-support-login-wrap h2 {
    font-size: 21px !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
}

.necs-support-login-wrap .necs-field {
    margin: 0 0 11px !important;
}

.necs-support-login-wrap .necs-field label {
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    margin: 0 0 3px !important;
}

.necs-support-login-wrap .necs-field input {
    height: 31px !important;
    min-height: 31px !important;
    padding: 5px 10px 5px 35px !important;
    border: 1px solid #cbd9e9 !important;
    border-radius: 4px !important;
    background: linear-gradient(110deg, #eaf2fb, #f1f6fc) !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    box-shadow: none !important;
}

.necs-support-login-wrap .necs-field input:focus {
    border-color: #1977bd !important;
    outline: none !important;
}

.necs-support-login-wrap .necs-login-input>.necs-dashicon {
    font-size: 17px;
    width: 17px !important;
    height: 17px !important;
}

.necs-support-login-wrap .necs-support-button {
    height: 32px !important;
    min-height: 32px !important;
    padding: 6px 12px !important;
    margin: 13px 0 0 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    border-radius: 5px !important;
    background: #e40022 !important;
    color: #fff !important;
}

.necs-support-login-wrap .necs-support-button:hover {
    background: #c6001d !important;
}

.necs-support-login-wrap .necs-support-button>.necs-dashicon {
    font-size: 13px;
    width: 13px !important;
    height: 13px !important;
}

.necs-support-login-wrap .necs-login-recovery {
    font-size: 10px !important;
    line-height: 1.3 !important;
    margin: 10px 0 14px !important;
}

.necs-support-login-wrap .necs-login-help {
    font-size: 10px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 16px 0 4px !important;
}

.necs-support-login-wrap .necs-login-recovery a,
.necs-support-login-wrap .necs-login-help a {
    font-size: inherit !important;
    line-height: inherit !important;
}

/* Customer dashboard — scoped to avoid changing the surrounding WordPress theme. */
.necs-support-dashboard {
    --necs-red: #cc0000;
    --necs-ink: #0c3055;
    --necs-border: #d5e1ed;
    color: var(--necs-ink);
    background: #fff;
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 18px 24px;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

.necs-support-dashboard,
.necs-support-dashboard * {
    box-sizing: border-box;
}

.necs-support-dashboard [hidden] {
    display: none !important;
}

.necs-support-dashboard h2,
.necs-support-dashboard h3,
.necs-support-dashboard h4 {
    color: var(--necs-ink);
    font-family: inherit;
    font-weight: 750;
    letter-spacing: -.6px;
    line-height: 1.2;
}

.necs-support-dashboard h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    margin: 0;
    letter-spacing: -1.5px;
}

.necs-support-dashboard h3 {
    font-size: 26px;
    margin: 0;
}

.necs-support-dashboard p {
    margin: 0 0 12px;
}

.necs-support-dashboard a {
    color: var(--necs-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.necs-support-dashboard a:hover {
    color: var(--necs-red);
}

.necs-support-dashboard :focus-visible {
    outline: 3px solid #1977bd;
    outline-offset: 3px;
}

.necs-support-dashboard .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.necs-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.necs-dashboard-title {
    flex: 1;
    min-width: 0;
}

.necs-dashboard-title p:last-child {
    margin: 0;
}

.necs-support-dashboard .necs-eyebrow {
    color: var(--necs-red);
    font-size: 15px;
    font-weight: 750;
    margin: 0 0 3px;
}

.necs-account-card {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(120deg, #f6f9fb, #f0f3f6);
    border: 1px solid #e2eaf2;
    border-radius: 5px;
}

.necs-account-card>.necs-dashicon {
    font-size: 40px;
    width: 40px;
    height: 45px;
}

.necs-account-card>div {
    min-width: 130px;
}

.necs-account-card span,
.necs-account-card small {
    display: block;
}

.necs-account-card small span {
    display: inline;
}

.necs-account-card small {
    margin-top: 3px;
}

.necs-support-dashboard .necs-support-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--necs-red);
    padding: 11px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.necs-support-logout .necs-dashicon {
    color: var(--necs-red);
}

.necs-toolbar {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 14px;
}

.necs-search {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    padding: 5px;
    border: 1px solid var(--necs-border);
    border-radius: 5px;
    background: #eef2f6;
    margin: 0;
}

.necs-search>.necs-dashicon {
    margin-left: 10px;
}

.necs-support-dashboard .necs-search input {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    width: 100%;
    font: inherit;
    color: var(--necs-ink);
    background: #fff;
    border: 0;
    padding: 10px 14px;
    box-shadow: none;
}

.necs-search input::placeholder {
    color: #506783;
    opacity: 1;
}

.necs-search .necs-support-button {
    min-width: 120px;
}

.necs-tabs {
    display: flex;
    gap: 18px;
}

.necs-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid #315574;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.necs-tabs a[aria-current=page] {
    background: #edf4fb;
    box-shadow: inset 0 -3px var(--necs-red);
}

.necs-plus {
    color: var(--necs-red);
    font-size: 30px;
    font-weight: 400;
    line-height: 20px;
}

.necs-compatibility-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 18px 48px 18px 20px;
    margin-bottom: 20px;
    background: #fff5f5;
    border: 1px solid #ffc9c9;
    border-radius: 9px;
}

.necs-compatibility-banner>.necs-dashicon {
    font-size: 58px;
    width: 58px;
    height: 58px;
    color: var(--necs-red);
}

.necs-compatibility-banner>div {
    flex: 1;
}

.necs-compatibility-banner h3 {
    font-size: 21px;
    margin-bottom: 6px;
}

.necs-compatibility-banner p:last-child {
    margin: 0;
    font-size: 14px;
}

.necs-dashicon {
    font-size: 1.15em;
    width: 1em;
    height: 1em;
    line-height: 1;
    vertical-align: -.15em;
    flex-shrink: 0;
    text-decoration: none;
}

/* Theme button rules must not turn this icon control into a filled CTA. */
.necs-support-dashboard .necs-compatibility-banner > button.necs-dismiss {
    appearance: none;
    position: absolute !important;
    top: 6px !important;
    right: 7px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 4px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: var(--necs-ink) !important;
    box-shadow: none !important;
    font-size: 24px !important;
    line-height: 1 !important;
    text-shadow: none !important;
    transform: none !important;
    cursor: pointer;
}

.necs-support-dashboard .necs-compatibility-banner > button.necs-dismiss:hover {
    background: #ffe4e4 !important;
}

.necs-support-dashboard .necs-dismiss:focus-visible {
    outline: 2px solid var(--necs-ink) !important;
    outline-offset: 2px;
}

.necs-support-dashboard .necs-dismiss::before,
.necs-support-dashboard .necs-dismiss::after {
    content: none !important;
}

.necs-support-dashboard .necs-dismiss .necs-dashicon {
    font-size: 24px;
    width: 24px;
    height: 24px;
    vertical-align: top;
}

.necs-notes-link[aria-disabled=true] {
    opacity: .5;
    cursor: not-allowed;
    text-decoration: none;
    pointer-events: auto;
}

.necs-notes-link[aria-disabled=true] .necs-release-link-label {
    text-decoration: none;
}

.necs-notes-dialog {
    border: 1px solid var(--necs-border);
    border-radius: 8px;
    padding: 32px 36px 28px;
    max-width: 560px;
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.necs-notes-dialog::backdrop {
    background: rgba(0, 0, 0, .55);
}

.necs-notes-dialog h3 {
    color: var(--necs-red);
    font-size: 22px;
    margin: 0 0 24px;
}

.necs-notes-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.necs-notes-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 0;
    background: transparent;
    color: var(--necs-ink);
    cursor: pointer;
    padding: 2px;
    line-height: 1;
}

.necs-dashboard-layout {
    display: grid;
    grid-template-columns: 254px minmax(0, 1fr);
    gap: 26px;
}

.necs-sidebar {
    background: linear-gradient(120deg, #f2f7fb, #f0f3f6);
    padding: 20px 15px;
    border: 1px solid var(--necs-border);
    border-radius: 6px;
    min-width: 0;
}

.necs-sidebar h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: -.3px;
    margin: 0 0 16px;
}

.necs-product-nav {
    margin: 0 -7px 24px;
}

.necs-product-nav h4 {
    font-size: 17px;
    margin: 22px 7px 7px;
}

.necs-product-nav h4:first-child {
    margin-top: 0;
}

.necs-product-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px 5px 22px;
    border-left: 4px solid transparent;
    border-radius: 0 4px 4px 0;
    text-decoration: none;
    line-height: 1.45;
}

.necs-product-nav a>.necs-dashicon {
    color: var(--necs-red);
    visibility: hidden;
}

.necs-product-nav a[aria-current] {
    background: #fbe7e7;
    border-left-color: var(--necs-red);
}

.necs-product-nav a[aria-current]>.necs-dashicon {
    visibility: visible;
}

.necs-product-nav a:hover {
    background: #fbe7e7;
}

.necs-sidebar .necs-resource-heading {
    border-top: 1px solid #cbd9e6;
    padding-top: 16px;
    margin-bottom: 12px;
}

.necs-resource-nav {
    display: grid;
    gap: 12px;
}

.necs-resource-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    text-decoration: none;
}

.necs-dashboard-main,
.necs-tab-panel {
    min-width: 0;
}

.necs-tab-panel[data-panel=ticket],
.necs-tab-panel[data-panel=remote] {
    padding: 24px;
    border: 1px solid var(--necs-border);
    border-radius: 5px;
}

.necs-tab-panel>h3 {
    margin-bottom: 12px;
}

.necs-support-dashboard .necs-guide-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.necs-support-dashboard .necs-guide-list>li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 10px 20px;
    border-top: 1px solid var(--necs-border);
}

.necs-support-dashboard .necs-guide-list>li>a:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.necs-support-dashboard .necs-guide-save {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.necs-product-releases {
    padding: 18px 19px 14px;
    border: 1px solid var(--necs-border);
    border-radius: 5px;
    margin: 10px 0 12px;
}

.necs-product-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.necs-product-heading>.necs-dashicon {
    font-size: 45px;
    width: 45px;
    height: 50px;
}

.necs-product-heading>div {
    flex: 1;
    min-width: 0;
}

.necs-product-heading h3 {
    font-size: 28px;
    margin-bottom: 2px;
}

.necs-product-heading p {
    font-size: 16px;
    margin: 0;
}

.necs-guide-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.necs-featured-release {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 29%;
    gap: 24px;
    background: linear-gradient(110deg, #eef6fd, #edf4fb);
    border: 1px solid #cfe1f3;
    border-radius: 5px;
    padding: 16px 20px;
}

.necs-latest-badge {
    display: inline-block;
    background: #16801d;
    color: white;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    padding: 4px 12px;
    border-radius: 5px;
}

.necs-release-content h4 {
    font-size: 28px;
    margin: 6px 0 3px;
}

.necs-release-date {
    margin-bottom: 8px !important;
}

.necs-release-links {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 15px;
    font-size: 14px;
    flex-wrap: wrap;
}

.necs-release-links a,
.necs-release-links summary {
    display: flex;
    align-items: center;
    gap: 10px;
}

.necs-release-links details {
    flex: 1;
    min-width: 180px;
}

.necs-release-links summary {
    cursor: pointer;
}

.necs-support-dashboard .necs-release-links a,
.necs-support-dashboard .necs-release-links summary {
    text-decoration: none;
}

.necs-release-link-label {
    text-decoration: underline;
}

.necs-release-links details p {
    margin: 10px 0 0;
}

.necs-release-download {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    border-left: 1px solid #ccdded;
    padding-left: 24px;
    margin: 8px 0;
    min-width: 0;
}

.necs-release-download>div {
    display: flex;
    gap: 18px;
    align-items: center;
}

.necs-release-download .necs-dashicon {
    font-size: 42px;
    width: 42px;
    height: 48px;
}

.necs-release-download p {
    margin: 0;
    overflow-wrap: anywhere;
}

.necs-release-download span {
    display: block;
    margin-top: 3px;
}

.necs-support-dashboard .necs-support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--necs-red);
    color: #fff;
    border: 1px solid var(--necs-red);
    border-radius: 5px;
    font: 700 14px Arial,sans-serif;
    line-height: 1.3;
    min-height: 44px;
    padding: 11px 17px;
    text-decoration: none;
    cursor: pointer;
}

.necs-support-button .necs-dashicon {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.necs-support-dashboard .necs-support-button:hover {
    background: #a80000;
    color: white;
}

.necs-support-button:disabled {
    opacity: .65;
    cursor: wait;
}

.necs-previous-versions {
    margin-top: 12px;
    border: 1px solid var(--necs-border);
    border-radius: 5px;
}

.necs-previous-versions>summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    list-style: none;
}

.necs-previous-versions>summary::-webkit-details-marker {
    display: none;
}

.necs-previous-versions>summary>span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    text-decoration: none;
}

.necs-previous-versions>summary>span>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    font-size: 0;
    line-height: 1;
    transform-origin: center;
}

.necs-previous-versions>summary>span>span::before {
    content: '';
    display: block;
    width: 12px;
    height: 10px;
    background: currentColor;
    clip-path: polygon(0 0, 18% 0, 50% 70%, 82% 0, 100% 0, 50% 100%);
}

.necs-previous-versions[open]>summary>span>span {
    transform: rotate(180deg);
}

.necs-before-install {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: #edf5fc;
    padding: 14px 20px;
    border-radius: 6px;
    margin-top: 13px;
    font-size: 14px;
}

.necs-before-install>.necs-dashicon {
    font-size: 34px;
    width: 34px;
    height: 34px;
    color: #0874b4;
}

.necs-before-install p {
    margin: 0;
    line-height: 1.35;
}

.necs-resource-cards {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 11px;
}

.necs-resource-card {
    border: 1px solid var(--necs-border);
    border-radius: 5px;
    overflow: hidden;
}

.necs-resource-card h3 {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 9px 20px;
    background: #f7fafc;
    border-bottom: 1px solid #e1e9f0;
    font-size: 18px;
}

.necs-resource-card h3 .necs-dashicon {
    font-size: 27px;
    width: 27px;
    height: 27px;
}

.necs-resource-card>div {
    padding: 12px 20px 16px 69px;
    font-size: 14px;
}

.necs-resource-card p {
    margin: 3px 0 12px;
    line-height: 1.4;
}

.necs-support-dashboard .necs-outline-button {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: var(--necs-red);
    border: 1px solid var(--necs-red);
    border-radius: 5px;
    padding: 7px 20px;
    font-weight: 700;
    text-decoration: none;
}

.necs-outline-button:hover {
    background: #fff1f1;
}

.necs-help-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 10px 0;
}

.necs-help-footer>div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.necs-help-footer .necs-dashicon {
    font-size: 38px;
    width: 38px;
    height: 42px;
    color: var(--necs-red);
}

.necs-help-footer strong {
    display: block;
    font-size: 20px;
}

.necs-help-footer small {
    display: block;
    font-size: 12px;
}

.necs-help-footer>a {
    padding: 14px 0 14px 20px;
    border-left: 1px solid #b2c3d5;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.necs-table-scroll {
    overflow: auto;
    max-width: 100%;
}

.necs-download-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 13px;
    min-width: 560px;
}

.necs-download-table th,
.necs-download-table td {
    padding: 12px;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--necs-border);
    vertical-align: top;
}

.necs-download-table th {
    background: #edf4fa;
}

.necs-download-table p {
    margin: 4px 0;
}

.necs-download-table small {
    display: block;
}

.necs-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
}

.necs-support-dashboard .necs-field input,
.necs-support-dashboard .necs-field textarea,
.necs-support-dashboard .necs-field select {
    border: 1px solid #cdd9e5;
    border-radius: 5px;
    background: white;
    color: var(--necs-ink);
    font: inherit;
}

.necs-form-note {
    margin-top: 12px !important;
    font-size: 13px;
}

.necs-remote-steps {
    padding-left: 22px;
    margin: 25px 0;
}

.necs-remote-steps li {
    padding-left: 8px;
    margin-bottom: 22px;
}

.necs-empty {
    padding: 32px;
    border: 1px dashed #ccd2da;
    border-radius: 8px;
    text-align: center;
}

.necs-support-dashboard .necs-support-error {
    background: #fff1f2;
    border-color: #e7b2b8;
    color: #8a1724;
    border-radius: 5px;
}

.necs-support-dashboard .necs-support-success {
    background: #f0faf3;
    border-color: #a5cfb4;
    color: #245d38;
    border-radius: 5px;
}

.necs-search-status {
    padding: 10px 0;
    font-weight: 600;
}

@media(min-width:1200px) {
    .necs-account-card {
        max-width: 40%;
    }

}

@media(max-width:1150px) {
    .necs-dashboard-header {
        flex-wrap: wrap;
    }
    .necs-account-card {
        width: 100%;
    }
    .necs-account-card>div {
        flex: 1;
    }
    .necs-toolbar {
        flex-wrap: wrap;
        gap: 12px;
    }
    .necs-search {
        flex-basis: 100%;
    }
    .necs-dashboard-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 18px;
    }
    .necs-featured-release {
        grid-template-columns: minmax(0, 1fr);
    }
    .necs-release-download {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-left: 0;
        border-top: 1px solid #ccdded;
        padding: 16px 0 0;
        margin: 0;
    }
    .necs-product-heading {
        flex-wrap: wrap;
    }
    .necs-guide-link {
        margin-left: 65px;
    }
    .necs-help-footer {
        flex-wrap: wrap;
    }
    .necs-resource-card>div {
        padding: 14px;
    }

}

@media(max-width:700px) {
    .necs-support-dashboard {
        padding: 16px 10px;
    }
    .necs-dashboard-layout {
        grid-template-columns: 1fr;
    }
    .necs-account-card {
        gap: 12px;
        padding: 14px;
        flex-wrap: wrap;
    }
    .necs-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    .necs-tabs a {
        font-size: 12px;
        padding: 10px;
    }
    .necs-compatibility-banner {
        gap: 12px;
        padding: 20px 48px 20px 14px;
        flex-wrap: wrap;
    }
    .necs-compatibility-banner>.necs-dashicon {
    font-size: 36px;
        width: 36px;
        height: 36px;
    }
    .necs-compatibility-banner h3 {
        font-size: 18px;
    }
    .necs-sidebar {
        padding: 16px;
    }
    .necs-product-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin: 0 0 16px;
    }
    .necs-product-nav h4 {
        width: 100%;
        margin: 12px 7px 4px;
    }
    .necs-product-nav a {
        padding: 5px 10px;
    }
    .necs-resource-nav {
        grid-template-columns: 1fr 1fr;
    }
    .necs-product-releases {
        margin-top: 0;
        padding: 14px;
    }
    .necs-product-heading {
        gap: 12px;
    }
    .necs-product-heading h3 {
        font-size: 23px;
    }
    .necs-product-heading p {
        font-size: 14px;
    }
    .necs-featured-release {
        padding: 14px;
        gap: 14px;
    }
    .necs-release-download {
        flex-wrap: wrap;
        gap: 16px;
    }
    .necs-resource-cards,
    .necs-form-grid {
        grid-template-columns: 1fr;
    }
    .necs-help-footer {
        align-items: flex-start;
        flex-direction: column;
    }
    .necs-help-footer>a {
        border-left: 0;
        padding: 0;
    }
    .necs-search {
        gap: 6px;
    }
    .necs-search .necs-support-button {
        min-width: 75px;
        padding: 10px;
    }

}

/* Knowledgebase uses the same ink, borders and red accents as the dashboard. */
.necs-support-dashboard .necs-kb-header {
    padding: 24px;
    background: #f2f6fa;
    border-bottom: 1px solid var(--necs-border);
}

.necs-support-dashboard .necs-kb-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 26px;
}

.necs-support-dashboard .necs-kb-header p {
    color: #52677c;
    line-height: 1.6;
}

.necs-support-dashboard .necs-legacy-kb .necs-kb-header {
    padding: 16px 20px;
}

.necs-support-dashboard .necs-legacy-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.necs-support-dashboard .necs-legacy-controls label {
    font-weight: 600;
}

.necs-support-dashboard .necs-legacy-controls select {
    flex: 1;
    min-width: 180px;
    padding: 10px 12px;
    border: 1px solid var(--necs-border);
    background: white;
    color: var(--necs-ink);
    font: inherit;
    border-radius: 4px;
}

.necs-support-dashboard .necs-legacy-frame {
    display: block;
    width: 100%;
    height: calc(100vh - 180px);
    min-height: 650px;
    border: 0;
    background: white;
}

@media(max-width:700px) {
    .necs-support-dashboard .necs-legacy-frame {
        min-height: 600px;
    }

}

.necs-support-dashboard .necs-legacy-controls select {
    max-width: 100%;
}

/* V4 optimizer: scoped to the dashboard and independent of its ticket form. */
.necs-optimizer .necs-optimizer-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.necs-optimizer .necs-optimizer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.necs-optimizer .necs-optimizer-card {
    padding: 20px;
    border: 1px solid var(--necs-border);
    border-radius: 7px;
    background: #fff;
    min-width: 0;
}

.necs-optimizer .necs-optimizer-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.necs-optimizer .necs-optimizer-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--necs-red);
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.necs-optimizer h4 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.3;
    color: var(--necs-red);
}

.necs-optimizer p {
    margin: 0;
    line-height: 1.6;
}

.necs-optimizer .necs-optimizer-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.necs-optimizer .necs-optimizer-input label {
    font-weight: 700;
    color: var(--necs-red);
}

.necs-optimizer .necs-optimizer-input input {
    box-sizing: border-box;
    width: 100px;
    padding: 12px;
    border: 1px solid var(--necs-border);
    border-radius: 4px;
    font: inherit;
    color: inherit;
    background: #fff;
}

.necs-optimizer form .necs-support-button {
    width: 100%;
}

.necs-optimizer .necs-optimizer-note {
    margin-top: 12px;
    font-size: 12px;
}

.necs-optimizer .necs-optimizer-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.necs-optimizer .necs-optimizer-table th,
.necs-optimizer .necs-optimizer-table td {
    padding: 10px;
    border: 1px solid #b8c2cd;
    overflow-wrap: anywhere;
}

.necs-optimizer .necs-optimizer-table thead th {
    text-transform: uppercase;
    font-size: 11px;
    background: #edf2f8;
}

.necs-optimizer .necs-optimizer-table thead th:first-child {
    text-align: left;
}

.necs-optimizer .necs-optimizer-table tbody th {
    font-weight: 400;
    text-align: left;
}

.necs-optimizer .necs-optimizer-table td {
    text-align: center;
    font-weight: 700;
}

.necs-optimizer .necs-optimizer-table tbody tr:nth-child(odd) {
    background: #f6f6f6;
}

.necs-optimizer .necs-optimizer-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.necs-optimizer .necs-optimizer-actions button {
    flex: 1;
    min-width: 0;
}

.necs-optimizer .necs-optimizer-status:not(:empty) {
    margin-top: 10px;
}

.necs-optimizer .necs-optimizer-copy-text {
    box-sizing: border-box;
    width: 100%;
    min-height: 230px;
    margin-top: 10px;
}

.necs-optimizer .necs-optimizer-warning,
.necs-optimizer .necs-optimizer-restart {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    margin-top: 16px;
    border: 1px solid #ffd363;
    border-radius: 4px;
    background: #fff8e1;
    color: #805300;
    font-size: 13px;
}

.necs-optimizer .necs-optimizer-warning>.necs-dashicon,
.necs-optimizer .necs-optimizer-restart>.necs-dashicon {
    font-size: 28px;
}

.necs-optimizer .necs-optimizer-restart {
    border-color: #ffb4b4;
    background: #fff2f2;
    color: var(--necs-ink);
}

.necs-optimizer .necs-optimizer-restart strong,
.necs-optimizer .necs-optimizer-restart>.necs-dashicon {
    color: var(--necs-red);
}

.necs-optimizer .necs-optimizer-instructions {
    list-style: none;
    margin: 0;
    padding: 0;
}

.necs-optimizer .necs-optimizer-instructions li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    margin: 0;
}

.necs-optimizer .necs-optimizer-instructions li+li {
    border-top: 1px solid var(--necs-border);
}

.necs-optimizer .necs-optimizer-instructions strong {
    color: var(--necs-red);
}

.necs-optimizer .necs-optimizer-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--necs-red);
}

.necs-optimizer .necs-optimizer-step-icon .necs-dashicon {
    font-size: 26px;
}

.necs-optimizer .necs-optimizer-v5 {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.necs-optimizer .necs-optimizer-v5 {
    margin-top: 12px;
    align-items: center;
}

.necs-optimizer .necs-optimizer-v5>div {
    flex: 1;
    min-width: 0;
}

.necs-optimizer .necs-optimizer-v5>a {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--necs-red);
}

@media (max-width: 1100px) {
    .necs-optimizer .necs-optimizer-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .necs-optimizer .necs-optimizer-card {
        padding: 16px;
    }
    .necs-optimizer .necs-optimizer-v5 {
        flex-wrap: wrap;
    }
    .necs-optimizer .necs-optimizer-v5>a {
        flex-basis: 100%;
    }
    .necs-optimizer .necs-optimizer-input {
        align-items: flex-start;
        flex-direction: column;
    }
}
