.attention-topbar {
    gap: 24px;
}

.attention-eyebrow {
    color: #38bdf8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.attention-score {
    min-width: 180px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(15, 23, 42, .75);
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.attention-score strong {
    font-size: 30px;
}

.attention-score span {
    color: var(--muted);
    font-size: 13px;
}

.attention-score.has-alerts strong {
    color: #fb7185;
}

.attention-score.is-clear strong {
    color: #4ade80;
}

.attention-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.attention-summary-card {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    transition: transform .16s ease, border-color .16s ease;
}

.attention-summary-card:hover {
    transform: translateY(-2px);
    border-color: #475569;
}

.attention-summary-card span {
    color: var(--muted);
    font-size: 13px;
}

.attention-summary-card strong {
    font-size: 22px;
}

.attention-summary-card.danger i,
.row-age.danger {
    color: #fb7185;
}

.attention-summary-card.warning i,
.row-age.warning {
    color: #fbbf24;
}

.attention-summary-card.info i {
    color: #38bdf8;
}

.attention-sections {
    display: grid;
    gap: 16px;
}

.attention-section {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel);
}

.attention-section > header {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.attention-section > header > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.attention-section h2 {
    margin: 0 0 3px;
    font-size: 17px;
}

.attention-section header p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.section-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(51, 65, 85, .55);
}

.section-icon.danger {
    color: #fb7185;
}

.section-icon.warning {
    color: #fbbf24;
}

.section-icon.info {
    color: #38bdf8;
}

.section-count {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border-radius: 999px;
    background: #1e293b;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.section-action {
    color: #38bdf8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.attention-list {
    display: grid;
}

.attention-row {
    min-height: 52px;
    padding: 11px 18px;
    border-bottom: 1px solid rgba(51, 65, 85, .55);
    color: var(--text);
    text-decoration: none;
    display: grid;
    grid-template-columns: 100px minmax(130px, 1fr) minmax(180px, 1.5fr) auto 16px;
    align-items: center;
    gap: 14px;
}

.attention-row:last-child {
    border-bottom: 0;
}

.attention-row:hover {
    background: rgba(30, 41, 59, .65);
}

.attention-row > span {
    color: #cbd5e1;
    font-size: 13px;
}

.attention-row .row-age {
    font-weight: 800;
    white-space: nowrap;
}

.attention-row > i {
    color: #64748b;
}

.message-row {
    grid-template-columns: 100px minmax(140px, .8fr) minmax(280px, 2fr) 16px;
}

.message-preview {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stock-row {
    grid-template-columns: minmax(260px, 2fr) minmax(100px, .7fr) 100px auto 16px;
}

.empty-row {
    margin: 0;
    padding: 18px;
    color: #94a3b8;
}

.attention-all-clear {
    margin-bottom: 20px;
    padding: 34px;
    border: 1px solid rgba(74, 222, 128, .25);
    border-radius: 14px;
    background: rgba(20, 83, 45, .16);
    text-align: center;
}

.attention-all-clear i {
    color: #4ade80;
    font-size: 34px;
}

.attention-all-clear h2 {
    margin: 12px 0 5px;
}

.attention-all-clear p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 1100px) {
    .attention-summary {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .attention-row,
    .stock-row {
        grid-template-columns: 90px 1fr auto 16px;
    }

    .attention-row > span:nth-of-type(2) {
        display: none;
    }
}

@media (max-width: 700px) {
    .attention-summary {
        grid-template-columns: 1fr;
    }

    .attention-score {
        width: 100%;
    }

    .attention-section > header {
        align-items: flex-start;
    }

    .attention-row,
    .message-row,
    .stock-row {
        grid-template-columns: 82px 1fr 16px;
    }

    .attention-row .row-age {
        grid-column: 2;
    }
}
