.auto-submit-filters {
    align-items: center;
}

.auto-submit-filters .filter-select {
    flex: 1 1 190px;
    width: auto;
    min-width: 190px;
    max-width: 260px;
    height: 44px;
    margin-top: 0;
    padding: 10px 48px 10px 14px;
    font-weight: 700;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%235d6b7d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
}

.auto-submit-filters .filter-clear {
    min-width: 110px;
    text-align: center;
}

.auto-submit-filters.is-submitting {
    opacity: .65;
    pointer-events: none;
}

.report-controls {
    align-items: center;
    flex-wrap: wrap;
}

.report-year-control {
    min-width: 155px;
}

.report-toggle {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    border: 1px solid #d8dee6;
    border-radius: 9px;
    background: #f1f5f9;
}

.report-toggle-button {
    min-width: 76px;
    padding: 8px 13px;
    border-radius: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    transition: background-color .15s, box-shadow .15s, color .15s;
}

.report-toggle-button:hover {
    color: #0f766e;
}

.report-toggle-button.is-active {
    background: #fff;
    color: #0f766e;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .13);
}

.report-toggle-button:focus-visible {
    outline: 3px solid rgba(15, 118, 110, .18);
    outline-offset: 1px;
}

.review-category {
    font-weight: 700;
    transition: background-color .15s, border-color .15s, color .15s;
}

.review-category[data-category="Needs category"] {
    background: #fff7e6;
    border-color: #e9c46a;
    color: #8a5a00;
}

.review-category[data-category="Devices"] {
    background: #eef6ff;
    border-color: #9fc8f3;
    color: #165d9c;
}

.review-category[data-category="Accessories"] {
    background: #f4f1ff;
    border-color: #b8a8e8;
    color: #5b43a3;
}

.review-category[data-category="Protection"] {
    background: #edf8f1;
    border-color: #a9d6b7;
    color: #267346;
}

.review-category[data-category="Extended warranty"] {
    background: #eef2ff;
    border-color: #a5b4fc;
    color: #4338ca;
}

.review-category[data-category="Shipping"] {
    background: #ecfeff;
    border-color: #8fd8df;
    color: #0e7490;
}

.review-category[data-category="Other"] {
    background: #f4f6f8;
    border-color: #cbd3dc;
    color: #526071;
}

.review-category option {
    background: #fff;
    font-weight: 600;
}

.review-category option[value="Needs category"] {
    color: #8a5a00;
}

.review-category option[value="Devices"] {
    color: #165d9c;
}

.review-category option[value="Accessories"] {
    color: #5b43a3;
}

.review-category option[value="Protection"] {
    color: #267346;
}

.review-category option[value="Extended warranty"] {
    color: #4338ca;
}

.review-category option[value="Shipping"] {
    color: #0e7490;
}

.review-category option[value="Other"] {
    color: #526071;
}

.annual-report-table th:not(:first-child),
.annual-report-table td:not(:first-child) {
    text-align: right;
}

.annual-category-table {
    min-width: 900px;
}

.report-metric-link {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.report-metric-link:hover {
    border-color: #8fd8c7;
    box-shadow: 0 7px 18px rgba(15, 118, 110, .10);
    transform: translateY(-2px);
}

.report-metric-link.is-selected {
    border-color: #20a98f;
    background: #edf9f5;
    box-shadow: 0 0 0 2px rgba(32, 169, 143, .12);
}

.report-metric-link small {
    display: block;
    margin-top: 9px;
    color: #779086;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .2px;
}

.brand-mark {
    background: transparent;
}

.brand-mark img {
    display: block;
    width: 32px;
    height: 32px;
}

.nav-label.secondary {
    margin-top: 28px;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(290px, .7fr) minmax(520px, 1.3fr);
    gap: 18px;
    align-items: start;
}

.admin-form-card {
    padding-bottom: 24px;
}

.admin-user-form {
    display: grid;
    gap: 16px;
    padding: 0 24px;
}

.admin-user-form .button {
    justify-self: start;
}

.field-optional {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
}

.admin-help {
    margin: 0;
    line-height: 1.6;
}

.google-button {
    gap: 10px;
    margin-top: 22px;
    border-color: #d4dce5;
    color: #27364a;
}

.google-mark {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid #dbe3eb;
    border-radius: 50%;
    color: #4285f4;
    font-weight: 800;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 4px;
    color: #98a4b3;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
    height: 1px;
    flex: 1;
    background: #e4e9ef;
    content: '';
}

.login-help {
    margin: 20px 0 0;
    color: #94a3b8;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 720px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .auto-submit-filters .filter-select {
        flex-basis: 100%;
        width: 100%;
        max-width: none;
    }

    .report-year-control,
    .report-toggle {
        width: 100%;
    }

    .report-toggle-button {
        flex: 1;
        min-width: 0;
    }
}
