@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Manrope:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap');

.qproc-root {
    font-family: 'Manrope', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: transparent;
    max-width: 860px;
}

/* ── Accordion row ── */
.qproc-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid rgba(229,227,222,0.7);
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
    overflow: hidden;
}
.qproc-row:first-child { border-top: 1px solid rgba(229,227,222,0.7); }
.qproc-row:hover { background: rgba(197,165,114,0.04); }
.qproc-row.open  { background: rgba(197,165,114,0.06); }

/* Gold left bar */
.qproc-bar {
    width: 2px;
    align-self: stretch;
    background: #C5A572;
    flex-shrink: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.qproc-row.open .qproc-bar { transform: scaleY(1); }

/* Row inner */
.qproc-inner {
    flex: 1;
    padding: 18px 20px 18px 18px;
}

/* Top strip: number + title + meta + chevron */
.qproc-top {
    display: flex;
    align-items: baseline;
    gap: 14px;
}
.qproc-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    font-weight: 400;
    color: #C5A572;
    flex-shrink: 0;
    line-height: 1;
    min-width: 26px;
}
.qproc-title {
    font-size: 15px;
    font-weight: 500;
    color: #1A1A2E;
    flex: 1;
    line-height: 1.3;
}
.qproc-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #9B9B9B;
    flex-shrink: 0;
}
.qproc-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #C5A572;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
    align-self: center;
}
.qproc-row.open .qproc-chevron { transform: rotate(180deg); }

/* Summary line (always visible) */
.qproc-summary {
    font-size: 13px;
    color: #6B6B7A;
    margin-top: 6px;
    padding-left: 40px;
    line-height: 1.5;
}

/* Expandable detail panel */
.qproc-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1);
}
.qproc-row.open .qproc-detail { max-height: 400px; }

.qproc-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px 24px;
    padding: 14px 0 6px 40px;
    border-top: 1px solid rgba(229,227,222,0.5);
    margin-top: 10px;
}
.qproc-field-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #C5A572;
    margin-bottom: 4px;
}
.qproc-field-val {
    font-size: 13px;
    color: #2a2a3a;
    line-height: 1.5;
}
.qproc-note {
    grid-column: 1 / -1;
    font-style: italic;
    font-size: 13px;
    border-top: 1px solid rgba(229,227,222,0.7);
    padding-top: 10px;
    margin-top: 4px;
    line-height: 1.55;
    color: #6B6B7A;
}

@media (max-width: 600px) {
    .qproc-meta { display: none; }
    .qproc-detail-inner {
        grid-template-columns: 1fr 1fr;
        padding-left: 20px;
    }
    .qproc-summary { padding-left: 20px; }
}
