body.internal-shell .internal-mobile-lang {
    display: none !important;
}

@media (max-width: 767px) {
    body.internal-shell .internal-topbar .navbar-header {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 0;
        float: none;
        margin: 0;
    }

    body.internal-shell .internal-topbar .navbar-brand {
        float: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        margin-right: auto;
        order: 2;
        margin-left: 0 !important;
    }

    body.internal-shell .internal-mobile-lang {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
        margin-right: 5px;
        position: relative;
        z-index: 1070;
        flex: 0 0 auto;
        order: 1;
    }

    body.internal-shell .internal-mobile-lang .main-site-lang-trigger {
        min-height: 44px;
        padding: 10px 14px;
        border-radius: 14px;
    }

    body.internal-shell .internal-mobile-lang .main-site-lang-menu {
        right: 0;
        left: auto;
        min-width: 180px;
        z-index: 1080;
    }

    body.internal-shell .internal-topbar .navbar-toggle.internal-nav-toggle {
        float: none;
        flex: 0 0 auto;
        margin: 0;
        order: 3;
    }

    body.internal-shell .internal-nav-language {
        display: none !important;
    }
}

@media (min-width: 768px) {
    body.internal-shell .internal-nav-language {
        display: flex !important;
    }
}

@media (max-width: 991px) {
    body.internal-shell .internal-topbar .navbar-header .internal-nav-toggle {
        order: 1;
        flex: 0 0 auto;
        margin-left: 0 !important;
    }
}


/*
   ------------------------------------------------------
	Competition Overview KPI Cards
   ------------------------------------------------------
*/

body.internal-shell .competition-overview [hidden] {
    display: none !important;
}

body.internal-shell .competition-overview-page {
    padding-top: 4px;
}

body.internal-shell .competition-overview-section {
    margin-bottom: 26px;
}

body.internal-shell .competition-overview {
    position: relative;
    width: 100%;
    margin-top: 28px;
    margin-bottom: 34px;
}

body.internal-shell .competition-overview__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border: 1px solid #dbe4ef;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.internal-shell .competition-overview__hero-main {
    flex: 1 1 420px;
    min-width: 0;
}

body.internal-shell .competition-overview__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.internal-shell .competition-overview__page-title {
    margin: 14px 0 10px;
    color: #0f172a;
    font-size: 32px;
    line-height: 1.12;
    font-weight: 900;
}

body.internal-shell .competition-overview__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #475569;
    font-size: 15px;
    line-height: 1.5;
}

body.internal-shell .competition-overview__meta strong {
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

body.internal-shell .competition-overview__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 12px;
    margin-left: auto;
    flex: 0 0 auto;
}

body.internal-shell .competition-overview__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

body.internal-shell .competition-overview__action--primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

body.internal-shell .competition-overview__action--primary:hover,
body.internal-shell .competition-overview__action--primary:focus {
    color: #ffffff;
    text-decoration: none;
    background: #1d4ed8;
    border-color: #1d4ed8;
}

body.internal-shell .competition-overview__action--secondary {
    background: #ffffff;
    border-color: #dbe4ef;
    color: #64748b;
}

body.internal-shell .competition-overview__action--secondary[disabled] {
    opacity: .8;
    cursor: not-allowed;
    box-shadow: none;
}

body.internal-shell .competition-overview__section-head {
    margin: 18px 0 16px;
}

body.internal-shell .competition-overview__section-head h3 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

body.internal-shell .competition-overview__section-head p {
    margin: 0;
    color: #52627a;
    font-size: 14px;
    line-height: 1.45;
}

body.internal-shell .competition-overview__content {
    position: relative;
    min-height: 210px;
}

body.internal-shell .competition-overview__loading,
body.internal-shell .competition-overview__error {
    border: 1px solid #dbe4ef;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

body.internal-shell .competition-overview__loading {
    padding: 20px;
}

body.internal-shell .competition-overview__loading-copy {
    margin-top: 16px;
    color: #52627a;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

body.internal-shell .competition-overview__skeleton-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

body.internal-shell .competition-overview__skeleton-card {
    min-height: 170px;
    border-radius: 20px;
    background: linear-gradient(90deg, #eef3f9 25%, #f8fbff 37%, #eef3f9 63%);
    background-size: 400% 100%;
    animation: competitionOverviewSkeleton 1.4s ease infinite;
}

body.internal-shell .competition-overview__error {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-color: #fecaca;
    background: #fff7f7;
}

body.internal-shell .competition-overview__error--static {
    border-color: #dbe4ef;
    background: #ffffff;
}

body.internal-shell .competition-overview__error-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fee2e2;
    color: #dc2626;
    flex: 0 0 44px;
    font-size: 18px;
}

body.internal-shell .competition-overview__error--static .competition-overview__error-icon {
    background: #eef4ff;
    color: #2563eb;
}

body.internal-shell .competition-overview__error-body {
    min-width: 0;
}

body.internal-shell .competition-overview__error-body strong {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
}

body.internal-shell .competition-overview__error-body p {
    margin: 0 0 12px;
    color: #52627a;
    font-size: 14px;
    line-height: 1.45;
}

body.internal-shell .competition-overview__retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #fca5a5;
    border-radius: 12px;
    background: #ffffff;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 800;
}

body.internal-shell .competition-overview__retry:hover,
body.internal-shell .competition-overview__retry:focus {
    background: #fff1f2;
}

body.internal-shell .competition-overview__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    align-items: stretch;
}

body.internal-shell .competition-overview__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 170px;
    padding: 22px 24px;
    border: 1px solid rgba(30, 86, 160, 0.14);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

body.internal-shell .competition-overview__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    margin-bottom: 16px;
}

body.internal-shell .competition-overview__label {
    margin-bottom: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.internal-shell .competition-overview__value {
    color: #071228;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

body.internal-shell .competition-overview__helper {
    margin-top: auto;
    padding-top: 12px;
    color: #52627a;
    font-size: 14px;
    line-height: 1.35;
}

@keyframes competitionOverviewSkeleton {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

@media (max-width: 1199px) {
    body.internal-shell .competition-overview__grid,
    body.internal-shell .competition-overview__skeleton-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    body.internal-shell .competition-overview__hero {
        padding: 20px;
    }

    body.internal-shell .competition-overview__actions {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    body.internal-shell .competition-overview__hero {
        flex-direction: column;
        padding: 18px 16px;
        border-radius: 18px;
    }

    /* .competition-overview__hero-main uses "flex: 1 1 420px" for the desktop
       side-by-side layout, where 420px is a target WIDTH. Once the hero
       switches to flex-direction: column above, that same flex-basis applies
       to HEIGHT instead, forcing ~420px of empty vertical space before the
       action buttons even though the actual title/meta content is much
       shorter. Reset it to size from content on narrow screens. */
    body.internal-shell .competition-overview__hero-main {
        flex: 1 1 auto;
    }

    body.internal-shell .competition-overview__page-title {
        font-size: 26px;
    }

    body.internal-shell .competition-overview__meta strong {
        font-size: 18px;
    }

    body.internal-shell .competition-overview__actions {
        width: 100%;
        gap: 10px;
    }

    body.internal-shell .competition-overview__action {
        width: 100%;
    }

    body.internal-shell .competition-overview__grid,
    body.internal-shell .competition-overview__skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.internal-shell .competition-overview__card,
    body.internal-shell .competition-overview__skeleton-card {
        min-height: 145px;
    }

    body.internal-shell .competition-overview__card {
        padding: 16px;
    }

    body.internal-shell .competition-overview__value {
        font-size: 28px;
    }

    body.internal-shell .competition-overview__helper {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    body.internal-shell .competition-overview__grid,
    body.internal-shell .competition-overview__skeleton-grid {
        grid-template-columns: 1fr;
    }
}

body.internal-shell .competition-overview .is-hidden {
    display: none !important;
}

/*
   ------------------------------------------------------
	Competition Readiness Center
   ------------------------------------------------------
*/

body.internal-shell .competition-readiness {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #dbe4ef;
    border-radius: 24px;
    background: #f8fafc;
    color: #334155;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

body.internal-shell .competition-readiness *,
body.internal-shell .competition-readiness *::before,
body.internal-shell .competition-readiness *::after {
    box-sizing: border-box;
}

body.internal-shell .competition-readiness__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

body.internal-shell .competition-readiness__eyebrow,
body.internal-shell .competition-readiness__card-eyebrow {
    margin: 0 0 7px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.internal-shell .competition-readiness__title {
    margin: 0;
    color: #0f172a;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
}

body.internal-shell .competition-readiness__description {
    max-width: 68ch;
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

body.internal-shell .competition-readiness__live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.internal-shell .competition-readiness__state {
    min-width: 0;
    padding: 24px;
    border: 1px solid #dbe4ef;
    border-radius: 18px;
    background: #ffffff;
}

body.internal-shell .competition-readiness__loading p,
body.internal-shell .competition-readiness__empty {
    margin: 16px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

body.internal-shell .competition-readiness__empty {
    margin-top: 0;
}

body.internal-shell .competition-readiness__loading-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body.internal-shell .competition-readiness__loading-grid span {
    display: block;
    min-height: 112px;
    border-radius: 16px;
    background: linear-gradient(90deg, #e9eff6 25%, #f8fbff 37%, #e9eff6 63%);
    background-size: 400% 100%;
    animation: competitionOverviewSkeleton 1.4s ease infinite;
}

body.internal-shell .competition-readiness__error {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-color: #fecaca;
    background: #fff7f7;
}

body.internal-shell .competition-readiness__error strong {
    display: block;
    margin-bottom: 5px;
    color: #991b1b;
    font-size: 16px;
    font-weight: 800;
}

body.internal-shell .competition-readiness__error p {
    margin: 0;
    color: #7f1d1d;
    line-height: 1.5;
}

body.internal-shell .competition-readiness__content,
body.internal-shell .competition-readiness__primary-grid,
body.internal-shell .competition-readiness__checks {
    min-width: 0;
}

body.internal-shell .competition-readiness__primary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body.internal-shell .competition-readiness__card,
body.internal-shell .competition-readiness__next-action {
    min-width: 0;
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

body.internal-shell .competition-readiness__card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

body.internal-shell .competition-readiness__card-heading > div {
    min-width: 0;
}

body.internal-shell .competition-readiness__card h4,
body.internal-shell .competition-readiness__section-heading h4,
body.internal-shell .competition-readiness__next-action h4 {
    margin: 0;
    color: #0f172a;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

body.internal-shell .competition-readiness__badge,
body.internal-shell .competition-readiness__category-badge,
body.internal-shell .competition-readiness__blocker-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

body.internal-shell .competition-readiness__badge.is-ok,
body.internal-shell .competition-readiness__category.is-ok .competition-readiness__category-badge {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

body.internal-shell .competition-readiness__badge.is-warning,
body.internal-shell .competition-readiness__category.is-warning .competition-readiness__category-badge {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

body.internal-shell .competition-readiness__badge.is-blocking,
body.internal-shell .competition-readiness__category.is-blocking .competition-readiness__category-badge,
body.internal-shell .competition-readiness__blockers-card.has-blockers .competition-readiness__blocker-count {
    border-color: #fecaca;
    background: #fff1f2;
    color: #991b1b;
}

body.internal-shell .competition-readiness__badge.is-empty,
body.internal-shell .competition-readiness__category.is-not-applicable .competition-readiness__category-badge {
    border-color: #dbe4ef;
    background: #f8fafc;
    color: #475569;
}

body.internal-shell .competition-readiness__score-row {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin-top: 24px;
}

body.internal-shell .competition-readiness__score-row strong {
    color: #0f172a;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

body.internal-shell .competition-readiness__score-row span {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

body.internal-shell .competition-readiness__progress {
    height: 10px;
    margin-top: 13px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

body.internal-shell .competition-readiness__progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #2563eb;
    transition: width .25s ease;
}

body.internal-shell .competition-readiness.has-blocking .competition-readiness__progress span {
    background: #dc2626;
}

body.internal-shell .competition-readiness.has-warning .competition-readiness__progress span {
    background: #d97706;
}

body.internal-shell .competition-readiness.is-ready .competition-readiness__progress span {
    background: #16a34a;
}

body.internal-shell .competition-readiness__status-message {
    min-height: 42px;
    margin: 15px 0 0;
    color: #475569;
    line-height: 1.5;
}

body.internal-shell .competition-readiness__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0 0;
}

body.internal-shell .competition-readiness__summary > div {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

body.internal-shell .competition-readiness__summary dt {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
    line-height: 1.3;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

body.internal-shell .competition-readiness__summary dd {
    margin: 5px 0 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

body.internal-shell .competition-readiness__blockers-card {
    border-left: 4px solid #dc2626;
}

body.internal-shell .competition-readiness__blockers-card.is-clear {
    border-left-color: #16a34a;
}

body.internal-shell .competition-readiness__blockers-card.is-clear .competition-readiness__blocker-count {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

body.internal-shell .competition-readiness__blockers-success,
body.internal-shell .competition-readiness__blockers-intro {
    margin: 22px 0 0;
    color: #475569;
    line-height: 1.5;
}

body.internal-shell .competition-readiness__blockers-success {
    color: #166534;
    font-weight: 700;
}

body.internal-shell .competition-readiness__blocker-list {
    margin: 14px 0 18px;
    padding-left: 21px;
    color: #7f1d1d;
}

body.internal-shell .competition-readiness__blocker-list li {
    margin-bottom: 7px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

body.internal-shell .competition-readiness__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.internal-shell .competition-readiness__button--primary {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

body.internal-shell .competition-readiness__button--secondary {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #334155;
}

body.internal-shell .competition-readiness__button--danger {
    border-color: #dc2626;
    background: #dc2626;
    color: #ffffff;
}

body.internal-shell .competition-readiness__button:hover,
body.internal-shell .competition-readiness__button:focus {
    color: inherit;
    text-decoration: none;
    filter: brightness(.96);
}

body.internal-shell .competition-readiness__button--primary:hover,
body.internal-shell .competition-readiness__button--primary:focus,
body.internal-shell .competition-readiness__button--danger:hover,
body.internal-shell .competition-readiness__button--danger:focus {
    color: #ffffff;
}

body.internal-shell .competition-readiness__categories-section {
    margin-top: 24px;
}

body.internal-shell .competition-readiness__section-heading {
    margin-bottom: 13px;
}

body.internal-shell .competition-readiness__section-heading p {
    margin: 5px 0 0;
    color: #64748b;
    line-height: 1.5;
}

body.internal-shell .competition-readiness__checks {
    display: grid;
    gap: 11px;
}

body.internal-shell .competition-readiness__category {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    background: #ffffff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

body.internal-shell .competition-readiness__category.is-highlighted {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .14);
}

body.internal-shell .competition-readiness__category-trigger {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 32px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 12px 14px;
    border: 0;
    background: #ffffff;
    color: #0f172a;
    text-align: left;
}

body.internal-shell .competition-readiness__category-title {
    min-width: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

body.internal-shell .competition-readiness__category-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #334155;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

body.internal-shell .competition-readiness__category-trigger[aria-expanded="true"] .competition-readiness__category-indicator {
    background: #e0e7ff;
    color: #3730a3;
}

body.internal-shell .competition-readiness__category-panel {
    padding: 0 14px 14px;
}

body.internal-shell .competition-readiness__check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border-radius: 13px;
    background: #f8fafc;
}

body.internal-shell .competition-readiness__check-status {
    width: 11px;
    height: 11px;
    margin-top: 5px;
    border: 3px solid #64748b;
    border-radius: 50%;
    flex: 0 0 11px;
}

body.internal-shell .competition-readiness__check.is-ok .competition-readiness__check-status {
    border-color: #16a34a;
}

body.internal-shell .competition-readiness__check.is-warning .competition-readiness__check-status {
    border-color: #d97706;
}

body.internal-shell .competition-readiness__check.is-blocking .competition-readiness__check-status {
    border-color: #dc2626;
}

body.internal-shell .competition-readiness__check-content {
    min-width: 0;
}

body.internal-shell .competition-readiness__check-title {
    margin: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

body.internal-shell .competition-readiness__check-message {
    margin: 5px 0 0;
    color: #52627a;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

body.internal-shell .competition-readiness__check-action {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 10px;
    color: #1d4ed8;
    font-weight: 800;
}

body.internal-shell .competition-readiness__next-action {
    margin-top: 24px;
    border-left: 4px solid #2563eb;
}

body.internal-shell .competition-readiness__next-action.is-blocker {
    border-left-color: #dc2626;
}

body.internal-shell .competition-readiness__next-action.is-warning {
    border-left-color: #d97706;
}

body.internal-shell .competition-readiness__next-action.is-incomplete {
    border-left-color: #64748b;
}

body.internal-shell .competition-readiness__next-action > strong {
    display: block;
    margin-top: 16px;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

body.internal-shell .competition-readiness__next-action > p:not(.competition-readiness__card-eyebrow) {
    margin: 7px 0 0;
    color: #52627a;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

body.internal-shell .competition-readiness__next-action .competition-readiness__button {
    margin-top: 15px;
}

body.internal-shell .competition-readiness__category-trigger:focus,
body.internal-shell .competition-readiness__button:focus,
body.internal-shell .competition-readiness__check-action:focus,
body.internal-shell .competition-readiness__check:focus {
    outline: 3px solid rgba(37, 99, 235, .34);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    body.internal-shell .competition-readiness {
        margin-top: 22px;
        padding: 18px 16px;
        border-radius: 19px;
    }

    body.internal-shell .competition-readiness__title {
        font-size: 23px;
    }

    body.internal-shell .competition-readiness__primary-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.internal-shell .competition-readiness__card,
    body.internal-shell .competition-readiness__next-action,
    body.internal-shell .competition-readiness__state {
        padding: 18px;
        border-radius: 16px;
    }

    body.internal-shell .competition-readiness__error {
        align-items: flex-start;
        flex-direction: column;
    }

    body.internal-shell .competition-readiness__loading-grid {
        grid-template-columns: 1fr;
    }

    body.internal-shell .competition-readiness__loading-grid span:not(:first-child) {
        display: none;
    }
}

@media (max-width: 480px) {
    body.internal-shell .competition-readiness__card-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    body.internal-shell .competition-readiness__score-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    body.internal-shell .competition-readiness__summary {
        gap: 7px;
    }

    body.internal-shell .competition-readiness__summary > div {
        padding: 9px 7px;
    }

    body.internal-shell .competition-readiness__summary dt {
        font-size: 10px;
    }

    body.internal-shell .competition-readiness__category-trigger {
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 8px 10px;
    }

    body.internal-shell .competition-readiness__category-badge {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    body.internal-shell .competition-readiness__category-indicator {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    body.internal-shell .competition-readiness__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.internal-shell .competition-readiness__loading-grid span {
        animation: none;
    }

    body.internal-shell .competition-readiness__progress span,
    body.internal-shell .competition-readiness__category {
        transition: none;
    }
}

/*
   ------------------------------------------------------
	Users Dashboard Ranking Table
   ------------------------------------------------------
*/

.dashboard-ranking-desktop {
    display: block;
    width: 100%;
}

.dashboard-card--table,
.dashboard-card--table .dashboard-card__body,
.dashboard-ranking-team-card,
.dashboard-ranking-team-card__actions,
.dashboard-ranking-team-card__body {
    overflow: visible;
}

.dashboard-ranking-desktop-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dashboard-ranking-team-card {
    position: relative;
    display: block;
    padding: 20px;
    border: 1px solid #dfe7f1;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.dashboard-ranking-team-card--compact {
    padding: 20px;
}

.dashboard-ranking-team-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.dashboard-ranking-team-card__identity {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.dashboard-ranking-team-card__identity-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.dashboard-ranking-team-card__rank-badge {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(180deg, #eaf4ff 0%, #d8eaff 100%);
    border: 1px solid #cddff5;
    color: #1769a6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    flex: 0 0 58px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.dashboard-ranking-team-card__rank-badge--gold {
    background: linear-gradient(180deg, #fff8d9 0%, #f8e7a2 100%);
    border-color: #ecd37d;
    color: #8a6400;
}

.dashboard-ranking-team-card__rank-badge--silver {
    background: linear-gradient(180deg, #f8fafc 0%, #e5ecf4 100%);
    border-color: #d4dde7;
    color: #475569;
}

.dashboard-ranking-team-card__rank-badge--bronze {
    background: linear-gradient(180deg, #fbe8dd 0%, #efc2a3 100%);
    border-color: #e4b38d;
    color: #8a4b21;
}

.dashboard-ranking-team-card__identity-copy h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.dashboard-ranking-team-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.dashboard-ranking-team-card__sector-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 999px;
    background: #edf6ff;
    border: 1px solid #d8eaff;
    color: #1769a6;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.dashboard-ranking-team-card__actions-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.dashboard-ranking-team-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr);
    gap: 18px;
    align-items: start;
}

.dashboard-ranking-team-card__main {
    min-width: 0;
}

.dashboard-ranking-team-card__description {
    margin: 0 0 14px;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.dashboard-ranking-team-card__description-label {
    display: inline-block;
    margin-right: 6px;
    color: #0f172a;
    font-weight: 800;
}

.dashboard-ranking-team-card__participants-block {
    padding: 14px;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    background: #f8fafc;
}

.dashboard-ranking-team-card__participants-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    min-width: 0;
}

.dashboard-ranking-team-card__participants-head strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.dashboard-ranking-team-card__participants-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    background: #eaf3ff;
    color: #1769a6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    font-size: 13px;
}

.dashboard-ranking-team-card__participants-count {
    margin-left: auto;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    flex: 0 0 auto;
}

.dashboard-ranking-team-card__participants-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-ranking-team-card__participant {
    padding: 11px 12px;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    min-width: 0;
}

.dashboard-ranking-team-card__participant-head {
    margin-bottom: 8px;
}

.dashboard-ranking-team-card__participant-name-wrap {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.dashboard-ranking-team-card__captain-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    flex: 0 0 auto;
}

.dashboard-ranking-team-card__participant-name {
    display: block;
    min-width: 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.dashboard-ranking-team-card__participant-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.dashboard-ranking-team-card__participant-chip {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 8px 9px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
}

.dashboard-ranking-team-card__participant-chip-label {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dashboard-ranking-team-card__participant-chip strong {
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.dashboard-ranking-team-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
}

.dashboard-ranking-team-card__stat-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    min-height: 92px;
    padding: 14px;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.dashboard-ranking-team-card__stat-label {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dashboard-ranking-team-card__stat-value {
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.dashboard-ranking-team-card__stat-value .fish-count-link,
.dashboard-ranking-team-card__stat-tile .fish-count-link {
    color: #1769a6;
    font-weight: 900;
    text-decoration: none;
}

.dashboard-ranking-team-card__stat-tile--penalty .dashboard-ranking-team-card__stat-value {
    color: #c62828;
}

.dashboard-ranking-team-card__stat-tile--total {
    background: linear-gradient(180deg, #ecfdf3 0%, #dcfce7 100%);
    border-color: #b7ebc6;
}

.dashboard-ranking-team-card__stat-tile--total .dashboard-ranking-team-card__stat-value {
    color: #2e7d32;
}

.dashboard-team-actions-dropdown {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: auto;
    max-width: 100%;
}

.dashboard-team-actions-dropdown__toggle {
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.dashboard-team-actions-dropdown__toggle:hover,
.dashboard-team-actions-dropdown__toggle:focus,
.dashboard-team-actions-dropdown.open .dashboard-team-actions-dropdown__toggle {
    color: #0f172a;
    border-color: #c5d7ee;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

.dashboard-team-actions-dropdown__toggle .fa,
.dashboard-team-actions-dropdown__toggle .caret {
    flex: 0 0 auto;
}

.dashboard-team-actions-dropdown__menu {
    right: 0;
    left: auto;
    min-width: 224px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

.dashboard-team-actions-dropdown__menu > li > a.dashboard-team-actions-dropdown__link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
}

.dashboard-team-actions-dropdown__menu > li > a.dashboard-team-actions-dropdown__link:hover,
.dashboard-team-actions-dropdown__menu > li > a.dashboard-team-actions-dropdown__link:focus {
    background: #f8fafc;
    color: #0f172a;
}

.dashboard-team-actions-dropdown__menu > li > a.dashboard-team-actions-dropdown__link .glyphicon,
.dashboard-team-actions-dropdown__menu > li > a.dashboard-team-actions-dropdown__link .fa {
    top: 0;
    width: 16px;
    text-align: center;
    flex: 0 0 16px;
}

.dashboard-team-actions-dropdown__divider {
    margin: 8px 4px;
    background-color: #e5eaf2;
}

.dashboard-team-actions-dropdown__menu > li > a.dashboard-team-actions-dropdown__link--danger,
.dashboard-team-actions-dropdown__menu > li > a.dashboard-team-actions-dropdown__link--danger:hover,
.dashboard-team-actions-dropdown__menu > li > a.dashboard-team-actions-dropdown__link--danger:focus {
    color: #c62828;
}

.dashboard-team-actions-dropdown__menu > li > a.dashboard-team-actions-dropdown__link--danger:hover,
.dashboard-team-actions-dropdown__menu > li > a.dashboard-team-actions-dropdown__link--danger:focus {
    background: #fff5f5;
}

.dashboard-ranking-desktop-summary-card {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border: 1px solid #d8e7f8;
    border-radius: 18px;
    background: #eef6ff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.dashboard-ranking-desktop-summary-card__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(216, 231, 248, 0.9);
}

.dashboard-ranking-desktop-summary-card__item--penalty .dashboard-ranking-desktop-summary-card__value {
    color: #c62828;
}

.dashboard-ranking-desktop-summary-card__item--total .dashboard-ranking-desktop-summary-card__value {
    color: #2e7d32;
}

.dashboard-ranking-desktop-summary-card__label {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dashboard-ranking-desktop-summary-card__value {
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

@media (max-width: 1399px) {
    .dashboard-ranking-team-card {
        grid-template-columns: 80px minmax(0, 1.45fr) minmax(260px, 0.95fr) minmax(205px, 0.75fr);
        gap: 18px;
        padding: 20px;
    }

    .dashboard-ranking-team-card__body {
        grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.95fr);
    }

    .dashboard-ranking-team-card__participant-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-ranking-team-card__stat-value {
        font-size: 20px;
    }
}

@media (max-width: 1199px) {
    .dashboard-ranking-team-card {
        padding: 18px;
    }

    .dashboard-ranking-team-card__top {
        align-items: flex-start;
    }

    .dashboard-ranking-team-card__body {
        grid-template-columns: 1fr;
    }

    .dashboard-ranking-team-card__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-ranking-desktop-summary-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .dashboard-ranking-desktop {
        display: none;
    }
}

/*
   ------------------------------------------------------
	Temporary Ranking Add / Weighing Page
   ------------------------------------------------------
*/

.weighing-page {
    padding-bottom: 40px;
}

.weighing-hero {
    margin-bottom: 24px;
}

.weighing-summary-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.weighing-summary-grid.row {
    margin-left: 0;
    margin-right: 0;
}

.weighing-summary-grid > [class*="col-"] {
    width: auto !important;
    max-width: none;
    float: none !important;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
}

.weighing-stat-card {
    width: 100%;
    height: 100%;
    min-height: 170px;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.weighing-stat-name {
    font-size: 18px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.weighing-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.weighing-layout > [class*="col-"] {
    margin-bottom: 24px;
}

.weighing-form-card,
.weighing-list-card {
    height: 100%;
}

.weighing-form-card .dashboard-card__body {
    padding-top: 24px;
}

.weighing-list-card .dashboard-card__body {
    padding: 24px 28px 28px;
}

.weighing-info-card {
    margin-bottom: 22px;
}

.weighing-form-group {
    margin-bottom: 22px;
}

.weighing-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
}

.weighing-control {
    min-height: 48px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    box-shadow: none;
    font-size: 15px;
    color: #0f172a;
    background: #fff;
}

.weighing-control:focus,
.weighing-weight-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.22);
}

.weighing-input-shell {
    position: relative;
}

.weighing-weight-input {
    height: 66px;
    padding-right: 58px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    box-shadow: none;
    color: #0f172a;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.weighing-input-shell--secondary .weighing-control {
    padding-right: 58px;
}

.weighing-input-unit {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 15px;
    font-weight: 800;
    pointer-events: none;
}

.weighing-form-group .help-block {
    margin-top: 8px;
    margin-bottom: 0;
    color: #1769a6;
    font-size: 13px;
    line-height: 1.45;
}

.weighing-form-actions {
    margin-top: 26px;
}

.weighing-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    min-width: 220px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.18);
}

/*
   Team paging
*/

.weighing-team-paging {
    margin-top: 22px;
}

.weighing-team-paging--nav .team-sector-paging-nav {
    margin-top: 0;
}

.team-sector-paging-nav--dashboard {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.team-sector-paging-nav--dashboard .team-sector-paging-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 14px 18px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    flex: 1 1 260px;
    max-width: calc(50% - 7px);
}

.team-sector-paging-nav--dashboard .team-sector-paging-btn:hover,
.team-sector-paging-nav--dashboard .team-sector-paging-btn:focus {
    text-decoration: none;
    border-color: #93c5fd;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.team-sector-paging-nav--dashboard .team-sector-paging-btn--left {
    justify-content: flex-start;
    text-align: left;
}

.team-sector-paging-nav--dashboard .team-sector-paging-btn--right {
    justify-content: flex-end;
    text-align: right;
    margin-left: auto;
}

.team-sector-paging-btn__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eaf3ff;
    color: #1769a6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    font-size: 15px;
}

.team-sector-paging-btn__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

.team-sector-paging-btn--right .team-sector-paging-btn__body {
    align-items: flex-end;
}

.team-sector-paging-btn__label {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-sector-paging-btn__team {
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/*
   Weighing table
*/

.weighing-list-card .dashboard-card__header {
    border-bottom: 1px solid #e5eaf2;
}

.weighing-table-wrap.dashboard-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.weighing-table-wrap .dataTables_wrapper {
    padding: 0;
}

.weighing-table-wrap .dataTables_length,
.weighing-table-wrap .dataTables_filter {
    margin: 18px 18px 14px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.weighing-table-wrap .dataTables_length {
    float: left;
}

.weighing-table-wrap .dataTables_filter {
    float: right;
    text-align: right;
}

.weighing-table-wrap .dataTables_length select,
.weighing-table-wrap .dataTables_filter input {
    height: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    box-shadow: none;
}

.weighing-table-wrap .dataTables_filter input {
    margin-left: 8px;
    padding: 8px 12px;
    min-width: 220px;
}

.weighing-table.dashboard-ranking-table {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

.weighing-table.dashboard-ranking-table > thead > tr > th {
    padding: 16px 16px;
    border-top: 1px solid #e5eaf2;
    border-bottom: 2px solid #dbe3ef;
    border-right: 1px solid #e5eaf2;
    background: #f8fafc;
    color: #1e293b;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    vertical-align: middle;
    white-space: nowrap;
}

.weighing-table.dashboard-ranking-table > thead > tr > th:last-child {
    border-right: 0;
}

.weighing-table.dashboard-ranking-table > tbody > tr > td {
    padding: 18px 16px;
    border-top: 0;
    border-bottom: 1px solid #e5eaf2;
    border-right: 1px solid #e5eaf2;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.45;
    vertical-align: middle;
}

.weighing-table.dashboard-ranking-table > tbody > tr > td:last-child {
    border-right: 0;
}

.weighing-table.dashboard-ranking-table > tbody > tr:hover {
    background: #fbfdff;
}

.weighing-table.dashboard-ranking-table > tbody > tr:last-child > td {
    border-bottom: 0;
}

.weighing-table.dashboard-ranking-table th:nth-child(1),
.weighing-table.dashboard-ranking-table td:nth-child(1) {
    width: 10%;
    text-align: center;
}

.weighing-table.dashboard-ranking-table th:nth-child(2),
.weighing-table.dashboard-ranking-table td:nth-child(2) {
    width: 31%;
}

.weighing-table.dashboard-ranking-table th:nth-child(3),
.weighing-table.dashboard-ranking-table td:nth-child(3) {
    width: 19%;
}

.weighing-table.dashboard-ranking-table th:nth-child(4),
.weighing-table.dashboard-ranking-table td:nth-child(4) {
    width: 24%;
}

.weighing-table.dashboard-ranking-table th:nth-child(5),
.weighing-table.dashboard-ranking-table td:nth-child(5) {
    width: 16%;
    text-align: center;
}

.weighing-fish-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #1769a6;
    font-size: 18px;
    font-weight: 900;
}

.weighing-participant-name {
    display: block;
    color: #102033;
    font-size: 15px;
    font-weight: 800;
}

.weighing-weight-value {
    display: inline-block;
    color: #2e7d32 !important;
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}

.weighing-date-value {
    display: inline-block;
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.weighing-row-actions {
    white-space: nowrap;
    text-align: center;
}

.weighing-action-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.weighing-action-btn,
.weighing-row-actions .weighing-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.10);
}

.weighing-action-btn--edit {
    background: #2f80c8;
    border-color: #276faa;
}

.weighing-action-btn--delete {
    background: #dc4a45;
    border-color: #c83d39;
}

.weighing-table-wrap .dataTables_info {
    padding: 18px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.weighing-table-wrap .dataTables_paginate {
    padding: 12px 18px 18px;
}

.weighing-table-wrap .pagination {
    margin: 0;
}

.weighing-table-wrap .pagination > li > a,
.weighing-table-wrap .pagination > li > span {
    padding: 10px 16px;
    border-color: #dbe3ef;
    color: #334155;
    font-weight: 700;
}

.weighing-table-wrap .pagination > .active > a,
.weighing-table-wrap .pagination > .active > span {
    background: #2f80c8;
    border-color: #2f80c8;
    color: #ffffff;
}

/*
   Modal
*/

.weighing-modal .modal-content {
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.weighing-modal .modal-header {
    border-bottom: 1px solid #e5eaf2;
    background: #f8fafc;
    border-radius: 0;
}

.weighing-modal .modal-title {
    color: #0f172a;
    font-weight: 900;
}

/*
   Responsive
*/

@media (max-width: 1199px) {
    .weighing-list-card .dashboard-card__body {
        padding: 20px;
    }

    .weighing-table-wrap.dashboard-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .weighing-table.dashboard-ranking-table {
        min-width: 760px !important;
    }
}

@media (max-width: 991px) {
    .weighing-layout {
        display: block;
    }

    .weighing-hero .dashboard-hero__aside {
        margin-top: 16px;
    }

    .weighing-summary-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .team-sector-paging-nav--dashboard .team-sector-paging-btn {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .weighing-weight-input {
        height: 60px;
        font-size: 26px;
    }

    .weighing-save-btn {
        width: 100%;
    }

    .team-sector-paging-nav--dashboard {
        gap: 10px;
    }

    .team-sector-paging-nav--dashboard .team-sector-paging-btn {
        min-height: 64px;
        padding: 12px 14px;
        flex-basis: 100%;
    }

    .team-sector-paging-nav--dashboard .team-sector-paging-btn--right {
        margin-left: 0;
    }

    .weighing-list-card .dashboard-card__body {
        padding: 16px;
    }

    .weighing-table-wrap .dataTables_length,
    .weighing-table-wrap .dataTables_filter {
        float: none;
        width: auto;
        margin: 14px 14px 10px;
        text-align: left;
    }

    .weighing-table-wrap .dataTables_filter input {
        width: 100%;
        min-width: 0;
        margin: 8px 0 0;
    }

    .weighing-table-wrap .dataTables_info,
    .weighing-table-wrap .dataTables_paginate {
        float: none;
        width: 100%;
        text-align: center;
    }

    .weighing-page--mobile {
        padding-bottom: 28px;
    }

    .weighing-hero--mobile {
        margin-bottom: 18px;
    }

    .weighing-hero--mobile .dashboard-hero__aside .btn {
        width: 100%;
        min-height: 48px;
    }

    .weighing-mobile-summary {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 18px;
    }

    .weighing-mobile-summary__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .weighing-stat-card--mobile,
    .weighing-stat-card--compact {
        min-height: 0;
        padding: 18px;
    }

    .weighing-stat-card--mobile .dashboard-stat-card__value {
        font-size: 20px;
    }

    .weighing-stat-card--compact .dashboard-stat-card__value {
        font-size: 18px;
    }

    .weighing-form-card--mobile .dashboard-card__body {
        padding-left: 16px;
        padding-right: 16px;
        overflow: hidden;
    }

    .weighing-form-card--mobile .weighing-control,
    .weighing-form-card--mobile .weighing-weight-input {
        width: 100%;
    }

    .weighing-team-paging--mobile .team-sector-paging-nav--dashboard {
        flex-direction: column;
        gap: 12px;
    }

    .weighing-team-paging--mobile .team-sector-paging-nav--dashboard .team-sector-paging-btn {
        width: 100%;
        max-width: 100%;
    }

    .weighing-list-card--mobile .dashboard-card__body {
        padding: 14px;
        overflow: hidden;
    }

    .weighing-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .weighing-mobile-fish-card {
        padding: 16px;
        border: 1px solid #dfe7f1;
        border-radius: 16px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    }

    .weighing-mobile-fish-card__top {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        align-items: center;
        margin-bottom: 14px;
    }

    .weighing-mobile-fish-card__meta {
        min-width: 0;
    }

    .weighing-mobile-fish-card__label {
        display: block;
        margin-bottom: 4px;
        color: #64748b;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .weighing-mobile-fish-card__stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .weighing-mobile-fish-card__stat {
        padding: 12px 14px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e5eaf2;
        min-width: 0;
    }

    .weighing-action-group--mobile {
        gap: 8px;
    }

    .weighing-action-group--mobile .weighing-action-btn {
        width: 42px;
        height: 42px;
    }

    .modal-dialog-mobile {
        margin: 12px;
    }

    .modal-dialog-mobile .modal-content {
        width: auto;
    }

    body.internal-shell {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .weighing-mobile-summary__grid,
    .weighing-mobile-fish-card__stats {
        grid-template-columns: 1fr;
    }

    .weighing-mobile-fish-card__top {
        grid-template-columns: auto 1fr;
        align-items: start;
    }

    .weighing-action-group--mobile {
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-top: 4px;
    }
}

/*
   ------------------------------------------------------
	Weighing Summary Grid
   ------------------------------------------------------
*/

body.internal-shell .weighing-summary-grid.dashboard-card-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 32px;
}

body.internal-shell .weighing-summary-grid.dashboard-card-grid::before,
body.internal.shell .weighing-summary-grid.dashboard-card-grid::after {
    display: none !important;
    content: none !important;
}

body.internal-shell .weighing-summary-grid.dashboard-card-grid > .weighing-summary-col {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.internal-shell .weighing-summary-grid .weighing-stat-card {
    width: 100%;
    height: 100%;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.internal-shell .weighing-summary-grid .weighing-summary-col:first-child .weighing-stat-card {
    min-width: 0;
}

@media (max-width: 991px) {
    body.internal-shell .weighing-summary-grid.dashboard-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.weighing-weight-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.18);
}

.weighing-field-error {
    margin-top: 8px;
    color: #c62828;
    font-size: 13px;
    font-weight: 700;
}

/*
   ------------------------------------------------------
	Penalty Points Add Page
   ------------------------------------------------------
*/

.penalty-points-page {
    padding-bottom: 40px;
}

.penalty-points-hero {
    margin-bottom: 24px;
}

.penalty-points-summary-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 0 28px;
}

body.internal-shell .penalty-points-summary-grid.dashboard-card-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 32px;
}

body.internal-shell .penalty-points-summary-grid.dashboard-card-grid::before,
body.internal-shell .penalty-points-summary-grid.dashboard-card-grid::after {
    display: none !important;
    content: none !important;
}

body.internal-shell .penalty-points-summary-grid.dashboard-card-grid > .penalty-points-summary-col {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.penalty-points-stat-card {
    min-height: 170px;
}

.penalty-points-stat-name {
    font-size: 18px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.penalty-points-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.penalty-points-layout > [class*="col-"] {
    margin-bottom: 24px;
}

.penalty-points-form-card {
    height: 100%;
}

.penalty-points-form-card .dashboard-card__body {
    padding-top: 24px;
}

.penalty-points-info-card {
    margin-bottom: 22px;
}

.penalty-points-form-group {
    margin-bottom: 0;
}

.penalty-points-input-shell .weighing-input-unit {
    right: 20px;
}

.penalty-points-weight-input {
    letter-spacing: 0.08em;
}

.penalty-points-help-text {
    margin-top: 10px;
}

.penalty-points-form-actions {
    margin-top: 26px;
}

.penalty-points-save-btn {
    min-width: 240px;
}

.penalty-points-back-btn {
    min-height: 46px;
}

@media (max-width: 991px) {
    body.internal-shell .penalty-points-summary-grid.dashboard-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .penalty-points-layout {
        display: block;
    }
}

@media (max-width: 767px) {
    .penalty-points-page {
        padding-bottom: 28px;
    }

    .penalty-points-hero {
        margin-bottom: 18px;
    }

    .penalty-points-hero .dashboard-hero__aside .btn,
    .penalty-points-back-btn,
    .penalty-points-save-btn {
        width: 100%;
    }

    .penalty-points-form-card .dashboard-card__body {
        padding-left: 16px;
        padding-right: 16px;
        overflow: hidden;
    }

    .penalty-points-weight-input {
        height: 60px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .penalty-points-stat-card {
        min-height: 150px;
    }

    .penalty-points-stat-name {
        font-size: 17px;
    }
}

/*
   ------------------------------------------------------
    User Profile Page
   ------------------------------------------------------
*/
body.internal-shell .profile-page {
    padding-bottom: 40px;
}
body.internal-shell .profile-hero {
    align-items: center;
}
body.internal-shell .profile-hero__summary {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 1 360px;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid #dbe7f5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
body.internal-shell .profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1d4ed8 0%, #38bdf8 100%);
    color: #fff;
    font-size: 24px;
}
body.internal-shell .profile-hero__identity {
    min-width: 0;
}
body.internal-shell .profile-hero__identity strong,
body.internal-shell .profile-hero__identity span {
    display: block;
    overflow-wrap: anywhere;
}
body.internal-shell .profile-hero__identity strong {
    margin-bottom: 4px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}
body.internal-shell .profile-hero__identity span {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}
body.internal-shell .profile-form-layout > [class*="col-"] {
    margin-bottom: 24px;
}
body.internal-shell .profile-card {
    overflow: hidden;
}
body.internal-shell .profile-section-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
body.internal-shell .profile-section-col {
    display: flex;
    margin-bottom: 18px;
}
body.internal-shell .profile-section-card {
    width: 100%;
    min-height: 100%;
    padding: 22px;
    border: 1px solid #dbe4ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
body.internal-shell .profile-section-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2f7;
}
body.internal-shell .profile-section-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 18px;
}
body.internal-shell .profile-section-card__icon--security {
    background: #f0fdf4;
    color: #15803d;
}
body.internal-shell .profile-section-card__head h3 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
}
body.internal-shell .profile-section-card__head p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}
body.internal-shell .profile-section-card em {
    color: #dc2626;
    font-style: normal;
    font-weight: 900;
}
body.internal-shell .profile-submit-hint {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}
@media (max-width: 991px) {
    body.internal-shell .profile-hero__summary {
        flex-basis: 100%;
    }
    body.internal-shell .profile-section-card {
        padding: 18px;
    }
}
@media (max-width: 767px) {
    body.internal-shell .profile-page {
        padding-bottom: 28px;
    }
    body.internal-shell .profile-hero__summary {
        padding: 14px;
        border-radius: 18px;
    }
    body.internal-shell .profile-avatar {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 20px;
    }
    body.internal-shell .profile-section-grid {
        display: block;
    }
    body.internal-shell .profile-section-col {
        display: block;
        margin-bottom: 14px;
    }
    body.internal-shell .profile-section-card {
        padding: 16px;
        border-radius: 18px;
    }
    body.internal-shell .profile-section-card__head {
        gap: 12px;
        margin-bottom: 18px;
        padding-bottom: 14px;
    }
    body.internal-shell .profile-section-card__head h3 {
        font-size: 18px;
    }
    body.internal-shell .profile-submit-btn,
    body.internal-shell .profile-submit-hint {
        width: 100%;
    }
}
/*
   ------------------------------------------------------
	Competition Add/Edit Form Pages
   ------------------------------------------------------
*/

.competition-form-page {
    padding-bottom: 40px;
}

.competition-form-hero {
    margin-bottom: 24px;
}

.competition-form-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.competition-form-layout > [class*="col-"] {
    margin-bottom: 24px;
}

.competition-form-card {
    height: 100%;
    overflow: hidden;
}

.competition-form-card__body {
    padding-top: 24px;
}

.competition-form-note,
.competition-form-inline-note {
    margin-bottom: 22px;
}

.competition-form-tabs {
    border-bottom: 2px solid #dbe3ef;
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding-left: 0;
    list-style: none;
}

.competition-form-tabs > li > a {
    display: block;
    padding: 12px 16px;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: none !important;
}

.competition-form-tabs > li.active > a,
.competition-form-tabs > li > a:hover,
.competition-form-tabs > li > a:focus {
    color: #1769a6;
    border-bottom-color: #1769a6 !important;
}

.competition-form-group {
    margin-bottom: 22px;
}

.competition-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
}

.competition-form-control {
    min-height: 48px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    box-shadow: none;
    font-size: 15px;
    color: #0f172a;
    background: #fff;
}

.competition-form-control:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.22);
}

.competition-form-help-text {
    margin-top: 8px;
    margin-bottom: 0;
    color: #1769a6;
    font-size: 13px;
    line-height: 1.45;
}

.competition-form-textarea {
    min-height: 260px;
}

.competition-form-toggle-wrap .btn-group {
    display: inline-flex;
    flex-wrap: wrap;
    max-width: 100%;
}

.competition-form-toggle-wrap .btn-group .btn {
    min-height: 42px;
}

.competition-form-submit-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #f8fafc;
    border-top: 1px solid #e5eaf2;
    padding: 18px 24px;
}

.competition-form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    min-width: 220px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.competition-form-cancel-btn,
.competition-form-back-btn {
    min-height: 46px;
}

@media (max-width: 767px) {
    .competition-form-page {
        padding-bottom: 28px;
    }

    .competition-form-hero {
        margin-bottom: 18px;
    }

    .competition-form-hero .dashboard-hero__aside .btn,
    .competition-form-back-btn,
    .competition-form-submit-btn,
    .competition-form-cancel-btn {
        width: 100%;
    }

    .competition-form-card__body {
        padding-left: 16px;
        padding-right: 16px;
        overflow: hidden;
    }

    .competition-form-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .competition-form-tabs > li {
        display: inline-block;
        float: none;
        flex: 0 0 auto;
    }

    .competition-form-tabs > li > a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .competition-form-submit-bar {
        padding: 16px;
    }
}

.competition-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.competition-type-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 118px;
    padding: 22px;
    border: 1px solid #dbe7f5;
    border-radius: 18px;
    background: #fff;
    text-decoration: none !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.competition-type-option--active:hover {
    transform: translateY(-2px);
    border-color: #2563eb;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.14);
}

.competition-type-option__icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 22px;
}

.competition-type-option__content {
    flex: 1;
    min-width: 0;
}

.competition-type-option__content strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 5px;
}

.competition-type-option__content small {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.competition-type-option__arrow {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 18px;
}

.competition-type-option--disabled {
    cursor: not-allowed;
    opacity: .72;
    background: #f8fafc;
    border-style: dashed;
}

.competition-type-option--disabled .competition-type-option__icon {
    background: #eef2f7;
    color: #94a3b8;
}

.competition-type-option--disabled .competition-type-option__content strong,
.competition-type-option--disabled .competition-type-option__content small {
    color: #94a3b8;
}

.competition-type-option__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .competition-type-grid {
        grid-template-columns: 1fr;
    }

    .competition-type-option {
        min-height: 104px;
        padding: 18px;
    }

    .competition-type-option__content strong {
        font-size: 18px;
    }
}

/* Competition add/edit form */
.competition-form-page {
    max-width: 1160px;
    margin: 0 auto;
}

.competition-form-card {
    overflow: hidden;
}

.competition-form-card__body {
    padding-bottom: 0;
}

/* Toggle switch */
.toggle-wrap input[type="checkbox"] {
    display: none;
}

.toggle-wrap input[type="checkbox"] + .btn-group > label span {
    width: 20px;
}

.toggle-wrap input[type="checkbox"] + .btn-group > label span:first-child {
    display: none;
}

.toggle-wrap input[type="checkbox"] + .btn-group > label span:last-child {
    display: inline-block;
}

.toggle-wrap input[type="checkbox"]:checked + .btn-group > label span:first-child {
    display: inline-block;
}

.toggle-wrap input[type="checkbox"]:checked + .btn-group > label span:last-child {
    display: none;
}

/* Tabs */
.comp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-left: 0;
    margin: 22px 0 26px;
    list-style: none;
    border-bottom: 1px solid #dbe7f5;
}

.comp-tabs > li {
    margin-bottom: -1px;
}

.comp-tabs > li > a {
    display: block;
    padding: 12px 16px;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #64748b;
    font-weight: 700;
    text-decoration: none !important;
}

.comp-tabs > li.active > a,
.comp-tabs > li > a:hover,
.comp-tabs > li > a:focus {
    color: #2563eb;
    border-bottom-color: #2563eb !important;
}

/* Sections */
.tab-section-title {
    margin: 22px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef2f7;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
}

.competition-form-group label {
    margin-bottom: 6px;
    color: #334155;
    font-weight: 700;
}

.competition-form-control {
    min-height: 42px;
    border-color: #dbe7f5;
    border-radius: 10px;
    box-shadow: none;
}

.competition-form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.competition-form-textarea {
    min-height: 260px;
}

.help-text,
.competition-form-help-text {
    margin-top: 5px;
    color: #64748b;
    font-size: 12px;
}

/* Submit bar */
.form-submit-bar,
.competition-form-submit-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 18px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.competition-form-submit-btn,
.competition-form-cancel-btn {
    min-height: 44px;
}

/* File upload */
.file-upload-box,
.competition-form-upload-box {
    padding: 22px 16px;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
    text-align: center;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.file-upload-box:hover,
.competition-form-upload-box:hover {
    border-color: #2563eb;
    background: #f8fbff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .08);
}

.file-upload-box.has-preview,
.competition-form-upload-box.has-preview {
    padding: 12px;
    border-color: #2563eb;
    background: #eff6ff;
}

.upload-icon-wrap {
    margin-bottom: 10px;
}

.upload-icon-wrap .fa {
    color: #94a3b8;
}

.img-preview-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.img-preview-wrap img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 220px;
    margin: 0 auto 8px;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .16);
}

.img-preview-wrap .remove-img {
    position: absolute;
    top: -9px;
    right: -9px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
}

.resize-info {
    min-height: 18px;
    margin-top: 7px;
    font-size: 12px;
}

.competition-form-upload-status--success {
    color: #16a34a;
}

.competition-form-upload-status--warning {
    color: #d97706;
}

.competition-form-upload-status-muted {
    color: #94a3b8;
}

/* Inline note */
.competition-form-inline-note {
    margin-bottom: 18px;
}

/* Mobile */
@media (max-width: 767px) {
    .competition-form-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .comp-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .comp-tabs > li {
        display: inline-block;
        float: none;
    }

    .comp-tabs > li > a {
        padding: 11px 12px;
        font-size: 13px;
    }

    .form-submit-bar,
    .competition-form-submit-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }

    .competition-form-submit-btn,
    .competition-form-cancel-btn {
        width: 100%;
    }

    .competition-form-cancel-btn {
        margin-left: 0 !important;
    }
}

/* Competition modern switch */
.competition-switch-field {
    margin: 18px 0 26px;
}

.competition-switch-label {
    display: block;
    margin-bottom: 10px;
    color: #0f172a;
    font-weight: 800;
}

.competition-switch-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 16px;
    max-width: 620px;
    min-height: 82px;
    padding: 18px 20px;
    border: 1px solid #dbe7f5;
    border-radius: 18px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.competition-switch-card:hover {
    border-color: #2563eb;
    background: #f8fbff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .08);
}

.competition-switch-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.competition-switch-control {
    position: relative;
    display: block;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background .18s ease;
}

.competition-switch-control__knob {
    position: absolute;
    top: 4px;
    left: 4px;
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .22);
    transition: transform .18s ease;
}

.competition-switch-card input[type="checkbox"]:checked + .competition-switch-control {
    background: #2563eb;
}

.competition-switch-card input[type="checkbox"]:checked + .competition-switch-control .competition-switch-control__knob {
    transform: translateX(22px);
}

.competition-switch-content {
    min-width: 0;
}

.competition-switch-content strong {
    display: block;
    margin-bottom: 4px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.competition-switch-content small {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

@media (max-width: 767px) {
    .competition-switch-card {
        grid-template-columns: 48px 1fr;
        gap: 12px;
        max-width: 100%;
        padding: 16px;
    }

    .competition-switch-control {
        width: 48px;
        height: 28px;
    }

    .competition-switch-control__knob {
        width: 20px;
        height: 20px;
    }

    .competition-switch-card input[type="checkbox"]:checked + .competition-switch-control .competition-switch-control__knob {
        transform: translateX(20px);
    }
}

/* Competition settings tab */
.competition-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 18px;
    margin-top: 18px;
}

.competition-settings-card {
    padding: 20px;
    border: 1px solid #dbe7f5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.competition-settings-card__header {
    margin-bottom: 16px;
}

.competition-settings-card__header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
}

.competition-settings-card__header h3 .fa {
    color: #2563eb;
}

.competition-settings-card__header p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.competition-settings-card .competition-switch-card {
    max-width: 100%;
    margin-bottom: 0;
}

.competition-settings-help {
    margin-top: 16px;
}

.competition-settings-help-list {
    margin: 8px 0 0;
    padding-left: 18px;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
}

.competition-settings-help-list li + li {
    margin-top: 4px;
}

@media (max-width: 991px) {
    .competition-settings-grid {
        grid-template-columns: 1fr;
    }
}

.push-test-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, .45);
}

.push-test-modal {
    display: flex;
    gap: 18px;
    width: 100%;
    max-width: 520px;
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.push-test-modal__icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 24px;
}

.push-test-modal--warning .push-test-modal__icon {
    background: #fff7ed;
    color: #ea580c;
}

.push-test-modal--success .push-test-modal__icon {
    background: #ecfdf5;
    color: #16a34a;
}

.push-test-modal__content h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
}

.push-test-modal__content p {
    margin: 0 0 18px;
    color: #475569;
    font-size: 15px;
    line-height: 1.5;
}

.push-test-modal__close {
    min-width: 120px;
}

@media (max-width: 575px) {
    .push-test-modal {
        flex-direction: column;
        padding: 20px;
    }
}

/*
   ------------------------------------------------------
   Organizer dashboard UI compact overrides
   ------------------------------------------------------
*/
body.internal-shell .organizer-dashboard {
    --od-space-8: 8px;
    --od-space-12: 12px;
    --od-space-16: 16px;
    --od-space-24: 24px;
    --od-radius-16: 16px;
    --od-radius-18: 18px;
    --od-border: #dbe4ef;
    --od-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

body.internal-shell .organizer-dashboard .dashboard-section {
    margin-bottom: var(--od-space-24);
}

body.internal-shell .organizer-dashboard .dashboard-section__head {
    margin-bottom: var(--od-space-12);
}

body.internal-shell .organizer-dashboard .dashboard-section__head h2 {
    margin: 0 0 6px;
    font-size: 21px;
    line-height: 1.25;
}

body.internal-shell .organizer-dashboard .dashboard-section__head p {
    font-size: 15px;
    line-height: 1.5;
}

body.internal-shell .organizer-dashboard .dashboard-hero {
    gap: var(--od-space-16);
    margin-bottom: 20px;
    padding: 20px 22px;
    border-radius: var(--od-radius-18);
    box-shadow: var(--od-shadow);
}

body.internal-shell .organizer-dashboard .dashboard-title {
    margin-bottom: var(--od-space-8);
    font-size: 30px;
    line-height: 1.2;
}

body.internal-shell .organizer-dashboard .dashboard-subtitle {
    font-size: 16px;
    line-height: 1.5;
}

body.internal-shell .organizer-dashboard .dashboard-hero__aside {
    flex: 0 0 320px;
}

body.internal-shell .organizer-dashboard .dashboard-breadcrumb {
    margin-bottom: var(--od-space-8);
}

body.internal-shell .organizer-dashboard .dashboard-breadcrumb a {
    line-height: 1.35;
}

body.internal-shell .organizer-dashboard .dashboard-hero__note {
    margin-top: var(--od-space-8);
    padding: 10px 12px;
    border-radius: 12px;
    line-height: 1.45;
}

body.internal-shell .organizer-dashboard .dashboard-action-card,
body.internal-shell .organizer-dashboard .dashboard-stat-card,
body.internal-shell .organizer-dashboard .dashboard-step-card,
body.internal-shell .organizer-dashboard .dashboard-note-card,
body.internal-shell .organizer-dashboard .dashboard-card--table,
body.internal-shell .organizer-dashboard .dashboard-operation-card,
body.internal-shell .organizer-dashboard .competition-overview__card,
body.internal-shell .organizer-dashboard .competition-readiness__card,
body.internal-shell .organizer-dashboard .competition-readiness__next-action {
    border-radius: var(--od-radius-16);
    border-color: var(--od-border);
    box-shadow: var(--od-shadow);
}

body.internal-shell .organizer-dashboard .dashboard-note-card {
    gap: 14px;
    padding: 16px;
}

body.internal-shell .organizer-dashboard .dashboard-note-card__icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
    font-size: 17px;
}

body.internal-shell .organizer-dashboard .dashboard-note-card__body h3 {
    margin-bottom: 6px;
    font-size: 17px;
    line-height: 1.3;
}

body.internal-shell .organizer-dashboard .dashboard-note-card__body p {
    line-height: 1.5;
}

body.internal-shell .organizer-dashboard .dashboard-next-action__actions .btn {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
}

body.internal-shell .organizer-dashboard .dashboard-card-grid--stats {
    gap: var(--od-space-12);
}

body.internal-shell .organizer-dashboard .dashboard-stat-card {
    min-height: 132px;
    padding: 16px;
}

body.internal-shell .organizer-dashboard .dashboard-stat-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 16px;
}

body.internal-shell .organizer-dashboard .dashboard-stat-card__label {
    margin-top: 10px;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.3;
}

body.internal-shell .organizer-dashboard .dashboard-stat-card__value {
    font-size: 21px;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.internal-shell .organizer-dashboard .dashboard-operations-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: var(--od-space-12);
}

body.internal-shell .organizer-dashboard .dashboard-operation-card {
    min-height: 124px;
    padding: 14px;
}

body.internal-shell .organizer-dashboard .dashboard-operation-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    margin-bottom: var(--od-space-8);
    font-size: 15px;
}

body.internal-shell .organizer-dashboard .dashboard-operation-card__label {
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.3;
}

body.internal-shell .organizer-dashboard .dashboard-operation-card__value {
    font-size: 21px;
    line-height: 1.2;
}

body.internal-shell .organizer-dashboard .dashboard-operation-card__meta {
    margin-top: 6px;
    line-height: 1.35;
}

body.internal-shell .organizer-dashboard .dashboard-action-card {
    min-height: 198px;
    padding: 16px;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

body.internal-shell .organizer-dashboard .dashboard-action-card:hover {
    transform: translateY(-1px);
    border-color: #93c5fd;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.12);
}

body.internal-shell .organizer-dashboard .dashboard-action-card:focus {
    text-decoration: none;
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 2px;
}

body.internal-shell .organizer-dashboard .dashboard-action-card--accent {
    background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
}

body.internal-shell .organizer-dashboard .dashboard-action-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: var(--od-space-12);
    border-radius: 12px;
    font-size: 19px;
}

body.internal-shell .organizer-dashboard .dashboard-action-card__title {
    margin-bottom: 7px;
    font-size: 17px;
    line-height: 1.3;
}

body.internal-shell .organizer-dashboard .dashboard-action-card__text {
    margin-bottom: var(--od-space-12);
    line-height: 1.45;
}

body.internal-shell .organizer-dashboard .dashboard-action-card__cta {
    min-height: 32px;
}

body.internal-shell .organizer-dashboard .dashboard-step-card--compact {
    padding: 16px;
}

body.internal-shell .organizer-dashboard .dashboard-setup-list {
    padding-left: 18px;
}

body.internal-shell .organizer-dashboard .dashboard-setup-list li {
    margin-bottom: 6px;
    line-height: 1.45;
}

body.internal-shell .organizer-dashboard .dashboard-setup-list a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.internal-shell .organizer-dashboard .dashboard-step-card__footnote {
    margin-top: 10px;
    line-height: 1.45;
}

body.internal-shell .organizer-dashboard .competition-overview {
    margin-top: 22px;
    margin-bottom: 26px;
}

body.internal-shell .organizer-dashboard .competition-overview__hero {
    align-items: center;
    gap: var(--od-space-16);
    padding: 20px;
    border-radius: var(--od-radius-18);
    box-shadow: var(--od-shadow);
}

body.internal-shell .organizer-dashboard .competition-overview__page-title {
    margin: 10px 0 var(--od-space-8);
    font-size: 28px;
    line-height: 1.18;
}

body.internal-shell .organizer-dashboard .competition-overview__meta strong {
    font-size: 18px;
}

body.internal-shell .organizer-dashboard .competition-overview__actions {
    align-items: center;
}

body.internal-shell .organizer-dashboard .competition-overview__action {
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
}

body.internal-shell .organizer-dashboard .competition-overview__action--primary {
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

body.internal-shell .organizer-dashboard .competition-overview__action:focus {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 2px;
}

body.internal-shell .organizer-dashboard .competition-overview__section-head {
    margin: var(--od-space-16) 0 var(--od-space-12);
}

body.internal-shell .organizer-dashboard .competition-overview__content {
    min-height: 180px;
}

body.internal-shell .organizer-dashboard .competition-overview__grid,
body.internal-shell .organizer-dashboard .competition-overview__skeleton-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--od-space-12);
}

body.internal-shell .organizer-dashboard .competition-overview__card,
body.internal-shell .organizer-dashboard .competition-overview__skeleton-card {
    min-height: 148px;
}

body.internal-shell .organizer-dashboard .competition-overview__card {
    padding: 16px;
}

body.internal-shell .organizer-dashboard .competition-overview__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 12px;
}

body.internal-shell .organizer-dashboard .competition-overview__label {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.3;
}

body.internal-shell .organizer-dashboard .competition-overview__value {
    font-size: 30px;
    line-height: 1.15;
}

body.internal-shell .organizer-dashboard .competition-overview__helper {
    padding-top: 10px;
    line-height: 1.4;
}

body.internal-shell .organizer-dashboard .competition-readiness {
    margin-top: 24px;
    padding: 20px;
    border-radius: var(--od-radius-18);
    box-shadow: var(--od-shadow);
}

body.internal-shell .organizer-dashboard .competition-readiness__header {
    margin-bottom: 16px;
}

body.internal-shell .organizer-dashboard .competition-readiness__title {
    font-size: 24px;
}

body.internal-shell .organizer-dashboard .competition-readiness__description {
    margin-top: 6px;
    line-height: 1.5;
}

body.internal-shell .organizer-dashboard .competition-readiness__state {
    padding: 18px;
}

body.internal-shell .organizer-dashboard .competition-readiness__primary-grid {
    gap: var(--od-space-12);
    align-items: stretch;
}

body.internal-shell .organizer-dashboard .competition-readiness__card,
body.internal-shell .organizer-dashboard .competition-readiness__next-action {
    padding: 18px;
}

body.internal-shell .organizer-dashboard .competition-readiness__score-row {
    margin-top: 18px;
}

body.internal-shell .organizer-dashboard .competition-readiness__score-row strong {
    font-size: 34px;
}

body.internal-shell .organizer-dashboard .competition-readiness__status-message {
    min-height: 34px;
    margin-top: 12px;
}

body.internal-shell .organizer-dashboard .competition-readiness__summary {
    gap: 8px;
    margin-top: 14px;
}

body.internal-shell .organizer-dashboard .competition-readiness__summary > div {
    padding: 10px;
    border-radius: 12px;
}

body.internal-shell .organizer-dashboard .competition-readiness__summary dd {
    font-size: 20px;
}

body.internal-shell .organizer-dashboard .competition-readiness__categories-section {
    margin-top: 18px;
}

body.internal-shell .organizer-dashboard .competition-readiness__checks {
    gap: 8px;
}

body.internal-shell .organizer-dashboard .competition-readiness__category {
    border-radius: 14px;
}

body.internal-shell .organizer-dashboard .competition-readiness__category-trigger {
    min-height: 52px;
    padding: 10px 12px;
}

body.internal-shell .organizer-dashboard .competition-readiness__category-title {
    font-size: 14px;
}

body.internal-shell .organizer-dashboard .competition-readiness__category-panel {
    padding: 0 12px 12px;
}

body.internal-shell .organizer-dashboard .competition-readiness__check {
    padding: 12px;
    border-radius: 12px;
}

body.internal-shell .organizer-dashboard .competition-readiness__check-title {
    font-size: 14px;
    line-height: 1.35;
}

body.internal-shell .organizer-dashboard .competition-readiness__check-message {
    margin-top: 4px;
    line-height: 1.45;
}

body.internal-shell .organizer-dashboard .competition-readiness__next-action {
    margin-top: 18px;
}

body.internal-shell .organizer-dashboard .competition-readiness__next-action > strong {
    margin-top: 10px;
    font-size: 16px;
}

body.internal-shell .organizer-dashboard .competition-readiness__next-action .competition-readiness__button {
    margin-top: 12px;
}

@media (max-width: 1199px) {
    body.internal-shell .organizer-dashboard .competition-overview__grid,
    body.internal-shell .organizer-dashboard .competition-overview__skeleton-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    body.internal-shell .organizer-dashboard .dashboard-hero {
        padding: 18px;
    }

    body.internal-shell .organizer-dashboard .dashboard-hero__aside {
        flex-basis: 100%;
    }

    body.internal-shell .organizer-dashboard .dashboard-operations-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.internal-shell .organizer-dashboard .competition-overview__hero {
        align-items: flex-start;
        padding: 18px;
    }

    body.internal-shell .organizer-dashboard .competition-overview__actions {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    body.internal-shell .organizer-dashboard .competition-overview__grid,
    body.internal-shell .organizer-dashboard .competition-overview__skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.internal-shell .organizer-dashboard .competition-readiness__primary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    body.internal-shell .organizer-dashboard .dashboard-hero {
        padding: 16px;
    }

    body.internal-shell .organizer-dashboard .dashboard-title {
        font-size: 26px;
    }

    body.internal-shell .organizer-dashboard .dashboard-subtitle,
    body.internal-shell .organizer-dashboard .dashboard-note-card__body p,
    body.internal-shell .organizer-dashboard .dashboard-action-card__text,
    body.internal-shell .organizer-dashboard .competition-overview__helper,
    body.internal-shell .organizer-dashboard .competition-readiness__description,
    body.internal-shell .organizer-dashboard .competition-readiness__check-message {
        font-size: 15px;
    }

    body.internal-shell .organizer-dashboard .dashboard-operations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.internal-shell .organizer-dashboard .competition-overview__hero {
        flex-direction: column;
        padding: 16px;
    }

    body.internal-shell .organizer-dashboard .competition-overview__hero-main {
        flex: 1 1 auto;
    }

    body.internal-shell .organizer-dashboard .competition-overview__actions {
        width: 100%;
    }

    body.internal-shell .organizer-dashboard .competition-overview__action {
        flex: 1 1 calc(50% - 6px);
    }

    body.internal-shell .organizer-dashboard .competition-readiness {
        padding: 16px;
    }
}

@media (max-width: 575px) {
    body.internal-shell .organizer-dashboard .dashboard-section {
        margin-bottom: 18px;
    }

    body.internal-shell .organizer-dashboard .dashboard-operations-grid,
    body.internal-shell .organizer-dashboard .competition-overview__grid,
    body.internal-shell .organizer-dashboard .competition-overview__skeleton-grid {
        grid-template-columns: 1fr;
    }

    body.internal-shell .organizer-dashboard .competition-overview__action {
        flex: 1 1 100%;
        width: 100%;
    }

    body.internal-shell .organizer-dashboard .dashboard-next-action__actions {
        flex-direction: column;
    }

    body.internal-shell .organizer-dashboard .dashboard-next-action__actions .btn,
    body.internal-shell .organizer-dashboard .competition-readiness__button {
        width: 100%;
    }
}

/* Weighing table fit overrides */
.weighing-table-wrap,
.weighing-table-wrap *,
.weighing-table.dashboard-ranking-table,
.weighing-table.dashboard-ranking-table > thead > tr > th,
.weighing-table.dashboard-ranking-table > tbody > tr > td {
    box-sizing: border-box;
    max-width: 100%;
}

.weighing-table.dashboard-ranking-table > thead > tr > th {
    padding: 14px 12px;
}

.weighing-table.dashboard-ranking-table > thead > tr > th.sorting,
.weighing-table.dashboard-ranking-table > thead > tr > th.sorting_asc,
.weighing-table.dashboard-ranking-table > thead > tr > th.sorting_desc {
    padding-right: 20px;
}

.weighing-table.dashboard-ranking-table > tbody > tr > td {
    padding: 14px 12px;
}

.weighing-table.dashboard-ranking-table th:nth-child(1),
.weighing-table.dashboard-ranking-table td:nth-child(1) {
    width: 9%;
}

.weighing-table.dashboard-ranking-table th:nth-child(2),
.weighing-table.dashboard-ranking-table td:nth-child(2) {
    width: 28%;
}

.weighing-table.dashboard-ranking-table th:nth-child(3),
.weighing-table.dashboard-ranking-table td:nth-child(3) {
    width: 18%;
}

.weighing-table.dashboard-ranking-table th:nth-child(4),
.weighing-table.dashboard-ranking-table td:nth-child(4) {
    width: 23%;
}

.weighing-table.dashboard-ranking-table th:nth-child(5),
.weighing-table.dashboard-ranking-table td:nth-child(5) {
    width: 22%;
}

.weighing-row-actions {
    min-width: 86px;
    white-space: nowrap;
}

.weighing-action-group {
    gap: 6px;
    flex-wrap: nowrap;
}

.weighing-action-btn,
.weighing-row-actions .weighing-action-btn {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 13px;
}

@media (min-width: 1200px) {
    .weighing-table-wrap.dashboard-table-wrap {
        overflow: hidden;
    }

    .weighing-table.dashboard-ranking-table {
        min-width: 0 !important;
    }
}

/*
   ------------------------------------------------------
    Shared breadcrumb (users/partials/breadcrumb.tpl)
   ------------------------------------------------------
   Moved here from css/competitions.css so the component works on
   any dashboard page, not only the ones that also load that
   competitions-specific stylesheet.
*/
body.internal-shell .competitions-breadcrumb {
    margin-bottom: 18px;
    border-radius: 14px;
}

