﻿/* =================================================================== */
/* Review & Actions: the change log behind each framework update.      */
/* Items sit in collapsible sections by service type, filtered by the  */
/* All / Open / Applied tabs; each item is a card with a header strip. */
/* =================================================================== */

.rec-toolbar { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }

/* status tabs */
.rec-seg { flex: none; }
    .rec-seg button { flex: none; padding: 6px 14px; }
    .rec-seg .rs-ct { font-family: var(--font-mono); font-size: 11px; font-weight: 700; margin-left: 3px; opacity: .8; }

/* applied progress */
.rec-progress { display: flex; align-items: center; gap: 8px; }
.rp-track { width: 130px; height: 8px; background: var(--surface-3); border-radius: 5px; overflow: hidden; display: inline-block; }
    .rp-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--en), #5aa385); border-radius: 5px; }
.rp-txt { font-size: 13px; color: var(--text-2); font-weight: 500; white-space: nowrap; }
    .rp-txt b { color: var(--text); font-family: var(--font-display); font-size: 15px; }

/* one collapsible section per service type, open by default */
.rec-group { margin-bottom: 26px; }
    .rec-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
        .rec-group > summary::-webkit-details-marker { display: none; }
        .rec-group > summary:hover .rg-name { color: var(--gold); }
.rg-name { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--gold-ink); font-weight: 700; transition: color .12s; }
.rg-line { height: 1px; flex: 1; background: linear-gradient(90deg, var(--gold-line), transparent); }
.rg-open { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gold-ink); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 2px 9px; border-radius: 10px; white-space: nowrap; }
.rg-ct { font-family: var(--font-mono); font-size: 11px; color: var(--text-2); font-weight: 600; white-space: nowrap; }
.rg-chev { width: 15px; height: 15px; stroke: var(--text-2); transition: transform .18s; flex: none; }
.rec-group[open] .rg-chev { transform: rotate(90deg); }

.rec-list { display: flex; flex-direction: column; gap: 10px; }

.rec-item { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--sd); overflow: hidden; }
    .rec-item.op { border-left: 3px solid var(--op); }
    .rec-item.mg { border-left: 3px solid var(--mg); }
    .rec-item.en { border-left: 3px solid var(--en); }

.rec-head { display: flex; align-items: center; gap: 9px; padding: 9px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); flex-wrap: wrap; }

.rec-ref { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
    a.rec-ref { text-decoration: none; transition: all .12s; }
        a.rec-ref:hover { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-ink); }

.rec-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: 12px; }
    .rec-badge.done { background: var(--en-soft); color: #1e5941; }
    .rec-badge.open { background: var(--gold-soft); color: #6b4c0f; }

.rec-meta { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text-2); font-weight: 500; }

.rec-body { padding: 12px 16px 14px; }

.rec-issue { font-size: 14.5px; color: var(--text); font-weight: 550; line-height: 1.55; margin-bottom: 9px; }
.rec-comments { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.rec-comment { font-size: 13.5px; color: var(--text-2); line-height: 1.55; padding-left: 12px; border-left: 2px solid var(--line-2); }
.rec-decision { font-size: 13.5px; color: #6b4c0f; background: var(--gold-soft); border-radius: 6px; padding: 9px 12px; line-height: 1.55; border: 1px solid var(--gold-line); }
    .rec-decision b { color: #6b4c0f; }

@media (max-width: 620px) {
    .rec-meta { margin-left: 0; width: 100%; }
    .rec-progress { display: none; }
    .rec-seg { width: 100%; }
        .rec-seg button { flex: 1; }
    .rec-toolbar .btn { width: 100%; justify-content: center; }
    .rec-toolbar .spacer { display: none; }
}
