/* The CRM's own styles, linked after the editor's main.css
   (crm/views/container.js). Everything the editor already styles (subnav,
   data tables, form split, sections, toasts, actions) is used as it is; this
   file adds only the CRM's own marks. Ported from the approved prototype
   (proto/crm-designs, editor/public/styles/crm-prototype.css). */

.crm-shell {
  overflow-x: hidden; /* the shell's body style, which the CSP does not allow inline */
  --crm-line: #d5dbe4;
  --crm-muted: #6b7482;
  /* Overdue, missing, declined, Won't work with again. */
  --crm-red: #b3362f;
  /* The app header's height, with the same fallback as the editor's sticky
     Subnav (the CRM's client does not publish the measured height). */
  --crm-top: var(--editor-shell-header-height, var(--editor-shell-header-min-height));
}

/* ---- people marks ---- */

/* A person's calendar colour on their initials (marks.jsx Avatar), one class
   per palette id of crm/lib/calendar/colors.js. */
.crm-person-crimson { --crm-person: #b54452; }
.crm-person-coral { --crm-person: #c7786f; }
.crm-person-clay { --crm-person: #b66f52; }
.crm-person-ochre { --crm-person: #b28745; }
.crm-person-amber { --crm-person: #c99a22; }
.crm-person-olive { --crm-person: #7b8251; }
.crm-person-lime { --crm-person: #699447; }
.crm-person-pine { --crm-person: #4f765f; }
.crm-person-teal { --crm-person: #4f8a86; }
.crm-person-aqua { --crm-person: #2b93a3; }
.crm-person-sky { --crm-person: #3f7fba; }
.crm-person-denim { --crm-person: #4f6f9d; }
.crm-person-indigo { --crm-person: #4f5fa8; }
.crm-person-violet { --crm-person: #7d6fa6; }
.crm-person-plum { --crm-person: #91617d; }
.crm-person-rose { --crm-person: #b76c83; }
.crm-person-cocoa { --crm-person: #806a5d; }
.crm-person-slate { --crm-person: #64748b; }

.crm-avatar {
  align-items: center;
  background: color-mix(in srgb, var(--crm-person, #64748b) 16%, #fff);
  border: 1.5px solid var(--crm-person, #64748b);
  border-radius: 50%;
  color: color-mix(in srgb, var(--crm-person, #64748b) 70%, #000);
  display: inline-flex;
  flex: none;
  font-size: 10px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 28px;
}

/* The portrait over the initials (marks.jsx Avatar): a photo that fails to
   load leaves them showing. */
.crm-avatar > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

/* ---- the header nav: sections at the left, the user's own items
   (Settings, Sign out) at the right (crm/views/container.js) ---- */

.crm-shell .editor-shell-nav-list {
  justify-content: flex-start;
}

.crm-shell .crm-nav-end {
  margin-left: auto;
}

.crm-sign-out {
  margin: 0;
}

.crm-sign-out .nav-link {
  background: none;
  border: 0;
}

/* ---- sign in ---- */

.crm-sign-in {
  align-items: center;
  display: grid;
  height: 100vh;
  justify-items: center;
}

.crm-sign-in section {
  background: #fff;
  border: 1px solid var(--crm-line);
  border-radius: 12px;
  box-shadow: var(--editor-shell-shadow);
  display: grid;
  justify-items: center;
  padding: 38px 46px 42px;
  width: 380px;
}

.crm-sign-in .editor-shell-title-kicker {
  color: var(--crm-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.crm-sign-in h1 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 2px 0 26px;
}

.crm-sign-in-error {
  color: #b42318;
  font-size: 13px;
  margin: -12px 0 16px;
  text-align: center;
}

/* The Claude connector's consent card (crm/mcp/views/oauth.jsx). */
.crm-oauth section {
  justify-items: stretch;
  width: 460px;
}

.crm-oauth h1,
.crm-oauth .editor-shell-title-kicker {
  text-align: center;
}

.crm-oauth-lead,
.crm-oauth-note {
  font-size: 13px;
}

.crm-oauth-note {
  color: var(--crm-muted);
}

.crm-oauth-abilities {
  font-size: 13px;
  margin: 0 0 14px;
  padding-left: 18px;
}

.crm-oauth-payment {
  font-size: 13px;
  margin: 0 0 8px;
}

.crm-oauth-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}

.crm-google {
  align-items: center;
  border: 1px solid #c4ccd8;
  border-radius: 7px;
  color: #18181b;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
  justify-content: center;
  padding: 10px 18px;
  text-decoration: none;
  width: 100%;
}

.crm-google:hover {
  background: #f8fafc;
  color: #18181b;
}

/* ======================================================================
   Lists and records (People; Shoots reuses every rule here). Ported from the
   approved prototype's stylesheet; the components are in
   crm/views/components/ and the client in crm/public/app/.
   ====================================================================== */

/* ---- index: one full-width table under its own search and Filters ---- */

/* The page's Subnav and the search bar stick as one block under the header,
   so the search stays in view down a long table (the Subnav's own sticky
   rule then has nothing to do). */
.crm-index-head {
  position: sticky;
  top: var(--crm-top);
  z-index: 400;
}

.crm-filter-bar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #b5c1d0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 16px;
  position: relative;
}

.crm-filter-bar input[type="search"] {
  width: 240px;
}

.crm-name-link {
  align-items: center;
  display: inline-flex;
  gap: 9px;
  /* A name never breaks onto two lines; the table gives up other columns' width first. */
  white-space: nowrap;
}

/* The page's own tools at the right of the search row (People's Columns). */
.crm-filter-bar-tools {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.crm-columns {
  align-items: center;
  color: #52525b;
  display: inline-flex;
  font-size: 12px;
  gap: 8px;
  margin: 0;
}

.crm-columns input[type="range"] {
  width: 130px;
}

/* ---- People as cards (people.jsx PeopleCards): every picture one 3:4
   frame, cropped to fill, at the reader's column count ---- */

.crm-cards {
  display: grid;
  gap: 18px 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 16px;
}

.crm-cards[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.crm-cards[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.crm-cards[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.crm-cards[data-cols="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.crm-cards[data-cols="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.crm-cards[data-cols="7"] { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.crm-cards[data-cols="8"] { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.crm-cards[data-cols="9"] { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.crm-cards[data-cols="10"] { grid-template-columns: repeat(10, minmax(0, 1fr)); }

.crm-card {
  color: #18181b;
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
}

.crm-card-photo {
  align-items: center;
  aspect-ratio: 3 / 4;
  background: color-mix(in srgb, var(--crm-person, #64748b) 22%, #fff);
  border-radius: 6px;
  color: color-mix(in srgb, var(--crm-person, #64748b) 70%, #000);
  container-type: inline-size;
  display: flex;
  font-weight: 700;
  justify-content: center;
  margin-bottom: 7px;
  overflow: hidden;
  position: relative;
}

/* The initials scale with the card; the picture lies over them, so one that
   fails to load leaves them showing. */
.crm-card-initials {
  font-size: 26cqw;
}

.crm-card-photo > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 180ms ease;
  width: 100%;
}

.crm-card:hover .crm-card-photo > img,
.crm-card:focus-visible .crm-card-photo > img {
  transform: scale(1.03);
}

.crm-card:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.crm-card-name,
.crm-card-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-card-name {
  font-size: 14px;
}

.crm-card-meta {
  color: #71717a;
  font-size: 12px;
}

body.editor-shell table.data-view tr.crm-past td,
body.editor-shell table.data-view tr.crm-past td a {
  color: #9aa3af;
}

.crm-overdue {
  color: var(--crm-red);
  font-weight: 600;
}

.crm-faces {
  display: inline-flex;
}

.crm-faces .crm-avatar {
  background: #fff;
  background-image: linear-gradient(color-mix(in srgb, var(--crm-person) 16%, #fff), color-mix(in srgb, var(--crm-person) 16%, #fff));
  margin-right: -6px;
}

/* ---- the Filters button: a <details> whose popup holds the checkboxes ---- */

.crm-filters > summary {
  cursor: pointer;
  list-style: none;
}

.crm-filters > summary::-webkit-details-marker {
  display: none;
}

.crm-filter-bar .crm-filters {
  position: relative;
}

.crm-filter-bar .crm-filters > summary .crm-count {
  margin-left: 6px;
}

.crm-filter-pop {
  background: #fff;
  border: 1px solid #b5c1d0;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 18, 24, 0.22);
  color: #18181b;
  left: 8px;
  padding: 10px 14px 12px;
  position: absolute;
  top: calc(100% - 2px);
  width: 230px;
  z-index: 450;
}

.crm-filter-bar .crm-filter-pop {
  left: 0;
  top: calc(100% + 12px);
}

/* A list's Filters popup opens from a bar that stays put under the header,
   so scrolling the page can never bring its foot into view: in a short
   window it scrolls inside itself instead (120px covers the bars above it). */
.crm-filters > .crm-filter-pop {
  max-height: calc(100vh - var(--crm-top) - 120px);
  overflow-y: auto;
}

.crm-filter-pop .stories-field-label {
  display: block;
  margin-top: 8px;
}

.crm-filter-pop .stories-field-label:first-child {
  margin-top: 0;
}

.crm-filter-pop .col {
  padding: 0;
}

.crm-filter-pop .form-check-label {
  font-size: 14px;
}

.crm-filter-pop-foot {
  border-top: 1px solid var(--crm-line);
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-top: 10px;
  padding-top: 10px;
}

/* Apply submits the plain GET form; with the script every tick applies. */
html.crm-js body .crm-filter-pop .crm-filter-apply {
  display: none;
}

/* ---- two panes: a narrow list of names beside the selected record.
   The list is a plain white rail with its own tool row and a hard edge, the
   record sits on the editor's grey page under its own bar; each pane holds
   its own controls. Light only (owner, 2026-11-25). ---- */

/* The split runs to the page's end, so the sticky list never rides up into
   the shell's bottom padding (the record pane has its own). */
#editor-page-root:has(> .crm-split) {
  padding-bottom: 0;
}

.crm-split {
  align-items: start;
  display: grid;
  grid-template-columns: 20% minmax(0, 1fr);
}

/* The list stays in view while the record scrolls: exactly one viewport tall
   under the header (never stretched to the row, or sticky has no room to
   move), tool row fixed at its top, the names scrolling inside it. The pane
   itself does not clip, so the Filters popup can reach past its edge. */
.crm-list-pane {
  background: #fff;
  border-right: 1px solid #b5c1d0;
  box-shadow: 2px 0 6px rgba(28, 32, 36, 0.05);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--crm-top));
  position: sticky;
  top: var(--crm-top);
  z-index: 401;
}

.crm-list-tools {
  align-items: center;
  background: linear-gradient(#f3f6fa, #e6ecf4);
  border-bottom: 1px solid #b5c1d0;
  border-top: 1px solid #b5c1d0;
  display: flex;
  flex: none;
  gap: 6px;
  margin: 0;
  min-height: 48px;
  padding: 7px 8px;
  position: relative;
}

body.editor-shell .crm-list-tools input[type="search"] {
  flex: 1;
  font-size: 13px;
  height: 30px;
  min-width: 0;
  padding: 3px 9px;
}

.crm-tool {
  align-items: center;
  background: #fff;
  border: 1px solid #b5c1d0;
  border-radius: 6px;
  color: #33415a;
  display: inline-flex;
  flex: none;
  gap: 4px;
  height: 30px;
  justify-content: center;
  min-width: 30px;
  padding: 0 6px;
}

.crm-tool:hover {
  background: #f3f6fa;
  color: #18181b;
}

.crm-tool.is-on {
  background: #18181b;
  border-color: #18181b;
  color: #fff;
}

.crm-tool.is-on .crm-count {
  background: #fff;
  color: #18181b;
}

.crm-name-list {
  flex: 1;
  list-style: none;
  margin: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
}

.crm-name-list a {
  align-items: center;
  border-bottom: 1px solid #e6eaf0;
  color: inherit;
  display: flex;
  font-size: 13.5px;
  gap: 9px;
  overflow: hidden;
  padding: 7px 10px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-name-list a:hover {
  background: #f6f8fb;
}

.crm-name-list a[aria-current="true"] {
  background: #e6edf7;
  box-shadow: inset 3px 0 0 #18181b;
  font-weight: 650;
}

.crm-name-list li.crm-past a:not([aria-current]) {
  color: #9aa3af;
}

.crm-name-list .crm-avatar {
  font-size: 9px;
  height: 24px;
  width: 24px;
}

.crm-detail-pane {
  min-width: 0;
  padding-bottom: 60px;
}

.crm-detail-pane .tag-section:first-of-type {
  margin-top: 0;
}

/* Sections stack flush, so a run of closed ones reads as a list of rows: a
   bar under a closed section shares that section's bottom rule; a bar under
   an open one keeps its own top rule, which closes off the open body. */
.crm-detail-pane .tag-section {
  margin: 0;
}

.crm-detail-pane .tag-section:has(> [data-collapsible-body][hidden]) + .tag-section > .tag-section-header {
  border-top: 0;
}

/* ---- sections: a closed one says what matters in its title bar; an open
   one shows its actions there instead (crm/views/components/section.jsx) ---- */

.tag-section-heading {
  align-items: center;
  display: flex;
  min-width: 0;
}

.crm-section-summary {
  align-items: center;
  color: var(--crm-muted);
  display: inline-flex;
  font-size: 13.5px;
  gap: 12px;
  margin-left: 14px;
  min-width: 0;
}

.crm-section-summary:empty,
.crm-section .tag-section-heading:has(> [aria-expanded="true"]) > .crm-section-summary,
.crm-section > .tag-section-header:has([aria-expanded="false"]) > .crm-section-actions {
  display: none;
}

.crm-section-actions {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.crm-required {
  color: var(--crm-muted);
  font-weight: 400;
}

/* ---- forms ---- */

body.editor-shell .crm-form .editor-form-split-main {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

body.editor-shell .crm-form.crm-form-single .editor-form-split-main {
  grid-template-columns: minmax(0, 300px);
}

.crm-form .crm-span {
  grid-column: 1 / -1;
}

.crm-form .crm-span-2 {
  grid-column: span 2;
}

/* Allergies, snacks and beverages: three short boxes side by side. */
body.editor-shell .crm-form textarea.crm-diet-box {
  height: 56px;
  min-height: 56px;
  resize: vertical;
}

/* A person's Details (people.jsx DetailsForm): one wide grid of three, the
   names and the roles on its first row, no side column. */
body.editor-shell .crm-details-form {
  grid-template-columns: minmax(0, 1fr);
}

body.editor-shell .crm-details-form .editor-form-split-main {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* "Roles" reads like the field labels beside it (the editor's group label
   is capitals elsewhere). */
body.editor-shell .crm-roles .stories-field-label {
  letter-spacing: normal;
  text-transform: none;
}

/* The four role checkboxes, one row the height of an input beside them, in
   the text colour (owner, 2026-11-29: no label colour on them). */
.crm-roles-checks {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  min-height: 30px;
}

.editor-form-split .crm-roles-checks .form-check {
  color: inherit;
  margin: 0;
  padding-left: 1.5em;
}

body.editor-shell .crm-form textarea.crm-notes {
  height: 96px;
}

.crm-form-error {
  color: var(--crm-red);
  font-size: 13px;
  margin: 6px 0 0;
}

.crm-links {
  display: grid;
  gap: 6px;
  max-width: 760px;
}

.crm-links .tag-link-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 130px minmax(0, 1fr) 96px auto 26px auto auto;
}

.crm-links .crm-followers {
  text-align: right;
}

.crm-followers-read {
  color: var(--crm-muted);
  font-size: 12.5px;
  white-space: nowrap;
}

.crm-followers-refresh {
  background: none;
  border: 0;
  padding: 0;
}

.crm-row-actions {
  text-align: right;
  white-space: nowrap;
}

.crm-row-actions .btn + .btn {
  margin-left: 6px;
}

table.data-view .form-control {
  font-size: 13px;
  height: 30px;
  padding: 4px 8px;
}

.crm-days td:nth-child(-n+3) {
  width: 150px;
}

/* "Not on file" (the File column): red, grey for a past shoot's, and grey
   for a release marked not needed. */
body.editor-shell table.data-view tr.crm-missing td:nth-child(3) {
  color: var(--crm-red);
}

body.editor-shell table.data-view tr.crm-missing.is-past td:nth-child(3),
body.editor-shell table.data-view tr.crm-not-needed td:nth-child(3) {
  color: var(--crm-muted);
}

/* Shoot paperwork (crm/views/people.jsx ShootPaperwork): a disclosure under
   the Documents table, closed on every load, then one dense row per shoot,
   each opening onto that shoot's full rows. */
.crm-shoot-paperwork > summary {
  align-items: baseline;
  border-top: 1px solid var(--crm-line);
  cursor: pointer;
  display: flex;
  font-size: 13.5px;
  gap: 10px;
  list-style: none;
  padding: 10px 8px 10px 26px;
  position: relative;
}

.crm-shoot-paperwork > summary::-webkit-details-marker,
.crm-shoot-paperwork-title {
  font-weight: 600;
}

.crm-shoot-paperwork-summary,
.crm-paperwork-name > span,
.crm-paperwork-head,
.crm-paperwork-cell.is-quiet,
.crm-paperwork-more {
  color: var(--crm-muted);
}

.crm-paperwork-grid {
  font-size: 13px;
  padding: 0 0 12px;
}

.crm-paperwork-head,
.crm-paperwork-shoot > summary {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 150px 150px;
  padding: 4px 8px 4px 26px;
}

.crm-paperwork-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crm-paperwork-shoot > summary {
  border-top: 1px solid var(--crm-line);
  cursor: pointer;
  list-style: none;
  position: relative;
}

.crm-paperwork-shoot > summary::-webkit-details-marker {
  display: none;
}

/* A chevron on each disclosure, turned while it is open. */
.crm-shoot-paperwork > summary::before,
.crm-paperwork-shoot > summary::before {
  border-bottom: 1.5px solid var(--crm-muted);
  border-right: 1.5px solid var(--crm-muted);
  content: "";
  height: 6px;
  left: 10px;
  position: absolute;
  top: 9px;
  transform: rotate(-45deg);
  width: 6px;
}

.crm-shoot-paperwork > summary::before {
  top: 14px;
}

.crm-shoot-paperwork[open] > summary::before,
.crm-paperwork-shoot[open] > summary::before {
  transform: rotate(45deg);
}

.crm-paperwork-shoot > summary:hover {
  background: rgba(15, 18, 24, 0.03);
}

.crm-paperwork-name a,
.crm-paperwork-cell a {
  color: inherit;
  text-decoration: none;
}

.crm-paperwork-name a:hover,
.crm-paperwork-cell a:hover {
  text-decoration: underline;
}

.crm-paperwork-cell.is-missing {
  color: var(--crm-red);
}

.crm-paperwork-shoot > table.data-view {
  margin: 0;
}

.crm-paperwork-shoot[open] {
  background: #fff;
  border-bottom: 1px solid var(--crm-line);
}

.crm-upload-row .file-upload {
  max-width: 220px;
}

/* A document's signed/added date saves as it changes (crm/views/people.jsx). */
table.data-view .form-control.crm-document-date {
  width: 150px;
}

/* A release or 2257's shoot, saved the same way. */
table.data-view .form-control.crm-document-shoot {
  width: 220px;
}

/* Under its shoot's group a linked one's select only repeats the group, so
   it reads as quiet text until it is pointed at (it is how a document moves
   to another shoot). */
table.data-view .form-control.crm-document-shoot.is-linked:not(:hover, :focus) {
  background-color: transparent;
  border-color: transparent;
  color: var(--crm-muted);
}

/* Replace and Upload draw their upload's ghost over their own cell. */
.crm-documents .crm-row-actions {
  position: relative;
}

/* ---- payment ---- */

.crm-payment {
  display: grid;
  gap: 4px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

body.editor-shell .crm-payment textarea.form-control {
  height: auto;
  min-height: 34px;
  resize: vertical;
}

.crm-invite {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.crm-invite.is-accepted { color: #1f8a4c; }
.crm-invite.is-invited,
.crm-invite.is-tentative { color: #a16207; }
.crm-invite.is-declined { color: var(--crm-red); }

/* ---- email dialog (crm/views/components/compose-email.jsx) ---- */

dialog.crm-compose {
  width: 680px;
}

dialog.crm-compose::backdrop {
  background: rgba(15, 18, 24, 0.45);
}

.crm-compose .editor-modal-body {
  padding: 16px;
}

.crm-compose .editor-modal-footer {
  justify-content: flex-end;
  padding: 10px 16px;
}

.crm-compose-fields {
  align-items: center;
  display: grid;
  gap: 8px 12px;
  grid-template-columns: 64px minmax(0, 1fr);
  margin-bottom: 12px;
}

.crm-compose-fields .col-form-label {
  font-size: 13px;
  margin: 0;
  padding: 0;
}

.crm-compose-from {
  font-size: 14px;
}

.crm-compose-to {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.crm-compose-chip {
  align-items: center;
  border: 1px solid var(--crm-line);
  border-radius: 16px;
  display: inline-flex;
  font-size: 13px;
  gap: 6px;
  padding: 2px 4px 2px 3px;
}

.crm-compose-chip .crm-avatar {
  font-size: 8.5px;
  height: 22px;
  width: 22px;
}

body.editor-shell .crm-compose textarea.form-control {
  height: auto;
}

/* ---- Release and 2257 prompt (crm/views/shoots.jsx PaperworkPrompt) ---- */

dialog.crm-paperwork-prompt {
  width: 560px;
}

dialog.crm-paperwork-prompt::backdrop {
  background: rgba(15, 18, 24, 0.45);
}

.crm-paperwork-prompt .editor-modal-body {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.crm-paperwork-prompt .col-form-label {
  font-size: 13px;
  padding: 0;
}

.crm-paperwork-prompt .col-form-label:not(:first-child) {
  margin-top: 8px;
}

body.editor-shell .crm-paperwork-prompt textarea.form-control {
  height: auto;
}

.crm-paperwork-prompt .editor-modal-footer {
  justify-content: flex-end;
  padding: 10px 16px;
}

/* ---- the Documents section's ID picture action (crm/views/components/id-request.jsx) ---- */

/* A section opened by a link's #hash lands below the record's sticky bar. */
.crm-section {
  scroll-margin-top: 120px;
}

.crm-id-request {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.crm-id-request:empty {
  display: none;
}

.crm-id-request-open {
  color: var(--crm-muted);
  font-size: 13px;
  margin-right: 4px;
}

/* ---- link dialogs (crm/views/components/link-result.jsx; the onboarding
   link's and the BTS upload link's) ---- */

dialog.crm-link-dialog {
  width: 560px;
}

dialog.crm-link-dialog::backdrop {
  background: rgba(15, 18, 24, 0.45);
}

.crm-link-dialog .editor-modal-body {
  padding: 16px;
}

.crm-link-dialog .editor-modal-footer {
  gap: 6px;
  justify-content: flex-end;
  padding: 10px 16px;
}

.crm-link-row {
  align-items: center;
  display: flex;
  gap: 6px;
}

.crm-link-row .form-control {
  flex: 1;
  font-size: 13px;
  min-width: 0;
}

.crm-link-row [hidden] {
  display: none;
}

.crm-link-status {
  color: var(--crm-muted);
  font-size: 13px;
  margin: 12px 0 0;
}

/* The upload link dialog's shoot select sits over the link. */
.crm-upload-link-shoot {
  font-size: 13px;
  margin-bottom: 10px;
}

/* ---- the onboarding link dialog (crm/views/components/onboarding-request.jsx):
   one pane at a time, by the dialog's data-view ---- */

dialog.crm-onboarding-dialog {
  width: 640px;
}

.crm-onboarding-dialog:not([data-view="choose"]) [data-crm-onboarding-pane="choose"],
.crm-onboarding-dialog:not([data-view="open"]) [data-crm-onboarding-pane="open"],
.crm-onboarding-dialog:not([data-view="result"]) [data-crm-onboarding-pane="result"],
.crm-onboarding-dialog [hidden] {
  display: none;
}

/* Each pane holds its own body and footer, so the footer gets the modal
   footer's look here (editor-modals.css styles only a direct child). */
.crm-onboarding-dialog [data-crm-onboarding-pane] > .editor-modal-footer {
  align-items: center;
  background: linear-gradient(#f6f8fb, #eaf0f6);
  border-top: 1px solid #c4cfdd;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 10px 16px;
}

.crm-onboarding-dialog [data-crm-onboarding-pane] > .editor-modal-footer > * {
  margin: 0;
}

.crm-onboarding-spacer {
  flex: 1;
}

.crm-onboarding-to {
  color: #3f4855;
  font-size: 14px;
  margin: 0 0 12px;
}

.crm-onboarding-quiet {
  color: var(--crm-muted);
}

p.crm-onboarding-quiet {
  font-size: 13px;
  margin: 10px 0 0;
}

.crm-onboarding-rows {
  border-top: 1px solid var(--crm-line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.crm-onboarding-row {
  border-bottom: 1px solid var(--crm-line);
  padding: 9px 0;
}

.crm-onboarding-line {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 10px;
  margin: 0;
}

span.crm-onboarding-line {
  cursor: default;
}

.crm-onboarding-line .form-check-input {
  flex: none;
  margin: 0;
  position: static;
}

.crm-onboarding-title {
  font-size: 14px;
  font-weight: 600;
}

.crm-onboarding-note,
.crm-onboarding-state {
  color: var(--crm-muted);
  font-size: 13px;
  margin-left: auto;
  text-align: right;
}

.crm-onboarding-state.is-started { color: #a16207; }
.crm-onboarding-state.is-done { color: #1f8a4c; font-weight: 600; }

/* Under a ticked section: the ID kinds, the measurement run. */
.crm-onboarding-sub {
  font-size: 13px;
  padding: 8px 0 2px 26px;
}

.crm-onboarding-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.crm-onboarding-pills .social-toolbar-group {
  flex-wrap: wrap;
}

.crm-onboarding-pills .social-toolbar-pill:disabled {
  cursor: default;
  opacity: 0.45;
}

/* ---- to-do lists (crm/views/components/todo-list.jsx) ---- */

.crm-todos {
  display: grid;
  gap: 4px;
  max-width: 760px;
}

.crm-todo {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 8px;
}

.crm-todo.form-check .form-check-input {
  flex: none;
  margin-top: 0;
}

.crm-todo .form-check-label {
  flex: 1;
  min-width: 0;
}

body.editor-shell .crm-todos .crm-todo-due {
  flex: none;
  font-size: 13px;
  height: 28px;
  padding: 2px 6px;
  width: 136px;
}

body.editor-shell .crm-todo .crm-todo-due {
  background: transparent;
  border-color: transparent;
}

body.editor-shell .crm-todo .crm-todo-due:hover,
body.editor-shell .crm-todo .crm-todo-due:focus {
  background: #fff;
  border-color: #b5c1d0;
}

/* A to-do without a deadline shows no date (no mm/dd/yyyy, no picker icon)
   until its row is hovered or the box is focused, where one can be set. */
.crm-todo:not(:hover) .crm-todo-due.is-empty:not(:focus) {
  opacity: 0;
}

.crm-todo.is-checked .crm-todo-due {
  color: #9aa3af;
}

body.editor-shell .crm-todo.is-overdue .crm-todo-due {
  color: var(--crm-red);
  font-weight: 600;
}

.crm-todo.is-checked .form-check-label {
  color: #9aa3af;
  text-decoration: line-through;
}

/* A to-do's × shows on its row's hover, so the list reads as the design's. */
.crm-todo .crm-todo-remove {
  visibility: hidden;
}

.crm-todo:hover .crm-todo-remove,
.crm-todo .crm-todo-remove:focus-visible {
  visibility: visible;
}

.crm-todos .crm-todo-add {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 136px auto;
  margin-top: 6px;
}

/* ---- the To-dos tab (crm/views/todos.jsx): one table of every to-do ---- */

/* Its search and Filters sit in the Subnav's search slot, beside Clear all. */
.subnav .crm-filter-bar {
  background: none;
  border: 0;
  flex-wrap: nowrap;
  padding: 0;
}

.subnav .crm-filter-bar .crm-filter-pop {
  left: auto;
  right: 0;
  top: calc(100% + 8px);
}

.crm-clear-all {
  position: relative;
}

.crm-clear-all .crm-filter-pop {
  left: auto;
  right: 0;
  top: calc(100% + 8px);
  width: 280px;
}

.crm-clear-pop p {
  color: var(--crm-red);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.crm-clear-pop-foot {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-top: 12px;
}

/* The add row: text, For, deadline, Add, a tool row above the table (as the
   People index's search bar is). */
.crm-todo-new {
  background: #fff;
  border-bottom: 1px solid #b5c1d0;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 640px) 280px 150px auto;
  justify-content: start;
  padding: 10px 16px;
}

.crm-for-pick {
  position: relative;
}

.crm-for-options.crm-filter-pop {
  left: 0;
  list-style: none;
  margin: 0;
  max-height: 340px;
  overflow-y: auto;
  padding: 6px;
  top: calc(100% + 4px);
  width: 100%;
}

.crm-for-options [data-for] {
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 9px;
  padding: 5px 6px;
}

.crm-for-options [data-for]:hover,
.crm-for-options [data-for][aria-selected="true"] {
  background: #eef2f7;
}

.crm-for-options [hidden] {
  display: none;
}

.crm-for-shoot-mark {
  align-items: center;
  color: var(--crm-muted);
  display: inline-flex;
  flex: none;
  justify-content: center;
  width: 28px;
}

.crm-for-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-for-detail {
  color: var(--crm-muted);
  font-size: 12.5px;
  margin-left: auto;
  white-space: nowrap;
}

body.editor-shell .crm-todos-table .crm-todos-tick,
body.editor-shell .crm-todos-table .crm-todos-remove {
  width: 36px;
}

.crm-todos-table td label {
  cursor: pointer;
  margin: 0;
}

.crm-todo-for {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  white-space: nowrap;
}

.crm-todo-for-sep {
  color: var(--crm-muted);
}

.crm-todo-shoot {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

body.editor-shell .crm-todos-table .crm-todo-due {
  background: transparent;
  border-color: transparent;
  font-size: 13px;
  height: 28px;
  padding: 2px 6px;
  width: 140px;
}

body.editor-shell .crm-todos-table .crm-todo-due:hover,
body.editor-shell .crm-todos-table .crm-todo-due:focus {
  background: #fff;
  border-color: #b5c1d0;
}

/* No deadline: the box reads blank until pointed at, not as mm/dd/yyyy. */
body.editor-shell .crm-todos-table .crm-todo-due.is-empty:not(:hover, :focus)::-webkit-datetime-edit {
  color: transparent;
}

body.editor-shell .crm-todo-row.is-overdue .crm-todo-due {
  color: var(--crm-red);
  font-weight: 600;
}

.crm-todo-row.is-checked td label,
.crm-todo-row.is-checked .crm-todo-due {
  color: #9aa3af;
}

.crm-todo-row.is-checked td label {
  text-decoration: line-through;
}

.crm-todo-row .crm-todo-remove {
  visibility: hidden;
}

.crm-todo-row:hover .crm-todo-remove,
.crm-todo-row .crm-todo-remove:focus-visible {
  visibility: visible;
}

/* ---- people marks ---- */

.crm-paperwork {
  display: inline-flex;
  flex: none;
  gap: 3px;
}

.crm-paperwork-dot {
  border: 1.5px solid #c2413a;
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.crm-paperwork-dot.is-on {
  background: #c98a1b;
  border-color: #c98a1b;
}

.crm-paperwork-dot.is-on.is-complete {
  background: #1f8a4c;
  border-color: #1f8a4c;
}

.crm-count {
  background: #18181b;
  border-radius: 9px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 18px;
  min-width: 18px;
  padding: 0 5px;
  text-align: center;
}

/* ---- photos ---- */

.crm-photos {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.crm-photo {
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.crm-photo > img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* A HEIC with no thumb (people.jsx Photos): a tile that opens the file. */
.crm-photo-file {
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.crm-photo-file .editor-action-icon {
  height: 32px;
  width: 32px;
}

/* What a photo shows until (or unless) its picture loads. */
.crm-photo-0 { background: linear-gradient(160deg, #3b3f4a, #9a6f78); }
.crm-photo-1 { background: linear-gradient(200deg, #5a2a33, #c7949c); }
.crm-photo-2 { background: linear-gradient(140deg, #23262e, #6f7f96); }
.crm-photo-3 { background: linear-gradient(180deg, #7b5a4a, #d9bfae); }
.crm-photo-4 { background: linear-gradient(220deg, #2e3a35, #8ea79a); }

.crm-photo-badge {
  background: #18181b;
  border: 0;
  border-radius: 4px;
  bottom: var(--media-overlay-inset);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  left: var(--media-overlay-inset);
  padding: 2px 7px;
  position: absolute;
}

/* Any other photo offers to become the portrait on hover. */
.crm-photo-make-portrait {
  background: rgba(255, 255, 255, 0.92);
  color: #18181b;
  visibility: hidden;
}

.crm-photo:hover .crm-photo-make-portrait,
.crm-photo-make-portrait:focus-visible {
  visibility: visible;
}

.crm-photo-delete {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: var(--media-overlay-radius);
  box-shadow: var(--media-overlay-shadow);
  color: var(--crm-red);
  display: inline-flex;
  height: var(--media-overlay-size);
  justify-content: center;
  position: absolute;
  right: var(--media-overlay-inset);
  top: var(--media-overlay-inset);
  width: var(--media-overlay-size);
}

/* ---- people on a shoot (Shoots) ---- */

.crm-cast-list {
  display: grid;
  gap: 0;
  max-width: 900px;
}

.crm-cast {
  border-bottom: 1px solid var(--crm-line);
  padding: 12px 0 16px;
}

.crm-cast:first-child {
  padding-top: 0;
}

.crm-cast:last-child {
  border-bottom: 0;
}

.crm-cast-head {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
}

.crm-cast-head > a {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 9px;
  min-width: 190px;
  text-decoration: none;
}

.crm-cast-head select.form-control {
  font-size: 13px;
  height: 30px;
  padding: 3px 8px;
  width: 120px;
}

.crm-cast-paperwork {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  white-space: nowrap;
}

/* The SignWell state beside the paperwork buttons, coloured as invites are. */
.crm-signing {
  font-size: 12.5px;
  font-weight: 600;
}

.crm-signing.is-completed { color: #1f8a4c; }
.crm-signing.is-sent,
.crm-signing.is-viewed,
.crm-signing.is-signed { color: #a16207; }
.crm-signing.is-declined,
.crm-signing.is-expired,
.crm-signing.is-canceled,
.crm-signing.is-bounced,
.crm-signing.is-error { color: var(--crm-red); }

.crm-cast-days {
  flex: 1;
  white-space: nowrap;
}

/* Each person's fixed checklist, under their row and above their to-dos. */
.crm-cast-checklist {
  display: flex;
  flex-wrap: wrap;
  font-size: 13.5px;
  gap: 4px 22px;
  margin-bottom: 8px;
  padding-left: 37px;
}

.crm-cast-checklist .form-check-inline {
  margin-right: 0;
}

.crm-cast .crm-todos {
  padding-left: 37px;
}

/* Add Person: the Filters popup's look, opening leftwards from the button. */
.crm-add-person {
  position: relative;
}

.crm-add-person .crm-filter-pop {
  left: auto;
  right: 0;
  top: calc(100% + 6px);
  width: 260px;
}

.crm-person-pick ul {
  list-style: none;
  margin: 8px 0 0;
  max-height: 320px;
  overflow-y: auto;
  padding: 0;
}

.crm-person-pick li button {
  align-items: center;
  background: none;
  border: 0;
  border-radius: 6px;
  display: flex;
  gap: 9px;
  padding: 5px 6px;
  text-align: left;
  width: 100%;
}

.crm-person-pick li button:hover,
.crm-person-pick li button:focus-visible {
  background: #eef2f7;
}

.crm-person-pick-empty {
  color: var(--crm-muted);
  font-size: 13.5px;
  padding: 5px 6px;
}

.crm-invite-note {
  color: var(--crm-muted);
  font-size: 13.5px;
  margin: 0 0 10px;
}

/* An icon-only action (Delete in a record's bar, a mood board's bulk bin). */
body.editor-shell .btn.crm-icon-action {
  padding-left: 8px;
  padding-right: 8px;
}

/* A delete that asks twice (confirm-twice.js): armed, it turns red. */
body.editor-shell [data-crm-confirm-twice].is-armed,
[data-crm-confirm-twice].is-armed {
  background: #b42318;
  border-color: #b42318;
  color: #fff;
  opacity: 1;
}

/* ---- measurements (crm/views/components/measurements.jsx) ---- */

.crm-measure-toolbar {
  align-items: center;
  border-bottom: 1px solid var(--crm-line);
  display: flex;
  gap: 8px;
  padding-bottom: 10px;
  padding-top: 10px;
}

body.editor-shell .crm-measure .form-control.crm-measure-filter {
  width: 260px;
}

.crm-measure-breasts {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.crm-measure-breasts label {
  color: var(--crm-muted);
  font-size: 13px;
  margin: 0;
  white-space: nowrap;
}

body.editor-shell .crm-measure-breasts .form-control {
  width: 150px;
}

/* 87 rows: tighter than the editor's table rows. */
table[data-editor-table="true"].crm-measure-chart tbody td {
  padding-bottom: 5px;
  padding-top: 5px;
}

table[data-editor-table="true"].crm-measure-chart tbody th.crm-measure-region-name {
  background: #f6f8fb;
  color: #1f2733;
  font-size: 12.5px;
  font-weight: 700;
  padding-bottom: 6px;
  padding-top: 12px;
}

/* Hood (head) measurements are optional and the hand is never asked: quieter. */
.crm-measure-chart tbody.is-optional th.crm-measure-region-name,
.crm-measure-chart tbody.is-optional td {
  color: var(--crm-muted);
}

.crm-measure-chart td.crm-measure-code,
.crm-measure-history .crm-measure-code {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  width: 64px;
}

.crm-measure-chart tr.is-missing td {
  color: #98a1ad;
}

.crm-measure-chart tr.is-missing .crm-measure-code {
  font-weight: 500;
}

.crm-measure-chart .crm-measure-value {
  width: 300px;
}

.crm-measure-chart .crm-measure-changed {
  width: 120px;
}

.crm-measure-history-link {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.crm-measure-history-link:hover {
  color: #1f2733;
  text-decoration: underline;
}

/* Tick boxes only while requesting; boxes for values only while adjusting. */
.crm-measure-chart .crm-measure-pick-cell {
  display: none;
  width: 36px;
}

.crm-section.is-requesting .crm-measure-chart .crm-measure-pick-cell {
  display: table-cell;
}

.crm-section.is-requesting .crm-measure-chart tr:has([data-crm-measure-pick]:checked) td {
  background: #eef4ff;
}

.crm-measure-edit,
.crm-measure-bar,
.crm-section.is-adjusting .crm-measure-read {
  display: none;
}

.crm-section.is-adjusting .crm-measure-edit {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

body.editor-shell .crm-measure .form-control.crm-measure-input {
  height: 30px;
  padding: 3px 8px;
  width: 84px;
}

body.editor-shell .crm-measure .form-control.crm-measure-input.is-short {
  width: 56px;
}

body.editor-shell .crm-measure .form-control.crm-measure-unit {
  height: 30px;
  padding: 3px 8px;
  width: 104px;
}

.crm-measure-unit-text {
  color: var(--crm-muted);
  font-size: 13px;
}

.crm-measure-error {
  color: var(--crm-red);
  display: block;
  font-size: 12.5px;
}

.crm-measure-error:empty {
  display: none;
}

.crm-measure-chart tr.is-invalid .form-control {
  border-color: var(--crm-red);
}

/* The adjust and request bars stay in view at the foot of the window. */
.crm-section.is-adjusting [data-crm-measure-adjust-bar],
.crm-section.is-requesting [data-crm-measure-request-bar] {
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--crm-line);
  bottom: 0;
  box-shadow: 0 -4px 12px rgba(15, 18, 24, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 16px;
  position: sticky;
  z-index: 3;
}

body.editor-shell .crm-measure .form-control.crm-measure-note {
  flex: 1;
  height: 34px;
  min-height: 34px;
  resize: vertical;
}

.crm-measure-picked {
  font-size: 13.5px;
  white-space: nowrap;
}

.crm-measure-shortcuts {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px 10px;
}

.crm-measure-shortcut {
  background: none;
  border: 0;
  color: #3f4855;
  font-size: 13px;
  padding: 2px 0;
  text-decoration: underline;
  text-decoration-color: #c4cbd5;
  text-underline-offset: 3px;
}

.crm-measure-shortcut:hover,
.crm-measure-shortcut.is-active {
  color: #1f2733;
  text-decoration-color: currentColor;
}

.crm-measure-shortcut.is-active {
  font-weight: 600;
}

.crm-measure-groups {
  font-size: 13px;
}

.crm-measure-bar-actions {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
}

/* Header actions: Adjust and Request belong to the chart view. */
.crm-section:has([data-crm-measure-view="history"][aria-pressed="true"]) [data-crm-measure-adjust],
.crm-section:has([data-crm-measure-view="history"][aria-pressed="true"]) [data-crm-measure-request],
.crm-section.is-adjusting [data-crm-measure-adjust],
.crm-section.is-requesting [data-crm-measure-request] {
  display: none;
}

.crm-measure-requests {
  border-bottom: 1px solid var(--crm-line);
}

.crm-measure-requests .crm-row-actions {
  text-align: right;
  white-space: nowrap;
}

.crm-measure-status {
  font-size: 12.5px;
  font-weight: 600;
}

.crm-measure-status.is-open,
.crm-measure-status.is-partial { color: #a16207; }
.crm-measure-status.is-done { color: #1f8a4c; }
.crm-measure-status.is-expired,
.crm-measure-status.is-revoked { color: var(--crm-muted); }

table[data-editor-table="true"].crm-measure-history-table tbody td {
  vertical-align: top;
}

.crm-measure-more > summary {
  color: var(--crm-muted);
  cursor: pointer;
  font-size: 12.5px;
}

.crm-measure-when {
  white-space: nowrap;
  width: 160px;
}

.crm-measure-via,
.crm-measure-from {
  color: var(--crm-muted);
}

.crm-measure-change {
  align-items: center;
  display: flex;
  gap: 8px;
  line-height: 1.6;
}

.crm-measure-change .crm-measure-code {
  width: 36px;
}

.crm-measure-change .editor-action-icon {
  color: var(--crm-muted);
  height: 12px;
  width: 12px;
}

/* Notes in the history, each under its author: the model's or staff's. */
.crm-measure-note-item + .crm-measure-note-item {
  margin-top: 6px;
}

.crm-measure-note-by {
  color: var(--crm-muted);
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.crm-measure-note-text {
  white-space: pre-line;
}

/* The model's latest note on a measurement, one line under its name. */
.crm-measure-model-note {
  align-items: center;
  background: none;
  border: 0;
  color: var(--crm-muted);
  cursor: pointer;
  display: flex;
  font-size: 12.5px;
  gap: 5px;
  max-width: 420px;
  padding: 0;
  text-align: left;
}

.crm-measure-model-note .editor-action-icon {
  flex: none;
  height: 12px;
  width: 12px;
}

.crm-measure-model-note-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-measure-model-note-when {
  flex: none;
}

.crm-measure-model-note-when::before {
  content: "· ";
}

.crm-measure-model-note:hover .crm-measure-model-note-text {
  color: #1f2733;
  text-decoration: underline;
}

.crm-measure-empty {
  color: var(--crm-muted);
}

.crm-measure-notes {
  align-items: flex-start;
  border-top: 1px solid var(--crm-line);
  display: flex;
  gap: 8px;
  padding-bottom: 12px;
  padding-top: 12px;
}

body.editor-shell .crm-measure-notes textarea.form-control {
  flex: 1;
  height: auto;
  max-width: 760px;
  min-height: 56px;
  resize: vertical;
}

.crm-measure [hidden] {
  display: none;
}

.crm-onboarding-rows + .crm-link-result {
  margin-top: 14px;
}
