/* LUB Shakthi — quoting on a requirement, and being answerable for it.
 *
 * The standing line is the piece that matters: it is visible to everybody,
 * on the post, and it says how long a member has been sitting on somebody
 * else's quote. It is designed to be noticed without being a punishment —
 * a plain fact in plain type, which in a chapter that meets monthly is quite
 * enough.
 */

.quo { margin: 12px 0 0; }

/* ───────────────────────────────────────── the public standing */

.quo-standing {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 13px;
    background: var(--bg); border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13px; color: var(--ink-2);
}
.quo-standing .material-symbols-outlined { font-size: 18px; color: var(--ink-3); flex: none; }
.quo-standing strong { font-weight: 700; color: var(--ink); }
.quo-standing .grow { min-width: 0; }

/* Overdue is amber, never red: a busy shop owner who has not replied in two
   days is late, not a villain. */
.quo-standing.is-late {
    background: #FFFAEB; border-color: #FEDF89; color: #B54708;
}
.quo-standing.is-late .material-symbols-outlined { color: #B54708; }
.quo-standing.is-late strong { color: #93370D; }

.quo-closed {
    display: flex; align-items: center; gap: 9px;
    margin-top: 8px; padding: 9px 13px;
    background: #ECFDF3; border: 1px solid #ABEFC6; border-radius: 10px;
    font-size: 13px; color: #067647;
}
.quo-closed .material-symbols-outlined { font-size: 18px; flex: none; }

/* ───────────────────────────────────────── your own quote */

.quo-mine {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 8px; padding: 10px 13px;
    border: 1px solid var(--line-2); border-radius: 10px;
    background: #fff;
}
.quo-mine .grow { min-width: 0; }
.quo-mine strong { display: block; font-size: 13px; }
.quo-mine .quo-terms,
.quo-mine .quo-wait {
    display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px;
}
.quo-mine.is-accepted { border-color: #ABEFC6; background: #ECFDF3; }
.quo-mine.is-shortlisted { border-color: var(--brand-200); background: var(--brand-50); }
.quo-mine.is-declined { opacity: .72; }

.quo-open { margin-top: 8px; }
.quo-open > summary,
.quo-edit > summary {
    list-style: none; cursor: pointer; display: inline-flex;
    align-items: center; gap: 6px;
}
.quo-open > summary::-webkit-details-marker,
.quo-edit > summary::-webkit-details-marker { display: none; }

.quo-form {
    margin-top: 12px; padding: 14px;
    background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
}
.quo-form .field { margin-bottom: 12px; }

.quo-cap { display: flex; gap: 8px; flex-wrap: wrap; }
.quo-cap label {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 13px; border: 1px solid var(--line-2);
    border-radius: 999px; cursor: pointer; font-size: 13px;
    background: #fff;
}
.quo-cap label:has(input:checked) {
    border-color: var(--brand); background: var(--brand-50); color: var(--brand-deep);
    font-weight: 600;
}
.quo-cap input { width: 15px; height: 15px; min-height: 0; }

/* ───────────────────────────────────────── the buyer's list */

.quo-card.is-accepted { border-color: #ABEFC6; }
.quo-card.is-declined { opacity: .7; }
.quo-card.is-declined:hover { opacity: 1; }

.quo-terms-row {
    font-size: 13.5px; font-weight: 650; color: var(--ink);
    padding: 8px 0 0;
}
.quo-note {
    margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-2);
}
.quo-note.is-muted { color: var(--ink-3); font-style: italic; }

.quo-decide {
    display: flex; gap: 7px; flex-wrap: wrap;
    margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line);
}

/* ───────────────────────────────────────── the record on a profile */

.person-record {
    display: flex; flex-direction: column; gap: 6px;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--line);
}
.person-record > div {
    display: flex; align-items: center; gap: 7px;
    font-size: 12.5px; color: var(--ink-2);
}
.person-record .material-symbols-outlined { font-size: 16px; color: var(--ink-3); }
