.as-section { font-size: 14px; margin-top: 8px; }
.as-badge { font-weight: 600; }
.as-badge.as-pending { color: #d97706; }
.as-badge.as-success { color: #059669; }
.as-badge.as-muted { color: #6b7280; }
.as-badge.as-danger { color: #dc2626; }
.as-muted { color: #9ca3af; font-size: 13px; }
.as-sub-label { font-size: 13px; color: #6b7280; margin-top: 6px; }
.as-reject-reason { font-size: 13px; color: #4b5563; margin-top: 6px; line-height: 1.5; }
.as-apply, .as-reapply { color: #e67e22; text-decoration: none; }
.as-apply:hover, .as-reapply:hover { text-decoration: underline; }

.as-history { margin-top: 10px; font-size: 13px; }
.as-history-details > summary {
    cursor: pointer;
    color: #4b5563;
    font-weight: 600;
    list-style: none;
    user-select: none;
}
.as-history-details > summary::-webkit-details-marker { display: none; }
.as-history-details > summary::before {
    content: '▸ ';
    display: inline-block;
    transition: transform .15s;
}
.as-history-details[open] > summary::before { transform: rotate(90deg); }
.as-history-list {
    margin-top: 8px;
    padding-left: 10px;
    border-left: 2px solid #e5e7eb;
}
.as-history-item { margin-bottom: 10px; }
.as-history-item:last-child { margin-bottom: 0; }
.as-history-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.as-history-time { color: #9ca3af; font-size: 12px; }
.as-history-label { font-weight: 600; color: #374151; }
.as-history-user .as-history-label { color: #2563eb; }
.as-history-success .as-history-label { color: #059669; }
.as-history-danger .as-history-label { color: #dc2626; }
.as-history-notes, .as-history-remarks {
    margin-top: 4px;
    color: #4b5563;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}
.as-history-meta { font-size: 12px; color: #9ca3af; margin-top: 2px; }
.as-history-outcome {
    margin-top: 8px;
    padding: 6px 10px;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 12px;
    color: #6b7280;
}
.as-history-outcome.as-history-success { background: #ecfdf5; color: #047857; }
.as-history-outcome.as-history-danger { background: #fef2f2; color: #991b1b; }
.as-history-outcome .as-history-remarks { margin-top: 4px; color: #4b5563; }
.as-history-imgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.as-history-imgs img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.dream-after-sale a { color: inherit; }
