/* ---- ui/pages/assessor.py, assessor_blocks.py (export plan D6): the
   Assessor view. Every class here is `aucra-assessor-`; the cards are the
   kit's panels, so the soft look reaches them. The document's markup comes
   from `assessor_blocks.py`, one `ui.html` per section. A tone is drawn in
   words and in colour, never in colour alone. The view's rules are four
   sheets, linked in this order (`ui/styles.py`): this one, the view's frame
   (its head, language, downloads, notice, the one clause row and the user
   document); `pages_assessor_blocks.css`, a section's card and its blocks;
   `pages_assessor_contents.css`, the contents, quotes and figure; and
   `pages_assessor_tables.css`, the tables and the tones. ---- */

.aucra-assessor-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.aucra-assessor-row-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  min-width: 0;
}
.aucra-assessor-row-top > .aucra-title,
.aucra-assessor-language {
  flex: 1 1 auto;
  min-width: 0;
}
.aucra-assessor-language,
.aucra-assessor-downloads {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.aucra-assessor-language-name {
  font-size: 13px;
  font-weight: var(--weight-bold);
}
.aucra-assessor-notes {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
}
.aucra-assessor-doc {
  gap: 16px;
}
/* The notice above the document: the cover lacks the product name or the
   version, and where to fill them in. */
.aucra-assessor-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--warn);
  background: var(--warn-wash);
  border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent);
}
/* One clause on its own (#40): its name, the clause picked and its two
   buttons on one line, which wraps at a phone's width with the picker
   taking the whole line. */
.aucra-assessor-clause {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 13px;
}
.aucra-assessor-clause-name {
  font-weight: var(--weight-bold);
}
.aucra-assessor-clause-pick {
  flex: 0 1 360px;
  min-width: 0;
}
@media (max-width: 640px) {
  .aucra-assessor-clause-pick {
    flex-basis: 100%;
  }
}
/* The user document (#40): what it is, its two buttons, and why they are
   off while no stakeholder is a user. */
.aucra-assessor-user {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
}
.aucra-assessor-user-line {
  flex: 1 1 260px;
  min-width: 0;
}
.aucra-assessor-user-off {
  flex-basis: 100%;
  font-size: 12.5px;
  color: var(--muted);
}
/* At a phone's width "Download the user document as Word" wraps: the button
   grows to hold it, as the tools page's starters do. */
.aucra-assessor-user .q-btn.aucra-btn {
  height: auto;
  min-height: 32px;
  padding-top: 6px;
  padding-bottom: 6px;
  line-height: 1.35;
}
@media (max-width: 640px) {
  .aucra-assessor-notes {
    align-items: flex-start;
    text-align: left;
  }
}
