/* ذخیره‌ها و یادداشت‌ها، and the reports queue. Builds on bank.css. */

.s-all {
    margin-bottom: var(--space-5);
}

.s-group__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-3);
    margin-bottom: var(--space-3);
}

.s-group__head h2 {
    margin: 0;
    font-size: var(--text-lg);
}

.s-group__head .b-start {
    margin-inline-start: auto;
}

.s-item {
    display: grid;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border);
}

.s-item:last-child {
    border-bottom: 0;
}

.s-item__preview,
.s-item__note,
.s-report__body {
    margin: 0;
}

/* Saved-question previews and report details use the same hierarchy as the
   live exam. Notes and support messages retain their normal body weight. */
.s-item__preview,
.s-item__marks,
.s-report__question > p {
    font-weight: var(--weight-strong);
}

.s-report__choices {
    font-weight: var(--weight-medium);
}

.s-item__note {
    padding: var(--space-2) var(--space-3);
    border-inline-start: 3px solid var(--accent);
    background: var(--surface-muted);
    border-radius: var(--radius-sm);
    white-space: pre-wrap;
}

.s-report {
    display: grid;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.s-report__question summary {
    cursor: pointer;
    color: var(--accent);
}

.s-report__choices {
    margin: var(--space-2) 0 0;
    padding-inline-start: var(--space-5);
}

.s-report__choices .is-answer {
    color: var(--success);
    font-weight: var(--weight-strong);
}

.s-report__note {
    width: 100%;
    resize: vertical;
}

/* پشتیبانی: questions students ask first. */
.s-faq {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border);
}

.s-faq:last-child {
    border-bottom: 0;
}

.s-faq summary {
    cursor: pointer;
    font-weight: var(--weight-medium);
}

.s-faq p {
    margin: var(--space-2) 0 0;
    color: var(--text-secondary);
}

.s-item__marks {
    margin: 0;
    line-height: 2;
}

.s-item__marks .x-highlight {
    padding: 0 2px;
    border-radius: 3px;
    background: var(--accent-soft);
    color: inherit;
}
