/* ════════════════════════════════════════════════════════
   NEXUS · Components
   Palette : Ivoire · Miel (accent) · Violet (interactions)
   ════════════════════════════════════════════════════════ */

/* ── Chrome Controls ── */
.lang-switch {
    display: inline-flex; padding: 3px;
    border-radius: 999px;
    background: var(--bg-2); border: 1px solid var(--border);
}
.lang-btn {
    border: 0; border-radius: 999px; background: transparent;
    color: var(--text-3); padding: 5px 12px;
    font-family: var(--mono); font-size: 0.70rem; letter-spacing: 0.10em;
    transition: background 140ms, color 140ms;
}
.lang-btn:hover { color: var(--text-2); }
.lang-btn.is-active { background: var(--bg-1); color: var(--text); box-shadow: var(--shadow-xs); }

.chrome-info-btn {
    display: inline-grid; place-items: center;
    width: 32px; height: 32px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--bg-2);
    color: var(--text-3); font-family: var(--mono); font-size: 0.76rem;
    transition: border-color 150ms, color 150ms, box-shadow 150ms;
}
.chrome-info-btn:hover { border-color: var(--border-md); color: var(--text); box-shadow: var(--shadow-xs); }
.chrome-info-btn.is-hidden { opacity: 0; pointer-events: none; }

/* ── Base card ── */
.panel-card {
    position: relative; border-radius: var(--r-xl);
    border: 1px solid var(--border); background: var(--bg-1);
    padding: clamp(18px, 2.2vw, 28px);
    box-shadow: var(--shadow-xs);
}
.panel-card--ruled { border-top: 2px solid var(--honey); }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: var(--r-md); border: 0;
    background: var(--text); color: var(--bg);
    font-family: var(--sans); font-size: 0.88rem; font-weight: 700;
    letter-spacing: 0.01em;
    transition: background 150ms, transform 140ms, box-shadow 150ms;
    white-space: nowrap;
}
.btn:hover { background: #2c2820; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: 0.38; cursor: not-allowed; transform: none; box-shadow: none; }

/* Accent: Honey CTA (for primary intro action) */
.btn--honey {
    background: var(--honey); color: #fff;
}
.btn--honey:hover { background: var(--honey-bright); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: var(--r-md);
    border: 1px solid var(--border-md); background: transparent;
    color: var(--text-2); font-family: var(--sans); font-size: 0.88rem; font-weight: 500;
    transition: border-color 150ms, color 150ms, transform 150ms;
}
.btn-ghost:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-1px); }
.btn-ghost:disabled { opacity: 0.38; cursor: not-allowed; transform: none; }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: var(--r-md);
    border: 1px solid var(--border); background: var(--bg-2);
    color: var(--text-2); font-family: var(--sans); font-size: 0.86rem; font-weight: 500;
    transition: border-color 150ms, color 150ms, background 150ms;
}
.btn-secondary:hover { border-color: var(--violet); color: var(--violet-text); background: var(--violet-faint); }
/* Active state uses violet (B hybridation) */
.btn-secondary.is-active, .btn-secondary.btn {
    border-color: var(--violet); color: var(--violet-text); background: var(--violet-dim);
}

.text-link-btn {
    border: 0; background: transparent; color: var(--text-3);
    font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.04em;
    padding: 0; transition: color 140ms;
}
.text-link-btn:hover { color: var(--text-2); }

/* ── Intro Frame ── */
.intro-frame {
    position: relative;
    padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 72px);
    text-align: center;
    border-radius: var(--r-2xl);
    border: 1px solid var(--border);
    background: var(--bg-1);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
/* Ligne miel en haut */
.intro-frame::before {
    content: "";
    position: absolute; top: 0; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--honey), transparent);
    border-radius: 0 0 999px 999px;
}
/* Tache de lumière chaude centrée */
.intro-frame::after {
    content: "";
    position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 320px;
    background: radial-gradient(ellipse at center, rgba(196,137,31,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.intro-inner {
    position: relative; z-index: 1;
    display: grid; gap: 28px; justify-items: center;
}
.intro-kicker {
    font-family: var(--mono); font-size: 0.68rem;
    letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--honey);
}
.hero-wordmark {
    margin: 0;
    font-family: var(--mono); font-size: clamp(3.2rem, 10vw, 6.2rem);
    font-weight: 400; letter-spacing: 0.54em; line-height: 0.94;
    color: var(--text);
}
.intro-tagline {
    margin: 0;
    font-family: var(--display); font-style: italic;
    font-size: clamp(1.35rem, 2.8vw, 2.1rem);
    font-weight: 300; line-height: 1.3;
    color: var(--text-2); max-width: 26ch;
}
.intro-tagline strong {
    font-weight: 600; font-style: normal;
    color: var(--text);
}
.intro-note {
    font-family: var(--mono); font-size: 0.68rem;
    color: var(--text-4); text-align: center;
    letter-spacing: 0.06em; margin: 0;
}

/* ── Progress Bar ── */
.progress-bar {
    width: 100%; height: 2px;
    background: var(--bg-3); border-radius: 999px; overflow: hidden;
}
.progress-bar__fill {
    height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, var(--honey), var(--honey-bright));
    transition: width 320ms cubic-bezier(0.22,1,0.36,1);
}
.progress-meta {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--mono); font-size: 0.70rem; color: var(--text-3);
}

/* ── Form ── */
.field { display: grid; gap: 7px; }
.field-label {
    font-family: var(--mono); font-size: 0.70rem;
    letter-spacing: 0.10em; text-transform: uppercase; color: var(--text-3);
}
.input, .select, .textarea {
    width: 100%; padding: 11px 14px;
    border-radius: var(--r-md); border: 1px solid var(--border);
    background: var(--bg-1); color: var(--text); font-size: 0.92rem;
    transition: border-color 150ms, box-shadow 150ms;
    outline: none; appearance: none; -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.input:focus, .select:focus, .textarea:focus {
    border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-faint);
}
.select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A49A89' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center;
    padding-right: 38px; cursor: pointer;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.6; }

.choice-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: var(--r-sm);
    border: 1px solid var(--border); background: var(--bg-2);
    color: var(--text-2); font-size: 0.84rem; font-weight: 500;
    transition: all 150ms; white-space: nowrap; cursor: pointer;
}
.choice-chip:hover { border-color: var(--violet); color: var(--violet-text); background: var(--violet-faint); }
.choice-chip.is-selected { border-color: var(--violet); color: var(--violet-text); background: var(--violet-dim); }
.chip-grid { display: flex; flex-wrap: wrap; gap: 7px; }

/* ── Quiz option buttons ── */
.option-btn {
    display: flex; align-items: flex-start; gap: 13px;
    width: 100%; padding: 14px 16px;
    border-radius: var(--r-md);
    border: 1px solid var(--border); background: var(--bg-1);
    color: var(--text-2); font-size: 0.9rem; line-height: 1.55;
    text-align: left;
    transition: border-color 160ms, background 160ms, color 160ms, box-shadow 160ms;
    box-shadow: var(--shadow-xs);
}
.option-btn:hover { border-color: var(--violet); color: var(--text); background: var(--violet-faint); box-shadow: var(--shadow-sm); }
.option-btn.is-selected {
    border-color: var(--violet); color: var(--text);
    background: var(--violet-faint); box-shadow: 0 0 0 3px var(--violet-faint), var(--shadow-xs);
}
.option-btn__letter {
    flex-shrink: 0; width: 22px; height: 22px; border-radius: var(--r-xs);
    border: 1px solid var(--border-md);
    display: grid; place-items: center;
    font-family: var(--mono); font-size: 0.68rem; color: var(--text-3);
    transition: all 160ms; margin-top: 1px;
}
.option-btn.is-selected .option-btn__letter {
    background: var(--violet); border-color: var(--violet); color: #fff;
}
.question-label {
    font-family: var(--display); font-style: italic;
    font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 400;
    line-height: 1.38; color: var(--text); margin: 0;
}
.hesitate-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-3); font-family: var(--mono); font-size: 0.73rem; letter-spacing: 0.06em;
    transition: all 150ms;
}
.hesitate-toggle:hover { border-color: var(--warn); color: var(--warn); }
.hesitate-toggle.is-on { border-color: var(--warn); color: var(--warn); background: var(--warn-bg); }
.hesitate-toggle__dot { width: 5px; height: 5px; border-radius: 999px; background: currentColor; }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ── Analyzing ── */
.analyzing-frame {
    border-radius: var(--r-xl); border: 1px solid var(--border);
    background: var(--bg-1); padding: 36px;
    box-shadow: var(--shadow-sm); display: grid; gap: 22px;
}
.analyzing-step {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--mono); font-size: 0.80rem; color: var(--text-3);
    transition: color 280ms;
}
.analyzing-step.is-active { color: var(--text); }
.analyzing-step.is-done { color: var(--ok); }
.analyzing-step__icon { width: 18px; height: 18px; flex-shrink: 0; display: grid; place-items: center; }
.analyzing-spinner {
    width: 14px; height: 14px;
    border: 1.5px solid var(--border-md);
    border-top-color: var(--honey);
    border-radius: 999px;
    animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.results-meta-row { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--bg-2);
    font-family: var(--mono); font-size: 0.68rem; color: var(--text-2); letter-spacing: 0.04em;
}
.meta-chip svg { width: 10px; height: 10px; opacity: 0.55; }
.results-feature-name {
    font-family: var(--display); font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 400;
    line-height: 1.1; color: var(--text); margin: 0;
}

/* ── Trajectory Cards ── */
.traj-card {
    position: relative; border-radius: var(--r-lg);
    border: 1px solid var(--border); background: var(--bg-1);
    padding: clamp(16px, 2vw, 22px);
    display: grid; gap: 14px; align-content: start;
    box-shadow: var(--shadow-xs);
    transition: border-color 200ms, box-shadow 200ms, transform 200ms;
}
.traj-card:hover { border-color: var(--border-md); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.traj-card--primary {
    border-top: 2px solid var(--honey);
    background: linear-gradient(180deg, rgba(196,137,31,0.025) 0%, var(--bg-1) 60px);
}
.traj-rank {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--mono); font-size: 0.67rem;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3);
}
.traj-rank__num {
    display: inline-grid; place-items: center;
    width: 19px; height: 19px; border-radius: var(--r-xs);
    border: 1px solid var(--border-md);
    font-size: 0.62rem; color: var(--text-2);
}
.traj-card--primary .traj-rank__num { border-color: var(--honey); color: var(--honey); }
.traj-title {
    font-family: var(--display); font-size: 1.25rem; font-weight: 600;
    line-height: 1.15; color: var(--text); margin: 0;
}
.traj-summary {
    font-size: 0.88rem; line-height: 1.62; color: var(--text-2); margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Score bars — miel pour primaire, neutre pour secondaire */
.traj-scores { display: grid; gap: 8px; }
.score-row { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; }
.score-label {
    font-family: var(--mono); font-size: 0.67rem;
    color: var(--text-3); letter-spacing: 0.06em;
    display: flex; align-items: center; gap: 5px;
}
.score-label svg { width: 10px; height: 10px; }
.score-bar-wrap { grid-column: 1/-1; }
.score-bar { height: 3px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.score-bar__fill { height: 100%; border-radius: 999px; background: var(--bg-4); }
.traj-card--primary .score-bar__fill { background: var(--honey); }
.score-val { font-family: var(--mono); font-size: 0.70rem; color: var(--text-3); text-align: right; }

/* Tags reasons/watchouts */
.traj-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.traj-tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 9px; border-radius: var(--r-xs);
    font-family: var(--mono); font-size: 0.66rem;
    color: var(--text-3); background: var(--bg-2); border: 1px solid var(--border);
}
.traj-tag--ok   { color: var(--ok);   border-color: rgba(31,122,74,0.2);  background: var(--ok-bg); }
.traj-tag--warn { color: var(--warn); border-color: rgba(160,96,32,0.2);  background: var(--warn-bg); }
.traj-tag svg { width: 8px; height: 8px; }

/* ── Program Cards ── */
.prog-card {
    border-radius: var(--r-md); border: 1px solid var(--border);
    background: var(--bg-1); padding: 16px 18px;
    display: grid; gap: 10px; align-content: start;
    box-shadow: var(--shadow-xs);
    transition: border-color 160ms, box-shadow 160ms, transform 160ms;
}
.prog-card:hover { border-color: var(--border-md); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.prog-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.prog-title { font-size: 0.91rem; font-weight: 700; color: var(--text); margin: 0; line-height: 1.3; }
.prog-institution { font-family: var(--mono); font-size: 0.70rem; color: var(--text-3); }
.prog-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.prog-tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 8px; border-radius: var(--r-xs);
    border: 1px solid var(--border); font-family: var(--mono); font-size: 0.67rem; color: var(--text-3);
}
.prog-tag svg { width: 9px; height: 9px; }

/* Badges */
.badge {
    display: inline-flex; align-items: center;
    padding: 2px 8px; border-radius: var(--r-xs);
    font-family: var(--mono); font-size: 0.64rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase; flex-shrink: 0;
}
.badge[data-tone="success"] { background: var(--ok-bg);   color: var(--ok);   border: 1px solid rgba(31,122,74,0.2); }
.badge[data-tone="warning"] { background: var(--warn-bg); color: var(--warn); border: 1px solid rgba(160,96,32,0.2); }
.badge[data-tone="danger"]  { background: var(--err-bg);  color: var(--err);  border: 1px solid rgba(160,48,32,0.2); }

/* ── Explain card ── */
.explain-card {
    border-radius: var(--r-lg); border: 1px solid var(--border);
    background: var(--bg-1); padding: clamp(16px, 2vw, 24px);
    box-shadow: var(--shadow-xs);
}
.explain-rows { display: grid; }
.explain-row {
    display: grid; grid-template-columns: 130px 1fr;
    gap: 12px; align-items: baseline;
    padding: 11px 0; border-bottom: 1px solid var(--border);
}
.explain-row:last-child { border-bottom: 0; }
.explain-row__key {
    font-family: var(--mono); font-size: 0.70rem;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}
.explain-row__val { font-size: 0.88rem; color: var(--text-2); line-height: 1.5; }

/* Details/summary */
.details-panel { margin-top: 4px; }
.details-panel summary {
    cursor: pointer; list-style: none;
    display: flex; align-items: center; gap: 6px;
    font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-3);
    padding: 10px 0; border-top: 1px solid var(--border);
    width: 100%; margin-top: 10px; transition: color 140ms;
}
.details-panel summary:hover { color: var(--text-2); }
.details-panel summary::after { content: "›"; margin-left: auto; transform: rotate(90deg); display: inline-block; transition: transform 200ms; }
.details-panel[open] summary::after { transform: rotate(-90deg); }
.details-panel__body { padding-top: 16px; display: grid; gap: 16px; }

/* Dimension bars */
.dim-row { display: grid; grid-template-columns: 1fr 40px; gap: 6px; align-items: center; padding: 4px 0; }
.dim-label { font-size: 0.83rem; color: var(--text-2); }
.dim-bar-wrap { grid-column: 1/-1; }
.dim-bar { height: 2px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.dim-bar__fill { height: 100%; background: var(--border-strong); border-radius: 999px; }
.dim-val { font-family: var(--mono); font-size: 0.68rem; color: var(--text-3); text-align: right; }

/* Comparison table */
.cmp-table { display: grid; }
.cmp-row { display: grid; gap: 6px; padding: 9px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-row--head span { font-family: var(--mono); font-size: 0.68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.cmp-label { font-family: var(--mono); font-size: 0.70rem; color: var(--text-2); }
.cmp-val { font-family: var(--mono); font-size: 0.76rem; color: var(--text); text-align: right; }

/* ── Feedback ── */
.feedback-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Share section ── */
.share-section {
    border-radius: var(--r-lg); border: 1px dashed var(--border-md);
    padding: clamp(16px, 2vw, 24px); display: grid; gap: 14px;
}

/* ── Why list ── */
.why-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.why-list li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 0.85rem; color: var(--text-2); line-height: 1.5;
}
.why-list li::before {
    content: ""; width: 4px; height: 4px; border-radius: 999px;
    background: var(--text-4); margin-top: 7px; flex-shrink: 0;
}

/* ── Warning block ── */
.warning-note {
    border-radius: var(--r-md); border: 1px solid rgba(160,96,32,0.2);
    background: var(--warn-bg); padding: 12px 14px; display: grid; gap: 6px;
}
.warning-note strong { color: var(--warn); font-size: 0.80rem; font-family: var(--mono); letter-spacing: 0.06em; }
.note-list { margin: 0; padding-left: 14px; display: grid; gap: 4px; }
.note-list li { font-size: 0.82rem; color: var(--text-3); }

/* ── Newsletter popup ── */
.outreach-prompt {
    position: fixed; inset: 0; z-index: 9100;
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.outreach-prompt.is-open { display: flex; }
.outreach-prompt__backdrop {
    position: absolute; inset: 0;
    background: rgba(26,23,16,0.45); backdrop-filter: blur(6px);
}
.outreach-prompt__panel {
    position: relative; z-index: 1;
    width: min(100%, 440px);
    border-radius: var(--r-xl); border: 1px solid var(--border-md);
    background: var(--bg-1); padding: clamp(22px, 3vw, 36px);
    box-shadow: var(--shadow-md);
    animation: modal-in 280ms cubic-bezier(0.22,1,0.36,1);
}
.outreach-prompt__close {
    position: absolute; top: 14px; right: 14px;
    width: 28px; height: 28px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--bg-2);
    color: var(--text-3); display: grid; place-items: center; font-size: 1rem;
}
.outreach-prompt__close:hover { color: var(--text); border-color: var(--border-md); }

/* ── Institution panel ── */
#institution-panel {
    position: fixed; inset: 0; z-index: 9100;
    display: flex; align-items: center; justify-content: center;
    background: rgba(26,23,16,0.45); backdrop-filter: blur(6px); padding: 20px;
}
#institution-panel[hidden] { display: none; }
.institution-panel__inner {
    position: relative;
    width: min(100%, 560px); border-radius: var(--r-xl);
    border: 1px solid var(--border-md); background: var(--bg-1);
    padding: clamp(22px, 3vw, 36px);
    max-height: 88vh; overflow-y: auto;
    box-shadow: var(--shadow-md);
    animation: modal-in 280ms cubic-bezier(0.22,1,0.36,1);
}
.institution-panel__inner-body { display: grid; gap: 16px; }
.institution-panel__close {
    position: absolute; top: 14px; right: 14px;
    width: 28px; height: 28px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--bg-2);
    color: var(--text-3); display: grid; place-items: center; font-size: 1rem;
}
.institution-panel__close:hover { color: var(--text); }

/* ── Info modal ── */
.info-modal {
    position: fixed; inset: 0; z-index: 9050;
    display: none; align-items: flex-start; justify-content: flex-end;
    padding: 72px 20px 20px;
}
body.has-info-modal .info-modal { display: flex; }
.info-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(26,23,16,0.35); backdrop-filter: blur(4px);
}
.info-modal__panel {
    position: relative; z-index: 1;
    width: min(100%, 420px); border-radius: var(--r-xl);
    border: 1px solid var(--border-md); background: var(--bg-1);
    padding: clamp(20px, 3vw, 30px);
    max-height: calc(100vh - 100px); overflow-y: auto;
    box-shadow: var(--shadow-md);
    animation: modal-in 240ms cubic-bezier(0.22,1,0.36,1);
}
.info-modal__close {
    position: absolute; top: 14px; right: 14px;
    width: 28px; height: 28px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--bg-2);
    color: var(--text-3); display: grid; place-items: center; font-size: 0.9rem;
}
.info-modal__close:hover { color: var(--text); }
.info-modal__title { font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--text); margin: 0; }
.info-modal__lead { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; margin: 0; }
.info-modal__bullets { margin: 0; padding-left: 16px; display: grid; gap: 6px; }
.info-modal__bullets li { font-size: 0.86rem; color: var(--text-2); line-height: 1.55; }
.info-modal.is-open { display: flex; }

@keyframes modal-in {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Quick actions ── */
.results-quick-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Loading ── */
.loading-note {
    font-family: var(--mono); font-size: 0.78rem;
    color: var(--text-3); letter-spacing: 0.10em; padding: 20px 0;
}

#share-export-root { display: none; }
