.uw-checks {
    margin: 6px 10px 10px 10px;
    border-radius: 14px;
    background: rgba(220, 232, 240, 0.9);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03) inset;
    overflow: visible;
    overflow-anchor: none;
    overscroll-behavior-y: none;
}

.uw-checks__header {
    cursor: pointer;
    background: transparent;
    border-bottom: 0;
}

.card-header.uw-checks__header {
    margin-bottom: 0;
}

.uw-checks__header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.uw-checks__header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.uw-checks__title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uw-checks__summary-mini {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.62);
    color: rgba(0, 0, 0, 0.66);
}

.uw-checks__summary-mini.is-danger {
    color: #9f1d1d;
    background: rgba(220, 53, 69, 0.12);
}

.uw-checks__summary-mini.is-warning {
    color: #76520b;
    background: rgba(255, 193, 7, 0.18);
}

.uw-checks__summary-mini.is-success {
    color: #126c3a;
    background: rgba(25, 135, 84, 0.14);
}

.uw-checks__summary-mini.is-muted {
    color: rgba(0, 0, 0, 0.55);
}

.uw-checks__header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.uw-checks__donut-mini {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 12px;
}

.uw-checks__donut-mini-inner {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uw-checks__collapse-body {
    background: transparent;
    max-height: min(72vh, 720px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: none;
    scrollbar-gutter: stable;
    overflow-anchor: none;
}

.uw-checks__tabs {
    display: flex;
    gap: 5px 10px;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 0 2px;
    margin-bottom: 5px;
}

.uw-checks__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}

.uw-checks__panel {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 12px 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03) inset;
    min-height: 120px;
}

.uw-checks__score-panel {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03) inset;
    position: sticky;
    top: 8px;
    z-index: 2;
}

.uw-checks__score-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
    color: rgba(0, 0, 0, 0.48);
    font-weight: 800;
}

.uw-checks__score-value {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.82);
    margin-top: 4px;
}

.uw-checks__recommendation {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 4px 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 900;
}

.uw-checks__recommendation.is-danger {
    color: #9f1d1d;
    background: rgba(220, 53, 69, 0.14);
}

.uw-checks__recommendation.is-warning {
    color: #76520b;
    background: rgba(255, 193, 7, 0.22);
}

.uw-checks__recommendation.is-success {
    color: #126c3a;
    background: rgba(25, 135, 84, 0.16);
}

.uw-checks__recommendation.is-muted {
    color: rgba(0, 0, 0, 0.58);
    background: rgba(108, 117, 125, 0.12);
}

.uw-checks__score-note {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.58);
}

.uw-checks__critical-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    max-height: 100px;
    overflow: scroll;
    overflow-x: hidden;
    padding-bottom: 10px;
    overscroll-behavior-y: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 76%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 76%, rgba(0, 0, 0, 0) 100%);
}

.uw-checks__critical-item {
    border-left: 3px solid #dc3545;
    padding: 5px 7px;
    border-radius: 6px;
    background: rgba(220, 53, 69, 0.08);
    color: #8f1b1b;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
}

.uw-checks__donut {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uw-checks__donut-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uw-checks__hint {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: 10px;
    font-weight: 600;
}

.uw-checks__collapse-btn {
    pointer-events: none;
}

.uw-tab {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0 0 10px 0;
    min-width: 180px;
    text-align: left;
}

.uw-tab__indicator {
    height: 5px;
    border-radius: 999px;
    background: rgba(0, 120, 150, 0.25);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06) inset;
    margin-bottom: 6px;
    transition: all 220ms ease;
    position: relative;
    overflow: hidden;
}

.uw-tab__indicator-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: rgba(0, 120, 150, 0.75);
    transition: width 220ms ease;
}

.uw-tab__label {
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 220ms ease;
}

.uw-tab.is-active .uw-tab__label {
    color: rgba(0, 0, 0, 0.88);
    font-weight: 600;
}

.uw-tab.is-active .uw-tab__indicator {
    background: rgba(0, 120, 150, 0.35);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06) inset;
}

.uw-tab__label.uw-tab__label-complete {
    font-weight: 900;
    color: rgba(0, 0, 0, 0.9);
}

.uw-check {
    display: flex;
    gap: 12px;
    align-items: stretch;
    padding: 10px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
    border-left: 4px solid transparent;
}

.uw-check.has-danger {
    border-left-color: #dc3545;
    background: rgba(255, 255, 255, 0.78);
}

.uw-check.has-warning {
    border-left-color: #ffc107;
    background: rgba(255, 255, 255, 0.78);
}

.uw-check.has-success {
    border-left-color: #198754;
    background: rgba(255, 255, 255, 0.78);
}

.uw-check__content {
    flex: 1 1 auto;
    min-width: 220px;
}

.uw-check__title {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.25;
}

.uw-check__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.48);
    font-weight: 700;
}

.uw-check__badge {
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 900;
}

.uw-check__badge.is-critical {
    color: #9f1d1d;
    background: rgba(220, 53, 69, 0.12);
}

.uw-check__controls {
    flex: 0 0 auto;
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    max-width: 560px;
}

.uw-check__option {
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
}

.uw-check__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    pointer-events: none;
}

.uw-check__option-label {
    margin: 0;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.72);
    color: rgba(0, 0, 0, 0.68);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.uw-check__option-text {
    white-space: nowrap;
}

.uw-check__option-score {
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.62);
    font-size: 12px;
    font-weight: 900;
}

.uw-check__option.is-selected.uw-check__option--danger .uw-check__option-label {
    border-color: rgba(220, 53, 69, 0.48);
    background: rgba(220, 53, 69, 0.12);
    color: #9f1d1d;
}

.uw-check__option.is-selected.uw-check__option--warning .uw-check__option-label {
    border-color: rgba(255, 193, 7, 0.72);
    background: rgba(255, 193, 7, 0.22);
    color: #76520b;
}

.uw-check__option.is-selected.uw-check__option--success .uw-check__option-label {
    border-color: rgba(25, 135, 84, 0.5);
    background: rgba(25, 135, 84, 0.14);
    color: #126c3a;
}

.uw-check__option.is-disabled .uw-check__option-label {
    cursor: not-allowed;
    opacity: 0.45;
    background: rgba(255, 255, 255, 0.42);
}

.uw-check__clear {
    text-decoration: none;
    line-height: 1;
    opacity: 0.55;
}

.uw-check__clear:hover {
    opacity: 0.85;
}

.uw-donut__progress {
    transition: stroke-dashoffset 1200ms cubic-bezier(.2, .8, .2, 1);
    will-change: stroke-dashoffset;
}

.uw-donut__text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.72);
}

.uw-donut__text.is-mini {
    font-size: 14px;
    font-weight: 900;
}

@media (max-width: 1200px) {
    .uw-checks__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .uw-checks__collapse-body {
        max-height: 66vh;
    }

    .uw-check {
        flex-direction: column;
    }

    .uw-check__controls {
        justify-content: flex-start;
        max-width: none;
    }

    .uw-check__option-label {
        white-space: normal;
    }

    .uw-checks__summary-mini {
        max-width: 190px;
    }
}

@media (max-width: 576px) {
    .uw-checks__donut-mini,
    .uw-checks__donut-mini-inner {
        width: 46px;
        height: 46px;
    }

    .uw-donut__text.is-mini {
        font-size: 12px;
    }
}
