/* ---------- SA-053: the Assistant tab of a research (assistant.js) ---------- */
/* The conversation on the left scrolls inside itself, the input stays under it; the side — spending and notes. */
.asst { grid-template-columns: minmax(0, 1fr) 340px; max-width: 1560px; height: calc(100vh - var(--header-height) - 196px); min-height: 460px; }
.asst-main { padding: 8px 28px 20px; }
/* The Send button is as tall as the message field beside it (the rule of fields: a button in a row of controls stands level with them). */
.asst .chat-input { position: relative; display: block; }
.asst .chat-input textarea { display: block; width: 100%; padding-right: 56px; }
.asst-send { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; border-radius: 8px; border: 0; padding: 0;
    display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--primary); cursor: pointer;
    transition: color 0.12s ease, background-color 0.12s ease, transform 0.12s ease; }
.asst-send .icon { width: 22px; height: 22px; }
.asst-send:hover { color: var(--accent); background: rgba(0, 0, 0, 0.05); transform: translateY(-1px); }
.asst-send:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.asst-send.is-empty { color: #9a9a9a; }
.asst-send:disabled { color: var(--border-gray); background: transparent; cursor: default; transform: none; }
/* 2026-10-07: "Let's start" is the main action of the empty questionnaire chat. */
.asst-start { min-width: 180px; font-size: 1rem; padding: 12px 28px; }
/* The ONE card under the conversation (the questionnaire's current question), and what the website / the search found. */
.asst-slot { margin: 14px 0 6px; max-width: 760px; }
.asst-slot__head { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6b6b6b; margin: 0 0 6px 2px; }
.asst-slot .asst-card { border-color: var(--primary); }
.asst-fills { display: flex; flex-direction: column; gap: 12px; margin: 10px 0 4px; }
.asst-fill { display: flex; flex-direction: column; gap: 2px; }
.asst-fill__body { padding-left: 30px; font-size: 0.88rem; }
.asst-fill__value { font-weight: 600; overflow-wrap: anywhere; }
.asst-fill__quote { color: #6b6b6b; font-size: 0.82rem; overflow-wrap: anywhere; }
.asst-fill__now { color: var(--accent); font-size: 0.82rem; }
.asst-own { align-items: start; margin-top: 10px; }
.asst-waiting__more { margin: 8px 2px 0; }
/* The simple "New research" page: the slogan and one button. */
.wz-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; min-height: calc(100vh - var(--header-height) - 220px); padding: 40px 16px; }
.wz-hero__title { font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.12; font-weight: 800; max-width: 16ch; margin: 0; letter-spacing: -0.02em; }
.wz-hero__title em { font-style: normal; color: var(--accent); }
.wz-hero .btn { font-size: 1.05rem; padding: 14px 34px; }
.asst-side { display: flex; flex-direction: column; gap: 16px; min-height: 0; overflow-y: auto; }
.asst-box { padding: 20px 22px; font-size: 0.88rem; }
.asst-box.panel + .asst-box.panel { margin-top: 0; }
.asst-msg__col { display: flex; flex-direction: column; gap: 8px; max-width: 78%; min-width: 0; }
.msg--me .asst-msg__col { align-items: flex-end; }
.asst-msg__col > .msg__body { max-width: 100%; }
.asst-msg .msg__body table { border-collapse: collapse; font-size: 0.86rem; }
.asst-msg .msg__body th, .asst-msg .msg__body td { border: 1px solid var(--border-gray); padding: 3px 8px; text-align: left; }
.asst-fail { align-self: flex-start; font-size: 0.84rem; color: #B42318; background: #FDE8E8; border-radius: 10px; padding: 8px 12px; }

/* Cards of a reply: a fixed set, one look. */
.asst-card {
    width: 100%; max-width: 560px; align-self: flex-start;
    border: 1px solid var(--border-gray); border-radius: var(--radius); background: var(--white);
    padding: 14px 16px; font-size: 0.9rem; line-height: 1.5;
}
.asst-card__kind { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-gray); margin-bottom: 4px; }
.asst-card__title { font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.asst-card__title--q { font-weight: 600; }
.asst-card__title--q > :first-child { margin-top: 0; }
.asst-card__title--q > :last-child { margin-bottom: 0; }
.asst-card__title--q ol, .asst-card__title--q ul { padding-left: 1.2em; margin: 0.4em 0; }
.asst-card__text { margin-top: 6px; color: var(--ink-soft); overflow-wrap: anywhere; }
.asst-card__text > :first-child { margin-top: 0; }
.asst-card__text > :last-child { margin-bottom: 0; }
.asst-card__note { margin-top: 8px; font-size: 0.8rem; color: var(--text-gray); line-height: 1.45; }
.asst-card__warn { margin-top: 8px; font-size: 0.84rem; color: #8A5A00; background: #FFF4D6; border-radius: 8px; padding: 8px 10px; }
.asst-card__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
/* The card of the proposed segments (2026-10-07): the share bar of the Personas tab, a row per segment. */
.asst-seg__bar { margin: 12px 0 10px; }
.asst-seg__list { display: grid; gap: 6px; }
.asst-seg__row { display: grid; grid-template-columns: 10px minmax(0, 1fr) 52px 150px; align-items: baseline; gap: 10px; font-size: 14px; }
.asst-seg__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--light-gray); align-self: center; }
.asst-seg__name { overflow-wrap: anywhere; }
.asst-seg__def { display: block; font-size: 12px; font-weight: 400; color: var(--text-gray); }
.asst-seg__share { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.asst-seg__people { color: var(--text-gray); font-variant-numeric: tabular-nums; }
.asst-seg__row--rest .asst-seg__name, .asst-seg__row--rest .asst-seg__share { color: var(--text-gray); font-weight: 400; }
@media (max-width: 640px) { .asst-seg__row { grid-template-columns: 10px minmax(0, 1fr) 48px; } .asst-seg__people { grid-column: 2 / -1; } }
.asst-card__link { text-decoration: none; }
.asst-card--approval { border-color: var(--primary); box-shadow: var(--shadow); }
.asst-card--progress { border-color: var(--accent); }
.asst-card--error { border-color: #F3B8B2; }
.asst-card--cancelled { opacity: 0.7; }
.asst-card--done { background: var(--light-gray); border-color: transparent; }
.asst-card--question { border-left: 3px solid var(--accent); }
.asst-card--question-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 12px; background: var(--light-gray); border-color: transparent; }
.asst-card--question-line .asst-card__kind { margin: 0; }
.asst-qline { font-size: 0.84rem; color: var(--text-gray); }
.asst-card--choice .fld { margin: 0; }
.asst-choice { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.asst-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* What a step runs, and what it costs. */
.asst-acts { margin: 8px 0 0; padding: 0; list-style-position: inside; }
ol.asst-acts { padding-left: 0; }
.asst-act + .asst-act { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border-gray); }
li.asst-act::marker { font-weight: 700; }
.asst-act__head { display: inline-flex; justify-content: space-between; gap: 12px; width: calc(100% - 1.6em); vertical-align: top; }
.asst-act__title { font-weight: 600; }
.asst-act__cost { flex-shrink: 0; font-size: 0.8rem; color: var(--text-gray); white-space: nowrap; }
.asst-act__what { font-size: 0.84rem; color: var(--text-gray); margin-top: 2px; }
.asst-act--done .asst-act__title { color: var(--text-gray); }
.asst-cost { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border-gray); }
.asst-cost__label { font-size: 0.8rem; color: var(--text-gray); }
.asst-cost__value { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.asst-progress { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.asst-progress__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; flex-shrink: 0; }

/* The questions of the processes that wait: under the conversation, always the current ones. */
.asst-waiting { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--border-strong); }
.asst-waiting__head { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); }

/* The side. */
.asst-dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0 0 8px; }
.asst-dl dt { color: var(--text-gray); }
.asst-dl dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.asst-set { margin-top: 14px; grid-template-columns: minmax(0, 1fr) auto; }
.asst-set.fgrid--1 { grid-template-columns: minmax(0, 1fr); }
.asst-set .btn { height: var(--ac-control-h); padding: 0 18px; }
.asst-notes__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.asst-notes__level { font-size: 0.78rem; font-weight: 700; color: var(--primary); margin: 10px 0 4px; }
.asst-notes { list-style: none; margin: 0; padding: 0; }
.asst-note { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--border-gray); line-height: 1.45; }
.asst-note__text { min-width: 0; overflow-wrap: anywhere; }
.asst-note__acts { display: inline-flex; flex-shrink: 0; }

/* Stage 2: a plan's step with a rough figure; a note beside an option. */
.asst-card--result .asst-card__text ul, .asst-card--result .asst-card__text ol { padding-left: 1.2em; margin: 0.3em 0; }

/* Stage 3 — the questionnaire through the chat (#/new/assistant): no research bar above, so the chat is taller. */
.asst--draft { height: calc(100vh - var(--header-height) - 88px); }
.asst-card--list .fld, .asst-card--countries .fld { margin: 0; }
.asst-card--input, .asst-card--summary { max-width: 640px; }
.asst-card--input .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
/* A list with search: the search field, then the options scrolling inside the card. */
.asst-list { display: flex; flex-direction: column; gap: 8px; }
.asst-list__rows { display: flex; flex-direction: column; gap: 2px; max-height: 248px; overflow-y: auto; border: 1px solid var(--border-gray); border-radius: 10px; padding: 6px 4px; }
.asst-list__row { display: flex; padding: 5px 8px; border-radius: 6px; }
.asst-list__row:hover { background: var(--light-gray); }
.asst-list__row[hidden] { display: none; }
.asst-list__count { font-size: 0.8rem; color: var(--text-gray); }
.asst-list__none { margin: 6px 8px; font-size: 0.84rem; color: var(--text-gray); }
/* Countries to confirm: a chip per country (a whole region is darker), each with its "remove". */
.asst-countries { display: flex; flex-direction: column; gap: 8px; }
.asst-countries__chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 220px; overflow-y: auto; padding: 2px 0; }
.asst-countries__none { font-size: 0.84rem; color: var(--text-gray); }
.asst-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--light-gray); font-size: 0.84rem; line-height: 1.5; }
.asst-chip--region { background: var(--primary); color: var(--white); }
.asst-chip__x { width: 20px; height: 20px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 1rem; line-height: 1; cursor: pointer; padding: 0; }
.asst-chip__x:hover { background: rgba(0, 0, 0, 0.12); }
.asst-chip:not(:has(.asst-chip__x)) { padding-right: 10px; }
.asst-card--answered { background: var(--light-gray); border-color: transparent; }
.asst-card--answered .asst-list__rows, .asst-card--answered .asst-countries__add { display: none; }
.asst-card--answered .asst-list > input { display: none; }
.asst-card__saved { color: var(--ink-soft); font-weight: 600; }
/* The summary of a step: label → answer. */
.asst-sum { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); gap: 6px 14px; margin: 10px 0 0; }
.asst-sum dt { color: var(--text-gray); font-size: 0.84rem; }
.asst-sum dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
/* The side: the three steps of the questionnaire. */
.asst-steps { list-style: none; margin: 4px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.asst-steps__row { display: flex; gap: 10px; align-items: flex-start; }
.asst-steps__num { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 700; color: var(--text-gray); }
.asst-steps__row.is-done .asst-steps__num { background: var(--primary); border-color: var(--primary); color: var(--white); }
.asst-steps__row.is-current .asst-steps__num { border-color: var(--accent); color: var(--accent-dark); }
.asst-steps__row.is-todo { opacity: 0.6; }
.asst-steps__name { font-weight: 700; }
.asst-steps__text { color: var(--text-gray); font-size: 0.84rem; overflow-wrap: anywhere; }
.asst-steps__link { font-size: 0.82rem; }
/* SA-053 stage 4: the assistant of the product — a block under the list of researches. */
.asst--product { height: clamp(520px, calc(100vh - var(--header-height) - 120px), 860px); max-width: none; margin: 0; }
#productAssistant { margin-bottom: 0; }
#productAssistant .section-head { align-items: center; }
.pa-root { margin-top: 16px; }
.pa-head { margin-top: 16px; }
.pa-head:not(:has(.pa-badge:not([hidden]))) { display: none; }
.pa-badge { white-space: nowrap; }
.asst-where { padding: 14px 12px 12px; }
.asst-where__steps { display: flex; align-items: flex-start; gap: 2px; }
.asst-where__steps .rv-steps { flex: 1; min-width: 0; }
.asst-where__steps .rv-step__name { font-size: 0.76rem; }
.asst-where__steps .icon-btn { margin-top: 2px; }
/* (2026-10-20) The line beyond the window of three steps: from the outer shown circle to the edge of the row of circles,
   where more steps are hidden (assistant.js drawWhere). Three equal columns: a circle's centre is at 1/6 of the row. */
.asst-where__steps .rv-steps { position: relative; }
.asst-where__more { position: absolute; top: 13px; height: 2px; width: calc(100% / 6 - 14px); background: var(--border-gray); pointer-events: none; }
.asst-where__more.is-reached { background: var(--primary); }
.asst-where__more--l { left: 0; }
.asst-where__more--r { right: 0; }
.asst-act__link { display: inline-block; margin-top: 2px; font-size: 0.82rem; color: var(--primary); }
.asst-act__head { width: calc(100% - 2.3em); }
#asstNotes a { color: var(--primary); }
.asst-msg__col:has(ol.asst-acts) { max-width: 100%; }
#productAssistant .section-note { margin-bottom: 0; }
.asst-act--running .asst-act__title { color: var(--accent-dark); }
.asst-act--running .asst-act__cost { color: var(--accent-dark); font-weight: 700; }
/* Researches side by side: the card takes the whole width of the conversation; a folding table per section. */
.asst-msg__col:has(.asst-card--comparison), .asst-msg__col:has(.asst-card--approval .asst-acts), .asst-msg__col:has(.asst-card--progress .asst-acts) { max-width: 100%; }
.asst-msg__col:has(.asst-card--comparison) { width: 100%; }
.asst-card--comparison { width: 100%; max-width: 980px; }
.asst-card--comparison a { color: var(--primary); }
.asst--product .asst-card[data-step]:has(ol.asst-acts) { max-width: 760px; }
.asst-cmp__who { list-style: none; margin: 8px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 0.88rem; }
.asst-cmp__models { color: var(--text-gray); }
.asst-cmp__sec { border-top: 1px solid var(--border-gray); padding: 8px 0 2px; }
.asst-cmp__sec:first-of-type { margin-top: 10px; }
.asst-cmp__head { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 2px 0; }
.asst-cmp__title { font-weight: 700; }
.asst-cmp__sum { flex: 1 1 320px; min-width: 0; font-size: 0.84rem; color: var(--text-gray); }
.asst-cmp__sec .table-scroll { margin: 8px 0 10px; }
.asst-cmp__table { width: 100%; table-layout: fixed; font-size: 0.84rem; }
.asst-cmp__table th, .asst-cmp__table td { padding: 6px 10px; text-align: left; vertical-align: top; overflow-wrap: anywhere; white-space: normal; }
.asst-cmp__table thead th:first-child { width: 27%; }
.asst-cmp__table thead th:last-child { width: 19%; }
.asst-cmp__table thead th { white-space: nowrap; }
.asst-cmp__label { font-weight: 500; color: var(--ink-soft); }
.asst-cmp__diff { color: var(--text-gray); }
.asst-cmp__row.is-differs .asst-cmp__diff { color: #8A5A00; font-weight: 700; }
.asst-cmp__row.is-same .asst-cmp__diff { color: #1F7A4D; }
.asst-cmp__row.is-only .asst-cmp__diff { font-style: italic; }
@media (max-width: 860px) {
    .asst-cmp__table { table-layout: auto; min-width: 560px; }
}

/* "New research": the two ways to fill in the questionnaire. */
.wz-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
@media (max-width: 720px) {
    .wz-cards--two { grid-template-columns: minmax(0, 1fr); }
    .asst-card--input .grid { grid-template-columns: minmax(0, 1fr); }
    .asst-sum { grid-template-columns: minmax(0, 1fr); gap: 0 0; }
    .asst-sum dd { margin-bottom: 8px; }
}

/* The number of waiting questions on the Assistant tab of the research bar. */
.tab-badge {
    display: inline-block; min-width: 18px; margin-left: 6px; padding: 0 5px; border-radius: 999px;
    background: var(--accent); color: var(--white); font-size: 0.7rem; font-weight: 800; line-height: 18px; text-align: center; vertical-align: 1px;
}

@media (max-width: 1100px) {
    .asst { grid-template-columns: minmax(0, 1fr); height: auto; }
    .asst-main { height: calc(100vh - var(--header-height) - 196px); min-height: 460px; }
    .asst--draft .asst-main { height: calc(100vh - var(--header-height) - 88px); }
}
/* A narrow window: the conversation takes the whole width. */
@media (max-width: 860px) {
    .asst-main { padding: 8px 14px 16px; }
    .asst-msg__col { max-width: 94%; }
}

/* ---------- SA-054: Reports — the list of a research's reports and the page of one report ----------
 * The slides themselves are report.css (shared with the exported file, the public page and the PDF);
 * here is only what the product puts around them. */
.rpt-empty { margin: 8px 0 4px; color: var(--text-gray); }
.rpt-table td:first-child { min-width: 220px; }
.rpt { max-width: 1320px; margin: 0 auto; padding: 0 4px 24px; }
.rpt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.rpt-head__who { min-width: 0; flex: 1 1 320px; }
.rpt-head__title { margin: 0; font-size: 20px; font-weight: 800; }
.rpt-head__meta { margin: 4px 0 0; font-size: 13px; color: var(--text-gray); }
.rpt-head__acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rpt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; min-height: 34px; }
.rpt-bar__where { font-size: 13px; font-weight: 700; margin-right: 6px; min-width: 110px; }
.rpt-hint { margin: 2px 0 0; font-size: 12px; color: var(--text-faint); text-align: center; }
.rpt-view { min-width: 0; }
/* The slide and its strip of thumbnails fit the window without scrolling: the stage is as wide as the height left allows. */
.rpt-view .rv__stage { width: min(100%, max(520px, calc((100vh - 392px) * 16 / 9))); margin: 0 auto; }
.rpt-est { margin-top: 6px; min-height: 96px; }
.rpt-est__line { margin: 0 0 8px; font-size: 14px; line-height: 1.45; }
.rpt-est__out { color: var(--text-gray); }
.rpt-text .fld textarea { resize: vertical; }
.ac-dialog__foot .rpt-reset { margin-right: auto; }
.rpt-share__new { align-items: start; margin: 14px 0 6px; }
.rpt-share__h { margin: 18px 0 8px; font-size: 14px; font-weight: 800; }
.rpt-fresh { margin: 6px 0 4px; padding: 14px 16px; border: 2px solid var(--primary); border-radius: var(--radius); }
.rpt-fresh__title { margin: 0 0 8px; font-weight: 800; }
.rpt-fresh__row { display: flex; gap: 8px; align-items: center; }
.rpt-fresh__fld { flex: 1 1 0; min-width: 0; }
.rpt-fresh__url { min-width: 0; font-size: 13px; }
.rpt-links__act { text-align: right; white-space: nowrap; }
.wz-reports { margin-top: 12px; }

/* The fills read from a website: "Edit" beside a value, the field of another name (assistant.js fills). */
.asst-fill__editbtn { margin-top: 6px; }
.asst-fill__edit { margin-top: 8px; max-width: 520px; }
.asst-fill__edit .fld, .asst-fill__own.fld { margin: 0; }
.asst-fill__own { margin-top: 6px; max-width: 420px; }

/* The waiting questions: leafing through them; the data search inside a question's card (assistant.js). */
.asst-waiting__pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.asst-qfind { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border-gray); }
.asst-qfind__run { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.asst-qfind__item { padding: 10px 0; border-top: 1px solid var(--border-gray); }
.asst-qfind__item:first-of-type { border-top: 0; }
.asst-qfind__item .btn { margin-top: 8px; }
.asst-qfind__head { font-size: 0.92rem; }

/* The fills read from a website, without checkboxes: the field's name, "edit" in the accent colour at the right. */
.asst-fill { padding: 10px 0; border-top: 1px solid var(--border-gray); }
.asst-fill:first-child { border-top: 0; }
.asst-fill__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.asst-fill__label { font-weight: 700; }
.asst-fill__body { padding-left: 0; }
.asst-fill__value { font-weight: 400; }
.asst-textlink, .asst-fill__editlink { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: 0.86rem; font-weight: 600; color: var(--accent); cursor: pointer; white-space: nowrap; }
.asst-textlink:hover, .asst-textlink:focus-visible, .asst-fill__editlink:hover, .asst-fill__editlink:focus-visible { text-decoration: underline; }
.asst-textlink:disabled { opacity: 0.5; cursor: default; text-decoration: none; }
/* “rewrite” / “undo” beside a field of “Your customer”: words in the accent colour at the right of the label's line;
   the optional “What should change?” input with its own button opens under that field. */
.asst-rw__links { display: inline-flex; align-items: baseline; gap: 14px; }
.asst-rw__row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.asst-rw__row > .ac-input { flex: 1 1 240px; min-width: 0; width: auto; }
.asst-rw__row > .btn { flex: none; height: var(--ac-control-h); padding-top: 0; padding-bottom: 0; white-space: nowrap; }
.fld--rewriting .ac-input { opacity: 0.5; }
.fld--rewriting .fld__note { font-style: normal; font-weight: 600; color: var(--accent); }
.fld--rewriting .fld__note::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--accent); animation: asst-rw-pulse 1s ease-in-out infinite; }
@keyframes asst-rw-pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.fld--flash .fld__note { font-style: normal; color: #8A5A00; }

/* 2026-10-07: what was read from the website (site-read.js) — on the assistant's card and in the Knowledge library. */
.site-read { margin: 10px 0 4px; font-size: 0.88rem; }
.site-read__head { margin: 14px 0 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-gray); }
.site-read__head:first-child { margin-top: 0; }
.site-read__note { margin: 0 0 10px; color: var(--text-gray); line-height: 1.45; }
.site-read__sections, .site-read__groups { display: flex; flex-direction: column; }
.site-read__section, .site-read__group { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 4px 16px; padding: 8px 0; border-top: 1px solid var(--border-gray); }
.site-read__section:first-child, .site-read__group:first-child { border-top: 0; }
.site-read__label { font-weight: 700; }
.site-read__text { overflow-wrap: anywhere; line-height: 1.45; }
.site-read__quote { margin-top: 2px; color: var(--text-gray); font-size: 0.82rem; line-height: 1.45; overflow-wrap: anywhere; }
.site-read__quote a, .site-read__title { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-read__none { color: var(--text-gray); font-style: italic; }
/* (2026-10-12) a property of the product: one short line; the sentence of the site is in its “i” */
.site-read__prop { line-height: 1.45; overflow-wrap: anywhere; }
.site-read__prop + .site-read__prop { margin-top: 3px; }
.site-read__acts { align-items: center; flex-wrap: wrap; }
.site-read__pages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-read__page { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; }
.site-read__role { color: var(--text-gray); }
.site-read__title { overflow-wrap: anywhere; }
.site-read__addr { color: var(--text-gray); font-size: 0.8rem; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-read__add { margin-top: 12px; }
.site-read__form { margin-top: 8px; max-width: 560px; }
.site-read__form .fld { margin: 0; }
.site-read__acts { display: flex; gap: 8px; margin-top: 8px; }
.kn-site { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--border-gray); border-radius: 8px; max-width: 760px; }
@media (max-width: 640px) {
    .site-read__section, .site-read__group, .site-read__page { grid-template-columns: minmax(0, 1fr); }
    .site-read__addr { max-width: none; }
}

