/* /Features/Compliance/ComplianceStrip.razor.rz.scp.css */
/* dts - 10-17-26 - compliance boxes: dense, bold, colored by the model (like frmMessageQueue2).
   Grouping is the point: boxes inside a group touch (1px), groups are separated by a clear gap. */

/* dts - 11-7-26 16:20 - Claude: calmer + smaller (Damian 16:16). Was: dense flooded boxes in a grey frame with hairline gaps.
   Now: light tiles with the model's colour as a solid left edge and a soft tint; value bold, words small under it.
   The model's colour is the meaning (red/yellow/green) - it is still the only thing deciding it. */
.cs-group[b-e1hxjr39v2] {
    display: flex; flex-direction: column; gap: 3px;
}
.cs-group > .cs-tile[b-e1hxjr39v2] { flex: 1 1 0; min-width: 0; }        /* promise boxes stretch to the height of the queue controls beside them */

.cs-row4[b-e1hxjr39v2] { flex-direction: row; }                          /* follow-through and production rows: 4 across */

.cs-tile[b-e1hxjr39v2] {
    --cs-c: #c9ced4;
    background: #fff;
    background: color-mix(in srgb, var(--cs-c) 24%, #fff);     /* older browsers keep the white above */
    border: 1px solid color-mix(in srgb, var(--cs-c) 55%, #fff);
    border-left: 4px solid var(--cs-c);
    border-radius: 4px;
    color: #1f2a36; text-align: center;
    padding: 2px 4px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 2.3em; overflow: hidden; cursor: default; line-height: 1.1;
}
.cs-val[b-e1hxjr39v2] { font-size: .8rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cs-lbl[b-e1hxjr39v2] { font-size: .6rem; font-weight: 500; color: #4a5866; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cs-wordsonly .cs-lbl[b-e1hxjr39v2] { font-size: .66rem; font-weight: 600; color: #1f2a36; }

.cs-info[b-e1hxjr39v2] { font-size: .72rem; color: #315678; }
.cs-stale[b-e1hxjr39v2] { background: #f3d9a4; color: #6b4b00; padding: 0 4px; border-radius: 2px; }   /* compliance numbers are old: no WinForms client has refreshed them lately */

/* dts - 10-21-26 09:46 - Claude: tap-to-read sheet for phones (no hover there). Fixed, so nothing clips it. */
.cs-tile.has-tip[b-e1hxjr39v2] { cursor: pointer; }
.cs-sheet-backdrop[b-e1hxjr39v2] {
    position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom); /* 10-26-26 Claude: iPhone - stay above Safari's toolbar */ z-index: 2000;
    background: rgba(0,0,0,.35);
    display: flex; align-items: flex-end; justify-content: center;
}
.cs-sheet[b-e1hxjr39v2] {
    background: #fff; color: #1a1a1a;
    width: min(560px, 100%); max-height: 70vh; overflow-y: auto;
    border-top: 4px solid #315678; border-radius: 8px 8px 0 0;
    padding: 10px 14px 12px; box-shadow: 0 -4px 16px rgba(0,0,0,.25);
}
.cs-sheet-title[b-e1hxjr39v2] { font-weight: 700; color: #315678; margin-bottom: 6px; }
.cs-sheet-text[b-e1hxjr39v2]  { white-space: pre-wrap; font-size: .85rem; line-height: 1.35; }   /* keeps the model's line breaks */
.cs-sheet-hint[b-e1hxjr39v2]  { margin-top: 8px; font-size: .72rem; color: #777; text-align: center; }

/* 11-02-26 19:45 Claude: placeholder boxes while compliance loads - same size as the real ones, quiet */
.cs-waiting .cs-tile .cs-lbl[b-e1hxjr39v2] { color: #8a929c; font-weight: 400; }
/* 11-12-26 Claude: Postponed Reminders chip on the info line */
.cs-chip[b-e1hxjr39v2] { display: inline-block; flex: 0 0 auto; margin-left: 6px; padding: 0 7px; border-radius: 8px; border: 1px solid rgba(0,0,0,.18); color: #1f2a36; font-weight: 600; white-space: nowrap; }

/* 11-12-26 Claude: NPS + refreshed + Postponed chip always on one line - the text shrinks with "..." first (Damian 14:51) */
.cs-info-line[b-e1hxjr39v2] { display: flex; align-items: center; flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
.cs-info-text[b-e1hxjr39v2] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* /Features/Finder/PlannerCounts.razor.rz.scp.css */
/* dts - 11-13-26 07:55 - Claude: a planner tile - strip / totals / kind counts, each a fixed-height row, top-aligned (Damian 07:43:
   spacing must not move around; 07:45: the key lives once in PlannerLegend). */
.pc[b-ieejwls6xe] { display: flex; flex-direction: column; width: 100%; font-weight: 400; text-align: left; }
.pc-strip[b-ieejwls6xe] { display: flex; flex-wrap: nowrap; gap: 2px; height: 14px; margin-bottom: 5px; overflow: hidden; }
/* 11-13-26 08:00 Claude: day tiles - bigger boxes, room for two rows always kept (so "available" sits at the same height on
   every tile, however many slots the day has), then the available line */
.pc-day[b-ieejwls6xe] { height: 100%; justify-content: space-between; }
.pc-day .pc-strip[b-ieejwls6xe] { flex-wrap: wrap; gap: 3px; height: auto; min-height: 39px; align-content: flex-start; margin: 2px 0 4px; overflow: visible; }
.pc-day .pc-box[b-ieejwls6xe] { width: 18px; height: 18px; border-width: 2px; border-radius: 3px; }
.pc-avail[b-ieejwls6xe] { font-size: .8rem; font-weight: 600; white-space: nowrap; }
.pc-avail b[b-ieejwls6xe] { font-size: .95rem; font-variant-numeric: tabular-nums; }
/* the week tile: booked and available on their own lines, then the kinds 2 x 2 (fits a narrow column) */
.pc-totals[b-ieejwls6xe] { display: flex; flex-direction: column; white-space: nowrap; font-size: .76rem; font-weight: 600; line-height: 1.35; }
.pc-totals b[b-ieejwls6xe] { font-size: .9rem; font-variant-numeric: tabular-nums; }
.pc-kinds[b-ieejwls6xe] { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 12px; row-gap: 3px; margin-top: 4px; }
.pc-kind[b-ieejwls6xe] { display: inline-flex; align-items: center; gap: 3px; font-size: .8rem; font-variant-numeric: tabular-nums; }
.pc-zero[b-ieejwls6xe] { opacity: .35; }
.pc-over[b-ieejwls6xe], .pc-over b[b-ieejwls6xe] { color: #b00020; }
.pc-closed[b-ieejwls6xe] { font-size: .78rem; color: #5a6472; font-style: italic; padding-left: 14px; }

/* /Features/Finder/PlannerLegend.razor.rz.scp.css */
/* dts - 11-13-26 08:00 - Claude: the planner key - above the grid, framed, bigger squares (Damian 07:53: "bigger or otherwise
   more obvious") */
.pl[b-rdncnj974w] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0 0 8px; padding: 6px 10px; background: #fff;
      border: 1px solid #d3dbe4; border-left: 4px solid #315678; border-radius: 4px; font-size: .85rem; color: #1f2a36; }
.pl-head[b-rdncnj974w] { font-weight: 700; color: #315678; }
.pl span[b-rdncnj974w] { display: inline-flex; align-items: center; gap: 6px; }
.pl .pc-key[b-rdncnj974w] { width: 16px; height: 16px; border-width: 2px; }
/* /Features/Finder/PlannerPopup.razor.rz.scp.css */
/* dts - 11-12-26 16:15 - Claude: the Schedule Planner popup - same frame as Shared/HistoryPopup (movable, full screen on a phone).
                  Colours inside the grid come from the model (day fill / today marker); everything else is the 585one look. */
.ppop-backdrop[b-jq1thauvgb] { position: fixed; inset: 0; background: rgba(0, 0, 0, .12); display: flex; align-items: center; justify-content: center; }
/* 11-13-26 08:00 Claude: wider + taller so the 4 weeks fit without scroll bars (Damian 07:53) */
.ppop[b-jq1thauvgb] { width: min(1320px, 97vw); max-height: min(95vh, 1000px); display: flex; flex-direction: column; background: #fbf7ec; border: 1px solid #d9c9a0;
        border-top: 4px solid #FCD08D; border-radius: 8px; box-shadow: 0 8px 28px rgba(0, 0, 0, .28); overflow: hidden;
        transform: translate(var(--ppop-dx, 0px), var(--ppop-dy, 0px)); }
.ppop-titlebar[b-jq1thauvgb] { display: flex; align-items: baseline; gap: 10px; padding: 6px 8px 6px 14px; background: #315678; color: #fff; cursor: move;
                 touch-action: none; user-select: none; -webkit-user-select: none; }
.ppop-title[b-jq1thauvgb] { font-weight: 700; font-size: 1rem; flex: none; }
.ppop-subject[b-jq1thauvgb] { font-size: .88rem; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1 1 auto; }
.ppop-x[b-jq1thauvgb] { margin-left: auto; flex: none; border: 0; border-radius: 4px; background: #c0392b; color: #fff; width: 32px; height: 28px; font-size: 1rem; cursor: pointer; align-self: center; }

.ppop-bar[b-jq1thauvgb] { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-bottom: 1px solid #e3d7b8; flex-wrap: wrap; }
.ppop-spacer[b-jq1thauvgb] { flex: 1 1 auto; }
.ppop-refresh[b-jq1thauvgb] { font-size: .74rem; color: #5a6472; white-space: nowrap; }

.ppop-body[b-jq1thauvgb] { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 8px 10px 10px; }
.ppop-note[b-jq1thauvgb] { padding: 14px; color: #5a6472; }
.ppop-scroll[b-jq1thauvgb] { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* one row per week: week label | Mon..Sun | week total */
/* 11-13-26 08:00 Claude: no minimum width - the columns share the popup's width, so no sideways scroll (Damian 07:53) */
.ppop-grid[b-jq1thauvgb] { display: grid; grid-template-columns: minmax(96px, 1.1fr) repeat(7, minmax(0, 1fr)) minmax(100px, 1fr); gap: 4px; }
.ppop-week[b-jq1thauvgb] { display: flex; flex-direction: column; justify-content: flex-start; gap: 1px; padding: 4px 6px; background: #eef2f6; border: 1px solid #d3dbe4; border-radius: 4px; }
.ppop-wk-name[b-jq1thauvgb] { font-weight: 700; font-size: .8rem; color: #1f2a36; }
.ppop-wk-full[b-jq1thauvgb] { font-size: .76rem; color: #315678; }
.ppop-wk-unsch[b-jq1thauvgb] { font-size: .7rem; color: #5a6472; }
.ppop-day[b-jq1thauvgb], .ppop-total[b-jq1thauvgb] { display: flex; flex-direction: column; border: 1px solid #d3dbe4; border-radius: 4px; overflow: hidden; background: #fff; }
.ppop-day-name[b-jq1thauvgb] { font-size: .7rem; text-align: center; padding: 1px 2px; background: #f4f1e8; color: #1f2a36; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ppop-day-rep[b-jq1thauvgb] { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; text-align: center; font-size: .82rem; font-weight: 600;
                padding: 8px 3px; color: #1f2a36; font-variant-numeric: tabular-nums; }
.ppop-total-rep[b-jq1thauvgb] { background: #f4f1e8; }
/* 11-13-26 08:25 Claude: every day has a heavy frame in the model's today colour (Mon_TodayColor...) - transparent except today,
   so only today shows one (Damian 08:08 "too subtle", 08:18 "only go heavy on TODAY") */
.ppop-day.ppop-dayframe[b-jq1thauvgb], .ppop-ph-day.ppop-dayframe[b-jq1thauvgb] { border-width: 4px; border-style: solid; box-shadow: inset 0 0 0 1px #d3dbe4; }   /* hairline keeps each tile's edge */
/* 11-13-26 07:50 Claude: tiles hold PlannerCounts - top-aligned so every tile's rows sit at the same heights (Damian 07:43) */
.ppop-day-rep:has(.pc)[b-jq1thauvgb] { align-items: stretch; justify-content: stretch; padding: 5px 6px; }

.ppop-format[b-jq1thauvgb] { margin-top: 8px; font-size: .72rem; color: #5a6472; }
.ppop-exc[b-jq1thauvgb] { margin-top: 10px; border-top: 1px solid #e3d7b8; padding-top: 6px; }
.ppop-exc-head[b-jq1thauvgb] { font-weight: 700; font-size: .8rem; color: #315678; margin-bottom: 4px; }
.ppop-exc-none[b-jq1thauvgb] { font-size: .76rem; color: #5a6472; }
.ppop-exc-row[b-jq1thauvgb] { display: flex; gap: 10px; font-size: .78rem; padding: 2px 0; border-bottom: 1px dotted #e3d7b8; }
.ppop-exc-date[b-jq1thauvgb] { flex: none; min-width: 140px; color: #1f2a36; font-weight: 600; }
.ppop-exc-who[b-jq1thauvgb] { flex: none; min-width: 90px; color: #315678; }

/* dts - 11-13-26 07:45 - Claude: the phone week list (shown only under 760 px, see the @media block) - one row per day:
   day name on the left, the spelled-out counts (PlannerCounts) on the right, the row coloured as the grid tile */
.ppop-phone[b-jq1thauvgb] { display: none; flex-direction: column; gap: 4px; }
.ppop-ph-head[b-jq1thauvgb] { padding: 4px 2px 6px; }
.ppop-ph-day[b-jq1thauvgb] { display: grid; grid-template-columns: 92px 1fr; align-items: start; gap: 8px; padding: 6px 8px 6px 0;
               border: 1px solid #d3dbe4; border-radius: 4px; background: #fff; }
.ppop-ph-name[b-jq1thauvgb] { align-self: stretch; display: flex; align-items: center; padding: 0 6px; font-size: .8rem; font-weight: 600;
                color: #1f2a36; border-radius: 3px 0 0 3px; }

@media (max-width: 760px) {
    .ppop-backdrop[b-jq1thauvgb] { align-items: stretch; }
    .ppop[b-jq1thauvgb] { width: 100vw; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; transform: none; }
    .ppop-titlebar[b-jq1thauvgb] { cursor: default; }
    /* 11-13-26 07:45 Claude: phone - one week as a list instead of the 4-week grid (Damian 07:35) */
    .ppop-scroll[b-jq1thauvgb] { display: none; }
    .ppop-phone[b-jq1thauvgb] { display: flex; }
}

/* /Features/Finder/TrafficCop.razor.rz.scp.css */
/* dts - 11-12-26 - Claude: moved to wwwroot/css/finder.css (shared by every finder tab) - built w the help of AI */
/* /Features/Inspection/InspectionEditor.razor.rz.scp.css */
/* dts - 11-4-26 09:00 - Claude: inspection editor - navigator left, line editor right; phone = one pane at a time - built w the help of AI */
.ie[b-wy33yx7gam] { display: flex; flex-direction: column; gap: 6px; height: calc(100vh - 70px); height: calc(100dvh - 70px); min-height: 0; padding: 6px; box-sizing: border-box; }
.ie-bar[b-wy33yx7gam] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ie-crumbs[b-wy33yx7gam] { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; font-size: .95rem; }
.ie-crumb[b-wy33yx7gam] { border: 0; background: none; color: #315678; cursor: pointer; padding: 2px 4px; text-decoration: underline; }
.ie-crumb-txt[b-wy33yx7gam] { color: #4a5260; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30ch; }
.ie-sep[b-wy33yx7gam] { color: #8a93a0; }
.ie-here[b-wy33yx7gam] { font-weight: 700; color: #13283d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ie-tech[b-wy33yx7gam] { font-size: .85rem; color: #4a5260; }
.ie-btn[b-wy33yx7gam] { border: 1px solid #c3ccd8; background: #fff; color: #315678; border-radius: 6px; padding: 4px 10px; font-size: .9rem; cursor: pointer; white-space: nowrap; }
.ie-btn:disabled[b-wy33yx7gam] { opacity: .5; cursor: default; }
.ie-primary[b-wy33yx7gam] { background: #315678; color: #fff; border-color: #315678; }
.ie-complete[b-wy33yx7gam] { border: 1px solid #315678; background: #fff; color: #315678; border-radius: 6px; padding: 4px 12px; font-weight: 600; cursor: pointer; }
.ie-complete.on[b-wy33yx7gam] { background: var(--m-green); border-color: #6b8e23; color: #13283d; }   /* dts - 11-9-26: model colour */
.ie-complete:disabled[b-wy33yx7gam] { opacity: .55; cursor: default; }
.ie-error[b-wy33yx7gam] { background: #fde8e8; border: 1px solid #e3a1a1; color: #8a1c1c; border-radius: 6px; padding: 6px 10px; }
.ie-status[b-wy33yx7gam] { background: #eef6e6; border: 1px solid #b9d39b; border-radius: 6px; padding: 6px 10px; }
.ie-locked[b-wy33yx7gam] { display: flex; align-items: center; gap: 6px; background: #fff4d6; border: 1px solid #e3c776; border-radius: 6px; padding: 6px 10px; }

.ie-pick[b-wy33yx7gam] { display: flex; flex-direction: column; gap: 6px; }
.ie-pickrow[b-wy33yx7gam] { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; text-align: left; border: 1px solid #d3d9e1; border-radius: 8px; background: #fff; padding: 10px 12px; cursor: pointer; font: inherit; }
.ie-pickname[b-wy33yx7gam] { font-weight: 700; color: #13283d; }
.ie-picktech[b-wy33yx7gam], .ie-counts[b-wy33yx7gam] { color: #4a5260; font-size: .85rem; }
.ie-done[b-wy33yx7gam] { color: #3c6b12; font-weight: 600; font-size: .85rem; }

.ie-main[b-wy33yx7gam] { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(230px, 320px) 1fr; gap: 10px; }   /* 11-5-26 18:15: the line list narrowed (Damian) - the editor gets the room */
.ie-nav[b-wy33yx7gam], .ie-ed[b-wy33yx7gam] { min-height: 0; display: flex; flex-direction: column; gap: 6px; border: 1px solid #c3ccd8; border-radius: 6px; background: #fff; padding: 6px; }
.ie-ed[b-wy33yx7gam] { overflow: auto; gap: 10px; padding: 8px 10px; }
.ie-chips[b-wy33yx7gam] { display: flex; flex-wrap: wrap; gap: 4px; }
.ie-chip[b-wy33yx7gam] { border: 1px solid #c3ccd8; background: #f4f6f9; border-radius: 14px; padding: 2px 10px; font-size: .82rem; cursor: pointer; }
.ie-chip b[b-wy33yx7gam] { margin-left: 3px; }
.ie-chip.on[b-wy33yx7gam] { outline: 2px solid #315678; background: #fff; }
/* dts - 11-9-26 09:50 - Claude: status colours from the model (InspectionInstance.Status*Color -> --m-* on .ie) */
.ie-c-green[b-wy33yx7gam] { background: var(--m-green); }
.ie-c-yellow[b-wy33yx7gam] { background: var(--m-yellow); }
.ie-c-red[b-wy33yx7gam] { background: var(--m-red); }
.ie-search[b-wy33yx7gam] { border: 1px solid #c3ccd8; border-radius: 6px; padding: 5px 8px; font-size: .9rem; }
.ie-lines[b-wy33yx7gam] { flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.ie-cat[b-wy33yx7gam] { position: sticky; top: 0; z-index: 1; background: #e6ecf3; color: #3a4a5c; font-size: .75rem; font-weight: 700; padding: 3px 6px; border-radius: 4px; text-transform: uppercase; letter-spacing: .02em; }
.ie-line[b-wy33yx7gam] { display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid #e1e5eb; border-radius: 5px; background: #fff; padding: 6px 8px; cursor: pointer; font: inherit; min-height: 34px; }
.ie-line.sel[b-wy33yx7gam] { outline: 2px solid #315678; outline-offset: -1px; font-weight: 600; }
.ie-line:disabled[b-wy33yx7gam] { cursor: default; }
.ie-lno[b-wy33yx7gam] { flex: 0 0 auto; min-width: 1.7em; color: #4a5260; font-variant-numeric: tabular-nums; }
.ie-lname[b-wy33yx7gam] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ie-lstat[b-wy33yx7gam] { flex: 0 1 auto; font-size: .78rem; color: #3a414c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
.ie-lpic[b-wy33yx7gam] { display: inline-flex; align-items: center; gap: 2px; font-size: .75rem; color: #4a5260; }
.ie-empty[b-wy33yx7gam] { color: #6b7380; padding: 12px; }

.ie-ed-head[b-wy33yx7gam] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ie-ed-title[b-wy33yx7gam] { flex: 1 1 auto; font-weight: 700; font-size: 1.05rem; color: #13283d; min-width: 0; }
.ie-dirty[b-wy33yx7gam] { font-size: .78rem; color: #6b7380; }
.ie-backlist[b-wy33yx7gam] { display: none; }
.ie-row[b-wy33yx7gam] { display: flex; align-items: center; gap: 8px; }
.ie-col[b-wy33yx7gam] { flex-direction: column; align-items: stretch; }
.ie-lbl[b-wy33yx7gam] { font-size: .78rem; font-weight: 700; color: #315678; text-transform: uppercase; letter-spacing: .02em; }
.ie-when[b-wy33yx7gam] { font-weight: 400; text-transform: none; color: #6b7380; margin-left: 6px; }
.ie-select[b-wy33yx7gam] { flex: 1 1 auto; border: 1px solid #c3ccd8; border-radius: 6px; padding: 6px; font-size: 1rem; }
.ie-instr[b-wy33yx7gam] { background: #f4f6f9; border-radius: 6px; padding: 4px 8px; }
.ie-instr summary[b-wy33yx7gam] { cursor: pointer; font-size: .78rem; font-weight: 700; color: #315678; text-transform: uppercase; }
.ie-instr-txt[b-wy33yx7gam] { white-space: pre-wrap; font-size: .9rem; padding: 4px 0; }
.ie-note[b-wy33yx7gam] { border: 1px solid #c3ccd8; border-radius: 6px; padding: 6px 8px; font: inherit; font-size: 1rem; resize: vertical; }
.ie-flags[b-wy33yx7gam] { display: flex; flex-wrap: wrap; gap: 6px; }
.ie-flag[b-wy33yx7gam] { border: 1px solid #c3ccd8; background: #fff; border-radius: 16px; padding: 6px 12px; font-size: .9rem; cursor: pointer; }
.ie-flag.on[b-wy33yx7gam] { background: #315678; color: #fff; border-color: #315678; }
.ie-flag:disabled[b-wy33yx7gam] { opacity: .55; cursor: default; }
.ie-fields[b-wy33yx7gam] { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.ie-field[b-wy33yx7gam] { display: flex; flex-direction: column; gap: 2px; font-size: .8rem; color: #3a414c; }
.ie-field input[b-wy33yx7gam] { border: 1px solid #c3ccd8; border-radius: 6px; padding: 6px 8px; font-size: 1rem; }
.ie-pics[b-wy33yx7gam] { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
/* 11-7-26 Claude: picture name / note boxes under the slots */
.ie-picinfo[b-wy33yx7gam] { display: flex; flex-direction: column; gap: 8px; }
.ie-picrow[b-wy33yx7gam] { display: flex; flex-wrap: wrap; gap: 6px 10px; border: 1px solid #dde3ea; border-radius: 6px; padding: 6px 8px; }
.ie-picrow > .ie-lbl[b-wy33yx7gam] { flex-basis: 100%; }
/* 11-7-26 Claude: "Picture n of m" + AI ideas button on one row */
.ie-pichead[b-wy33yx7gam] { flex-basis: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* 11-7-26 17:00 Claude: AI markup + Delete… under the name / note, right-aligned (actions after the editing controls) */
.ie-picactions[b-wy33yx7gam] { flex-basis: 100%; display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.ie-picactions .ie-aibtn[b-wy33yx7gam] { padding: 4px 12px; font-size: .9rem; flex: 0 0 auto; width: auto; min-width: 0; margin-bottom: 0; white-space: nowrap; }
.ie-picactions .ie-picdel[b-wy33yx7gam] { border-color: #b3261e; color: #b3261e; background: #fff; }
.ie-delwarn[b-wy33yx7gam] { font-size: .88rem; color: #444; margin: 4px 0 8px; line-height: 1.3; }
.ie-picthumb[b-wy33yx7gam] { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; flex: none; }
.ie-picfields[b-wy33yx7gam] { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 4px; }
.ie-picrow.changed[b-wy33yx7gam] { border-color: #315678; background: #f4f7fb; }
.ie-picrow textarea[b-wy33yx7gam] { border: 1px solid #c3ccd8; border-radius: 6px; padding: 6px 8px; font-size: 1rem; resize: vertical; font-family: inherit; }
.ie-slot[b-wy33yx7gam] { width: 26px; height: 26px; border: 1px dashed #b9c4d2; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; color: #8a93a0; }
.ie-slot.has[b-wy33yx7gam] { border: 1px solid #315678; background: #e6ecf3; color: #13283d; font-weight: 700; }
.ie-move[b-wy33yx7gam] { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }

@media (max-width: 760px) {
    .ie[b-wy33yx7gam] { height: auto; }
    .ie-main[b-wy33yx7gam] { display: block; }
    .ie-nav .ie-lines[b-wy33yx7gam] { max-height: none; }
    .ie-ed[b-wy33yx7gam] { display: none; }
    .ie-editing .ie-nav[b-wy33yx7gam] { display: none; }
    .ie-editing .ie-ed[b-wy33yx7gam] { display: flex; }
    .ie-backlist[b-wy33yx7gam] { display: inline-block; }
    .ie-line[b-wy33yx7gam] { min-height: 42px; }
}

/* 11-4-26 Claude: AI review summary line */
.ie-ai[b-wy33yx7gam] { font-size: .85rem; color: #3a4a5c; background: #eef3f8; border: 1px solid #c3ccd8; border-radius: 6px; padding: 4px 10px; }




/* 11-5-26 07:30 Claude: note copies + line history */
/* 11-7-26 Claude: .ie-offer banner replaced by the .ie-confirm popup */
.ie-confirm[b-wy33yx7gam] { background: #fff; padding: 1rem 1.25rem; border-radius: 8px; max-width: 30rem; margin: 0 1rem; display: flex; flex-direction: column; gap: .6rem; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.ie-confirm-title[b-wy33yx7gam] { font-weight: 700; color: #315678; font-size: 1.05rem; }
.ie-confirm-btns[b-wy33yx7gam] { display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; }
.ie-overlay[b-wy33yx7gam] { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 50; display: flex; align-items: center; justify-content: center; }
.ie-overlay-box[b-wy33yx7gam] { background: #fff; padding: 1rem 1.25rem; border-radius: 8px; display: flex; gap: .75rem; align-items: center; }
.ie-notebtns[b-wy33yx7gam] { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; justify-content: flex-end; margin-top: .35rem; }
.ie-hist[b-wy33yx7gam] { margin: .25rem 0 .5rem; border: 1px solid #ddd; border-radius: 6px; padding: .25rem .5rem; }
.ie-hist > summary[b-wy33yx7gam] { cursor: pointer; font-weight: 600; padding: .2rem 0; }
.ie-hrow[b-wy33yx7gam] { padding: .35rem .5rem; border-radius: 4px; margin: .2rem 0; cursor: pointer; border: 1px solid transparent; }
.ie-hrow.sel[b-wy33yx7gam] { border-color: #444; }
.ie-hline[b-wy33yx7gam] { font-size: .9rem; }
.ie-hdetail[b-wy33yx7gam] { white-space: pre-wrap; font-size: .85rem; margin: .35rem 0; }
.ie-copies[b-wy33yx7gam] { background: #fff; width: min(900px, 96vw); max-height: 92vh; display: flex; flex-direction: column; border-radius: 8px; padding: .75rem; gap: .5rem; }
.ie-copies-head[b-wy33yx7gam] { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.ie-copies-search[b-wy33yx7gam] { display: flex; gap: .35rem; align-items: center; }
.ie-copies-search input[b-wy33yx7gam] { flex: 0 1 260px; font-size: .85rem; padding: .25rem .4rem; }
.ie-mini[b-wy33yx7gam] { font-size: .75rem; padding: .15rem .45rem; border: 1px solid #bbb; background: #f7f7f7; border-radius: 4px; }
.ie-copies-list[b-wy33yx7gam] { overflow-y: auto; flex: 1 1 auto; min-height: 200px; }
.ie-crow[b-wy33yx7gam] { padding: .4rem .55rem; border-radius: 4px; margin: .25rem 0; cursor: pointer; border: 2px solid transparent; }
.ie-crow.sel[b-wy33yx7gam] { border-color: #1f4e8c; }
.ie-ctext[b-wy33yx7gam] { white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.ie-crow.sel .ie-ctext[b-wy33yx7gam] { -webkit-line-clamp: unset; display: block; }
.ie-cmeta[b-wy33yx7gam] { font-size: .75rem; color: #444; margin-top: .2rem; }
.ie-copies-foot[b-wy33yx7gam] { display: flex; gap: .5rem; justify-content: flex-end; }
.ie-tax[b-wy33yx7gam] { font-weight: 700; background: rgba(255,255,255,.75); border-radius: 4px; padding: 0 .35rem; }
.ie-badge[b-wy33yx7gam] { background: rgba(255,255,255,.75); border-radius: 4px; padding: 0 .35rem; }
.ie-cmeta[b-wy33yx7gam] { display: flex; flex-wrap: wrap; gap: .25rem .6rem; align-items: center; }
.ie-buildbtn[b-wy33yx7gam] { float: right; }
.ie-progress[b-wy33yx7gam] { flex-direction: column; align-items: stretch; min-width: 320px; }
.ie-bar-out[b-wy33yx7gam] { height: 10px; background: #e3e7ee; border-radius: 5px; overflow: hidden; }
.ie-bar-in[b-wy33yx7gam] { height: 100%; background: #2b5a8a; transition: width .2s; }

/* 11-5-26 08:30 Claude: AI review */
.ie-aibtn[b-wy33yx7gam] { width: 100%; text-align: left; font-weight: 700; padding: .45rem .7rem; border-radius: 6px; border: 1px solid #315678; background: #eef3f8; color: #1f3a52; cursor: pointer; margin-bottom: .3rem; }
.ie-aibtn:disabled[b-wy33yx7gam] { opacity: .6; }
.ie-aichange[b-wy33yx7gam] { padding: .25rem .5rem; }
.ie-aifoot[b-wy33yx7gam] { flex-wrap: wrap; }
.ie-aispacer[b-wy33yx7gam] { flex: 1 1 auto; }

/* 11-5-26 Claude: picture slots + Read text on the line */
.ie-pslot[b-wy33yx7gam] { position: relative; width: 64px; height: 64px; border: 1px dashed #b9c4d2; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; font-size: .85rem; color: #8a93a0; background: #fff; overflow: hidden; padding: 0; }
.ie-pslot.has[b-wy33yx7gam] { border: 1px solid #315678; background: #e6ecf3; color: #13283d; font-weight: 700; cursor: pointer; }
.ie-pslot.has img[b-wy33yx7gam] { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 11-7-26 Claude: AI badge on a picture thumbnail */
.ie-pslotwrap[b-wy33yx7gam] { position: relative; display: inline-flex; }
.ie-aibadge[b-wy33yx7gam] { position: absolute; right: -6px; bottom: -6px; min-width: 30px; height: 24px; padding: 0 6px; border-radius: 12px; border: 2px solid #fff; background: #315678; color: #fff; font-size: .75rem; font-weight: 700; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.ie-aibadge:disabled[b-wy33yx7gam] { opacity: .5; cursor: default; }
.ie-pslot.add[b-wy33yx7gam] { border-color: #315678; color: #315678; cursor: pointer; }
.ie-pslot.add:hover[b-wy33yx7gam] { background: #eef3f8; }
.ie-pno[b-wy33yx7gam] { font-weight: 700; }
.ie-readbtn[b-wy33yx7gam] { position: relative; overflow: hidden; cursor: pointer; }
.ie-pslot[b-wy33yx7gam]  .ie-file, .ie-readbtn[b-wy33yx7gam]  .ie-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; }   /* ::deep - the input is inside InputFile (11-5-26 18:40) */
.ie-picmenu[b-wy33yx7gam] { width: min(360px, 92vw); }
.ie-picmenu .ie-btn[b-wy33yx7gam] { width: 100%; padding: .6rem; }
.ie-readbox[b-wy33yx7gam] { width: min(640px, 96vw); }
/* 11-5-26 14:40 Claude: the picture editor on its own full-screen layer, above the page */
.ie-picedit[b-wy33yx7gam] { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom); /* same as the picture screens (.pp-editor) - iPhone stays above Safari's toolbar */ z-index: 200; background: #fff; overflow: auto; }
/* 11-5-26 14:55 Claude: Read text placement choices */
.ie-readopts[b-wy33yx7gam] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ie-readopts .ie-lbl[b-wy33yx7gam] { min-width: 90px; }
.ie-seg[b-wy33yx7gam] { display: inline-flex; border: 1px solid #315678; border-radius: 6px; overflow: hidden; }
.ie-seg button[b-wy33yx7gam] { border: 0; border-left: 1px solid #315678; background: #fff; color: #315678; padding: .4rem .8rem; font-size: .9rem; cursor: pointer; }
.ie-seg button:first-child[b-wy33yx7gam] { border-left: 0; }
.ie-seg button.on[b-wy33yx7gam] { background: #315678; color: #fff; font-weight: 600; }
.ie-warn[b-wy33yx7gam] { color: #a3361f; font-size: .85rem; }
/* 11-7-26 Claude: read text room count under the Read box */
.ie-readroom[b-wy33yx7gam] { font-size: .85rem; color: #4a5a6a; margin: 2px 0 6px; text-align: right; }
.ie-readroom.over[b-wy33yx7gam] { color: #fff; background: #b3261e; padding: 4px 8px; border-radius: 4px; text-align: left; font-weight: 600; }
.ie-confirm[b-wy33yx7gam] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #fff4f0; border: 1px solid #e3b5a6; border-radius: 6px; padding: .5rem .75rem; }
.ie-danger[b-wy33yx7gam] { background: #b3261e; color: #fff; border-color: #b3261e; }
/* 11-5-26 15:15 Claude: movable read box */
.ie-overlay-light[b-wy33yx7gam] { background: rgba(0,0,0,.08); }
.ie-draghead[b-wy33yx7gam] { cursor: move; touch-action: none; user-select: none; -webkit-user-select: none; }
.ie-readerr[b-wy33yx7gam] { background: #fdecea; color: #8a1c12; border: 1px solid #f0b4ab; border-radius: 6px; padding: .4rem .6rem; font-size: .9rem; }
/* 11-5-26 18:10 Claude: note-copy rows one line each (like frmInspectionCommentCopy); the selected row opens */
.ie-crow[b-wy33yx7gam] { padding: .2rem .45rem; margin: 1px 0; border-radius: 3px; }
.ie-cline[b-wy33yx7gam] { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.ie-cline .ie-tax[b-wy33yx7gam] { flex: 0 0 auto; min-width: 3.2em; text-align: right; font-size: .8rem; }
.ie-ctext1[b-wy33yx7gam] { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ie-cveh[b-wy33yx7gam] { flex: 0 1 15em; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .8rem; color: #333; }
.ie-cdate[b-wy33yx7gam] { flex: 0 0 auto; font-size: .8rem; color: #333; }
.ie-crow.sel .ie-ctext1[b-wy33yx7gam] { font-weight: 600; }
.ie-crow.sel .ie-ctext[b-wy33yx7gam] { margin-top: .3rem; white-space: pre-wrap; display: block; }
@media (max-width: 760px) { .ie-cveh[b-wy33yx7gam] { display: none; } }
/* 11-5-26 18:20 Claude: moving bar when there are no steps to count (AI review, build "getting ready") */
.ie-bar-out[b-wy33yx7gam] { position: relative; overflow: hidden; }
.ie-bar-ind[b-wy33yx7gam] { position: absolute; top: 0; bottom: 0; width: 35%; border-radius: inherit; background: #2b5b8a; animation: ie-ind-b-wy33yx7gam 1.4s ease-in-out infinite; }
@keyframes ie-ind-b-wy33yx7gam { 0% { left: -35%; } 100% { left: 100%; } }
.ie-aiprog[b-wy33yx7gam] { display: flex; flex-direction: column; gap: 8px; padding: 6px 2px; }
/* 11-5-26 18:25 Claude: AI panel as a line editor */
.ie-aiedit[b-wy33yx7gam] { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-height: 0; overflow: auto; }
.ie-aistatus[b-wy33yx7gam] { background: #eef6ea; border: 1px solid #b9d7aa; border-radius: 6px; padding: .4rem .6rem; font-size: .9rem; }
/* 11-5-26 18:25 Claude: the AI review + build row is ONE slim line (Damian: "a real estate hog") */
.ie-ai[b-wy33yx7gam] { display: flex; align-items: center; gap: 6px; padding: 3px 4px; }
.ie-aibtn[b-wy33yx7gam] { width: auto; flex: 1 1 auto; min-width: 0; margin-bottom: 0; padding: .25rem .6rem; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ie-ai .ie-buildbtn[b-wy33yx7gam] { flex: 0 0 auto; white-space: nowrap; }
/* 11-5-26 18:30 Claude: more room - AI review in the top bar, big note, history always open (one line each) */
.ie-aitop[b-wy33yx7gam] { flex: 1 1 260px; max-width: 640px; }
.ie-note-big[b-wy33yx7gam] { min-height: 16em; }
.ie-hist[b-wy33yx7gam] { margin: 0; border: 1px solid #ddd; border-radius: 6px; padding: .3rem .45rem; }
.ie-hlist[b-wy33yx7gam] { max-height: 14em; overflow: auto; }
.ie-hrow[b-wy33yx7gam] { padding: .15rem .45rem; margin: 1px 0; }
.ie-hline[b-wy33yx7gam] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .88rem; }
.ie-hrow.sel .ie-hline[b-wy33yx7gam] { white-space: normal; font-weight: 600; }
.ie-hdetail[b-wy33yx7gam] { white-space: pre-wrap; font-size: .88rem; margin: .25rem 0; }
/* 11-5-26 18:35 Claude: compact status beside the line name; history folded with its caption */
.ie-ed-head[b-wy33yx7gam] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ie-select-sm[b-wy33yx7gam] { flex: 0 1 280px; min-width: 160px; padding: 3px 6px; font-size: .9rem; }
.ie-hist > summary[b-wy33yx7gam] { cursor: pointer; font-weight: 600; padding: .15rem 0; }

/* 11-5-26 18:40 Claude: Read text sits on the note's caption line */
.ie-notehead[b-wy33yx7gam] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ie-notehead .ie-readbtn[b-wy33yx7gam] { padding: 2px 10px; font-size: .85rem; }

/* 11-5-26 18:45 Claude: one slim top row - crumbs shrink, buttons compact; status = toast; chips one row */
.ie-bar[b-wy33yx7gam] { flex-wrap: nowrap; gap: 6px; }
.ie-crumbs[b-wy33yx7gam] { font-size: .85rem; overflow: hidden; }
.ie-crumb[b-wy33yx7gam] { padding: 1px 2px; white-space: nowrap; }
.ie-crumbs > .ie-crumb:not(:first-child)[b-wy33yx7gam] { overflow: hidden; text-overflow: ellipsis; max-width: 26ch; }
.ie-crumb-txt[b-wy33yx7gam] { max-width: 26ch; }
.ie-aitop[b-wy33yx7gam] { flex: 0 1 300px; max-width: 300px; padding: .15rem .5rem; font-size: .8rem; }
.ie-bar .ie-mini[b-wy33yx7gam], .ie-bar .ie-btn[b-wy33yx7gam] { padding: 2px 8px; font-size: .8rem; }
.ie-bar .ie-complete[b-wy33yx7gam] { padding: 2px 10px; font-size: .82rem; white-space: nowrap; }
.ie-bar .ie-tech[b-wy33yx7gam] { font-size: .8rem; white-space: nowrap; }
.ie-toast[b-wy33yx7gam] { position: fixed; right: 14px; bottom: 14px; z-index: 900; max-width: 420px; box-shadow: 0 3px 12px rgba(0,0,0,.18);
            pointer-events: none; animation: ie-toast-b-wy33yx7gam 4s ease forwards; }
@keyframes ie-toast-b-wy33yx7gam { 0%, 75% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.ie-error[b-wy33yx7gam] { padding: 3px 8px; font-size: .88rem; }
/* 11-5-26 19:10: the chips were squeezed to a sliver (the nav column shrinks them) - never shrink; wrap if the column is narrow */
.ie-chips[b-wy33yx7gam] { flex: 0 0 auto; flex-wrap: wrap; overflow: visible; gap: 3px; }
.ie-chip[b-wy33yx7gam] { padding: 1px 7px; font-size: .76rem; white-space: nowrap; }
@media (max-width: 700px) {
    .ie-bar[b-wy33yx7gam] { flex-wrap: wrap; }
    .ie-aitop[b-wy33yx7gam] { flex: 1 1 100%; max-width: none; }
}
.ie-copyrefresh[b-wy33yx7gam] { padding: 2px 8px; }
.ie-readbtn[b-wy33yx7gam] { display: inline-flex; align-items: center; gap: 5px; }

/* 11-7-26 17:05 Claude: the picture-work popup (Read text, saving a picture...) - modal, spinner, closes itself */
.ie-busypop[b-wy33yx7gam] { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.30); display: flex; align-items: center; justify-content: center; }
.ie-busybox[b-wy33yx7gam] { background: #fff; border-radius: 10px; padding: 18px 26px; display: flex; align-items: center; gap: 14px; font-size: 1.05rem; font-weight: 600; color: #1f3a52; box-shadow: 0 6px 24px rgba(0,0,0,.3); max-width: 90vw; }
.ie-busyspin[b-wy33yx7gam] { width: 28px; height: 28px; border-radius: 50%; border: 4px solid #d6e2ee; border-top-color: #315678; animation: ie-spin-b-wy33yx7gam .8s linear infinite; flex: 0 0 auto; }
@keyframes ie-spin-b-wy33yx7gam { to { transform: rotate(360deg); } }

/* 11-7-26 Claude: vehicle usage box above the lines - light yellow like the WinForms memo (SystemColors.Info) */

/* dts - 11-9-26 07:20 - Claude: line editor fits without scrolling (Damian 11-09) - history open above the note, smaller note,
   note copy + pictures share one wrapping row, smaller picture slots, shorter history list. Layout only. */
.ie-note-big[b-wy33yx7gam] { min-height: 7em; }
.ie-hlist[b-wy33yx7gam] { max-height: 8.5em; }
.ie-tools[b-wy33yx7gam] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.ie-tools .ie-notebtns[b-wy33yx7gam] { margin-top: 0; justify-content: flex-start; gap: 5px; }
.ie-tools .ie-pics[b-wy33yx7gam] { gap: 5px; }
.ie-tools .ie-btn[b-wy33yx7gam] { padding: 3px 9px; font-size: .88rem; }
.ie-tools .ie-pslot[b-wy33yx7gam] { width: 46px; height: 46px; }

/* dts - 11-9-26 07:20 - Claude: status chips on one row - no wrap, chips share the width, count-only colour chips centred */
.ie-chips.ie-chips-1row[b-wy33yx7gam] { flex-wrap: nowrap; gap: 3px; }
.ie-chips-1row .ie-chip[b-wy33yx7gam] { flex: 1 1 auto; min-width: 0; text-align: center; padding: 1px 6px; }

/* dts - 11-9-26 07:25 - Claude: top bar - AI review button sized to its caption (not stretched), Visit pictures / Vehicle basics beside it */
.ie-bar .ie-aitop[b-wy33yx7gam] { flex: 0 1 auto; max-width: 220px; }
.ie-bar .ie-barbtn[b-wy33yx7gam] { flex: 0 0 auto; white-space: nowrap; }

/* dts - 11-9-26 07:45 - Claude: vehicle history popup - list on top (scrolls), the picked item's full text below (scrolls), buttons last */
.ie-histpop[b-wy33yx7gam] { height: min(720px, 90vh); }
.ie-hpoplist[b-wy33yx7gam] { flex: 0 1 auto; max-height: 38%; overflow-y: auto; border: 1px solid #dde3ea; border-radius: 6px; padding: 2px; }
.ie-hpoplist .ie-hrow[b-wy33yx7gam] { cursor: pointer; }
.ie-hpoplist .ie-hrow.sel[b-wy33yx7gam] { border-color: #315678; box-shadow: inset 0 0 0 1px #315678; }
.ie-hpoplist .ie-hrow.sel .ie-hline[b-wy33yx7gam] { white-space: nowrap; }
.ie-hpopdetail[b-wy33yx7gam] { flex: 1 1 auto; min-height: 6em; overflow-y: auto; white-space: pre-wrap; border: 1px solid #c3ccd8; border-radius: 6px; padding: 6px 8px; font-size: 1rem; background: #fff; }
.ie-hist .ie-hrow[b-wy33yx7gam] { cursor: pointer; }

/* dts - 11-9-26 07:35 - Claude: a picked colour chip keeps its colour (Damian 11-09: "you won't know what filter you're using") -
   picked = thick dark outline + bold; only the plain chips (All / None) go white */
.ie-chip.on[b-wy33yx7gam] { outline: 3px solid #315678; outline-offset: 1px; font-weight: 700; }
.ie-chip.on.ie-c-green[b-wy33yx7gam] { background: var(--m-green); }
.ie-chip.on.ie-c-yellow[b-wy33yx7gam] { background: var(--m-yellow); }
.ie-chip.on.ie-c-red[b-wy33yx7gam] { background: var(--m-red); }

/* dts - 11-9-26 08:05 - Claude: history colour key (model colours) on the history popup */
.ie-hkey[b-wy33yx7gam] { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .78rem; }
.ie-hkey-cap[b-wy33yx7gam] { font-weight: 700; color: #315678; }
.ie-hkey-item[b-wy33yx7gam] { border: 1px solid rgba(0,0,0,.15); border-radius: 4px; padding: 1px 8px; white-space: nowrap; }

/* dts - 11-9-26 10:10 - Claude: Previous / Next under the line list; editor bottom row = Delete line (left) + phone-only Previous / Next */
.ie-navmove[b-wy33yx7gam] { display: flex; justify-content: space-between; gap: 6px; padding-top: 4px; }
.ie-navmove .ie-btn[b-wy33yx7gam] { flex: 1 1 0; padding: 4px 6px; font-size: .85rem; }
.ie-pn[b-wy33yx7gam] { display: none; gap: 8px; }
.ie-danger[b-wy33yx7gam] { border-color: #b33a3a; color: #b33a3a; background: #fff; }
.ie-danger:not(:disabled):hover[b-wy33yx7gam] { background: #fbeaea; }
.ie-confirm-btns .ie-danger[b-wy33yx7gam] { background: #b33a3a; color: #fff; }
@media (max-width: 760px) { .ie-pn[b-wy33yx7gam] { display: flex; } }
.ie-confirm-btns .ie-danger:not(:disabled):hover[b-wy33yx7gam] { background: #962f2f; }

/* dts - 11-9-26 10:15 - Claude: history popup Previous / Next row; picked row shows a focus ring when keys are used */
.ie-hpopnav[b-wy33yx7gam] { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ie-hpopnav .ie-btn[b-wy33yx7gam] { padding: 3px 10px; font-size: .85rem; }
.ie-hpoplist:focus[b-wy33yx7gam], .ie-hpoplist .ie-hrow:focus[b-wy33yx7gam] { outline: none; }
.ie-hpoplist .ie-hrow.sel:focus[b-wy33yx7gam] { box-shadow: inset 0 0 0 2px #315678; }

/* dts - 11-9-26 12:00 - Claude: icons on buttons (Shared/ICONS.md) - icon + words sit on one line with a small gap; icon-only buttons square */
.ie-aitop[b-wy33yx7gam] { display: inline-flex; align-items: center; gap: 5px; }
.ie-iconbtn[b-wy33yx7gam] { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; padding-left: 8px; padding-right: 8px; }
.ie-aibadge[b-wy33yx7gam] { display: inline-flex; align-items: center; justify-content: center; }

/* dts - 11-9-26 16:25 - Claude: line editor still needed scrolling on Damian's laptop (11-09 16:13) - tighter: the inline history
   shows ~3 lines (tap one for the popup with everything), smaller flag pills and number/text boxes, smaller picture slots, less
   space between blocks. Layout only. */
.ie-ed[b-wy33yx7gam] { gap: 4px; }
.ie-hist .ie-hlist[b-wy33yx7gam] { max-height: 5.6em; }
.ie-hist > summary[b-wy33yx7gam] { padding: 0; }
.ie-flags[b-wy33yx7gam] { gap: 4px; }
.ie-flag[b-wy33yx7gam] { padding: 3px 10px; font-size: .84rem; }
.ie-fields[b-wy33yx7gam] { gap: 4px 8px; }
.ie-field input[b-wy33yx7gam] { padding: 3px 6px; font-size: .95rem; }
.ie-tools .ie-pslot[b-wy33yx7gam] { width: 40px; height: 40px; }
.ie-notehead[b-wy33yx7gam] { min-height: 0; }
.ie-notehead .ie-readbtn[b-wy33yx7gam] { padding: 1px 8px; }

/* dts - 11-9-26 16:40 - Claude: picture slots on the note heading row (right); the note box is 4 lines until you click into it,
   then it opens to ~13 lines for writing (Damian 11-09: line editor still scrolled on the laptop). Layout only. */
.ie-pics-head[b-wy33yx7gam] { margin-left: auto; gap: 5px; }
.ie-pics-head .ie-pslot[b-wy33yx7gam] { width: 40px; height: 40px; }
.ie-pics-head > .ie-lbl[b-wy33yx7gam] { display: none; }
.ie-note-big[b-wy33yx7gam] { min-height: 5.6em; transition: min-height .15s; }
.ie-note-big:focus[b-wy33yx7gam] { min-height: 13em; }

/* dts - 11-9-26 17:10 - Claude: note heading row - "changed <date>" stacked UNDER "Note for the client" (small), so the label, Read
   text and the 4 picture slots fit on one row instead of wrapping (Damian 11-09). Phones still wrap. Layout only. */
.ie-notehead[b-wy33yx7gam] { flex-wrap: nowrap; align-items: center; }
.ie-notehead > .ie-lbl[b-wy33yx7gam] { display: flex; flex-direction: column; line-height: 1.15; flex: 0 0 auto; }
.ie-notehead > .ie-lbl .ie-when[b-wy33yx7gam] { margin-left: 0; font-size: .72rem; }
.ie-notehead .ie-readbtn[b-wy33yx7gam] { flex: 0 0 auto; white-space: nowrap; }
.ie-notehead .ie-pics-head[b-wy33yx7gam] { flex-wrap: nowrap; }
@media (max-width: 760px) { .ie-notehead[b-wy33yx7gam] { flex-wrap: wrap; } }

/* dts - 11-9-26 18:25 - Claude: top bar on the shared .b5 button - only the AI button's width limit stays here */
.ie-bar .b5.ie-aiw[b-wy33yx7gam] { max-width: 220px; min-width: 0; }   /* only the width limit; size / font = .b5 */

/* dts - 11-11-26 15:45 - Claude: a Narration proposal open in the line editor */
.ie-narrbar[b-wy33yx7gam] { display: flex; align-items: center; gap: .6rem; background: #fff8c8; border: 1px solid #e3d58a; border-radius: 6px; padding: .4rem .6rem; margin-bottom: .4rem; font-size: .92rem; }
.ie-narrbar > span[b-wy33yx7gam] { flex: 1 1 auto; }

/* dts - 11-11-26 16:20 - Claude: the line editor as a child window over Narration / AI review (Damian 16:09). No transform (the
   editor's own popups are position:fixed and must still cover the screen). Full screen on a phone (popup standard). */
.ie-childback[b-wy33yx7gam] { position: fixed; inset: 0; background: rgba(0,0,0,.25); z-index: 75; }
.ie-ed.ie-child[b-wy33yx7gam] { display: flex; position: fixed; z-index: 80; top: 3vh; bottom: 3vh; left: max(2vw, calc((100vw - 1050px) / 2)); right: max(2vw, calc((100vw - 1050px) / 2));
                  box-shadow: 0 8px 30px rgba(0,0,0,.3); border-color: #8fa3b8; }
@media (max-width: 760px) {
    .ie-ed.ie-child[b-wy33yx7gam] { inset: 0; border-radius: 0; }
}
/* /Features/Inspection/VisitInspectionLinks.razor.rz.scp.css */
.vil[b-pqzvumsonf] { display: flex; flex-direction: column; gap: .35rem; margin-top: .4rem; }
.vil-muted[b-pqzvumsonf] { color: #c9d6e3; font-size: .8rem; }
.vil-link[b-pqzvumsonf] { display: block; text-decoration: none; background: #fff; color: #1f3a52; border-radius: 6px; padding: .45rem .6rem; border-left: 5px solid #e0a32e; }
.vil-link.done[b-pqzvumsonf] { border-left-color: #6aa84f; }
.vil-link:hover[b-pqzvumsonf] { background: #f1f6fb; }
.vil-top[b-pqzvumsonf] { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.vil-name[b-pqzvumsonf] { font-weight: 700; font-size: .95rem; text-decoration: underline; }
.vil-tag[b-pqzvumsonf] { font-size: .72rem; padding: 0 .4rem; border-radius: 4px; background: #fdecc8; white-space: nowrap; }
.vil-tag.ok[b-pqzvumsonf] { background: #d9ead3; }
.vil-facts[b-pqzvumsonf] { display: flex; flex-wrap: wrap; gap: .2rem .8rem; font-size: .78rem; margin-top: .15rem; }
.vil-no[b-pqzvumsonf] { color: #7a8794; }
.vil-ai[b-pqzvumsonf] { color: #1f4e8c; font-weight: 600; }
.vil-lights b.g[b-pqzvumsonf] { color: #4d7f1e; } .vil-lights b.y[b-pqzvumsonf] { color: #a68a00; } .vil-lights b.r[b-pqzvumsonf] { color: #b03a2e; }
/* /Features/MessageQueue/MessageQueuePanel.razor.rz.scp.css */
/* dts - 10-17-26 - message queue panel (narrow, stacked). Vertical space goes to the message list:
   one-line header, one-line phones/NPS, filters collapsed to one line, no column headers, small detail. */

.mq-panel[b-gqhho0olo4] { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 4px; border-top: 4px solid transparent; padding-top: 2px; }
.mq-panel.mq-level-1[b-gqhho0olo4] { border-top-color: yellow; }   /* single interrupt waiting (MESSAGE_SINGLE_INTERRUPT_COLOR) */
.mq-panel.mq-level-2[b-gqhho0olo4] { border-top-color: tomato; }   /* continual interrupt waiting (MESSAGE_CONTINUAL_INTERRUPT_COLOR) */

.mq-header[b-gqhho0olo4] { display: flex; align-items: center; gap: .4rem; }
.mq-header .who[b-gqhho0olo4] { flex: 1; min-width: 0; font-size: .8rem; font-weight: 600; color: #315678; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* top, like frmMessageQueue2: promise group left, header / filter / NPS stacked to its right */
.mq-top[b-gqhho0olo4] { display: grid; grid-template-columns: 36% 1fr; gap: 6px; align-items: stretch; }
.mq-top-right[b-gqhho0olo4] { display: flex; flex-direction: column; justify-content: space-between; gap: 3px; min-width: 0; }

.mq-phones[b-gqhho0olo4] { color: #315678; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }

.mq-filterbar[b-gqhho0olo4] { display: flex; gap: 4px; align-items: center; }
.mq-filter-toggle[b-gqhho0olo4] {
    flex: 1; min-width: 0; text-align: left; font-size: .75rem; padding: 1px 6px;
    border: 1px solid #ccd; border-radius: 3px; background: lightyellow; font-style: italic; font-weight: 700;   /* CHECKED_COLOR: a filter is in effect */
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; color: #212529;
}
.mq-filter-toggle .caret[b-gqhho0olo4] { font-style: normal; color: #666; }
.mq-search[b-gqhho0olo4] { flex: 1; min-width: 0; width: auto; font-size: .85rem; padding: 3px 6px; border: 1px solid #ccd; border-radius: 4px; }   /* 10-26-26 Claude: takes the freed width */

.mq-chips[b-gqhho0olo4] { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; padding: 3px; border: 1px solid #dde; border-radius: 3px; background: #fafbfc; }
.mq-chips .chip[b-gqhho0olo4] {
    border: 1px solid #ccd; border-radius: 999px; padding: 0 .5rem;
    font-size: .75rem; background: #f6f7fa; cursor: pointer; color: #212529;
}
.mq-chips .chip:hover[b-gqhho0olo4] { border-color: #315678; }
.mq-chips .chip.active[b-gqhho0olo4] { background: lightyellow; border-color: #b8a400; font-weight: 700; font-style: italic; }   /* CHECKED_COLOR = LightYellow, like WinForms */

/* the grid takes whatever height is left and scrolls inside itself */
.mq-list[b-gqhho0olo4] { flex: 1 1 auto; min-height: 140px; display: flex; flex-direction: column; }
.mq-list[b-gqhho0olo4]  .dxbl-grid { flex: 1; min-height: 0; height: 100%; }

.mq-detail[b-gqhho0olo4] {
    flex: 0 0 auto; max-height: 28%; overflow: auto; font-size: .8rem;
    border: 1px solid black; border-left-width: 6px; border-radius: 3px; padding: 0 6px 4px;
    background: linear-gradient(135deg, #fff, gainsboro);   /* the house focused-row look: this box IS the selected row */
}
.mq-detail-cap[b-gqhho0olo4] { margin: 0 -6px 3px; padding: 1px 6px; background: #315678; color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; position: sticky; top: 0; }
.mq-short[b-gqhho0olo4] { font-weight: 600; }
.mq-context[b-gqhho0olo4] {   /* 10-27-26 Claude: one cut-off line above the text, like frmMessageQueue2's btnDisplayContext; tap = full */
    display: block; width: 100%; box-sizing: border-box; text-align: left;
    border: 1px solid #ccd; border-radius: 4px; background: #f6f7fa; padding: 3px 6px; margin: 2px 0 6px;
    font: inherit; font-size: .8rem; color: #315678; cursor: pointer;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mq-context.open[b-gqhho0olo4] { white-space: normal; }
.mq-context-row[b-gqhho0olo4] { display: flex; align-items: stretch; gap: 4px; }   /* 10-30-26 Claude: context line + go-to-context button */
.mq-context-row .mq-context[b-gqhho0olo4] { flex: 1; min-width: 0; }
.mq-context-go[b-gqhho0olo4] { flex: 0 0 auto; padding: 0 8px; border: 1px solid #b9c0ca; border-radius: 4px; background: #fff; font-weight: 700; }
.mq-context-go:disabled[b-gqhho0olo4] { color: #9aa2ad; cursor: not-allowed; }
.mq-text[b-gqhho0olo4] { margin: 2px 0 4px; }   /* 10-31-26: FormattedText (AI-panel look) - it keeps the line breaks itself */
/* 10-31-26 Claude: compact queue line like the finder history - age, type chip (two lines), camera, text */
.mq-line[b-gqhho0olo4] { display: flex; align-items: center; gap: 5px; min-width: 0; }
.mq-age[b-gqhho0olo4] { flex: 0 0 auto; min-width: 2.2em; color: #8a7a55; font-variant-numeric: tabular-nums; }
.mq-chip[b-gqhho0olo4] { flex: 0 0 6.6em; box-sizing: border-box; font-size: .56rem; line-height: 1.08; padding: 1px 5px; border-radius: 6px; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: center; overflow-wrap: anywhere; font-weight: 600; background: #e3effc; color: #1d4f8a; border: 1px solid #bcd6f3; }
.mq-pic[b-gqhho0olo4] { flex: 0 0 14px; display: inline-flex; }
.mq-linetext[b-gqhho0olo4] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mq-text[b-gqhho0olo4]  a { color: #315678; text-decoration: underline; word-break: break-all; }   /* 10-27-26 Claude: links in a message */
.mq-actions[b-gqhho0olo4] { display: flex; flex-wrap: wrap; gap: 3px; }

.muted[b-gqhho0olo4] { color: #888; }
.error[b-gqhho0olo4] { color: #b00020; }

/* row colors and the selected-row look come from the shared house grid look: wwwroot/css/grid5851.css */

/* dts - 10-24-26 07:40 - Claude: in-app Acknowledge dialog - built w the help of AI */
.ack-backdrop[b-gqhho0olo4] {
    position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom); /* 10-26-26 Claude: iPhone - stay above Safari's toolbar */ z-index: 1000;
    background: rgba(0, 0, 0, .35);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.ack-dialog[b-gqhho0olo4] {
    background: #fff; border-radius: 8px; max-width: 420px; width: 100%;
    padding: 16px; box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.ack-text[b-gqhho0olo4] { font-size: .9rem; line-height: 1.35; margin-bottom: 14px; }
.ack-buttons[b-gqhho0olo4] { display: flex; justify-content: flex-end; gap: 8px; }

/* dts - 10-24-26 09:10 - Claude: row-action feedback - spinner over the list + confirmation line - built w the help of AI */
.mq-list[b-gqhho0olo4] { position: relative; }
.mq-working[b-gqhho0olo4] {
    position: absolute; inset: 0; z-index: 5;
    background: rgba(255, 255, 255, .7);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: .8rem; color: #315678; font-weight: 600;
}
.mq-spinner[b-gqhho0olo4] {
    width: 22px; height: 22px; border-radius: 50%;
    border: 3px solid #c9d6e3; border-top-color: #315678;
    animation: mq-spin-b-gqhho0olo4 .8s linear infinite;
}
@keyframes mq-spin-b-gqhho0olo4 { to { transform: rotate(360deg); } }
.mq-done[b-gqhho0olo4] {   /* 10-26-26 Claude: overlay toast - takes no space in the layout */
    position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); z-index: 6; pointer-events: none;
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    background: rgba(31, 53, 80, .92); color: #fff; font-weight: 600; font-size: .95rem;
    padding: 10px 16px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.25);
    animation: mq-done-fade-b-gqhho0olo4 1.6s ease forwards;
}
.mq-done-check[b-gqhho0olo4] { color: #9be29b; font-size: 1.1rem; }
@keyframes mq-done-fade-b-gqhho0olo4 { 0% { opacity: 0; } 12% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }

/* dts - 10-24-26 11:45 - Claude: new-message sheet labels - built w the help of AI */
[b-gqhho0olo4] .nm-label { font-size: .72rem; font-weight: 700; color: #315678; text-transform: uppercase; letter-spacing: .03em; margin-bottom: -4px; }

/* dts - 10-24-26 12:00 - Claude: stop the scrollbar flicker (Damian 10-24) - when the rows overflow by a few px the
   scrollbar appears, narrows the grid, rows re-fit, it disappears, repeat. Reserve its space permanently. - built w the help of AI */
.mq-list[b-gqhho0olo4]  .dxbl-scroll-viewer-content { scrollbar-gutter: stable; }

/* dts - 10-24-26 14:55 - Claude: no column header row - one column, the caption "Message" only wasted space (Damian 10-24).
   DxGrid 26.1 has no property for it, so hide the header row here. - built w the help of AI */
.mq-list[b-gqhho0olo4]  .dxbl-grid thead { display: none; }

/* 10-26-26 Claude: camera button for an attached picture (frmMessageQueue2) */
.mq-camera[b-gqhho0olo4] { margin-left: 6px; border: 1px solid #D11C1C; border-radius: 4px; background: white; color: #D11C1C; font-size: .75rem; padding: 1px 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }

/* 10-26-26 Claude: search highlight in the message cell (stands in for DevExpress's own) */
.mq-hl[b-gqhho0olo4] { background: #ffe066; color: inherit; padding: 0; border-radius: 2px; }
/* 11-02-26 Claude: search now shares the header row with New / Refresh - keep it usable, wrap if the panel is very narrow */
.mq-header[b-gqhho0olo4] { flex-wrap: wrap; }
.mq-header .mq-search[b-gqhho0olo4] { flex: 1 1 8em; min-width: 8em; }
/* 11-02-26 Claude: refresh button matches the finder's (⟳ Refresh + countdown) */
.mq-refresh[b-gqhho0olo4] { flex: 0 0 auto; border: 1px solid #b9c0ca; border-radius: 4px; background: #fff; padding: 2px 8px; font-size: .78rem; cursor: pointer; color: #1f3a52; white-space: nowrap; }
.mq-refresh:hover:not(:disabled)[b-gqhho0olo4] { background: #eef4fa; }
.mq-refresh:disabled[b-gqhho0olo4] { opacity: .6; cursor: default; }
.mq-cd[b-gqhho0olo4] { color: #6b7380; font-variant-numeric: tabular-nums; margin-left: 2px; }
/* 11-02-26 08:30 Claude: chips (with Refresh first) now sit beside the promise boxes and fill that height */
.mq-top-right .mq-chips[b-gqhho0olo4] { flex: 1 1 auto; align-content: center; }
.mq-chips .mq-refresh[b-gqhho0olo4] { padding: 0 8px; border-radius: 10px; }
/* 11-02-26 09:05 Claude: tidy the chip block (Damian: messy) - chips in even columns, Refresh last as a real button */
.mq-top-right .mq-chips[b-gqhho0olo4] { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.2em, 1fr)); gap: 3px; align-content: center; }
.mq-top-right .mq-chips .chip[b-gqhho0olo4] { width: 100%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-chips .mq-refresh[b-gqhho0olo4] { border-radius: 4px; border: 1px solid #315678; background: #e8f0f8; color: #1f3a52; font-weight: 600; padding: 1px 8px; }
.mq-chips .mq-refresh:hover:not(:disabled)[b-gqhho0olo4] { background: #d6e4f2; }
/* /Features/Narration/NarrationPanel.razor.rz.scp.css */
/* dts - 11-11-26 15:40 - Claude: Narration panel (585one) - layout only; colours come from the model (row colours, detail HTML) */
.nr-overlay[b-78qyv1h75n] { position: fixed; inset: 0; background: rgba(0,0,0,.12); z-index: 60; display: flex; align-items: center; justify-content: center; }
.nr[b-78qyv1h75n] { background: #fff; width: min(1200px, 96vw); height: min(880px, 94vh); display: flex; flex-direction: column; gap: .5rem; padding: .6rem .8rem;
      box-sizing: border-box; position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,.25); }
.nr-draghead[b-78qyv1h75n] { cursor: move; touch-action: none; user-select: none; -webkit-user-select: none; }
.nr-title[b-78qyv1h75n] { display: inline-flex; align-items: center; gap: .35rem; }
.nr-head[b-78qyv1h75n] { display: flex; align-items: center; gap: .75rem; }
.nr-title[b-78qyv1h75n] { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.05rem; }
.nr-tabs[b-78qyv1h75n] { display: flex; gap: .25rem; }
.nr-tab[b-78qyv1h75n] { border: 1px solid #b9c7d6; background: #f3f6f9; border-radius: 6px 6px 0 0; padding: .35rem .9rem; font-weight: 600; cursor: pointer; }
.nr-tab.on[b-78qyv1h75n] { background: #315678; color: #fff; border-color: #315678; }
.nr-err[b-78qyv1h75n] { background: #fdecea; color: #8a1c12; border: 1px solid #f0b4ab; border-radius: 6px; padding: .4rem .6rem; }
.nr-status[b-78qyv1h75n] { background: #eef6ee; color: #1d5b1d; border: 1px solid #b9dcb9; border-radius: 6px; padding: .4rem .6rem; white-space: pre-wrap; }
.nr-loading[b-78qyv1h75n] { padding: 2rem; color: #666; }
.nr-quiet[b-78qyv1h75n] { color: #777; font-size: .85rem; }
.nr-pad[b-78qyv1h75n] { padding: .75rem; }
.nr-row[b-78qyv1h75n] { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.nr-grow[b-78qyv1h75n] { flex: 1 1 auto; }
.nr-sec[b-78qyv1h75n] { font-weight: 700; margin-top: .4rem; }
.nr-main[b-78qyv1h75n] { font-weight: 700; }
.nr-danger[b-78qyv1h75n] { background: #a40000; color: #fff; border-color: #a40000; }

/* Narrate */
.nr-talkpage[b-78qyv1h75n] { flex: 1 1 auto; min-height: 0; display: flex; gap: .75rem; }
.nr-left[b-78qyv1h75n] { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .4rem; min-height: 0; }
.nr-right[b-78qyv1h75n] { flex: 0 0 290px; display: flex; flex-direction: column; min-height: 0; }
.nr-hint[b-78qyv1h75n] { color: #555; font-size: .9rem; }
.nr-talk[b-78qyv1h75n] { width: 100%; box-sizing: border-box; font-size: 1.15rem; padding: .5rem; border: 1px solid #b9c7d6; border-radius: 6px; resize: vertical; }
.nr-saved[b-78qyv1h75n] { color: #666; font-size: .85rem; }
.nr-filebtn[b-78qyv1h75n] { position: relative; overflow: hidden; cursor: pointer; }
.nr-file[b-78qyv1h75n] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.nr-dis[b-78qyv1h75n] { opacity: .5; pointer-events: none; }
.nr-progress[b-78qyv1h75n] { position: relative; height: 26px; border: 1px solid #b9c7d6; border-radius: 6px; overflow: hidden; }
.nr-bar[b-78qyv1h75n] { position: absolute; inset: 0 auto 0 0; background: #cfe3f5; }
.nr-progress > span[b-78qyv1h75n] { position: relative; padding-left: .5rem; line-height: 26px; font-size: .9rem; }
.nr-saved-list[b-78qyv1h75n] { flex: 1 1 auto; min-height: 120px; overflow-y: auto; border: 1px solid #ddd; border-radius: 6px; background: #f7f7f7; padding: .25rem; }
.nr-item[b-78qyv1h75n] { padding: .3rem .45rem; border-radius: 4px; white-space: pre-wrap; }
.nr-item.nr-pick[b-78qyv1h75n] { cursor: pointer; }   /* 11-11-26 19:10: only removable rows are pickable */
.nr-item.sel[b-78qyv1h75n] { background: #dbe8f5; outline: 1px solid #315678; }
.nr-cover[b-78qyv1h75n] { flex: 1 1 auto; overflow-y: auto; border: 1px solid #ddd; border-radius: 6px; padding: .25rem; }
.nr-coverrow[b-78qyv1h75n] { padding: .2rem .4rem; border-bottom: 1px solid #f0f0f0; font-size: .92rem; }

/* Proposals */
.nr-done[b-78qyv1h75n] { padding: .45rem .7rem; border-radius: 6px; font-weight: 700; background: #ffeb3b; }
.nr-done.all[b-78qyv1h75n] { background: #9acd32; }
.nr-chips[b-78qyv1h75n] { display: flex; flex-wrap: wrap; gap: .35rem; }
.nr-chip[b-78qyv1h75n] { border: 1px solid #b9c7d6; background: #fff; border-radius: 999px; padding: .35rem .8rem; cursor: pointer; }
.nr-chip.on[b-78qyv1h75n] { background: #315678; color: #fff; border-color: #315678; }
.nr-proppage[b-78qyv1h75n] { flex: 1 1 auto; min-height: 0; display: flex; gap: .75rem; }
.nr-list[b-78qyv1h75n] { flex: 0 0 42%; min-width: 0; overflow-y: auto; border: 1px solid #ddd; border-radius: 6px; }
.nr-group[b-78qyv1h75n] { background: #eef1f4; font-weight: 700; padding: .3rem .5rem; position: sticky; top: 0; }
.nr-prow[b-78qyv1h75n] { padding: .4rem .55rem; border-bottom: 1px solid rgba(0,0,0,.08); cursor: pointer; display: flex; gap: .6rem; }
.nr-prow.sel[b-78qyv1h75n] { outline: 2px solid #315678; outline-offset: -2px; }
.nr-pline[b-78qyv1h75n] { flex: 0 0 38%; font-weight: 600; }
.nr-psaid[b-78qyv1h75n] { flex: 1 1 auto; min-width: 0; }
.nr-detail[b-78qyv1h75n] { flex: 1 1 auto; min-width: 0; overflow-y: auto; display: flex; flex-direction: column; gap: .4rem; }
.nr-html[b-78qyv1h75n] { font-size: 15px; }
.nr-shots[b-78qyv1h75n] { display: flex; flex-wrap: wrap; gap: .6rem; }
.nr-shot[b-78qyv1h75n] { width: 230px; display: flex; flex-direction: column; gap: .3rem; }
.nr-shot img[b-78qyv1h75n] { width: 230px; height: 172px; object-fit: contain; background: #f2f2f2; border-radius: 4px; }
.nr-nothumb[b-78qyv1h75n] { width: 230px; height: 172px; display: flex; align-items: center; justify-content: center; background: #f2f2f2; color: #777; text-align: center; }
.nr-tick[b-78qyv1h75n] { display: flex; gap: .4rem; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.nr-tick.on[b-78qyv1h75n] { font-weight: 700; }
.nr-moves[b-78qyv1h75n] { gap: .3rem; }
.nr-select[b-78qyv1h75n] { height: 32px; border: 1px solid #b9c7d6; border-radius: 6px; padding: 0 .4rem; max-width: 100%; }
.nr-buttons[b-78qyv1h75n] { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; align-items: center; border-top: 1px solid #ddd; padding-top: .45rem; }
.nr-confirm[b-78qyv1h75n] { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); background: #fff; border: 1px solid #b9c7d6; border-radius: 8px; padding: 1rem; box-shadow: 0 6px 24px rgba(0,0,0,.2); display: flex; flex-direction: column; gap: .6rem; z-index: 5; }
.nr-busy[b-78qyv1h75n] { position: absolute; right: 1rem; bottom: .75rem; background: #315678; color: #fff; border-radius: 6px; padding: .3rem .7rem; font-size: .85rem; }
.nr-editor[b-78qyv1h75n] { position: fixed; inset: 0; z-index: 70; background: #fff; }

/* phone: full screen, no drag (popup standard) */
@media (max-width: 760px) {
    .nr[b-78qyv1h75n] { width: 100vw; height: 100vh; border-radius: 0; transform: none !important; }
}
/* portrait iPad / phone: stack */
@media (max-width: 900px) {
    .nr-talkpage[b-78qyv1h75n], .nr-proppage[b-78qyv1h75n] { flex-direction: column; }
    .nr-right[b-78qyv1h75n] { flex: 0 0 auto; max-height: 30vh; }
    .nr-list[b-78qyv1h75n] { flex: 0 0 auto; max-height: 38vh; }
}

/* dts - 11-12-26 07:00 - Claude: Proposals laid out like frmNarration (Damian 06:51) - left: list + picture strip under it;
   right: proposal (scrolls) + this car's history (key, list, full text). Sizes only - colours are the model's. */
.nr-leftcol[b-78qyv1h75n] { flex: 0 0 44%; min-width: 0; display: flex; flex-direction: column; gap: .4rem; min-height: 0; }
.nr-leftcol .nr-list[b-78qyv1h75n] { flex: 1 1 55%; min-height: 120px; }
.nr-picpanel[b-78qyv1h75n] { flex: 0 1 45%; min-height: 0; overflow-y: auto; border: 1px solid #ddd; border-radius: 6px; padding: .4rem; }
.nr-slots[b-78qyv1h75n] { color: #002878; font-size: .92rem; margin-bottom: .35rem; }
.nr-rightcol[b-78qyv1h75n] { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .4rem; min-height: 0; }
.nr-rightcol .nr-detail[b-78qyv1h75n] { flex: 1 1 50%; min-height: 120px; overflow-y: auto; display: block; }
.nr-histbox[b-78qyv1h75n] { flex: 0 0 auto; height: 46%; min-height: 220px; display: flex; flex-direction: column; border: 1px solid #c3ccd8; border-radius: 6px; background: #f3f5f8; padding: .35rem; gap: .3rem; }
.nr-histhead[b-78qyv1h75n] { font-weight: 700; }
.nr-histkey[b-78qyv1h75n] { display: flex; gap: .3rem; }
.nr-histkey > span[b-78qyv1h75n] { flex: 1 1 0; text-align: center; padding: .2rem .3rem; border-radius: 3px; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nr-hist[b-78qyv1h75n] { flex: 1 1 auto; min-height: 70px; overflow-y: auto; border: 1px solid #ccd5df; background: #fff; }
.nr-hrow[b-78qyv1h75n] { padding: .3rem .5rem; border-bottom: 1px solid rgba(0,0,0,.08); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
.nr-hrow.sel[b-78qyv1h75n] { outline: 2px solid #315678; outline-offset: -2px; }
.nr-hdetailhead[b-78qyv1h75n] { font-weight: 700; font-size: .9rem; margin-top: .15rem; }
.nr-hdetail[b-78qyv1h75n] { flex: 0 0 auto; height: 4.6em; overflow-y: auto; padding: .35rem .5rem; border: 1px solid #ccd5df; background: #fbfbf6; white-space: pre-wrap; font-size: .92rem; }

@media (max-width: 900px) {
    .nr-leftcol[b-78qyv1h75n], .nr-rightcol[b-78qyv1h75n] { flex: 0 0 auto; }
    .nr-proppage[b-78qyv1h75n] { overflow-y: auto; }
    .nr-leftcol .nr-list[b-78qyv1h75n] { max-height: 38vh; }
    .nr-picpanel[b-78qyv1h75n] { max-height: 40vh; }
    .nr-rightcol .nr-detail[b-78qyv1h75n] { max-height: 45vh; }
    .nr-histbox[b-78qyv1h75n] { height: auto; }
    .nr-hist[b-78qyv1h75n] { max-height: 30vh; }
}
/* /Features/PictureEditing/PictureEditor.razor.rz.scp.css */
/* dts - 10-18-26 - built w the help of AI  (585one picture editor) */
.pe-root[b-7zfismnys9] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    outline: none;
    font: 14px/1.35 "Segoe UI", system-ui, sans-serif;
}

.pe-error[b-7zfismnys9] {
    background: #fde8e8;
    border: 1px solid #e0a0a0;
    color: #8a1c1c;
    padding: 8px 10px;
    border-radius: 4px;
}

.pe-bar[b-7zfismnys9] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pe-group[b-7zfismnys9] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.pe-end[b-7zfismnys9] {
    margin-left: auto;
}

.pe-root button[b-7zfismnys9] {
    min-height: 40px;                 /* finger-sized on a tablet */
    min-width: 40px;
    padding: 6px 12px;
    border: 1px solid #b8c2cc;
    border-radius: 4px;
    background: #fff;
    color: #222;
    cursor: pointer;
}

.pe-root button:disabled[b-7zfismnys9] {
    opacity: 0.45;
    cursor: default;
}

.pe-root button.pe-on[b-7zfismnys9] {
    background: #CFE0F0;
    border-color: #315678;
    box-shadow: inset 0 0 0 2px #315678;
}

.pe-root button.pe-primary[b-7zfismnys9] {
    background: #315678;
    border-color: #315678;
    color: #fff;
}

.pe-root button.pe-glyph[b-7zfismnys9] {
    font: 20px/1 "Segoe UI Symbol", "Segoe UI", system-ui, sans-serif;
    padding: 6px 10px;
}

.pe-root button.pe-swatch[b-7zfismnys9] {
    width: 40px;
    padding: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #b8c2cc;
}

.pe-root button.pe-swatch-on[b-7zfismnys9] {
    box-shadow: 0 0 0 3px #315678;
}

.pe-modebar[b-7zfismnys9] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 6px 8px;
    background: #f1f4f7;
    border: 1px solid #d5dce3;
    border-radius: 4px;
}

.pe-slider[b-7zfismnys9] {
    flex: 1 1 200px;
    min-width: 160px;
    height: 32px;
}

.pe-angle[b-7zfismnys9] {
    min-width: 4.5em;
    text-align: center;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pe-stage[b-7zfismnys9] {
    height: calc(100vh - 260px); height: calc(100dvh - 260px - env(safe-area-inset-bottom));
    min-height: 320px;
    background: #2d2d2d;
    border-radius: 4px;
    overflow: hidden;
    touch-action: none;               /* drags edit the picture instead of scrolling the page */
    user-select: none;
    -webkit-user-select: none;
}

.pe-stage[b-7zfismnys9]  canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.pe-hint[b-7zfismnys9] {
    color: #555;
    font-size: 13px;
    min-height: 1.35em;
}

.pe-modal-back[b-7zfismnys9] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.pe-modal[b-7zfismnys9] {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    padding: 16px;
    width: min(440px, 100%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pe-modal-title[b-7zfismnys9] {
    font-weight: 600;
    font-size: 16px;
    color: #315678;
}

.pe-modal-text[b-7zfismnys9] {
    color: #333;
}

.pe-modal-hint[b-7zfismnys9] {
    color: #666;
    font-size: 12px;
}

.pe-textarea[b-7zfismnys9] {
    width: 100%;
    box-sizing: border-box;
    font: 15px/1.4 "Segoe UI", system-ui, sans-serif;
    padding: 8px;
    resize: vertical;
}

.pe-check[b-7zfismnys9] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pe-modal-buttons[b-7zfismnys9] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
/* /Features/PictureEditing/PictureLab.razor.rz.scp.css */
/* dts - 10-18-26 - built w the help of AI  (picture editor test host) */
.pl-bar[b-5grlo6r3vu] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
}

.pl-status[b-5grlo6r3vu] {
    color: #444;
    font: 13px/1.4 "Segoe UI", system-ui, sans-serif;
}

.pl-result img[b-5grlo6r3vu] {
    max-width: 100%;
    border: 1px solid #ccc;
}
/* /Features/TechWorkspace/AIPictureIdeas.razor.rz.scp.css */
/* 11-7-26 Claude: AI picture markup sheet - layout only */
.aii-overlay[b-6blbv8ubcc] { position: fixed; inset: 0; background: rgba(20, 30, 40, .35); z-index: 1200; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 18px 8px; }
.aii-box[b-6blbv8ubcc] { background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.3); width: min(900px, 100%); padding: 14px 16px 12px; }
.aii-head[b-6blbv8ubcc] { display: flex; align-items: baseline; gap: 10px; font-size: 1.1rem; margin-bottom: 8px; }
.aii-title[b-6blbv8ubcc] { color: #4a5a6a; font-size: .9rem; }
.aii-hint[b-6blbv8ubcc] { color: #2d3e50; font-weight: 600; margin: 4px 0 8px; }
.aii-busy[b-6blbv8ubcc] { display: flex; align-items: center; gap: 10px; color: #234; padding: 8px 0; }
.aii-spin[b-6blbv8ubcc] { width: 18px; height: 18px; border: 3px solid #c8d4e0; border-top-color: #2b6cb0; border-radius: 50%; animation: aii-spin-b-6blbv8ubcc .9s linear infinite; }
@keyframes aii-spin-b-6blbv8ubcc { to { transform: rotate(360deg); } }
.aii-err[b-6blbv8ubcc] { background: #fdecea; color: #8a1c13; padding: 6px 10px; border-radius: 6px; margin: 6px 0; }
.aii-ok[b-6blbv8ubcc] { background: #e8f5e9; color: #1b5e20; padding: 6px 10px; border-radius: 6px; margin: 6px 0; }
.aii-remark[b-6blbv8ubcc] { color: #4a5a6a; font-style: italic; margin: 6px 0; }

/* point stage: the picture with the tech's pins */
.aii-stage[b-6blbv8ubcc] { position: relative; display: block; width: fit-content; max-width: 100%; margin: 0 auto 6px; cursor: crosshair; touch-action: none; }
/* 11-7-26 16:45 Claude: the shading brush sits exactly over the picture (cross-hatch drawn by AIPictureIdeas.razor.js) */
.aii-shade[b-6blbv8ubcc] { position: absolute; left: 0; top: 0; touch-action: none; cursor: crosshair; border-radius: 6px; }
.aii-shadebar[b-6blbv8ubcc] { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.aii-stage img[b-6blbv8ubcc] { display: block; max-width: 100%; max-height: 62vh; width: auto; height: auto; border-radius: 6px; user-select: none; -webkit-user-drag: none; }
.aii-words[b-6blbv8ubcc] { width: 100%; box-sizing: border-box; border: 1px solid #c3ccd8; border-radius: 6px; padding: 8px 10px; font-size: 1rem; font-family: inherit; resize: vertical; }

/* choose stage */
.aii-sec[b-6blbv8ubcc] { font-weight: 700; color: #2d3e50; margin: 12px 0 6px; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; }
.aii-sub[b-6blbv8ubcc] { text-transform: none; font-weight: 400; color: #6a7a8a; letter-spacing: 0; margin-left: 6px; }
.aii-marks[b-6blbv8ubcc] { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.aii-mark[b-6blbv8ubcc] { display: flex; flex-direction: column; gap: 6px; border: 1px solid #d6dee6; border-radius: 8px; background: #fafbfc; padding: 6px; }
.aii-prev[b-6blbv8ubcc] { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; }
.aii-prev img[b-6blbv8ubcc] { width: 100%; height: auto; border-radius: 5px; display: block; }
.aii-noprev[b-6blbv8ubcc] { color: #888; display: block; padding: 40px 0; text-align: center; }
.aii-mname[b-6blbv8ubcc] { font-weight: 700; font-size: .9rem; color: #1f2a36; line-height: 1.2; }   /* 11-7-26 16:25 Claude: the picture name this markup gives */
.aii-why[b-6blbv8ubcc] { font-size: .82rem; color: #444; line-height: 1.25; }
.aii-name[b-6blbv8ubcc] { font-weight: 700; }
.aii-note[b-6blbv8ubcc] { color: #333; font-size: .92rem; margin-top: 2px; }
.aii-foot[b-6blbv8ubcc] { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.aii-btn[b-6blbv8ubcc] { border: 1px solid #b7c3cf; background: #f4f6f8; border-radius: 6px; padding: 7px 14px; font-size: .95rem; cursor: pointer; }
.aii-btn:disabled[b-6blbv8ubcc] { opacity: .55; cursor: default; }
.aii-primary[b-6blbv8ubcc] { background: #2b6cb0; border-color: #2b6cb0; color: #fff; }
.aii-danger[b-6blbv8ubcc] { background: #fff; border-color: #b3261e; color: #b3261e; }
.aii-use[b-6blbv8ubcc] { white-space: nowrap; }

/* a markup, large */
.aii-bigwrap[b-6blbv8ubcc] { position: fixed; inset: 0; z-index: 1250; background: rgba(10, 15, 20, .85); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; }
.aii-bigwrap img[b-6blbv8ubcc] { max-width: 100%; max-height: 80vh; border-radius: 6px; box-shadow: 0 6px 30px rgba(0,0,0,.6); }
.aii-bigwhy[b-6blbv8ubcc] { color: #eef3f8; max-width: 900px; text-align: center; }
.aii-bigfoot[b-6blbv8ubcc] { display: flex; gap: 10px; }
/* /Features/TechWorkspace/PictureLocationPicker.razor.rz.scp.css */
/* dts - 10-26-26 - Claude: Published Location chooser (WinForms twin) - built w the help of AI */
.lp[b-v21vxwpcs8] { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom); /* 10-26-26 Claude: iPhone - stay above Safari's toolbar */ z-index: 2100; background: #f4f6f9; display: flex; flex-direction: column; padding: 10px; gap: 8px; color: #212529; }
.lp-head[b-v21vxwpcs8] { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lp-filters[b-v21vxwpcs8] { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #e7eef5; border: 1px solid #9fb4c8; border-radius: 8px; padding: 6px 8px; }
.lp-toggle[b-v21vxwpcs8] { border: 1px solid #9fb4c8; border-radius: 6px; background: white; padding: .3rem .6rem; font-size: .85rem; cursor: pointer; color: #212529; white-space: nowrap; }
.lp-toggle.on[b-v21vxwpcs8] { background: #fffbe6; border-color: #b8a400; font-weight: 700; font-style: italic; }
/* 10-27-26 Claude: DevExpress editors draw their own box; scoped CSS reaches them only through ::deep */
.lp-filters[b-v21vxwpcs8]  .lp-search { flex: 1 1 12rem; min-width: 0; }
.lp-list[b-v21vxwpcs8] { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.lp-group[b-v21vxwpcs8] { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: #315678; letter-spacing: .04em; margin-top: 6px; }
.lp-row[b-v21vxwpcs8] { display: flex; align-items: center; gap: 8px; background: white; border: 1px solid #ccd; border-radius: 8px; padding: 6px 8px; }
.lp-row.last[b-v21vxwpcs8] { border-color: #315678; box-shadow: 0 0 0 2px #c9d6e3; }
.lp-name[b-v21vxwpcs8] { flex: 1; min-width: 0; font-size: .95rem; }
.lp-slots[b-v21vxwpcs8] { display: flex; gap: 4px; flex: 0 0 auto; }
.lp-slot[b-v21vxwpcs8] { width: 2.2rem; height: 2.2rem; border: 1px solid #315678; border-radius: 6px; background: white; color: #315678; font-weight: 700; cursor: pointer; }
.lp-slot:disabled[b-v21vxwpcs8] { border-color: #ddd; color: #bbb; background: #f2f2f2; cursor: default; }
.lp-empty[b-v21vxwpcs8] { color: #666; padding: 1rem 0; }
.lp-error[b-v21vxwpcs8] { color: #b00020; }
.lp-confirm[b-v21vxwpcs8] { background: white; border: 1px solid #315678; border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.lp-confirm-btns[b-v21vxwpcs8] { display: flex; gap: 8px; justify-content: flex-end; }
.lp-btn[b-v21vxwpcs8] { border: 1px solid #ccd; border-radius: 6px; background: #f6f7fa; padding: .45rem 1rem; font-size: 1rem; line-height: 1.2; white-space: nowrap; cursor: pointer; color: #212529; }
.lp-btn.primary[b-v21vxwpcs8] { background: #315678; border-color: #315678; color: white; }
.lp-btn:disabled[b-v21vxwpcs8] { opacity: .5; cursor: default; }
.wait[b-v21vxwpcs8] { display: flex; align-items: center; gap: 10px; padding: 14px 4px; color: #315678; font-size: .95rem; }
.wait-spinner[b-v21vxwpcs8] { width: 20px; height: 20px; border: 3px solid #c9d6e3; border-top-color: #315678; border-radius: 50%; animation: wait-spin-b-v21vxwpcs8 .8s linear infinite; }
@keyframes wait-spin-b-v21vxwpcs8 { to { transform: rotate(360deg); } }
/* /Features/TechWorkspace/PictureSheet.razor.rz.scp.css */
/* 10-31-26 Claude: copy of PicturePanel.razor.css - PictureSheet was moved out of PicturePanel and scoped CSS does not cross components. */
/* dts - 10-26-26 - Claude: picture tiles + full-screen viewer + full-screen editor - built w the help of AI */
.pp[b-1luzpqj8yy] { display: flex; flex-direction: column; gap: 8px; }
.pp-head[b-1luzpqj8yy] { display: flex; align-items: center; gap: 8px; }
.pp-name[b-1luzpqj8yy] { flex: 1; min-width: 0; font-weight: 700; color: #315678; }

.pp-add[b-1luzpqj8yy] {
    position: relative; overflow: hidden; border-radius: 8px; background: #315678; color: white;
    padding: .55rem 1rem; font-size: 1rem; cursor: pointer; white-space: nowrap;
}
.pp-add[b-1luzpqj8yy]  .pp-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.pp-grid[b-1luzpqj8yy] { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.pp-tile[b-1luzpqj8yy] {
    position: relative; aspect-ratio: 1 / 1; border: 1px solid #ccd; border-radius: 8px; background: #f3f4f7;
    display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0; cursor: pointer; color: #666;
}
.pp-tile img[b-1luzpqj8yy] { width: 100%; height: 100%; object-fit: cover; }
.pp-tile.empty[b-1luzpqj8yy] { border-style: dashed; cursor: default; text-align: center; font-size: .85rem; }
.pp-cap[b-1luzpqj8yy] {
    position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.55); color: white;
    font-size: .7rem; line-height: 1.25; padding: 2px 4px; text-align: left; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.pp-loading[b-1luzpqj8yy] { font-size: .75rem; }

.pp-viewer[b-1luzpqj8yy] { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom); /* 10-26-26 Claude: iPhone - stay above Safari's toolbar */ z-index: 50; background: rgba(0,0,0,.92); display: flex; flex-direction: column; }
/* 10-26-26 Claude: Safari ignores max-height:100% on an image in a flex area and shows it full size (Damian 10-26 "HUGE").
   Pin the image to the box instead - it scales to fit in every browser. */
.pp-viewer-img[b-1luzpqj8yy] { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.pp-viewer-img img[b-1luzpqj8yy] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.pp-meta[b-1luzpqj8yy] { background: white; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; max-height: 45vh; max-height: 45dvh; overflow: auto; flex: 0 0 auto; }
.pp-meta label[b-1luzpqj8yy] { display: flex; flex-direction: column; font-size: .75rem; font-weight: 700; color: #315678; gap: 2px; }
/* 10-27-26 Claude: DevExpress editors draw their own box; scoped CSS reaches them only through ::deep */
.pp-meta-ro[b-1luzpqj8yy] { font-size: .9rem; }
/* 10-26-26 Claude: who/when on its own line, buttons one height and never word-wrapped (Damian 10-26 "messy") */
.pp-meta-buttons[b-1luzpqj8yy] { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.pp-who[b-1luzpqj8yy] { flex: 1 0 100%; font-size: .75rem; color: #666; }
.pp-who:empty[b-1luzpqj8yy] { display: none; }
.pp-save[b-1luzpqj8yy] { border: 1px solid #315678; border-radius: 6px; background: #315678; color: white; padding: .45rem 1rem; font-size: 1rem; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.pp-save:disabled[b-1luzpqj8yy] { opacity: .5; cursor: default; }
.pp-closebtn[b-1luzpqj8yy] { border: 1px solid #ccd; border-radius: 6px; background: #f6f7fa; padding: .45rem 1rem; font-size: 1rem; line-height: 1.2; white-space: nowrap; cursor: pointer; color: #212529; }

.pp-editor[b-1luzpqj8yy] { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom); /* 10-26-26 Claude: iPhone - stay above Safari's toolbar */ z-index: 60; background: white; overflow: auto; }

.pp-status[b-1luzpqj8yy] { color: #666; font-size: .85rem; }
.pp-error[b-1luzpqj8yy] { color: #b00020; font-size: .85rem; }

/* badges: padlock = read-only, eye-slash = private */
.pp-badges[b-1luzpqj8yy] { position: absolute; top: 4px; right: 4px; display: flex; gap: 3px; }
.pp-badge[b-1luzpqj8yy] { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 3px;
            border-radius: 11px; background: rgba(255,255,255,.92); color: #212529; font-size: .8rem; box-shadow: 0 0 2px rgba(0,0,0,.4); }

.pp-meta[b-1luzpqj8yy]  .pp-private { font-weight: 600; color: #315678; }
.pp-locked[b-1luzpqj8yy] { background: #fff6d6; border: 1px solid #e0c35a; border-radius: 6px; padding: 4px 8px; font-size: .85rem; }
.pp-confirm[b-1luzpqj8yy] { background: #fdecea; border: 1px solid #e6a19a; border-radius: 6px; padding: 6px 8px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* OCR */
.pp-read[b-1luzpqj8yy] { background: #4a6f8f; }
.pp-ocr-count[b-1luzpqj8yy] { font-size: .75rem; color: #666; }
.pp-ocr-count.over[b-1luzpqj8yy] { color: #b00020; font-weight: 700; }

/* 10-26-26 Claude: OCR "Add to Line" group */
.pp-ocr-line[b-1luzpqj8yy] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 6px 8px; border: 1px solid #9fb4c8; border-radius: 6px; background: #e7eef5; font-size: .9rem; }
.pp-ocr-line > span[b-1luzpqj8yy] { flex: 1 1 100%; }

/* 10-26-26 Claude: full line/task note */
.pp-full[b-1luzpqj8yy] { font-size: .8rem; color: #7a5b00; background: #fff8e1; border: 1px solid #e6c65c; border-radius: 6px; padding: 4px 8px; }

/* 10-26-26 Claude: wait prompt (Damian 10-26 - first loads can be slow) */
.wait[b-1luzpqj8yy] { display: flex; align-items: center; gap: 10px; padding: 14px 4px; color: #315678; font-size: .95rem; }
.wait-spinner[b-1luzpqj8yy] { width: 20px; height: 20px; border: 3px solid #c9d6e3; border-top-color: #315678; border-radius: 50%; animation: wait-spin-b-1luzpqj8yy .8s linear infinite; flex: 0 0 auto; }
@keyframes wait-spin-b-1luzpqj8yy { to { transform: rotate(360deg); } }

/* 10-26-26 Claude: Published Location row */
.pp-loc[b-1luzpqj8yy] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 6px 8px; border: 1px solid #ccd; border-radius: 6px; background: #f6f7fa; }
.pp-loc-label[b-1luzpqj8yy] { flex: 1 0 100%; font-size: .7rem; font-weight: 700; text-transform: uppercase; color: #315678; letter-spacing: .04em; }
.pp-loc-value[b-1luzpqj8yy] { flex: 1 1 10rem; min-width: 0; font-size: .9rem; }

/* 10-27-26 Claude: Delete - red, only for staff with CanDelete */
.pp-delete[b-1luzpqj8yy] { border: 1px solid #b00020; border-radius: 6px; background: #b00020; color: white; padding: .45rem 1rem; font-size: 1rem; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.pp-delete:disabled[b-1luzpqj8yy] { opacity: .5; cursor: default; }
.pp-confirm-danger[b-1luzpqj8yy] { border-color: #b00020; background: #fdecee; }

/* 10-27-26 Claude: Take picture on touch devices only; there "Add picture" becomes "Upload" */
.pp-take[b-1luzpqj8yy], .pp-add-touch[b-1luzpqj8yy] { display: none; }
@media (pointer: coarse) {
    .pp-take[b-1luzpqj8yy] { display: inline-flex; }
    .pp-add-touch[b-1luzpqj8yy] { display: inline; }
    .pp-add-desk[b-1luzpqj8yy] { display: none; }
}

/* 10-27-26 Claude: picture history (read-only, as frmPictureHistoryObject) */
.pp-hist[b-1luzpqj8yy] { border-top: 1px solid #d5dde6; padding-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.pp-hist-head[b-1luzpqj8yy] { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: #315678; letter-spacing: .04em; }
.pp-hist-empty[b-1luzpqj8yy] { font-size: .85rem; color: #666; }
.pp-hist-line[b-1luzpqj8yy] { background: #f6f7fa; border: 1px solid #e1e6ee; border-radius: 6px; padding: 6px 8px; }
.pp-hist-meta[b-1luzpqj8yy] { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: #555; }
.pp-hist-meta > span:first-child[b-1luzpqj8yy] { flex: 1; min-width: 0; }
.pp-hist-ack[b-1luzpqj8yy] { color: #2e7d32; font-weight: 700; }
.pp-hist-text[b-1luzpqj8yy] { font-size: .9rem; white-space: pre-wrap; word-break: break-word; margin-top: 2px; }

/* 11-01-26 Claude: picture history - shared HistoryPanel, opened on demand */
.ps-hist[b-1luzpqj8yy] { margin-top: 10px; }
.ps-hist-open[b-1luzpqj8yy] { border: 1px solid #b9c0ca; border-radius: 4px; background: #fff; padding: 4px 12px; cursor: pointer; }
.ps-hist-open:disabled[b-1luzpqj8yy] { opacity: .6; cursor: default; }
.ps-hist-note[b-1luzpqj8yy] { margin-left: 8px; font-size: .8rem; color: #5a6472; }

/* 11-7-26 17:05 Claude: Read text - spinner while the picture is read */
.pp-reading[b-1luzpqj8yy] { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pp-spin[b-1luzpqj8yy] { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #d6e2ee; border-top-color: #315678; animation: pp-spin-b-1luzpqj8yy .8s linear infinite; flex: 0 0 auto; }
@keyframes pp-spin-b-1luzpqj8yy { to { transform: rotate(360deg); } }
/* /Features/TechWorkspace/PictureViewer.razor.rz.scp.css */
/* dts - 10-26-26 - Claude: read-only picture viewer (queue camera button) - built w the help of AI */
.pv[b-qxq306n66m] { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom); /* 10-26-26 Claude: iPhone - stay above Safari's toolbar */ z-index: 2200; background: rgba(0,0,0,.92); display: flex; flex-direction: column; }
.pv-img[b-qxq306n66m] { flex: 1; min-height: 0; position: relative; overflow: hidden; }   /* 10-26-26 Claude: Safari - see PicturePanel */
.pv-img img[b-qxq306n66m] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.pv-meta[b-qxq306n66m] { flex: 0 0 auto; max-height: 45dvh; overflow: auto; background: white; padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; font-size: .9rem; color: #212529; }
.pv-muted[b-qxq306n66m] { color: #666; font-size: .8rem; }
.pv-error[b-qxq306n66m] { color: #b00020; }
.pv-close[b-qxq306n66m] { align-self: flex-end; border: 1px solid #ccd; border-radius: 6px; background: #f6f7fa; padding: .45rem 1rem; font-size: 1rem; cursor: pointer; color: #212529; }
/* /Features/TechWorkspace/VisitPictures.razor.rz.scp.css */
/* dts - 10-26-26 - Claude: picture tiles + full-screen viewer + full-screen editor - built w the help of AI */
.pp[b-haq8b7cxgt] { display: flex; flex-direction: column; gap: 8px; }
.pp-head[b-haq8b7cxgt] { display: flex; align-items: center; gap: 8px; }
.pp-name[b-haq8b7cxgt] { flex: 1; min-width: 0; font-weight: 700; color: #315678; }

.pp-add[b-haq8b7cxgt] {
    position: relative; overflow: hidden; border-radius: 8px; background: #315678; color: white;
    padding: .55rem 1rem; font-size: 1rem; cursor: pointer; white-space: nowrap;
}
.pp-add[b-haq8b7cxgt]  .pp-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.pp-grid[b-haq8b7cxgt] { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.pp-tile[b-haq8b7cxgt] {
    position: relative; aspect-ratio: 1 / 1; border: 1px solid #ccd; border-radius: 8px; background: #f3f4f7;
    display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0; cursor: pointer; color: #666;
}
.pp-tile img[b-haq8b7cxgt] { width: 100%; height: 100%; object-fit: cover; }
.pp-tile.empty[b-haq8b7cxgt] { border-style: dashed; cursor: default; text-align: center; font-size: .85rem; }
.pp-cap[b-haq8b7cxgt] {
    position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.55); color: white;
    font-size: .7rem; line-height: 1.25; padding: 2px 4px; text-align: left; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.pp-loading[b-haq8b7cxgt] { font-size: .75rem; }

.pp-viewer[b-haq8b7cxgt] { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom); /* 10-26-26 Claude: iPhone - stay above Safari's toolbar */ z-index: 50; background: rgba(0,0,0,.92); display: flex; flex-direction: column; }
/* 10-26-26 Claude: Safari ignores max-height:100% on an image in a flex area and shows it full size (Damian 10-26 "HUGE").
   Pin the image to the box instead - it scales to fit in every browser. */
.pp-viewer-img[b-haq8b7cxgt] { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.pp-viewer-img img[b-haq8b7cxgt] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.pp-meta[b-haq8b7cxgt] { background: white; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; max-height: 45vh; max-height: 45dvh; overflow: auto; flex: 0 0 auto; }
.pp-meta label[b-haq8b7cxgt] { display: flex; flex-direction: column; font-size: .75rem; font-weight: 700; color: #315678; gap: 2px; }
/* 10-27-26 Claude: DevExpress editors draw their own box; scoped CSS reaches them only through ::deep */
.pp-meta-ro[b-haq8b7cxgt] { font-size: .9rem; }
/* 10-26-26 Claude: who/when on its own line, buttons one height and never word-wrapped (Damian 10-26 "messy") */
.pp-meta-buttons[b-haq8b7cxgt] { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.pp-who[b-haq8b7cxgt] { flex: 1 0 100%; font-size: .75rem; color: #666; }
.pp-who:empty[b-haq8b7cxgt] { display: none; }
.pp-save[b-haq8b7cxgt] { border: 1px solid #315678; border-radius: 6px; background: #315678; color: white; padding: .45rem 1rem; font-size: 1rem; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.pp-save:disabled[b-haq8b7cxgt] { opacity: .5; cursor: default; }
.pp-closebtn[b-haq8b7cxgt] { border: 1px solid #ccd; border-radius: 6px; background: #f6f7fa; padding: .45rem 1rem; font-size: 1rem; line-height: 1.2; white-space: nowrap; cursor: pointer; color: #212529; }

.pp-editor[b-haq8b7cxgt] { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom); /* 10-26-26 Claude: iPhone - stay above Safari's toolbar */ z-index: 60; background: white; overflow: auto; }

.pp-status[b-haq8b7cxgt] { color: #666; font-size: .85rem; }
.pp-error[b-haq8b7cxgt] { color: #b00020; font-size: .85rem; }

/* badges: padlock = read-only, eye-slash = private */
.pp-badges[b-haq8b7cxgt] { position: absolute; top: 4px; right: 4px; display: flex; gap: 3px; }
.pp-badge[b-haq8b7cxgt] { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 3px;
            border-radius: 11px; background: rgba(255,255,255,.92); color: #212529; font-size: .8rem; box-shadow: 0 0 2px rgba(0,0,0,.4); }

.pp-meta[b-haq8b7cxgt]  .pp-private { font-weight: 600; color: #315678; }
.pp-locked[b-haq8b7cxgt] { background: #fff6d6; border: 1px solid #e0c35a; border-radius: 6px; padding: 4px 8px; font-size: .85rem; }
.pp-confirm[b-haq8b7cxgt] { background: #fdecea; border: 1px solid #e6a19a; border-radius: 6px; padding: 6px 8px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* OCR */
.pp-read[b-haq8b7cxgt] { background: #4a6f8f; }
.pp-ocr-count[b-haq8b7cxgt] { font-size: .75rem; color: #666; }
.pp-ocr-count.over[b-haq8b7cxgt] { color: #b00020; font-weight: 700; }

/* 10-26-26 Claude: OCR "Add to Line" group */
.pp-ocr-line[b-haq8b7cxgt] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 6px 8px; border: 1px solid #9fb4c8; border-radius: 6px; background: #e7eef5; font-size: .9rem; }
.pp-ocr-line > span[b-haq8b7cxgt] { flex: 1 1 100%; }

/* 10-26-26 Claude: full line/task note */
.pp-full[b-haq8b7cxgt] { font-size: .8rem; color: #7a5b00; background: #fff8e1; border: 1px solid #e6c65c; border-radius: 6px; padding: 4px 8px; }

/* 10-26-26 Claude: wait prompt (Damian 10-26 - first loads can be slow) */
.wait[b-haq8b7cxgt] { display: flex; align-items: center; gap: 10px; padding: 14px 4px; color: #315678; font-size: .95rem; }
.wait-spinner[b-haq8b7cxgt] { width: 20px; height: 20px; border: 3px solid #c9d6e3; border-top-color: #315678; border-radius: 50%; animation: wait-spin-b-haq8b7cxgt .8s linear infinite; flex: 0 0 auto; }
@keyframes wait-spin-b-haq8b7cxgt { to { transform: rotate(360deg); } }

/* 10-26-26 Claude: Published Location row */
.pp-loc[b-haq8b7cxgt] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 6px 8px; border: 1px solid #ccd; border-radius: 6px; background: #f6f7fa; }
.pp-loc-label[b-haq8b7cxgt] { flex: 1 0 100%; font-size: .7rem; font-weight: 700; text-transform: uppercase; color: #315678; letter-spacing: .04em; }
.pp-loc-value[b-haq8b7cxgt] { flex: 1 1 10rem; min-width: 0; font-size: .9rem; }

/* 10-27-26 Claude: Delete - red, only for staff with CanDelete */
.pp-delete[b-haq8b7cxgt] { border: 1px solid #b00020; border-radius: 6px; background: #b00020; color: white; padding: .45rem 1rem; font-size: 1rem; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.pp-delete:disabled[b-haq8b7cxgt] { opacity: .5; cursor: default; }
.pp-confirm-danger[b-haq8b7cxgt] { border-color: #b00020; background: #fdecee; }

/* 10-27-26 Claude: Take picture on touch devices only; there "Add picture" becomes "Upload" */
.pp-take[b-haq8b7cxgt], .pp-add-touch[b-haq8b7cxgt] { display: none; }
@media (pointer: coarse) {
    .pp-take[b-haq8b7cxgt] { display: inline-flex; }
    .pp-add-touch[b-haq8b7cxgt] { display: inline; }
    .pp-add-desk[b-haq8b7cxgt] { display: none; }
}

/* 10-27-26 Claude: picture history (read-only, as frmPictureHistoryObject) */
.pp-hist[b-haq8b7cxgt] { border-top: 1px solid #d5dde6; padding-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.pp-hist-head[b-haq8b7cxgt] { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: #315678; letter-spacing: .04em; }
.pp-hist-empty[b-haq8b7cxgt] { font-size: .85rem; color: #666; }
.pp-hist-line[b-haq8b7cxgt] { background: #f6f7fa; border: 1px solid #e1e6ee; border-radius: 6px; padding: 6px 8px; }
.pp-hist-meta[b-haq8b7cxgt] { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: #555; }
.pp-hist-meta > span:first-child[b-haq8b7cxgt] { flex: 1; min-width: 0; }
.pp-hist-ack[b-haq8b7cxgt] { color: #2e7d32; font-weight: 700; }
.pp-hist-text[b-haq8b7cxgt] { font-size: .9rem; white-space: pre-wrap; word-break: break-word; margin-top: 2px; }

/* dts - 11-01-26 - Claude: visit pictures screen (VisitPictures) - breadcrumb bar, add row, one heading per line / task */
.vp[b-haq8b7cxgt] { display: flex; flex-direction: column; gap: 8px; }
.vp-bar[b-haq8b7cxgt] { display: flex; align-items: center; gap: 8px; background: #f6f7fa; border: 1px solid #d9dde3; border-radius: 8px; padding: 6px 10px; }
.vp-crumbs[b-haq8b7cxgt] { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; overflow: hidden; }
.vp-crumb[b-haq8b7cxgt] { border: 0; background: transparent; color: #315678; text-decoration: underline; cursor: pointer; font-size: 1rem; padding: 0; }
.vp-sep[b-haq8b7cxgt] { color: #8a93a0; }
.vp-here[b-haq8b7cxgt] { font-weight: 700; color: #1f2a36; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-add-row[b-haq8b7cxgt] { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-group[b-haq8b7cxgt] { margin-top: 6px; font-size: .74rem; font-weight: 700; color: #315678; text-transform: uppercase; letter-spacing: .03em; }
/* /Features/VehicleBasics/VehicleBasicsWizard.razor.rz.scp.css */
/* 11-7-26 Claude: vehicle basics wizard - house look (brand blue #315678), big touch targets for the iPad */
.vb-error[b-sgw7wr5ael] { background: #fde8e8; border: 1px solid #e3a3a3; border-radius: 6px; padding: .4rem .7rem; }
.vb-status[b-sgw7wr5ael] { background: #e8f5e2; border: 1px solid #b6d9a6; border-radius: 6px; padding: .4rem .7rem; }
/* 11-8-26 Claude: usage box is now Shared/VehicleUsage; on-file line, VIN length label, Confirm changes */
.vb-onfile[b-sgw7wr5ael] { font-size: .85rem; color: #333; background: #f3f6f9; border-left: 3px solid #315678; border-radius: 4px; padding: .3rem .55rem; }
.vb-onfile-cap[b-sgw7wr5ael] { font-size: .72rem; font-weight: 700; color: #315678; text-transform: uppercase; margin-right: .35rem; }
.vb-vinlen[b-sgw7wr5ael] { font-size: .8rem; font-weight: 700; }
.vb-changes[b-sgw7wr5ael] { display: flex; flex-direction: column; gap: .35rem; margin: .3rem 0; }
.vb-nochange[b-sgw7wr5ael] { font-size: .88rem; color: #555; }
.vb-chgstep[b-sgw7wr5ael] { font-size: .9rem; border: 1px solid #dde3ea; border-radius: 6px; padding: .3rem .55rem; background: #fbfcfd; }
.vb-chgline[b-sgw7wr5ael] { padding-left: .8rem; }
/* 11-8-26 Claude: Read text sits under its own field (VIN / Licence plate / Mileage) with that field's readings */
.vb-read[b-sgw7wr5ael] { display: flex; flex-direction: column; gap: .4rem; margin: .2rem 0 .3rem; }
/* 11-7-26 19:40 Claude: Read text like the inspection line (.ie-readbtn) - the file input covers the button, invisible */
.vb-readbtn[b-sgw7wr5ael] { position: relative; overflow: hidden; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; padding: 2px 10px; font-size: .85rem; }
.vb-readbtn[b-sgw7wr5ael]  .vb-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.vb-hint[b-sgw7wr5ael] { font-size: .82rem; color: #666; }
.vb-picedit[b-sgw7wr5ael] { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom); z-index: 210; background: #fff; overflow: auto; }
.vb-prop[b-sgw7wr5ael] { border: 1px solid #c9d3de; border-radius: 6px; padding: .4rem .55rem; background: #f7f9fb; }
.vb-prop.warn[b-sgw7wr5ael] { background: #fff8e6; border-color: #e8c97a; }
.vb-was[b-sgw7wr5ael] { color: #777; font-size: .85rem; margin-left: .4rem; }
.vb-evidence[b-sgw7wr5ael] { font-size: .82rem; color: #555; font-style: italic; margin: .15rem 0 .3rem; }
.vb-prop-btns[b-sgw7wr5ael] { display: flex; gap: .4rem; }
.vb-body[b-sgw7wr5ael] { display: flex; flex-direction: column; gap: .35rem; }   /* 11-8-26: the shell panel draws the frame */
.vb-lbl[b-sgw7wr5ael] { font-size: .78rem; font-weight: 700; color: #315678; text-transform: uppercase; margin-top: .3rem; }
.vb-in[b-sgw7wr5ael] { font-size: 1rem; padding: .4rem .5rem; border: 1px solid #c3ccd6; border-radius: 6px; width: 100%; box-sizing: border-box; }
.vb-short[b-sgw7wr5ael] { max-width: 11rem; }
.vb-vin[b-sgw7wr5ael] { font-family: Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.vb-check[b-sgw7wr5ael] { font-size: .88rem; }
.vb-check.ok[b-sgw7wr5ael] { color: #2e7d32; }
.vb-check.bad[b-sgw7wr5ael] { color: #b3261e; }
.vb-transfer[b-sgw7wr5ael] { background: #fff3e0; border: 1px solid #f0c27a; border-radius: 6px; padding: .4rem .6rem; font-size: .9rem; }
.vb-chk[b-sgw7wr5ael] { display: flex; align-items: center; gap: .45rem; font-size: .95rem; padding: .2rem 0; }
.vb-chk input[b-sgw7wr5ael] { width: 1.2rem; height: 1.2rem; }
.vb-chosen[b-sgw7wr5ael] { font-size: .95rem; }
.vb-candtitle[b-sgw7wr5ael] { font-size: .78rem; font-weight: 700; color: #666; text-transform: uppercase; margin-top: .4rem; }
.vb-cands[b-sgw7wr5ael] { display: flex; flex-direction: column; gap: .25rem; }
.vb-cand[b-sgw7wr5ael] { display: flex; align-items: baseline; gap: .6rem; text-align: left; border: 1px solid #d3dae2; background: #fff; border-radius: 6px; padding: .45rem .6rem; cursor: pointer; }
.vb-cand.chosen[b-sgw7wr5ael] { border-color: #315678; background: #eaf0f6; font-weight: 600; }
.vb-candname[b-sgw7wr5ael] { flex: 1; }
.vb-pct[b-sgw7wr5ael], .vb-cnt[b-sgw7wr5ael] { font-size: .8rem; color: #666; }
.vb-new[b-sgw7wr5ael] { border-left: 3px solid #fcd08d; padding-left: .6rem; display: flex; flex-direction: column; gap: .3rem; }
.vb-newtitle[b-sgw7wr5ael] { font-weight: 700; color: #8a5a00; }
.vb-typenew[b-sgw7wr5ael] { margin-top: .2rem; font-size: .9rem; }
.vb-row[b-sgw7wr5ael] { display: flex; gap: .8rem; flex-wrap: wrap; }
.vb-row > span[b-sgw7wr5ael] { display: flex; flex-direction: column; }
.vb-miles[b-sgw7wr5ael] { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; border-bottom: 1px solid #eef1f4; padding: .3rem 0; }
.vb-allgood[b-sgw7wr5ael] { color: #2e7d32; font-weight: 600; }
.vb-btn[b-sgw7wr5ael] { border: 1px solid #315678; background: #fff; color: #315678; border-radius: 6px; padding: .5rem .9rem; font-size: .95rem; cursor: pointer; align-self: flex-start; }
.vb-btn.vb-primary[b-sgw7wr5ael] { background: #315678; color: #fff; }
.vb-btn:disabled[b-sgw7wr5ael], .vb-btn.dis[b-sgw7wr5ael] { opacity: .45; cursor: default; }
.vb-wait[b-sgw7wr5ael] { display: flex; gap: .6rem; align-items: center; padding: 2rem 0; }
.vb-overlay[b-sgw7wr5ael] { position: fixed; inset: 0; background: rgba(0,0,0,.08); z-index: 190; display: flex; align-items: center; justify-content: center; }
.vb-busybox[b-sgw7wr5ael] { background: #fff; padding: .8rem 1.1rem; border-radius: 8px; display: flex; gap: .6rem; align-items: center; box-shadow: 0 4px 18px rgba(0,0,0,.2); }
.vb-spin[b-sgw7wr5ael] { width: 18px; height: 18px; border: 3px solid #c9d3de; border-top-color: #315678; border-radius: 50%; animation: vbspin-b-sgw7wr5ael .8s linear infinite; display: inline-block; }
@keyframes vbspin-b-sgw7wr5ael { to { transform: rotate(360deg); } }

/* 11-8-26 Claude: the wizard frame is Shared/WizardShell now (old header, chip tabs, Previous / Next, step-7 save row removed);
   busy + picture editor sit above the modal (150) */
.vb-askexit[b-sgw7wr5ael] { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; background: #fff8e6; border: 1px solid #e8c97a; border-radius: 6px; padding: .4rem .6rem; }
/* 11-8-26 11:05 Claude: the "Working..." overlay waits .35 s before it shows and blocks taps - a tap on >> / Save right after
   typing in a box reaches its button and queues behind the box's round trip (was lost: needed a second tap - Damian 10:58) */
.vb-overlay[b-sgw7wr5ael] { opacity: 0; pointer-events: none; animation: vb-overlay-show-b-sgw7wr5ael 0s linear .35s forwards; }
@keyframes vb-overlay-show-b-sgw7wr5ael { to { opacity: 1; pointer-events: auto; } }

/* 11-8-26 11:10 Claude: "close without saving?" popup over the wizard (above the modal, under the busy overlay) */
.vb-confirm-back[b-sgw7wr5ael] { position: fixed; inset: 0; z-index: 180; background: rgba(20, 30, 40, .25); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.vb-confirm[b-sgw7wr5ael] { background: #fff8e6; border: 1px solid #e8c97a; border-radius: 8px; padding: .9rem 1.1rem; width: min(30rem, 100%); max-height: 80dvh; overflow-y: auto; box-shadow: 0 8px 28px rgba(0,0,0,.3); display: flex; flex-direction: column; gap: .5rem; }
.vb-confirm-h[b-sgw7wr5ael] { font-weight: 700; color: #315678; font-size: 1.05rem; }
.vb-confirm-list[b-sgw7wr5ael] { margin: 0; padding-left: 1.2rem; font-size: .9rem; }
.vb-confirm-btns[b-sgw7wr5ael] { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
/* /Layout/MainLayout.razor.rz.scp.css */
/* dts - 10-17-26 - 585one shell layout */

.shell[b-uvb3kmiixm] { display: flex; flex-direction: column; height: 100vh; height: 100dvh; padding-bottom: env(safe-area-inset-bottom); box-sizing: border-box; } /* 10-26-26 Claude: iPhone toolbar */

.topbar[b-uvb3kmiixm] {
    display: flex; align-items: center; gap: 1rem;
    padding: .45rem 1rem; background: #315678; color: #fff;
    border-bottom: 3px solid #FCD08D;
}
.brand[b-uvb3kmiixm] { font-weight: 600; letter-spacing: .02em; }
.who[b-uvb3kmiixm] { margin-left: .75rem; padding: .15rem .7rem; border-radius: 999px; background: rgba(255,255,255,.9); color: #1f3550;
       font-weight: 700; white-space: nowrap; }   /* 10-30-26 Claude: logged-in user, must stand out */
.spacer[b-uvb3kmiixm] { flex: 1; }

.shell-body[b-uvb3kmiixm] { flex: 1; display: flex; min-height: 0; }
.page-area[b-uvb3kmiixm] { flex: 1; min-width: 0; overflow: auto; padding: 1rem; }

/* frmMain's background tells you there's an interrupt waiting (Globals.BACKGROUND_*), same here */
.page-area.bg-level-0[b-uvb3kmiixm] { background: linear-gradient(160deg, powderblue 0%, #fff 70%); }   /* BACKGROUND_NO_INTERRUPT */
.page-area.bg-level-1[b-uvb3kmiixm] { background: linear-gradient(160deg, yellow 0%, #fff 70%); }       /* BACKGROUND_SINGLE_INTERRUPT */
.page-area.bg-level-2[b-uvb3kmiixm] { background: linear-gradient(160deg, tomato 0%, #fff 70%); }       /* BACKGROUND_CONTINUAL_INTERRUPT */
.page-area.bg-level-3[b-uvb3kmiixm] { background: #fff; }   /* new-message alert: frmMain shows White for 30 s (10-24-26 Claude) */

/* the queue: always there on the right (like the WinForms MDI window) */
.queue[b-uvb3kmiixm] {
    width: 440px; flex-shrink: 0; overflow: hidden;
    display: flex; flex-direction: column;
    border-left: 1px solid #dde; background: #fafbfc; padding: .6rem .75rem;
}

/* 10-26-26 Claude: tab bar - equal tabs, active = filled gold, interrupt colour lives in the badge (Damian 10-26) */
.tabs[b-uvb3kmiixm] { display: flex; gap: 6px; }
.tab[b-uvb3kmiixm] {
    min-width: 7.5rem; height: 2.2rem; box-sizing: border-box;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid #FCD08D; border-radius: 999px; background: transparent; color: #fff;
    padding: 0 .9rem; font: inherit; font-size: .95rem; line-height: 1; white-space: nowrap; cursor: pointer;
}
.tab:hover[b-uvb3kmiixm] { background: rgba(252,208,141,.2); }
.tab.active[b-uvb3kmiixm] { background: #FCD08D; color: #1f3550; font-weight: 700; }
.badge[b-uvb3kmiixm] { min-width: 1.4rem; padding: 2px 6px; border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1.2;
         background: rgba(255,255,255,.25); color: inherit; }
.tab.active .badge[b-uvb3kmiixm] { background: rgba(31,53,80,.15); }
.badge.alert-1[b-uvb3kmiixm] { background: yellow; color: #000; }
.badge.alert-2[b-uvb3kmiixm] { background: tomato; color: #000; }
.tab-msg[b-uvb3kmiixm] { display: none; }   /* wide screens: the queue is always visible, no tab needed */
@media (min-width: 901px) {
    .tab-pics.page[b-uvb3kmiixm] { background: #FCD08D; color: #1f3550; font-weight: 700; }   /* wide: the page shown (Finder or Pictures) - 10-31-26 Claude */
}

@media (max-width: 900px) {
    .tab-msg[b-uvb3kmiixm] { display: inline-flex; }
    .brand-long[b-uvb3kmiixm] { display: none; }   /* phone: just "585one", so the tabs fit on one line */
    .tabs[b-uvb3kmiixm] { flex: 0 0 auto; }
    .tab[b-uvb3kmiixm] { min-width: 6.5rem; }
    .queue[b-uvb3kmiixm] {
        display: none; position: fixed; top: 48px; right: 0; bottom: 0;
        width: min(440px, 100vw); z-index: 10; box-shadow: -4px 0 12px rgba(0, 0, 0, .15);
    }
    .queue.open[b-uvb3kmiixm] { display: flex; }
}

/* 11-6-26 08:00 Claude: Lost connection bar (TurnkeySession.ConnectionLost) */
.lost-bar[b-uvb3kmiixm] { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #8a1c1c; color: #fff; font-weight: 600; position: sticky; top: 0; z-index: 2000; }
.lost-bar span[b-uvb3kmiixm] { flex: 1 1 auto; }
.lost-bar button[b-uvb3kmiixm] { border: 0; border-radius: 6px; padding: 6px 16px; font-weight: 700; background: #fff; color: #8a1c1c; cursor: pointer; }
/* /Pages/Home.razor.rz.scp.css */
/* dts - 10-26-26 - Claude: home is My visits now; its styles live in Features/TechWorkspace - built w the help of AI */
/* /Shared/BootProgressPanel.razor.rz.scp.css */
/* dts - 11-13-26 18:20 - Claude: start-up progress (card in the message panel, slim bar under the top bar) - built w the help of AI */
.bp-card[b-rzhwcxghbc] { margin: 12px; padding: 12px 14px; background: #fff; border: 1px solid #d6dde6; border-radius: 8px; color: #24364a; }
.bp-head[b-rzhwcxghbc] { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 8px; }
.bp-count[b-rzhwcxghbc] { font-weight: 400; font-size: .85em; color: #5a6b7d; }
.bp-track[b-rzhwcxghbc] { height: 6px; background: #e6ebf1; border-radius: 3px; overflow: hidden; }
.bp-fill[b-rzhwcxghbc] { height: 100%; background: #315678; transition: width .3s ease; }
.bp-list[b-rzhwcxghbc] { list-style: none; margin: 10px 0 0; padding: 0; }
.bp-step[b-rzhwcxghbc] { display: grid; grid-template-columns: 1.4em 1fr auto; align-items: center; gap: 6px; padding: 3px 0; font-size: .92em; }
.bp-icon[b-rzhwcxghbc] { text-align: center; }
.bp-ms[b-rzhwcxghbc] { font-size: .82em; color: #6b7b8c; font-variant-numeric: tabular-nums; }
.bp-waiting[b-rzhwcxghbc] { color: #8a97a5; }
.bp-running .bp-label[b-rzhwcxghbc] { font-weight: 600; }
.bp-done .bp-icon[b-rzhwcxghbc] { color: #2e7d32; font-weight: 700; }
.bp-failed[b-rzhwcxghbc] { color: #b3261e; }
.bp-spin[b-rzhwcxghbc] { display: inline-block; width: .9em; height: .9em; border: 2px solid #c5d0dc; border-top-color: #315678; border-radius: 50%; animation: bp-rot-b-rzhwcxghbc .8s linear infinite; vertical-align: middle; }
@keyframes bp-rot-b-rzhwcxghbc { to { transform: rotate(360deg); } }

.bp-slim[b-rzhwcxghbc] { display: flex; align-items: center; gap: 10px; padding: 3px 12px; background: #eef3f8; border-bottom: 1px solid #d6dde6; font-size: .82em; color: #3a4d61; transition: opacity .6s ease; }
.bp-slim .bp-track[b-rzhwcxghbc] { flex: 0 0 140px; height: 4px; }
.bp-slim.bp-done[b-rzhwcxghbc] { opacity: .5; }
.bp-text[b-rzhwcxghbc] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-notice[b-rzhwcxghbc] { display: block; margin-top: 8px; padding: 4px 8px; background: #fff4d6; border: 1px solid #e8cf86; border-radius: 4px; font-size: .85em; color: #6b5310; }
.bp-slim .bp-notice[b-rzhwcxghbc] { display: inline; margin: 0 0 0 6px; padding: 1px 6px; }
/* /Shared/FormattedText.razor.rz.scp.css */
/* dts - 10-31-26 - Claude: the AI review panel look (AIReviewHtml) for any 5851 text block - built w the help of AI */
.ft[b-43lst2n175] { font-family: 'Segoe UI', sans-serif; font-size: .82rem; color: #222; line-height: 1.45; white-space: normal; }
.ft-p[b-43lst2n175] { margin: 0 0 2px; overflow-wrap: anywhere; }
.ft-gap[b-43lst2n175] { height: 8px; }
.ft-h[b-43lst2n175] { font-weight: 700; color: #315678; font-size: .72rem; letter-spacing: .03em; text-transform: uppercase; margin: 8px 0 3px; }
.ft-h:first-child[b-43lst2n175] { margin-top: 0; }
.ft-sub[b-43lst2n175] { font-weight: 600; color: #315678; font-size: .76rem; margin: 6px 0 2px; }
.ft-pair[b-43lst2n175] { display: grid; grid-template-columns: minmax(5.5em, max-content) 1fr; column-gap: 10px; padding: 1px 0; border-bottom: 1px dotted #ece4cf; }
.ft-lbl[b-43lst2n175] { color: #6b7380; font-size: .74rem; padding-top: 1px; white-space: nowrap; }
.ft-val[b-43lst2n175] { overflow-wrap: anywhere; }
.ft-li[b-43lst2n175] { position: relative; padding-left: 14px; margin: 1px 0; }
.ft-li[b-43lst2n175]::before { content: "•"; position: absolute; left: 3px; color: #315678; }
.ft-warn[b-43lst2n175] { background: #fceaea; border-left: 3px solid #c0392b; color: #7a1f18; padding: 5px 8px; margin: 3px 0 6px; }
.ft-nit[b-43lst2n175] { color: #8a6d1a; font-style: italic; margin: 2px 0 6px; padding-left: 6px; border-left: 3px solid #FCD08D; }
.ft[b-43lst2n175]  .ft-tag { display: inline-block; font-size: .66rem; font-weight: 600; line-height: 1.3; padding: 0 6px; margin: 0 3px 0 0; border-radius: 6px; background: #eef2f6; color: #315678; border: 1px solid #d3dde8; vertical-align: 1px; }
/* 10-31-26 20:25: OCR reading label + the text exactly as read */
.ft-ocr[b-43lst2n175] { display: inline-block; margin: 4px 0 3px; padding: 0 7px; border-radius: 6px; background: #fdf3dc; border: 1px solid #f0d9a4; color: #7a5a10; font-size: .66rem; font-weight: 700; letter-spacing: .03em; }
.ft-verb[b-43lst2n175] { color: #333; }
/* 10-31-26 22:25: quoted replies ("On <date> <Name> Wrote:") - header + indented text with a left bar, one step per quote */
.ft-q[b-43lst2n175] { border-left: 2px solid #d3dde8; padding-left: 8px; color: #3d4652; }
.ft-d2[b-43lst2n175] { margin-left: 10px; border-left-color: #c3cfdc; }
.ft-d3[b-43lst2n175] { margin-left: 20px; border-left-color: #b3c1d1; }
.ft-qh[b-43lst2n175] { margin: 6px 0 2px; font-size: .7rem; color: #6b7380; }
.ft-qn[b-43lst2n175] { font-weight: 700; color: #315678; }
.ft-qt[b-43lst2n175] { color: #8a93a0; }
/* /Shared/HistoryButton.razor.rz.scp.css */
/* dts - 11-9-26 18:20 - Claude: the look comes from the shared .b5 button (wwwroot/css/app.css) - only the extras live here */
.hist-btn-busy[b-mevrb042uy] { font-size: .8rem; line-height: 1; }
.hist-btn-txt[b-mevrb042uy] { margin-left: 4px; }

/* dts - 11-9-26 20:30 - Claude: the count after the icon / words - same weight as the caption, a touch smaller */
.hist-btn-count[b-mevrb042uy] { font-size: .82rem; font-variant-numeric: tabular-nums; }
/* /Shared/HistoryPanel.razor.rz.scp.css */
/* dts - 11-01-26 09:10 - Claude: shared history panel - same look as the finder history (fd-hist*), renamed hp-*. - built w the help of AI */
.hp[b-7kusf9hqsw] { display: flex; flex-direction: column; min-height: 0; background: #fbf7ec; border: 1px solid #d9c9a0; border-radius: 4px; }
.hp-bar[b-7kusf9hqsw] { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-bottom: 1px solid #e6dcc0; }
.hp-bar input[b-7kusf9hqsw] { flex: 1 1 12em; min-width: 9em; padding: 3px 6px; border: 1px solid #b9c0ca; border-radius: 4px; }
.hp-iconbtn[b-7kusf9hqsw] { width: 30px; height: 30px; flex: 0 0 auto; border: 1px solid #b9c0ca; border-radius: 4px; background: #fff; color: #2e8b3a; font-size: 1rem; cursor: pointer; }
.hp-iconbtn:disabled[b-7kusf9hqsw] { color: #aab; cursor: default; }
.hp-kindbtn[b-7kusf9hqsw] { flex: 0 0 auto; border: 1px solid #b9c0ca; border-radius: 12px; background: #fff; color: #3a414c; font-size: .72rem; padding: 2px 9px; cursor: pointer; }
.hp-kindbtn.open[b-7kusf9hqsw] { background: #eef2f6; }
.hp-kinds[b-7kusf9hqsw] { display: flex; flex-wrap: wrap; gap: 3px; padding: 4px 10px; border-bottom: 1px solid #e6dcc0; }
.hp-kind[b-7kusf9hqsw] { font-size: .66rem; font-weight: 600; line-height: 1.4; padding: 0 8px; border-radius: 9px; border: 1px solid #d9cfb2; background: #fff; color: #6b5d3a; cursor: pointer; }
.hp-kind.on[b-7kusf9hqsw] { box-shadow: 0 0 0 2px #315678; }
.hp-kindcur[b-7kusf9hqsw] { display: inline-flex; align-items: center; padding: 0 2px 0 0; flex: 0 0 auto; font-size: .72rem; }
.hp-kindcur-lbl[b-7kusf9hqsw], .hp-kindclear[b-7kusf9hqsw] { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 1px 4px 1px 8px; }
.hp-kindclear[b-7kusf9hqsw] { padding: 1px 6px 1px 2px; }
.k-message[b-7kusf9hqsw] { background: #e3effc; color: #1d4f8a; border-color: #bcd6f3; }
.k-status[b-7kusf9hqsw]  { background: #fdebd3; color: #8a4b0b; border-color: #f4cf9d; }
.k-parts[b-7kusf9hqsw]   { background: #efe4f8; color: #5b2f86; border-color: #d8c2ee; }
.k-appt[b-7kusf9hqsw]    { background: #dff3e4; color: #1f6b35; border-color: #b6e0c1; }
.k-worklog[b-7kusf9hqsw] { background: #e6e6e6; color: #444;    border-color: #cfcfcf; }
.k-visit[b-7kusf9hqsw]   { background: #fbe3e3; color: #8c2323; border-color: #f0bcbc; }
.k-other[b-7kusf9hqsw]   { background: #f3eedf; color: #6b5d3a; border-color: #e2d8bd; }
.hp-note[b-7kusf9hqsw] { padding: 4px 10px; color: #8a1c1c; font-size: .8rem; }
.hp-muted[b-7kusf9hqsw] { font-size: .75rem; color: #5a6472; }
.hp-list[b-7kusf9hqsw] { flex: 1 1 0; min-height: 80px; max-height: 50vh; overflow: auto; scrollbar-gutter: stable; }
.hp-list:focus[b-7kusf9hqsw], .hp-row:focus[b-7kusf9hqsw] { outline: none; }
.hp-row[b-7kusf9hqsw] { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #efe6cf; background: transparent; padding: 4px 10px; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.hp-row.sel[b-7kusf9hqsw] { background: #fff; font-weight: 700; }
.hp-row.sel:focus-visible[b-7kusf9hqsw] { box-shadow: inset 3px 0 0 #315678; }
.hp-row:has(.hp-text)[b-7kusf9hqsw] { display: flex; align-items: center; gap: 5px; padding-left: 6px; }
.hp-age[b-7kusf9hqsw] { flex: 0 0 auto; min-width: 2.2em; color: #8a7a55; font-variant-numeric: tabular-nums; }
.hp-chip[b-7kusf9hqsw] { flex: 0 0 6.6em; box-sizing: border-box; font-size: .56rem; line-height: 1.08; padding: 1px 5px; border-radius: 6px; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: center; overflow-wrap: anywhere; font-weight: 600; border: 1px solid transparent; }
.hp-pic[b-7kusf9hqsw] { flex: 0 0 14px; display: inline-flex; }
.hp-text[b-7kusf9hqsw] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-card[b-7kusf9hqsw] { flex: 0 1 auto; min-height: 3em; max-height: 40vh; padding: 6px 10px; background: #fff; border-top: 1px solid #e6dcc0; box-shadow: inset 4px 0 0 #315678; overflow: auto; }
.hp-ctx[b-7kusf9hqsw] { font-size: .78rem; color: #3a414c; }
.hp-btn[b-7kusf9hqsw] { border: 1px solid #b9c0ca; border-radius: 4px; background: #fff; padding: 3px 10px; cursor: pointer; margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; }
.hp-primary[b-7kusf9hqsw] { background: #315678; border-color: #315678; color: #fff; margin-top: 0; }
.hp-btn:disabled[b-7kusf9hqsw] { opacity: .5; cursor: default; }
.hp-replybar[b-7kusf9hqsw] { display: flex; justify-content: flex-end; padding: 5px 10px; border-top: 1px solid #e6dcc0; }

/* dts - 11-9-26 11:25 - Claude: picked line + reply as one block (hp-detail); SideBySide = list left / that block right with the
   message using the full height (Damian 11-09). Stacks again on a narrow screen. */
.hp-detail[b-7kusf9hqsw] { display: flex; flex-direction: column; min-height: 0; }
.hp-split[b-7kusf9hqsw] { display: grid; grid-template-columns: minmax(260px, 2fr) 3fr; grid-template-rows: auto auto auto 1fr; }
.hp-split > .hp-bar[b-7kusf9hqsw], .hp-split > .hp-kinds[b-7kusf9hqsw], .hp-split > .hp-note[b-7kusf9hqsw] { grid-column: 1 / -1; }
.hp-split > .hp-list[b-7kusf9hqsw] { grid-column: 1; grid-row: 4; max-height: none; min-height: 0; border-right: 1px solid #e6dcc0; }
.hp-split > .hp-detail[b-7kusf9hqsw] { grid-column: 2; grid-row: 4; min-height: 0; }
.hp-split .hp-card[b-7kusf9hqsw] { flex: 1 1 auto; max-height: none; border-top: 0; font-size: .95rem; line-height: 1.4; }
.hp-split .hp-card.hp-muted[b-7kusf9hqsw] { display: flex; align-items: center; justify-content: center; color: #8a93a0; box-shadow: none; }
@media (max-width: 760px) {
    .hp-split[b-7kusf9hqsw] { display: flex; flex-direction: column; }
    .hp-split > .hp-list[b-7kusf9hqsw] { max-height: 45vh; border-right: 0; }
    .hp-split .hp-card[b-7kusf9hqsw] { max-height: none; }
}

/* dts - 11-9-26 16:20 - Claude: the always-visible type filter row in the popup */
.hp-filter[b-7kusf9hqsw] { align-items: center; }
.hp-filter-lbl[b-7kusf9hqsw] { font-size: .72rem; font-weight: 700; color: #315678; margin-right: 2px; }
.hp-filter .hp-kind[b-7kusf9hqsw] { font-size: .74rem; padding: 1px 10px; }

/* 11-12-26 Claude: line count + open time beside the refresh button */
.hp-size[b-7kusf9hqsw] { flex: 0 0 auto; font-size: .72rem; color: #5a6472; white-space: nowrap; align-self: center; }

/* 11-12-26 19:35 Claude: "Show 150 more" at the bottom of the paged history list */
.hp-more[b-7kusf9hqsw] { display: block; width: 100%; margin: 4px 0 6px; padding: 5px 8px; font-size: .78rem; color: #2d4a7a; background: #f3f6fb; border: 1px solid #d6dfec; border-radius: 4px; cursor: pointer; }
.hp-more:disabled[b-7kusf9hqsw] { color: #8a94a3; cursor: default; }
/* dts - 11-13-26 06:50 - Claude: the "Load all" warning row / loading row - text, then its buttons */
div.hp-more[b-7kusf9hqsw] { display: flex; align-items: center; gap: 6px; cursor: default; }
div.hp-more > span[b-7kusf9hqsw] { flex: 1; }
/* /Shared/HistoryPopup.razor.rz.scp.css */
/* dts - 11-9-26 11:05 - Claude: the shared history popup - large and movable on desktop / iPad, full screen on a phone */
.hpop-backdrop[b-17lsn7tcvb] { position: fixed; inset: 0; background: rgba(0, 0, 0, .12); display: flex; align-items: center; justify-content: center; }
.hpop[b-17lsn7tcvb] { width: min(1000px, 94vw); height: min(86vh, 900px); display: flex; flex-direction: column; background: #fbf7ec; border: 1px solid #d9c9a0;
        border-top: 4px solid #FCD08D; border-radius: 8px; box-shadow: 0 8px 28px rgba(0, 0, 0, .28); overflow: hidden;
        transform: translate(var(--hpop-dx, 0px), var(--hpop-dy, 0px)); }
.hpop-titlebar[b-17lsn7tcvb] { display: flex; align-items: baseline; gap: 10px; padding: 6px 8px 6px 14px; background: #315678; color: #fff; cursor: move;
                 touch-action: none; user-select: none; -webkit-user-select: none; }
.hpop-title[b-17lsn7tcvb] { font-weight: 700; font-size: 1rem; flex: none; }
.hpop-subject[b-17lsn7tcvb] { font-size: .88rem; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1 1 auto; }
.hpop-x[b-17lsn7tcvb] { margin-left: auto; flex: none; border: 0; border-radius: 4px; background: #c0392b; color: #fff; width: 32px; height: 28px; font-size: 1rem; cursor: pointer; align-self: center; }
.hpop-body[b-17lsn7tcvb] { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.hpop-body[b-17lsn7tcvb]  .hp { flex: 1 1 0; min-height: 0; border: 0; border-radius: 0; }
.hpop-body[b-17lsn7tcvb]  .hp-list { max-height: none; }
.hpop-note[b-17lsn7tcvb] { padding: 14px; color: #5a6472; }
@media (max-width: 760px) {
    .hpop-backdrop[b-17lsn7tcvb] { align-items: stretch; }
    .hpop[b-17lsn7tcvb] { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; transform: none; }
    .hpop-titlebar[b-17lsn7tcvb] { cursor: default; }
}
/* /Shared/InfoPanel.razor.rz.scp.css */
/* dts - 11-9-26 08:00 - Claude: general info panel (was the vehicle usage box) - light yellow, no scroll, lines flow into columns */
.ip[b-wguch9w6np] { background: #ffffe1; border: 1px solid #e6dfa0; border-radius: 6px; margin: 0 0 .4rem; }
.ip-head[b-wguch9w6np] { display: flex; align-items: baseline; gap: 6px; width: 100%; background: none; border: 0; padding: 2px 8px; cursor: pointer; text-align: left; min-width: 0; }
.ip-arrow[b-wguch9w6np] { color: #315678; font-size: .9rem; width: 1em; }
.ip-cap[b-wguch9w6np] { font-size: .78rem; font-weight: 700; color: #315678; text-transform: uppercase; flex: none; }
.ip-cap-fixed[b-wguch9w6np] { padding: 4px 10px 0; }
.ip-peek[b-wguch9w6np] { font-size: .78rem; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ip-body[b-wguch9w6np] { columns: 3 16rem; column-gap: 1.2rem; font-size: .78rem; line-height: 1.25; padding: 0 8px 4px; }
.ip.open .ip-head + .ip-body[b-wguch9w6np] { padding-left: 24px; }
.ip-body[b-wguch9w6np]  p { margin: 0; break-inside: auto; white-space: pre-wrap; }   /* dts - 11-9-26 10:25: was avoid - a long paragraph (owner's story) sat whole in one column and left the others empty (Damian 11-09); now the text flows evenly across the columns */
.ip-body[b-wguch9w6np]  p:empty { height: .3em; }
.ip-body[b-wguch9w6np]  b { color: #315678; font-weight: 700; }

/* dts - 11-9-26 10:25 - Claude: even column heights; no single orphan / widow line left at a column edge */
.ip-body[b-wguch9w6np] { column-fill: balance; orphans: 2; widows: 2; }

/* dts - 11-9-26 17:25 - Claude: side box (related facts) - left of the text, light blue-grey so it reads as "not usage itself";
   stacks on top on a phone */
.ip-row[b-wguch9w6np] { display: flex; align-items: flex-start; gap: 10px; padding: 0 8px 4px; }
.ip-row > .ip-body[b-wguch9w6np] { flex: 1 1 auto; min-width: 0; padding-left: 0; padding-right: 0; }
.ip.open .ip-head + .ip-row[b-wguch9w6np] { padding-left: 24px; }
.ip-side[b-wguch9w6np] { flex: 0 0 auto; background: #e8eef5; border: 1px solid #c9d5e3; border-radius: 5px; padding: 3px 9px; font-size: .78rem; line-height: 1.3; }
.ip-side[b-wguch9w6np]  p { margin: 0; white-space: nowrap; }
.ip-side[b-wguch9w6np]  b { color: #315678; }
@media (max-width: 760px) { .ip-row[b-wguch9w6np] { flex-direction: column; } }

/* dts - 11-9-26 20:10 - Claude: side box = a full-width strip ABOVE the text, not a column beside it (Damian 11-09: "blue panel
   should be full width / not part of the columns") - its facts sit on one line and wrap only when they must; the text below
   gets the whole width for its columns */
.ip-row[b-wguch9w6np] { flex-direction: column; align-items: stretch; gap: 4px; }
.ip-side[b-wguch9w6np] { display: flex; flex-wrap: wrap; column-gap: 1.6rem; row-gap: 1px; }
.ip-row > .ip-body[b-wguch9w6np] { width: 100%; }
/* /Shared/TaggedText.razor.rz.scp.css */
/* dts - 10-31-26 - Claude: chips in a line of text - built w the help of AI */
.tt-tag[b-hb4wfnd129] { display: inline-block; font-size: .66rem; font-weight: 600; line-height: 1.3; padding: 0 6px; margin: 0 2px; border-radius: 6px; background: #eef2f6; color: #315678; border: 1px solid #d3dde8; vertical-align: 1px; font-style: normal; }
.tt-ack[b-hb4wfnd129]   { background: #dff3e4; color: #1f6b35; border-color: #b6e0c1; }
.tt-arch[b-hb4wfnd129]  { background: #ececec; color: #555;    border-color: #d2d2d2; }
.tt-visit[b-hb4wfnd129] { background: #fbe3e3; color: #8c2323; border-color: #f0bcbc; }
.tt-pic[b-hb4wfnd129]   { background: #fdecea; color: #b0281a; border-color: #f3c4bd; }
/* /Shared/VehicleUsage.razor.rz.scp.css */
/* dts - 11-9-26 08:00 - Claude: styles moved to InfoPanel.razor.css (general panel) */
/* /Shared/WizardShell.razor.rz.scp.css */
/* dts - 11-8-26 09:20 - Claude: the 5851 wizard look (WizardShell). Brand blue #315678 title bar; real tabs (the current one joins the
   panel); fixed outcome row. Modal = popup over the screen that opened it (full screen on an iPad / phone). */
.wz[b-u0zk7ci8sc] { display: flex; flex-direction: column; background: #f4f6f8; border: 1px solid #b9c4cf; border-radius: 8px; overflow: hidden; min-height: 0; }
.wz-page[b-u0zk7ci8sc] { height: calc(100dvh - 4.5rem); margin: .5rem; }
.wz-backdrop[b-u0zk7ci8sc] { position: fixed; inset: 0; background: rgba(20, 30, 40, .18); z-index: 140; }   /* 11-8-26: lighter - the wizard can be moved to see what is behind */
.wz-modal[b-u0zk7ci8sc] { position: fixed; z-index: 150; left: 50%; top: 50%; transform: translate(calc(-50% + var(--wz-dx, 0px)), calc(-50% + var(--wz-dy, 0px))); width: min(1120px, 96vw); height: min(94dvh, 980px); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
@media (max-width: 900px) { .wz-modal[b-u0zk7ci8sc] { left: 0; top: 0; transform: none; width: 100vw; height: 100dvh; border-radius: 0; } }

.wz-titlebar[b-u0zk7ci8sc] { flex: none; display: flex; align-items: center; gap: .5rem; background: #315678; color: #fff; padding: .45rem .7rem; }
.wz-title[b-u0zk7ci8sc] { flex: 1; font-weight: 600; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-x[b-u0zk7ci8sc] { flex: none; background: #c0392b; color: #fff; border: 0; border-radius: 4px; width: 2rem; height: 1.8rem; font-size: 1rem; cursor: pointer; }
.wz-x:disabled[b-u0zk7ci8sc] { opacity: .5; }

.wz-scroll[b-u0zk7ci8sc] { flex: 1; overflow-y: auto; padding: .55rem .7rem .7rem; display: flex; flex-direction: column; gap: .45rem; min-height: 0; }

.wz-alerts[b-u0zk7ci8sc] { background: #F08080; color: #222; border: 1px solid #b85c5c; border-radius: 4px; padding: .3rem .6rem; font-size: .9rem; max-height: 6.4rem; overflow-y: auto; }

.wz-progress[b-u0zk7ci8sc] { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .9rem; }
.wz-bar[b-u0zk7ci8sc] { position: relative; width: 220px; height: 1.6rem; background: #dde3ea; border: 1px solid #b9c4cf; border-radius: 3px; overflow: hidden; flex: none; }
.wz-fill[b-u0zk7ci8sc] { position: absolute; inset: 0 auto 0 0; background: #315678; }
.wz-pct[b-u0zk7ci8sc] { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 600; color: #fff; mix-blend-mode: difference; }
.wz-status[b-u0zk7ci8sc] { font-size: .9rem; color: #333; flex: 1; min-width: 12rem; }
.wz-info[b-u0zk7ci8sc] { font-size: .85rem; color: #315678; font-weight: 600; }

.wz-tabrow[b-u0zk7ci8sc] { display: flex; align-items: flex-end; gap: .5rem; border-bottom: 1px solid #b9c4cf; margin-bottom: -.45rem; }
.wz-tabs[b-u0zk7ci8sc] { flex: 1; display: flex; gap: 2px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; min-width: 0; }   /* 11-8-26: overflow-y hidden - the tabs sit 1px over the line, which put a tiny vertical scrollbar beside << */
.wz-tab[b-u0zk7ci8sc] { flex: none; display: inline-flex; align-items: center; gap: .35rem; background: #e3e8ee; color: #333; border: 1px solid #b9c4cf; border-bottom: 0; border-radius: 6px 6px 0 0; padding: .45rem .8rem; font-size: .95rem; cursor: pointer; margin-bottom: -1px; }
.wz-tab:hover:not(:disabled)[b-u0zk7ci8sc] { background: #eef2f6; }
.wz-tab.cur[b-u0zk7ci8sc] { background: #fff; font-weight: 600; color: #315678; position: relative; z-index: 1; padding-bottom: calc(.45rem + 1px); }
.wz-mark[b-u0zk7ci8sc] { font-size: .8rem; }
.wz-mark.done[b-u0zk7ci8sc] { color: #2e7d32; font-weight: 700; }
.wz-mark.todo[b-u0zk7ci8sc] { color: #F08080; }
.wz-nav[b-u0zk7ci8sc] { flex: none; display: flex; gap: 4px; padding-bottom: 4px; }
.wz-navbtn[b-u0zk7ci8sc] { min-width: 3rem; padding: .3rem .6rem; border: 1px solid #b9c4cf; background: #fff; border-radius: 4px; font-weight: 700; color: #315678; cursor: pointer; }
.wz-navbtn:disabled[b-u0zk7ci8sc] { opacity: .4; cursor: default; }

.wz-panel[b-u0zk7ci8sc] { background: #fff; border: 1px solid #b9c4cf; border-top: 0; border-radius: 0 0 6px 6px; padding: .7rem .8rem; }

.wz-outcomes[b-u0zk7ci8sc] { flex: none; display: flex; gap: .6rem; justify-content: space-between; padding: .55rem .7rem; background: #e9edf1; border-top: 1px solid #b9c4cf; }
.wz-outcomes[b-u0zk7ci8sc]  button { flex: 1; min-height: 2.8rem; font-size: 1rem; border: 1px solid #9aa8b6; border-radius: 6px; background: #fff; cursor: pointer; }
.wz-outcomes[b-u0zk7ci8sc]  button.wz-main { background: #315678; color: #fff; border-color: #315678; font-weight: 600; }
.wz-outcomes[b-u0zk7ci8sc]  button:disabled { opacity: .5; cursor: default; }

/* 11-8-26 10:25 Claude: drag the modal by its title bar (desktop / iPad); the phone layout is full screen and stays put */
.wz-movable[b-u0zk7ci8sc] { cursor: move; touch-action: none; user-select: none; -webkit-user-select: none; }
.wz-movable .wz-x[b-u0zk7ci8sc] { cursor: pointer; }
@media (max-width: 900px) { .wz-movable[b-u0zk7ci8sc] { cursor: default; touch-action: auto; } }

/* 11-8-26 11:05 Claude: nothing in the scrolling body may shrink - the alert band was squeezed to one cut-off line with its own
   scrollbar when the tab body was tall (Damian 10:58: "your error message gets hidden"); the body scrolls instead */
.wz-scroll > *[b-u0zk7ci8sc] { flex-shrink: 0; }
