/* Page styles: alt-finder. Uses the --ol-* tokens from Panel.styles.css. */

.af-search { margin-bottom: 16px; overflow: hidden; }
.af-hint { margin: 0 0 12px; font-size: 0.85rem; color: var(--ol-text-muted); }

.af-terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.af-term-box { padding: 12px; border-radius: var(--ol-radius); border: 1px solid var(--ol-border); display: flex; flex-direction: column; gap: 8px; }
.af-term-head { display: flex; align-items: center; justify-content: space-between; }
.af-term-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.af-chips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.af-quick { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.af-quick > .mud-input-control { flex: 1 1 280px; }

.af-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 12px; }

.af-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.af-toolbar-spacer { flex: 1 1 auto; }

.af-master { margin-bottom: 16px; }
.af-master-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.af-account { padding: 12px 0; border-top: 1px solid var(--ol-border); }
.af-account:first-child { border-top: 0; padding-top: 0; }
.af-account-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.af-account-name { font-weight: 600; font-size: 1rem; }
.af-badge { display: inline-block; padding: 1px 8px; border: 1px solid; border-radius: 999px; font-size: 0.7rem; font-weight: 600; }
.af-muted { color: var(--ol-text-faint); font-size: 0.85rem; }

.af-copy { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ol-text-muted); font-size: 0.8rem; cursor: pointer; word-break: break-all; text-align: left; }
.af-copy:hover { color: var(--ol-primary); }
.af-copy .mud-icon-root { font-size: 0.9rem; opacity: 0.7; }

.af-tokens { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.af-token { display: inline-flex; align-items: stretch; border: 1px solid; border-radius: 6px; overflow: hidden; }
.af-token-main { padding: 2px 8px; border: 0; background: none; color: inherit; font-size: 0.78rem; cursor: pointer; }
.af-token-main:hover { background: rgba(148, 163, 184, 0.15); }
.af-token-pivot { padding: 0 8px; border: 0; border-left: 1px solid var(--ol-border); background: none; color: var(--ol-text-muted); font-weight: 700; cursor: pointer; }
.af-token-pivot:hover { color: var(--ol-primary); background: var(--ol-primary-soft); }
.af-token .af-token-pivot { color: inherit; border-left-color: currentColor; opacity: 0.8; }

.af-tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.af-tech-wide { grid-column: 1 / -1; }
.af-tech-col { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.af-tech-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ol-text-faint); }
.af-link { padding: 0; border: 0; background: none; color: var(--ol-primary); font-size: 0.75rem; text-transform: none; letter-spacing: 0; cursor: pointer; }
.af-row-wrap { display: flex; align-items: stretch; gap: 2px; min-width: 0; }
.af-row { flex: 1 1 auto; min-width: 0; padding: 3px 8px; border: 0; border-radius: 4px; background: none; color: var(--ol-text); font-size: 0.8rem; text-align: left; word-break: break-all; cursor: pointer; }
.af-row:hover { background: rgba(148, 163, 184, 0.12); }
.af-row--warn { color: var(--ol-warning); }
.af-row .af-badge { margin-left: 6px; }

.af-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 16px; text-align: center; border: 1px dashed var(--ol-border); border-radius: var(--ol-radius-lg); }
.af-empty-icon { font-size: 2.5rem !important; color: var(--ol-text-faint); }
.af-empty-title { font-weight: 600; font-size: 1.05rem; }
.af-empty-text { max-width: 480px; color: var(--ol-text-muted); font-size: 0.875rem; }
