.aut-upgrades-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 920px;
    margin: 0 auto;
    color: #1a2332;
}

.aut-title {
    margin-bottom: 1em;
    font-size: 1.6em;
    font-weight: 700;
    color: #0f1c2e;
    letter-spacing: -0.02em;
}

.aut-filters {
    margin-bottom: 1.5em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.aut-filter {
    padding: 0.45em 0.9em;
    background: #f4f6f8;
    border: 1px solid #e2e6ea;
    border-radius: 4px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.15s ease;
}

.aut-filter.active,
.aut-filter:hover {
    background: #0f1c2e;
    color: #fff;
    border-color: #0f1c2e;
}

.aut-item {
    border: 1px solid #e4e8ec;
    border-left: 4px solid #c9a227;
    border-radius: 6px;
    padding: 0.5em 0.8em;
    margin-bottom: 0.6em;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 28, 46, 0.04);
}

.aut-headline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5em;
    margin-bottom: 0.3em;
}

.aut-sector-badge {
    font-size: 0.72em;
    padding: 0.25em 0.55em;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.aut-sector-fintech { background: #e8f4f0; color: #0d6e4f; }
.aut-sector-traditional-finance { background: #e8eef5; color: #1a4a7a; }
.aut-sector-ai { background: #f3eef8; color: #6b2d8b; }
.aut-sector-tech { background: #fef6e8; color: #b86e00; }

.aut-ticker {
    font-size: 1.15em;
    font-weight: 700;
    color: #0f1c2e;
}

.aut-headline-text {
    flex: 1;
    min-width: 200px;
    font-weight: 500;
}

.aut-date {
    color: #5a6a7a;
    font-size: 0.88em;
    white-space: nowrap;
}

.aut-notes {
    color: #4a5a6a;
    font-size: 0.9em;
    margin: 0.6em 0 0.4em;
    padding-left: 0.6em;
    border-left: 3px solid #c9a227;
}

.aut-share-buttons {
    margin-top: 0.15em;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.35em;
    flex-wrap: wrap;
}

.aut-share-label {
    font-size: 0.82em;
    color: #5a6a7a;
    font-weight: 500;
}

.aut-share {
    color: #000000 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.aut-share:hover {
    color: #1d4ed8 !important;
}
.aut-share-label {
    color: #000 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

.aut-no-results {
    padding: 2.2em;
    text-align: center;
    color: #5a6a7a;
    background: #f8f9fa;
    border: 1px solid #e4e8ec;
    border-radius: 6px;
}

/* Admin action badges */
.aut-action {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.aut-action-upgrade { background: #d4edda; color: #155724; }
.aut-action-downgrade { background: #f8d7da; color: #721c24; }
.aut-action-initiate { background: #cce5ff; color: #004085; }
.aut-action-reiterate, .aut-action-maintain { background: #e2e3e5; color: #383d41; }


.aut-date-nav {
    display: flex;
    align-items: center;
    gap: 0.6em;
    margin-bottom: 1em;
    font-size: 0.95em;
}
.aut-date-nav button {
    background: #f4f6f8;
    border: 1px solid #e2e6ea;
    border-radius: 4px;
    padding: 0.3em 0.7em;
    cursor: pointer;
}
.aut-date-nav button:hover { background: #0f1c2e; color: #fff; }
.aut-current-date { font-weight: 600; color: #0f1c2e; }

.aut-headline-left { flex: 1; display: flex; flex-wrap: wrap; gap: 0.5em; align-items: baseline; }
.aut-company { font-weight: 600; color: #0f1c2e; }
.aut-ticker { font-weight: 700; color: #1a4a7a; }
.aut-sector-right { margin-left: auto; }
.aut-price-targets { font-size: 0.88em; color: #4a5a6a; margin-top: 0.3em; }

.aut-date-pages button {
    background: #f4f6f8;
    border: 1px solid #e2e6ea;
    border-radius: 4px;
    padding: 0.35em 0.7em;
    cursor: pointer;
    font-size: 0.85em;
}
.aut-date-pages button.active,
.aut-date-pages button:hover {
    background: #0f1c2e;
    color: #fff;
    border-color: #0f1c2e;
}

.aut-item-date { color: #718096; font-size: 0.82em; margin-left: 0.4em; }
.aut-date-arrows button {
    background: #f4f6f8; border: 1px solid #e2e6ea; border-radius: 4px; padding: 0.25em 0.6em; cursor: pointer;
}
.aut-date-arrows button:hover { background: #0f1c2e; color: #fff; }
.aut-date-arrows button:disabled { opacity: 0.4; cursor: default; }

.aut-action-word { font-weight: 700; }
.aut-action-upgrade { color: #15803d; }
.aut-action-downgrade { color: #b91c1c; }
.aut-action-initiate { color: #1d4ed8; }
.aut-action-reiterate, .aut-action-maintain { color: #4b5563; }

.aut-pagination { margin-top: 0.8em; display: flex; gap: 0.35em; flex-wrap: wrap; }
.aut-pagination button {
    background: #f4f6f8; border: 1px solid #e2e6ea; border-radius: 4px;
    padding: 0.3em 0.65em; cursor: pointer; font-size: 0.85em;
}
.aut-pagination button.active, .aut-pagination button:hover {
    background: #0f1c2e; color: #fff; border-color: #0f1c2e;
}
.aut-share-buttons { margin-top: 2px !important; margin-bottom: 0 !important; }

.aut-share-buttons {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px !important;
    font-size: 12px !important;
}
.aut-share-buttons a, .aut-share-buttons span {
    white-space: nowrap !important;
    display: inline !important;
}
@media (max-width: 400px) {
    .aut-share-buttons { font-size: 11px !important; }
    .aut-share-buttons a { margin: 0 4px !important; }
}

.aut-share-buttons { white-space: nowrap !important; font-size: 11px !important; }
.aut-share-buttons a { margin: 0 3px !important; }

@media (max-width: 400px) {
    .aut-item { max-height: 150px !important; padding: 4px 6px !important; font-size: 11px !important; }
    .aut-share-buttons { font-size: 9px !important; }
}
.aut-item { max-height: 150px; overflow: hidden; }
