#workspace:has(> .buyer-request-detail:not(.hidden)) > :not(#details) { display:none; }
#details.buyer-request-detail:not(.hidden) {
  --market-paper:#f8faf7;
  --market-ink:#142c22;
  --market-line:#dde7df;
  display:grid;
  grid-template-columns:minmax(180px, 224px) minmax(0, 1fr);
  padding:0;
  margin:20px 0;
  min-height:680px;
  overflow:clip;
  color:#142c22;
  background:#f8faf7;
  border:1px solid #355345;
  border-radius:20px;
}
.buyer-request-detail [hidden] { display:none !important; }
.buyer-request-sidebar {
  background:#103528;
  color:#ecf4ef;
  padding:22px 14px;
  min-width:0;
}
.buyer-request-sidebar button { width:100%; text-align:left; font:inherit; cursor:pointer; }
.buyer-request-sidebar .buyer-back { display:block; border:0; color:#dfeee5; background:none; padding:6px 8px 18px; }
.buyer-request-sidebar .buyer-new {
  color:#12291f; background:#dff2d8; padding:11px 12px; border:0; border-radius:8px; font-weight:700; margin-bottom:24px;
}
.buyer-request-index details { border:0; padding:0; margin:0 0 13px; background:none; }
.buyer-request-index summary { color:#c0d6c9; padding:6px 8px; cursor:pointer; font-size:.82rem; }
.buyer-request-index summary span { float:right; }
.buyer-request-index button {
  display:block; border:0; border-radius:7px; color:#ecf4ef; background:none; margin:3px 0; padding:8px 10px; overflow-wrap:anywhere;
}
.buyer-request-index button:hover, .buyer-request-index button[aria-current] { background:#285342; }
.buyer-request-index button[aria-current] { font-weight:700; }
.buyer-request-main { min-width:0; }
.buyer-request-header {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:12px 20px; padding:27px clamp(18px, 3vw, 35px) 17px; background:#fff;
}
.buyer-request-header h2 { margin:0; font-size:clamp(1.45rem, 2.8vw, 2rem); color:#142c22; overflow-wrap:anywhere; }
.buyer-request-header p { margin:5px 0 0; color:#51665b; }
.buyer-quote-count { background:#e9f3e8; border-radius:30px; padding:6px 12px; color:#20563c; font-size:.8rem; font-weight:700; }
.buyer-request-tabs { display:flex; gap:clamp(12px, 2vw, 25px); background:#fff; padding:0 clamp(18px, 3vw, 35px); border-bottom:1px solid #dbe5dd; }
.buyer-request-tabs button {
  background:none; border:0; border-bottom:3px solid transparent; border-radius:0; color:#52675c;
  padding:10px 0 12px; font-size:.9rem; cursor:pointer; white-space:nowrap;
}
.buyer-request-tabs button[aria-selected="true"] { border-bottom-color:#2d7250; color:#163a2a; font-weight:700; }
.buyer-request-pane { padding:24px clamp(18px, 3vw, 35px) 30px; }
.buyer-request-pane h3 { margin:0 0 14px; font-size:1.27rem; color:#142c22; }
.buyer-request-pane > div + div:not(:empty) { margin-top:18px; }
.buyer-request-brief, .buyer-quote-analysis > details, .buyer-quote-history > details {
  background:#fff; border:1px solid #dbe5dd; border-radius:10px; padding:13px 16px; margin:12px 0; color:#142c22;
}
.buyer-request-brief > summary, .buyer-quote-analysis > details > summary, .buyer-quote-history > details > summary { cursor:pointer; font-weight:700; }
.buyer-request-brief > div { margin-top:12px; }
.buyer-request-detail .buyer-request-pane .quiet { color:#244f3b; }
.buyer-request-detail .buyer-request-pane .danger-text { color:#8b2525; }
.buyer-request-facts { display:flex; flex-wrap:wrap; gap:12px 26px; margin:12px 0; }
.buyer-request-facts dt { color:#52675c; font-size:.82rem; }
.buyer-request-facts dd { margin:3px 0; font-weight:700; }
.buyer-request-detail .buyer-quote-analysis .analysis-result { overflow-wrap:anywhere; }
.buyer-compare-controls { display:flex; flex-wrap:wrap; gap:8px 16px; margin-bottom:14px; }
.buyer-compare-controls label { flex:1 0 min(100%,220px); min-width:0; }
.buyer-compare-controls select { width:100%; text-overflow:ellipsis; }
.buyer-compare-insight {
  display:flex; align-items:center; gap:11px; border:1px solid #d9e9dc; color:#245139;
  background:#eaf4eb; border-radius:10px; padding:11px 15px; margin:0 0 14px; font-size:.91rem;
}
.buyer-compare-insight span { font-size:1.3rem; }
.buyer-compare-scroll { overflow:auto; background:#fff; border:1px solid #dbe5dd; border-radius:12px; }
.buyer-compare-scroll table { width:100%; min-width:510px; border-collapse:collapse; table-layout:fixed; font-size:.88rem; }
.buyer-compare-scroll th, .buyer-compare-scroll td {
  border:0; border-bottom:1px solid #e4ebe6; vertical-align:top; color:#193529;
  text-align:left; padding:12px 13px; overflow-wrap:anywhere; white-space:pre-line;
}
.buyer-compare-scroll tr > * + * { border-left:1px solid #e4ebe6; }
.buyer-compare-scroll tr > th:first-child { position:sticky; left:0; z-index:1; width:24%; background:#f7faf7; font-weight:600; }
.buyer-compare-scroll thead th { font-weight:750; font-size:.94rem; background:#edf4ee; }
.buyer-compare-scroll thead th:first-child { background:#edf4ee; }
.buyer-compare-scroll thead small { display:block; color:#516c5b; margin-top:3px; font-weight:600; }
.buyer-compare-scroll .buyer-compare-price td { font-weight:750; font-size:1.08rem; color:#15472e; }
.buyer-compare-scroll td.buyer-compare-missing { color:#56685e; font-style:italic; }
.buyer-compare-scroll tfoot th, .buyer-compare-scroll tfoot td { border-bottom:0; }
.buyer-compare-scroll tfoot button { display:block; font-size:.81rem; cursor:pointer; }
.buyer-review-trigger { color:#fff; background:#23573d; border:1px solid #23573d; border-radius:7px; padding:8px 10px; font-weight:700; }
.buyer-compare-ask { color:#21543c; background:none; border:0; text-align:left; padding:8px 0 0; font-weight:600; }
.buyer-review-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.buyer-review-heading h4 { margin:0; }
.buyer-quote-review { scroll-margin-top:16px; margin:14px 0 0; background:#fff; padding:16px; border:1px solid #dbe5dd; border-radius:10px; overflow-wrap:anywhere; }
.buyer-quote-review .price { color:#164c33; }
.buyer-empty-quote { margin:0; padding:18px; background:#fff; border:1px solid #dbe5dd; border-radius:10px; color:#51665b; }
.buyer-visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.buyer-request-detail :focus-visible { outline:2px solid #448968; outline-offset:3px; }
.buyer-request-sidebar :focus-visible { outline-color:#dff2d8; }
@media (max-width: 720px) {
  #details.buyer-request-detail:not(.hidden) { grid-template-columns:minmax(0,1fr); min-height:0; }
  .buyer-request-sidebar { display:flex; align-items:flex-start; flex-wrap:wrap; gap:7px 12px; padding:12px; }
  .buyer-request-sidebar .buyer-back, .buyer-request-sidebar .buyer-new { width:auto; padding:7px 9px; margin:0; }
  .buyer-request-index { display:flex; flex-wrap:wrap; gap:0 8px; width:100%; min-width:0; }
  .buyer-request-index details { flex:1 1 108px; min-width:0; margin:0; }
  .buyer-compare-scroll table { min-width:440px; }
  .buyer-compare-scroll th, .buyer-compare-scroll td { padding:9px; }
  .buyer-request-tabs { gap:16px; }
}


.buyer-request-detail .buyer-compare-controls label { color:#244f3b; }
.buyer-request-detail .buyer-compare-controls select { background:#fff; color:#142c22; border-color:#c9d8cd; }
.buyer-request-detail .buyer-quote-review p:not(.chip) { color:#2d493b; }
.buyer-request-detail .buyer-review-heading h4 { margin:0; }
.buyer-request-detail .buyer-quote-review .price { color:#164c33; }
