/* Light-mode product cards (agent B): the app's own light theme (first-working-demo/platform/web/src/styles/tokens.css,
   :root[data-theme="light"]) at the app's density. Authored at natural size; site.js scales the whole card as one unit. */
.lu { --l-g: #ECECEE; --l-pane: #FFFFFF; --l-raised: #F7F7F8; --l-raised-2: #EFEFF1; --l-line: #E2E2E6; --l-line-2: #ECECF0;
  --l-ink: #111113; --l-ink-2: #2A2A30; --l-mut: #55565F; --l-faint: #6C6D76; --l-acc: #5B55E8; --l-acc-text: #4B45D6;
  --l-acc-soft: rgba(91, 85, 232, 0.09); --l-acc-line: rgba(91, 85, 232, 0.35); --l-ok: #1F9D63; --l-ok-t: #EDF6F0;
  --l-warn: #E0A01C; --l-warn-t: #FAF3E3; --l-warn-ink: #8A6208; --l-red: #B4473B; --l-red-t: #FDE7E4;
  position: relative; display: block; width: 100%; font-family: var(--font); font-size: 13px; line-height: 1.45; letter-spacing: -0.003em; font-weight: 400; color: var(--l-ink); text-align: left;
  background: var(--l-g); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(8, 8, 19, 0.07), 0 24px 64px -16px rgba(8, 8, 19, 0.28); }
.lu p, .lu ul, .lu ol { margin: 0; }
.lu b { font-weight: 500; }

/* the window's top bar */
.lu-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 12px; border-bottom: 1px solid var(--l-line); background: var(--l-g); font-size: 12.5px; color: var(--l-mut); white-space: nowrap; }
.lu-lock { width: auto; height: 13px; flex: none; }
.lu-bar i { font-style: normal; opacity: 0.45; }
.lu-bar .cur { color: var(--l-ink); }
.lu-bar-r { margin-left: auto; display: inline-flex; }
.lu-body { display: grid; gap: 8px; padding: 8px; }

/* cards */
.lu-card { background: var(--l-pane); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--l-line); padding: 14px 16px; }
.lu-h { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--l-ink); white-space: nowrap; }
.lu-h > span:not(.lu-pi):not(.wt) { color: var(--l-mut); }
.lu-h .wt { margin-right: 2px; }
.lu-head { margin-top: 8px; font-size: 17px; line-height: 1.3; font-weight: 500; letter-spacing: -0.012em; text-wrap: balance; }
.lu-figs { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 10px; }
.lu-figs b { display: block; font-size: 21px; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lu-figs span { font-size: 11.5px; color: var(--l-mut); }
.lu-figs .warn b { color: #B27A0B; }
.lu-pi { display: inline-flex; align-items: center; gap: 6px; height: 22px; margin-left: auto; padding: 0 8px; border-radius: 6px; background: var(--l-warn-t); color: var(--l-ink-2); font-size: 12px; white-space: nowrap; }
.lu-pi i { width: 6px; height: 6px; border-radius: 2px; background: var(--l-warn); }
.lu-pi.lu-ok { background: var(--l-ok-t); }
.lu-pi.lu-ok i { background: var(--l-ok); }
.lu-pi.lu-info { background: #F0EFFD; }
.lu-pi.lu-info i { background: var(--l-acc); }

/* outputs and drafts waiting for a named approver */
.lu-out, .lu-mail { background: #FCFCFF; box-shadow: inset 0 0 0 1px var(--l-acc-line); }
.lu-lab { font-size: 12px; color: var(--l-acc-text); }
.lu-t { margin-top: 6px; font-size: 14px; font-weight: 500; letter-spacing: -0.006em; }
.lu-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lu-fc { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px 0 4px; border-radius: 7px; background: var(--l-raised-2); font-size: 12px; color: var(--l-ink-2); white-space: nowrap; }
.lu-fc b { display: inline-grid; place-items: center; height: 19px; padding: 0 5px; border-radius: 4px; font-size: 9px; font-weight: 600; letter-spacing: 0.04em; background: #E2F2E8; color: #1B7448; }
.lu-fc b.lu-x-pdf { background: var(--l-red-t); color: var(--l-red); }
.lu-fc b.lu-x-xml { background: #E7EAFB; color: #3A4EBE; }
.lu-fc b.lu-x-mail { background: #EEEDFD; color: var(--l-acc-text); }
.lu-fc b.lu-x-text { background: var(--l-raised-2); color: var(--l-mut); box-shadow: inset 0 0 0 1px var(--l-line); }
.lu-act { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--l-line-2); }
.lu-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 7px; background: var(--l-acc); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.lu-mut { margin-left: auto; text-align: right; font-size: 12px; color: var(--l-mut); }
.lu-done { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #1B7448; white-space: nowrap; }
.lu-chk { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--l-ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* findings, tables, lists */
.lu-k { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--l-mut); }
.lu-k em { font-style: normal; margin-left: 4px; color: #B27A0B; }
.lu-rows ul { margin-top: 6px; }
.lu-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid var(--l-line-2); font-size: 12.5px; line-height: 1.4; }
.lu-rows li:first-child { border-top: 0; }
.lu-rows li b { white-space: nowrap; }
.lu-rows .lu-d { min-width: 0; color: var(--l-mut); }
.lu-rows li .lu-mut { margin-left: 0; font-size: 12px; white-space: nowrap; }
.lu-rows li .lu-tg { align-self: center; }
.lu-more { margin-top: 6px; font-size: 12px; color: var(--l-acc-text); }
.lu-tg { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; }
.lu-tg.red { background: var(--l-red-t); color: var(--l-red); }
.lu-tg.amb { background: var(--l-warn-t); color: var(--l-warn-ink); }
.lu-tg.grn { background: var(--l-ok-t); color: #1B7448; }
.lu-tb { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 12.5px; }
.lu-tb th { padding: 5px 8px; border-bottom: 1px solid var(--l-line); font-size: 11.5px; font-weight: 400; color: var(--l-mut); text-align: left; }
.lu-tb td { padding: 6px 8px; border-bottom: 1px solid var(--l-line-2); color: var(--l-ink-2); font-variant-numeric: tabular-nums; }
.lu-tb th:nth-child(n+2), .lu-tb td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.lu-tb tr.hi td { background: #FDF8EC; color: var(--l-ink); }
.lu-tb td.w { color: #A86D00; font-weight: 500; }
.lu-tb tr:last-child td { border-bottom: 0; }
.lu-items ul, .lu-qs ul { margin-top: 6px; }
.lu-items li { display: flex; align-items: center; gap: 9px; height: 24px; font-size: 13px; color: var(--l-ink-2); white-space: nowrap; }
.lu-items li i { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.lu-items li b { margin-left: auto; color: var(--l-ink); font-variant-numeric: tabular-nums; }
.lu-qs li { display: flex; align-items: center; gap: 9px; min-width: 0; height: 23px; font-size: 12.5px; color: var(--l-ink-2); white-space: nowrap; }
.lu-qs li i { flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--l-warn); }
.lu-qs li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* a drawing sheet (white paper in both themes) and a strip of figures */
.lu-sheet { padding: 0; overflow: hidden; }
.lu-sb { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--l-line); font-size: 12px; color: var(--l-mut); white-space: nowrap; }
.lu-sb b { color: var(--l-ink); font-weight: 500; }
.lu-canvas { padding: 8px 10px; background: #fff; }
.lu-canvas svg { display: block; width: 100%; height: auto; }
.lu-figrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 10px 16px; }
.lu-figrow .lu-figs { margin-top: 0; }
.lu-note { font-size: 12px; color: var(--l-mut); text-align: right; }

/* a person's message and a cited answer */
.lu-msg { display: flex; gap: 10px; padding: 4px 4px 2px; }
.lu-av { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: #E4E4E9; color: var(--l-ink-2); font-size: 9.5px; font-weight: 600; letter-spacing: 0.02em; }
.lu-msg .who { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.lu-msg .who span { font-size: 12px; color: var(--l-mut); }
.lu-msg .who + p { margin-top: 2px; color: var(--l-ink-2); }
.lu-at { margin-top: 8px; font-size: 13.5px; color: var(--l-ink); }
.lu-src { display: flex; gap: 6px; margin-top: 10px; }
.lu-src span { padding: 2px 8px; border-radius: 6px; background: var(--l-acc-soft); color: var(--l-acc-text); font-size: 12px; }

/* a drafted e-mail */
.lu-to { margin-top: 4px; font-size: 12px; color: var(--l-mut); }
.lu-to span { margin-right: 6px; color: var(--l-faint); }
.lu-mail ol { margin-top: 8px; padding-left: 16px; list-style: decimal; font-size: 12.5px; line-height: 1.45; color: var(--l-ink-2); }
.lu-mail li + li { margin-top: 4px; }
