/* Press Legacy 0.1.0.8.3 - Cross Reference compact workflow/refinement UI. Isolated Cross Reference only. */
#xrefSmartPanel { display:none !important; }
.xref-083-panel { border:1px solid rgba(148,163,184,.28); border-radius:1rem; padding:1rem; margin:1rem 0; background:rgba(15,23,42,.035); }
.xref-083-top { display:grid; grid-template-columns:1.1fr 1fr; gap:.85rem; align-items:start; }
.xref-083-field { display:flex; flex-direction:column; gap:.35rem; }
.xref-083-field label { font-size:.78rem; opacity:.78; font-weight:700; letter-spacing:.02em; }
.xref-083-field input,.xref-083-field textarea,.xref-083-field select { width:100%; }
.xref-083-question { min-height:5.3rem; }
.xref-083-actions { display:flex; flex-wrap:wrap; gap:.55rem; align-items:center; margin:.8rem 0 0; }
.xref-083-section-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; margin:.85rem 0; }
.xref-083-section { border:1px solid rgba(148,163,184,.25); border-radius:.9rem; padding:.75rem; background:rgba(255,255,255,.035); }
.xref-083-section h4 { margin:.05rem 0 .55rem; font-size:.95rem; }
.xref-083-section .xref-083-field + .xref-083-field { margin-top:.5rem; }
.xref-083-selected-tags { min-height:2.2rem; display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; padding:.35rem; border:1px dashed rgba(148,163,184,.36); border-radius:.75rem; background:rgba(148,163,184,.06); }
.xref-083-chip { display:inline-flex; align-items:center; gap:.35rem; border:1px solid rgba(59,130,246,.35); border-radius:999px; padding:.32rem .55rem; background:rgba(59,130,246,.13); font-size:.82rem; line-height:1.15; }
.xref-083-chip button { border:0; background:transparent; color:inherit; cursor:pointer; padding:0 .08rem; font-weight:800; }
.xref-083-refine-bar { display:none; margin:.75rem 0; padding:.65rem; border-radius:.85rem; border:1px solid rgba(234,179,8,.35); background:rgba(234,179,8,.09); }
.xref-083-refine-bar.active { display:flex; gap:.6rem; flex-wrap:wrap; align-items:center; }
.xref-083-modal-backdrop { position:fixed; inset:0; z-index:9999; display:none; align-items:center; justify-content:center; background:rgba(2,6,23,.65); padding:1rem; }
.xref-083-modal-backdrop.open { display:flex; }
.xref-083-modal { width:min(760px,96vw); max-height:86vh; overflow:auto; border-radius:1rem; padding:1rem; background:var(--panel,#0f172a); color:inherit; box-shadow:0 22px 70px rgba(0,0,0,.45); border:1px solid rgba(148,163,184,.35); }
.xref-083-modal-head { display:flex; align-items:center; justify-content:space-between; gap:.7rem; margin-bottom:.7rem; }
.xref-083-modal-search { display:grid; grid-template-columns:1fr auto; gap:.5rem; margin:.5rem 0 .75rem; }
.xref-083-tag-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.45rem; }
.xref-083-tag-choice { text-align:left; border:1px solid rgba(148,163,184,.3); border-radius:.65rem; padding:.45rem .55rem; background:rgba(148,163,184,.08); color:inherit; cursor:pointer; }
.xref-083-tag-choice.selected { border-color:rgba(59,130,246,.8); background:rgba(59,130,246,.20); }
.xref-083-results { display:grid; gap:.75rem; }
.xref-083-card { border:1px solid rgba(148,163,184,.28); border-radius:.9rem; padding:.85rem; background:rgba(255,255,255,.035); }
.xref-083-card.best { outline:2px solid rgba(59,130,246,.58); }
.xref-083-card-head { display:flex; justify-content:space-between; gap:.75rem; align-items:flex-start; }
.xref-083-card h5 { margin:.1rem 0 .25rem; font-size:1rem; }
.xref-083-score { white-space:nowrap; font-weight:800; border-radius:999px; padding:.25rem .5rem; background:rgba(59,130,246,.16); border:1px solid rgba(59,130,246,.35); }
.xref-083-card-meta { display:flex; flex-wrap:wrap; gap:.35rem; margin:.55rem 0; }
.xref-083-card-actions { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; margin-top:.6rem; }
.xref-083-refine-check { display:inline-flex; gap:.35rem; align-items:center; font-weight:700; }
.xref-083-muted { opacity:.72; }
@media (max-width:900px){ .xref-083-top,.xref-083-section-grid { grid-template-columns:1fr; } .xref-083-tag-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px){ .xref-083-panel { padding:.75rem; } .xref-083-modal { width:98vw; max-height:90vh; padding:.8rem; } .xref-083-modal-search { grid-template-columns:1fr; } .xref-083-tag-grid { grid-template-columns:1fr; } .xref-083-card-head { flex-direction:column; } .xref-083-actions button { width:100%; } }
