.seerfar-panel { grid-column: 1 / -1; }
.seerfar-panel, .seerfar-layout, .seerfar-result, .seerfar-table-wrap { min-width: 0; max-width: 100%; }
.seerfar-table-wrap { overflow-x: auto; }
.seerfar-modes { display: flex; gap: 8px; }
.seerfar-modes button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: #f3f5f8;
  color: #627089;
  font-weight: 700;
  cursor: pointer;
}
.seerfar-modes button.is-active { background: var(--suite-primary, #6255d9); color: #fff; }
.seerfar-form { display: grid; gap: 12px; min-width: 0; }
.seerfar-platform { display: flex; gap: 16px; align-items: center; }
.seerfar-platform label { display: inline-flex; gap: 6px; align-items: center; }
.seerfar-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; min-width: 0; }
.seerfar-filters label { display: grid; gap: 6px; min-width: 0; color: #334155; font-size: 13px; }
.seerfar-panel [hidden] { display: none; }
.seerfar-filters input, .seerfar-filters select { width: 100%; min-width: 0; }
.seerfar-range { grid-template-columns: 1fr 1fr; }
.seerfar-range span { grid-column: 1 / -1; }
.seerfar-actions { display: flex; justify-content: flex-end; gap: 8px; }
.seerfar-status, .seerfar-result-head p, .seerfar-footer { margin: 0; color: #64748b; font-size: 13px; }
.seerfar-result-head, .seerfar-footer { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.seerfar-summary { display: flex; flex-wrap: wrap; gap: 8px; }
.seerfar-summary span { border-radius: 8px; background: #f8fafc; padding: 6px 10px; color: #334155; }
.seerfar-table-wrap { overflow-x: auto; min-width: 0; }
.seerfar-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 13px; }
.seerfar-table th, .seerfar-table td { padding: 10px 8px; border-bottom: 1px solid var(--line, #e4e7ef); text-align: left; vertical-align: top; }
.seerfar-table th { color: #748096; font-weight: 700; white-space: nowrap; }
.seerfar-product { display: flex; gap: 8px; min-width: 220px; }
.seerfar-thumb { position: relative; flex: none; display: inline-block; width: 44px; height: 44px; border: 0; border-radius: 10px; padding: 0; overflow: hidden; background: #f1f3f8; cursor: zoom-in; }
.seerfar-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease; }
.seerfar-thumb:hover img, .seerfar-thumb:focus-visible img { transform: scale(1.06); }
.seerfar-thumb:focus-visible { outline: 2px solid var(--suite-primary, #6255d9); outline-offset: 2px; }
.seerfar-thumb.is-lg { width: 88px; height: 88px; border-radius: 14px; }
.seerfar-samples { display: flex; gap: 6px; align-items: center; }
.seerfar-more { flex: none; box-sizing: border-box; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #f1f3f8; color: #627089; font-size: 12px; font-weight: 700; }
.seerfar-preview { position: fixed; inset: auto; box-sizing: border-box; width: 280px; margin: 0; border: 0; border-radius: 14px; padding: 8px; background: #fff; box-shadow: 0 18px 50px rgba(15, 27, 32, .28); pointer-events: none; overflow: hidden; }
.seerfar-preview[hidden] { display: none; }
.seerfar-preview img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #f6f7fb; }
.seerfar-preview p { display: -webkit-box; margin: 8px 4px 2px; overflow: hidden; color: #334155; font-size: 12px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.seerfar-product strong, .seerfar-product small { display: block; }
.seerfar-product small, .seerfar-muted { color: #748096; }
.seerfar-up { color: #1f9d55; }
.seerfar-down { color: #d4534a; }
.seerfar-link { border: 0; padding: 0; background: transparent; color: var(--suite-primary, #6255d9); cursor: pointer; text-align: left; }
.seerfar-footer nav, .seerfar-pager { display: flex; gap: 8px; align-items: center; }
.seerfar-footer button, .seerfar-pager button, .seerfar-result-head .secondary-button {
  min-height: 32px;
  border: 1px solid var(--line, #e4e7ef);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  cursor: pointer;
}
.seerfar-panel > .panel-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 16px; align-items: start; }
.seerfar-log { box-sizing: border-box; min-width: 0; border: 1px solid var(--line, #e4e7ef); border-radius: 12px; padding: 10px 12px; background: #fafbff; }
.seerfar-log-head { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.seerfar-log-state { display: flex; gap: 6px; align-items: center; min-width: 0; font-size: 13px; }
.seerfar-log-state strong { overflow: hidden; color: #334155; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.seerfar-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #cbd2df; }
.seerfar-dot.is-ok { background: #1f9d55; box-shadow: 0 0 0 3px rgba(31, 157, 85, .15); }
.seerfar-dot.is-bad { background: #d4534a; box-shadow: 0 0 0 3px rgba(212, 83, 74, .15); }
.seerfar-log-head button { flex: none; border: 0; padding: 0; background: transparent; color: var(--suite-primary, #6255d9); font-size: 13px; font-weight: 700; cursor: pointer; }
.seerfar-log-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.seerfar-log-list button { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; border: 0; border-radius: 8px; padding: 5px 6px; background: transparent; color: #334155; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.seerfar-log-list button:hover { background: #fff; }
.seerfar-log-list time { color: #94a0b4; font-variant-numeric: tabular-nums; }
.seerfar-log-list strong { font-weight: 700; white-space: nowrap; }
.seerfar-log-list span { overflow: hidden; color: #748096; text-overflow: ellipsis; white-space: nowrap; }
.seerfar-log-list em { color: #627089; font-style: normal; white-space: nowrap; }
.seerfar-log-list .is-failed em { color: #d4534a; }
.seerfar-log-empty { padding: 6px; color: #94a0b4; font-size: 12px; }
.seerfar-log-full { margin: 12px 0; }
.seerfar-log-full button { padding: 10px 8px; border-bottom: 1px solid var(--line, #e4e7ef); border-radius: 0; font-size: 13px; }
.seerfar-sheet-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.seerfar-sheet-head h3 { margin: 0; font-size: 16px; }
.seerfar-pager { justify-content: center; }
.seerfar-intro { display: grid; gap: 8px; margin: 12px 0; padding: 12px; border: 1px solid var(--line, #e4e7ef); border-radius: 12px; background: #fafbff; }
.seerfar-intro-toggle { justify-self: start; min-height: 32px; border: 0; border-radius: 999px; padding: 0 12px; background: #f3f5f8; color: #334155; font-weight: 700; cursor: pointer; }
.seerfar-intro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.seerfar-intro-grid section { min-width: 0; }
.seerfar-intro-grid h3 { margin: 0 0 6px; font-size: 14px; }
.seerfar-intro-grid p { margin: 0 0 4px; color: #475569; font-size: 13px; }
.seerfar-lookup { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 12px; }
.seerfar-lookup label { display: grid; gap: 6px; min-width: 0; color: #334155; font-size: 13px; }
.seerfar-lookup input, .seerfar-lookup select { box-sizing: border-box; min-width: 0; min-height: 38px; border: 1px solid var(--line, #e4e7ef); border-radius: 8px; padding: 0 10px; background: #fff; }
.seerfar-lookup .suite-select { min-width: 160px; }
.seerfar-lookup p { flex-basis: 100%; margin: 0; color: #d4534a; }
.seerfar-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.seerfar-tabs button { min-height: 32px; border: 1px solid var(--line, #e4e7ef); border-radius: 999px; padding: 0 12px; background: #fff; color: #475569; cursor: pointer; }
.seerfar-tabs button.is-active { border-color: transparent; background: var(--suite-primary, #6255d9); color: #fff; }
.seerfar-product button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.seerfar-drawer { box-sizing: border-box; width: min(640px, 100vw); height: 100vh; max-height: 100vh; margin: 0 0 0 auto; border: 0; border-left: 1px solid var(--line, #e4e7ef); padding: 18px; overflow: auto; color: var(--ink, #172033); background: var(--surface, #fff); box-shadow: -18px 0 50px rgba(15, 27, 32, .18); }
.seerfar-drawer::backdrop, .seerfar-confirm::backdrop { background: rgba(15, 27, 32, .45); }
.seerfar-confirm { box-sizing: border-box; width: min(400px, calc(100% - 32px)); border: 1px solid var(--line, #e4e7ef); border-radius: 12px; padding: 0; color: var(--ink, #172033); background: var(--surface, #fff); box-shadow: 0 24px 70px rgba(15, 27, 32, .24); }
.seerfar-confirm form { display: grid; gap: 8px; margin: 0; padding: 20px; }
.seerfar-confirm h3 { margin: 0; font-size: 16px; }
.seerfar-confirm p { margin: 0; color: #475569; font-size: 14px; }
.seerfar-confirm strong { color: var(--suite-primary, #6255d9); }
.seerfar-confirm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.seerfar-history-drawer { width: min(480px, 100vw); }
.seerfar-drawer-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.seerfar-drawer-head > .secondary-button, .seerfar-sheet-head > .secondary-button { flex: none; width: auto; min-width: 0; }
.seerfar-hero { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.seerfar-hero-copy { display: grid; gap: 10px; min-width: 0; }
.seerfar-hero h3 { display: -webkit-box; margin: 2px 0 0; overflow: hidden; font-size: 16px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.seerfar-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.seerfar-chip { display: inline-flex; align-items: center; min-height: 26px; border: 0; border-radius: 999px; padding: 0 10px; background: #f1f3f8; color: #475569; font: inherit; font-size: 12px; text-decoration: none; white-space: nowrap; }
.seerfar-chip.is-action { cursor: copy; }
.seerfar-chip.is-strong { color: #172033; font-weight: 700; }
.seerfar-chip.is-link { background: rgba(98, 85, 217, .1); color: var(--suite-primary, #6255d9); font-weight: 700; }
.seerfar-drawer-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 16px 0 12px; border-radius: 12px; padding: 4px; background: #f1f3f8; }
.seerfar-drawer-actions button { position: relative; display: grid; gap: 2px; justify-items: center; min-width: 0; border: 0; border-radius: 9px; padding: 7px 4px; background: transparent; color: #627089; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.seerfar-drawer-actions small { color: #94a0b4; font-size: 11px; font-weight: 600; }
.seerfar-drawer-actions button.is-active { background: #fff; color: #172033; box-shadow: 0 2px 8px rgba(15, 27, 32, .08); }
.seerfar-drawer-actions button.is-active small { color: var(--suite-primary, #6255d9); }
.seerfar-drawer-actions button.has-result::after { content: ""; position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: #1f9d55; }
.seerfar-idle { display: grid; gap: 14px; justify-items: center; margin-top: 8px; border: 1px dashed var(--line, #e4e7ef); border-radius: 12px; padding: 32px 20px; text-align: center; }
.seerfar-idle p { margin: 0; max-width: 360px; color: #475569; font-size: 14px; line-height: 1.6; }
.seerfar-block-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.seerfar-block-head p { margin: 0; min-width: 0; color: #748096; font-size: 12px; }
.seerfar-block-head p strong { margin-right: 6px; color: #172033; font-size: 14px; }
.seerfar-block-head button { flex: none; min-height: 32px; border: 1px solid var(--line, #e4e7ef); border-radius: 8px; background: #fff; padding: 0 10px; color: #475569; font: inherit; font-size: 12px; cursor: pointer; }
.seerfar-block { margin-top: 12px; }
.seerfar-block + .seerfar-block { padding-top: 12px; border-top: 1px solid var(--line, #e4e7ef); }
.seerfar-cards { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.seerfar-cards li { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line, #e4e7ef); border-radius: 12px; padding: 10px; background: #fff; }
.seerfar-rank { flex: none; width: 20px; padding-top: 2px; color: #94a0b4; font-size: 12px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.seerfar-card-body { display: grid; gap: 4px; min-width: 0; flex: 1; }
.seerfar-card-title { display: -webkit-box; border: 0; padding: 0; overflow: hidden; background: transparent; color: #172033; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.4; text-align: left; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
button.seerfar-card-title { cursor: pointer; }
button.seerfar-card-title:hover { color: var(--suite-primary, #6255d9); }
.seerfar-card-body small { overflow: hidden; color: #94a0b4; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.seerfar-card-body dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 0; }
.seerfar-card-body dt { color: #94a0b4; font-size: 11px; }
.seerfar-card-body dd { margin: 2px 0 0; color: #172033; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.seerfar-traits { display: grid; gap: 8px; margin-top: 10px; }
.seerfar-traits div { display: flex; gap: 10px; align-items: center; justify-content: space-between; border: 1px solid var(--line, #e4e7ef); border-radius: 12px; padding: 10px 12px; background: #fff; }
.seerfar-traits span { min-width: 0; color: #172033; font-size: 14px; font-weight: 700; }
.seerfar-traits button { flex: none; min-height: 30px; border: 0; border-radius: 999px; padding: 0 12px; background: rgba(98, 85, 217, .1); color: var(--suite-primary, #6255d9); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.seerfar-traits button:disabled { opacity: .5; cursor: default; }
.seerfar-drawer .seerfar-table { min-width: 0; }
@media (max-width: 900px) {
  .seerfar-filters { grid-template-columns: 1fr 1fr; }
  .seerfar-intro-grid { grid-template-columns: 1fr; }
  .seerfar-panel > .panel-header { grid-template-columns: 1fr; }
  .seerfar-actions, .seerfar-actions .primary-button, .seerfar-actions .secondary-button { width: 100%; }
  .seerfar-result-head, .seerfar-footer { align-items: stretch; flex-direction: column; }
}
@media (max-width: 720px) {
  .seerfar-lookup, .seerfar-lookup .primary-button { width: 100%; }
  .seerfar-drawer { width: 100vw; max-width: 100vw; border-radius: 0; padding: 14px; }
  .seerfar-drawer-actions { grid-template-columns: 1fr 1fr; }
  .seerfar-thumb.is-lg { width: 64px; height: 64px; }
  .seerfar-preview { display: none; }
}
