.aget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.aget-card,
.aget-stat,
.aget-panel,
.aget-file,
.aget-run {
    border: 1px solid #d6d6d6;
    border-radius: 3px;
    background: #fff;
}

.aget-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 4px solid #007bdb;
    padding: 18px 20px;
}

.aget-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aget-card__actions form {
    margin: 0;
}

.aget-card--warning {
    border-left-color: #eb5202;
}

.aget-card--neutral {
    border-left-color: #8a8a8a;
}

.aget-card__title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #303030;
}

.aget-card__desc {
    color: #575757;
    line-height: 1.5;
    margin: 0 0 16px;
    font-size: 1.3rem;
}

.aget-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 8px;
}

.aget-stat {
    flex: 1 1 180px;
    padding: 14px 18px;
}

.aget-stat__value {
    display: block;
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.2;
    color: #303030;
}

.aget-stat--warning .aget-stat__value {
    color: #eb5202;
}

.aget-stat--error .aget-stat__value {
    color: #e22626;
}

.aget-stat--muted {
    background: #fafafa;
}

.aget-stat--muted .aget-stat__value {
    color: #8a8a8a;
}

.aget-stat__label {
    display: block;
    color: #575757;
    font-size: 1.2rem;
    margin-top: 4px;
}

.aget-refresh {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 8px;
}

.aget-refresh form {
    margin: 0;
}

.aget-refresh__note {
    color: #767676;
    font-size: 1.2rem;
    margin: 0;
}

.aget-panel {
    padding: 22px 24px;
    margin-bottom: 20px;
    max-width: 900px;
}

.aget-panel__title {
    font-size: 1.7rem;
    font-weight: 600;
    margin: 0 0 6px;
}

.aget-panel__hint {
    color: #575757;
    line-height: 1.6;
    margin: 0 0 18px;
    font-size: 1.3rem;
}

.aget-field {
    margin-bottom: 20px;
}

.aget-field__label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.aget-field__note {
    display: block;
    color: #767676;
    font-size: 1.2rem;
    margin-top: 6px;
    line-height: 1.5;
}

.aget-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.aget-checkbox input {
    margin-top: 3px;
}

.aget-checkbox--disabled,
.aget-checkbox--disabled label {
    color: #a6a6a6;
    cursor: not-allowed;
}

.aget-checkbox__note {
    color: #a6a6a6;
    font-size: 1.2rem;
}

.aget-summary {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.aget-summary th,
.aget-summary td {
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1px solid #e3e3e3;
    font-size: 1.3rem;
}

.aget-summary th {
    width: 60%;
    font-weight: 400;
    color: #575757;
}

.aget-summary td {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.aget-files {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 900px;
    margin-bottom: 24px;
}

.aget-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-left: 4px solid #8a8a8a;
    padding: 14px 18px;
}

.aget-file--success {
    border-left-color: #79a22e;
}

.aget-file--warning {
    border-left-color: #eb5202;
}

.aget-file--error {
    border-left-color: #e22626;
}

.aget-file__meta,
.aget-run__meta {
    min-width: 0;
}

.aget-file__label {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.aget-file__sub {
    display: block;
    color: #767676;
    font-size: 1.2rem;
}

.aget-file--empty {
    opacity: 0.55;
}

.aget-run {
    padding: 16px 20px;
    margin-bottom: 12px;
    max-width: 900px;
}

.aget-run__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.aget-run__title {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #303030;
    margin-bottom: 2px;
}

.aget-run__status {
    display: inline-block;
    border-radius: 10px;
    background: #e8f5e1;
    color: #4d721f;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    padding: 2px 8px;
}

.aget-run__status--queued,
.aget-run__status--processing {
    background: #e5f2fa;
    color: #006bb4;
}

.aget-run__status--failed {
    background: #fae5e5;
    color: #b30000;
}

.aget-run__message {
    margin: 14px 0 0;
}

.aget-files--inline {
    margin: 14px 0 0;
    max-width: none;
}

.aget-notes {
    max-width: 900px;
    margin-bottom: 24px;
    padding-left: 0;
    list-style: none;
}

.aget-notes li {
    border-left: 3px solid #007bdb;
    background: #f5fafd;
    padding: 10px 14px;
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 1.3rem;
}

.aget-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}

.aget-back {
    display: inline-block;
    margin-bottom: 18px;
}
