/* The portal's own pages. Plain, readable on a phone, no outside fonts (the page's security
   policy loads nothing from other sites). */
:root { --ink: #1c2430; --muted: #5b6673; --line: #d9dee5; --paper: #f5f7f9; --card: #fff; --accent: #2a66b8;
        --navy: #1e3a5f; }   /* the website's navy and blue: one look for scope.claims and the portal */
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--paper); }
a { color: var(--accent); }
.top, .bottom { padding: 12px 16px; display: flex; gap: 16px; align-items: center; }
.top { background: var(--navy); color: #fff; }
.top .brand, .top .nav a, .top .nav .linklike { color: #fff; }
.top .nav .muted { color: #c9d6e6; }
.top .brand .mark { display: block; height: 22px; width: auto; }
.bottom { color: var(--muted); font-size: 14px; justify-content: center; margin-top: 32px; }
.brand { font-weight: 600; text-decoration: none; color: var(--ink); }
main { max-width: 760px; margin: 24px auto; padding: 0 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px; }
h1 { font-size: 24px; margin: 0 0 12px; }
.muted { color: var(--muted); }
h2 { font-size: 18px; margin: 20px 0 8px; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend { font-weight: 600; font-size: 17px; margin-bottom: 8px; padding: 0; }
.field { margin: 0 0 14px; }
.field label { display: block; font-weight: 500; margin-bottom: 4px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date],
.field input[type=url], .field input[type=password],
.field select, .field textarea { width: 100%; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; }
.field input[type=file] { font: inherit; }
.field .help { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.field .error { margin: 4px 0 0; font-size: 14px; color: #b3261e; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.req { color: #b3261e; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row .field { flex: 1 1 180px; }
#id_products div { margin: 2px 0; }
#id_products label { font-weight: 400; display: inline; }
.notice { padding: 10px 14px; border-radius: 6px; margin: 0 0 16px; }
.error-box { background: #fdecea; color: #7a1a12; border: 1px solid #f5c2bd; }
.notice p { margin: 0; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.actions { margin-top: 8px; }
.button { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 10px 18px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { filter: brightness(1.1); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
[hidden] { display: none !important; }
.field.check label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
fieldset[data-needs] { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
fieldset[data-needs] legend { padding: 0 6px; font-size: 15px; }
.nav { margin-left: auto; display: flex; gap: 14px; align-items: center; font-size: 15px; }
.inline { display: inline; margin: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.info-box { background: #eef4fb; color: #163a63; border: 1px solid #c9dcf2; }
table.list { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
table.list th, table.list td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list th { font-weight: 600; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
table.list th a { color: inherit; text-decoration: none; }
table.list th a.sorted { color: var(--ink); text-decoration: underline; }
ul.files { padding-left: 18px; }
.job { margin: 18px 0 8px; }
.job h2 { display: flex; gap: 10px; align-items: baseline; }
.status { font-size: 14px; font-weight: 500; color: var(--accent); background: #eef4fb; border-radius: 12px; padding: 2px 10px; }
.timeline { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.timeline li { flex: 1 1 120px; padding: 8px 10px 8px 0; border-top: 3px solid var(--line); color: var(--muted); }
.timeline li.done { border-top-color: var(--accent); color: var(--ink); }
.timeline li.current .step { font-weight: 600; }
.timeline .step { display: block; }
.timeline .when { display: block; font-size: 13px; }

/* The loss's page: its boxes (add to the loss, reach the office), and what a send says. */
.card + .card { margin-top: 16px; }
.card > h2:first-child { margin-top: 0; }
.ok-box { background: #e8f5ec; color: #1d5b2c; border: 1px solid #c5e4cd; }

/* The staff pages: wider, with lists of tickets and jobs and a column of actions. */
body.staff main { max-width: 1180px; }
.small { font-size: 14px; }
.headline { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.headline h1, .headline h2 { margin-right: auto; }
.button.small { padding: 6px 12px; font-size: 14px; }
.button.secondary { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.button.danger { background: #b3261e; border-color: #b3261e; color: #fff; }   /* deleting, for admins only */
a.danger { color: #b3261e; }
label.check { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; }
.button[disabled] { cursor: default; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 12px; flex-wrap: wrap; }
.tabs a { padding: 8px 12px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.tabs .count { font-size: 13px; color: var(--muted); font-weight: 400; }
.filters { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: flex-end; margin: 0 0 8px; }
.filters label { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); gap: 2px; }
.filters select, .filters input { font: inherit; font-size: 15px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
table.tickets td { vertical-align: middle; }
table.list tr.done td { color: var(--muted); }
table.list tr.kept { background: #fffbea; }
.keep-col { width: 34px; }
.star { background: none; border: 0; font-size: 20px; line-height: 1; color: #9aa3ad; cursor: pointer; padding: 2px 4px; }
.star.on { color: #c98f00; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 0 8px; margin-left: 4px; }
.badge.internal { color: #6b4e00; background: #fff4d6; border-color: #f0dca0; }
.badge.seen { color: #1d5b2c; background: #e8f5ec; border-color: #c5e4cd; }
.badge.late, .late { color: #b3261e; font-weight: 600; }
.status.s-in_progress { color: #8a5a00; background: #fff4d6; }
.status.s-done { color: #1d5b2c; background: #e8f5ec; }
.badges { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
@media (max-width: 860px) { .columns { grid-template-columns: minmax(0, 1fr); } }   /* a wide table scrolls, the page does not */
.side-col .act { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; background: var(--paper); }
.side-col .act > label, .side-col .act .label { display: block; font-weight: 600; margin-bottom: 6px; }
.side-col .act select, .side-col .act input[type=date], .side-col .act textarea { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; margin-bottom: 8px; }
.side-col .act .buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.side-col .act p { margin: 0 0 8px; }
.side-col .field { margin-bottom: 8px; }
dl.facts { display: grid; grid-template-columns: 150px 1fr; gap: 6px 12px; margin: 0 0 12px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
.words { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 4px 14px; }
ol.history { list-style: none; padding: 0; margin: 0; }
ol.history li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
ol.history .when { color: var(--muted); font-size: 13px; margin-right: 6px; }
ol.history .what { margin: 2px 0 0; }
ol.history li.h-note .what { background: #fffbea; border-radius: 6px; padding: 4px 8px; }
ul.tickets-short { padding-left: 18px; }
ul.tickets-short li { margin: 4px 0; }
ul.tickets-short li.done a { color: var(--muted); }
.pages { display: flex; gap: 14px; align-items: center; }
.narrow-form { max-width: 720px; margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.choice .pick { display: flex; gap: 8px; align-items: center; font-weight: 400; margin: 4px 0; }
.choice .error { margin: 4px 0 0; font-size: 14px; color: #b3261e; }
.row .grow { flex: 1 1 180px; }
.job h2 .ask { font-size: 14px; font-weight: 500; margin-left: auto; }

/* The submit form: files by drag and drop (portal.js), with the upload's progress. */
.dropzone, .field label.dropzone { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 12px; border: 2px dashed #9aa3ad; border-radius: 8px; background: var(--paper); text-align: center; cursor: pointer; }
.dropzone:hover, .dropzone.focus { border-color: var(--accent); }
.dropzone.over { border-color: var(--accent); background: #eef4fb; }
.dz-title { font-weight: 600; color: var(--accent); }
.dz-help { font-size: 14px; color: var(--muted); }
ul.dz-files { list-style: none; padding: 0; margin: 8px 0 0; }
ul.dz-files li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
ul.dz-files li.dz-total { border-bottom: 0; font-size: 14px; }
.dz-name { font-weight: 500; word-break: break-all; }
.dz-warn { color: #b3261e; font-size: 14px; }
ul.dz-files .linklike { margin-left: auto; font-size: 14px; }
.upload { margin-top: 10px; }
.upload .bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.upload .bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.upload .words { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

/* Address suggestions as the address is typed (portal.js), with Google's logo as Google requires. */
.suggest { position: relative; }
ul.suggestions { position: absolute; z-index: 10; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
ul.suggestions li[role=option] { padding: 8px 12px; cursor: pointer; }
ul.suggestions li[role=option]:hover, ul.suggestions li[aria-selected=true] { background: #eef4fb; }
ul.suggestions li.by-google { padding: 10px 12px 5px; text-align: right; }
ul.suggestions li.by-google img { height: 18px; width: auto; }
p.found { margin: 4px 0 0; font-size: 14px; color: #1d5b2c; }
/* The lineup: one line per job or ticket, dragged into the order to work in. */
ol.lineup { list-style: none; padding: 0; margin: 8px 0; }
ol.lineup li { display: grid; grid-template-columns: 20px 28px 1fr auto auto auto; gap: 10px; align-items: center;
               padding: 10px 8px; border-bottom: 1px solid var(--line); background: #fff; }
ol.lineup li.dragging { opacity: .5; background: var(--paper); }
ol.lineup .grip { cursor: grab; color: var(--muted); letter-spacing: -3px; }
ol.lineup .n { font-weight: 600; color: var(--muted); text-align: right; }
ol.lineup .move { display: flex; gap: 6px; }
ol.lineup .move .linklike { padding: 2px 4px; }
.badge.new { background: #fff4d6; color: #7a5300; }
@media (max-width: 640px) {
  /* the staff pages on a phone: the menu wraps under the name, a wide table scrolls sideways */
  body.staff .top { flex-wrap: wrap; }
  body.staff .nav { margin-left: 0; flex-wrap: wrap; gap: 4px 12px; }
  body.staff table.list { display: block; overflow-x: auto; }
  ol.lineup li { grid-template-columns: 24px 1fr auto; }
  ol.lineup .grip { display: none; }
  ol.lineup .in-status, ol.lineup .open-for { grid-column: 2; }
}
/* How long work has been where it is (staff/timing.py): green under half its time limit, yellow
   from half, red past it; grey without a limit. */
.age { display: inline-block; font-size: 13px; font-weight: 600; border-radius: 10px; padding: 1px 9px; white-space: nowrap;
       border: 1px solid transparent; }
.age.ok { color: #1d5b2c; background: #e8f5ec; border-color: #c5e4cd; }
.age.soon { color: #6b4e00; background: #ffe9a8; border-color: #f0cf70; }
.age.late { color: #fff; background: #b3261e; border-color: #b3261e; }
.age.none { color: var(--muted); background: var(--paper); border-color: var(--line); }
/* a table that sorts by a clicked header (portal.js) */
table.sortable th .sort { color: inherit; text-decoration: none; font-weight: inherit; text-transform: inherit; }
table.sortable th[aria-sort] .sort { text-decoration: underline; }
table.sortable th[aria-sort="ascending"] .sort::after { content: " \25B2"; font-size: 10px; }
table.sortable th[aria-sort="descending"] .sort::after { content: " \25BC"; font-size: 10px; }
/* the other losses at the property, on a job's staff page (claims/links.py) */
section.links { margin: 16px 0; }
section.links .linked { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 0 0 10px; background: #fff; }
section.links .linked p { margin: 0 0 6px; }
section.links .linked ul { margin: 0 0 6px; }
section.links.asks .linked, section.links.found .linked { background: #eef4fb; border-color: #c9dcf2; }
section.links .answers { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 0; }
section.links .linklike.small { font-size: 14px; }
section.links details summary { cursor: pointer; color: var(--accent); }
.badge.linked { color: #163a63; background: #eef4fb; border-color: #c9dcf2; }
.side-col .act input[type=search] { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; margin-bottom: 8px; box-sizing: border-box; }
/* Lead time (staff/leadtime.py): the meters, and each office status's share of the time. */
.meters { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.meter { flex: 1 1 200px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: var(--paper); }
.meter .n { font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--accent); }
.meter.client .n { color: #8a5a00; }
.meter.all .n { color: var(--ink); }
table.list.time { max-width: 520px; }
.share-col { width: 40%; }
.share { display: flex; height: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.share .ours { background: var(--accent); }
.share .client { background: #e0a526; }
.side-col .act input[type=datetime-local], .side-col .act input[type=text] { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; margin-bottom: 8px; }
.side-col .act.on-client { background: #fff4d6; border-color: #f0dca0; }
.badge.on-client { color: #6b4e00; background: #fff4d6; border-color: #f0dca0; }
ul.holds { padding-left: 18px; font-size: 15px; }
ul.holds li { margin: 4px 0; }
/* sending the work to the client (the Deliver page, claims/delivery.py), and the invoice it waits for */
.side-col .act.deliver { background: #eef4fb; border-color: #c9dcf2; }
.side-col .act.on-invoice { background: #fff4d6; border-color: #f0dca0; }
form.deliver fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; min-width: 0; }
form.deliver input[type=file] { max-width: 100%; }
form.deliver legend { font-weight: 600; padding: 0 4px; }
form.deliver ul { list-style: none; padding: 0; margin: 0; }
form.deliver li label { display: flex; gap: 8px; align-items: baseline; margin: 4px 0; }
form.deliver textarea { width: 100%; font: inherit; line-height: 1.45; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; box-sizing: border-box; }
form.deliver input[type=text] { width: 100%; box-sizing: border-box; }
.badge.back { color: #6b4e00; background: #fff4d6; border-color: #f0dca0; }
/* the Staff page (staff/people.py): the roles to tick, each with what it may do */
form.person ul.roles { list-style: none; padding: 0; margin: 0; }
form.person ul.roles li { margin: 0 0 8px; }
form.person ul.roles li .muted { display: block; margin-left: 24px; }

/* a job's log (staff/joblog.py): comments among everything that happened, in a box that opens at
   its latest line (staff-log.js), the comment box under it */
.log .headline { align-items: flex-end; }
.log-tabs { border-bottom: 0; margin: 0 0 0 auto; }
.log-list { list-style: none; padding: 0 8px 0 0; margin: 0 0 12px; max-height: 70vh; overflow-y: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.log-line { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.log-line .when, .comment .when { color: var(--muted); font-size: 13px; margin-right: 6px; }
.log-line .who { font-weight: 600; margin-right: 4px; }
.log-line.k-activity, .log-line.k-file { color: var(--muted); }
.comment { margin: 8px 0; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; }
.comment.email { border-left-color: #9aa3ad; background: #fff; }
.comment.open { border-left-color: #c77700; }
.comment.done { opacity: .85; }
.comment.named { box-shadow: 0 0 0 2px var(--accent); }
.comment .c-text { margin: 6px 0 0; overflow-wrap: anywhere; }
.comment .c-files { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.comment .c-files li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.comment .c-files audio { height: 36px; max-width: 100%; }
.comment .c-files img { max-height: 120px; max-width: 200px; border-radius: 4px; border: 1px solid var(--line); }
.comment .c-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.comment .c-more summary { list-style: none; }
.comment .c-more summary::-webkit-details-marker { display: none; }
.comment .c-more[open] { flex-basis: 100%; }
.comment .c-more textarea, .comment .c-more select { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; margin: 4px 0 8px; box-sizing: border-box; }
.badge.for { color: #8a4b00; background: #fff1de; border-color: #f2d2a6; }
.comment.done .badge.for { color: var(--muted); background: var(--paper); border-color: var(--line); text-decoration: line-through; }
.comment-form textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; }
.comment-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.comment-tools select { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.comment-tools .button.recording { background: #b3261e; border-color: #b3261e; color: #fff; }
.rec-status { color: var(--muted); }
.comment-form .dropzone { padding: 10px 12px; margin-bottom: 8px; }
.open-comments { padding-left: 18px; }
.open-comments li { margin: 4px 0; }
.warn-box { background: #fff4d6; color: #5c4300; border: 1px solid #f0dca0; }
.warn-box ul { margin: 8px 0 0; }

/* several products on a loss (claims/products.py): a loss's jobs in one row of a list, a line each,
   and an add-on riding on its job */
table.list tr.has-more td { border-bottom: 1px dashed var(--line); }
table.list tr.has-more td[rowspan] { border-bottom: 1px solid var(--line); }
.badge.with { color: #2f4f3a; background: #eef7f1; border-color: #cfe5d6; font-weight: 500; }
.side-col .act.ride { background: #eef7f1; border-color: #cfe5d6; }
.job .with { margin: 2px 0 8px; }
.job.add-on { margin: 14px 0 4px 18px; padding-left: 14px; border-left: 3px solid var(--line); }
.job.add-on h3 { display: flex; gap: 10px; align-items: baseline; margin: 0; font-size: 16px; }
.job.add-on h3 .ask { font-size: 14px; font-weight: 500; margin-left: auto; }
/* switching off and deleting a staff member, a client or one of its people (staff/people.py, staff/clients.py) */
td.person-acts form.inline, td.person-acts a { display: inline-block; margin: 0 10px 2px 0; white-space: nowrap; }
.person-leave, .client-leave { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 8px; }
.person-leave form.inline { margin-right: 8px; }
.linklike.danger { color: #b3261e; }
h3 .count { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 4px; }
/* Time worked (staff/hours.py): the timer in the menu while it runs, the box on a job's or a ticket's
   page, a timer that stopped by itself, the Hours report */
.timer-on { display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .14); border-radius: 14px;
            padding: 2px 10px; white-space: nowrap; }
.timer-on a { text-decoration: none; }
.timer-on .dot, .side-col .act.time-box.running .label::before { display: inline-block; width: 8px; height: 8px; border-radius: 50%;
            background: #3ccf6e; margin-right: 6px; vertical-align: middle; }
.side-col .act.time-box.running .label::before { content: ""; }
.side-col .act.time-box.running { background: #e8f5ec; border-color: #c5e4cd; }
.side-col .act input[type=time] { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px;
            background: #fff; box-sizing: border-box; }
.side-col .act .row { gap: 8px; }
.side-col .act .row .field { flex: 1 1 100px; }
.side-col .act details.by-hand { margin-top: 8px; }
.side-col .act details.by-hand summary { cursor: pointer; color: var(--accent); margin-bottom: 6px; }
.field input[type=time] { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.notice.check-box { background: #fff4d6; color: #5a4100; border: 1px solid #f0dca0; }
.notice.check-box ul { margin: 6px 0 0; padding-left: 18px; }
table.list.hours tr.running td { background: #f3faf5; }
@media (max-width: 640px) { .timer-on { white-space: normal; } }
/* the staff lists: tick rows, change several at once or one right in the list (Yanky, 2026-10-27) */
form.bulk { display: flex; gap: 8px 12px; flex-wrap: wrap; align-items: flex-end; margin: 8px 0 0; padding: 8px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
form.bulk label { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); gap: 2px; }
form.bulk select, form.bulk input[type=text] { font: inherit; font-size: 15px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
form.bulk [data-bulk-count] { align-self: center; }
table.list th.tick, table.list td.tick { width: 1%; padding-right: 0; }
table.list td.tick input, table.list th.tick input { width: 18px; height: 18px; margin: 2px 0 0; }
form.quick { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; margin: 0; }
form.quick select, form.quick input[type=text] { font: inherit; font-size: 14px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); max-width: 11em; }
.quick-said.ok { color: #1d5b2c; }
.quick-said.bad { color: #b3261e; }
.badge.stop { color: #fff; background: #b3261e; border-color: #b3261e; }
