/* Use the existing SHK calculation palette, typography and controls. */
.quick-article-search { padding: 0 0 24px; margin-bottom: 10px; border-bottom: 1px solid var(--calc-line, var(--portal-border)); min-width: 0; }
.qa-heading { margin-bottom: 20px; }
.qa-heading > div { min-width: 0; }
.qa-heading h2 { margin: 5px 0 9px; }
.qa-heading .system-chip { flex-shrink: 0; }
.qa-eyebrow { font-size: 11px; letter-spacing: .06em; color: var(--portal-mint); font-weight: 600; }
.qa-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) auto; gap: 12px; align-items: end; margin: 20px 0 12px; }
.qa-form label { display: grid; gap: 8px; min-width: 0; font-size: 13px; color: var(--portal-muted); }
.qa-form input, .qa-form select, .qa-form .app-select { width: 100%; min-width: 0; }
.qa-form input, .qa-form select, .qa-form .app-select-trigger, .qa-form > button { min-height: 44px; }
.qa-form > button { white-space: nowrap; }
.qa-manufacturer { grid-column: 1 / -1; display: flex; gap: 12px; }
.qa-manufacturer[hidden] { display: none; }
.qa-manufacturer label { flex: 1; }
.qa-note { font-size: 12px; line-height: 1.6; color: var(--portal-muted); }
[data-qa-status] { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--portal-muted); }
[data-qa-status]:empty { display: none; }
.qa-product { display: flex; gap: 18px; align-items: center; margin: 22px 0 16px; }
.qa-product > div { min-width: 0; }
.qa-product img, .qa-no-image { width: 112px; height: 112px; border: 1px solid var(--portal-border); border-radius: var(--radius); object-fit: contain; background: white; padding: 8px; flex-shrink: 0; }
.qa-no-image { display: grid; place-items: center; background: var(--portal-bg); color: var(--portal-muted); font-size: 12px; text-align: center; }
.qa-product h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin: 6px 0 8px; }
.qa-product p { font-size: 13px; line-height: 1.6; color: var(--portal-muted); overflow-wrap: anywhere; }
.qa-product strong { color: var(--portal-text); font-weight: 600; }
.qa-prices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-bottom: 12px; }
.qa-prices > div { padding: 14px; border: 1px solid var(--portal-border); border-radius: var(--radius); background: rgba(115,230,173,.045); min-width: 0; }
.qa-prices dt { font-size: 12px; color: var(--portal-muted); }
.qa-prices dd { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; margin: 5px 0 0; overflow-wrap: anywhere; }
.qa-prices .qa-ek { border-color: var(--portal-border-strong); background: rgba(115,230,173,.1); }
[data-qa-result] > p:not(.qa-note) { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--portal-muted); }
.qa-documents, .qa-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.qa-comparison { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(210px,100%),1fr)); gap: 12px; margin-top: 14px; }
.qa-quote { padding: 16px; border: 1px solid var(--portal-border); border-radius: var(--radius); display: grid; gap: 8px; background: var(--portal-bg); min-width: 0; overflow-wrap: anywhere; }
.qa-quote > strong { font-size: 14px; font-weight: 600; }
.qa-quote-price { font-size: 24px; font-weight: 650; font-variant-numeric: tabular-nums; }
.qa-quote > span:not(.qa-quote-price), .qa-quote small { font-size: 12px; color: var(--portal-muted); line-height: 1.5; }
.qa-quote b { font-size: 12px; font-weight: 600; }
.qa-best { border-color: var(--portal-mint); box-shadow: 0 0 20px rgba(115,230,173,.18); background: var(--portal-surface-2); }
.qa-best b, .qa-best .qa-quote-price { color: var(--portal-mint-strong); }
.qa-near { border-color: var(--brass); }
.qa-near b { color: #f3ce83; }
.qa-higher { border-color: var(--danger); }
.qa-higher b { color: #ffaaa3; }
[data-qa-compare] { border-top: 1px solid var(--calc-line, var(--portal-border)); margin-top: 24px; padding-top: 20px; }
[data-qa-compare] > h3 { font-size: 18px; font-weight: 600; margin-bottom: 9px; }
[data-qa-compare] > p { font-size: 13px; color: var(--portal-muted); line-height: 1.6; }
[data-qa-compare] > .qa-note { margin-top: 12px; font-size: 12px; }
@media (max-width: 1100px) { .qa-form { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 650px) {
  .qa-heading { flex-direction: column; gap: 10px; }
  .qa-form { grid-template-columns: minmax(0,1fr); }
  .qa-product { align-items: flex-start; gap: 12px; }
  .qa-product img, .qa-no-image { width: 76px; height: 86px; }
  .qa-product h3 { font-size: 16px; }
  .qa-prices { grid-template-columns: minmax(0,1fr); }
  .qa-prices > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px; }
  .qa-prices dd { margin: 0; font-size: 20px; }
  .qa-manufacturer { flex-direction: column; }
  .qa-actions > * { width: 100%; text-align: center; }
}
