/*
 * transcripts.css
 *   /stocks/{ticker}/transcripts/   /stocks/{ticker}/transcripts/{slug}/
 * Version 1.0.1 (1.0.1: the lead and head cards are rows; style.css's
 *   .bq-section column had stacked and centred them)
 *
 * On funds.css (.bq-fd cards, eyebrow, facts, the amber as-of strip and the
 * paywall strip) under the stock pages' skin (fd-stock-skin.css: the
 * company-KPI tokens, teal accent, navy ink). Only what those do not have:
 * the lead card, the year-grouped call list, the reading layout (outline +
 * text), speaker turns, the tabs, the locked panel and the Coming soon card.
 * Every colour is a --fd-* token.
 */

/* ── Shared bits ─────────────────────────────────────────────────────── */
.bq-fd .bq-tr-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-size: 13px;
    color: var(--fd-muted);
}
.bq-fd .bq-tr-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fd-line-strong); }

.bq-fd .bq-tr-avatar {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--fd-teal);
    background: var(--fd-teal-soft);
}

.bq-fd .bq-tr-cta {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: var(--fd-teal);
    color: #fff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .14s ease, transform .1s ease;
}
.bq-fd .bq-tr-cta:hover { background: #0b5757; color: #fff; }
.bq-fd .bq-tr-cta:active { transform: translateY(1px); }
.bq-fd .bq-tr-cta:focus-visible { outline: 2px solid var(--fd-blue); outline-offset: 2px; }
.bq-fd .bq-tr-cta svg { width: 14px; height: 14px; flex: none; }

/* ── List page: the latest call ──────────────────────────────────────── */
.bq-fd .bq-tr-lead {
    display: flex;
    /* style.css makes every .bq-section a column; this card is a row. */
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.bq-fd .bq-tr-lead-main { min-width: 0; }
.bq-fd .bq-tr-lead-title {
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--fd-ink);
}
.bq-fd .bq-tr-lead-side {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    max-width: 240px;
    text-align: right;
}
.bq-fd .bq-tr-lead-note { font-size: 12px; color: var(--fd-faint); line-height: 1.45; }

.bq-fd .bq-tr-people {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}
.bq-fd .bq-tr-people li { display: flex; align-items: center; gap: 9px; min-width: 0; }
.bq-fd .bq-tr-people li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.bq-fd .bq-tr-people strong { font-size: 13px; font-weight: 700; color: var(--fd-ink); line-height: 1.3; }
.bq-fd .bq-tr-people em { font-style: normal; font-size: 12px; color: var(--fd-muted); line-height: 1.3; }

/* ── List page: every call, by fiscal year ───────────────────────────── */
.bq-fd .bq-tr-years { display: flex; flex-direction: column; gap: 18px; }
.bq-fd .bq-tr-year-label {
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--fd-muted);
}
.bq-fd .bq-tr-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fd-line); }
.bq-fd .bq-tr-row { border-bottom: 1px solid var(--fd-line); }

/* One row is one control: a link that opens the call in a new tab, or the
   padlock's button. Both carry the same grid. */
.bq-fd .bq-tr-row-link {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 110px 90px 28px;
    align-items: center;
    gap: 14px;
    padding: 12px 8px;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    color: var(--fd-text);
    text-decoration: none;
    cursor: pointer;
    transition: background .12s ease;
}
.bq-fd .bq-tr-row-link:hover { background: var(--fd-tint); }
.bq-fd .bq-tr-row-link:focus-visible { outline: 2px solid var(--fd-blue); outline-offset: -2px; }
.bq-fd .bq-tr-row-q {
    justify-self: start;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--fd-teal-soft);
    color: var(--fd-teal);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.bq-fd .bq-tr-row-title { font-size: 14px; font-weight: 600; color: var(--fd-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-fd .bq-tr-row-link:hover .bq-tr-row-title { color: var(--fd-teal); }
.bq-fd .bq-tr-row-date,
.bq-fd .bq-tr-row-len { font-size: 12.5px; color: var(--fd-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bq-fd .bq-tr-row-go { display: inline-flex; justify-content: flex-end; color: var(--fd-faint); }
.bq-fd .bq-tr-row-go svg { width: 14px; height: 14px; }
.bq-fd .bq-tr-row-link:hover .bq-tr-row-go { color: var(--fd-teal); }

.bq-fd .bq-tr-row.is-locked .bq-tr-row-q { background: var(--fd-tint-2); color: var(--fd-faint); }
.bq-fd .bq-tr-row.is-locked .bq-tr-row-title { color: var(--fd-muted); font-weight: 500; }
.bq-fd .bq-tr-row.is-locked .bq-tr-row-link:hover { background: rgba(176, 118, 26, .05); }
.bq-fd .bq-tr-lock {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(22, 32, 43, .055);
    color: #8d98a4;
}
.bq-fd .bq-tr-lock svg { width: 11px; height: 11px; }
.bq-fd .bq-tr-row.is-locked .bq-tr-row-link:hover .bq-tr-lock { background: rgba(176, 118, 26, .14); color: #8a5a10; }

.bq-fd .bq-tr-listcard .bq-fd-gate { margin-top: 0; }
.bq-fd .bq-tr-listcard .bq-fd-gate::before { display: none; }

/* ── Call page: crumbs, head, tabs ───────────────────────────────────── */
.bq-fd .bq-tr-crumbs { margin: 0 2px 12px; font-size: 13px; }
.bq-fd .bq-tr-crumbs a { display: inline-flex; align-items: center; gap: 4px; color: var(--fd-muted); text-decoration: none; font-weight: 600; }
.bq-fd .bq-tr-crumbs a:hover { color: var(--fd-teal); }
.bq-fd .bq-tr-crumbs svg { width: 14px; height: 14px; }

.bq-fd .bq-tr-head {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.bq-fd .bq-tr-head-title {
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--fd-ink);
}

.bq-fd .bq-tr-tabs {
    display: flex;
    gap: 4px;
    margin: 0 0 16px;
    border-bottom: 1px solid var(--fd-line-mid);
}
.bq-fd .bq-tr-tabs [role="tab"] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -1px;
    padding: 10px 14px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--fd-muted);
    cursor: pointer;
}
.bq-fd .bq-tr-tabs [role="tab"]:hover { color: var(--fd-ink); }
.bq-fd .bq-tr-tabs [role="tab"].is-active { color: var(--fd-ink); border-bottom-color: var(--fd-teal); }
.bq-fd .bq-tr-tabs [role="tab"]:focus-visible { outline: 2px solid var(--fd-blue); outline-offset: -2px; }
.bq-fd .bq-tr-soon {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--fd-amber-soft);
    color: #9a5a12;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.5;
}
.bq-fd .bq-tr-panel[hidden] { display: none !important; }

/* ── Call page: outline + text ───────────────────────────────────────── */
.bq-fd .bq-tr-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.bq-fd .bq-tr-aside {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    scrollbar-width: thin;
}
.bq-fd .bq-tr-aside .bq-section { margin: 0; padding: 16px; }
.bq-fd .bq-tr-box-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--fd-muted);
}
.bq-fd .bq-tr-box-title em { font-style: normal; color: var(--fd-faint); }

.bq-fd .bq-tr-toc { list-style: none; margin: 0 0 12px; padding: 0; }
.bq-fd .bq-tr-toc a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 6px;
    border-left: 2px solid transparent;
    color: var(--fd-text);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}
.bq-fd .bq-tr-toc a:hover { background: var(--fd-tint); color: var(--fd-ink); }
.bq-fd .bq-tr-toc a.is-current { background: var(--fd-teal-soft); color: var(--fd-teal); border-left-color: var(--fd-teal); }
.bq-fd .bq-tr-toc em { font-style: normal; font-weight: 500; color: var(--fd-faint); font-size: 12px; }

.bq-fd .bq-tr-find {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 6px;
    background: #fff;
}
.bq-fd .bq-tr-find:focus-within { border-color: var(--fd-blue); box-shadow: 0 0 0 3px var(--fd-blue-soft); }
.bq-fd .bq-tr-find svg { width: 14px; height: 14px; flex: none; color: var(--fd-faint); }
.bq-fd .bq-tr-find input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    color: var(--fd-ink);
}
.bq-fd .bq-tr-find-bar { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--fd-muted); }
.bq-fd .bq-tr-find-bar span { margin-right: auto; }
.bq-fd .bq-tr-find-bar button {
    width: 28px;
    height: 26px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 5px;
    background: #fff;
    color: var(--fd-text);
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
}
.bq-fd .bq-tr-find-bar button:hover { background: var(--fd-tint-2); }
.bq-fd .bq-tr-find-bar[hidden] { display: none; }

.bq-fd .bq-tr-plist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bq-fd .bq-tr-plist li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bq-fd .bq-tr-plist li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.bq-fd .bq-tr-plist strong { font-size: 13px; font-weight: 700; color: var(--fd-ink); line-height: 1.3; }
.bq-fd .bq-tr-plist em { font-style: normal; font-size: 12px; color: var(--fd-muted); line-height: 1.35; }
.bq-fd .bq-tr-plist .bq-tr-avatar { width: 28px; height: 28px; font-size: 10.5px; }
.bq-fd .is-analysts .bq-tr-avatar,
.bq-fd .bq-tr-turn.is-analysts .bq-tr-avatar { color: var(--fd-violet); background: var(--fd-violet-soft); }
.bq-fd .is-others .bq-tr-avatar,
.bq-fd .bq-tr-turn.is-others .bq-tr-avatar { color: var(--fd-blue); background: var(--fd-blue-soft); }

/* The reading column: a comfortable measure, generous leading. */
.bq-fd .bq-tr-text { padding: 26px 34px; margin: 0; }
.bq-fd .bq-tr-sec { scroll-margin-top: 150px; }
.bq-fd .bq-tr-sec + .bq-tr-sec { margin-top: 30px; }
.bq-fd .bq-tr-sec-title {
    margin: 0 0 18px;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid var(--fd-line);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--fd-muted);
}
.bq-fd .bq-tr-turn { max-width: 780px; scroll-margin-top: 150px; }
.bq-fd .bq-tr-turn + .bq-tr-turn { margin-top: 22px; }
.bq-fd .bq-tr-who { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 8px; }
.bq-fd .bq-tr-who-name { font-size: 14px; font-weight: 700; color: var(--fd-ink); }
.bq-fd .bq-tr-who-role { font-size: 12.5px; color: var(--fd-muted); }
.bq-fd .bq-tr-say { padding-left: 40px; }
.bq-fd .bq-tr-say p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--fd-text);
}
.bq-fd .bq-tr-say p:last-child { margin-bottom: 0; }
.bq-fd .bq-tr-turn.is-operator .bq-tr-avatar { color: var(--fd-faint); background: var(--fd-tint-2); font-size: 14px; }
.bq-fd .bq-tr-turn.is-operator .bq-tr-who-name { color: var(--fd-muted); font-weight: 600; }
.bq-fd .bq-tr-turn.is-operator .bq-tr-say p { color: var(--fd-muted); font-size: 14px; }
.bq-fd mark.bq-tr-hit { background: rgba(239, 159, 74, .35); color: inherit; border-radius: 2px; padding: 0 1px; }
.bq-fd mark.bq-tr-hit.is-on { background: var(--fd-amber); color: #fff; }
.bq-fd .bq-tr-source { margin: 30px 0 0; padding-top: 14px; border-top: 1px solid var(--fd-line); font-size: 12px; color: var(--fd-faint); line-height: 1.5; }

.bq-fd .bq-tr-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.bq-fd .bq-tr-nav-link {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 16px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.bq-fd .bq-tr-nav .is-next .bq-tr-nav-link { text-align: right; align-items: flex-end; }
.bq-fd .bq-tr-nav-link:hover { border-color: var(--fd-teal); }
.bq-fd .bq-tr-nav-dir { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fd-faint); }
.bq-fd .bq-tr-nav-name { font-size: 14px; font-weight: 700; color: var(--fd-ink); }

/* ── Call page: a call this reader may not read ──────────────────────── */
.bq-fd .bq-tr-locked { position: relative; min-height: 420px; padding: 30px 34px; margin: 0; overflow: hidden; }
.bq-fd .bq-tr-ghost { display: flex; flex-direction: column; gap: 28px; opacity: .55; filter: blur(1.5px); }
.bq-fd .bq-tr-ghost-turn { display: flex; gap: 12px; }
.bq-fd .bq-tr-ghost-turn i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--fd-tint-2); }
.bq-fd .bq-tr-ghost-turn div { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.bq-fd .bq-tr-ghost-turn b { display: block; width: 160px; height: 12px; border-radius: 3px; background: var(--fd-line-mid); }
.bq-fd .bq-tr-ghost-turn span { display: block; height: 10px; border-radius: 3px; background: var(--fd-tint-2); }
.bq-fd .bq-tr-ghost-turn span.is-short { width: 62%; }
.bq-fd .bq-tr-locked-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, calc(100% - 32px));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 26px 24px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(11, 31, 46, .10);
    text-align: center;
}
.bq-fd .bq-tr-locked-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(176, 118, 26, .14);
    color: #8a5a10;
}
.bq-fd .bq-tr-locked-icon svg { width: 16px; height: 16px; }
.bq-fd .bq-tr-locked-card strong { font-size: 17px; color: var(--fd-ink); }
.bq-fd .bq-tr-locked-card p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.55; color: var(--fd-muted); }
.bq-fd .bq-tr-locked-note { font-size: 12.5px; color: var(--fd-muted); }
.bq-fd .bq-tr-linkbtn { appearance: none; border: 0; padding: 0; background: none; font: inherit; color: var(--fd-blue); cursor: pointer; text-decoration: underline; }

/* ── Summary: Coming soon ────────────────────────────────────────────── */
.bq-fd .bq-tr-soon-card { max-width: 640px; margin: 0 auto 25px; padding: 34px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bq-fd .bq-tr-soon-icon { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--fd-teal-soft); color: var(--fd-teal); }
.bq-fd .bq-tr-soon-icon svg { width: 24px; height: 24px; }
.bq-fd .bq-tr-soon-card h2 { margin: 4px 0 0; padding: 0; border: 0; font-size: 20px; font-weight: 700; color: var(--fd-ink); }
.bq-fd .bq-tr-soon-card p { margin: 0; max-width: 480px; font-size: 14px; line-height: 1.6; color: var(--fd-muted); }
.bq-fd .bq-tr-soon-list { list-style: none; margin: 6px 0 8px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bq-fd .bq-tr-soon-list li { padding: 5px 11px; border: 1px solid var(--fd-line-mid); border-radius: 999px; font-size: 12.5px; color: var(--fd-text); background: var(--fd-tint); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .bq-fd .bq-tr-layout { grid-template-columns: minmax(0, 1fr); }
    /* The outline is a strip above the text, not a column beside it. */
    .bq-fd .bq-tr-aside { position: static; max-height: none; overflow: visible; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bq-fd .bq-tr-aside .bq-section:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .bq-fd .bq-tr-lead { flex-direction: column; align-items: stretch; gap: 16px; }
    .bq-fd .bq-tr-lead-side { align-items: stretch; max-width: none; text-align: left; }
    .bq-fd .bq-tr-lead-title { font-size: 18px; }
    .bq-fd .bq-tr-head-title { font-size: 19px; }
    .bq-fd .bq-tr-row-link { grid-template-columns: 66px minmax(0, 1fr) auto 22px; gap: 10px; padding: 12px 4px; }
    .bq-fd .bq-tr-row-len { display: none; }
    .bq-fd .bq-tr-aside { grid-template-columns: minmax(0, 1fr); }
    .bq-fd .bq-tr-text { padding: 18px 16px; }
    .bq-fd .bq-tr-say { padding-left: 0; }
    .bq-fd .bq-tr-say p { font-size: 15px; line-height: 1.65; }
    .bq-fd .bq-tr-locked { padding: 20px 16px; min-height: 380px; }
    .bq-fd .bq-tr-soon-card { padding: 26px 18px; }
    .bq-fd .bq-tr-tabs [role="tab"] { padding: 10px 10px; font-size: 13.5px; }
}

@media (max-width: 520px) {
    /* Quarter and title on one line, the date under the title. */
    .bq-fd .bq-tr-row-link { grid-template-columns: 62px minmax(0, 1fr) 20px; grid-template-areas: "q t g" "q d g"; row-gap: 2px; }
    .bq-fd .bq-tr-row-q { grid-area: q; }
    .bq-fd .bq-tr-row-title { grid-area: t; font-size: 13.5px; }
    .bq-fd .bq-tr-row-date { grid-area: d; font-size: 12px; }
    .bq-fd .bq-tr-row-go { grid-area: g; }
    .bq-fd .bq-tr-people { flex-direction: column; }
    .bq-fd .bq-tr-nav { grid-template-columns: minmax(0, 1fr); }
    .bq-fd .bq-tr-nav .is-next .bq-tr-nav-link { text-align: left; align-items: flex-start; }
    .bq-fd .bq-tr-nav > div:empty { display: none; }
    .bq-fd .bq-tr-head-facts { width: 100%; }
}

/* iOS zooms on focus under 16px; the find box is the one input here. */
@media (pointer: coarse) {
    .bq-fd .bq-tr-find input { font-size: 16px !important; }
}
