/* /Components/Chart/CancelEncounterDialog.razor.rz.scp.css */
.cancel-encounter-grid[b-ttasmsfq6v] {
    grid-template-columns: minmax(0, 1fr);
}
/* /Components/Chart/ChartActivityTab.razor.rz.scp.css */
/* The medical history table's presentation, on a grid (Marius, 2026-09-20: "make audit grid like ICD
   grid"). The two sections are drawn one above the other in the same chart and cannot be two
   conventions — but that list is a plain table with its own stylesheet, so the numbers are stated
   again here rather than shared: small grey uppercase headings on white, 30px rows, the banding and
   the hover.

   Everything goes through the theme's own variables rather than a `font-size` or a `padding` of ours:
   the rule that sets both on every `td` and `th` counts each of its `:not()`s as a class, so a plain
   declaration loses silently — the same trap the tasks grid documents next door. */

/* The zone, and a card on it — the tasks area's arrangement (Marius, 2026-09-20: "make medical
   history and audit area like tasks"), kept here rather than shared for the reason that stylesheet
   gives: these are scoped sheets, and a class belonging to neither component would have to be global
   and would be a third convention to drift from. */
.chart-activity[b-1bilbh0qz5]{--activity-row:30px;flex:1 1 auto;box-sizing:border-box;display:flex;min-width:0;min-height:0;padding:5px;background:var(--iws-zone)}

/* Nine rows and the headings, which is ten rows of height (Marius, 2026-09-20: "make audit grid 9
   visible lines"). Stated rather than capped: a height is what makes the tenth event a scroll of the
   grid instead of a taller section. `--activity-lines` is the row count, written on the element by
   the component and never more than nine, so a patient with four events gets four rows rather than a
   box with a hole in it.

   On the card rather than on the grid, so the wait and the empty line stand where the rows will
   (Marius, 2026-09-20: "we know from the beginning that the size is 9 rows, why is it bigger?"). The
   section's height is known before its contents are, and a card measured by whatever is in it at the
   time opens at the loader's height and drops to the log's — two jumps, both of which move the
   section beside it as well.

   `flex:1 1 auto` over the height makes the ten a starting point and not a ceiling (Marius,
   2026-09-20: "when paired it should be adjusted"): paired with a taller area the row is the
   neighbour's height, and a card that held its nine would leave the rest of it white. */
.activity-card[b-1bilbh0qz5]{flex:1 1 auto;display:flex;flex-direction:column;min-width:0;min-height:0;height:calc(var(--activity-row) * (var(--activity-lines,9) + 1));border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface);overflow:hidden}

/* The grid takes the card, and virtual scrolling takes the definite height it needs from it — without
   one the grid grows to fit every row and virtualises nothing. */
.chart-activity[b-1bilbh0qz5]  .activity-grid{flex:1 1 auto;min-height:0}

/* The wait, in the card and at the card's size. Left alone it brings a floor of 28rem — right for a
   page given over to it, and here it is what was opening the section at three times the height it
   was about to settle at. */
.activity-card[b-1bilbh0qz5]  .page-loader{flex:1 1 auto;min-height:0}

/* No frame: the card around it is the frame now, and the theme's hairline and 4px corners would draw
   a second edge a pixel inside it and a second radius inside its corner. */
.chart-activity[b-1bilbh0qz5]  .activity-grid{--dxbl-grid-border-width:0;--dxbl-grid-border-radius:0}

/* The headings are the app grid header in app.css. */
.chart-activity[b-1bilbh0qz5]  .activity-grid{--dxbl-grid-font-size:.78rem;--dxbl-grid-text-cell-padding-y:.2rem;--dxbl-grid-text-cell-padding-x:.5rem;--dxbl-grid-hover-bg:var(--iws-selected)}
.chart-activity[b-1bilbh0qz5]  .activity-grid .grid-row{height:var(--activity-row)}
/* Banding through the grid's own row-background variable rather than a background of ours, so the
   hovered row still paints over the stripe. */
.chart-activity[b-1bilbh0qz5]  .activity-grid .alt-row{--dxbl-grid-row-bg:var(--iws-surface-sunken)}

/* The empty line, which is now inside a card and would otherwise start against its border. Read at
   the size the rows are read at, since it stands where they would. */
.activity-card .page-copy[b-1bilbh0qz5]{margin:0;padding:.45rem .5rem;font-size:.78rem}

/* The way into the record, at the end of the line it describes rather than on one of its own. Small
   and blue: it is an offer, and the sentence in front of it is what the reader came for. */
.chart-activity[b-1bilbh0qz5]  .activity-door{margin-left:.4rem;color:var(--iws-brand);font-size:.72rem;white-space:nowrap}
/* /Components/Chart/ChartAddDetailDialog.razor.rz.scp.css */
/* Both panes in view at once, so nothing closes behind the user and nobody has to remember which
   type they are answering for. The left is the type, the right is that type's value.

   Drawn to `encounter-details-v1-web.html`, cases 2 to 4: a scrolling list of typed rows on the left,
   a tinted pane on the right that changes shape with the kind but never changes size. */
.add-detail[b-yghp9hemf9]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;min-height:18rem}

/* Only the left pane scrolls. The catalogue is as long as the practice made it and the pane beside it
   is a fixed editor, so a dialog that grew with the list would be a dialog whose buttons move. */
.add-detail-types[b-yghp9hemf9]{display:flex;flex-direction:column;gap:5px;max-height:22rem;overflow:auto;padding-right:.35rem}

/* Tinted and ruled off, which is the sheet's way of saying the right pane answers to the left rather
   than sitting beside it as an equal. */
.add-detail-value[b-yghp9hemf9]{display:flex;flex-direction:column;gap:.4rem;padding-left:1rem;border-left:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}

.add-detail-search[b-yghp9hemf9]{margin-bottom:2px}

/* The two group bands. Blue for the suggested group and grey for the rest, ruled top and bottom so
   each reads as a divider in the list rather than as a line of text above one — which is what a bare
   heading between two tables looks like once the list is long enough to scroll. */
.add-detail-band[b-yghp9hemf9]{
    margin:0;padding:3px 9px;
    border-top:1px solid var(--iws-border-subtle);border-bottom:1px solid var(--iws-border-subtle);
    background:var(--iws-tint);color:var(--iws-brand);
    font-size:8px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;
}
/* The second band, quieter than the first: the order is the message, and two blue bands would make
   the divider look like two beginnings. */
.add-detail-band.is-plain[b-yghp9hemf9]{background:var(--iws-surface-subtle);color:var(--iws-text-secondary)}

/* A table rather than a list, in both panes, because every row here is a pair — a type and what it
   holds, a person and the role they are on the list under. The second column is what lets a reader
   take in ten rows without reading ten rows. */
.add-detail-table[b-yghp9hemf9]{width:100%;border-collapse:collapse;font-size:.74rem}
.add-detail-table th[b-yghp9hemf9]{
    padding:4px 9px;
    border-bottom:1px solid var(--iws-border-subtle);
    color:var(--iws-heading);font-size:9px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;text-align:left;
}
.add-detail-table td[b-yghp9hemf9]{padding:0;border-bottom:1px solid var(--iws-border-subtle);vertical-align:middle}
.add-detail-table td:last-child[b-yghp9hemf9]{width:34%}
/* The whole cell is the target, not a word inside it. A name is two characters wide often enough that
   a hit area the size of the text is a hit area people miss. */
.add-detail-table td button[b-yghp9hemf9]{
    display:block;width:100%;padding:5px 9px;
    border:0;background:transparent;color:var(--iws-heading);
    font:inherit;text-align:left;cursor:pointer;
}
.add-detail-table tr:hover td[b-yghp9hemf9]{background:var(--iws-surface-subtle)}
.add-detail-table tr.is-picked td[b-yghp9hemf9]{background:var(--iws-selected)}
.add-detail-table tr.is-picked td button[b-yghp9hemf9]{font-weight:700}
/* A row that cannot be taken, and one that is only an admission the group is empty. Neither hovers —
   a highlight under the pointer is a promise the click is worth making. */
.add-detail-table tr.is-muted td[b-yghp9hemf9],
.add-detail-table tr.is-muted:hover td[b-yghp9hemf9]{padding:5px 9px;background:transparent;color:var(--iws-text-faint)}

/* The second column, in both tables: smaller, muted and never the thing being clicked. */
.add-detail-holds[b-yghp9hemf9]{color:var(--iws-text-secondary);font-size:.66rem;padding-right:9px;white-space:nowrap}

/* Boxed, because the people table is the pane's own content rather than a list the pane is scrolling
   through — it has a beginning and an end and the reader can see both. */
.add-detail-table.is-boxed[b-yghp9hemf9]{border:1px solid var(--iws-border);border-radius:4px;overflow:hidden}

/* The right pane's caption, and the chip that says which type is being answered for. The chip is the
   same object the rail's rows wear in their first column, so a value looks the same while it is being
   written as it will once it is filed. */
.add-detail-cap[b-yghp9hemf9]{display:flex;align-items:center;gap:6px;margin:0;padding-bottom:2px}
.add-detail-cap>span:first-child[b-yghp9hemf9]{color:var(--iws-text-secondary);font-size:8px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.add-detail-chip[b-yghp9hemf9]{
    display:inline-block;max-width:100%;padding:1px 6px 2px;
    border:1px solid var(--iws-border-subtle);border-radius:9px;background:var(--iws-surface-sunken);
    color:var(--iws-text-secondary);font-size:9px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
/* Blue for a person, grey for text — the rail's own two-tone chip, so the kind is readable before the
   word is. */
.add-detail-chip.is-person[b-yghp9hemf9]{border-color:var(--iws-selected-strong);background:var(--iws-tint);color:var(--iws-brand)}

/* 315px (Marius, 2026-09-19), which is the type list beside it less its caption — the two panes read
   as one dialog rather than as a tall column next to a short box. Set on the textarea itself and not
   on the editor around it: DevExpress sizes the wrapper from its contents, so a height there leaves
   the textarea at its own line count with the wrapper's background showing under it. `::deep` because
   the element is DevExpress's and carries no scope of ours. Resizing is left alone — the grip is the
   reader's answer to a detail longer than the box, and this is only where the box starts. */
.add-detail-value[b-yghp9hemf9]  textarea{height:315px}

/* How much of the column is spent. Right-aligned under the box it measures, which is where a counter
   is looked for and nowhere near where the text starts. */
.add-detail-count[b-yghp9hemf9]{margin:0;color:var(--iws-text-faint);font-size:9px;text-align:right}

/* The asides: the note under the type list, the roles line under the people table, and the line that
   stands in for an editor before a type is picked. All three are the pane talking about itself rather
   than showing a record, which is what the grey and the size say. */
.add-detail-note[b-yghp9hemf9]{margin:5px 0 0;padding:0 9px;color:var(--iws-text-faint);font-size:9px;line-height:1.45}
.add-detail-empty[b-yghp9hemf9]{margin:5px 0 0;padding:0 9px;color:var(--iws-text-secondary);font-size:.72rem;line-height:1.45}
/* Centred and italic, and the only thing in its pane. It is a prompt to act on the other half of the
   dialog, so it sits where the editor it replaces would be rather than at the top of an empty column. */
.add-detail-prompt[b-yghp9hemf9]{margin:0;padding:14px 2px;color:var(--iws-text-faint);font-size:.72rem;font-style:italic;line-height:1.5;text-align:center}
/* /Components/Chart/ChartAddFactDialog.razor.rz.scp.css */
/* The details dialog's sheet, answering a different catalogue. The rules are repeated rather than
   shared because Blazor's isolation is per component — a class defined over there does not reach a
   markup file over here — and they are worth repeating rather than lifting into app.css: this is the
   dress of one dialog, and the global sheet is for what more than one screen wears.

   Anything that differs is at the bottom, and there is little: the two dialogs are meant to look like
   one thing (Marius, 2026-09-20: "Encounter Details and Encounter structured facts are the same
   model"), and a reader who has answered one has answered the other. */
.add-detail[b-nx5aft6set]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;min-height:18rem}

/* Only the left pane scrolls. The catalogue is as long as the practice made it and the pane beside it
   is a fixed editor, so a dialog that grew with the list would be a dialog whose buttons move. */
.add-detail-types[b-nx5aft6set]{display:flex;flex-direction:column;gap:5px;max-height:22rem;overflow:auto;padding-right:.35rem}

.add-detail-value[b-nx5aft6set]{display:flex;flex-direction:column;gap:.4rem;padding-left:1rem;border-left:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}

.add-detail-search[b-nx5aft6set]{margin-bottom:2px}

.add-detail-band[b-nx5aft6set]{
    margin:0;padding:3px 9px;
    border-top:1px solid var(--iws-border-subtle);border-bottom:1px solid var(--iws-border-subtle);
    background:var(--iws-tint);color:var(--iws-brand);
    font-size:8px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;
}
.add-detail-band.is-plain[b-nx5aft6set]{background:var(--iws-surface-subtle);color:var(--iws-text-secondary)}

.add-detail-table[b-nx5aft6set]{width:100%;border-collapse:collapse;font-size:.74rem}
.add-detail-table th[b-nx5aft6set]{
    padding:4px 9px;
    border-bottom:1px solid var(--iws-border-subtle);
    color:var(--iws-heading);font-size:9px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;text-align:left;
}
.add-detail-table td[b-nx5aft6set]{padding:0;border-bottom:1px solid var(--iws-border-subtle);vertical-align:middle}
.add-detail-table td:last-child[b-nx5aft6set]{width:34%}
/* The whole cell is the target, not a word inside it. An answer is two characters wide often enough
   — Left, MAC, No — that a hit area the size of the text is a hit area people miss. */
.add-detail-table td button[b-nx5aft6set]{
    display:block;width:100%;padding:5px 9px;
    border:0;background:transparent;color:var(--iws-heading);
    font:inherit;text-align:left;cursor:pointer;
}
.add-detail-table tr:hover td[b-nx5aft6set]{background:var(--iws-surface-subtle)}
.add-detail-table tr.is-picked td[b-nx5aft6set]{background:var(--iws-selected)}
.add-detail-table tr.is-picked td button[b-nx5aft6set]{font-weight:700}
.add-detail-table tr.is-muted td[b-nx5aft6set],
.add-detail-table tr.is-muted:hover td[b-nx5aft6set]{padding:5px 9px;background:transparent;color:var(--iws-text-faint)}

.add-detail-holds[b-nx5aft6set]{color:var(--iws-text-secondary);font-size:.66rem;padding-right:9px;white-space:nowrap}

/* The answer list is the pane's own content rather than a list the pane is scrolling through: it has
   a beginning and an end and the reader can see both. One column, unlike the details dialog's people
   table — an answer is a word and has no second fact about it worth a column. */
.add-detail-table.is-boxed[b-nx5aft6set]{border:1px solid var(--iws-border);border-radius:4px;overflow:hidden}
.add-detail-table.is-boxed td:last-child[b-nx5aft6set]{width:auto}

.add-detail-cap[b-nx5aft6set]{display:flex;align-items:center;gap:6px;margin:0;padding-bottom:2px;flex-wrap:wrap}
.add-detail-cap>span:first-child[b-nx5aft6set]{color:var(--iws-text-secondary);font-size:8px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.add-detail-chip[b-nx5aft6set]{
    display:inline-block;max-width:100%;padding:1px 6px 2px;
    border:1px solid var(--iws-border-subtle);border-radius:9px;background:var(--iws-surface-sunken);
    color:var(--iws-text-secondary);font-size:9px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

.add-detail-value[b-nx5aft6set]  textarea{height:315px}

.add-detail-count[b-nx5aft6set]{margin:0;color:var(--iws-text-faint);font-size:9px;text-align:right}

.add-detail-note[b-nx5aft6set]{margin:5px 0 0;padding:0 9px;color:var(--iws-text-faint);font-size:9px;line-height:1.45}
.add-detail-empty[b-nx5aft6set]{margin:5px 0 0;padding:0 9px;color:var(--iws-text-secondary);font-size:.72rem;line-height:1.45}
.add-detail-prompt[b-nx5aft6set]{margin:0;padding:14px 2px;color:var(--iws-text-faint);font-size:.72rem;font-style:italic;line-height:1.5;text-align:center}

/* ---- What this dialog has and the details one does not -------------------------------------- */

/* A fact whose answer is settled — the row of the fact being corrected, and a single-answer fact that
   already has one. Plain text where a button would be, at the button's own padding so the list does
   not jog where it stops being clickable. */
.add-fact-name[b-nx5aft6set]{display:block;padding:5px 9px;color:var(--iws-text-secondary)}

/* Needed to sign, beside the chip. Amber rather than red, and a word rather than an asterisk: it is a
   condition of signing and not of saving, and nothing on this screen refuses a save for it. Red would
   say the reader has done something wrong by opening a fact they cannot finish today. */
.add-fact-required[b-nx5aft6set]{
    display:inline-block;padding:1px 6px 2px;
    border:1px solid var(--iws-warning-border);border-radius:9px;background:var(--iws-warning-bg);
    color:var(--iws-warning-text);font-size:9px;white-space:nowrap;
}

/* The one-line editors — a number, a date. Left in their natural width rather than stretched across
   the pane: a spin box as wide as a paragraph invites a paragraph. */
.add-fact-field[b-nx5aft6set]{max-width:12rem}
/* /Components/Chart/ChartArea.razor.rz.scp.css */
/* An area fills the row it is in, which is how two areas side by side are one band rather than two
   cards of whatever height their contents came to (Marius, 2026-09-20: "when you expand a paired area
   row, the bigger pushes the other"). The stretching is the row cell's — a grid of one row — and what
   is said here is only the exception below. */
.chart-area[b-d6eke92mvb]{
    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:0;
    /* No margin of its own: the row it sits in owns the three pixels between rows, and an area adding
       eight more was paying for the same gap twice. */
    border:1px solid var(--iws-border);
    border-radius:6px;
    background:var(--iws-surface);
    overflow:hidden;
}

/* A file being dragged over an area that takes one: one sign over the whole section, head included.
   The sign lets the pointer through, so the drag keeps reporting what is under it. */
.chart-area[data-file-drop][b-d6eke92mvb]{position:relative}
.chart-area.is-file-over[b-d6eke92mvb]::after{content:attr(data-drop-hint);position:absolute;inset:2px;z-index:30;display:grid;place-items:center;padding:.5rem;border:2px dashed var(--iws-brand);border-radius:6px;background:color-mix(in srgb,var(--iws-brand-soft) 35%,transparent);color:var(--iws-heading);font-weight:700;text-align:center;overflow:hidden;pointer-events:none}
.chart-area.is-strip.is-file-over[b-d6eke92mvb]::after{content:""}

/* Collapsed, it is its head and nothing else. The rule above is about a section with something in it:
   a shut one stretched to a tall neighbour would be a 500px empty card with a title on top, which
   reads as a section that has failed to draw rather than as one the reader has put away. */
.chart-area.is-shut[b-d6eke92mvb]{align-self:start}

/* A fixed 30px, 32 with the section's borders, and no rule under it. The height is stated rather than left to
   the padding because the tallest thing inside is a tools pill, and a section whose head grows when
   it has an action is a row of heads that do not line up across a split. The band alone separates the
   head from the grid below; a border on top of it was a second line saying the same thing.

   The band is `--iws-band`, which is the frame's own title strip and the wash registration's sections
   already wear (Marius, 2026-09-18: *"use the same colors for toolbar"*, against the search window's
   strip). Solid at the left where the name sits and gone by the right, so a head reads as the top of
   its section rather than as a grey bar laid across it — and so a chart raised in the IWS frame is
   one surface in one palette instead of a blue strip over seven grey ones. The token is shared rather
   than copied for the reason it exists: `#f7f9fc` here was a second literal free to drift. */
.chart-area-head[b-d6eke92mvb]{
    display:flex;
    align-items:center;
    gap:8px;
    box-sizing:border-box;
    height:30px;
    padding:0 8px;
    background:var(--iws-band);
}

/* A section holding typed text that is not written down yet wears the frame's danger band instead of
   its blue one (Marius, 2026-09-18). Same token as the confirm dialog's strip, so the product has one
   red for "this is not safe yet" rather than one per surface — and the same gradient shape, so a red
   head and a blue head are the same head in two states rather than two designs. */
.chart-area.is-unsaved .chart-area-head[b-d6eke92mvb]{background:var(--iws-band-danger)}

/* Small, and a statement rather than a request: the text is intact, the next save ends it, and there
   is nothing to do in between. It rides inside the toggle so a long title pushes it along and the
   tools stay at the end of the head. */
.chart-area-unsaved[b-d6eke92mvb]{
    flex:0 0 auto;
    padding:0 6px;
    border-radius:999px;
    background:color-mix(in srgb,var(--iws-danger-text) 12%,transparent);
    color:var(--iws-danger-text);
    font-size:10px;
    font-weight:700;
    white-space:nowrap;
}

/* The chart re-reading itself. Held back the way the page loader is, so a 304 that answers at once
   never paints it. It rides in the title, after Unsaved changes, and takes no press of its own. */
.chart-area-refreshing[b-d6eke92mvb]{
    flex:0 0 auto;
    padding:1px 7px;
    border-radius:999px;
    background:var(--iws-brand);
    color:var(--iws-text-on-accent);
    font-size:10px;
    font-weight:600;
    line-height:1.4;
    white-space:nowrap;
    pointer-events:none;
    opacity:0;
    animation:chart-area-refreshing-in-b-d6eke92mvb .2s ease-in .25s forwards;
}
@keyframes chart-area-refreshing-in-b-d6eke92mvb{to{opacity:1}}

/* The handle, and the only part of the head that drags. Its box runs the head's full height and
   reaches back over the head's left padding, because the two glyphs alone are a 10 × 13 target that
   misses most presses; the negative margins give that room back, so the chevron after it lands where
   it would beside a 10px mark.
   Its width is stated so the chevron lands on a known x: two ⋮ glyphs pulled together by negative
   tracking are however wide the font happens to set them. */
.chart-area-grip[b-d6eke92mvb]{
    box-sizing:border-box;
    width:10px;
    padding:0;
    text-align:center;
    letter-spacing:-3px;
    font-size:13px;
    line-height:1;
    color:var(--iws-text-faint);
    user-select:none;
    cursor:grab;
}
.chart-area-grip:active[b-d6eke92mvb]{cursor:grabbing}
.chart-area-grip:not(.is-spine)[b-d6eke92mvb]{
    flex:0 0 auto;
    align-self:stretch;
    display:flex;
    align-items:center;
    justify-content:center;
    width:20px;
    margin:0 -2px 0 -8px;
    padding-left:6px;
}

/* The same handle on a folded section, given the whole width of the spine to be pressed on: the head
   can spare ten pixels because it has a row to lay out, and a strip has nothing else on this line.
   Unrotated, so the mark is the one the open head carries — a handle that changes shape when the
   section folds is a second handle to recognise. It sits above the title for the reason the head's
   sits before it: first thing in reading order, whichever way the section is drawn. */
.chart-area-grip.is-spine[b-d6eke92mvb]{
    flex:0 0 auto;
    width:100%;
    height:17px;
    padding-top:4px;
    cursor:grab;
}
.chart-area-grip.is-spine:active[b-d6eke92mvb]{cursor:grabbing}

.chart-area-toggle[b-d6eke92mvb]{
    display:flex;
    align-items:center;
    gap:6px;
    flex:1 1 auto;
    min-width:0;
    min-height:22px;
    padding:0;
    border:0;
    background:transparent;
    text-align:left;
    cursor:pointer;
    color:var(--iws-heading);
    font-size:12.5px;
}
.chart-area-toggle strong[b-d6eke92mvb]{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chart-area-chevron[b-d6eke92mvb]{display:inline-flex}
.chart-area-chevron[b-d6eke92mvb]  svg{width:11px;height:11px;display:block}

/* The badge the tab strip used to carry. A section head is its natural home now that there is no strip. */
.chart-area-count[b-d6eke92mvb]{
    flex:0 0 auto;
    min-width:18px;
    padding:0 5px;
    border-radius:999px;
    background:var(--iws-tint);
    color:var(--iws-text-secondary);
    font-size:10.5px;
    font-weight:600;
    text-align:center;
}

/* A section this reader's roles do not reach: shut, and said so. Grey rather than the unsaved band's
   red — nothing is wrong here, there is simply nothing to open — and the head keeps its grip and its
   fold, because where a locked section stands is still the reader's arrangement to make. */
.chart-area.is-locked .chart-area-toggle[b-d6eke92mvb]{cursor:default;color:var(--iws-text-muted)}
.chart-area-locked[b-d6eke92mvb]{
    flex:0 0 auto;
    padding:0 6px;
    border-radius:999px;
    background:var(--iws-surface-sunken);
    color:var(--iws-text-muted);
    font-size:10px;
    font-weight:600;
    white-space:nowrap;
}

.chart-area-tools[b-d6eke92mvb]{margin-left:auto;display:flex;align-items:center;gap:6px}

.chart-area-fold[b-d6eke92mvb]{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:20px;height:20px;
    padding:0;
    border:0;border-radius:4px;
    background:transparent;
    color:var(--iws-text-secondary);
    cursor:pointer;
}
/* The strip's own hover, and a tint rather than a fill for the reason the band is a gradient: a solid
   swatch would be a light square at the left of the head and an invisible one at the right. */
.chart-area-fold:hover[b-d6eke92mvb]{background:var(--iws-hover)}
.chart-area-fold:active[b-d6eke92mvb]{background:color-mix(in srgb,var(--iws-heading) 18%,transparent)}
.chart-area-fold[b-d6eke92mvb]  svg{width:11px;height:11px;display:block}

/* Maximise, while it is the state the row is in. The pair on this head differ by fill — hollow bars
   give the width up, solid bars take it — and fill is doing enough work already, so the pressed one
   is said with the accent rather than by swapping its glyph for a third one. */
.chart-area-fold.is-on[b-d6eke92mvb]{color:var(--iws-link);background:color-mix(in srgb,var(--iws-link) 12%,transparent)}
.chart-area-fold.is-on:hover[b-d6eke92mvb]{background:color-mix(in srgb,var(--iws-link) 20%,transparent)}

/* ---- move ---- */

/* The anchor for the menu, and nothing else: the button inside it is the fold button's twin, because
   Move and Minimise are one pair of controls and a second shape would say they were not. */
.chart-area-move[b-d6eke92mvb]{position:relative;flex:0 0 auto;display:inline-flex}

/* An area clips itself — that is what keeps a grid inside its rounded corners — so a menu hanging off
   its head would be cut at the head's lower edge, which is four pixels down. The clipping comes off
   for as long as the menu is open and goes straight back on, and the area is lifted over its
   neighbours while it is, so the two lines that overhang the section below are not painted under it. */
.chart-area.is-menu[b-d6eke92mvb]{overflow:visible;position:relative;z-index:20}

.chart-area-menu[b-d6eke92mvb]{
    position:absolute;
    top:calc(100% + 4px);
    right:0;
    z-index:30;
    min-width:150px;
    margin:0;
    padding:4px;
    list-style:none;
    border:1px solid var(--iws-border);
    border-radius:6px;
    background:var(--iws-surface);
    box-shadow:0 6px 18px var(--iws-shadow);
}

.chart-area-menu button[b-d6eke92mvb]{
    display:block;
    width:100%;
    padding:5px 8px;
    border:0;
    border-radius:4px;
    background:transparent;
    color:var(--iws-heading);
    font:inherit;
    font-size:11.5px;
    text-align:left;
    white-space:nowrap;
    cursor:pointer;
}

.chart-area-menu button:hover[b-d6eke92mvb]{background:var(--iws-tint)}
.chart-area-menu button:focus-visible[b-d6eke92mvb]{outline:2px solid var(--iws-brand);outline-offset:-2px}

/* Greyed rather than gone: a section at the top of the chart still has Down and Bottom, and a menu
   that changed length depending on where it was opened would have to be read each time instead of
   aimed at. */
.chart-area-menu button[disabled][b-d6eke92mvb]{color:var(--iws-text-faint);cursor:default}
.chart-area-menu button[disabled]:hover[b-d6eke92mvb]{background:transparent}

/* The area never scrolls itself: a text is not clipped, the row grows to fit it, and the page takes
   the scroll. A grid that would be taller than the standard row scrolls in its own lane instead. */
.chart-area-body[b-d6eke92mvb]{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}

/* The exception, and the whole of it: an area holding a rail is held at the height the user chose and
   the two panes inside it scroll. `overflow:hidden` rather than `auto` on purpose — the scrolling is
   the list's and the rail's, each in its own lane, and a scrollbar here would be a third one moving
   both of them together. Nothing is clipped that is not reachable by scrolling something.

   The `flex:1 1 auto` above is deliberately left standing over it, so the height is a starting point
   rather than a ceiling: paired with a taller neighbour the row is the neighbour's height anyway, and
   an area that refused to fill it would hold its 300 and leave the rest white. The chosen height is
   exact wherever it is the tallest thing in its row, which is every row of rail areas and every row a
   rail area has to itself. */
.chart-area-body.is-capped[b-d6eke92mvb]{height:var(--chart-body-height);overflow:hidden}

/* The same number read the other way round: a floor the body stands on rather than a lid it is held
   under. The panes inside still fill it when there is less in them than it is tall, and when there is
   more — a narrative box dragged taller by the reader — the body grows and the page takes the scroll,
   which is what every area without a rail does. No `overflow` at all, because nothing is being cut. */
.chart-area-body.is-floored[b-d6eke92mvb]{min-height:var(--chart-body-height)}

/* ---- minimised ---- */
/* Folded, it keeps the full height of the row and loses its width: the strip is a spine down the side
   of the section it made room for, and the title runs the length of it. */
.chart-area.is-strip[b-d6eke92mvb]{width:var(--chart-strip,34px)}

/* Folded, there is no head to carry the band, so the strip itself takes the tone — otherwise a section
   would lose its warning by being got out of the way, which is the moment it is most easily forgotten.
   A flat tint rather than the gradient: the wash is horizontal and this is 34px wide. */
.chart-area.is-strip.is-unsaved[b-d6eke92mvb]{border-color:var(--iws-danger-border);background:var(--iws-danger-bg)}
.chart-strip[b-d6eke92mvb]{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    /* The rest of the spine under the grip, rather than the whole of it: `height:100%` was right when
       this was the only child and would now be the section's full height plus the handle's. */
    flex:1 1 auto;
    width:100%;
    min-height:0;
    padding:4px 0 8px;
    border:0;
    background:transparent;
    cursor:pointer;
    color:var(--iws-heading);
}
.chart-strip[b-d6eke92mvb]  svg{width:11px;height:11px;display:block;transform:rotate(-90deg)}
/* Turned rather than stacked, and turned the way a spine is read (Marius, 2026-09-20: "pretty bad
   vertical font — can we use a better one? more legible?"). Three things were against it and the
   typeface was none of them: at 11.5px bold, rotated, the strokes fall between pixels and the hinting
   that keeps horizontal text crisp has nothing to grip, so the word came out furred; the glyphs had no
   air between them; and `vertical-rl` alone reads top-down, which is the one direction a Western
   reader has to tilt the wrong way for.
   `rotate(180deg)` turns it bottom-up, the way every side tab in the product's neighbourhood runs.
   A step up in size with a step down in weight is what clears the fur — 12.5px semibold has more ink
   per stroke than 11.5 bold has per letter — and `geometricPrecision` stops the browser rounding the
   advance of each glyph to a whole pixel, which is what was closing the gaps between them. */
.chart-strip-title[b-d6eke92mvb]{
    writing-mode:vertical-rl;
    transform:rotate(180deg);
    font-size:12.5px;
    font-weight:600;
    letter-spacing:.02em;
    text-rendering:geometricPrecision;
    -webkit-font-smoothing:antialiased;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.chart-strip-count[b-d6eke92mvb]{
    padding:1px 4px;
    border-radius:999px;
    background:var(--iws-tint);
    color:var(--iws-text-secondary);
    font-size:10px;
    font-weight:600;
}
/* /Components/Chart/ChartAreaRows.razor.rz.scp.css */
/* The body is a list of rows. The panel's scroller under the patient band takes the scroll, never an
   area: a text that cannot be clipped grows its row, and a row that grows pushes the ones below it down
   rather than hiding its own tail. */
.chart-rows[b-n753x7hws2]{
    display:flex;
    flex-direction:column;
    /* What a minimised area narrows to. A number rather than content width, so two folded strips in
       different rows line up down the page. */
    --chart-strip:34px;
}

/* Three pixels between rows, and not a gap on the container: the drop guides are siblings sitting
   between the rows, so a container gap would be paid twice over — once on each side of a guide that
   is zero high the rest of the time. */
.chart-row[b-n753x7hws2]{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:stretch;
    min-width:0;
    margin-bottom:3px;
    /* The frame the drop wash is measured against. It costs nothing the rest of the time. */
    position:relative;
}

/* The resizer, and nothing else between the two areas. Widened to a usable target by its own padding
   rather than by a gap, so the boundary the user grabs is the boundary they see. */
.chart-row-split[b-n753x7hws2]{
    width:9px;
    cursor:col-resize;
    background:transparent;
    position:relative;
    touch-action:none;
}
.chart-row-split[b-n753x7hws2]::after{
    content:"";
    position:absolute;
    top:10px;bottom:10px;left:4px;
    width:1px;
    background:var(--iws-border);
}
.chart-row-split:hover[b-n753x7hws2]::after{background:var(--iws-focus);width:2px;left:3px}

/* A grid of one row rather than a flex column, so the area inside is stretched to the cell and the
   cell to the row (Marius, 2026-09-20: "make grid full area — medical history"). As a flex column
   this stretched an area sideways and left it at its content height, so the shorter of two paired
   sections stopped where its last row did and the rest of the row was the page showing through — a
   four-diagnosis list ending an inch above the section beside it, with no edge to say why.

   `minmax(0,1fr)` rather than `1fr`: a grid row's automatic minimum is its content, which is what
   lets a long list push the bottom of a capped area past the bottom of its row. */
.chart-row-cell[b-n753x7hws2]{min-width:0;display:grid;grid-template-rows:minmax(0,1fr);position:relative}

/* ── while an area is being moved ───────────────────────────────────────────────────────────────── */

/* The whole of this section is keyed off `.is-over`, set in C# from `dragenter`, and not off `:hover`
   (Marius, 2026-09-19: "can we visualize better drag action"). That is the fix rather than a detail:
   a browser stops updating `:hover` for the duration of a native drag, so the guides below were drawn
   in their resting colour throughout the one gesture they exist for. They were not too quiet; they
   were never lit. */

/* Between two rows: collapsed to nothing until a drag is in progress, because a target that does
   nothing the rest of the time is a gap in the page the rest of the time. */
.chart-row-gap[b-n753x7hws2]{position:relative;display:flex;align-items:center;justify-content:center;height:0;overflow:hidden;transition:height .1s ease,background-color .1s ease,border-color .1s ease}

/* Four pixels, border included (Paul, 2026-11-16, issue 020). At 22 every lane opened at once and the
   page grew by more than 200px under the hand, which pushed the lower sections out of view before the
   pointer got to them. */
.chart-rows.is-dragging .chart-row-gap[b-n753x7hws2]{
    box-sizing:border-box;
    height:4px;
    margin:3px 0;
    border-radius:2px;
    border:1px dashed color-mix(in srgb,var(--iws-focus) 40%,var(--iws-surface));
    background:var(--iws-tint);
}

/* Under the pointer: no border, and 2px of fill above and below the 2px insertion line, so the rows
   part by two pixels rather than jumping as the pointer crosses a lane. No label here: the line says
   "a new row, between these two", and the labels stay on the section targets, where beside and swap
   have to be told apart. */
.chart-rows.is-dragging .chart-row-gap.is-over[b-n753x7hws2]{
    height:6px;
    padding:2px 0;
    border:0;
    background:var(--iws-selected);
}
.chart-row-gap.is-over[b-n753x7hws2]::after{
    content:"";
    position:absolute;
    left:10px;right:10px;top:2px;
    height:2px;
    border-radius:1px;
    background:var(--iws-focus);
}

/* An area that would take the dragged one — beside it where its row has a free half, in place of it
   where the row is full. The guide is on the area rather than on the row it is in, because the drop
   onto a full row is an exchange with one particular section and the reader has to be able to aim at
   which (Marius, 2026-09-21: "should replace the area you are above switch the positions"). */
.chart-rows.is-dragging .chart-row-cell[b-n753x7hws2]{
    outline:1px dashed var(--iws-selected-strong);
    outline-offset:2px;
    border-radius:7px;
}
.chart-rows.is-dragging .chart-row-cell.is-over[b-n753x7hws2]{
    outline:2px solid var(--iws-focus);
    outline-offset:3px;
    background:var(--iws-selected);
}

/* The colour over the row the drop would land in, and the only part of this a user sees on a chart of
   opaque white cards. Stated as a translucent blue rather than a flat one so the section underneath
   stays legible: the question the guide answers is "which row", and a reader answers it by recognising
   what is under the wash.
   Transparent to the pointer, because a target that swallowed the `dragenter` it was drawn in
   response to would flicker itself off and on under a stationary cursor. */
.chart-row-wash[b-n753x7hws2]{
    position:absolute;
    inset:0;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:7px;
    background:color-mix(in srgb,var(--iws-focus) 16%,transparent);
    pointer-events:none;
}

/* What will happen, in words, on the section it will happen to — `chart.area.dropBeside` or
   `chart.area.dropSwap`. Colour alone says "here" and cannot say "sharing this row" or "trading
   places". The lanes between rows carry no label since issue 020 (a 6px lane cannot hold one); their
   insertion line says "a row of its own".
   Solid on blue rather than tinted, so it reads over the pale wash. */
.chart-drop-tag[b-n753x7hws2]{
    padding:2px 8px;
    border-radius:999px;
    background:var(--iws-focus);
    color:var(--iws-text-on-accent);
    font-size:10px;
    font-weight:600;
    line-height:1.4;
    white-space:nowrap;
    box-shadow:0 1px 3px color-mix(in srgb,var(--iws-focus) 35%,transparent);
    pointer-events:none;
}

/* The area in flight, which nothing used to mark. Halfway to gone rather than hidden: it is still the
   thing being moved and the reader is aiming with it, so it has to stay legible — but at full strength
   it looked like a section that had simply stayed put, and in a seven-row chart that is one row too
   many to have to identify by memory. */
.chart-rows.is-dragging .chart-row-cell.is-dragged[b-n753x7hws2]{opacity:.4}
/* /Components/Chart/ChartAttachmentsTab.razor.rz.scp.css */
/* The tasks area's arrangement, drawn around a list of files (Marius, 2026-09-20: "make attachment
   similar with tasks — 2 rounded areas, grid header font + colors, grid row height font + colors,
   rail header, rail inner scroll, rail footer + compact/large"). Everything from the zone down to the
   foot's switch is a copy of what `ChartTasksTab.razor.css` says of the same parts, kept there as
   well rather than lifted into a shared sheet: the two are scoped stylesheets, and a class belonging
   to neither component would have to be global and would then be a third convention for anything else
   in the chart to drift from. Where a number appears in both, the note is next door.

   The root is a column because the add window is drawn inside this component and the drop guards are
   on it; everything that is seen is in the scroller below. */
.chart-attachments[b-bcyxv987vq]{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%}

/* The scroller is the pair's floor made reachable: 250 for the grid and 250 for the rail is a width
   an area may be dragged under, and under it this scrolls sideways rather than crushing both. */
.attachments-scroll[b-bcyxv987vq]{flex:1 1 auto;min-width:0;min-height:0;overflow-x:auto;background:var(--iws-zone)}

/* `width:100%` is load-bearing: a grid whose own width is indefinite sizes `1fr` to its content, so
   the list would take what its columns ask for and hand the rail the remainder. The floor counts the
   grip and the padding, both of which are real width and would otherwise come out of the list's 250.
   `height:100%` takes whatever the area was held at, which is what gives the two panes a definite box
   to scroll inside — and the floor under it is `--chart-area-floor`, which `ChartArea` zeroes on an
   area held at a chosen height. */
.attachments-workspace[b-bcyxv987vq]{display:grid;grid-template-columns:minmax(0,1fr) var(--chart-rail-split,0px) var(--chart-rail,300px);box-sizing:border-box;width:100%;min-width:calc(var(--chart-pair-floor,500px) + var(--chart-rail-split,0px) + 10px);height:100%;min-height:var(--chart-area-floor,16rem);padding:5px}

.attachments-workspace[b-bcyxv987vq]{position:relative}

/* Two cards on the zone rather than two halves of one: the gap between them is the ground showing
   through, so each pane's border is the only line at its edge. Clipping is what makes the corners
   real — the grid's header band and the rail's tinted head are square and would otherwise sit over
   the radius rather than inside it. */
.chart-attachment-list[b-bcyxv987vq],.chart-attachment-rail[b-bcyxv987vq]{min-width:0;min-height:0;border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface);overflow:hidden}

/* The gap between the two cards, which is also the grip. Nine pixels of zone, colourless at rest —
   the cards have their own edges, and a rule down the middle of the gap would be a third mark between
   two that already say where each pane ends. `touch-action:none` so a pen or a finger moves the
   boundary instead of scrolling the chart under it. */
.attachment-split[b-bcyxv987vq]{position:relative;width:var(--chart-rail-split,0px);background:transparent;cursor:col-resize;touch-action:none}
.attachment-split[b-bcyxv987vq]::after{content:"";position:absolute;top:0;bottom:0;left:4px;width:1px;background:transparent}
.attachment-split:hover[b-bcyxv987vq]::after,.attachment-split:active[b-bcyxv987vq]::after{left:3px;width:2px;background:var(--iws-focus)}

/* The card is the grid and nothing else: the band is inside the grid's own toolbar area and the pager
   is gone with the plain table, the rows being fetched a batch at a time as the scroll moves.
   Positioned, because the export's toast is placed against its nearest positioned ancestor and without
   this that ancestor is the page. */
.chart-attachment-list[b-bcyxv987vq]{position:relative;display:grid;grid-template-rows:minmax(0,1fr)}
.chart-list-error[b-bcyxv987vq]{margin:0 0 .5rem;color:var(--iws-danger-text);font-size:.75rem}

/* The grid scrolls itself — it is virtual, and asks for the rows it is about to draw — so this only
   gives it a height to be virtual inside of. A container as well as a box, so what it holds can be
   measured against the width of the card rather than the width of the table: see `.empty-list`.
   `overflow-x:auto` because the failure it answers is silent: anything wider than the card is simply
   not there, with no bar and no edge to say so. */
.chart-grid-scroll[b-bcyxv987vq]{position:relative;min-width:0;min-height:0;overflow-x:auto;overflow-y:hidden;container-type:inline-size}
.chart-grid-scroll[b-bcyxv987vq]  .chart-grid{height:100%}
/* Square and unframed, because the pane around it is the card now: the theme gives every grid a
   hairline and 4px corners, and left on they would draw a second line a pixel inside the pane's
   border and a second radius inside its corner. */
.chart-grid-scroll[b-bcyxv987vq]  .chart-grid{--dxbl-grid-border-radius:0;--dxbl-grid-border-width:0}
/* The task grid's measurements, which are the medical history table's: 30px rows at .78rem, and
   headings a size under them in grey. This list stood at 40px rows and the workspace list's type,
   which is right on a page given over to one list and too loud in a section that is one of seven —
   and the two sections sit side by side in the same row of the same chart.

   Font and padding go through the theme's own variables rather than a `font-size` or a `padding` of
   ours: the rule that sets both on every `td` and `th` counts each of its `:not()`s as a class, so a
   plain declaration here loses silently. */
.chart-grid-scroll[b-bcyxv987vq]  .chart-grid{--chart-attachment-row:30px;--dxbl-grid-font-family:Roboto,"Segoe UI",system-ui,sans-serif;--dxbl-grid-font-size:.78rem;--dxbl-grid-text-cell-padding-y:.2rem;--dxbl-grid-text-cell-padding-x:.5rem;--dxbl-grid-empty-data-area-padding-x:0;--dxbl-grid-hover-bg:var(--iws-selected)}
.chart-grid-scroll[b-bcyxv987vq]  .chart-grid .grid-row{height:var(--chart-attachment-row)}
/* Banding through the grid's own row-background variable rather than a background of our own: the
   selected and hovered rows set theirs directly, so they still paint over the stripe. */
.chart-grid-scroll[b-bcyxv987vq]  .chart-grid .alt-row{--dxbl-grid-row-bg:var(--iws-surface-sunken)}
/* A deleted file, which this list can be asked to show: struck through and faded, as it read in the
   plain table. On the cells rather than the row — a `text-decoration` on a `tr` is not carried into
   its cells by every browser. */
.chart-grid-scroll[b-bcyxv987vq]  .chart-grid .deleted-row>td{opacity:.58;text-decoration:line-through}
/* One line: the search and the two buttons at the right end, as on the chart's task tab, and the
   deleted switch alone at the left (2026-09-06, requested-by Marius: "move switch show deleted to
   left"). The switch is the odd one out on the band — the other three act on the list as it stands,
   and it asks for a different list — so it is not part of that run. */
.chart-toolbar-band[b-bcyxv987vq]{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;width:100%;min-width:0}
/* The gap that puts it there: an auto margin eats what is left of the line, so the switch stays at the
   left edge and the run behind it stays flush right, however wide the card is.
   Smaller than the switch is on a page of its own (Marius, 2026-09-20): this band sits over a grid
   whose headings are 10px and whose rows are 30, and a control built for a registration form was the
   tallest thing on it. Through the switch's own variables, so the track, the knob and the caption step
   down together. */
.chart-toolbar-band[b-bcyxv987vq]  .iws-switch{flex:0 0 auto;margin-right:auto;white-space:nowrap;--iws-switch-track:1.65rem;--iws-switch-height:.9rem;--iws-switch-pad:.1rem;--iws-switch-knob:.7rem;--iws-switch-gap:.35rem;--iws-switch-font:.72rem}
/* Capped, not stretched: given the band the search box would take all of it, and a box that wide is a
   box for a sentence when what is typed in it is a word or two. 350px, giving way to 150px, as every
   section list (CH-14). */
.chart-toolbar-band[b-bcyxv987vq]  .chart-search{flex:0 1 350px;min-width:150px}
/* Allowed to give width back rather than overflow a card dragged narrow, and no longer asked to
   right-align a run inside a box it has sized to that run. */
.chart-toolbar-band[b-bcyxv987vq]  .chart-grid-toolbar{flex:0 1 auto;min-width:0;max-width:100%;background:transparent}
/* The glyph is the whole button: the toolbar collapses captions to icons as soon as its items do not
   fit, and beside a search box they never do. Sized against the grid's own type rather than the 20px
   they used to be given — these are the chrome of a section whose headings are now 10px. */
.chart-toolbar-band[b-bcyxv987vq]  .chart-columns-item .dxbl-image,
.chart-toolbar-band[b-bcyxv987vq]  .chart-export-item .dxbl-image:not(.dxbl-toolbar-dropdown-toggle){--dxbl-image-width:1rem;--dxbl-image-height:1rem}
/* Inside the grid's empty-data area, which the theme already centres and pads — so this only stacks the
   two lines. Centred on what can be seen rather than on the table: the empty area is a cell spanning
   columns that may be wider than the card, and `100cqi` is the visible width. */
.empty-list[b-bcyxv987vq]{position:sticky;left:0;width:min(100cqi,100%);display:grid;justify-items:center;gap:.25rem;text-align:center;color:var(--iws-text-secondary)}.empty-list span[b-bcyxv987vq]{font-size:.78rem}
.attachment-empty[b-bcyxv987vq]{display:grid;place-content:center;min-height:14rem;text-align:center;color:var(--iws-text-secondary)}

/* Three parts, as the task rail has them: a head that stays, a scroller, and a foot that stays. The
   two that stay are siblings of the one that moves rather than pinned inside it, so the scrollbar
   begins under the head's rule and ends at the foot's — which is the reading the bar itself gives of
   how much record there is. `min-height:0` on the scroller because a flex item in a column otherwise
   refuses to go under its content, which is the whole of how a long rail keeps its head and foot. */
.chart-attachment-rail[b-bcyxv987vq]{display:flex;flex-direction:column}
.rail-scroll[b-bcyxv987vq]{flex:1 1 auto;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:.55rem;padding:.85rem}

/* The head: the category and kind over the file name, when it was filed and by whom under it, a chip
   at the far edge for a file that has been deleted. Tinted and ruled, so it reads as the card's own
   band rather than as the first paragraph of what scrolls below it. */
.rail-top[b-bcyxv987vq]{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px 10px;padding:5px;border-bottom:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}
.rail-head[b-bcyxv987vq]{flex:1 1 auto;min-width:0}
/* Three sizes, three jobs. The kicker is small and wide-tracked because it labels the thing rather
   than being part of it; the name is the only line here read at a glance; the line under it is
   context, in --medq-blue rather than grey — grey would put it at the weight of the fact captions
   below, which it is not. */
.rail-kind[b-bcyxv987vq]{display:block;color:var(--iws-text-secondary);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* A line rather than a word, since the description sits on it: baseline-aligned so the two do not
   read as a heading with a subscript, and wrapping so a long name takes the second line rather than
   pushing the gloss off the card. */
.rail-top h2[b-bcyxv987vq]{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 6px;margin:1px 0 2px;color:var(--iws-heading);font-size:15px;font-weight:700;line-height:1.2}
.rail-name[b-bcyxv987vq]{min-width:0;overflow-wrap:anywhere}
/* The gloss, at the name's own size and colour (Marius, 2026-09-20: "use same font size/color for
   description"): 11px grey beside 15px navy read as a caption under a title rather than as the rest
   of one line, and the description is the second half of what this file is called. Only the weight
   still separates them, so the name is what the eye lands on first. Held to one line with the whole
   of it in `title`, and `flex:1 1 6rem` is what makes it the part that gives way — it takes what the
   name leaves and ellipses inside it, where a natural width would have widened the head instead. */
.rail-what[b-bcyxv987vq]{flex:1 1 6rem;min-width:0;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rail-sub[b-bcyxv987vq]{color:var(--iws-brand);font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.rail-top .status-tag[b-bcyxv987vq]{flex:0 0 auto;margin-left:auto}

/* The file as the browser can draw it, or its kind where it cannot. It keeps its own frame because it
   is a picture of something rather than a fact about it. Clipped, so nothing drawn inside can reach
   the facts below it whatever the file turns out to be. */
.attachment-preview[b-bcyxv987vq]{flex:0 0 auto;display:grid;place-items:center;min-height:9rem;border:1px solid var(--iws-border-subtle);border-radius:.3rem;background:var(--iws-surface-subtle);color:var(--iws-heading);overflow:hidden}
.attachment-preview[b-bcyxv987vq]  .shared-icon{width:3.2rem;height:3.2rem}

/* A picture or a video, in a compact rail: the panel it has always had, as tall as what is in it up
   to twelve rems and no taller. This is the state the rail returns to when the area is set back to
   Compact (Marius, 2026-09-20: "when go back to compact small view should be restored"), so it is
   written as the plain case and the one below is what is added on top of it. */
.attachment-preview.is-media img[b-bcyxv987vq],.attachment-preview.is-media video[b-bcyxv987vq]{display:block;max-width:100%;max-height:12rem;object-fit:contain}
.attachment-preview.is-media[b-bcyxv987vq]{border-color:var(--iws-paper-border);background:var(--iws-paper)}
/* The wheel magnifies a picture in place, which the script does by transforming this element; what
   is said here is only where it grows from and that the transform is what moves. The frame's own
   `overflow:hidden` is what keeps an enlarged picture inside its panel. */
.attachment-preview.is-media img[b-bcyxv987vq]{transform-origin:center center}
/* Only while there is something to move: at rest the panel is not a grabbable thing, and a pointer
   that says it is would be a promise the panel does not keep. `touch-action` for the same reason —
   taken at rest it would stop a finger scrolling the rail over the picture. */
.attachment-preview.is-zoomed[b-bcyxv987vq]{cursor:grab;touch-action:none}
.attachment-preview.is-panning[b-bcyxv987vq]{cursor:grabbing}

/* And the same panel in an area opened up to read one document ("when attachment = large we should
   make the image bigger = fit area"). `1 1 9rem` rather than a height of its own: the facts under it
   are fixed, so the panel is the one element that can absorb the difference between the two heights —
   and it is the only element here worth the room, since what it holds is the document itself.

   The nine-rem floor the panel keeps everywhere else is dropped here, so what it takes is the rail's
   height less the two rows of facts and nothing more (Marius, 2026-09-20: "large should fit height -
   2 rows"). Held at nine it would have been the facts that gave way on a rail too short for both, and
   a picture that has pushed what the file is off the bottom of the card is a picture that has taken
   room it does not own — the strip below it is six answers in two lines, and it is read.

   And the picture is drawn to that room rather than merely allowed to reach it (Marius, 2026-09-20:
   "you do not redraw the server image, but just the compact view"). Bounds alone were the bug: a
   scan wider than a compact panel did grow here, and a small one — a phone photo of a form, a
   cropped region — stayed the size it had been, marooned in the middle of an area somebody had just
   opened up to read it.

   Both axes at 100% with `contain`, which is the compact rule scaled up rather than a stretch
   (Marius, 2026-09-20: "the image should be drawn just like compact, but on a bigger area"): the
   ratio is the picture's, the long side meets the panel, and nothing is cropped. The stretch that
   was reported before came from stating one axis — `height:100%` alone runs the sides past the
   edges — which is what `object-fit` is here to prevent.

   The panel states its own track and stops centring to do it. Both are load-bearing: the panel is a
   grid of one auto row, and a percentage height on the thing inside an auto row is measured against
   a row that is being measured from that same thing — which a browser resolves by ignoring it and
   using the picture's natural height instead. A scan taller than the rail then overflowed a panel
   that clips, and what was on screen was the middle of it with the rest cut off. A `1fr` row is a
   definite height for the percentage to answer to, and `stretch` is what lets the box take it. */
.attachment-preview.is-filling[b-bcyxv987vq]{flex:1 1 9rem;min-height:0;padding:2px;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:stretch}
.attachment-preview.is-filling img[b-bcyxv987vq],.attachment-preview.is-filling video[b-bcyxv987vq]{width:100%;max-width:100%;height:100%;max-height:100%;object-fit:contain}

/* A page needs height to be read, so a PDF takes all of the rail the facts under it leave, in either
   area size. Twenty rems is the floor in a compact rail, below which the rail scrolls rather than the
   page shrinking; a large one drops it, as a picture does. */
.attachment-preview.is-pdf[b-bcyxv987vq]{flex:1 1 20rem;min-height:20rem;padding:0;place-items:stretch;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);border-color:var(--iws-border);background:var(--iws-surface)}
.attachment-preview.is-pdf.is-filling[b-bcyxv987vq]{min-height:0}
.attachment-preview.is-pdf iframe[b-bcyxv987vq]{display:block;width:100%;height:100%;border:0;background:var(--iws-surface)}

/* A player is a row of controls, so the panel is the height of that row and little more: nine rems
   around a transport bar is nine rems of nothing. Twenty pixels over the control rather than flush to
   it (Marius, 2026-09-20: "add 20px height to text pdf, wav place"), which is the same twenty the
   glyph strip below is given, and the control centred in what that buys.

   Unframed, and only this one of the three (Marius, 2026-09-20: "can we make this transparent? no
   external border — wav player only"). The player arrives with its own rounded, tinted bar, so the
   panel's frame was a second box a few pixels outside the first. The other two keep theirs: a glyph
   and a picture have no chrome of their own, and the frame is what says the rail's first element is a
   panel rather than loose content. Transparent rather than dropped, so the strip stands where it
   stood and the twenty pixels still read as room around the control. */
.attachment-preview.is-audio[b-bcyxv987vq]{display:grid;align-items:center;min-height:calc(2.8rem + 20px);padding:.3rem;border-color:transparent;background:transparent}
.attachment-preview.is-audio audio[b-bcyxv987vq]{display:block;width:100%;height:2.2rem}

/* A quarter of that where there is nothing to look at: the glyph beside its extension on one line
   rather than stacked over it, which is what lets the row be this short. The panel is kept rather
   than dropped — it is where the eye goes first in this rail, and a rail whose first element appears
   for some files and not others is a rail that moves under the reader. 2.25rem plus twenty pixels
   (Marius, 2026-09-20): at 2.25 the frame sat on the glyph's shoulders, which on a document that has
   no preview is the one place the eye lands. */
.attachment-preview.is-glyph[b-bcyxv987vq]{display:flex;align-items:center;justify-content:center;gap:.4rem;min-height:calc(2.25rem + 20px)}
.attachment-preview.is-glyph[b-bcyxv987vq]  .shared-icon{width:1.1rem;height:1.1rem}
/* The extension, read as the label it is: the kind of the file, not its name. */
.attachment-preview.is-glyph strong[b-bcyxv987vq]{color:var(--iws-text-secondary);font-size:.68rem;font-weight:700;letter-spacing:.06em}

/* Play, on the one strip that carries a control: a recording too big to fetch on selection. Sized to
   the label beside it rather than to the rail's own buttons, which live in the foot and are the
   width of the rail — this one belongs to the strip it sits in. */
.attachment-preview.is-glyph .preview-play[b-bcyxv987vq]{margin-left:.15rem;padding:.1rem .5rem;border:1px solid var(--iws-brand);border-radius:999px;background:transparent;color:var(--iws-brand);font:inherit;font-size:.68rem;font-weight:700;line-height:1.5;cursor:pointer}
.attachment-preview.is-glyph .preview-play:hover[b-bcyxv987vq]{background:var(--iws-brand);color:var(--iws-text-on-accent)}

/* The facts, in the strip the task rail leads with: as many across as the rail can afford and the rest
   on the next line, two lanes at the rail's own minimum and never more than three, so the six facts
   stay two rows under the page however wide the rail is dragged. The row gap is smaller than the
   column gap on purpose: a caption over its value already separates the lines, and what needs the
   space is telling one pair from the pair beside it. */
.rail-facts[b-bcyxv987vq]{flex:0 0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(max(7rem,calc((100% - 24px) / 3)),1fr));gap:8px 12px}
.rail-fact-cell[b-bcyxv987vq]{min-width:0;display:flex;flex-direction:column;gap:1px}
/* The caption, at the weight the chart gives every word that asks rather than answers. */
.rail-fact-k[b-bcyxv987vq]{color:var(--iws-caption);font-size:11px;line-height:13px;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* A stated line-height, so the answers sit on one line rather than within a pixel of each other. */
.rail-fact-v[b-bcyxv987vq]{min-width:0;color:var(--iws-heading);font-size:.72rem;font-weight:600;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Prose, so it wraps where the others clip. Lighter as well: a description is read rather than
   checked, and at 600 a two-line sentence is the loudest thing in the strip. */
.rail-fact-v.is-prose[b-bcyxv987vq]{font-weight:500;white-space:normal;overflow:visible;overflow-wrap:anywhere}

/* What was said in a recording, which is the one answer in this rail that is read end to end rather
   than checked at a glance. pre-wrap because the transcript arrives with its own line breaks between
   speakers, and collapsing them would run a consultation into one paragraph. It is not boxed or
   scrolled: the rail already scrolls, and a second scroller inside it traps the wheel. */
.rail-transcript[b-bcyxv987vq]{flex:0 0 auto;display:flex;flex-direction:column;gap:3px}
.rail-transcript p[b-bcyxv987vq]{margin:0;color:var(--iws-heading);font-size:.72rem;font-weight:500;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.rail-transcript p.is-missing[b-bcyxv987vq]{color:var(--iws-text-faint);font-style:italic;white-space:normal}

/* The foot, and the task rail's own: a pinned row rather than the end of the scroll, so it is
   reachable without reading past the whole record — hence the background and the rule above it, which
   say the row is not part of what is scrolling over it. The five pixels on the bottom are the
   switch's: in the row it was a flex item, so when the buttons filled the rail it wrapped, and a
   wrapped item brings the row gap and its own full height with it. */
.attachment-actions[b-bcyxv987vq]{position:relative;flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.55rem .85rem calc(.55rem + 5px);border-top:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}
.attachment-actions button[b-bcyxv987vq]{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:1.9rem;padding:.3rem .6rem;border:1px solid var(--iws-brand);border-radius:.25rem;background:var(--iws-surface);color:var(--iws-brand);font:inherit;font-size:.72rem;font-weight:700;white-space:nowrap;cursor:pointer}
/* Navy, which is what the task and encounter feet give their own first action. */
.attachment-actions .primary[b-bcyxv987vq]{border-color:var(--iws-accent);background:var(--iws-accent);color:var(--iws-text-on-accent)}
/* The one button here that destroys something, which neither of those feet has: outlined in its own
   tone rather than filled, since a filled red beside a filled navy reads as the pair of them being
   the two things to do. */
.attachment-actions .danger[b-bcyxv987vq]{border-color:var(--iws-danger-border);color:var(--iws-danger-text)}
.attachment-actions button:disabled[b-bcyxv987vq]{border-color:var(--iws-border);background:var(--iws-surface-sunken);color:var(--iws-text-faint);cursor:not-allowed}
/* In the corner the padding above just bought, clear of the buttons rather than over them, and at the
   same offsets the task and encounter rails use so every switch in the chart stands in the same place
   in its foot (Marius, 2026-09-20: "large/compact same position"). `::deep` because the element
   belongs to `ChartHeightSwitch` and carries its scope, not this one's. */
.attachment-actions[b-bcyxv987vq]  .chart-height{position:absolute;right:calc(.85rem - 20px);bottom:-2px;margin:0}

/* The add form, which is a window now rather than a band across the top of the section (Marius,
   2026-09-20: "move into popup dialog"). Two columns of short answers with the description across
   both, then the drop zone under them — a shape that reads down the page, where the band read across
   it because the band had a list to leave room for and this has the frame to itself. */
.attachment-add[b-bcyxv987vq]{display:grid;gap:.6rem}
.attachment-add fieldset[b-bcyxv987vq]{display:grid;gap:.6rem;margin:0;padding:0;border:0}
/* Aligned to the controls rather than to the tops of the cells, so a caption of two lines on a narrow
   frame does not lift its editor above the one beside it. */
.attachment-add-grid[b-bcyxv987vq]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.5rem .75rem}
/* Compact, matching the diagnosis dialog: the caption a step under the editor it names, and the gap
   between them small enough that the pair reads as one thing. */
.attachment-add .form-field[b-bcyxv987vq]{gap:.2rem}
.attachment-add .form-field label[b-bcyxv987vq]{color:var(--iws-text-secondary);font-size:.72rem;font-weight:600}
.attachment-add textarea[b-bcyxv987vq]{width:100%;box-sizing:border-box;border:1px solid var(--iws-border);border-radius:.25rem;padding:.4rem;background:var(--iws-surface);font:inherit;font-size:.8125rem;resize:vertical}
/* And the editors fill the cell they were given. Left to themselves they take the width of what they
   hold, so a column of aligned cells still drew two boxes with two different right edges. The date
   keeps its own cap — see `.iws-field-date` — because eight characters do not need half a frame. */
.attachment-add[b-bcyxv987vq]  .dxbl-edit-box{width:100%;min-width:0;max-width:100%}
.attachment-add-error[b-bcyxv987vq]{margin:0;color:var(--iws-danger-text);font-size:.75rem}
/* Why Add is refused at the left, the two buttons at the right: the sentence is about the button, and
   the footer is the one place both can be read at once. */
.attachment-add-footer[b-bcyxv987vq]{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%}
.attachment-add-footer small[b-bcyxv987vq]{color:var(--iws-text-secondary);font-size:.72rem}
.attachment-add-footer>div[b-bcyxv987vq]{display:flex;gap:.5rem}
/* The fields in a 300px column and the preview area given the rest, at the height the reference
   layout draws (Marius, 2026-10-28). The fields are packed at the top: stretched to the area's
   height, the grid would share the room between its rows and float each field away from the next. */
.attachment-add-layout[b-bcyxv987vq]{position:relative;display:grid;grid-template-columns:300px minmax(0,1fr);align-items:stretch;gap:2.5rem}
.attachment-add-layout>.attachment-add-grid[b-bcyxv987vq]{grid-template-columns:minmax(0,1fr);align-content:start;gap:.85rem}
.attachment-add-layout textarea[b-bcyxv987vq]{min-height:10rem}

/* The preview area, on the theme's surface. Its children are laid over each other. */
.attachment-preview-area[b-bcyxv987vq]{position:relative;height:32rem;border:1px dashed var(--iws-brand);border-radius:.3rem;background:var(--iws-surface);overflow:hidden}
.attachment-preview-area.has-image[b-bcyxv987vq],.attachment-preview-area.has-pdf[b-bcyxv987vq]{border-color:var(--iws-border)}
/* `dragging` is put on the window's body by the component while a file is held over it. */
.attachment-add.dragging .attachment-preview-area[b-bcyxv987vq]{border-style:solid;border-color:var(--iws-brand);background:color-mix(in srgb,var(--iws-brand-soft) 22%,var(--iws-surface))}

/* A picture larger than the area is fitted to it; a smaller one is left at its own size. Both follow
   from the caps alone: the box is never given a size, so nothing ever enlarges it, and a picture that
   meets a cap is scaled on both axes together. The zoom script reads the drawn box as its 1×. */
.attachment-add-panel[b-bcyxv987vq]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.attachment-add-panel img[b-bcyxv987vq]{display:block;max-width:100%;max-height:100%;user-select:none}
.attachment-add-panel.is-zoomed[b-bcyxv987vq]{cursor:grab;touch-action:none}
.attachment-add-panel.is-panning[b-bcyxv987vq]{cursor:grabbing}
.attachment-add-pdf[b-bcyxv987vq]{position:absolute;inset:0;width:100%;height:100%;border:0;background:var(--iws-surface)}
.attachment-add-glyph[b-bcyxv987vq]{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:.3rem;padding:1rem;color:var(--iws-text);text-align:center}
.attachment-add-glyph[b-bcyxv987vq]  svg{width:2.5rem;height:2.5rem}
.attachment-add-glyph strong[b-bcyxv987vq]{overflow-wrap:anywhere}
.attachment-add-glyph span[b-bcyxv987vq]{font-size:.72rem;color:var(--iws-text-secondary)}

/* The picker. Empty, it is laid over the preview column and reads as the drop zone; with a file staged
   it is a button under the fields. A button inherits neither font nor background, so both are stated,
   and what is drawn inside it lets the pointer through so the component always sees the element it
   was given. The empty offset is the fields' column plus the gap, from `.attachment-add-layout`. */
.attachment-choose[b-bcyxv987vq]{font:inherit;cursor:pointer}
.attachment-choose[b-bcyxv987vq]  svg,.attachment-choose strong[b-bcyxv987vq],.attachment-choose span[b-bcyxv987vq]{pointer-events:none}
.attachment-choose.is-empty[b-bcyxv987vq]{position:absolute;top:0;right:0;bottom:0;left:calc(300px + 2.5rem);z-index:1;display:grid;place-content:center;justify-items:center;gap:.3rem;padding:1rem;border:0;background:transparent;color:var(--iws-heading);text-align:center}
.attachment-choose.is-empty strong[b-bcyxv987vq]{font-weight:700}
.attachment-choose.is-empty span[b-bcyxv987vq]{font-size:.72rem;color:var(--iws-text-secondary)}
.attachment-choose.is-staged[b-bcyxv987vq]{justify-self:start;padding:.3rem .8rem;border:1px solid var(--iws-border);border-radius:.25rem;background:var(--iws-surface);color:var(--iws-brand);font-size:.8125rem;font-weight:600}
.attachment-choose.is-staged:hover[b-bcyxv987vq]{background:color-mix(in srgb,var(--iws-brand-soft) 22%,var(--iws-surface))}
.attachment-add-footer small[b-bcyxv987vq]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}

/* One column in the window when the viewport is too narrow for two. Nothing about the section itself
   is said here any more: its two panes are sized from the area's own width, which no media query can
   see, and the scroller is what answers a lane too narrow for the pair. */
@media(max-width:900px){.attachment-add-grid[b-bcyxv987vq],.attachment-add-layout[b-bcyxv987vq]{grid-template-columns:1fr}.attachment-preview-area[b-bcyxv987vq]{height:22rem}.attachment-choose.is-empty[b-bcyxv987vq]{position:static;border:1px dashed var(--iws-brand);border-radius:.3rem}}
/* /Components/Chart/ChartCommunicationArea.razor.rz.scp.css */
/* The zone and a card on it, as the other chart areas are drawn. */
.chart-communication[b-vf5n4jqmoy]{flex:1 1 auto;box-sizing:border-box;display:flex;min-width:0;min-height:0;padding:5px;background:var(--iws-zone)}
/* New open with room for it: the history, the boundary, the form and Before you write side by side, as
   drawn (PC-40). The form is as wide as it was dragged (PC-50), but never under its floor nor so wide
   that the history loses its own, whatever the window does after the drag. */
.chart-communication.is-composing[b-vf5n4jqmoy]{
    display:grid;grid-template-rows:minmax(0,1fr);
    grid-template-columns:minmax(0,1fr) var(--comm-split) clamp(var(--comm-form-min),var(--comm-form),calc(100% - var(--comm-history-min) - var(--comm-split) - var(--comm-beside))) var(--comm-beside);
}
.chart-communication.is-composing[b-vf5n4jqmoy]  .comm-before{margin-left:10px}
/* New log has no Before you write: its form takes that column too (PC-52). Its box ends under its last
   field, with the footer right after it, rather than stretching down the area (PC-54). */
.chart-communication.is-composing[b-vf5n4jqmoy]  .comm-new--log{grid-column:3 / 5;align-self:start;max-height:100%}

/* The boundary: the gap between the history and the form, colourless until the hand is on it, as the
   chart's other boundaries are drawn. */
.comm-split[b-vf5n4jqmoy]{position:relative;cursor:col-resize;touch-action:none}
.comm-split[b-vf5n4jqmoy]::after{content:"";position:absolute;top:0;bottom:0;left:4px;width:2px;background:transparent}
.comm-split:hover[b-vf5n4jqmoy]::after,.comm-split.is-dragging[b-vf5n4jqmoy]::after{background:var(--iws-focus)}
.comm-card[b-vf5n4jqmoy]{flex:1 1 auto;display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface);overflow:hidden}

/* The channel tabs, Search and New on one line. Search and New drop to a line of their own only when
   the tabs leave them too little room, as beside the open form, so the tabs always lie in a row. */
.comm-head[b-vf5n4jqmoy]{display:flex;flex-wrap:wrap;align-items:center;border-bottom:1px solid var(--iws-border-subtle)}
.comm-actions[b-vf5n4jqmoy]{flex:1 0 360px;display:flex;align-items:center;gap:8px;padding:4px 10px}
/* At the right end, before New, as every section list puts its search (CH-14): 350px, giving way to
   150px (communicationArea.js's SEARCH_MIN). */
[b-vf5n4jqmoy] .comm-search{flex:0 1 350px;min-width:150px;margin-left:auto}
/* Never narrower than its caption on one line: the search box gives up the room instead (PC-51). */
[b-vf5n4jqmoy] .comm-new-button{flex:none;white-space:nowrap}
.comm-stat[b-vf5n4jqmoy]{color:var(--iws-danger-text);font-size:.62rem;letter-spacing:.04em}

/* Channel tabs: the glyph, the name and the count. */
[b-vf5n4jqmoy] .comm-tabs{flex:0 1 auto;width:auto;min-width:0;padding:0 8px;background:var(--iws-surface)}
.comm-tab[b-vf5n4jqmoy]{display:inline-flex;align-items:center;gap:6px}
.comm-tab[b-vf5n4jqmoy]  .comm-tab-icon svg{width:.85rem;height:.85rem}
.comm-n[b-vf5n4jqmoy]{display:inline-block;padding:0 5px;border-radius:8px;background:var(--iws-brand-faint);color:var(--iws-brand);font-size:.62rem;font-weight:700;line-height:1.45}

/* Status pills (app.css `iws-pill`), each on or off by itself (PC-2). On the head's line between the
   tabs and Search when they all fit there with Search at its least, else on the row under it, all
   together (CH-14); communicationArea.js decides, and its PILLS_LEAD is the padding here. The row
   under the head is then drawn only for the encounter chip. */
.comm-pills[b-vf5n4jqmoy]{flex:0 1 auto;display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}
.comm-head > .comm-pills[b-vf5n4jqmoy]{flex:none;padding-left:8px}
.comm-filters[b-vf5n4jqmoy]{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:7px 10px;border-bottom:1px solid var(--iws-border-subtle)}

/* The encounter the history is cut to, after the pills. */
.comm-chip[b-vf5n4jqmoy]{display:inline-flex;align-items:center;gap:6px;margin-left:8px;padding:2px 4px 2px 10px;border:1px solid var(--iws-border);border-radius:999px;background:var(--iws-surface-sunken);font-size:.72rem}
.comm-chip-clear[b-vf5n4jqmoy]{border:0;background:transparent;color:var(--iws-text-secondary);font-size:1rem;line-height:1;cursor:pointer;padding:0 4px}
.comm-chip-clear:hover[b-vf5n4jqmoy]{color:var(--iws-heading)}
/* The history: one line per job, drawn as the line it is rather than as columns. */
[b-vf5n4jqmoy] .comm-grid{flex:1 1 auto;min-height:0;--dxbl-grid-border-width:0;--dxbl-grid-font-size:.75rem;--dxbl-grid-text-cell-padding-y:0;--dxbl-grid-text-cell-padding-x:0;--dxbl-grid-hover-bg:var(--iws-hover)}
[b-vf5n4jqmoy] .comm-grid .dxbl-grid-table > thead{display:none}
[b-vf5n4jqmoy] .comm-grid .dxbl-grid-detail-cell{padding:0 12px 4px 52px}

[b-vf5n4jqmoy] .comm-he{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:2px 10px;padding:9px 12px}
[b-vf5n4jqmoy] .comm-ic{grid-row:1 / 4;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--iws-brand-faint);color:var(--iws-brand)}
[b-vf5n4jqmoy] .comm-ic svg{width:15px;height:15px}
[b-vf5n4jqmoy] .comm-ic.rule{background:rgba(106,79,192,.14);color:#6a4fc0}
[b-vf5n4jqmoy] .comm-ic.fail{background:var(--iws-danger-bg);color:var(--iws-danger-text)}
[b-vf5n4jqmoy] .comm-l1{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;color:var(--iws-text)}
[b-vf5n4jqmoy] .comm-l1 > b{color:var(--iws-heading)}
[b-vf5n4jqmoy] .comm-to{min-width:0;overflow-wrap:anywhere}
[b-vf5n4jqmoy] .comm-by{font-size:.66rem;color:var(--iws-text-secondary)}
[b-vf5n4jqmoy] .comm-tm{font-size:.7rem;color:var(--iws-text-secondary);text-align:right;white-space:nowrap}
[b-vf5n4jqmoy] .comm-l2{grid-column:2 / 3;min-width:0;font-size:.72rem;color:var(--iws-text-secondary);overflow-wrap:anywhere}
[b-vf5n4jqmoy] .comm-l2 b{color:var(--iws-text)}
[b-vf5n4jqmoy] .comm-st{display:inline-flex;align-items:center;height:18px;padding:0 7px;border-radius:9px;font-size:.62rem;font-weight:700}
[b-vf5n4jqmoy] .comm-st.ok{background:var(--iws-success-bg);color:var(--iws-success-text)}
[b-vf5n4jqmoy] .comm-st.wait{background:var(--iws-warning-bg);color:var(--iws-warning-text)}
[b-vf5n4jqmoy] .comm-st.bad{background:var(--iws-danger-bg);color:var(--iws-danger-text)}
[b-vf5n4jqmoy] .comm-st.off{background:var(--iws-muted-bg);color:var(--iws-muted-text)}
[b-vf5n4jqmoy] .comm-xp{grid-column:3;grid-row:2;justify-self:end;align-self:start;display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:var(--iws-brand);font-size:.72rem;line-height:1.3;cursor:pointer}
[b-vf5n4jqmoy] .comm-xp:hover{text-decoration:underline}
[b-vf5n4jqmoy] .comm-xp svg{width:.8rem;height:.8rem}
[b-vf5n4jqmoy] .comm-failwhy{grid-column:2 / 4;justify-self:start;margin-top:3px;padding:4px 8px;border:1px solid var(--iws-danger-border);border-radius:4px;background:var(--iws-danger-bg);color:var(--iws-danger-text);font-size:.7rem;font-weight:700}

/* A log entry (PC-52): when and who, Edit and Retract for its author, About, and the note as typed.
   A retracted entry stays, struck through, with who retracted it under it. */
[b-vf5n4jqmoy] .comm-log-actions{grid-column:3;grid-row:1;justify-self:end;display:inline-flex;gap:12px}
[b-vf5n4jqmoy] .comm-log-text{grid-column:2 / 4;min-width:0;color:var(--iws-text);font-size:.75rem;white-space:pre-wrap;overflow-wrap:anywhere}
[b-vf5n4jqmoy] .comm-log.is-retracted .comm-l1 > b,[b-vf5n4jqmoy] .comm-log.is-retracted .comm-l2,[b-vf5n4jqmoy] .comm-log.is-retracted .comm-log-text{text-decoration:line-through;color:var(--iws-text-secondary)}
[b-vf5n4jqmoy] .comm-log.is-retracted .comm-ic{background:var(--iws-muted-bg);color:var(--iws-muted-text)}
[b-vf5n4jqmoy] .comm-log-retracted{grid-column:2 / 4;font-size:.68rem;color:var(--iws-danger-text)}

.comm-card > .message[b-vf5n4jqmoy]{margin:6px 10px 0}
.comm-card[b-vf5n4jqmoy]  .page-loader{flex:1 1 auto;min-height:6rem}
/* /Components/Chart/ChartCommunicationCompose.razor.rz.scp.css */
/* In the page: the form and Before you write are boxes beside the history, as the history's card is drawn. */
.comm-new[b-l6oexxymhf],.comm-before[b-l6oexxymhf]{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface);overflow:hidden}
.comm-box-head[b-l6oexxymhf]{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--iws-border-subtle);background:var(--iws-surface-sunken)}
.comm-box-title[b-l6oexxymhf]{font-size:.8rem;font-weight:700;color:var(--iws-heading)}
.comm-box-close[b-l6oexxymhf]{display:inline-grid;place-items:center;margin-left:auto;padding:2px;border:0;background:transparent;color:var(--iws-text-secondary);cursor:pointer}
.comm-box-close:hover[b-l6oexxymhf]{color:var(--iws-heading)}
.comm-box-close[b-l6oexxymhf]  svg{width:.85rem;height:.85rem}
.comm-new-body[b-l6oexxymhf]{flex:1 1 auto;min-height:0;overflow:auto;padding:10px 12px}
.comm-new-foot[b-l6oexxymhf]{padding:8px 12px;border-top:1px solid var(--iws-border-subtle);background:var(--iws-surface-sunken)}
.comm-before-body[b-l6oexxymhf]{flex:1 1 auto;min-height:0;overflow:auto;padding:10px 12px;font-size:.74rem}

/* As a popup: the form, and the column of what the chart already says about reaching the patient (PC-18). */
.comm-compose[b-l6oexxymhf]{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px}
@media (max-width: 900px){
    .comm-compose[b-l6oexxymhf]{grid-template-columns:minmax(0,1fr)}
}
.comm-compose-facts[b-l6oexxymhf]{padding:8px 10px;border:1px solid var(--iws-border-subtle);border-radius:6px;background:var(--iws-surface-sunken);font-size:.76rem}
.comm-compose-facts h4[b-l6oexxymhf]{margin:0 0 6px;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--iws-text-faint)}

/* The form, the same in both. */
.comm-form[b-l6oexxymhf]{row-gap:10px}
.comm-list[b-l6oexxymhf]{display:grid;border:1px solid var(--iws-border);border-radius:4px;background:var(--iws-surface)}
.comm-list-empty[b-l6oexxymhf]{margin:0;padding:6px 9px}
.comm-line[b-l6oexxymhf]{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;padding:4px 6px 4px 9px;border-bottom:1px solid var(--iws-border-subtle)}
.comm-line:last-child[b-l6oexxymhf]{border-bottom:0}
.comm-line--document[b-l6oexxymhf]{grid-template-columns:minmax(0,1fr) auto}
.comm-line-main[b-l6oexxymhf]{color:var(--iws-heading);font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.comm-line-value[b-l6oexxymhf]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.74rem;color:var(--iws-text)}
.comm-line-problem[b-l6oexxymhf]{grid-column:1 / -1;font-size:.72rem}
.comm-line-remove[b-l6oexxymhf]{display:inline-grid;place-items:center;padding:2px 4px;border:0;background:transparent;color:var(--iws-text-secondary);cursor:pointer}
.comm-line-remove:hover[b-l6oexxymhf]{color:var(--iws-heading)}
.comm-line-remove[b-l6oexxymhf]  svg{width:.8rem;height:.8rem}
.comm-consent[b-l6oexxymhf]{font-style:italic;color:var(--iws-muted-text)}
.comm-form[b-l6oexxymhf]  .comm-add{align-self:flex-start;margin-top:2px}
.comm-form[b-l6oexxymhf]  .comm-html .dxbl-ribbon-toolbar{padding:5px;margin:0}
.comm-form[b-l6oexxymhf]  .comm-html .dxbl-ribbon-toolbar .dxbl-btn{zoom:.75}
.comm-foot[b-l6oexxymhf]{display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%}
.comm-foot-gap[b-l6oexxymhf]{flex:1 1 auto}

/* Sending chart notes (6.1e-7, from the v3 mockup). The documents caption in the notes' purple, which
   is the Security settings ink: the theme's one purple, with its dark counterpart. */
.comm-content-cap[b-l6oexxymhf]{color:var(--iws-settings-security);font-weight:600}

/* To: the last line of the list takes a pasted or typed number, with the patient's people (Add
   recipient) at its end: the glyph centred in a square button, and the button centred on the line. */
.comm-to-entry[b-l6oexxymhf]{padding:3px 6px 3px 10px}
.comm-to-entry[b-l6oexxymhf]  .comm-to-box{--dxbl-text-edit-border-width:0;--dxbl-text-edit-bg:transparent;font-size:.78rem;box-shadow:none}
.comm-to-entry[b-l6oexxymhf]  .comm-to-box .dxbl-text-edit-input{color:var(--iws-heading)}
.comm-to-entry[b-l6oexxymhf]  .comm-to-box :has(> .comm-to-add){display:flex;align-items:center;align-self:stretch}
.comm-to-entry[b-l6oexxymhf]  .comm-to-box .dxbl-btn.comm-to-add{display:inline-flex;align-items:center;justify-content:center;align-self:center;width:26px;height:26px;min-height:0;margin:0;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--iws-link)}
.comm-to-entry[b-l6oexxymhf]  .comm-to-box .dxbl-btn.comm-to-add:hover{border-color:var(--iws-brand-soft);background:var(--iws-selected)}
.comm-to-entry[b-l6oexxymhf]  .comm-to-box .dxbl-btn.comm-to-add .iws-dx-icon{width:18px !important;height:18px !important;margin:0}
.comm-line-main.is-looking[b-l6oexxymhf]{color:var(--iws-text-faint);font-size:.69rem;font-style:italic}
.comm-line-main.is-unknown[b-l6oexxymhf]{color:var(--iws-text-secondary);font-size:.69rem}

/* The notes line: its title with Preview, Edit and remove, then the sort and the notes under it. */
.comm-line--notes[b-l6oexxymhf]{grid-template-columns:minmax(0,1fr) auto;row-gap:4px;padding:7px 6px 7px 10px;background:color-mix(in srgb,var(--iws-settings-security) 7%,var(--iws-surface))}
.comm-notes-top[b-l6oexxymhf]{min-width:0;color:var(--iws-heading);font-size:.78rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.comm-notes-acts[b-l6oexxymhf]{display:inline-flex;align-items:center;gap:2px;justify-self:end}
.comm-notes-acts[b-l6oexxymhf]  .comm-icon-btn{width:24px;height:22px;min-height:0;padding:0;--dxbl-btn-color:var(--iws-link);--dxbl-btn-hover-bg:var(--iws-selected);--dxbl-btn-hover-color:var(--iws-link)}
.comm-notes-acts[b-l6oexxymhf]  .comm-icon-btn svg{width:14px;height:14px}
.comm-notes-detail[b-l6oexxymhf]{grid-column:1 / -1;min-width:0;color:var(--iws-text-secondary);font-size:.69rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.comm-adds[b-l6oexxymhf]{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}

/* The summary right above the footer; in the popup it closes the body. */
.comm-banner[b-l6oexxymhf]{padding:7px 14px;border-top:1px solid var(--iws-info-border);background:var(--iws-info-bg);color:var(--iws-link);font-size:.75rem}
.comm-compose + .comm-banner[b-l6oexxymhf]{margin-top:12px;border:1px solid var(--iws-info-border);border-radius:4px}
.comm-savecopy[b-l6oexxymhf]{display:inline-flex;align-items:center;gap:6px;color:var(--iws-heading);font-size:.78rem;cursor:pointer;user-select:none}
.comm-facts[b-l6oexxymhf]{margin:0}
.comm-facts dt[b-l6oexxymhf]{color:var(--iws-muted-text)}
.comm-facts dd[b-l6oexxymhf]{margin:0 0 6px;overflow-wrap:anywhere}
/* /Components/Chart/ChartCommunicationDetail.razor.rz.scp.css */
/* Side by side where the opened line is wide enough, stacked where it is not (PC-23). */
.comm-detail[b-i1tspdke04]{container-type:inline-size;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start;padding:2px 0 6px}
@container (min-width: 640px){
    .comm-detail:has(.comm-detail-message)[b-i1tspdke04]{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
    .comm-detail:not(:has(.comm-detail-message)) .comm-how[b-i1tspdke04]{max-width:520px}
}

.comm-how[b-i1tspdke04]{border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface-subtle);padding:6px 10px 4px}
.comm-hc[b-i1tspdke04]{margin-bottom:2px;font-size:.72rem;font-weight:700;color:var(--iws-heading)}
.comm-tl[b-i1tspdke04]{margin:0;padding:0;list-style:none;display:grid}
.comm-tl-row[b-i1tspdke04]{display:grid;grid-template-columns:minmax(56px,auto) 8px minmax(0,1fr);gap:6px;align-items:start;padding:3px 0;font-size:.72rem;color:var(--iws-text)}
.comm-tl-at[b-i1tspdke04]{color:var(--iws-text-secondary);font-size:.66rem;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.comm-dt[b-i1tspdke04]{width:8px;height:8px;margin-top:4px;border-radius:50%;background:var(--iws-brand)}
.comm-dt.ok[b-i1tspdke04]{background:var(--iws-success-tone)}
.comm-dt.failed[b-i1tspdke04]{background:var(--iws-danger-tone)}
.comm-dt.next[b-i1tspdke04]{background:var(--iws-warning-tone)}
.comm-tl-text[b-i1tspdke04]{min-width:0;overflow-wrap:anywhere}
.comm-hn[b-i1tspdke04]{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:3px;padding-top:3px;border-top:1px solid var(--iws-border-subtle);font-size:.66rem;color:var(--iws-text-faint)}
.comm-hn-link[b-i1tspdke04]{padding:0;border:0;background:transparent;color:var(--iws-brand);font-size:inherit;cursor:pointer}
.comm-hn-link:hover[b-i1tspdke04]{text-decoration:underline}

.comm-msg[b-i1tspdke04]{border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface);overflow:hidden}
.comm-mh[b-i1tspdke04]{display:grid;gap:2px;padding:6px 10px;border-bottom:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle);font-size:.72rem;color:var(--iws-text-secondary)}
.comm-mh b[b-i1tspdke04]{color:var(--iws-text);overflow-wrap:anywhere}
.comm-message-html[b-i1tspdke04]{display:block;width:100%;height:260px;border:0;background:var(--iws-paper)}
.comm-message-text[b-i1tspdke04]{margin:0;padding:8px 12px;max-height:260px;overflow:auto;font-family:inherit;font-size:.78rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}

.comm-smsb[b-i1tspdke04]{margin-left:auto;max-width:340px;padding:8px 12px;border-radius:14px 14px 4px 14px;background:var(--iws-brand-faint);color:var(--iws-text);font-size:.78rem;line-height:1.45}
.comm-bt[b-i1tspdke04]{white-space:pre-wrap;overflow-wrap:anywhere}
.comm-bf[b-i1tspdke04]{margin-top:3px;text-align:right;font-size:.66rem;color:var(--iws-text-secondary)}
/* /Components/Chart/ChartCommunicationLogForm.razor.rz.scp.css */
/* In the page: a box beside the history, drawn as New's other forms are. */
.comm-new[b-c8i66igwht]{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface);overflow:hidden}
.comm-box-head[b-c8i66igwht]{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--iws-border-subtle);background:var(--iws-surface-sunken)}
.comm-box-title[b-c8i66igwht]{font-size:.8rem;font-weight:700;color:var(--iws-heading)}
.comm-box-close[b-c8i66igwht]{display:inline-grid;place-items:center;margin-left:auto;padding:2px;border:0;background:transparent;color:var(--iws-text-secondary);cursor:pointer}
.comm-box-close:hover[b-c8i66igwht]{color:var(--iws-heading)}
.comm-box-close[b-c8i66igwht]  svg{width:.85rem;height:.85rem}
.comm-new-body[b-c8i66igwht]{flex:1 1 auto;min-height:0;overflow:auto;padding:10px 12px}
.comm-new-foot[b-c8i66igwht]{padding:8px 12px;border-top:1px solid var(--iws-border-subtle);background:var(--iws-surface-sunken)}

.comm-form[b-c8i66igwht]{row-gap:10px}
/* When as wide as a date and time need, Status beside it; they stack only where the form is narrower than both. */
.comm-log-row[b-c8i66igwht]{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px}
.comm-log-when[b-c8i66igwht]{flex:0 1 14rem;min-width:0}
.comm-log-status[b-c8i66igwht]{flex:0 1 10rem;min-width:0}
.comm-foot[b-c8i66igwht]{display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%}
/* /Components/Chart/ChartDetailsPanel.razor.rz.scp.css */
/* The head, the fold and the pill are ChartRailBlock's — this is only what the details list itself
   looks like inside one. */
/* 5px, which is what every other body in the rail puts between a caption and its first row — this
   block is the one that brings its own list rather than borrowing `ChartRailBlock`'s, so it is also
   the one that drifts if the number is only written there. */
/* The list is the grid; the rows borrow its columns (Marius, 2026-09-19: "can we have a grid without
   header?"). Every row used to be a grid of its own, which meant the type column was as wide as that
   row's own chip — "Note" made a narrow one and "Referral source" a wide one, so no two values in the
   list began at the same place. Two tracks declared once and `subgrid` on each row lines them up down
   the whole block, which is what the sheet's TYPE / VALUE table does without drawing the heading.

   No heading, and not as a shortcut: the sheet has room for one, a rail column does not, and
   two words in small caps over six rows would cost a row of the rail to label a chip that already
   reads as a type and a sentence that is plainly the value. */
.detail-rows[b-jk2vc8iw2o]{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:.5rem;margin:5px 0 0;padding:0;list-style:none}

/* The seal, stated rather than only enforced (`encounter-details-v2-web-rail.html`). Amber and not
   red: nothing has gone wrong and nothing is being refused in front of the reader — this is the
   record's condition, which is what the product's caution tone is for. The red in this rail is the
   cancellation banner at the top, which reports an event; this reports a state that follows from it. */
.detail-sealed[b-jk2vc8iw2o]{margin:5px 0 0;padding:5px;border:1px solid var(--iws-warning-border);border-radius:.25rem;background:var(--iws-warning-bg);color:var(--iws-warning-text);font-size:.68rem;line-height:1.35}
/* Two columns, as the sheet draws them: the type chip, then a cell holding the value and its footer.
   `baseline`, so the word in the chip and the first line of the value sit on one line (Marius,
   2026-09-19: "align details items"). It was `start`, which lines up the *boxes* — and the chip's box
   starts with a border and a pixel of padding above its text, so its word printed two pixels below
   the value it labels on every row in the list.
   Either way the chip does not stretch to the height of a three-line value, which is what `start` was
   there for: a bordered chip drawn down the side of a paragraph is a box around whitespace. */
/* 2px above and below, and a line-height to match (Marius, 2026-09-19: "make this more compact / make
   padding 2"). It was .4rem each way on the reasoning that rows need air to be told apart, which they
   do — but the hairline above each one is already doing that, and six pixels of air per row is a row
   of the rail spent on gaps every four details. The stated line-height is part of the same number:
   the inherited 1.5 was leaving as much space inside a two-line value as the padding was leaving
   around it.

   Four more on top than underneath (Marius, 2026-09-19: "add top pading +4"). Even 2px either side
   made each row an equal distance from the rule above it and the rule below it, so the hairline
   floated between two rows instead of belonging to the one it opens. The extra sits under the rule,
   which is where a reader's eye has to cross it. */
.detail-row[b-jk2vc8iw2o]{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:baseline;row-gap:1px;padding:6px 0 2px;border-top:1px solid var(--iws-border-subtle);font-size:.72rem;line-height:1.35}
.detail-row:first-child[b-jk2vc8iw2o]{border-top:0}

/* The type as a chip (`encounter-details-v2-web-rail.html`), and the same chip the block beside it
   draws (Marius, 2026-09-19: "keep pill the same size + bk color"). It had a border, a pale fill, its
   own radius and a 4.2rem floor, none of which said anything the Tasks block's status pills do not —
   so one rail was drawing two kinds of pill a column apart, and a reader has to decide whether the
   difference means something. It does not. The metrics here are `.rail-chip`'s.

   `justify-self:start` is what the floor used to do badly: a grid item stretches, so in a shared
   column every chip came out as wide as the longest type in the list, with "Note" set in the middle
   of an inch of grey. Hugging its word, the chip is its own size and the column still holds the width
   that keeps the values aligned. */
.detail-chip[b-jk2vc8iw2o]{justify-self:start;max-width:9rem;padding:.05rem .4rem;border:0;border-radius:.6rem;background:var(--iws-surface-sunken);color:var(--iws-text-secondary);font-size:.62rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Blue where the value beside it is a person rather than a sentence — the one thing it keeps that the
   status pills have no use for. A tint rather than a tinted border, now that neither has a border. */
.detail-chip.is-person[b-jk2vc8iw2o]{background:var(--iws-selected);color:var(--iws-brand)}

/* The positioning context for the hover pill, which anchors to this cell's top right rather than to
   the row's — the row's right edge is the same place, but only until something else joins the row. */
.detail-cell[b-jk2vc8iw2o]{position:relative;min-width:0}
.detail-value[b-jk2vc8iw2o]{display:block;min-width:0;color:var(--iws-heading);overflow-wrap:anywhere;white-space:pre-wrap}
/* A name is a heading, not prose: the sheet gives the person rows their own weight so the eye finds
   the surgeon without reading the chips. */
.detail-value.is-who[b-jk2vc8iw2o]{color:var(--iws-heading);font-weight:600}
/* No reserved gutter (Marius, 2026-09-19: "the text should fill the area / the icons will be over
   text"). A floated 2.6rem box used to hold the corner clear so the hover pill never covered a word —
   which cost every row in the list a bite out of its first line, permanently, to keep a space empty
   for a control that is not there. In a 300px column that bite is three or four words per detail.
   The pill is absolutely positioned and appears only under the pointer, so it lies over the text it
   overlaps and lifts off it on a shadow. The one moment a word is hidden is the moment the reader has
   put their cursor on that row to act on it. */
/* Two lines, then a handle. Clamped by height rather than by line-clamp, and stated in `em` against
   the row's own line-height, so two lines is two lines rather than two-and-a-sliver of a third. A
   sliver is what makes a reader press *More* on a value that had nothing more in it. */
.detail-value.clamped[b-jk2vc8iw2o]{max-height:2.7em;overflow:hidden}

/* The stamp and the handle on one line, parting at the fold: provenance reads from the left, the
   control sits on the right where the eye returns to (Marius, 2026-09-19: "more / less on right").
   `baseline` rather than centre so the blue word sits on the same line as the date beside it —
   they are different sizes, and centring two different sizes aligns neither to the text. */
.detail-foot[b-jk2vc8iw2o]{grid-column:1/-1;display:flex;align-items:baseline;gap:.5rem}
/* The rail's shared stamp, with its own top margin cancelled — it earned that margin as a block
   under a thread row, and here the footer above owns the gap for both of its children. */
.detail-foot .rail-stamp[b-jk2vc8iw2o]{flex:0 1 auto;min-width:0;margin-top:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.detail-more[b-jk2vc8iw2o]{flex:0 0 auto;margin-left:auto;padding:0;border:0;background:transparent;color:var(--iws-brand);font:inherit;font-size:.65rem;font-weight:600;white-space:nowrap;cursor:pointer}
.detail-more:hover[b-jk2vc8iw2o]{text-decoration:underline}

/* One pill, both controls (Marius, 2026-09-19: "ONLY hover pills rounded + paired"). Anchored to the
   cell's right edge rather than given a column: the list is read far more often than it is
   corrected, and a permanent column would cost the value its width on every row to serve the rare
   one. The shadow is what lifts it off the text it overlaps — it is a floating control, and without
   one the border alone reads as part of the paragraph. */
.detail-actions[b-jk2vc8iw2o]{position:absolute;top:1px;right:1px;z-index:2;display:inline-flex;align-items:center;height:1.05rem;padding:0 1px;border:1px solid var(--iws-selected-strong);border-radius:999px;background:var(--iws-surface);box-shadow:0 1px 4px var(--iws-shadow);opacity:0;transition:opacity .1s ease}
.detail-row:hover .detail-actions[b-jk2vc8iw2o],.detail-row:focus-within .detail-actions[b-jk2vc8iw2o]{opacity:1}
/* No hover fill on the buttons themselves: a square highlight inside a pill corners out through the
   rounding, and the pair is small enough that the colour change is the whole affordance. */
.detail-actions button[b-jk2vc8iw2o]{display:inline-grid;place-items:center;width:1.05rem;height:.9rem;padding:0;border:0;background:transparent;color:var(--iws-brand);cursor:pointer}
.detail-actions button+button[b-jk2vc8iw2o]{border-left:1px solid var(--iws-border-subtle)}
.detail-actions button:hover[b-jk2vc8iw2o]{color:var(--iws-heading)}
/* Red, as the sheet renders it. Removing a detail is the one thing in this row that cannot be
   undone by typing, and it sits a few pixels from the pencil that can. */
.detail-actions button.is-remove[b-jk2vc8iw2o]{color:var(--iws-danger-text)}
.detail-actions button.is-remove:hover[b-jk2vc8iw2o]{color:color-mix(in srgb,var(--iws-danger-text) 75%,var(--iws-text))}
.detail-actions[b-jk2vc8iw2o]  svg{width:.6rem;height:.6rem}
/* /Components/Chart/ChartDocumentationTab.razor.rz.scp.css */
/* The episodes area's arrangement, drawn around a note being written (Marius, 2026-09-20: "prepare
   the dialog like tasks — 2 rounded areas"). Everything down to the foot is what
   `ChartTasksTab.razor.css` says of the same parts, kept here as well rather than lifted into a
   shared sheet: the two are scoped stylesheets, and a class that belongs to neither component would
   have to be global and would then be a third convention for anything else in the chart to drift
   from. Where a number appears in both, the note is next door.

   The scroller is the pair's floor made reachable: 250 for the note and 250 for the rail is a width
   an area may be dragged under, and under it this scrolls sideways rather than crushing both. Its
   height is the area's floor, and the one row inside it is what hands any spare height to the note. */
.documentation-scroll[b-wi194xqoda]{flex:1 1 auto;display:grid;grid-template-rows:minmax(min-content,1fr);min-width:0;min-height:var(--chart-body-height,0px);overflow-x:auto;background:var(--iws-zone)}

/* `width:100%` is load-bearing: a grid whose own width is indefinite sizes `1fr` to its content, so
   the note card would take what its boxes ask for and hand the rail the remainder.

   The floor is the area's (`--chart-body-height`). A grid row of `minmax(min-content, 1fr)` is what
   spends it: spare room goes into the card, and a memo dragged past the floor still lengthens the
   area instead of being clipped. */
.documentation-workspace[b-wi194xqoda]{display:grid;grid-template-columns:minmax(0,1fr) var(--chart-rail-split,0px) var(--chart-rail,300px);grid-template-rows:minmax(min-content,1fr);flex:1 1 auto;box-sizing:border-box;width:100%;min-width:calc(var(--chart-pair-floor,500px) + var(--chart-rail-split,0px) + 10px);min-height:100%;padding:5px}

/* Two cards on the zone rather than two halves of one: the gap between them is the ground showing
   through, so each pane's border is the only line at its edge. Clipping is what makes the corners
   real — the rail's tinted head is square and would otherwise sit over the radius rather than
   inside it. */
.chart-doc-note[b-wi194xqoda],.chart-doc-rail[b-wi194xqoda]{min-width:0;min-height:0;border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface);overflow:hidden}

/* The gap between the two cards, which is also the grip. Nine pixels of zone, colourless at rest —
   the cards have their own edges, and a rule down the middle of the gap would be a third mark
   between two that already say where each pane ends. `touch-action:none` so a pen or a finger moves
   the boundary instead of scrolling the chart under it. */
.doc-split[b-wi194xqoda]{position:relative;width:var(--chart-rail-split,0px);background:transparent;cursor:col-resize;touch-action:none}
.doc-split[b-wi194xqoda]::after{content:"";position:absolute;top:0;bottom:0;left:4px;width:1px;background:transparent}
.doc-split:hover[b-wi194xqoda]::after,.doc-split:active[b-wi194xqoda]::after{left:3px;width:2px;background:var(--iws-focus)}
/* The note card: a head that stays, the boxes between, and a foot that stays. The foot is the card's
   own and not the area's ("no footer here", and the area has none at all now) — Save draft and Sign
   end the note they finish, which is where the card this area replaced had them.

   Spare height belongs to the middle track, which is the memo. The foot's row is `auto`, so it stays
   the height of its buttons; `align-self:end` keeps a size-contained foot from being stretched into
   the room the memo should have. The minimum is the boxes' own, so they are not clipped to make the
   foot sit higher.

   The single column is stated, and stated as `minmax(0,1fr)`: an implicit column is `auto`, which
   grows to its content, and the rich editor's toolbar is one unbreakable row. Left implicit, the
   column took the width that row asked for, the card clipped what stuck out, and the toolbar's own
   adaptive mode never fired — the component had been handed the room it had itself demanded. */
.chart-doc-note[b-wi194xqoda]{--note-pad-x:.85rem;display:grid;grid-template-rows:auto minmax(min-content,1fr) auto;grid-template-columns:minmax(0,1fr);min-height:100%}

/* The pickers side by side, tinted and ruled like the rail's own head — so both panes open with a
   band that says what is being looked at. It wraps rather than squeezing: a picker crushed to 80px
   is a picker nobody can read. The green-path chip is a fact about the encounter that was picked,
   so it rides the same line, at its end. */
.note-head[b-wi194xqoda]{position:relative;z-index:3;display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 12px;padding:5px var(--note-pad-x);border-bottom:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}
.note-pick[b-wi194xqoda]{flex:1 1 16rem;min-width:0;display:grid;gap:1px}
.note-pick[b-wi194xqoda]  .form-field-editor-wrap,.note-pick[b-wi194xqoda]  .dxbl-dropdown-box{width:100%;min-width:0}
.macro-block[b-wi194xqoda]{display:flex;flex:1 1 25rem;min-width:min(100%,25rem);align-items:flex-end;gap:.4rem;white-space:nowrap}
.macro-pick[b-wi194xqoda]{position:relative;display:grid;flex:1 1 14rem;min-width:8rem;gap:1px}
/* Hung under the macro that was just picked, over the memo, which is where the drawing puts the
   question (documentation-v1-web.html, case 1c). A browser confirm asked the same thing and could
   not offer insert and replace together. */
.macro-ask[b-wi194xqoda]{position:absolute;left:0;top:calc(100% + 4px);z-index:6;width:max(100%,18rem);max-width:min(28rem,70vw);padding:.5rem .6rem .55rem;border:1px solid var(--iws-warning-border);border-radius:5px;background:var(--iws-warning-bg);box-shadow:0 8px 20px var(--iws-shadow);white-space:normal}
.macro-ask-title[b-wi194xqoda]{color:var(--iws-warning-text);font-size:.72rem;font-weight:700}
.macro-ask-body[b-wi194xqoda]{margin:.2rem 0 .45rem;color:var(--iws-text-secondary);font-size:.7rem;line-height:1.45}
.macro-ask-body b[b-wi194xqoda]{color:var(--iws-heading)}
.macro-ask-actions[b-wi194xqoda]{display:flex;flex-wrap:wrap;gap:.35rem}
.macro-ask-actions .note-act[b-wi194xqoda]{min-height:1.6rem;padding:.2rem .5rem;font-size:.68rem}
.macro-pick[b-wi194xqoda]  .form-field-editor-wrap,.macro-pick[b-wi194xqoda]  .dxbl-dropdown-box{width:100%;min-width:0}
.shape-pill[b-wi194xqoda],.macro-save[b-wi194xqoda]{box-sizing:border-box;padding:.25rem .55rem;border:1px solid var(--iws-border);border-radius:999px;background:var(--iws-surface);color:var(--iws-heading);font:inherit;font-size:.7rem;font-weight:700}
/* Same outer height as the combo on this row, and the label centered in that box. On a chart
   window the editors are pinned to 1.75rem; on the page they keep the Fluent medium height. */
.shape-pill[b-wi194xqoda],.macro-save[b-wi194xqoda],.green-path[b-wi194xqoda]{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:calc(1.25rem + .625rem + 2px);padding-block:0;line-height:1;white-space:nowrap}
.iws-frame .shape-pill[b-wi194xqoda],.iws-frame .macro-save[b-wi194xqoda],.iws-frame .green-path[b-wi194xqoda]{height:1.75rem}
/* The Sign pill from the approved foot: a PDF mark, the template's name, and a caret, on the same
   line and at the same height as Save draft and Sign. */
.template-pill[b-wi194xqoda]{order:2;display:inline-flex;align-items:center;gap:.35rem;box-sizing:border-box;height:1.9rem;max-width:16rem;min-width:0;padding:0 .6rem;border:1px solid var(--iws-brand);border-radius:999px;background:var(--iws-surface);color:var(--iws-heading);font:inherit;font-size:.7rem;font-weight:600;cursor:pointer}
.template-pill:disabled[b-wi194xqoda]{border-style:dashed;cursor:default}
.template-k[b-wi194xqoda]{flex:0 0 auto;color:var(--iws-text-faint);font-size:.62rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.template-name[b-wi194xqoda]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.template-caret[b-wi194xqoda]{flex:0 0 auto;width:.55rem;height:.55rem;fill:none;stroke:var(--iws-brand);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
/* A glyph and a caret, sized to the two marks rather than to a caption: the pill says which shape is
   in force and says it without words, so its width is fixed by its content and does not move when
   the shape changes. Dashed and caretless on a signed result, where the shape is a stated fact. */
.shape-wrap[b-wi194xqoda]{position:relative;align-self:flex-end}
.shape-pill[b-wi194xqoda]{gap:.2rem;cursor:pointer}
.shape-pill[b-wi194xqoda]  svg{width:.75rem;height:.75rem}
.shape-pill .shape-caret[b-wi194xqoda]{width:.55rem;height:.55rem;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.shape-pill:disabled[b-wi194xqoda]{border-style:dashed;background:var(--iws-surface-sunken);color:var(--iws-heading);cursor:default}
.shape-list[b-wi194xqoda]{display:grid;margin:0;padding:.25rem 0;list-style:none}
.shape-group[b-wi194xqoda]{padding:.35rem .6rem .15rem;color:var(--iws-caption);font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.shape-item[b-wi194xqoda]{display:flex;width:100%;align-items:center;gap:.4rem;padding:.35rem .6rem;border:0;background:none;color:var(--iws-heading);font:inherit;font-size:.72rem;text-align:left;cursor:pointer}
.shape-item:hover[b-wi194xqoda]{background:var(--iws-surface-sunken)}
.shape-item.is-current[b-wi194xqoda]{font-weight:700}
.shape-item[b-wi194xqoda]  svg{width:.7rem;height:.7rem}
.shape-text[b-wi194xqoda]{flex:1 1 auto;min-width:0}
.shape-tick[b-wi194xqoda]{display:inline-flex;color:var(--iws-brand)}
.shape-note[b-wi194xqoda]{margin:0;padding:.4rem .6rem .5rem;border-top:1px solid var(--iws-border-subtle);color:var(--iws-text-secondary);font-size:.65rem;line-height:1.4}
.macro-save[b-wi194xqoda]{aspect-ratio:1;padding-inline:0;border-color:var(--iws-brand);color:var(--iws-brand);cursor:pointer}
.macro-save[b-wi194xqoda]  svg{width:1rem;height:1rem}
.macro-save:disabled[b-wi194xqoda]{border-color:var(--iws-border);color:var(--iws-text-secondary);cursor:not-allowed}

/* The caption, at the weight and colour the chart gives every word that asks rather than answers
   (Marius, 2026-09-20: "label size + color") — `.rail-fact-k`'s own recipe, which the rails and the
   mini tables already set every caption in. This area had them in blue at 11px, which is the size
   and colour of a heading, over boxes that are the thing to be read. */
.note-k[b-wi194xqoda]{color:var(--iws-caption);font-size:11px;line-height:13px;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* What is true of the draft at the left, what may be done with it at the right: the state is what
   the two buttons are about, so they read as one sentence across the band rather than as two
   groups. Ruled and tinted like the encounter, task and attachment feet, and padded like them now
   that it holds the same buttons they do — no `+5px` bottom, because that belongs to the height
   switch those feet pin in the corner and this area no longer has one.

   The query below asks about this band's width, and the band is as wide as the card, so the container
   is declared here rather than on the card. `container-type` brings layout containment, which would
   make the card a containing block for the toolbar's measurement clone. */
.note-foot[b-wi194xqoda]{display:flex;flex-wrap:wrap;align-items:center;align-self:end;gap:.4rem;height:auto;padding:.55rem var(--note-pad-x);border-top:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle);container-type:inline-size}
/* The same height as Save draft and Sign. Draft sits on the top edge of that height and the saved-by
   line on the bottom, so the two meet at the buttons' middle and the band does not grow a second row. */
.note-id[b-wi194xqoda]{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;box-sizing:border-box;height:1.9rem;margin-right:auto;min-width:0}
/* The signed pill is a second line of its own. Held to the button height, the card's overflow
   clips the pill's top border. */
.note-id:has(.signed-pill)[b-wi194xqoda]{height:auto;min-height:1.9rem;justify-content:flex-start;overflow:visible}
.note-foot .note-act[b-wi194xqoda]{order:3}

/* Beside the state rather than over the card: a refused save leaves the words in the boxes, so the
   reader has lost nothing and needs telling, not stopping. */
.note-error[b-wi194xqoda]{color:var(--iws-danger-text);font-size:.68rem}

/* The same failure inside the leave question, where it is the reason the question is still up. */
.leave-error[b-wi194xqoda]{margin:.5rem 0 0;color:var(--iws-danger-text);font-size:.72rem;line-height:1.4}

/* `.encounter-actions button`'s recipe, to the pixel (Marius, 2026-09-20: "make save buttons normal
   buttons"). They were pills that drew their border only under the pointer, which is the shape this
   chart gives an action that sits *inside* a list — the pencil on a note, the link at the foot of a
   rail. These two are the foot of a card, which is where Open in PACS and Cancel encounter stand one
   tab over, and a control that keeps its outline is a control the reader can see is there.

   Disabled they grey the border and keep the word readable, with the tooltip saying why: Sign until
   its slice lands, Save draft where the reader is short of documentation.edit or has changed
   nothing. */
.note-act[b-wi194xqoda]{display:inline-flex;flex:0 0 auto;box-sizing:border-box;align-items:center;justify-content:center;gap:.4rem;height:1.9rem;padding:.3rem .6rem;border:1px solid var(--iws-brand);border-radius:.25rem;background:var(--iws-surface);color:var(--iws-brand);font:inherit;font-size:.72rem;font-weight:700;white-space:nowrap;cursor:pointer}
/* Navy and filled, as Chart procedure is in that foot: one signature closes the note, and it is the
   action the other one leads to. */
.note-act.primary[b-wi194xqoda]{border-color:var(--iws-accent);background:var(--iws-accent);color:var(--iws-text-on-accent)}
.note-act:disabled[b-wi194xqoda],.note-act.primary:disabled[b-wi194xqoda]{border-color:var(--iws-border-subtle);background:var(--iws-surface-sunken);color:var(--iws-text-faint);cursor:not-allowed}
.note-chip[b-wi194xqoda]{padding:.05rem .4rem;border-radius:.2rem;background:var(--iws-surface-sunken);color:var(--iws-heading);font-size:.68rem;font-weight:600;line-height:1.15}
.note-chip.is-warn[b-wi194xqoda]{background:var(--iws-warning-bg);color:var(--iws-warning-text)}
.note-status[b-wi194xqoda]{color:var(--iws-text-secondary);font-size:.68rem;line-height:1.15;text-align:left}
.signed-pill + .note-status[b-wi194xqoda]{margin-top:5px}
/* `margin-left:auto` holds it at the right end of the head, away from the picker whose value it
   describes: next to the box it read as a second value in it. */
.green-path[b-wi194xqoda]{margin-left:auto;gap:.3rem;padding-inline:.4rem;border:1px solid var(--iws-success-border);border-radius:.2rem;background:var(--iws-success-bg);color:var(--iws-success-text);font-size:.68rem;font-weight:700}
.green-path[b-wi194xqoda]  svg{width:.7rem;height:.7rem}

/* No scroller of its own. The boxes are the thing being written in, and a box whose end is reached by
   scrolling the column it sits in is a box the writer cannot see while they type into it. */
/* The column is `minmax(0,1fr)` and the boxes may not widen it. A grid track sizes to its content
   by default, and the rich editor's toolbar is one unbreakable row. `min-width:0` on the section
   was not enough: the section's own column was still `auto`, so it grew to that row, the editor
   laid its text out at that width, and the card's `overflow:hidden` cut both the line and the
   scrollbar off the right edge. The section states the same column the body does. */
.note-body[b-wi194xqoda]{display:flex;flex-direction:column;gap:.55rem;padding:.85rem var(--note-pad-x);min-width:0;min-height:0}
.note-section[b-wi194xqoda]{display:flex;flex:1 0 auto;flex-direction:column;gap:2px;min-width:0;min-height:0}
.note-editor[b-wi194xqoda]{display:flex;flex:1 0 auto;flex-direction:column;min-width:0;max-width:100%;min-height:0}
/* 75px apiece (Marius, 2026-09-20: "each control 75px MIN size"), and the drag handle is the reader's
   to pull: `resize:vertical` grows the box, the box grows the card, and the card grows the area.
   The basis is `auto` and the shrink 0 because the handle writes `height`, and a flex basis of 0 is
   read instead of it: the box stood still under the drag and the card never grew. */
/* The narrative boxes wear the theme, dark in a dark one; paper stays white for scans, photos and PDFs. */
.note-section textarea[b-wi194xqoda]{flex:1 0 auto;resize:vertical;min-height:75px;padding:.45rem;border:1px solid var(--iws-border);border-radius:.25rem;background:var(--iws-surface);color:var(--iws-text);font:inherit;font-size:.78rem;line-height:1.35}
.note-section textarea:focus[b-wi194xqoda]{outline:2px solid color-mix(in srgb,var(--iws-brand-soft) 55%,var(--iws-surface));outline-offset:-1px}
.note-section input[b-wi194xqoda],.note-section select[b-wi194xqoda]{height:var(--iws-control-height);padding:0 .5rem;border:1px solid var(--iws-border);border-radius:.25rem;font:inherit}

/* Formatted swaps the box for the suite's editor, which brings its own toolbar, border and type.
   Only the 75px floor the textarea has is kept, so the two shapes of box start at the same size.

   The host has to be a column flex of the pane's width. Without that, two things happen at once:
   the toolbar's minimum width becomes the box, and the writing surface grows with its text instead
   of scrolling inside the height we gave it — the scrollbar is drawn, then clipped off the card.
   `min-height:0` on the surface is what lets it shrink to that height so `overflow-y` can scroll. */
/* The suite's editor has no grip of its own, so a frame around it carries the browser's, as the
   textarea does: it starts at the 75px floor, takes spare room as before, and a drag sets its height,
   which the `auto` basis then reads. The frame rather than the editor because the editor's root
   style is the suite's to write; inside the frame its basis of 0 makes it fill whatever the frame is. */
.note-rich-frame[b-wi194xqoda]{display:flex;flex:1 0 auto;flex-direction:column;box-sizing:border-box;width:100%;height:75px;min-width:0;min-height:75px;overflow:hidden;resize:vertical}
.note-section[b-wi194xqoda]  .note-rich{display:flex;flex:1 1 0;flex-direction:column;box-sizing:border-box;width:100%;max-width:100%;margin:0;min-width:0;min-height:0;overflow:hidden}
.note-section[b-wi194xqoda]  .note-rich .dxbl-widget-container{flex:1 1 auto;width:100%;height:auto;min-width:0;min-height:0}
.note-section[b-wi194xqoda]  .note-rich .dx-quill-container,
.note-section[b-wi194xqoda]  .note-rich .dx-htmleditor-content{min-width:0;min-height:0}
.note-section[b-wi194xqoda]  .note-rich .dx-htmleditor-content{flex:1 1 auto;overflow-x:hidden;overflow-y:auto;background:var(--iws-surface);color:var(--iws-text)}
/* The suite decides which groups to fold by cloning the bar, laying the clone out absolutely and
   reading each arrangement's width. The clone's parent is only as wide as this pane, so an
   arrangement wider than the pane measured the same as one that fit, and the bar stayed unfolded.
   `max-content` lets the clone be as wide as the buttons it is measuring. */
.note-section[b-wi194xqoda]  .dxbl-adaptive-virtual-container{width:max-content;max-width:none}

/* The toolbar at the suite's own small size, on this editor alone (Marius, 2026-09-22: "set small
   for that control only"). The HTML Editor has no size property — DevExpress documents its toolbar
   as following the application-wide `GlobalOptions.SizeMode` — and turning that down would shrink
   every grid, editor and popup in the app to shorten one bar over a narrative box.
   `dxbl-sm` is the class that mode renders, so the editor is given it directly. That is enough for
   everything DevExpress writes as a descendant rule, the icons included, but not for the toolbar's
   own metrics: those come from `.dxbl-toolbar.dxbl-sm`, and the class lands on our host rather than
   on their toolbar. Hence the block below, which is `.dxbl-toolbar.dxbl-sm`'s own declaration.
   Every value is a variable their buttons already read — `--dxbl-btn-padding-y` is defined as
   `var(--dxbl-toolbar-btn-padding-y)` — so nothing here places a pixel itself, and a renamed
   variable means a toolbar back at its shipped size rather than a broken one.

   The last line is the one number we choose rather than copy. `--dxbl-ribbon-padding` pads the
   toolbar's container on every side and stays at `.5rem` in all three size modes, so it is about a
   third of the row's height and the reason the small mode on its own reads as barely smaller. Taken
   to `.1875rem` it matches the space the buttons now keep between themselves. */
.note-section[b-wi194xqoda]  .note-rich.note-locked .dxbl-ribbon,
.note-section[b-wi194xqoda]  .note-rich.note-locked .dxbl-toolbar{display:none}
.note-section[b-wi194xqoda]  .note-rich .dxbl-toolbar{--dxbl-toolbar-font-size:.75rem;--dxbl-toolbar-line-height:1.5;--dxbl-toolbar-btn-border-radius:.125rem;--dxbl-toolbar-btn-padding-x:.25rem;--dxbl-toolbar-btn-padding-y:.1875rem;--dxbl-toolbar-group-spacing:.5rem;--dxbl-toolbar-item-spacing:.1875rem}
.note-section[b-wi194xqoda]  .note-rich .dxbl-ribbon__root{--dxbl-ribbon-padding:.1875rem;--dxbl-ribbon-group-separator-height:1.25rem}

/* The quick macro form, at the size of what it asks (Marius, 2026-09-22: "keep the popup compact
   type"). The two optional targets share a line because neither needs a whole one, and the pair
   collapses on a phone-width dialog rather than squeezing two boxes into a thumb's width. */
.macro-form[b-wi194xqoda]{display:grid;gap:.5rem}
.macro-form-pair[b-wi194xqoda]{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.5rem}
.macro-form input:disabled[b-wi194xqoda],.macro-form select:disabled[b-wi194xqoda]{background:var(--iws-surface-sunken);color:var(--iws-heading);cursor:default}
.macro-form-note[b-wi194xqoda]{margin:0;padding:.4rem .5rem;border:1px solid var(--iws-info-border);border-radius:.25rem;background:var(--iws-info-bg);color:var(--iws-text-secondary);font-size:.7rem;line-height:1.45}
.note-section textarea:read-only[b-wi194xqoda]{background:var(--iws-surface);color:var(--iws-text)}
.signed-pill[b-wi194xqoda]{display:inline-flex;align-items:center;justify-content:flex-start;align-self:flex-start;flex:0 0 auto;gap:.3rem;padding:.15rem .4rem;border:1px solid var(--iws-success-border);border-radius:.2rem;background:var(--iws-success-bg);color:var(--iws-success-text);font-size:.68rem;font-weight:700;line-height:1.15;text-align:left}
.signed-pill[b-wi194xqoda]  .shared-icon{width:.7rem;height:.7rem;flex:0 0 auto}
.signed-pill[b-wi194xqoda]  .shared-icon svg,
.signed-pill[b-wi194xqoda]  svg{width:.7rem;height:.7rem}
.signed-content h4[b-wi194xqoda]{margin:.5rem 0 .2rem}
.signed-addendum[b-wi194xqoda]{display:grid;gap:.25rem;margin-top:.5rem;padding-top:.65rem;border-top:1px solid var(--iws-border-subtle)}
.template-picker-list[b-wi194xqoda]{max-height:22rem;overflow:auto}
/* Asked of the foot, which is the card's width less its own padding — so the rearrangement now
   happens about thirty pixels of card later than it did, and at the width where these buttons are
   actually short of room, which is what the number was always after. */
@container (max-width: 520px){
  .note-foot .template-pill[b-wi194xqoda]{flex-basis:auto;margin-left:auto;order:0}
  .note-foot .note-id[b-wi194xqoda]{flex-basis:100%;order:1}
  .note-foot .note-act[b-wi194xqoda]{order:2}
}

/* Two parts, where the encounter rail has three: a head that stays and a scroller under it. The
   third was the Compact/Large switch, and this area has no height to switch (Marius, 2026-09-20:
   "remove the footer"). The head is a sibling of the scroller rather than pinned inside it, so the
   scrollbar begins under its rule and runs to the bottom of the card — which is the reading the bar
   itself gives of how much record there is.

   Both hang off the card rather than standing in it, which is what keeps the rail out of the
   argument about how tall this area is. The note card decides that — it is the pane being written in
   — and a rail laid in flow would add a long problem list or a full note thread to the question and
   make the area as tall as its longest block ("will not grow the rail but add scroll inside rail").
   Taken out of flow it is exactly as tall as whatever the card came to, and scrolls whatever does
   not fit, which is what a rail is for. */
.chart-doc-rail[b-wi194xqoda]{position:relative}
.rail-fill[b-wi194xqoda]{position:absolute;inset:0;display:flex;flex-direction:column}
.rail-scroll[b-wi194xqoda]{flex:1 1 auto;min-height:0;overflow:auto;display:flex;flex-direction:column;padding:.85rem}

/* The head: the kind and type over the name, the date and place under it — the encounter rail's own
   three lines, without the episode table it draws on the right (Marius, 2026-09-20: "header rail
   should be like encounter [no episode part]"). An episode is a fact about the series a visit
   belongs to, and nothing in this section is written against it. */
.rail-top[b-wi194xqoda]{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px 10px;padding:5px;border-bottom:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}
.rail-head[b-wi194xqoda]{flex:1 1 auto;min-width:0}
/* Three sizes, three jobs. The kicker labels the thing rather than being part of it; the name is the
   only line here read at a glance; the line under it is context, in --medq-blue rather than grey —
   grey would put it at the weight of the captions below, which it is not. */
.rail-kind[b-wi194xqoda]{display:block;color:var(--iws-text-secondary);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.09em}
.rail-top h2[b-wi194xqoda]{margin:1px 0 2px;color:var(--iws-heading);font-size:15px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.rail-sub[b-wi194xqoda]{color:var(--iws-brand);font-size:11px;line-height:1.35;overflow-wrap:anywhere}

/* The blocks. One column: this rail is four named blocks read top to bottom, and the widths it is
   dragged to are the ones a single column was measured for. */
.rail-blocks[b-wi194xqoda]{display:flex;align-items:stretch;gap:0 12px;min-width:0}
.rail-col[b-wi194xqoda]{position:relative;display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.rail-blocks[b-wi194xqoda]  .rail-block{flex:none;min-width:0}
/* The problem list is a page's component drawn in a rail, in the compact reading registration puts
   it in — its own wrapper brings nothing, and the rows inside it are dressed by the sheet that
   dresses them on the registration form, so the list reads the same in both places. */
.rail-col[b-wi194xqoda]  .iws-problem-history__head{margin-top:5px}
.rail-col[b-wi194xqoda]  .iws-problem-history__empty{margin-top:5px;color:var(--iws-text-secondary);font-size:.72rem}
.rail-col[b-wi194xqoda]  .iws-problem-history__error{margin-top:5px;color:var(--iws-danger-text);font-size:.72rem}

/* Two columns rather than one wrapping line: the vocabulary stays at the left edge whatever the
   width (Marius, 2026-09-20: "keep the type on 1st column"), the role under it, the code beside the
   vocabulary and the name under the code — pills down the first column, words down the second. In
   half a registration window the row wraps at its own convenience and the pills end up wherever the
   line broke; in a rail that may be dragged to 250 that is most rows, and a column of chips is how a
   reader finds the one they came for.

   Every cell is placed by row and column rather than left to flow ("add Diagnosis Role on 1st column
   2nd row"), so the arrangement holds whatever order the panel writes the four parts in — the same
   markup is a wrapping line in registration, where the order is the one that reads there. */
.rail-col[b-wi194xqoda]  .iws-problem-list__row{position:relative;display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:.5rem;row-gap:2px;align-items:baseline;padding:.3rem 0}
.rail-col[b-wi194xqoda]  .iws-problem-list__sys{grid-area:1/1}
.rail-col[b-wi194xqoda]  .iws-problem-list__code{grid-area:1/2}
.rail-col[b-wi194xqoda]  .iws-problem-list__role{grid-area:2/1}
.rail-col[b-wi194xqoda]  .iws-problem-list__line{grid-area:2/2}

/* Correct and remove, in the hover pill the note thread beside them draws — one gesture for "act on
   this row" down the whole rail (Marius, 2026-09-20: "use the same model for edit / delete on
   hover"). The list's own faint-until-hovered pair sits at the end of the name, which at this width
   is the end of a wrapped second line: by the time the row is narrow enough to wrap, a pair of icons
   in flow is taking the space the name needed. Out of flow they cost nothing until wanted, and
   `focus-within` keeps them reachable from the keyboard, which hover alone would not. */
.rail-col[b-wi194xqoda]  .iws-problem-list__row .iws-problem-actions{position:absolute;top:.2rem;right:0;z-index:2;gap:1px;height:1.05rem;padding:0 2px;border:1px solid var(--iws-selected-strong);border-radius:999px;background:var(--iws-surface);box-shadow:0 1px 4px var(--iws-shadow);color:var(--iws-brand);opacity:0;transition:opacity .1s ease}
.rail-col[b-wi194xqoda]  .iws-problem-list__row:hover .iws-problem-actions,
.rail-col[b-wi194xqoda]  .iws-problem-list__row:focus-within .iws-problem-actions{opacity:1;color:var(--iws-brand)}
.rail-col[b-wi194xqoda]  .iws-problem-list__row .iws-picker-row-action{width:1.05rem;height:.9rem}
.rail-col[b-wi194xqoda]  .iws-problem-list__row .iws-picker-row-action svg{width:.6rem;height:.6rem}

.doc-empty[b-wi194xqoda]{display:grid;place-content:center;min-height:8rem;text-align:center;color:var(--iws-text-secondary);font-size:.75rem}

/* The structured facts, in the shape the Details block reads in and the encounter rail's own
   Documentation block now reads in too — chip, then value ("1 grid 2 columns / 1st pill with type /
   2nd text"). Set out here as well as in `ChartEncounterDocumentationBlock.razor.css` because both
   are scoped sheets and the list is drawn in this component's markup; a third copy would be the
   point at which it belongs in the global sheet, and the two that exist are each four lines. */
.doc-sections[b-wi194xqoda]{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:.5rem;margin:5px 0 0}
.doc-section[b-wi194xqoda]{position:relative;grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:baseline;padding:4px 0 2px;border-top:1px solid var(--iws-border-subtle)}
.doc-section:first-child[b-wi194xqoda]{border-top:0}
.doc-k[b-wi194xqoda]{justify-self:start;max-width:9rem;padding:.05rem .4rem;border-radius:.6rem;background:var(--iws-surface-sunken);color:var(--iws-text-secondary);font-size:.62rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.doc-v[b-wi194xqoda]{margin:0;min-width:0;color:var(--iws-heading);font-size:.72rem;line-height:1.35;overflow-wrap:anywhere;white-space:pre-wrap}

/* Correct and clear, in the paired hover pill the rest of this rail wears — the problem list's above
   and the note thread's below (Marius, 2026-09-20: "use the same model for edit / delete on hover").
   Out of flow and floated over the end of the value, so the answers keep their full width on every
   row to serve the rare correction; at 250px a two-icon gutter is the width a value needed.
   `focus-within` keeps them reachable from the keyboard, which hover alone would not. */
.doc-actions[b-wi194xqoda]{position:absolute;top:2px;right:0;z-index:2;display:inline-flex;gap:1px;height:1.05rem;padding:0 2px;border:1px solid var(--iws-selected-strong);border-radius:999px;background:var(--iws-surface);box-shadow:0 1px 4px var(--iws-shadow);opacity:0;transition:opacity .1s ease}
.doc-section:hover .doc-actions[b-wi194xqoda],.doc-section:focus-within .doc-actions[b-wi194xqoda]{opacity:1}
.doc-actions button[b-wi194xqoda]{display:inline-grid;place-items:center;width:1.05rem;height:.9rem;padding:0;border:0;background:transparent;color:var(--iws-brand);cursor:pointer}
.doc-actions button:hover[b-wi194xqoda]{color:var(--iws-heading)}
/* The destructive one reddens under the hand and not before: the pair is one control until the
   pointer picks a half, and a red glyph sitting in the pill would make every row look risky. */
.doc-actions .is-remove:hover[b-wi194xqoda]{color:var(--iws-danger-text)}
.doc-actions[b-wi194xqoda]  svg{width:.6rem;height:.6rem}

/* The pencil, which opens the chart's note window over what the entry says now. It rides inside the
   hover pill the thread draws round it — `ChartRailBlock.razor.css`, where the pill is, because the
   pill belongs to the entry and this belongs to the section that offers the correction — so what is
   set here is the button and not where it sits. Same metrics as the Notes area's, which is the same
   act on the same kind of row. */
.rail-thread-edit[b-wi194xqoda]{display:inline-grid;place-items:center;width:1.05rem;height:.9rem;padding:0;border:0;background:transparent;color:var(--iws-brand);cursor:pointer}
.rail-thread-edit:hover[b-wi194xqoda]{color:var(--iws-heading)}
.rail-thread-edit[b-wi194xqoda]  svg{width:.6rem;height:.6rem}
/* /Components/Chart/ChartEncounterDocumentationBlock.razor.rz.scp.css */
/* The Details block's two columns, borrowed whole (Marius, 2026-09-20: "1 grid 2 columns / 1st pill
   with type / 2nd text"): a chip naming the section, its prose beside it. It was a caption over its
   text, four times, on the argument that three of the four sections are prose and a column narrow
   enough for the captions would leave the prose reading in a gutter. The chip answers that — it hugs
   its word instead of filling the column — and one shape for "a named thing and what it says" is
   worth more than each block finding its own. */
.doc-sections[b-idkdgc8zqy]{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:.5rem;margin:5px 0 0}
.doc-section[b-idkdgc8zqy]{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:baseline;padding:4px 0 2px;border-top:1px solid var(--iws-border-subtle)}
.doc-section:first-child[b-idkdgc8zqy]{border-top:0}

/* The chip the rail dresses every type in — same fill, same weight, same rounding as the Details
   block's, so a reader crossing from one block to the next meets one thing and not two. */
.doc-k[b-idkdgc8zqy]{justify-self:start;max-width:9rem;padding:.05rem .4rem;border-radius:.6rem;background:var(--iws-surface-sunken);color:var(--iws-text-secondary);font-size:.62rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* The text and More share one row. More is pinned to the right edge, on the same line as the PDF pill below it. */
.doc-read[b-idkdgc8zqy]{display:flex;align-items:flex-end;gap:.28rem;min-width:0;margin:5px 0 0}
.doc-section .doc-read[b-idkdgc8zqy]{margin:0}

/* Prose, so it wraps where the rail's one-line facts clip, and preserving the breaks it was typed
   with: an operative note's paragraphs are part of how it reads. It fills the row up to More. */
.doc-copy[b-idkdgc8zqy]{margin:0;min-width:0;flex:1 1 auto;color:var(--iws-heading);font-size:.72rem;line-height:1.35;overflow-wrap:anywhere;white-space:pre-wrap}
.doc-html[b-idkdgc8zqy]{white-space:normal}
.doc-html[b-idkdgc8zqy]  img{display:block;max-width:100%;height:auto;margin:.35rem 0}
.doc-html[b-idkdgc8zqy]  p{margin:0 0 .35rem}

/* Three lines, then a handle. Clamped by height rather than by `line-clamp`, and stated in `em`
   against the line-height above, so three lines is three lines rather than three and a sliver. */
.doc-copy.clamped[b-idkdgc8zqy]{max-height:4.05em;overflow:hidden}

.doc-more[b-idkdgc8zqy]{position:relative;top:7px;flex:0 0 auto;margin:0 0 0 auto;padding:0 0 .05rem;border:0;background:transparent;color:var(--iws-brand);font:inherit;font-size:.65rem;font-weight:600;white-space:nowrap;cursor:pointer}
.doc-more:hover[b-idkdgc8zqy]{text-decoration:underline}

.doc-state-row[b-idkdgc8zqy]{display:flex;align-items:center;gap:.5rem;margin:.45rem 0 0}
.doc-state[b-idkdgc8zqy]{margin:0;min-width:0;flex:1 1 auto;color:var(--iws-text-secondary);font-size:.68rem}
.doc-pdf[b-idkdgc8zqy]{flex:0 0 auto;box-sizing:border-box;height:1.25rem;padding:0 .5rem;border:1px solid var(--iws-brand);border-radius:999px;background:var(--iws-surface);color:var(--iws-brand);font:inherit;font-size:.62rem;font-weight:700;letter-spacing:.04em;cursor:pointer}
.doc-pdf:hover[b-idkdgc8zqy]{background:var(--iws-tint)}
/* /Components/Chart/ChartEncountersGrid.razor.rz.scp.css */
/* Depth is drawn, not implied: a tint one step cooler than the grid above, a spine down the left and
   a caption saying what these rows are. Indentation alone stops reading as structure the moment a grid
   contains a grid, and this is the last level — an encounter opens into the rail, never into a third
   table. */
/* The indent is the detail cell's now, and it is the episode's own text — so the block starts under
   the line it belongs to rather than sitting inside a border of white. What is left here is the little
   the caption needs to clear the row above it, the last encounter to clear the row below, and the same
   inset on each side (Marius, 2026-09-18: "add right padding like left"): the last column ran into the
   edge of the lane, which read as the table being clipped rather than as it ending.

   The spine that used to run down this edge is the detail cell's now, hung under the episode's chevron
   instead — the tint reaches further left than this block does, and the line belongs at the control the
   rows came out of. */
/* Squeeze, then scroll (Marius, 2026-09-19: "squeeze columns", and "the interior area [details] can
   use a scroll"). Those are one behaviour rather than two: the columns compress as the block narrows,
   and at the floor they stop and the table scrolls sideways instead of compressing to nothing.

   The floor is the four that identify an encounter, because shedding runs out before the width does —
   Location is the only one that can leave now, and after it there is nothing left to give up. The
   scroll sits on the table and not on this block, so the caption and Register stay put while the rows
   move under them. */
.episode-depth[b-zctzbfbn2a]{padding:.3rem .5rem .4rem;background:var(--iws-tint)}
.episode-depth[b-zctzbfbn2a]  .chart-grid-inner{--dxbl-grid-min-width:var(--chart-inner-floor,506px)}
.episode-depth[b-zctzbfbn2a]  .chart-grid-inner .dxbl-grid-table-container{overflow-x:auto}
/* The block's own head: what these rows are on the left, and the one thing you can do to them on the
   right. The same arrangement as an area head and a rail block, one level further in.

   It wraps (Marius, 2026-09-19: "push the grid down to keep the pills over it"), so where the caption
   and the pill will not sit on one line the pill takes a line of its own and the table moves down. The
   pill is the only way to add an encounter to this episode, and a head that squeezed instead would
   trade it away for a few pixels of a table that is already scrolling. */
.depth-head[b-zctzbfbn2a]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.25rem .5rem;min-height:20px;margin-bottom:.3rem}
/* Blue, and the same blue the episode above it turns when it opens — the two are one thing, and the
   colour is the only thing saying so once the reader's eye is below the line. */
.depth-tag[b-zctzbfbn2a]{display:block;color:var(--iws-brand);font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.depth-actions[b-zctzbfbn2a]{display:inline-flex;align-items:center;gap:4px}

/* The episode's facts, once, over its encounters. A wrapping row of caption-over-value pairs rather
   than a second table: they are five fixed answers about one record, and a table would draw a header
   row of five words over a body row of five values immediately under the grid that already has one —
   two header rows a centimetre apart, saying different things, about different subjects.

   It wraps for the same reason the head above it does. At half a row the five pairs take two lines
   and the grid moves down; none of them is ever dropped, because what they are here for is to be
   readable at exactly the widths where the master row has stopped showing them. */
.depth-facts[b-zctzbfbn2a]{
    display:flex;
    flex-wrap:wrap;
    gap:.2rem 1.1rem;
    margin:0 0 .45rem;
    padding:0 0 .4rem;
    border-bottom:1px solid color-mix(in srgb,var(--iws-brand) 22%,transparent);
}
.depth-facts > div[b-zctzbfbn2a]{display:flex;flex-direction:column;gap:.1rem;min-width:0}
.depth-facts dt[b-zctzbfbn2a]{
    color:var(--iws-text-secondary);
    font-size:.6rem;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.04em;
    white-space:nowrap;
}
/* The one that can be any length is the one allowed to be cut, and the `title` is not offered
   because the same words are in the Procedure column of the row directly above. */
.depth-facts dd[b-zctzbfbn2a]{margin:0;font-size:.74rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.episode-depth[b-zctzbfbn2a]  .depth-reason{margin:0 0 .45rem;padding:0 0 .45rem;border-bottom:1px solid color-mix(in srgb,var(--iws-brand) 22%,transparent)}

/* The status chip, repeated here rather than reached for: scoped stylesheets do not cross a component
   boundary, and the chip in the master row belongs to the grid above. Same two states, same colours —
   one episode does not change appearance between the row and the head of its own block. */
.episode-status[b-zctzbfbn2a]{
    display:inline-block;
    padding:.1rem .35rem;
    border:1px solid var(--iws-muted-border);
    border-radius:.25rem;
    background:var(--iws-muted-bg);
    color:var(--iws-text-secondary);
    font-size:.68rem;
}
.episode-status.open[b-zctzbfbn2a]{border-color:var(--iws-success-border);background:var(--iws-success-bg);color:var(--iws-success-text)}
/* The chart's pill exactly as the area heads draw it: 11px, a capsule, and a hairline that waits for
   the pointer. Transparent (Marius, 2026-09-19) — at rest these are three blue words on the block's
   own tint, and the frame arrives only under the cursor. The border stays at 1px and merely turns
   colourless, so nothing shifts by a pixel when it does. */
.depth-pill[b-zctzbfbn2a]{
    display:inline-flex;align-items:center;gap:4px;
    box-sizing:border-box;height:20px;padding:0 8px;
    border:1px solid transparent;border-radius:999px;background:transparent;
    color:var(--iws-brand);
    font-family:inherit;font-size:11px;font-weight:700;line-height:1;white-space:nowrap;
    cursor:pointer;
}
.depth-pill:hover[b-zctzbfbn2a],.depth-pill:focus-visible[b-zctzbfbn2a]{border-color:var(--iws-brand)}
.depth-pill.danger[b-zctzbfbn2a]{color:var(--iws-danger-text)}
.depth-pill.danger:hover[b-zctzbfbn2a],.depth-pill.danger:focus-visible[b-zctzbfbn2a]{border-color:var(--iws-danger-text)}
.depth-pill[b-zctzbfbn2a]  svg{width:12px;height:12px;display:block}
/* White rows on the tint, so the nested table still reads as a table rather than as a shaded block. */
.episode-depth[b-zctzbfbn2a]  .chart-grid-inner{font-size:.78rem;--dxbl-grid-border-radius:0;--dxbl-grid-border-width:0;--dxbl-grid-text-cell-padding-y:.2rem;--dxbl-grid-text-cell-padding-x:.5rem;--dxbl-grid-hover-bg:var(--iws-selected);--dxbl-grid-bg:var(--iws-surface)}
.episode-depth[b-zctzbfbn2a]  .chart-grid-inner .grid-row{height:30px}
.episode-depth[b-zctzbfbn2a]  .chart-grid-inner .alt-row{--dxbl-grid-row-bg:var(--iws-surface-sunken)}

/* The row the rail is showing, in the selected-row colour every other list uses (issue 017b), and kept
   under the pointer as theirs is.

   The theme's own selection colours are taken out because this cannot be drawn from its class. Every
   opened episode has a grid of its own and each holds its own selection, so the theme would happily
   light a row in each; the class below comes from one id shared across all of them, which is what
   makes "only one row is selected" true rather than merely usual. */
.episode-depth[b-zctzbfbn2a]  .chart-grid-inner{--dxbl-grid-selection-bg:transparent;--dxbl-grid-selection-color:inherit;--dxbl-grid-selection-focus-dark-bg:transparent;--dxbl-grid-selection-focus-dark-color:inherit;--dxbl-grid-selected-hover-bg:transparent}
.episode-depth[b-zctzbfbn2a]  .chart-grid-inner .is-picked>td{background:var(--iws-grid-rowselected)}
.episode-depth[b-zctzbfbn2a]  .chart-grid-inner .is-picked:hover>td{background:var(--iws-grid-rowselected-hover)}

/* The encounters that did not happen, at the foot of the list of the ones that did (Marius,
   2026-09-19: "we should see cancelled encounters too; last in details"). Greyed, not struck through
   and not reddened: nothing is wrong and nothing needs attention — the row is here so that a visit
   somebody remembers booking can be found rather than appearing to have been deleted, and it needs to
   be legible while plainly not counting towards the episode's course of care.

   The selection mark still wins over the tint, because a cancelled row is selectable like any other
   and the rail beside it is showing exactly this record. */
.episode-depth[b-zctzbfbn2a]  .chart-grid-inner .is-cancelled>td{color:var(--iws-text-secondary);background:var(--iws-surface-subtle)}
.episode-depth[b-zctzbfbn2a]  .chart-grid-inner .is-cancelled.is-picked>td{background:var(--iws-grid-rowselected)}
.episode-depth[b-zctzbfbn2a]  .chart-grid-inner .is-cancelled.is-picked:hover>td{background:var(--iws-grid-rowselected-hover)}
.episode-depth[b-zctzbfbn2a]  .encounter-status-chip{margin-left:.4rem}
.encounter-empty[b-zctzbfbn2a]{padding:.75rem;color:var(--iws-text-secondary);font-size:.74rem}
/* /Components/Chart/ChartEpisodesTab.razor.rz.scp.css */
/* Two cards floating on a zone, which is the design sheets' model and is now this one's (Marius,
   2026-09-19: "specs have a separate zone and rounded areas"). They were flush halves of the area for
   a while, on the argument that the area was already a card and a card inside a card draws two lines a
   pixel apart. That was true of the arrangement it replaced and is not an argument for flushness — the
   sheet's rail is `border-radius: 8px` on `#e7e9ee`, and Documentation has been two bordered cards in
   the same area all along. Flush made this one area disagree with both.

   What stops the double line is the ground, not the absence of a frame: the area's body is the zone,
   the panes are white on it, and the 5px around them and the 9px between them are the same grey. So
   each pane's border is the only line at its edge, and the gap is what says they are two things.

   The rail is 300px because that is `ChartAreaLayout.DefaultRailWidth`, and the grid sheds its columns
   against what is left — the two share one width budget and are paired, so the number has to be the
   same number on both sides of the arithmetic. */
/* The scroller. `min-height:0` because it is a flex item in a column and would otherwise refuse to go
   under its content, which is how a long list pushes the bottom of the area off the screen. */
.episodes-scroll[b-q8gc2hb7bj]{flex:1 1 auto;min-width:0;min-height:0;overflow-x:auto;background:var(--iws-zone)}

/* `width:100%` is load-bearing and was the bug (Marius, 2026-09-19: "flex bug — rail should display in
   the available space"). A grid whose own width is indefinite sizes `1fr` to its *content* rather than
   to the room it has been given, so the list took what its columns asked for and the rail was left the
   remainder — thirty pixels of it, one letter per line. Stating the width makes it definite, and `1fr`
   then means what it reads as: everything the rail has not taken.

   `min-width` is the floor under the pair — 250 for the grid and 250 for the rail, plus the grip
   between them, which is real width and would otherwise be taken out of the list's 250. Under it the
   scroller above takes over rather than either side being crushed. */
/* The 10px is the padding, counted into the floor rather than left out of it: the floor is what the
   two panes need, and a box that reserves 500 and then spends ten of it on its own margins hands the
   list 245. */
/* `height:100%` takes whatever the area was held at, which is how the two panes get a definite box to
   scroll inside — and resolves to `auto` when nothing above has a height, so an unheld workspace still
   grows to its contents. The floor comes from `--chart-area-floor`, set to zero by `ChartArea` on a
   capped body: 22rem is the right minimum for a workspace sizing itself and the wrong one inside a
   300px area, where it would push the cap back out to 352 and leave the number with no effect. */
.episodes-workspace[b-q8gc2hb7bj]{display:grid;grid-template-columns:minmax(0,1fr) var(--chart-rail-split,0px) var(--chart-rail,300px);box-sizing:border-box;width:100%;min-width:calc(var(--chart-pair-floor,500px) + var(--chart-rail-split,0px) + 10px);height:100%;min-height:var(--chart-area-floor,22rem);padding:5px;container-type:inline-size}

/* Clipping is what makes the corners real: the grid's header band and the rail's tinted top are square
   and would otherwise sit over the radius rather than inside it. The rail's comes from the
   `overflow:hidden` it already has for holding its scroller and its foot apart, further down.

   `auto` rather than `hidden` here, because this pane is now as tall as the area was set to and the
   list inside it is not. The grid draws every row it has — `ShowAllRows`, no pager, so that comparing
   two episodes never means finding the second one on another page — which was a height the workspace
   grew to and is now a height that has to be scrolled through. Clipping is unchanged: `auto` clips
   exactly what `hidden` did, it just lets the reader reach it. */
.episode-grid[b-q8gc2hb7bj]{position:relative;min-width:0;border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface);overflow:auto}
.encounter-rail[b-q8gc2hb7bj]{border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface)}

/* The grid is as tall as the pane, not as tall as its rows (Marius, 2026-09-20: "episode
   compact/large — fit the area height grid master"). Sized to its content it stopped under the last
   episode and left the rest of a 550px area as blank card, with the horizontal scrollbar stranded in
   the middle of it — which reads as the list having failed to fill rather than as the list having
   ended.

   It is also what puts the two scrollbars where they belong. Left to grow, the grid was scrolled by
   the pane: the headings travelled off the top with the rows, and the sideways bar sat wherever the
   table happened to end. Held to the pane's height, the grid scrolls inside itself — the headings
   stay, the vertical bar measures the list, and the horizontal one is along the bottom edge of the
   card.

   `ShowAllRows` is unaffected and stays: it is about paging, not about height. Every episode is still
   in the one list, so comparing two never means finding the second on another page — the reader now
   scrolls the body to it instead of scrolling the whole table. */
.episode-grid[b-q8gc2hb7bj]  .chart-grid-master{height:100%}

/* The gap between the two cards, which is also the grip. Nine pixels of zone — the same target the row
   splitter offers — and `touch-action:none` so a pen or a finger moves the boundary instead of
   scrolling the chart under it. It draws no rule of its own at any width: the cards have their own
   edges now, and a line down the middle of the gap would be a third mark between two that already
   say where each pane ends (Marius, 2026-09-19: "can we make this transparent?").

   The bar is kept and merely colourless rather than dropped: it is what the hover state grows out of,
   and a `::after` that appears from nothing on hover arrives at a different width and offset than one
   that was there all along. */
.episode-split[b-q8gc2hb7bj]{position:relative;width:var(--chart-rail-split,0px);background:transparent;cursor:col-resize;touch-action:none}
.episode-split[b-q8gc2hb7bj]::after{content:"";position:absolute;top:0;bottom:0;left:4px;width:1px;background:transparent}
.episode-split:hover[b-q8gc2hb7bj]::after,.episode-split:active[b-q8gc2hb7bj]::after{left:3px;width:2px;background:var(--iws-focus)}
.episode-split.is-off[b-q8gc2hb7bj]{cursor:default;pointer-events:none}
.episode-split.is-off[b-q8gc2hb7bj]::after{display:none}

/* Cell padding is set through the theme's own variables, not a `padding` of ours: the rule that pads a
   data cell counts every `:not()` as a class and a plain `padding` here loses silently. 34px rows —
   a line of one patient's episodes, not a workspace list — and every other one a shade darker so the
   eye carries across the columns without losing the line it is on. */
/* Square and unframed, still — but now because the pane around it is the card and not because there
   is no card. The theme gives every grid a hairline and 4px corners; left on, they would draw a second
   line a pixel inside the pane's border and a second radius a pixel inside its corner. The pane owns
   both, and clips the grid to them. */
/* The app's typeface at 12px (Marius, 2026-09-19), not the theme's Segoe stack at 14. It has to go
   through the theme's own two variables: the rule that was winning sets `font-family` and `font-size`
   on every `td` and `th` from them, so a plain `font-size` on the grid root — which is what was here —
   was inherited by nothing and the cells stayed at 14. Setting the variables also carries the pair to
   the pager, the inline editors and the checkboxes the grid builds from the same two. Both inherit, so
   the nested encounters grid takes them without a rule of its own. */
.episode-grid[b-q8gc2hb7bj]  .chart-grid{--dxbl-grid-font-family:Roboto,"Segoe UI",system-ui,sans-serif;--dxbl-grid-font-size:12px;--chart-expander:13px;--chart-grid-inset:1px;--dxbl-grid-border-radius:0;--dxbl-grid-border-width:0;--dxbl-grid-text-cell-padding-y:.25rem;--dxbl-grid-text-cell-padding-x:.5rem;--dxbl-grid-hover-bg:var(--iws-selected)}
.episode-grid[b-q8gc2hb7bj]  .chart-grid .grid-row{height:34px}
.episode-grid[b-q8gc2hb7bj]  .chart-grid .alt-row{--dxbl-grid-row-bg:var(--iws-surface-sunken)}

/* The headings are the app grid header in app.css (Marius, 2026-09-18: "smaller/grey"). */

/* An open episode and the block underneath it are one thing, and the tint is what says so — there is
   nothing else joining a line to the table hanging off it. `aria-expanded` is the grid's own, so this
   needs no flag of ours to stay in step with what is open.

   The tint its encounters sit on, and only the tint (Marius, 2026-09-18: "I asked for background
   color"). Colouring the words as well said the same thing twice and cost the row its legibility —
   an episode's name, its dates and its procedure are values, and values are read in the colour every
   other row uses. `--dxbl-grid-row-bg` rather than a plain `background`, because that is the lever the
   banding pulls and this has to beat it: an open episode is open whether it landed on an odd row or
   an even one. */
.episode-grid[b-q8gc2hb7bj]  .chart-grid tbody>tr[aria-expanded="true"]{--dxbl-grid-row-bg:var(--iws-tint)}
.episode-grid[b-q8gc2hb7bj]  .chart-grid tbody>tr[aria-expanded="true"]>td{background:var(--iws-tint)}

/* The expander column is pinned rather than left to size itself around its chevron, because two other
   things are measured from it: the episode's own text starts at the column's edge plus a cell's
   padding, and the detail row underneath has to start at that same x. One number, and the chevron can
   change size without the rows below it moving.

   Pinned on the *header* cell, which is the only place that works (Marius, 2026-09-18: "column episode
   should start after chevron"). The grid's table is `table-layout:fixed`, so a column is exactly as
   wide as its cell in the first row and a width on the body's `.dxbl-grid-expand-button-cell` sizes
   nothing. Neither does `--dxbl-grid-group-indent-cell-width`: the theme spends that on a
   `.dxbl-grid-indent-cell-size` class this header does not carry. With no width anywhere, fixed layout
   split the leftover evenly and handed a chevron the same 130-odd pixels it gave Procedure.

   Scoped to `-master` rather than `.chart-grid`, because the nested encounters grid wears that class
   too and its first column is a date.

   13px (Marius, 2026-09-19: "remove from left -25px"), which is a chevron and a pixel either side of
   it. It was 38 so the chevron could start where the area head's own chevron starts, 26px in — and
   that inset was 25 of the 38, which at a narrow lane is 25px of nothing at the left of every row.
   The alignment is what was given up: the head still sets its chevron from its own padding and grab
   handle, and this grid no longer measures from it. */
.episode-grid[b-q8gc2hb7bj]  .chart-grid-master thead th:first-child{width:var(--chart-expander)}
/* A pixel in from the edge, which is all the column has left to give. Still stated as an inset rather
   than centred, because the spine under the detail row is hung off the same number and the two have to
   move together. */
.episode-grid[b-q8gc2hb7bj]  .chart-grid .dxbl-grid-expand-button-cell{padding:0 0 0 var(--chart-grid-inset);text-align:left}
.episode-grid[b-q8gc2hb7bj]  .chart-grid .dxbl-grid-expand-button{padding:0;min-width:0}
/* The same 11px as the area head's own fold chevron (Marius, 2026-09-18). The theme's is half as big
   again, and two chevrons an inch apart at two sizes read as two different controls rather than as the
   same gesture at two levels. `--dxbl-image-*` is the pair the theme sizes `svg.dxbl-image` from. */
.episode-grid[b-q8gc2hb7bj]  .chart-grid .dxbl-grid-expand-button .dxbl-image{--dxbl-image-width:11px;--dxbl-image-height:11px}

/* Flush on three sides (Marius, 2026-09-18), because the tinted block inside it is the padding: the
   theme's 28px all round drew a white moat that left the encounters floating in the row instead of
   hanging off it. The left inset is the one kept, and it is not a margin of its own — it is where the
   episode's text begins, so the nested grid opens under the line it belongs to.

   The cell takes the tint as well (Marius, 2026-09-18: "fill the left white with same color"), so the
   indent is drawn *through* rather than cut out of it. A white gutter under the chevrons made the
   block look inset into the row instead of continuous with the line above it, and the narrower the
   area got the more of the block that gutter was.

   Seven pixels back from the episode's text (Marius, 2026-09-19), which is what the block's own
   padding adds on top of this — the two insets were stacking, so the encounters opened a step right of
   the line they belong to instead of under it. */
.episode-grid[b-q8gc2hb7bj]  .chart-grid .dxbl-grid-detail-cell{position:relative;padding:0 0 0 calc(var(--chart-expander) + var(--dxbl-grid-text-cell-padding-x) - 7px);background:var(--iws-tint)}

/* The spine, hung under the chevron that opened the row (Marius, 2026-09-18: "the line should be below
   chevron") rather than drawn down the edge of the block it belongs to. It is the one mark saying
   which episode these encounters came out of, so it starts at the control that let them out — 4px past
   the chevron's own inset, which centres three pixels of line under eleven of chevron.

   It belongs to the cell and not to the block for the same reason: the block starts where the episode's
   *text* starts, and those are two different x now that the cell is tinted end to end. A line is free
   to stand between them. */
.episode-grid[b-q8gc2hb7bj]  .chart-grid .dxbl-grid-detail-cell::before{content:"";position:absolute;top:0;bottom:0;left:calc(var(--chart-grid-inset) + 4px);width:3px;background:var(--iws-selected-strong)}

/* A query container, so the chip inside it can answer to the width of the cell rather than to the
   width of the window: this column is the one that absorbs the lane's slack, so it is wide on a chart
   in a full row and narrow on one sharing a row, at the same viewport.

   `flex` and a full width rather than `inline-flex`, and that pairing is not cosmetic — it is what
   makes the container legal. `container-type:inline-size` applies size containment, which says this
   box's width may be computed without looking inside it; on a shrink-to-fit box there is nothing else
   to compute it from, so the width came out zero and the name — the one child that may shrink — was
   clipped to nothing. The number and the tick survived only because they are `flex:0 0 auto` and
   overflowed the collapsed box. Taking the width from the cell instead gives containment an answer
   that does not depend on the contents, which is what it was asking for. */
.episode-cell[b-q8gc2hb7bj]{display:flex;align-items:center;gap:.4rem;width:100%;min-width:0;container-type:inline-size}
.episode-cell strong[b-q8gc2hb7bj]{font-weight:600}
/* The name is what gives way first, because the number and the chip beside it are short and fixed —
   an ellipsis on a name that was typed is readable, an ellipsis on "#10013" is not. */
.episode-cell strong[b-q8gc2hb7bj]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.episode-number[b-q8gc2hb7bj],.green-path[b-q8gc2hb7bj]{flex:0 0 auto}
/* Muted and beside the label, never instead of it: the number is how every other surface identifies
   an episode, so it stays legible without competing with the name somebody typed. */
.episode-number[b-q8gc2hb7bj]{color:var(--iws-text-secondary);font-size:.72rem}
.episode-status[b-q8gc2hb7bj],.green-path[b-q8gc2hb7bj]{padding:.1rem .35rem;border:1px solid var(--iws-muted-border);border-radius:.25rem;background:var(--iws-muted-bg);color:var(--iws-text-secondary);font-size:.68rem}
.episode-status.open[b-q8gc2hb7bj],.green-path[b-q8gc2hb7bj]{border-color:var(--iws-success-border);background:var(--iws-success-bg);color:var(--iws-success-text)}
.green-path[b-q8gc2hb7bj]{display:inline-flex;align-items:center;gap:.2rem}
.green-path[b-q8gc2hb7bj]  svg{width:.65rem;height:.65rem}
/* Below this the chip is the tick alone (Marius, 2026-09-19: "green path icon should go over the
   text..if no space"). The mark is the part that has to survive — it is what says this episode is on
   the fast-track pathway, and a reader scanning a column of episodes is looking for the tick rather
   than reading the words beside it. The words are in the `title` either way.

   280px is where the name stops having room to be a name: below it the chip and the number were
   taking two thirds of the cell and what somebody actually typed was down to a few characters and an
   ellipsis. `@container` rather than `@media`, so this answers to the cell and not to the window. */
@container (max-width:280px){
    .green-path>span[b-q8gc2hb7bj]{display:none}
    .green-path[b-q8gc2hb7bj]{padding:.1rem .2rem;gap:0}
}

/* The episode's toolbar, right-anchored in a gutter of its own so a pill never lands on a value. Drawn
   on hover and on keyboard focus — a row that is being read shows what can be done to it, and the
   other rows stay a list. */
/* The episode's own actions are not on its row any more (Marius, 2026-09-19: "move them inside like
   register") — they are on the head of its encounters block, with Register, and `ChartEncountersGrid`
   styles them. Nothing here draws them. */

/* Three parts: a head that stays, a scroller, and a foot that stays (Marius, 2026-09-19: "scroll area
   is this; the header and footer stay"). The foot is a sibling of the scroller — it used to ride down
   on `margin-top:auto` inside it, which pins it only while the contents are shorter than the rail, and
   they stopped being shorter when the five blocks arrived.

   The head is a sibling for the same reason, and the bar is the argument (Marius, 2026-09-19: "scroll
   area is after header and until footer"). It spent an afternoon sticky inside the scroller, which
   held it on screen perfectly well and still read wrong: the scrollbar ran the rail's whole height
   behind it, so the one thing on screen that says how much record there is was measuring two bands
   that never move. Out here the bar starts under the head's rule and stops at the foot's. */
.encounter-rail[b-q8gc2hb7bj]{display:flex;flex-direction:column;overflow:hidden}

/* `min-height:0` because it is a flex item in a column and would otherwise refuse to go under its
   content — which is the whole of how a long rail keeps its head and foot while the middle moves. A
   column itself: a block is never given a small window of its own to read through, so an opened one is
   drawn whole and the facts above it scroll away until it is shut again. */
.rail-scroll[b-q8gc2hb7bj]{flex:1 1 auto;min-height:0;overflow:auto;display:flex;flex-direction:column;padding:.85rem}

/* The facts strip: one row of three, fixed at three whatever the room (Marius, 2026-09-19: "I need
   just 1 row / 3 columns"). `auto-fit` was the obvious thing here and is the wrong one — it would drop
   to two columns and wrap the accession under the other two, which is a second row, which is the one
   thing this was asked not to be.

   A card like the blocks beside it rather than a labelled list like the one it replaced: it is a
   section of the rail now, so it is drawn as one. What it does not have is a chevron, because a fold
   is for a list whose length is the reason to hide it and this is always exactly three facts. */
/* No padding of its own (Marius, 2026-09-19: "remove the extra padding for facts"). It had the
   blocks' 5px on the argument that a lane beside them should start where they start — but a block
   spends that on separating a caption from the list under it, and this has no caption, so here it was
   5px of nothing above the first thing in the rail. */
/* Not three equal thirds (Marius, 2026-09-19: "move acc# closer to Status"). Equal thirds gave a
   one-word status the same 100px as an accession with a button after it, so Acc# began a third of the
   way across the lane with a pool of white in front of it. The first two size to what they hold — a
   name and a single word — and the accession takes everything left over, which is the one cell here
   that can use it. */
/* 15px between the three (Marius, 2026-09-19), which is its own measure rather than the 12px between
   block columns in `ChartRailLayout.Gutter`. Those two gaps are doing different jobs: the rail's
   gutter is the ditch a hairline separator runs down, and this one has no rule in it, so it is the
   whole of what keeps a value from reading as the start of the next caption. */
.rail-facts[b-q8gc2hb7bj]{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:15px}
.rail-fact-cell[b-q8gc2hb7bj]{display:flex;flex-direction:column;gap:.1rem;min-width:0}
/* The caption the patient band uses, to the pixel (Marius, 2026-09-19: "use the same font and color
   for marked labels" — `.chart-band-caption` in `ChartPatientBand.razor.css`). Both surfaces are the
   same idea, a small grey label over the answer it names, and they were 8px bold at .07em here
   against 8.5px regular at .05em there. The band sits directly above this rail, so the two sets of
   captions are read in one glance and the difference had nowhere to hide.
   The bold is the part worth losing. A caption is not the thing being read — weight on it makes the
   label compete with the value it labels, which is why the band never had any. */
.rail-fact-k[b-q8gc2hb7bj]{color:var(--iws-caption);font-size:11px;line-height:13px;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* A stated line-height, so the three answers sit on one line rather than on three within a pixel of
   each other (Marius, 2026-09-19: "align texts lines"). Left to the inherited value, each cell's line
   box was as tall as what happened to be in it, and the accession — carrying an icon the other two do
   not — came out a pixel and a half low. Nobody reads that as a pixel; they read it as the strip
   being slightly crooked. */
.rail-fact-v[b-q8gc2hb7bj]{min-width:0;color:var(--iws-heading);font-size:.72rem;font-weight:600;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rail-fact-v.is-cancelled[b-q8gc2hb7bj]{color:var(--iws-danger-text)}

/* The accession and its button on one line (Marius, 2026-09-19: "move edit on same line with ACC
   value"), and on two where one will not hold them ("when there is no space, edit goes on next line
   [flex]"). They were stacked always, which made this cell a row taller than the two beside it on
   every encounter to buy room that is only needed on some.

   Wrapping rather than shrinking, and that is the difference the row-gap pays for: an accession
   squeezed beside a button is an accession with its tail ellipsed, and a half-read number is a number
   somebody has to open the dialog to check. Given its own line it is whole, and the button under it
   is still the same button. */
.rail-fact-v.is-acc[b-q8gc2hb7bj]{display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .35rem;white-space:normal}
/* `0 1 auto` so it takes the width it has and no more, and ellipses only when it is alone on a line
   and still too long for one — at which point there is nothing left to give it. */
.rail-acc[b-q8gc2hb7bj]{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* No top margin on the strip's own button — `.rail-link`'s quarter-rem was spacing under a list row,
   and this one is sitting beside its value rather than under it. It borrows the value's line-height
   for the same reason the values share one: it stands where an answer stands, on the row the other
   two answers are on. */
.rail-facts .rail-link[b-q8gc2hb7bj]{flex:0 0 auto;margin-top:0;font-size:.68rem;line-height:1.35}

/* Where it leads the first column rather than holding a lane of its own: it keeps its own height and
   pays the blocks under it the 5px a block spends between its caption and its list, so Details does
   not start against the accession. */
.rail-facts-lead[b-q8gc2hb7bj]{flex:0 0 auto;padding-bottom:5px}
.rail-col[b-q8gc2hb7bj]  .rail-reason{flex:0 0 auto;padding-bottom:8px}

/* The block stack spreads across as many columns as the rail can give 300px to (Marius, 2026-09-19),
   on the patient band's argument one level down: past a certain width one column is half a rail of
   white and twice the height for nothing, and the fix is breadth rather than a bigger typeface.

   How many columns and which block goes in which is `ChartRailLayout`'s, not this file's — it is
   arithmetic against the rail's measured width, and it has to be arithmetic because the columns are
   real elements. That is the part worth knowing here: every previous version of this was one grid,
   and a grid shares its rows down the whole row. A tall open Details on the left set the height of
   row one, so the second block on the right began below it and left a hole under a shut Charges that
   nothing in the layout accounted for. Columns that stack on their own have no rows to share.

   One thing this is deliberately *not* borrowing from the band: the band drops a fact when it runs
   out of columns, and nothing here is ever dropped. A block is the only place its list can be read,
   and the count on a shut caption is what the whole fold was for. */
/* `stretch` rather than `flex-start`, which is what lets the rules below run the full height of the
   stack instead of each stopping at the bottom of its own column — five rules of five different
   lengths is a ragged edge rather than a set of lanes. The blocks inside are unaffected: they are
   `flex:none` in a column of their own, so a taller neighbour makes the column taller and leaves the
   blocks the height of what is in them. */
.rail-blocks[b-q8gc2hb7bj]{display:flex;align-items:stretch;gap:0 12px;min-width:0}

/* `min-width:0` so a long task title ellipses inside its column rather than widening it — a flex
   item's automatic minimum is its content, which is how one row of five becomes a rail that scrolls
   sideways. Each block in the column is sized to its own content rather than to the tallest thing
   beside it.

   The basis is the floor — `ChartRailLayout.MinColumn`, and the two have to say the same number. One
   number for every column, the first included: it held 350 for an afternoon on the facts strip's
   account and gave it back (Marius, 2026-09-19: "300 + 300 + 300 + 300 + 300").
   It was `flex:1 1 0`, which is where the 300px went: with a basis of zero every column's width is
   its share of the free space, so a rail that C# had judged wide enough for three 300s handed the
   wide first column 600 and left the other two on 175 each. The floor was being enforced in the
   arithmetic and nowhere in the layout. Starting each column at 300 and distributing only the
   surplus makes the browser's answer the one the arithmetic assumed. */
.rail-col[b-q8gc2hb7bj]{position:relative;display:flex;flex-direction:column;flex:1 1 300px;min-width:0}

/* A hairline down each boundary (Marius, 2026-09-19: "we need vertical separators between columns;
   is hard to know which is what"). Five captions in a row across the top of the rail, each with a
   list under it that stops at its own depth, and nothing saying where one lane ends — a short value
   under Charges sits directly beneath the gap and reads as Tasks' first row.

   Drawn as a pseudo-element floating in the gutter rather than as a `border-left` on the column,
   because a border is width: it would come out of the 300px each column is promised, and the
   threshold arithmetic in `ChartRailLayout` is done against a gutter of exactly 12. Half of twelve
   is where it sits, so the rule is equidistant from both lanes and costs neither of them a pixel. */
.rail-col+.rail-col[b-q8gc2hb7bj]::before{content:"";position:absolute;top:0;bottom:0;left:-6px;width:1px;background:var(--iws-border-subtle)}
.rail-blocks[b-q8gc2hb7bj]  .rail-block{flex:none;min-width:0}

/* The wider one, which is whichever column Documentation is in (Marius, 2026-09-19: "1st column
   should be wider when multiple columns … what I want is to be able to see long texts in
   documentation"). Everything else in the rail is a caption, a count and a short list, all of which
   read at the floor; Documentation is the one that holds prose, and prose in a narrow column is a
   page of four-word lines.
   Half again of the *surplus*, now that every column starts at its floor rather than at zero. That is
   the weaker reading of the rule and the right one: it takes the larger share of what is going spare
   without taking width off a neighbour that has none to give. */
.rail-col.is-wide[b-q8gc2hb7bj]{flex-grow:1.5}

/* One block per column, so the rail is a single line: the four short ones sit at the floor and
   Documentation takes what is left, which at a wide rail is most of it. */
/* `0 1` rather than `0 0`: they may not grow, but they must be able to give. The count is chosen
   against `n × 300` with the gutters coming out of the surplus, so at a width that only just passes
   there are 48px of gutter to find and nowhere but the columns to find it. Refusing to shrink, the
   row ran 21px past the rail and put a horizontal scrollbar under a pane that scrolls vertically. */
.rail-blocks.is-spread .rail-col[b-q8gc2hb7bj]{flex:0 1 300px}
.rail-blocks.is-spread .rail-col.is-wide[b-q8gc2hb7bj]{flex:1 1 300px}

/* Nothing reorders. Empty blocks used to sink to the end on a flex `order` (Marius, 2026-09-19:
   "always move the empty list to last") and no longer do (Marius, same day, having seen it: "drop
   empty-last — always Details, Documentation, Charges, Tasks, Audit, whatever is in them").

   The argument for sinking was that a block reading `none` is a line the reader has no reason to pass
   on the way to one with something in it. True of any single rail, and it is the wrong unit: a reader
   works through encounters one after another, and sinking makes the order a property of what happens
   to be recorded on each. Five captions that are in a different place on every encounter cost more in
   re-reading than the empty ones ever cost in scrolling past — and the first thing they cost is the
   ability to tell "this encounter has no charges" from "Charges has moved again". A fixed order can
   be learned once; this could not be learned at all. */
/* The head, at the sheet's own measurements (Marius, 2026-09-19: "title model, make it like that").
   A tinted band with a rule under it rather than three loose lines, because this is the one part of
   the rail that answers "what am I looking at" — and everything below it answers a question the
   reader asked on purpose.

   Full bleed, and out here it needs no help to be: the head is the rail's own first child, so the tint
   reaches both edges without the negative margins that used to cancel the scroller's padding from
   inside it. It does reach a little further than the lines below — they are inset by the scrollbar and
   this is not — which is what a card's head does anyway, and the alternative was a bar that measured
   the head as part of the scroll.

   5px all round (Marius, 2026-09-19), down from 9/12/10. Worth knowing what that costs: the scroller's
   padding is 13.6px, so the head's text starts 8.6px to the left of everything under it — Fast
   details, the blocks, all of it. Deliberate here, because the band is tinted and edged and so reads
   as its own surface rather than as the first paragraph of the column, but it is the reason the left
   edge does not line up. */
.rail-top[b-q8gc2hb7bj]{flex:0 0 auto;padding:5px;background:var(--iws-surface-subtle);border-bottom:1px solid var(--iws-border-subtle);display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px 10px}
/* The encounter's own three lines, as one column so the episode's table can stand beside all three
   rather than inside the middle one. */
.rail-head[b-q8gc2hb7bj]{flex:1 1 auto;min-width:0}
/* Three sizes, three jobs. The kick is small and wide-tracked because it labels the thing rather than
   being part of it; the name is the only line here read at a glance; the line under it is context, in
   --medq-blue rather than grey — grey would put it at the weight of the fact captions below, which it
   is not. */
.rail-kind[b-q8gc2hb7bj]{display:block;color:var(--iws-text-secondary);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.09em}
.rail-top h2[b-q8gc2hb7bj]{margin:1px 0 2px;color:var(--iws-heading);font-size:15px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
/* Beside the name and not after it: `inline-flex` with a baseline alignment would drop the glyph onto
   the text's baseline, where a small icon next to a 15px bold name reads as a descender. Centred on
   the line box instead, so a long procedure name wrapping to two lines leaves the pencil on the last
   one rather than stretching it.

   One size for both pencils, stated in pixels (Marius, 2026-09-19: "make smaller like the header
   pencil / align both with middle text"). They were each sized `1em` against their own text, which is
   a reasonable-sounding rule that produced two different pencils: 15px on the 15px title and 11.5px on
   the .72rem accession. A pencil is not part of the text it follows — it is the same control in both
   places, and the same control drawn two sizes on one card reads as two different ones.

   13px, which is bigger than either of them was drawing (Marius, 2026-09-19: "make it +2px heigher").
   The glyph sits inside its viewBox with margins of its own, so a box of N renders appreciably less
   than N — the title's 15px box was putting about ten pixels of pencil on the screen.

   Grey at rest, blue on hover: it is the only control inside a heading on this rail, and one drawn in
   --medq-blue would compete with the name for the glance the name is there to get. */
.rail-fact-edit[b-q8gc2hb7bj],.rail-head-edit[b-q8gc2hb7bj]{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:.3rem;padding:0;width:15px;height:15px;border:0;border-radius:.2rem;background:transparent;color:var(--iws-text-secondary);font-size:inherit;cursor:pointer}
.rail-fact-edit:hover[b-q8gc2hb7bj],.rail-fact-edit:focus-visible[b-q8gc2hb7bj],.rail-head-edit:hover[b-q8gc2hb7bj],.rail-head-edit:focus-visible[b-q8gc2hb7bj]{color:var(--iws-brand);background:var(--iws-tint)}
.rail-fact-edit[b-q8gc2hb7bj]  svg,.rail-head-edit[b-q8gc2hb7bj]  svg{width:13px;height:13px}
/* The accession's twin of it: same pencil, same size, same silence, and no margin of its own because
   the flex row it sits in already sets the gap between the number and the button. Centred on the
   line rather than sat on its baseline, which is the half of "align both with middle text" that flex
   has to do — the title's half is the `vertical-align` above. */
.rail-fact-edit[b-q8gc2hb7bj]{flex:0 0 auto;align-self:center;margin-left:0}
.rail-fact-edit:disabled[b-q8gc2hb7bj]{color:var(--iws-text-faint);background:transparent;cursor:default}
.rail-sub[b-q8gc2hb7bj]{color:var(--iws-brand);font-size:11px;line-height:1.35}
.rail-no[b-q8gc2hb7bj]{color:var(--iws-text-faint)}
/* Edit Encounter's pencil, in the head's top-right corner (CH-5). The same grey-at-rest glyph as the
   accession's, so the rail has one pencil; the head keeps clear of it where the episode block has
   wrapped under and the name runs the full width. */
.rail-top.has-edit[b-q8gc2hb7bj]{position:relative}
.rail-top.has-edit .rail-head[b-q8gc2hb7bj]{padding-right:20px}
.rail-head-edit[b-q8gc2hb7bj]{position:absolute;top:5px;right:5px;margin-left:0}

/* Pushed to the right edge whether it shares the title's rows or takes its own — `margin-left:auto`
   does both, where `justify-content` would only do the first.

   It sits on the bottom edge (Marius, 2026-09-19: "align with blue line"), which is what puts its
   answers on the encounter's date rather than on its name. That works because the two lines are set
   to the same size and leading: bottom-aligning the boxes is bottom-aligning the text in them, so no
   nudge is needed and none can drift when the type changes.

   `wrap`, and that is the whole of the narrow-rail behaviour: the aside is `flex:0 0 auto` and so
   never squeezes, it simply takes the next line when the title has used the width. Facts crushed into
   eighty pixels are facts nobody reads, and this rail is resizable down to 250.

   `max-width` is what makes the wrap inside it real, and it is not decoration: a flex item sized
   `auto` takes its max-content width, so without a cap this box grows to the sum of its facts and
   runs off the rail rather than folding. It matters more since the facts became the grid's shed
   columns — there can be five of them now, one of which is a procedure name of any length. */
.rail-aside[b-q8gc2hb7bj]{flex:0 0 auto;max-width:100%;margin-left:auto;display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-end;gap:4px 8px;color:var(--iws-text-secondary);font-size:10px;line-height:1.35}

/* Two lines rather than one (Marius, 2026-09-19: "make it 2 line table") — captions along the top,
   values under them, each fact a column of the pair. Strung out on a single line they read as prose
   with the labels embedded in it, and the eye has to parse `EPISODE Name #10013 EPISODE PROCEDURE CT
   head22` word by word to find the seams. Stacked, the seams are the layout: one row of small grey
   type that is plainly captions and one row under it that is plainly answers, which is how the table
   this came out of reads and why it is legible at a glance there.

   `stretch`, not `baseline`, is what makes it a table: the fact's box is as tall as both rows, so the
   rule between two facts runs the full height instead of ticking the caption line only. */
.rail-fact[b-q8gc2hb7bj]{display:grid;grid-template-rows:auto auto;align-content:start;gap:1px;padding-left:8px;border-left:1px solid var(--iws-border-subtle);white-space:nowrap}

/* The separators are drawn rather than typed. A `|` between two spans is a character that inherits the
   text's weight and colour and lands wherever the font puts it; a border sits on the box, at the
   height the fact actually is, and disappears with its own fact when the row wraps — which a typed
   pipe would not, leaving a bar at the end of a line. First child has none, by the same argument. */
.rail-fact:first-child[b-q8gc2hb7bj]{padding-left:0;border-left:0}

/* Names a date that would otherwise be a number. Smaller and wide-tracked, on the kicker's argument
   one line up: it labels the value rather than being part of it. */
.rail-tag[b-q8gc2hb7bj]{color:var(--iws-text-faint);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}

/* A step up from the caption over it and a step down from the encounter's name beside it, in navy
   rather than grey — these are answers, and the grey belongs to the words that ask. */
.rail-val[b-q8gc2hb7bj]{color:var(--iws-heading);font-size:11px}

/* The episode's name, held to 100px on a rail of 350 or less (Marius, 2026-09-19). It is the only
   value here with no upper bound, and on a narrow rail it would otherwise be the whole aside, folding
   the four facts that did come out of the table onto lines of their own. The ellipsis is the point of
   the clamp rather than a side-effect of it: 100px is enough to recognise a name that is also on
   screen in the grid, and the fact carries the full one as its tooltip. */
.rail-fact.is-tight .rail-val[b-q8gc2hb7bj]{max-width:100px;overflow:hidden;text-overflow:ellipsis}
.rail-link[b-q8gc2hb7bj]{display:inline-flex;align-items:center;gap:.25rem;margin-top:.25rem;padding:0;border:0;background:transparent;color:var(--iws-brand);font:inherit;font-size:.72rem;font-weight:600;cursor:pointer}
.rail-link:disabled[b-q8gc2hb7bj]{color:var(--iws-text-secondary);cursor:not-allowed}
.rail-link[b-q8gc2hb7bj]  svg{width:.75rem;height:.75rem}

/* A row that wraps, not a column (Marius, 2026-09-19). It was one button per line on the argument that
   each caption needed the width — and each did, while a caption was an icon and a sentence. They are
   words now, and three words across a 300px rail is one line with room to spare, where three lines was
   an eighth of a compact area spent on buttons nobody had asked for yet. What does not fit wraps.

   The switch at the end is not one of them: it sizes the area rather than acting on the encounter, so
   it takes the far edge and wears the rail's link styling instead of a button's. A pinned foot rather
   than the end of the scroll, so it is reachable without reading past the whole record — hence the
   background and the rule above it, which say the row is not part of what is scrolling over it.

   The five pixels on the bottom are the switch's, and the reason it is worth a `calc` rather than a
   rounder number is what they replaced. In the row it was a flex item, so when the two buttons filled
   the rail it wrapped — and a wrapped item brings the row gap and its own full height with it, which
   is a fifth of a compact area given over to one ten-pixel word (Marius, 2026-09-19: "footer area
   should grow 5px only not +1 row"). Wrapping is right for buttons, whose captions need the width;
   this one needs a corner. So the buttons keep `flex-wrap` and the switch comes out of the flow. */
.encounter-actions[b-q8gc2hb7bj]{position:relative;flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.55rem .85rem calc(.55rem + 5px);border-top:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}
/* In the corner the padding above just bought, clear of the buttons rather than over them: they stand
   1.9rem tall from the foot's top padding, the switch is twelve pixels, and the band underneath is the
   foot's own .55rem plus those five. `::deep` because the element belongs to `ChartHeightSwitch` and
   carries its scope, not this one's.

   The right offset is the foot's own .85rem with the nudge subtracted (Marius, 2026-09-19: twice, ten
   pixels each time), written that way so it still reads as "the rail's inset, less the correction"
   rather than as a magic number. Twenty is more than the inset, so the result is negative and the
   switch now sits a few pixels outside the foot's padding box — which is the point, and it is why the
   .5rem of horizontal padding on the button matters: the rail's `overflow:hidden` trims that padding
   and stops short of the chevron.
   The negative bottom is the same trade. The switch is an inline-flex button on a line box, so there
   are a few pixels of baseline gap under it inside this element, and that is what gets trimmed rather
   than the word. */
.encounter-actions[b-q8gc2hb7bj]  .chart-height{position:absolute;right:calc(.85rem - 20px);bottom:-2px;margin:0}
.encounter-actions button[b-q8gc2hb7bj],.encounter-actions[b-q8gc2hb7bj]  button.encounter-step{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:1.9rem;padding:.3rem .6rem;border:1px solid var(--iws-brand);border-radius:.25rem;background:var(--iws-surface);color:var(--iws-brand);font:inherit;font-size:.72rem;font-weight:700;white-space:nowrap}
/* Navy, which is what the Tasks rail's foot gives its own first action: the two are the same control
   in the same place in two sections, and they were two different blues. That rail is drawn from this
   one's shape now, so the pair are the same button in both feet rather than two that agree. */
.encounter-actions .primary[b-q8gc2hb7bj]{border-color:var(--iws-accent);background:var(--iws-accent);color:var(--iws-text-on-accent)}
/* Outlined rather than filled (Marius, 2026-09-19: "cancel should be red"): the row already has one
   filled button in it, and two solid blocks of colour side by side make the reader choose between
   them. Red on the edge and the word is enough to say which of the three cannot be taken back —
   `.depth-pill.danger` on the episode's own head is the same decision one level up. */
.encounter-actions .danger[b-q8gc2hb7bj]{border-color:var(--iws-danger-text);color:var(--iws-danger-text)}
.encounter-actions button:disabled[b-q8gc2hb7bj]{border-color:var(--iws-border);color:var(--iws-text-secondary);cursor:not-allowed}
.encounter-actions[b-q8gc2hb7bj]  svg{width:.9rem;height:.9rem}

/* The banner over a finished record, between the name and the facts. Red where something was called
   off and amber where the episode merely closed, which is the difference between an event and a state
   — and the same two tones the rest of the chart already uses for exactly that distinction, rather
   than a third palette invented for this one strip. Tinted rather than filled: it sits an inch under
   a bold heading and a solid bar there would out-shout the name of the record it is describing. */
.rail-seal[b-q8gc2hb7bj]{flex:0 0 auto;margin:.1rem 0 .55rem;padding:.4rem .5rem;border:1px solid var(--iws-danger-border);border-radius:.25rem;background:var(--iws-danger-bg);color:var(--iws-danger-text);font-size:.7rem;line-height:1.35}
.rail-seal.is-closed[b-q8gc2hb7bj]{border-color:var(--iws-warning-border);background:var(--iws-warning-bg);color:var(--iws-warning-text)}
.rail-seal-comments[b-q8gc2hb7bj]{display:block;margin-top:.25rem;white-space:pre-line;overflow-wrap:anywhere}

/* A fact whose answer is still on the wire. Sized like the line it stands in rather than given a
   height of its own, so the list does not jump when the answer lands. */
.rail-waiting[b-q8gc2hb7bj]{display:block;width:8rem;max-width:100%;height:.6rem;margin:.15rem 0;border-radius:.25rem;background:var(--iws-zone);opacity:.7;filter:blur(1px);animation:rail-waiting-b-q8gc2hb7bj 1.1s ease-in-out infinite}
@keyframes rail-waiting-b-q8gc2hb7bj{50%{background:var(--iws-surface-sunken)}}
@media(prefers-reduced-motion:reduce){.rail-waiting[b-q8gc2hb7bj]{animation:none}}

.episode-empty[b-q8gc2hb7bj]{display:grid;place-items:center;min-height:14rem;padding:1rem;color:var(--iws-text-secondary);font-size:.75rem;text-align:center}
.pacs-error[b-q8gc2hb7bj]{margin:.5rem 0 0;color:var(--iws-danger-text);font-size:.75rem}

/* There is no stacked arrangement any more (Marius, 2026-09-19: "500px floor should be all area below
   => H scroll"). The pair used to fall into one column under the two floors added together; now the
   workspace holds that floor as a `min-width` and `.episodes-scroll` takes over beneath it, so the
   list and the rail stay side by side at every width and the area scrolls instead.

   Both answers are defensible and they cannot both be had. Stacking keeps everything reachable without
   sideways scrolling, which is the better answer for a narrow *page*; this is a pane the reader sizes
   themselves, inside an area they can widen or fold, and one that silently re-arranged itself two
   pixels into a drag made the resizer feel broken. */
/* /Components/Chart/ChartHeightSwitch.razor.rz.scp.css */
/* A link rather than a button, and the only one in the foot that is not an action on the record: the
   two beside it chart a procedure and open a study, this one sizes the box they are sitting in. Blue
   text with no border is the product's word for "changes the view, not the patient" — the same shape
   the rail's own `.rail-link` wears a few lines above it. */
/* Last in the row and pushed to the far edge, which is all this file has an opinion about. Where it
   ends up vertically is the foot's business rather than the switch's: the episodes rail parks it under
   its two buttons, the attachments foot has nothing else in it at all. A nudge written here moved it
   in all three, which is how a measurement taken against one of them turned up in the other two. */
.chart-height[b-jimzl0bcse]{flex:0 0 auto;margin-left:auto}

/* 10px and no chrome (Marius, 2026-09-19: "make font 10px robo … make it transparent no border"). It
   shares the foot with two bordered buttons that act on the record, and at their size and weight it
   was reading as a third one. Quiet is the right volume for the only control in the row that changes
   nothing about the patient.

   Quiet in every state: a pill appeared on hover for an afternoon, then survived a while longer as a
   transparent border kept back for the focus ring, and both are gone now (Marius, 2026-09-19: "remove
   the border"). The chevron beside the word is doing that job already — it flips with the state, so
   the control reads as a switch whether or not anything is over it. `border:0` rather than a
   transparent one, so no rule further down can bring the pill back by setting a colour.

   No padding above or below it and `line-height:1`, which puts the whole control at ten pixels for ten
   of text. That is what lets the episodes foot hold it in a five-pixel band under the buttons instead
   of a whole second row (Marius, 2026-09-19: "+5px is enough"). Horizontal padding stays — it is the
   gap between the word and the rail's edge, not height. */
.chart-height-toggle[b-jimzl0bcse]{
    display:inline-flex;
    align-items:center;
    gap:.25rem;
    padding:0 .5rem;
    border:0;
    background:transparent;
    color:var(--iws-brand);
    font:inherit;font-size:10px;font-weight:600;line-height:1;
    white-space:nowrap;
    cursor:pointer;
}
/* Keyboard focus still has to be visible somewhere — a pointer user can see where their pointer is, a
   keyboard user cannot see where the focus is unless the control says so. Said with an underline on
   the word rather than a ring around it: the ring is the shape that was just removed, and one that
   reappears under the keyboard is the same pill arriving by another route. An underline is also the
   only marking here that cannot shift anything, since it is drawn inside the text's own box. */
.chart-height-toggle:focus-visible[b-jimzl0bcse]{outline:none;text-decoration:underline}
/* Matched to the text rather than left at .7rem, which was 11.2px and so the largest thing on a 10px
   control — a chevron that outweighs its own label reads as the button's subject. */
.chart-height-toggle[b-jimzl0bcse]  svg{width:10px;height:10px;display:block}

/* The menu this replaced is gone rather than hidden: a popup, its anchoring, its upward drop and the
   tick column that held two labels on one x. All of it existed to let a reader pick between two
   things, one of which was the thing they already had. */
/* /Components/Chart/ChartMedicalHistoryArea.razor.rz.scp.css */
/* The zone, and a card on it — the tasks area's arrangement, kept here rather than shared for the
   reason that stylesheet gives: these are scoped sheets, and a class belonging to neither component
   would have to be global and would be a third convention to drift from.

   The chain of `flex:1 1 auto` and `min-height:0` from here down to the table's scroller is what makes
   the card end where the area does and the rows scroll inside it. `min-height:0` at every step because
   a flex item otherwise refuses to go under its content, which is how a long list pushes the bottom of
   a card past the bottom of its area. */
.chart-history[b-s9vk0hmyud] {
    flex: 1 1 auto;
    box-sizing: border-box;
    display: flex;
    min-width: 0;
    min-height: 0;
    padding: 5px;
    background: var(--iws-zone);
}

.history-card[b-s9vk0hmyud] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border: 1px solid var(--iws-border);
    border-radius: 6px;
    background: var(--iws-surface);
    /* What makes the corners real: the table's header band is square and would otherwise be painted
       over the radius rather than inside it. */
    overflow: hidden;
}

/* The panel between the card and its table: it draws a head only on the registration form, so in the
   chart this is a column of one item and exists to pass the height down. Its rows' own height and no
   more, with the clinical history under it taking the rest of the card. */
.history-card[b-s9vk0hmyud]  .iws-problem-history {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* The wait, at the size of the section rather than of a page. The loader carries a floor of 28rem,
   which is right where it is the whole of what is on screen and is three times this section on a
   chart — and since a row is as tall as the taller of its two areas, a section waiting at 28rem takes
   its neighbour up there with it and drops both when the read lands. */
.history-card[b-s9vk0hmyud]  .page-loader {
    flex: 1 1 auto;
    min-height: 0;
}

/* The lines the panel shows instead of a table — no problems on file, a failed read, the note that
   says the list is empty on purpose. Indented to where the first column starts, since inside a card
   they would otherwise begin against its border. */
.history-card[b-s9vk0hmyud]  .iws-problem-history__empty,
.history-card[b-s9vk0hmyud]  .iws-problem-history__error,
.history-card[b-s9vk0hmyud]  .iws-problem-history__hint {
    padding: .4rem .5rem;
}

/* The same table, read in a different room (Marius, 2026-09-19: "make it like inner encounters ...
   grid header text color text size background"). On the registration form this list is one band on a
   page of forms and its headings are navy on a blue tint, which is how every settings grid in the
   product announces itself. In the chart it is one of seven sections, sitting a hand's width from the
   encounters grid, and two tables that near each other cannot be two conventions.

   So the overrides stop at the presentation: small grey uppercase headings on white, the encounters
   grid's row height, banding and hover, and none of the frame — the area is the card here. Scoped to
   `.chart-history` rather than written into `.settings-table`, because the settings screens and the
   registration form are still reading the other convention and are right to. */
/* No frame of its own — the card around it is the frame now — and it is the part that scrolls: it
   takes whatever height the card has over and the rows move inside it, so the heading row and the
   card's own edges stay where they are however long the list is. */
.chart-history[b-s9vk0hmyud]  .settings-table-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    border: 0;
    border-radius: 0;
}

.chart-history[b-s9vk0hmyud]  .settings-table {
    font-size: .78rem;
}

.chart-history[b-s9vk0hmyud]  .settings-table th {
    padding: .2rem .5rem;
    border-bottom: 1px solid var(--iws-border-subtle);
    background: var(--iws-surface);
    color: var(--iws-text-secondary);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.chart-history[b-s9vk0hmyud]  .settings-table td {
    height: 30px;
    padding: .2rem .5rem;
}

.chart-history[b-s9vk0hmyud]  .settings-table tbody tr:nth-child(even) {
    background: var(--iws-surface-sunken);
}

.chart-history[b-s9vk0hmyud]  .settings-table tbody tr:hover {
    background: var(--iws-selected);
}

/* Spend the width on the one column that can use it (Marius, 2026-09-19: "when there is space push
   the grid to maximize area space"). A table at `width:100%` shares its spare width out among nine
   columns in proportion to what they already hold, which put half of it under Role and Status — two
   words each, never longer — while the diagnosis wrapped to five lines and the table still scrolled
   sideways.

   `width:1%` is the table-layout idiom for shrink-to-fit: every column is held to its own content and
   the description, left at `auto`, takes everything that is over. Narrow the area and it gives that
   back a word at a time; only when the eight short columns no longer fit does the scrollbar appear,
   which is the one case where there is genuinely nothing else to do. */
.chart-history[b-s9vk0hmyud]  .settings-table th,
.chart-history[b-s9vk0hmyud]  .settings-table td {
    width: 1%;
    /* Held on one line with it, or the squeeze lands on them instead: a date is a column nobody wants
       broken after the first slash to save four pixels. */
    white-space: nowrap;
}

.chart-history[b-s9vk0hmyud]  .settings-table th.iws-problem-what,
.chart-history[b-s9vk0hmyud]  .settings-table td.iws-problem-what {
    width: auto;
    white-space: normal;
    /* Broken between words, not inside them. `anywhere` also answers "how narrow could this be?" with
       one character, and an auto-layout table believes it: the column that was meant to take the
       spare width was handed the least of it and wrapped a diagnosis down seven lines. */
    overflow-wrap: break-word;
}

/* Three lines and then an ellipsis (Marius, 2026-09-20: "we should limit 3 lines per row"). A long
   diagnosis is long in a way nobody needs read in a list — the code beside it is the identifier and
   the name is there to recognise, not to study — and one seven-line row was making the three rows
   around it look like a different grid. The rest is a hover away, and the dialog has it in full.
   On the span rather than the cell: a `td` told to lay out as a box stops behaving as a table cell,
   taking the column widths and the row's own borders with it. */
.chart-history[b-s9vk0hmyud]  .iws-problem-what__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
/* /Components/Chart/ChartNoteComposer.razor.rz.scp.css */
/* The slack of a dialog dragged taller, passed from the card down to the text box in three steps: the
   form takes the height the chrome offers, its second row takes what the type picker leaves, and the
   box fills that row. minmax(0,1fr) rather than 1fr at each step, or a grid row refuses to go below
   the height of what is in it and the box grows the dialog instead of the other way round. */
.note-dialog-form[b-zoqfehomij]{flex:1;min-height:0;grid-template-rows:auto minmax(0,1fr)}
/* And the same with the encounter picker between them, which a procedure note asks for: the row has
   to be stated or the implicit third one is the one that takes the slack, leaving the picker tall
   and the text box the height of its own five rows. */
.note-dialog-form.has-encounter[b-zoqfehomij]{grid-template-rows:auto auto minmax(0,1fr)}
.note-text-field[b-zoqfehomij]{min-height:0;grid-template-rows:auto minmax(0,1fr)}
/* The grip goes with the frame's own handles: the box is sized by its row now, so dragging it taller
   would only push it out of that row. */
.note-dialog-form textarea[b-zoqfehomij]{height:100%;resize:none}

.note-error[b-zoqfehomij]{margin:.55rem 0 0;color:var(--iws-danger-text);font-size:.78rem}
/* /Components/Chart/ChartNoteRow.razor.rz.scp.css */
/* One note: the selection box when the list has one, the type chip, then the text with its stamp under
   it. Values from the v3 mockup's picker and short-list rows (6.1e-7): 8px by 4px padding with a
   hairline under each row, the chip at 10.5px bold with 9px corners, a ticked row tinted. */
.note-row[b-4f67a9n9ji]{display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:8px;row-gap:2px;align-items:start;padding:8px 4px;border-bottom:1px solid var(--iws-border-subtle);font-size:.78rem;line-height:1.4}
.note-row.has-check[b-4f67a9n9ji]{grid-template-columns:22px 76px minmax(0,1fr)}
.note-row.no-chip[b-4f67a9n9ji]{grid-template-columns:minmax(0,1fr)}
.note-row.has-check.no-chip[b-4f67a9n9ji]{grid-template-columns:22px minmax(0,1fr)}
.note-row.is-selected[b-4f67a9n9ji]{background:var(--iws-selected)}
/* The box and the chip each stand in a box as tall as the text's first line (.78rem at 1.4), centred
   in it, so the two and the first line share one middle whatever height the checkbox draws at. */
.note-check[b-4f67a9n9ji]{grid-row:span 2;align-self:start;display:flex;align-items:center;height:1.092rem}

/* The chip hugs its word: a grid item stretches, so without `justify-self` every chip came out as wide
   as its column with the word in the middle. */
.note-chip[b-4f67a9n9ji]{grid-row:span 2;align-self:start;justify-self:start;box-sizing:border-box;max-width:100%;height:1.092rem;padding:0 7px;border-radius:9px;background:var(--iws-surface-sunken);color:var(--iws-text-secondary);font-size:.66rem;font-weight:700;line-height:1.092rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.note-chip.t-Procedure[b-4f67a9n9ji]{background:var(--iws-info-bg);color:var(--iws-info-text)}
.note-chip.t-Patient[b-4f67a9n9ji]{background:var(--iws-success-bg);color:var(--iws-success-text)}
.note-chip.t-Tech[b-4f67a9n9ji]{background:color-mix(in srgb,var(--iws-settings-security) 12%,var(--iws-surface));color:var(--iws-settings-security)}
.note-chip.t-Insurance[b-4f67a9n9ji]{background:var(--iws-warning-bg);color:var(--iws-warning-text)}

/* The positioning context for the hover pill, which anchors to this cell rather than to the row. */
.note-cell[b-4f67a9n9ji]{position:relative;min-width:0}
/* `pre-wrap`, because a note is typed: the paragraphs somebody put in it are part of what they wrote. */
.note-value[b-4f67a9n9ji]{display:block;min-width:0;color:var(--iws-text);overflow-wrap:anywhere;white-space:pre-wrap}
/* Clamped by height in `em` against the row's own line-height, so three lines is three lines rather
   than three and a sliver of a fourth. */
.note-value.clamped[b-4f67a9n9ji]{max-height:4.2em;overflow:hidden}

.note-foot[b-4f67a9n9ji]{grid-column:-2 / -1;display:flex;align-items:baseline;gap:8px;min-width:0;color:var(--iws-text-secondary);font-size:.69rem}
.note-stamp[b-4f67a9n9ji]{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.note-row.is-open .note-stamp[b-4f67a9n9ji]{overflow:visible;white-space:normal;overflow-wrap:anywhere}
.note-tools[b-4f67a9n9ji]{display:inline-flex;align-items:center;gap:2px;margin-left:auto}
.note-tools + .note-more[b-4f67a9n9ji]{margin-left:6px}
/* Shown on the rows `chartNotes.js` measured as cut, and on any row the reader opened. */
.note-more[b-4f67a9n9ji]{display:none;flex:0 0 auto;margin-left:auto;padding:0;border:0;background:transparent;color:var(--iws-heading);font:inherit;font-weight:700;white-space:nowrap;cursor:pointer}
.note-row.is-cut .note-more[b-4f67a9n9ji],.note-more.is-open[b-4f67a9n9ji]{display:inline}
.note-more:hover[b-4f67a9n9ji]{text-decoration:underline}

/* Edit, on a pill that appears under the pointer and lies over the text rather than taking a column. */
.note-actions[b-4f67a9n9ji]{position:absolute;top:1px;right:1px;z-index:2;display:inline-flex;align-items:center;height:1.05rem;padding:0 1px;border:1px solid var(--iws-selected-strong);border-radius:999px;background:var(--iws-surface);box-shadow:0 1px 4px var(--iws-shadow);opacity:0;transition:opacity .1s ease}
.note-row:hover .note-actions[b-4f67a9n9ji],.note-row:focus-within .note-actions[b-4f67a9n9ji]{opacity:1}
.note-actions[b-4f67a9n9ji]  button{display:inline-grid;place-items:center;width:1.05rem;height:.9rem;padding:0;border:0;background:transparent;color:var(--iws-brand);cursor:pointer}
.note-actions[b-4f67a9n9ji]  button:hover{color:var(--iws-heading)}
.note-actions[b-4f67a9n9ji]  svg{width:.6rem;height:.6rem}
/* /Components/Chart/ChartNotesPicker.razor.rz.scp.css */
/* Add notes, split in two as the v3 mockup draws it (6.1e-7): the list, the pages beside it. The dialog
   is flush and holds its own height, so both halves grow and shrink with it when it is resized (CN-2). */
.cnp[b-axo346777d]{box-sizing:border-box;display:grid;grid-template-columns:minmax(340px,2fr) minmax(0,3fr);grid-template-rows:minmax(0,1fr);gap:12px;min-height:0;padding:10px}
.cnp-left[b-axo346777d]{display:flex;flex-direction:column;min-width:0;min-height:0}
.cnp[b-axo346777d]  .cnp-search{margin-bottom:8px}

/* Type pills as the Notes area's short list draws them: All first, each with its count, the one in
   force filled with the accent, an empty type drawn disabled in its place. */
.cnp-pills[b-axo346777d]{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px}
.cnp-pill[b-axo346777d]{display:inline-flex;align-items:center;gap:5px;padding:2px 10px;border:1px solid var(--iws-border);border-radius:14px;background:var(--iws-surface);color:var(--iws-heading);font:inherit;font-size:.75rem;font-weight:600;white-space:nowrap;cursor:pointer}
.cnp-pill span[b-axo346777d]{color:var(--iws-text-secondary);font-weight:400}
.cnp-pill:hover:not(:disabled)[b-axo346777d],.cnp-pill:focus-visible[b-axo346777d]{border-color:var(--iws-brand)}
.cnp-pill.on[b-axo346777d]{border-color:var(--iws-accent);background:var(--iws-accent);color:var(--iws-text-on-accent)}
.cnp-pill.on span[b-axo346777d]{color:color-mix(in srgb,var(--iws-text-on-accent) 78%,var(--iws-accent))}
.cnp-pill:disabled[b-axo346777d]{border-color:var(--iws-border-subtle);background:var(--iws-surface-subtle);color:var(--iws-text-faint);cursor:default}
.cnp-pill:disabled span[b-axo346777d]{color:var(--iws-text-faint)}

/* One row under the pills: Select all and Clear as icons at its left, Sort by at its right end. */
.cnp-tools[b-axo346777d]{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.cnp-tools[b-axo346777d]  .cnp-ib{width:26px;height:24px;min-height:0;padding:0;border-radius:4px;--dxbl-btn-color:var(--iws-link);--dxbl-btn-border-color:var(--iws-border);--dxbl-btn-hover-bg:var(--iws-selected);--dxbl-btn-hover-border-color:var(--iws-brand-soft);--dxbl-btn-hover-color:var(--iws-link)}
.cnp-tools[b-axo346777d]  .cnp-ib svg{width:15px;height:15px}
/* A spacer, not `margin-left:auto` on the chip: DevExpress puts the chip's class on an element inside
   its own wrapper, so a margin there moves nothing in this row. */
.cnp-gap[b-axo346777d]{flex:1 1 auto}
.cnp-tools[b-axo346777d]  .cnp-sort{height:24px;min-height:0;padding:0 10px;border-radius:14px;font-size:.75rem;font-weight:700;--dxbl-btn-color:var(--iws-heading);--dxbl-btn-border-color:var(--iws-heading);--dxbl-btn-hover-bg:var(--iws-selected);--dxbl-btn-hover-color:var(--iws-heading);--dxbl-btn-hover-border-color:var(--iws-heading)}

.cnp-list[b-axo346777d]{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;border:1px solid var(--iws-border);border-radius:4px;overflow:hidden}
.cnp-list[b-axo346777d]  .cnp-grid{flex:1 1 auto;min-height:0;--dxbl-grid-border-width:0;--dxbl-grid-text-cell-padding-x:0;--dxbl-grid-text-cell-padding-y:0;--dxbl-grid-font-size:.78rem}
.cnp-list[b-axo346777d]  .cnp-grid .dxbl-grid-table > thead{display:none}
/* The grid only holds the rows for the Custom drag and the group heads: each cell is the short row
   whole, with its own hairline and its ticked tint, so the grid adds no padding, line or hover of its own. */
.cnp-list[b-axo346777d]  .cnp-grid .dxbl-grid-table > tbody > tr:not(.dxbl-grid-group-row) > td{padding:0;border:0;background:transparent}
/* The grid's focused row and cell (a fill, an inset frame, recoloured boxes) read as a picked note. The
   tick is the only mark of a pick; the box keeps its own focus ring for the keyboard. */
.cnp-list[b-axo346777d]  .cnp-grid{--dxbl-grid-focus-bg:transparent;--dxbl-grid-focus-color:inherit}
.cnp-list[b-axo346777d]  .cnp-grid .dxbl-grid-table > tbody > tr.dxbl-grid-focused-row:not(.dxbl-grid-group-row){background-color:transparent;color:inherit}
.cnp-list[b-axo346777d]  .cnp-grid .dxbl-grid-table > tbody > tr:not(.dxbl-grid-group-row) > td:focus-visible{outline:0}
.cnp-list[b-axo346777d]  .cnp-group{color:var(--iws-text-secondary);font-size:.72rem;font-weight:600}
.cnp-empty[b-axo346777d]{margin:0;padding:18px 10px;color:var(--iws-text-secondary);font-size:.75rem;text-align:center}
.cnp-handle[b-axo346777d]{display:inline-grid;place-items:center;color:var(--iws-text-faint);cursor:grab}
.cnp-handle[b-axo346777d]  svg{width:12px;height:12px}
.cnp-mv[b-axo346777d]{display:inline-grid;place-items:center;padding:2px 3px;border:1px solid var(--iws-border);border-radius:3px;background:var(--iws-surface);color:var(--iws-link);cursor:pointer}
.cnp-mv[b-axo346777d]  svg{width:9px;height:9px}

/* The pages, with the Template combo and the count above them. */
.cnp-right[b-axo346777d]{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--iws-border);border-radius:4px;overflow:hidden}
.cnp-rh[b-axo346777d]{display:flex;align-items:center;gap:8px;padding:8px;border-bottom:1px solid var(--iws-border)}
.cnp-rh-label[b-axo346777d]{font-size:.75rem;font-weight:600;color:var(--iws-text-secondary)}
.cnp-rh[b-axo346777d]  .cnp-template{min-width:220px;max-width:320px}
.cnp-rh-info[b-axo346777d]{margin-left:auto;font-size:.72rem;color:var(--iws-text-secondary)}
.cnp-pages[b-axo346777d]{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;background:var(--iws-muted-tone)}
.cnp-pages[b-axo346777d]  .iws-pdf-viewer{flex:1 1 auto}
.cnp-pages-note[b-axo346777d]{margin:auto;color:var(--iws-surface);font-size:.8rem;text-align:center}
.cnp-pages > .message[b-axo346777d]{margin:12px}
.cnp-count[b-axo346777d]{flex:1;font-size:.75rem;color:var(--iws-text-secondary)}
/* /Components/Chart/ChartNotesTab.razor.rz.scp.css */
/* The floor is the chart's: an area holds its sections to a common least height. The ceiling is
   `--note-cap`, the chart's Large — a maximum and not a height. `hidden` rather than `auto`: the
   scrolling belongs to the list below, so the search and the pills stay in view. */
.chart-notes[b-h1ljxzl9m8]{display:flex;min-width:0;height:100%;min-height:var(--chart-area-floor,16rem);max-height:var(--note-cap,550px);padding:5px;overflow:hidden}
.note-main[b-h1ljxzl9m8]{flex:1 1 auto;display:flex;flex-direction:column;gap:.5rem;min-width:0;min-height:0}
/* The send form beside the list when the area has room (PC-40): the list keeps what remains, short. */
.chart-notes.is-composing[b-h1ljxzl9m8]{display:grid;grid-template-columns:minmax(300px,1fr) minmax(360px,480px);gap:10px;max-height:none}
.chart-notes.is-composing[b-h1ljxzl9m8]  .comm-new{min-height:0}

/* The pills on the left of the search row when the whole row fits, with the search box at its 150px;
   otherwise the pills, all together, on a row of their own under it (CH-14). The row wraps upwards, so
   the search row is the one that stays on top. The box is 150px wide for that decision and grows to
   350px in what is left; the search and New sit at the row's right end, as every section list puts its
   search. */
.note-top[b-h1ljxzl9m8]{flex:0 0 auto;display:flex;flex-wrap:wrap-reverse;align-items:center;gap:8px;min-width:0}
.note-tools[b-h1ljxzl9m8]{flex:1 0 auto;display:flex;align-items:center;gap:8px;min-width:0}
.note-tools[b-h1ljxzl9m8]  .note-search{flex:1 1 auto;width:150px;min-width:150px;max-width:350px;margin-left:auto}
.note-tools[b-h1ljxzl9m8]  .note-new{flex:none;white-space:nowrap}
.note-selinfo[b-h1ljxzl9m8]{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border:1px solid var(--iws-brand-soft);border-radius:14px;background:var(--iws-surface);color:var(--iws-link);font-size:.75rem;white-space:nowrap}
.note-selinfo button[b-h1ljxzl9m8]{padding:0;border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}

/* The pills (app.css `iws-pill`): All, then the types with their counts following the search; an
   empty type stays drawn, so the row keeps its places. */
.note-filters[b-h1ljxzl9m8]{flex:0 1 auto;min-width:0;display:flex;flex-wrap:wrap;gap:6px}

/* Short: one scrolling list. `min-height:0` lets this box be shorter than what is in it. */
.note-scroll[b-h1ljxzl9m8]{flex:1 1 auto;min-height:0;overflow:auto;padding:2px 0 6px}
.note-rows[b-h1ljxzl9m8]{display:block}

/* An encounter's procedure notes, folded under what that encounter is called, as the encounter rail
   folds its blocks; on Web the head has its own box for all that encounter's notes. */
.note-fold-head[b-h1ljxzl9m8]{display:flex;align-items:center;gap:8px;padding:6px 4px;border-bottom:1px solid var(--iws-border-subtle)}
.note-fold-toggle[b-h1ljxzl9m8]{flex:1 1 auto;display:flex;align-items:center;gap:8px;min-width:0;padding:0;border:0;background:transparent;color:var(--iws-heading);font:inherit;font-size:.78rem;text-align:left;cursor:pointer}
.note-fold-toggle strong[b-h1ljxzl9m8]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.note-fold-when[b-h1ljxzl9m8]{flex:0 0 auto;color:var(--iws-text-secondary);font-size:.69rem;font-weight:600}
.note-fold-count[b-h1ljxzl9m8]{flex:0 0 auto;margin-left:auto;color:var(--iws-link);font-size:.72rem;font-weight:600;white-space:nowrap}
.note-chevron[b-h1ljxzl9m8]{flex:0 0 auto;display:inline-grid;place-items:center;width:.8rem;height:.8rem;color:var(--iws-text-secondary)}
.note-chevron[b-h1ljxzl9m8]  svg{width:.7rem;height:.7rem;transition:transform .12s ease}
.note-chevron.collapsed[b-h1ljxzl9m8]  svg{transform:rotate(-90deg)}
.note-fold .note-rows[b-h1ljxzl9m8]{padding-left:18px}

/* Wide: the grid, with When, Type, Note and By (the v3 mockup's step 6). */
.note-main[b-h1ljxzl9m8]  .note-grid{flex:1 1 auto;min-height:0;border:1px solid var(--iws-border);border-radius:4px;--dxbl-grid-border-width:0;--dxbl-grid-font-size:.78rem}
.note-main[b-h1ljxzl9m8]  .note-grid .dxbl-grid-header-row{background:var(--iws-surface-subtle);color:var(--iws-text-secondary);font-size:.72rem;font-weight:600}
.note-main[b-h1ljxzl9m8]  .note-grid .dxbl-grid-selected-row > td{background:var(--iws-grid-rowselected)}
.note-main[b-h1ljxzl9m8]  .note-grid td{vertical-align:top}
.note-main[b-h1ljxzl9m8]  .wg-when{color:var(--iws-text-secondary);font-size:.75rem;line-height:1.35}
.note-main[b-h1ljxzl9m8]  .wg-chip{display:inline-block;padding:1px 8px;border-radius:10px;background:var(--iws-surface-sunken);color:var(--iws-text-secondary);font-size:.69rem;font-weight:600}
.note-main[b-h1ljxzl9m8]  .wg-chip.t-Procedure{background:var(--iws-info-bg);color:var(--iws-info-text)}
.note-main[b-h1ljxzl9m8]  .wg-chip.t-Patient{background:var(--iws-success-bg);color:var(--iws-success-text)}
.note-main[b-h1ljxzl9m8]  .wg-chip.t-Tech{background:color-mix(in srgb,var(--iws-settings-security) 12%,var(--iws-surface));color:var(--iws-settings-security)}
.note-main[b-h1ljxzl9m8]  .wg-chip.t-Insurance{background:var(--iws-warning-bg);color:var(--iws-warning-text)}
.note-main[b-h1ljxzl9m8]  .wg-note{min-width:0}
.note-main[b-h1ljxzl9m8]  .wg-line{display:flex;align-items:baseline;gap:8px;min-width:0}
.note-main[b-h1ljxzl9m8]  .wg-note .note-value{flex:1 1 auto;min-width:0;color:var(--iws-text);line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.note-main[b-h1ljxzl9m8]  .wg-note .note-value.clamped{max-height:1.4em;overflow:hidden}
.note-main[b-h1ljxzl9m8]  .wg-note small{display:block;margin-top:2px;color:var(--iws-text-secondary);font-size:.69rem}
.note-main[b-h1ljxzl9m8]  .wg-note .note-more{display:none;flex:none;padding:0;border:0;background:transparent;color:var(--iws-heading);font:inherit;font-size:.69rem;font-weight:700;cursor:pointer}
.note-main[b-h1ljxzl9m8]  .wg-note.is-cut .note-more,.note-main[b-h1ljxzl9m8]  .wg-note .note-more.is-open{display:inline}
.note-main[b-h1ljxzl9m8]  .wg-edit{flex:none;display:inline-grid;place-items:center;padding:0;border:0;background:transparent;color:var(--iws-brand);cursor:pointer;opacity:0}
.note-main[b-h1ljxzl9m8]  .wg-edit svg{width:.7rem;height:.7rem}
.note-main[b-h1ljxzl9m8]  tr:hover .wg-edit,.note-main[b-h1ljxzl9m8]  .wg-edit:focus-visible{opacity:1}

.note-empty[b-h1ljxzl9m8]{display:grid;place-content:center;min-height:8rem;padding:1rem;text-align:center;color:var(--iws-text-secondary)}
.note-empty span[b-h1ljxzl9m8]{font-size:.75rem}
/* The list's own faults. The composer's are its own component's, and dressed there. */
.note-error[b-h1ljxzl9m8]{margin:.55rem 0 0;color:var(--iws-danger-text);font-size:.78rem}
/* /Components/Chart/ChartPatientAlertsArea.razor.rz.scp.css */
/* Medical history's zone and card (see `ChartMedicalHistoryArea.razor.css`); scoped sheets cannot share
   a class, so the frame is spelled again here and the grid inside is the chart's own `chart-grid`. */
.chart-history[b-6dcsbx22pn] {
    flex: 1 1 auto;
    box-sizing: border-box;
    display: flex;
    min-width: 0;
    min-height: 0;
    padding: 5px;
    background: var(--iws-zone);
}

.history-card[b-6dcsbx22pn] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border: 1px solid var(--iws-border);
    border-radius: 6px;
    background: var(--iws-surface);
    overflow: hidden;
}

.history-card[b-6dcsbx22pn]  .iws-patient-alerts {
    flex: 1 1 auto;
}

.history-card[b-6dcsbx22pn]  .iws-patient-alerts__head,
.history-card[b-6dcsbx22pn]  .iws-patient-alerts__error {
    padding: .3rem .5rem 0;
}

.history-card[b-6dcsbx22pn]  .page-loader {
    flex: 1 1 auto;
    min-height: 0;
}

.history-card[b-6dcsbx22pn]  .iws-patient-alerts__grid {
    flex: 1 1 auto;
    min-height: 0;
    border: 0;
}
/* /Components/Chart/ChartPatientBand.razor.rz.scp.css */
/* The band is not a new surface — it is the quick-search patient rail laid out wide, so every value
   here is lifted from something the app already paints rather than chosen afresh. */

.chart-band[b-m357x66x0x]{
    position:relative;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    grid-template-areas:"photo who top";
    /* No column gap: the photo's own margin is the space beside it, and the right lane keeps its 14px
       as a margin of its own. */
    gap:6px 0;
    /* A pixel on three sides (Marius, 2026-09-19). The band already sits inside the dialog's own
       inset, so its padding was a second margin drawn inside the first — and the three columns it
       cost are three the facts could have used. The bottom stays: that is the handle's room, not the
       content's, and the chevron hangs into it. */
    padding:1px 1px 15px;
    align-items:start;
    background:var(--iws-surface);
    border-bottom:1px solid var(--iws-border);
}

/* Short, the handle has left the band and sits under the rule, so the lane it was given goes back to
   the areas — which is the height this state exists to save. */
.chart-band.short[b-m357x66x0x]{padding-bottom:6px}

/* ---- the photograph, or the initials when there is none ---- */
/* At most 96 by 96, uncropped, with 5px and no more between it and the band's edges and the name
   (Paul, 2026-11-10: "mai mare ... vreo 5px de margine"; Marius: "margins should be 5px only"). The
   box is as wide as the photo, so a portrait one leaves no empty strip at its sides. The band's 1px
   padding is part of the 5 at the top and left, and its 6px short-state padding at the bottom. */
.chart-band-photo[b-m357x66x0x]{
    grid-area:photo;
    height:96px;max-width:96px;
    margin:4px 5px 5px 4px;
    border-radius:6px;
    overflow:hidden;
}
.chart-band.short .chart-band-photo[b-m357x66x0x]{margin-bottom:-1px}
.chart-band-photo img[b-m357x66x0x]{height:96px;width:auto;max-width:96px;object-fit:contain;display:block}
.chart-band-photo.is-initials[b-m357x66x0x]{
    width:96px;
    display:flex;align-items:center;justify-content:center;
    background:var(--iws-accent);
    color:var(--iws-text-on-accent);font-size:30px;font-weight:700;
}

/* ---- the two lanes: the name's width on the left, everything else on the right ---- */
.chart-band-who[b-m357x66x0x]{
    grid-area:who;
    min-width:0;
    display:grid;
    grid-template-columns:max-content minmax(0,1fr);
    row-gap:8px;
    align-items:start;
}
/* The body face, not the heading one. It is an `h1` for the outline — the band names what the whole
   dialog is about — and `app.css` gives every h1 the Myriad stack, which on a machine without Myriad
   lands on Source Sans 3 and draws the name a fifth lighter than the facts under it, in a family
   nothing else in the band uses. A patient name is the band's own first line rather than a page
   heading, so it reads in the band's face. */
.chart-band-name[b-m357x66x0x]{
    grid-column:1;
    align-self:center;
    margin:0;padding-right:16px;
    font-family:inherit;
    font-size:16px;line-height:19px;font-weight:700;
    color:var(--iws-heading);
    white-space:nowrap;
}

/* The first chip's edge stands over the caption of the column beneath it, which is what makes the
   right lane read as one block instead of two that happen to be near each other. */
.chart-band-chips[b-m357x66x0x]{
    grid-column:2;
    align-self:center;
    padding-left:16px;
    display:flex;align-items:center;gap:5px;flex-wrap:wrap;
}

/* Rounded and outlined rather than the grids' square filled tag: an alert is read across the whole
   band at a glance, so it wears a shape nothing in a grid uses. */
/* 17px stated, not left to the line box (Marius, 2026-09-18: "cut 4px top and 4px bottom"). A chip
   with only horizontal padding still stood 25px tall, because the theme's body line-height is 20px and
   a 10px word was being given a 20px line to sit in — so the band's first row was sized by the chips
   rather than by the name beside them. Height and `align-items` instead of padding: the number is then
   the number, whatever the theme does to line boxes next. */
.chart-band-chip[b-m357x66x0x]{
    display:inline-flex;align-items:center;
    box-sizing:border-box;
    height:17px;padding:0 8px;
    font-size:10px;font-weight:600;
    border-radius:10px;
    white-space:nowrap;
    border:1px solid var(--iws-selected-strong);background:var(--iws-tint);color:var(--iws-brand);
}
.chart-band-chip.is-caution[b-m357x66x0x]{border-color:var(--iws-warning-border);background:var(--iws-warning-bg);color:var(--iws-warning-text)}
.chart-band-chip.is-allergy[b-m357x66x0x]{border-color:var(--iws-danger-border);background:var(--iws-danger-bg);color:var(--iws-danger-text)}

/* ---- the columns ---- */
.chart-band-col[b-m357x66x0x]{
    padding:0 16px;
    border-left:1px solid var(--iws-border);
    min-width:0;
    /* Pass one caps a column at 250 so one long address cannot decide where every column after it
       begins; pass two hands the leftover back, up to a ceiling, so an ellipsis only appears when the
       band is genuinely full. The band measures its room and sets the variable. */
    max-width:var(--chart-band-col,250px);
    display:grid;gap:8px;align-content:start;
}
.chart-band-col.is-identity[b-m357x66x0x]{grid-column:1;border-left:0;padding-left:0}
.chart-band-cols[b-m357x66x0x]{
    grid-column:2;
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(0,max-content);
    justify-content:start;
    min-width:0;
}

.chart-band-fact[b-m357x66x0x]{display:grid;min-width:0}
.chart-band-caption[b-m357x66x0x]{
    font-size:11px;line-height:13px;letter-spacing:.05em;
    text-transform:uppercase;
    color:var(--iws-caption);
}
.chart-band-value[b-m357x66x0x]{
    font-size:12px;line-height:15px;
    /* The floor is what keeps an empty cell in a fixed column, so the roster below it does not shift
       up and read as a different list. */
    min-height:15px;
    color:var(--iws-text);
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.chart-band-value.is-link[b-m357x66x0x]{color:var(--iws-heading)}
.chart-band-value.is-caution[b-m357x66x0x]{color:var(--iws-warning-text)}

/* Collapsed is the first two facts of every column, which is what makes the order of a column a
   decision rather than a list. Nothing moves when it opens — three more land underneath. */
.chart-band.short .chart-band-col .chart-band-fact:nth-child(n+3)[b-m357x66x0x]{display:none}

/* ---- the right edge: two links about the patient, and one about the chart ---- */
.chart-band-top[b-m357x66x0x]{
    grid-area:top;
    margin-left:14px;
    align-self:stretch;
    display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:6px;
}
.chart-band-links[b-m357x66x0x]{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.chart-band-reset[b-m357x66x0x]{position:relative}
.chart-band-link[b-m357x66x0x]{
    display:inline-flex;align-items:center;gap:5px;
    height:22px;padding:0 6px;
    border:1px solid transparent;border-radius:999px;background:transparent;
    color:var(--iws-link);
    /* `font-family` has to be said (Marius, 2026-09-19). A `button` does not inherit type: the UA
       stylesheet hands it `Arial` outright, so these three read in a face nothing else in the band
       uses while everything around them is Roboto. 11px, a step under the grid, which is the same
       step the area heads' pills take: these are chrome about the chart rather than its contents. */
    font-family:inherit;
    font-size:11px;font-weight:500;white-space:nowrap;
    cursor:pointer;
}
.chart-band-link:hover[b-m357x66x0x]{background:var(--iws-tint)}
.chart-band-link.is-on[b-m357x66x0x]{background:var(--iws-tint)}
/* The open-in-a-window mark leads, so the icon and the word read in the order the gesture happens. */
.chart-band-link.is-open[b-m357x66x0x]{flex-direction:row-reverse}
/* `::deep`, not `:global` — the marks are MarkupString SVGs inside SharedIcon and carry no scope of
   ours, and SharedIcon's own default is 1.35rem, which beside an 11.5px word reads as a button rather
   than as a mark on one. */
.chart-band-link[b-m357x66x0x]  svg{width:12px;height:12px;display:block}

.chart-band-menu[b-m357x66x0x]{
    position:absolute;z-index:12;top:24px;right:0;width:300px;
    margin:0;padding:4px;list-style:none;
    background:var(--iws-surface);border:1px solid var(--iws-border);border-radius:6px;
    box-shadow:0 6px 16px var(--iws-shadow);
}
.chart-band-menu button[b-m357x66x0x]{
    display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;
    width:100%;
    padding:8px;border:0;background:transparent;border-radius:4px;
    text-align:left;color:var(--iws-text);
    /* Same reason as the links above: a button starts from the UA's Arial, and the two lines inside
       each of these set only a size. */
    font-family:inherit;
    cursor:pointer;
}
.chart-band-menu button:hover[b-m357x66x0x]{background:var(--iws-tint)}

/* The name, then what it does to the areas already placed. A shape has to be described as well as
   named: "Compact view" says what it looks like and not what it costs. */
.chart-band-choice[b-m357x66x0x]{display:block;min-width:0}
.chart-band-choice strong[b-m357x66x0x]{
    display:block;
    font-size:12px;font-weight:700;color:var(--iws-heading);
}
.chart-band-choice span[b-m357x66x0x]{
    display:block;margin-top:1px;
    font-size:10.5px;line-height:1.35;color:var(--iws-text-secondary);
}

/* The arrangement, drawn rather than described: six half-width bars for two areas to a row, three
   whole ones for a single column. Built out of bars instead of an icon because the glyph has to say
   which of two layouts this is, and there is no mark in the set that means "two per row". */
.chart-band-shape[b-m357x66x0x]{
    display:grid;gap:2px;
    width:22px;
    margin-top:2px;
}
.chart-band-shape.is-paired[b-m357x66x0x]{grid-template-columns:1fr 1fr}
.chart-band-shape i[b-m357x66x0x]{
    display:block;height:4px;border-radius:1px;
    background:var(--iws-selected-strong);
}
.chart-band-menu button:hover .chart-band-shape i[b-m357x66x0x]{background:var(--iws-focus)}

/* ---- the handle, which crosses the rule to say which way it pulls ----

   It does not straddle the line; it sits on one side of it, and which side is the whole message.
   Expanded, it is *above* the rule — inside the band it is about to take away. Short, it is *below*
   the rule — in the space it is about to fill. So the handle is always standing in the room that is
   about to change, and it moves as you press it, which is the confirmation the gesture worked.

   The chevron says the same thing a second time, pointing down while short and up while expanded.
   Two signals for one meaning is right here: the handle is 26 x 11 and carries its words in a
   tooltip, so a reader who misses the arrow at that size still has the position.

   No pill around it either (Marius, 2026-09-18): the chevron alone is the handle, on nothing. A
   bordered capsule drew a third shape into a corner that already has the band's edge and the rule
   under it, and the arrow was the only part of it saying anything. */
/* `-1px` rather than `0`: the offset is measured from the padding box and the rule sits outside it, so
   zero left the chevron a pixel clear of the line it is supposed to be standing on. */
.chart-band-handle[b-m357x66x0x]{
    position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);
    z-index:2;
    display:inline-flex;align-items:center;justify-content:center;
    width:26px;height:11px;padding:0;
    border:0;background:transparent;
    color:var(--iws-text-secondary);
    cursor:pointer;
}

/* Just under the rule rather than hanging off it: two pixels closer than it sat, so the chevron reads
   as belonging to the line above rather than to the section below. */
.chart-band.short .chart-band-handle[b-m357x66x0x]{bottom:-9px}
.chart-band-handle[b-m357x66x0x]  svg{width:9px;height:9px;display:block}
/* /Components/Chart/ChartPatientDetailsDialog.razor.rz.scp.css */
/* The band's own paint, restated rather than reached for. Blazor scopes a stylesheet to its
   component, so `.chart-band-caption` in ChartPatientBand.razor.css cannot reach markup rendered
   here whatever it is called — and naming these classes after the band's would have made two
   selectors that look like one rule and are not. The values are lifted from that file and belong to
   it: change a caption's size there and it wants changing here.

   Four things differ on purpose, and they are the whole reason this window exists:
   the captions are a step larger, because nothing is repeated five times across one row here;
   values wrap instead of ellipsing; columns are read down rather than sized to a width budget;
   and nothing collapses to its first two lines. */

.pd-who[b-7iq0jwl22f]{
    display:flex;align-items:center;gap:12px;
    padding:0 0 12px;margin:0 0 14px;
    border-bottom:1px solid var(--iws-border);
}

.pd-photo[b-7iq0jwl22f]{
    flex:none;
    width:56px;height:56px;
    border-radius:6px;overflow:hidden;
    background:#0c1020;
}
.pd-photo img[b-7iq0jwl22f]{width:100%;height:100%;object-fit:cover;display:block}
.pd-photo.is-initials[b-7iq0jwl22f]{
    display:flex;align-items:center;justify-content:center;
    background:var(--iws-accent);
    color:var(--iws-text-on-accent);font-size:18px;font-weight:700;
}

.pd-name[b-7iq0jwl22f]{min-width:0;display:grid;gap:5px}
.pd-name h2[b-7iq0jwl22f]{
    margin:0;
    /* The body face, not the heading one — app.css puts the Myriad stack on every h2, and the shell
       spends Myriad on window titles alone. This is content. */
    font-family:var(--medq-font,Roboto,"Segoe UI",sans-serif);
    font-size:17px;line-height:20px;font-weight:700;
    color:var(--iws-heading);
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

.pd-chips[b-7iq0jwl22f]{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.pd-chip[b-7iq0jwl22f]{
    display:inline-flex;align-items:center;
    box-sizing:border-box;
    height:17px;padding:0 8px;
    font-size:10px;font-weight:600;
    border-radius:10px;white-space:nowrap;
    border:1px solid var(--iws-selected-strong);background:var(--iws-tint);color:var(--iws-brand);
}
.pd-chip.is-caution[b-7iq0jwl22f]{border-color:var(--iws-warning-border);background:var(--iws-warning-bg);color:var(--iws-warning-text)}
.pd-chip.is-allergy[b-7iq0jwl22f]{border-color:var(--iws-danger-border);background:var(--iws-danger-bg);color:var(--iws-danger-text)}

.pd-edit[b-7iq0jwl22f]{
    margin-left:auto;align-self:flex-start;
    display:inline-flex;align-items:center;gap:5px;
    height:22px;padding:0 6px;
    border:1px solid transparent;border-radius:999px;background:transparent;
    color:var(--iws-link);
    /* Said outright, as the band says it: a button does not inherit type, and the UA stylesheet
       hands it Arial. */
    font-family:inherit;font-size:11px;font-weight:500;white-space:nowrap;
    cursor:pointer;
}
.pd-edit:hover[b-7iq0jwl22f]{background:var(--iws-tint)}
.pd-edit[b-7iq0jwl22f]  svg{width:12px;height:12px;display:block}

/* Columns that reflow rather than drop. The window is wide enough for three at its own 900px and
   folds to fewer on a small screen — and folding costs nothing here, because a column that wraps to
   the next line is still read. That is exactly what the band cannot do, since its columns sit in one
   row beside a photograph and a name. */
.pd-cols[b-7iq0jwl22f]{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
    gap:14px 22px;
    align-items:start;
}
.pd-col[b-7iq0jwl22f]{display:grid;gap:9px;align-content:start;min-width:0}

.pd-fact[b-7iq0jwl22f]{display:grid;gap:1px;min-width:0}
.pd-caption[b-7iq0jwl22f]{
    /* A step larger than the band's 8.5, which was small because it was repeated five times across
       one row. Here each caption is read once, down a column. */
    font-size:9.5px;line-height:11px;letter-spacing:.05em;
    text-transform:uppercase;
    color:var(--iws-text-faint);
}
.pd-value[b-7iq0jwl22f]{
    font-size:12px;line-height:16px;
    /* The floor keeps an empty cell in a fixed roster, so the lines under it do not move up and read
       as a different list — which matters more here than in the band, where a missing line is one of
       two rather than one of five. */
    min-height:16px;
    color:var(--iws-text);
    overflow-wrap:anywhere;
}
.pd-value.is-caution[b-7iq0jwl22f]{color:var(--iws-warning-text)}
/* /Components/Chart/ChartPatientHeader.razor.rz.scp.css */
.chart-patient-header[b-l3zhsyh3ze]{display:flex;align-items:flex-start;gap:.75rem;padding:.7rem .85rem .55rem;border-bottom:1px solid var(--iws-border);background:var(--iws-surface);min-width:0}
/* Same mechanism as the Patients detail panel: the photo is bounded by max-width/max-height and
   the tile shrink-wraps it, so the whole image shows at its own shape — no crop, no empty band.
   The initials fallback has no image to size the tile, so it gets an explicit square. */
.chart-patient-avatar[b-l3zhsyh3ze]{display:flex;align-items:center;justify-content:center;flex:0 0 auto;max-width:8.8rem;max-height:5.2rem;border-radius:.35rem;background:var(--iws-accent);color:var(--iws-text-on-accent);font-weight:700;overflow:hidden}
.chart-patient-avatar img[b-l3zhsyh3ze]{display:block;width:auto;height:auto;max-width:8.8rem;max-height:5.2rem}
.chart-patient-avatar.is-initials[b-l3zhsyh3ze]{width:2.6rem;height:2.6rem;max-width:2.6rem;max-height:2.6rem;font-size:.8rem}
.chart-patient-initials[b-l3zhsyh3ze]{display:block;line-height:1}
.chart-patient-identity[b-l3zhsyh3ze]{min-width:0;flex:1}.chart-patient-identity h1[b-l3zhsyh3ze]{margin:0;color:var(--iws-heading);font-size:1.2rem;line-height:1.25}.chart-patient-identity h1 span[b-l3zhsyh3ze]{font-weight:500}
.chart-patient-facts[b-l3zhsyh3ze]{display:flex;gap:.8rem;margin-top:.35rem;overflow:hidden;white-space:nowrap}
.chart-patient-fact[b-l3zhsyh3ze]{min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--iws-text-secondary);font-size:.75rem}
.chart-patient-fact strong[b-l3zhsyh3ze]{display:block;color:var(--iws-heading);font-size:.63rem;text-transform:uppercase;letter-spacing:.03em}
.chart-patient-fact.is-positive[b-l3zhsyh3ze]{color:var(--iws-success-text)}.chart-patient-fact.is-alert[b-l3zhsyh3ze]{color:var(--iws-danger-text);font-weight:700}
/* /Components/Chart/ChartPatientMedicationsArea.razor.rz.scp.css */
/* Medical history's zone and card (see `ChartMedicalHistoryArea.razor.css`); scoped sheets cannot share
   a class, so the frame is spelled again here and the grid inside is the chart's own `chart-grid`. */
.chart-history[b-rhug977d39] {
    flex: 1 1 auto;
    box-sizing: border-box;
    display: flex;
    min-width: 0;
    min-height: 0;
    padding: 5px;
    background: var(--iws-zone);
}

.history-card[b-rhug977d39] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border: 1px solid var(--iws-border);
    border-radius: 6px;
    background: var(--iws-surface);
    overflow: hidden;
}

.history-card[b-rhug977d39]  .iws-patient-medications {
    flex: 1 1 auto;
}

.history-card[b-rhug977d39]  .iws-patient-medications__error {
    padding: .3rem .5rem 0;
}

.history-card[b-rhug977d39]  .page-loader {
    flex: 1 1 auto;
    min-height: 0;
}

.history-card[b-rhug977d39]  .iws-patient-medications__grid {
    flex: 1 1 auto;
    min-height: 0;
    border: 0;
}
/* /Components/Chart/ChartRailBlock.razor.rz.scp.css */
/* One block among peers in the rail — Details, Documentation, Charge lines, Tasks, Audit — so this
   carries no shape of its own beyond the head, and shut it costs one line while still saying how
   much is in it. */
/* Five pixels, everywhere in the block (Marius, 2026-09-19: "make the padding and margin 5 in
   elements"). One number rather than the four it was — 7 above, 9 below open, 7 below shut, 8 between
   a caption and whatever its body puts under it — because none of those differences was visible and
   all of them were maintained. The rule between two blocks is the separation; the padding only has to
   keep the captions off it.

   What goes with it is the extra pixel an open block used to get underneath, on the argument that a
   body wants air before the next rule and a lone caption does not. True, and worth less than one
   spacing to remember: five shut blocks is the rail's ordinary state, and the one that was different
   was the state you see least. */
/* `break-inside` is inert where the rail places these — that is a grid now, and a grid item is not
   fragmented — and is kept for anywhere else a stack of these lands in a paged or columnar context. A
   block is one object, a caption with its count and the list under it, and a break through the middle
   of one puts a heading at the foot of one column and its rows at the head of the next. */
.rail-block[b-y2lieym56a]{flex:0 0 auto;break-inside:avoid;padding:5px 0;border-top:1px solid var(--iws-border-subtle)}
.rail-block-head[b-y2lieym56a]{display:flex;align-items:center;gap:.4rem;min-height:20px}
.rail-block-toggle[b-y2lieym56a]{display:flex;align-items:center;gap:.45rem;flex:1;min-width:0;padding:0;border:0;background:transparent;color:var(--iws-heading);font:inherit;font-size:.75rem;text-align:left;cursor:pointer}
.rail-chevron[b-y2lieym56a]{display:inline-grid;place-items:center;width:.8rem;height:.8rem;color:var(--iws-text-secondary)}
.rail-chevron[b-y2lieym56a]  svg{width:.7rem;height:.7rem;transition:transform .12s ease}
.rail-chevron.collapsed[b-y2lieym56a]  svg{transform:rotate(-90deg)}
/* Hard right, which is the sheet's `margin-left:auto` — the five counts line up in a column the eye
   runs down, and that column is the whole reason a shut rail is worth reading. Inside the toggle, so
   the right edge it reaches is the caption's rather than the head's, and a block with a pill puts
   the count before it instead of fighting it for the corner. */
.rail-block-count[b-y2lieym56a]{margin-left:auto;color:var(--iws-text-secondary);font-size:.7rem;white-space:nowrap}

/* Between encounters. The caption stays crisp — the rail is still five named blocks, and dimming the
   names would say the whole section is unavailable rather than that its contents are on the way — and
   what fades is a pair of bars standing in for rows nobody has yet.

   Fade and a hair of blur together (Marius, 2026-09-19: "a fade/blurr effect after clear until
   reload"). The blur is what stops the bars being read as content: two crisp grey rectangles look
   like a table with its text missing, and the same two a pixel out of focus read as something still
   resolving. One line to delete if the fade alone turns out to be enough.

   `prefers-reduced-motion` takes the pulse and keeps the fade: the pulse is the part that says
   "working", and a reader who has asked for stillness still needs to be told the rows are not final. */
/* Indented to the caption's own left edge — past the chevron, not past the block (Marius, 2026-09-19:
   "push to right the inner content / align with left title text"). Flush left, a row of the list
   started under the chevron, so the list and the control that hides it shared a margin and the block
   read as two stacked things rather than as a heading with its contents.
   The number is the chevron's width plus the toggle's gap, written as that sum rather than as 20px,
   because those two are what it has to equal and either could move. */
.rail-block-body[b-y2lieym56a]{padding-left:calc(.8rem + .45rem)}
.rail-block-body.is-waiting[b-y2lieym56a]{display:flex;flex-direction:column;gap:.4rem;margin-top:5px;opacity:.5;filter:blur(1px)}
.rail-block-body.is-waiting span[b-y2lieym56a]{height:.55rem;border-radius:.25rem;background:var(--iws-zone);animation:rail-block-wait-b-y2lieym56a 1.1s ease-in-out infinite}
.rail-block-body.is-waiting span:last-child[b-y2lieym56a]{width:62%}
@keyframes rail-block-wait-b-y2lieym56a{50%{background:var(--iws-surface-sunken)}}
@media(prefers-reduced-motion:reduce){.rail-block-body.is-waiting span[b-y2lieym56a]{animation:none}}

/* Slotted in by whichever block this is, so reached through ::deep: the pill on the head, and the two
   one-line answers a body gives when it has nothing to list. They live here rather than in each block
   because five blocks wording "nothing yet" five ways is five blocks. */
/* On the head beside the count, so the list grows downwards and the button never moves.

   Dashed at rest, solid under the pointer (Marius, 2026-09-19, and the sheets both draw it this way).
   The dash is doing one job: this is the only button in the chart that *adds a row to the list you are
   reading*, and the broken edge reads as an outline waiting to be filled rather than as a thing that
   is already there. Every other pill in the chart — Register on an area head, Rename and Close on an
   episode — is a hairline that acts on a record that already exists, and they stay solid.

   At the size Marius settled this morning rather than the sheet's 9px: the dash is the signal and the
   size is not, so there was no reason to make the rail's one write action the smallest text near it. */
.rail-block[b-y2lieym56a]  .rail-block-pill{display:inline-flex;align-items:center;gap:.3rem;height:20px;padding:0 .5rem;border:1px dashed color-mix(in srgb,var(--iws-brand-soft) 60%,var(--iws-surface));border-radius:999px;background:var(--iws-surface);color:var(--iws-brand);font:inherit;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}
.rail-block[b-y2lieym56a]  .rail-block-pill:hover,.rail-block[b-y2lieym56a]  .rail-block-pill:focus-visible{border-style:solid;border-color:var(--iws-link);background:var(--iws-tint);color:var(--iws-link)}
/* Go to Tasks beside the Tasks pill: the pill's height and hairline, solid because it adds nothing. */
.rail-block[b-y2lieym56a]  .rail-block-go{display:inline-grid;place-items:center;width:20px;height:20px;padding:0;border:1px solid color-mix(in srgb,var(--iws-brand-soft) 60%,var(--iws-surface));border-radius:999px;background:var(--iws-surface);color:var(--iws-brand);cursor:pointer}
.rail-block[b-y2lieym56a]  .rail-block-go svg{width:.7rem;height:.7rem}
.rail-block[b-y2lieym56a]  .rail-block-go:hover,.rail-block[b-y2lieym56a]  .rail-block-go:focus-visible{border-color:var(--iws-link);background:var(--iws-tint);color:var(--iws-link)}
.rail-block[b-y2lieym56a]  .rail-block-empty,.rail-block[b-y2lieym56a]  .rail-block-error{margin:5px 0 0;font-size:.72rem}
.rail-block[b-y2lieym56a]  .rail-block-empty{color:var(--iws-text-secondary)}
.rail-block[b-y2lieym56a]  .rail-block-error{color:var(--iws-danger-text)}

/* The three shapes a block's body takes, kept here rather than four times over: a thread, a list of
   one-liners with a chip at the end, and a small table. Details brings its own two-column list, which
   is the one body specific enough to belong to its own component. */

/* A thread — what was written, then who wrote it and when. Newest first, since that is the end being
   worked on, so the stamps read downwards into the past. */
.rail-block[b-y2lieym56a]  .rail-thread{margin:5px 0 0;padding:0;list-style:none;font-size:.72rem}
/* Positioned for the hover pill below, which anchors to the entry rather than to the list. */
.rail-block[b-y2lieym56a]  .rail-thread li{position:relative;padding:.4rem 0;border-top:1px solid var(--iws-border-subtle)}
.rail-block[b-y2lieym56a]  .rail-thread li:first-child{border-top:0}

/* What may be done to one entry, on the Notes area's model: a pill that appears under the pointer and
   lies over the first line rather than taking a column of its own. A rail is 300px at its widest and
   a permanent gutter would cost every entry three or four words of its opening line — and the thread
   is read many times for each time it is corrected. The shadow is what lifts it off the words it
   overlaps; `focus-within` is what keeps it reachable from the keyboard, where there is no pointer to
   bring it out. */
.rail-block[b-y2lieym56a]  .rail-row-actions{position:absolute;top:.3rem;right:0;z-index:2;display:inline-flex;align-items:center;height:1.05rem;padding:0 1px;border:1px solid var(--iws-selected-strong);border-radius:999px;background:var(--iws-surface);box-shadow:0 1px 4px var(--iws-shadow);opacity:0;transition:opacity .1s ease}
.rail-block[b-y2lieym56a]  .rail-thread li:hover .rail-row-actions,
.rail-block[b-y2lieym56a]  .rail-thread li:focus-within .rail-row-actions{opacity:1}
.rail-block[b-y2lieym56a]  .rail-thread-text{display:block;color:var(--iws-heading);overflow-wrap:anywhere;white-space:pre-wrap}
.rail-block[b-y2lieym56a]  .rail-stamp{display:block;margin-top:.15rem;color:var(--iws-text-faint);font-size:.65rem}

/* The status pill, now the whole of a table cell rather than the tail of a flex row — Tasks was the
   last list shaped that way and is a `.rail-mini` like the rest. */
.rail-block[b-y2lieym56a]  .rail-chip{display:inline-block;padding:.05rem .4rem;border-radius:.6rem;background:var(--iws-surface-sunken);color:var(--iws-text-secondary);font-size:.62rem;font-weight:700;white-space:nowrap}
.rail-block[b-y2lieym56a]  .rail-chip.late{background:var(--iws-danger-bg);color:var(--iws-danger-text)}

/* A table, because three short values in a fixed order read as columns and not as a sentence.
   Auto layout, so the code and the status are as wide as what they hold and the description takes
   whatever is left (Marius, 2026-09-19: "grid should push next column / auto size"). It was `fixed`
   with a 3.6rem code column, which is a promise about the width of a CPT that CPTs do not keep —
   `CPT 12…` beside an inch of empty description. Fixed layout also reads only the first row, so the
   column was sized by the header word rather than by any code in the list.

   The table is as wide as what is in it, not as wide as the column (Marius, 2026-09-19: "fit the
   text and start next"). `width:100%` made the middle column a spring: a two-word description held
   `Draft` out at the far edge with an inch of nothing in between, on every row, so the eye crossed a
   gap to reach a word that had been pushed there by the layout rather than placed there. Capped at
   100% so a long one still cannot widen the rail. */
.rail-block[b-y2lieym56a]  .rail-mini{max-width:100%;margin-top:5px;border-collapse:collapse;font-size:.7rem}
/* Column headings in the patient band's caption (Marius, 2026-09-19: "use the same font and color for
   marked labels" — `.chart-band-caption`). A column heading and a fact's caption do the same job, and
   the chart was setting them in two sizes, two weights and two greys within an inch of each other. */
.rail-block[b-y2lieym56a]  .rail-mini th{padding:.15rem 5px .25rem;border-bottom:1px solid var(--iws-border-subtle);color:var(--iws-caption);font-size:11px;line-height:13px;font-weight:400;letter-spacing:.05em;text-align:left;text-transform:uppercase}
/* 5px either side of every cell (Marius, 2026-09-19: "add column padding 5 left 5 right"), which is
   ten between one column's text and the next — and that gap is the only thing separating them now
   that the columns hug their content instead of being spread across the table. */
.rail-block[b-y2lieym56a]  .rail-mini td{padding:.25rem 5px;border-bottom:1px solid var(--iws-border-subtle);color:var(--iws-heading);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rail-block[b-y2lieym56a]  .rail-mini tbody tr:last-child td{border-bottom:0}
.rail-block[b-y2lieym56a]  .rail-mini.is-actionable tbody tr{cursor:pointer;user-select:none}
.rail-block[b-y2lieym56a]  .rail-mini.is-actionable tbody tr:hover td{background:var(--iws-surface-sunken)}
/* `width:1%` with `nowrap` is the shrink-to-content idiom: a percentage too small to satisfy, so the
   auto algorithm falls back to the column's max-content width and the surplus goes elsewhere.
   Every column reads from the left, including the last (Marius, 2026-09-19: "keep the columns left
   aligned"). The end columns were `text-align:right`, which is the convention for figures a reader
   compares down a column — and none of these are figures. A status word and a timestamp set flush
   right put their *ends* in a line and their beginnings in a ragged edge, which is the wrong half of
   each value to line up. */
.rail-block[b-y2lieym56a]  .rail-mini-code,
.rail-block[b-y2lieym56a]  .rail-code,
.rail-block[b-y2lieym56a]  .rail-mini-end{width:1%;white-space:nowrap}
/* A task's number, before its title: short, never wrapped, in the muted tone a reference reads in. */
.rail-block[b-y2lieym56a]  .rail-mini-num{width:1%;white-space:nowrap;color:var(--iws-muted-text);font-variant-numeric:tabular-nums}
/* The one column per table that may run long — the description, the task title, the action. It wraps
   where the others do not, and that is what makes a table sized to its content safe: with `nowrap`
   a cell's smallest possible width is the whole string, so one long description would push the table
   past the cap above and out through the side of the rail. Wrapped, its smallest width is one word,
   so a long value spends a second line rather than the rail's width.
   Named rather than picked by position, because it is the second column in Charges and the first in
   Tasks and Audit — which is the whole difference between a rule that survives a third table and one
   that silently starts sizing the wrong column.

   Qualified by element on purpose, and this is the whole of why the column used to overflow: a
   class on its own loses to `.rail-mini td`, which carries the same two classes plus an element and
   therefore outranks it. The rule was written, read correctly, and never applied — the cells kept
   `nowrap` and a description typed as one unbroken string pushed the table out through the side of
   the rail (Marius, 2026-09-20: "grid should not push horizontal area").

   `anywhere` rather than `break-word`: only `anywhere` lets the browser count a break when it works
   out the cell's minimum width, and a description with no spaces in it is exactly the case here —
   `break-word` would wrap it visually and still reserve the whole string's width for the column. */
.rail-block[b-y2lieym56a]  .rail-mini th.rail-mini-fill,
.rail-block[b-y2lieym56a]  .rail-mini td.rail-mini-fill{white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip}

/* A row's own caption, where the body is a list of named facts rather than a table of like rows — the
   task rail's Completion is the one, which states what closing the task needs and then, once it is
   closed, what closed it. The same grey and size as the column headings above, because it is the same
   job turned ninety degrees: a word that asks, beside the answer rather than over it.
   Shrink-to-content, so the answer keeps the width; top-aligned, because the answer may be a sentence
   and a caption centred against three lines of it reads as floating. */
.rail-block[b-y2lieym56a]  .rail-mini th.rail-mini-key{width:1%;border-bottom:1px solid var(--iws-border-subtle);line-height:1.3;white-space:nowrap;vertical-align:top}

/* Audit's right-hand cell: who, then when, on two lines (Marius, 2026-09-19: "keep the 2nd column 2
   lines User /Date"). Shrink-to-content like the other end columns, so the actions keep the width;
   the two lines are what make that affordable, since a name and a timestamp side by side are wider
   than most of the verbs they sit against.
   The rail's stamp grey and size, because that is what this is — provenance beside the event rather
   than part of it. `td` is baseline-aligned by default, so the name lands on the action's line and
   the date hangs below, which is the order somebody scanning the log reads them in. */
.rail-block[b-y2lieym56a]  .rail-mini-who{width:1%;white-space:nowrap;color:var(--iws-text-faint);font-size:.65rem;line-height:1.3}
.rail-block[b-y2lieym56a]  .rail-mini-who span{display:block;overflow:hidden;text-overflow:ellipsis}
/* Tabular figures: a column of codes is compared down its length, not read. */
.rail-block[b-y2lieym56a]  .rail-code{color:var(--iws-warning-text);font-weight:600;font-variant-numeric:tabular-nums}
/* /Components/Chart/ChartReasonField.razor.rz.scp.css */
.reason-field[b-4de6sbtgmz]{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.reason-field[b-4de6sbtgmz]  .reason-memo{width:100%}
.reason-caption[b-4de6sbtgmz]{color:var(--iws-text-secondary);font-size:.6rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.reason-text[b-4de6sbtgmz]{margin:0;color:var(--iws-text);font-size:.74rem;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere}
.reason-empty[b-4de6sbtgmz]{color:var(--iws-text-secondary);font-size:.72rem}
.reason-error[b-4de6sbtgmz]{margin-top:.25rem}

/* In the rail the caption is the facts strip's, so the reason reads as one more fact about the encounter. */
.reason-field.in-rail .reason-caption[b-4de6sbtgmz]{color:var(--iws-caption);font-size:11px;line-height:13px;font-weight:400;letter-spacing:.05em}
/* /Components/Chart/ChartRegisterEncounterDialog.razor.rz.scp.css */
.encounter-patient[b-ar3sbyw8kr]{display:flex;align-items:center;gap:.65rem;margin-bottom:.9rem;padding:.65rem .75rem;border:1px solid var(--iws-selected-strong);border-radius:.3rem;background:var(--iws-tint);color:var(--iws-heading)}
.encounter-avatar[b-ar3sbyw8kr]{display:grid;place-items:center;flex:0 0 2.35rem;width:2.35rem;height:2.35rem;border-radius:50%;background:var(--iws-accent);color:var(--iws-text-on-accent);font-size:.76rem;font-weight:700}
.encounter-patient>span:last-child[b-ar3sbyw8kr]{display:grid;gap:.1rem}.encounter-patient strong[b-ar3sbyw8kr]{font-size:.88rem}.encounter-patient small[b-ar3sbyw8kr]{color:var(--iws-text-secondary);font-size:.72rem}
.encounter-dialog-form[b-ar3sbyw8kr]{display:grid;grid-template-columns:1fr 1fr;gap:.7rem .85rem}
/* align-content:start keeps the rows packed at the top. Without it a label sharing a grid row with a
   taller one — Procedure carries a hint, Encounter type does not — splits the slack between its own
   rows and drops its control below its neighbour's. */
.encounter-dialog-form label[b-ar3sbyw8kr]{display:grid;align-content:start;gap:.3rem;color:var(--iws-heading);font-size:.76rem;font-weight:600}
.encounter-dialog-form .wide[b-ar3sbyw8kr]{grid-column:1/-1}
/* Pinned to the first column, so each one starts a fresh row and keeps its half width however many
   procedure pickers are showing beside it. */
.encounter-dialog-form .own-row[b-ar3sbyw8kr]{grid-column:1}
.encounter-dialog-form .procedure-cell[b-ar3sbyw8kr]{grid-column:2}
.encounter-dialog-form label>small[b-ar3sbyw8kr],.episode-choice small[b-ar3sbyw8kr]{color:var(--iws-text-secondary);font-size:.69rem;font-weight:400}
.episode-choice[b-ar3sbyw8kr]{display:flex;align-items:center;gap:.65rem;margin-top:-.2rem}
.encounter-error[b-ar3sbyw8kr]{margin:.75rem 0 0;color:var(--iws-danger-text);font-size:.75rem}
.encounter-prompt[b-ar3sbyw8kr]{margin:.75rem 0 0;font-size:.75rem}
.encounter-dialog-footer[b-ar3sbyw8kr]{display:flex;align-items:center;justify-content:space-between;width:100%}
.encounter-dialog-footer>small[b-ar3sbyw8kr]{color:var(--iws-text-secondary);font-size:.7rem}
/* .75rem rather than the .5rem it had, which is the gap .iws-frame-footer puts between a commit pair
   everywhere else — this row only sets its own because the legend on the left makes it space-between. */
.encounter-dialog-footer>div[b-ar3sbyw8kr]{display:flex;gap:.75rem}
@media(max-width:700px){.encounter-dialog-form[b-ar3sbyw8kr]{grid-template-columns:1fr}.encounter-dialog-form .wide[b-ar3sbyw8kr],.encounter-dialog-form .procedure-cell[b-ar3sbyw8kr]{grid-column:1}}
/* /Components/Chart/ChartSummaryTab.razor.rz.scp.css */
.summary-workspace[b-rvawi05cbj]{display:grid;grid-template-columns:minmax(40rem,1fr) 20rem;gap:.75rem}.summary-main[b-rvawi05cbj],.summary-rail[b-rvawi05cbj]{display:grid;gap:.65rem}.summary-main[b-rvawi05cbj]{grid-template-rows:auto minmax(0,1fr)}.open-episodes[b-rvawi05cbj]{align-content:start}.summary-card[b-rvawi05cbj],.summary-rail section[b-rvawi05cbj]{border:1px solid var(--iws-border);border-radius:.35rem;background:var(--iws-surface);padding:.75rem}.summary-card h2[b-rvawi05cbj],.summary-rail h3[b-rvawi05cbj]{margin:0 0 .55rem;color:var(--iws-heading);font-size:.95rem}
.work-row[b-rvawi05cbj],.episode-summary[b-rvawi05cbj]{display:flex;align-items:center;gap:.65rem;width:100%;padding:.65rem 0;border:0;border-bottom:1px solid var(--iws-border-subtle);background:var(--iws-surface);color:var(--iws-heading);text-align:left;cursor:pointer}.work-row:last-child[b-rvawi05cbj],.episode-summary:last-child[b-rvawi05cbj]{border-bottom:0}.work-row:hover[b-rvawi05cbj],.episode-summary:hover[b-rvawi05cbj]{background:var(--iws-surface-subtle)}.work-icon[b-rvawi05cbj],.episode-icon[b-rvawi05cbj]{display:grid;place-items:center;flex:0 0 2.15rem;height:2.15rem;border-radius:50%;background:color-mix(in srgb,var(--iws-attention) 12%,var(--iws-surface));color:var(--iws-attention)}.work-icon[b-rvawi05cbj]  svg,.episode-icon[b-rvawi05cbj]  svg{width:1rem;height:1rem}.work-row.warning .work-icon[b-rvawi05cbj]{background:var(--iws-warning-bg);color:var(--iws-warning-tone)}.work-copy[b-rvawi05cbj]{display:grid;gap:.12rem;min-width:0}.work-copy strong[b-rvawi05cbj]{font-size:.78rem}.work-copy small[b-rvawi05cbj],.work-meta[b-rvawi05cbj]{color:var(--iws-text-secondary);font-size:.72rem}.work-meta[b-rvawi05cbj]{margin-left:auto}.chevron[b-rvawi05cbj]{margin-left:auto;color:var(--iws-heading);font-size:1.35rem}
.episode-icon[b-rvawi05cbj]{align-self:start;background:var(--iws-success-bg);color:var(--iws-success-text)}.episode-body[b-rvawi05cbj]{display:grid;gap:.2rem;flex:1}.episode-body>strong[b-rvawi05cbj]{font-size:.82rem}.episode-tags[b-rvawi05cbj]{display:flex;gap:.35rem}.status-tag[b-rvawi05cbj],.green-tag[b-rvawi05cbj]{padding:.12rem .45rem;border:1px solid var(--iws-success-border);border-radius:1rem;background:var(--iws-success-bg);color:var(--iws-success-text);font-size:.68rem;font-weight:700}
.episode-block[b-rvawi05cbj]{padding:.15rem 0 .35rem}.episode-block+ .episode-block[b-rvawi05cbj]{margin-top:.45rem;padding-top:.55rem;border-top:1px solid var(--iws-border-subtle)}.episode-block header[b-rvawi05cbj]{display:flex;align-items:center;gap:.55rem;margin-bottom:.35rem}
/* The head is the whole hit area, as it is on Episodes & encounters — everything but the link out,
   which is its own button and cannot be nested inside this one. Closed, the margin under the head
   comes off: there is nothing under it to be held clear of. */
.episode-summary-toggle[b-rvawi05cbj]{display:flex;align-items:center;gap:.55rem;flex:1;min-width:0;padding:0;border:0;background:transparent;color:var(--iws-heading);font:inherit;text-align:left;cursor:pointer}
.episode-block:not(.expanded) header[b-rvawi05cbj]{margin-bottom:0}
.episode-tags[b-rvawi05cbj]{align-items:center}.episode-count[b-rvawi05cbj]{color:var(--iws-text-secondary);font-size:.7rem}
.episode-chevron[b-rvawi05cbj]{display:inline-grid;place-items:center;width:.8rem;height:.8rem;margin-left:auto;color:var(--iws-text-secondary)}
.episode-chevron[b-rvawi05cbj]  svg{width:.7rem;height:.7rem;transition:transform .12s ease}
.episode-chevron.collapsed[b-rvawi05cbj]  svg{transform:rotate(-90deg)}.open-full[b-rvawi05cbj]{margin-left:auto;border:0;background:transparent;color:var(--iws-brand);font:inherit;font-size:.72rem;font-weight:700;cursor:pointer}.episode-empty-copy[b-rvawi05cbj]{margin:0;color:var(--iws-text-secondary);font-size:.75rem}.encounter-scroll[b-rvawi05cbj]{max-height:175px;overflow-y:auto;border:1px solid var(--iws-border-subtle);border-radius:.25rem}.encounter-row[b-rvawi05cbj]{display:grid;grid-template-columns:6.5rem 6.5rem 5.5rem 1fr auto;gap:.45rem;width:100%;padding:.45rem .55rem;border:0;border-bottom:1px solid var(--iws-border-subtle);background:var(--iws-surface);color:var(--iws-heading);font:inherit;font-size:.72rem;text-align:left;cursor:pointer}.encounter-row:last-child[b-rvawi05cbj]{border-bottom:0}.encounter-row:hover[b-rvawi05cbj]{background:var(--iws-surface-subtle)}.encounter-row.selected[b-rvawi05cbj]{background:var(--iws-selected);box-shadow:inset 3px 0 0 var(--iws-focus)}.encounter-row .acc[b-rvawi05cbj]{color:var(--iws-text-secondary)}
.summary-empty[b-rvawi05cbj]{display:grid;place-items:center;min-height:10rem;color:var(--iws-text-secondary);font-size:.78rem;text-align:center}.summary-empty.compact[b-rvawi05cbj]{min-height:6rem}.summary-rail dl[b-rvawi05cbj]{display:grid;grid-template-columns:6.5rem 1fr;gap:.35rem;font-size:.72rem}.summary-rail dt[b-rvawi05cbj]{color:var(--iws-text-secondary)}.summary-rail dd[b-rvawi05cbj]{margin:0;color:var(--iws-heading)}/* The width, background, font and cursor are the four a button does not inherit and a link never
   needed. They are here because the action stopped being a link when registration stopped being a
   route, and it should not have looked any different for it. */
.rail-action[b-rvawi05cbj]{display:block;width:100%;margin-top:.65rem;padding:.4rem;border:1px solid var(--iws-brand);border-radius:.25rem;background:var(--iws-surface);color:var(--iws-brand);font:inherit;font-size:.72rem;font-weight:700;text-align:center;cursor:pointer}.quick-actions[b-rvawi05cbj]{display:grid;gap:.35rem}.quick-actions a[b-rvawi05cbj],.quick-actions button[b-rvawi05cbj]{padding:.42rem;border:1px solid var(--iws-brand);border-radius:.25rem;background:var(--iws-surface);color:var(--iws-brand);font:inherit;font-size:.72rem;font-weight:700;text-align:center}.quick-actions .primary[b-rvawi05cbj]{background:var(--iws-accent);color:var(--iws-text-on-accent)}.quick-actions button:disabled[b-rvawi05cbj]{border-color:var(--iws-border);background:var(--iws-surface-sunken);color:var(--iws-text-faint)}.alert-row[b-rvawi05cbj]{display:flex;align-items:center;gap:.45rem;color:var(--iws-heading);font-size:.75rem}.alert-count[b-rvawi05cbj]{display:grid;place-items:center;min-width:1.1rem;height:1.1rem;border-radius:1rem;background:var(--iws-danger-tone);color:var(--iws-text-on-accent);font-size:.62rem;font-weight:700}.rail-note[b-rvawi05cbj]{margin:.5rem 0 0;color:var(--iws-text-secondary);font-size:.7rem;font-style:italic;text-align:center}
@media(max-width:900px){.summary-workspace[b-rvawi05cbj]{grid-template-columns:1fr}.episode-facts[b-rvawi05cbj]{grid-template-columns:1fr}}
/* /Components/Chart/ChartTasksTab.razor.rz.scp.css */
/* The episodes area's arrangement, drawn around a task list (Marius, 2026-09-20: "make task rail in
   the same format with episode model — 2 internal panels, inner resizer, same min size, rounded
   corners, rail inner scroll"). Everything down to the foot's switch is a copy of what
   `ChartEpisodesTab.razor.css` says of the same parts, kept there as well rather than lifted into a
   shared sheet: the two are scoped stylesheets, and a class that belongs to neither component would
   have to be global and would then be a third convention for anything else in the chart to drift
   from. Where a number appears in both, the note is next door.

   The scroller is the pair's floor made reachable: 250 for the grid and 250 for the rail is a width
   an area may be dragged under, and under it this scrolls sideways rather than crushing both. */
.tasks-scroll[b-quoj5v1j7z]{flex:1 1 auto;min-width:0;min-height:0;overflow-x:auto;background:var(--iws-zone)}

/* `width:100%` is load-bearing: a grid whose own width is indefinite sizes `1fr` to its content, so
   the list would take what its columns ask for and hand the rail the remainder. The floor counts the
   grip and the padding, both of which are real width and would otherwise come out of the list's 250.
   `height:100%` takes whatever the area was held at, which is what gives the two panes a definite box
   to scroll inside. */
.tasks-workspace[b-quoj5v1j7z]{display:grid;grid-template-columns:minmax(0,1fr) var(--chart-rail-split,0px) var(--chart-rail,300px);box-sizing:border-box;width:100%;min-width:calc(var(--chart-pair-floor,500px) + var(--chart-rail-split,0px) + 10px);height:100%;min-height:var(--chart-area-floor,16rem);padding:5px}

/* Two cards on the zone rather than two halves of one: the gap between them is the ground showing
   through, so each pane's border is the only line at its edge. Clipping is what makes the corners
   real — the grid's header band and the rail's tinted head are square and would otherwise sit over
   the radius rather than inside it. */
.chart-task-list[b-quoj5v1j7z],.chart-task-rail[b-quoj5v1j7z]{min-width:0;min-height:0;border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface);overflow:hidden}

/* The gap between the two cards, which is also the grip. Nine pixels of zone, colourless at rest —
   the cards have their own edges, and a rule down the middle of the gap would be a third mark between
   two that already say where each pane ends. `touch-action:none` so a pen or a finger moves the
   boundary instead of scrolling the chart under it. */
.task-split[b-quoj5v1j7z]{position:relative;width:var(--chart-rail-split,0px);background:transparent;cursor:col-resize;touch-action:none}
.task-split[b-quoj5v1j7z]::after{content:"";position:absolute;top:0;bottom:0;left:4px;width:1px;background:transparent}
.task-split:hover[b-quoj5v1j7z]::after,.task-split:active[b-quoj5v1j7z]::after{left:3px;width:2px;background:var(--iws-focus)}

/* The card is the grid and nothing else: the header band is inside the grid's own toolbar area and the
   pager is gone with the plain table, the rows being fetched a batch at a time as the scroll moves.
   Positioned, because the export's toast is placed against its nearest positioned ancestor and without
   this that ancestor is the page. */
.chart-task-list[b-quoj5v1j7z]{display:grid;grid-template-rows:minmax(0,1fr);position:relative}
.chart-list-error[b-quoj5v1j7z]{margin:0 0 .5rem;color:var(--iws-danger-text)}
/* The grid scrolls itself — it is virtual, and asks for the rows it is about to draw — so this only
   gives it a height to be virtual inside of. A container as well as a box, so what it holds can be
   measured against the width of the card rather than the width of the table: see `.empty-list`. */
/* `overflow-x:auto` rather than `hidden`, though in the ordinary case there is nothing to scroll: the
   grid keeps to the width of this box and does its own scrolling inside it. It is here because the
   failure it answers is silent — anything that does end up wider than the card is simply not there,
   with no bar and no edge to say so, which is what the 700px `min-width` on the grid was doing until
   it was moved onto the columns. */
.chart-grid-scroll[b-quoj5v1j7z]{position:relative;min-width:0;min-height:0;overflow-x:auto;overflow-y:hidden;container-type:inline-size}
.chart-grid-scroll[b-quoj5v1j7z]  .chart-grid{height:100%}
/* The medical history table's measurements, in a grid (Marius, 2026-09-20: "make tasks grid like ICD
   grid — header text size, text color, row height, row text size"). The two sections are a hand's
   width apart in the same chart and were two conventions: this one stood at the workspace list's
   14px type and 40px rows, which is right on a page given over to one list and too loud in a section
   that is one of seven.

   Font and padding go through the theme's own variables rather than a `font-size` or a `padding` of
   ours: the rule that sets both on every `td` and `th` counts each of its `:not()`s as a class, so a
   plain declaration here loses silently — which is what a `font-size` on the grid root was doing. */
/* Square and unframed, because the pane around it is the card now: the theme gives every grid a
   hairline and 4px corners, and left on they would draw a second line a pixel inside the pane's
   border and a second radius inside its corner. */
.chart-grid-scroll[b-quoj5v1j7z]  .chart-grid{--dxbl-grid-border-radius:0;--dxbl-grid-border-width:0}

/* The 700 the section was asked for (Marius, 2026-09-20: "make grid min width 700px [scroll
   horizontal]; the area should keep like now") is not set here, and cannot be. `--dxbl-grid-min-width`
   puts a `min-width` on the grid's own box, and a grid told it is 700 wide inside a 390px card lays
   its columns out to 700 and hands the card the overflow — which this element then clips, with no
   scrollbar anywhere and four columns of the six simply gone. The floor belongs on the columns, where
   the grid adds it up itself and scrolls its table past the total rather than dividing below it: see
   `ColumnFloor` in the tab. Nothing about the pane changes — it keeps the width the boundary gave it
   and the rail beside it does not move. */
.chart-grid-scroll[b-quoj5v1j7z]  .chart-grid{--chart-task-row:30px;--dxbl-grid-font-family:Roboto,"Segoe UI",system-ui,sans-serif;--dxbl-grid-font-size:.78rem;--dxbl-grid-text-cell-padding-y:.2rem;--dxbl-grid-text-cell-padding-x:.5rem;--dxbl-grid-empty-data-area-padding-x:0;--dxbl-grid-hover-bg:var(--iws-selected)}
/* The overdue stripe sets the row's height unless it is told otherwise: it is 36px and takes the
   theme's padding above and below in a grid cell, which is what held the row at 40 and over. Zeroed
   on that one cell, and the mark itself cut to the row it now stands in — kept, not dropped (Marius,
   2026-09-20: "in tasks keep the vertical bar"), because overdue is the one fact in this list that
   has to be readable without reading a date. */
.chart-grid-scroll[b-quoj5v1j7z]  .chart-grid tbody>tr>td:first-child{--dxbl-grid-text-cell-padding-y:0}
.chart-grid-scroll[b-quoj5v1j7z]  .chart-grid tbody>tr>td:first-child .list-leading-indicator{height:calc(var(--chart-task-row) - 8px)}
.chart-grid-scroll[b-quoj5v1j7z]  .chart-grid .grid-row{height:var(--chart-task-row)}
/* Banding through the grid's own row-background variable rather than a background of our own: the
   selected and hovered rows set theirs directly, so they still paint over the stripe. */
.chart-grid-scroll[b-quoj5v1j7z]  .chart-grid .alt-row{--dxbl-grid-row-bg:var(--iws-surface-sunken)}
/* One line, everything on the right of it (2026-09-06, requested-by Marius: "like the other tabs
   filter bar should stay with buttons on right"). On Worklist and Tasks the search and the two buttons
   are one run at the end of the band — the band's third cell, sized `max-content` — with the title, the
   count and the facets filling the space to their left. This list shows none of those three, and a
   search box left alone on the left is the same run broken in half and moved: the buttons stay where
   they are on every list, so the field beside them does too. */
.chart-toolbar-band[b-quoj5v1j7z]{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;width:100%;min-width:0}
/* Capped, not stretched (2026-09-06, requested-by Marius: "limit the search filter"). Given the band
   it would take all of it, and a box that wide is a box for a sentence when what is typed in it is a
   word or two. 350px at rest, as every section list (CH-14), and it shrinks to 150px rather than
   overflowing on a card too narrow for it. */
.chart-toolbar-band[b-quoj5v1j7z]  .chart-search{flex:0 1 350px;min-width:150px}
/* Never wider than the line it is on (Marius, 2026-09-20: "display toolbar is wrong"). Export was
   arriving half-drawn at the card's edge, the rest of it behind `.chart-grid-scroll`'s clip: the
   toolbar measures its own items and lays them out to that measurement, and it was being asked to
   right-align a run inside a box it had sized to the run itself. There is no free space to align
   into there, and the last item is what falls off the end of it. The band already puts the run at
   the right — see `justify-content` above — so the items are left to sit where they fall, and the
   toolbar is allowed to give width back rather than overflow a card dragged narrow. */
.chart-toolbar-band[b-quoj5v1j7z]  .chart-grid-toolbar{flex:0 1 auto;min-width:0;max-width:100%;background:transparent}
/* The glyph is the whole button: the toolbar collapses captions to icons as soon as its items do not
   fit, and beside a search box they never do. Sized against the grid's own type rather than the 20px
   they used to be given — these are the chrome of a section whose headings are now 10px, and two
   icons a third taller than the words beside them read as the loudest thing in it. */
.chart-toolbar-band[b-quoj5v1j7z]  .chart-columns-item .dxbl-image,
.chart-toolbar-band[b-quoj5v1j7z]  .chart-export-item .dxbl-image:not(.dxbl-toolbar-dropdown-toggle){--dxbl-image-width:1rem;--dxbl-image-height:1rem}
/* Inside the grid's empty-data area, which the theme already centres and pads — so this only stacks the
   two lines. Centred on what can be seen rather than on the table: the empty area is a cell spanning
   columns that may be wider than the card, and `100cqi` is the visible width. */
.empty-list[b-quoj5v1j7z]{position:sticky;left:0;width:min(100cqi,100%);display:grid;justify-items:center;gap:.25rem;text-align:center;color:var(--iws-text-secondary)}
.task-empty[b-quoj5v1j7z]{display:grid;place-content:center;min-height:14rem;text-align:center;color:var(--iws-text-secondary)}.task-empty span[b-quoj5v1j7z]{font-size:.75rem}

/* Three parts, as the encounter rail has them: a head that stays, a scroller, and a foot that stays.
   The two that stay are siblings of the one that moves rather than pinned inside it, so the scrollbar
   begins under the head's rule and ends at the foot's — which is the reading the bar itself gives of
   how much record there is. `min-height:0` on the scroller because a flex item in a column otherwise
   refuses to go under its content, which is the whole of how a long rail keeps its head and foot. */
.chart-task-rail[b-quoj5v1j7z]{display:flex;flex-direction:column}
.rail-scroll[b-quoj5v1j7z]{flex:1 1 auto;min-height:0;overflow:auto;display:flex;flex-direction:column;padding:.85rem}

/* The head: the kind and category over the name, the due date and assignee under it, the status chip
   at the far edge. Tinted and ruled, so it reads as the card's own band rather than as the first
   paragraph of what scrolls below it — and full bleed, since out here it is the rail's first child
   and needs no negative margins to reach both edges. */
.rail-top[b-quoj5v1j7z]{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px 10px;padding:5px;border-bottom:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}
.rail-head[b-quoj5v1j7z]{flex:1 1 auto;min-width:0}
/* Three sizes, three jobs. The kicker is small and wide-tracked because it labels the thing rather
   than being part of it; the name is the only line here read at a glance; the line under it is
   context, in --medq-blue rather than grey — grey would put it at the weight of the fact captions
   below, which it is not. */
.rail-kind[b-quoj5v1j7z]{display:block;color:var(--iws-text-secondary);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.09em}
.rail-top h2[b-quoj5v1j7z]{margin:1px 0 2px;color:var(--iws-heading);font-size:15px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
/* Blue rather than grey, which is the encounter head's own third line: grey would put it at the
   weight of the fact captions below, and this is context rather than a caption. It wraps — a name is
   as long as somebody's name is — and does not clip, since a half-printed assignee is worse than a
   second line. */
.rail-sub[b-quoj5v1j7z]{color:var(--iws-brand);font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.rail-top .status-tag[b-quoj5v1j7z]{flex:0 0 auto;margin-left:auto}

/* The banner over a late task, which the encounter rail draws over a cancelled encounter: an event
   with a date on it, tinted rather than filled — it sits an inch under a bold heading and a solid bar
   there would out-shout the name of the record it is describing. */
.rail-seal[b-quoj5v1j7z]{flex:0 0 auto;margin:0 0 .55rem;padding:.4rem .5rem;border:1px solid var(--iws-danger-border);border-radius:.25rem;background:var(--iws-danger-bg);color:var(--iws-danger-text);font-size:.7rem;line-height:1.35}
.task-error[b-quoj5v1j7z]{margin:.5rem 0 0;padding:.45rem;border-radius:.25rem;background:var(--iws-danger-bg);color:var(--iws-danger-text);font-size:.75rem}

/* The facts leading the blocks: as many across as the rail can afford and the rest on the next line,
   rather than the encounter rail's three fixed columns — there are six here (Marius, 2026-09-20:
   "keep all facts from previous version"), and six across a 300px rail is six ellipses.
   `auto-fit` with a 7rem floor is what turns the count into an answer about width instead of a
   number typed here: two lanes at the rail's own minimum, three at about 420 and four past 560, and
   the columns share whatever is spare so nothing is left ragged. The row gap is smaller than the
   column gap on purpose — a caption over its value already separates the lines, and what needs the
   space is telling one pair from the pair beside it.
   It pays the 5px a block spends between its caption and its list, so Completion does not start
   against the last answer. */
.rail-facts[b-quoj5v1j7z]{flex:0 0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(7rem,1fr));gap:8px 12px;padding-bottom:5px}
.rail-fact-cell[b-quoj5v1j7z]{min-width:0;display:flex;flex-direction:column;gap:1px}
/* The caption, at the weight the chart gives every word that asks rather than answers. The bold is
   the part worth losing: weight on a caption makes it compete with the value it labels. */
.rail-fact-k[b-quoj5v1j7z]{color:var(--iws-caption);font-size:11px;line-height:13px;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* A stated line-height, so the three answers sit on one line rather than on three within a pixel of
   each other. */
.rail-fact-v[b-quoj5v1j7z]{min-width:0;color:var(--iws-heading);font-size:.72rem;font-weight:600;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rail-fact-v.is-late[b-quoj5v1j7z]{color:var(--iws-danger-text)}
/* Prose, so it wraps where the other five clip. Lighter as well: it is a requirement being read
   rather than a value being checked, and at 600 a two-line sentence is the loudest thing in the
   strip. */
.rail-fact-v.is-prose[b-quoj5v1j7z]{font-weight:500;white-space:normal;overflow:visible;overflow-wrap:anywhere}

/* The blocks. One column, because there are two of them and two is not a row: a rail dragged wide
   gives its width to the one thing here that can use it, which is the note being typed into
   Completion. `stretch` and the column's own `min-width:0` are what the encounter rail uses for the
   same stack, and are what keep a long value from widening the rail instead of wrapping in it. */
.rail-blocks[b-quoj5v1j7z]{display:flex;align-items:stretch;gap:0 12px;min-width:0}
.rail-col[b-quoj5v1j7z]{position:relative;display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.rail-blocks[b-quoj5v1j7z]  .rail-block{flex:none;min-width:0}

/* The two inputs inside Completion, which are a form rather than a list and keep their own spacing. */
.completion-input[b-quoj5v1j7z]{display:grid;gap:.2rem;margin-top:.5rem;font-size:.72rem}.completion-input textarea[b-quoj5v1j7z]{resize:none;padding:.4rem;border:1px solid var(--iws-border);border-radius:.25rem;font:inherit}.field-help[b-quoj5v1j7z]{display:block;margin-top:.3rem;color:var(--iws-text-secondary);font-size:.72rem}.completion-missing[b-quoj5v1j7z]{display:block;margin-top:.35rem;color:var(--iws-danger-text);font-size:.72rem;font-weight:600}

/* The foot, and the encounter rail's own: a pinned row rather than the end of the scroll, so it is
   reachable without reading past the whole record — hence the background and the rule above it, which
   say the row is not part of what is scrolling over it.

   The buttons are the same outlined-blue word the encounter's foot draws, at its size and without
   glyphs (Marius, 2026-09-20: "buttons text size no icon"). The five pixels on the bottom are the
   switch's: in the row it was a flex item, so when the two buttons filled the rail it wrapped — and a
   wrapped item brings the row gap and its own full height with it, which is a fifth of a compact area
   given over to one ten-pixel word. */
.task-actions[b-quoj5v1j7z]{position:relative;flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.55rem .85rem calc(.55rem + 5px);border-top:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}
.task-actions button[b-quoj5v1j7z]{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:1.9rem;padding:.3rem .6rem;border:1px solid var(--iws-brand);border-radius:.25rem;background:var(--iws-surface);color:var(--iws-brand);font:inherit;font-size:.72rem;font-weight:700;white-space:nowrap;cursor:pointer}
/* Navy, which is what the encounter's foot gives its own first action: the two are the same control
   in the same place in two sections, and they were two different blues. */
.task-actions .primary[b-quoj5v1j7z]{border-color:var(--iws-accent);background:var(--iws-accent);color:var(--iws-text-on-accent)}
.task-actions button:disabled[b-quoj5v1j7z]{border-color:var(--iws-border);background:var(--iws-surface-sunken);color:var(--iws-text-faint);cursor:not-allowed}
/* In the corner the padding above just bought, clear of the buttons rather than over them, and at the
   same offsets the encounter rail uses so the two switches stand in the same place in both feet
   (Marius, 2026-09-20: "large/compact same position"). `::deep` because the element belongs to
   `ChartHeightSwitch` and carries its scope, not this one's. */
.task-actions[b-quoj5v1j7z]  .chart-height{position:absolute;right:calc(.85rem - 20px);bottom:-2px;margin:0}
/* /Components/Chart/CommunicationDocumentsDialog.razor.rz.scp.css */
/* The patient's files as a checked list under a search, as the rule's physician picker. */
.cdp[b-4xih3mzgew]{display:flex;flex-direction:column;gap:.5rem}
.cdp-list[b-4xih3mzgew]{display:flex;flex-direction:column;height:18rem;overflow:auto;border:1px solid var(--iws-border);border-radius:4px;background:var(--iws-surface)}
.cdp-head[b-4xih3mzgew]{padding:6px 9px 3px;color:var(--iws-text-secondary);font-size:9px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.cdp-check[b-4xih3mzgew]{display:flex;align-items:center;gap:8px;margin:0;padding:4px 9px;border-bottom:1px solid var(--iws-border-subtle);color:var(--iws-heading);font-size:.74rem;font-weight:400;cursor:pointer}
.cdp-check:hover[b-4xih3mzgew]{background:var(--iws-surface-subtle)}
.cdp-check.is-picked[b-4xih3mzgew]{background:var(--iws-selected)}
.cdp-check.is-off[b-4xih3mzgew]{color:var(--iws-text-faint);cursor:default}
.cdp-prompt[b-4xih3mzgew]{margin:0;padding:14px 2px;color:var(--iws-text-faint);font-size:.72rem;font-style:italic;text-align:center}
.cdp-count[b-4xih3mzgew]{margin:0;color:var(--iws-text-secondary);font-size:9px}
/* /Components/Chart/CommunicationRecipientDialog.razor.rz.scp.css */
/* As the rule's Add recipient: who on the left, the number or address on a tinted pane on the right. */
.crp[b-b4qj38139k]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;min-height:16rem}
.crp-options[b-b4qj38139k]{max-height:22rem;overflow:auto;padding-right:.35rem}
.crp-value[b-b4qj38139k]{display:flex;flex-direction:column;gap:.5rem;padding:0 .75rem .5rem 1rem;border-left:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}
.crp-table[b-b4qj38139k]{width:100%;border-collapse:collapse;font-size:.74rem}
.crp-table th[b-b4qj38139k]{padding:4px 9px;border-bottom:1px solid var(--iws-border-subtle);color:var(--iws-heading);font-size:9px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;text-align:left}
.crp-table td[b-b4qj38139k]{padding:0;border-bottom:1px solid var(--iws-border-subtle);vertical-align:middle}
.crp-table td:last-child[b-b4qj38139k]{width:40%}
.crp-table td button[b-b4qj38139k]{display:block;width:100%;padding:5px 9px;border:0;background:transparent;color:var(--iws-heading);font:inherit;text-align:left;cursor:pointer}
.crp-table td button:disabled[b-b4qj38139k]{color:var(--iws-text-faint);cursor:default}
.crp-table tr:not(.is-off):hover td[b-b4qj38139k]{background:var(--iws-surface-subtle)}
.crp-table tr.is-picked td[b-b4qj38139k]{background:var(--iws-selected)}
.crp-table tr.is-picked td button[b-b4qj38139k]{font-weight:700}
.crp-from[b-b4qj38139k]{padding-right:9px;color:var(--iws-text-secondary);font-size:.66rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crp-table tr.is-off .crp-from[b-b4qj38139k]{color:var(--iws-text-faint);font-style:italic}
.crp-cap[b-b4qj38139k]{display:flex;align-items:center;gap:6px;margin:0;padding:6px 0 2px}
.crp-cap>span:first-child[b-b4qj38139k]{color:var(--iws-text-secondary);font-size:8px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.crp-chip[b-b4qj38139k]{display:inline-block;max-width:100%;padding:1px 6px 2px;border:1px solid var(--iws-selected-strong);border-radius:9px;background:var(--iws-tint);color:var(--iws-brand);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crp-prompt[b-b4qj38139k]{margin:0;padding:14px 2px;color:var(--iws-text-faint);font-size:.72rem;font-style:italic;line-height:1.5;text-align:center}
.crp-note[b-b4qj38139k]{margin:0;color:var(--iws-text-faint);font-size:9px;line-height:1.45}
.crp-mono[b-b4qj38139k],.crp-value[b-b4qj38139k]  .crp-mono input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
/* /Components/Chart/PatientChartPanel.razor.rz.scp.css */
/* The chart as a column: the band, then the rows. Both the route page and the window hand this a
   height and it fills it; nothing here clips, because the rule from the sheet is that the page takes
   the scroll and an area never gets a little window of its own to peer through. */
.chart-panel[b-vnuetoy0vr] {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
}

.chart-panel[b-vnuetoy0vr]  .chart-band { flex: none; }

/* The one scroller in the chart. Both hosts hand the panel a fixed height — the page its column, the
   window its card — so the areas run on in here rather than taking the band with them. */
.chart-scroll[b-vnuetoy0vr] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.chart-panel-error[b-vnuetoy0vr] {
    padding: 1rem 0;
    color: var(--iws-danger-text);
    font-size: .8125rem;
}

/* An area's own write action, on that area's head — the rule the rail blocks follow, one level up:
   Register encounter belongs to Episodes & Encounters, which is the list it adds to and the list you
   watch the new row land in.

   The app's pill and not the sheet's: the word in `--medq-blue`, bold, and a hairline of the same —
   what `.rail-block-pill` draws on a rail block, except that here the hairline waits for the pointer.
   v9 paints this one as an accent-filled
   capsule, which would have made the chart's only new button the one button in the product that looks
   like this. What varies with the room is the height and nothing else: 20px here, because an area head
   is a tighter place than an episode row, and the type steps down with it. */
.chart-area-pill[b-vnuetoy0vr] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    height: 20px;
    padding: 0 .5rem;
    /* Kept at 1px and made transparent rather than dropped, so the word does not shift when the frame
       arrives. */
    border: 1px solid transparent;
    /* A capsule (Marius, 2026-09-19), the same 999px the episode row's actions and the area head's
       count badge take, so every pill in the chart is one shape. */
    border-radius: 999px;
    background: transparent;
    color: var(--iws-brand);
    font: inherit;
    /* 11px (Marius, 2026-09-19), a step under the grid rather than a size of its own. It was .68rem,
       which came out at 10.88 and made the area's one write action the smallest text in the chart —
       a button reading as a footnote. Bold is what keeps it from competing with the head's title. */
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

/* The frame only under the pointer (Marius, 2026-09-18). At rest this is a blue word at the end of a
   head that already says which section it belongs to; a permanent outline drew a second box inside a
   28px band that is itself a box. Focus gets the same frame, because a keyboard has no hover and the
   affordance cannot be the one thing it does not get. */
.chart-area-pill:hover[b-vnuetoy0vr],
.chart-area-pill:focus-visible[b-vnuetoy0vr] {
    border-color: var(--iws-brand);
    background: var(--iws-tint);
}

/* There is no second face. Add Diagnosis and Add attachment were drawn as dashed slots waiting for
   the row they write, against Register encounter's plain word — a rule that is true and unreadable
   (Marius, 2026-09-20: "make the add diagnosis pil like register enounter / border like only Hover
   else transparent"). Every area head now carries the same pill, and the frame arrives with the
   pointer or not at all. */

/* Medical history's own rules moved to `ChartMedicalHistoryArea.razor.css`: the div they describe is
   written in that component, so scoped here they matched nothing. */
/* /Components/Chart/PatientContextRibbon.razor.rz.scp.css */
.patient-context-ribbon[b-ooz8vjsrfr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1.25rem;
    padding: 0.65rem 1rem;
    background: var(--iws-surface);
    border-bottom: 1px solid var(--iws-border);
}

.patient-context-thumb[b-ooz8vjsrfr] {
    width: 3rem;
    height: 3rem;
    border-radius: 0.25rem;
    background: color-mix(in srgb, var(--iws-brand-soft) 35%, var(--iws-surface));
    border: 1px solid var(--iws-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--iws-heading);
    font-weight: 700;
    font-size: 0.875rem;
    flex: 0 0 auto;
    overflow: hidden;
}

.patient-context-thumb img[b-ooz8vjsrfr] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.patient-context-main[b-ooz8vjsrfr] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1 1 16rem;
}

.patient-context-top[b-ooz8vjsrfr] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
}

.patient-context-name[b-ooz8vjsrfr] {
    margin: 0;
    font-family: "Myriad Pro", Myriad, "Source Sans 3", system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--iws-heading);
    letter-spacing: -0.01em;
}

.patient-context-clear[b-ooz8vjsrfr] {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--iws-brand);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.patient-context-clear:hover[b-ooz8vjsrfr],
.patient-context-clear:focus-visible[b-ooz8vjsrfr] {
    color: var(--iws-heading);
    text-decoration: underline;
}

.patient-context-meta[b-ooz8vjsrfr] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    color: var(--iws-text-secondary);
    font-size: 0.8125rem;
}

.patient-context-appts[b-ooz8vjsrfr] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
    font-size: 0.8125rem;
    color: var(--iws-text);
}

.patient-context-appts strong[b-ooz8vjsrfr],
.patient-context-meta strong[b-ooz8vjsrfr] {
    color: var(--iws-text-secondary);
    font-weight: 600;
}

.patient-context-alerts[b-ooz8vjsrfr] {
    flex: 1 1 100%;
    padding: 0.4rem 0.65rem;
    background: color-mix(in srgb, var(--iws-highlight) 22%, var(--iws-surface));
    border-left: 3px solid var(--iws-attention);
    font-size: 0.8125rem;
    color: var(--iws-text);
}
/* /Components/Clinical/AlertPicker.razor.rz.scp.css */
/* The two criteria above the list, side by side at a combo's width each. */
.iws-alert-picker__criteria[b-eoayhbwkle] {
    display: flex;
    gap: .5rem;
    padding: .25rem .25rem .35rem;
}

.iws-alert-picker__criteria[b-eoayhbwkle]  .iws-alert-picker__kind {
    width: 9.5rem;
}

.iws-alert-picker__criteria[b-eoayhbwkle]  .iws-alert-picker__category {
    flex: 1 1 auto;
    min-width: 11rem;
}
/* /Components/Clinical/ClinicalHistoryField.razor.rz.scp.css */
/* Takes what the card has under the list, and the box's grip is the reader's to pull: it grows the
   box, the box grows the card, and the card grows the area, which has no cap of its own. That holds
   only while this and the memo are sized from their content and never shrunk under it: a flex basis
   of their own, or a shrink, keeps the frame still while the grip drags the text past it and over
   the card below. */
.clinical-history[b-gw8neeqld3] {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 0;
    padding: .4rem .5rem .5rem;
    border-top: 1px solid var(--iws-border-subtle);
}

.clinical-history-caption[b-gw8neeqld3] {
    color: var(--iws-text-secondary);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.clinical-history[b-gw8neeqld3]  .clinical-history-memo {
    flex: 1 0 auto;
    width: 100%;
}

.clinical-history[b-gw8neeqld3]  .clinical-history-memo textarea {
    height: 100%;
    min-height: 75px;
    font-size: .78rem;
}

.clinical-history-text[b-gw8neeqld3] {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    overflow: auto;
    font-size: .78rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.clinical-history-empty[b-gw8neeqld3] {
    color: var(--medq-gray-700);
    font-size: .72rem;
}

.clinical-history-message[b-gw8neeqld3] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.clinical-history-foot[b-gw8neeqld3] {
    display: flex;
}

.clinical-history-reload[b-gw8neeqld3] {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
/* /Components/Clinical/PatientAlertDialog.razor.rz.scp.css */
.iws-alert-dialog[b-uf2gupregj] {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.iws-alert-dialog__chosen[b-uf2gupregj] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem;
}

.iws-alert-dialog__what[b-uf2gupregj] {
    font-weight: 600;
}

.iws-alert-dialog__meta[b-uf2gupregj],
.iws-alert-dialog__hint[b-uf2gupregj] {
    color: var(--medq-gray-700, var(--iws-text-secondary));
    font-size: .8rem;
}

/* Severity and Status on one line, Reaction under them at the full width. */
.iws-alert-dialog__fields[b-uf2gupregj] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem .75rem;
}

.iws-alert-dialog__reaction[b-uf2gupregj] {
    grid-column: 1 / -1;
}
/* /Components/Clinical/PatientAlertsPanel.razor.rz.scp.css */
.iws-patient-alerts[b-wys3ibna87] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-width: 0;
    min-height: 0;
}

/* Medical history's head row: the box leads, the add link closes the line. */
.iws-patient-alerts__head[b-wys3ibna87] {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 1.75rem;
}

.iws-patient-alerts__add[b-wys3ibna87] {
    margin-left: auto;
}

.iws-patient-alerts__error[b-wys3ibna87] {
    color: var(--medq-danger, var(--iws-danger-text));
    font-size: .8rem;
}

.iws-patient-alerts__empty[b-wys3ibna87] {
    padding: .4rem .5rem;
    color: var(--medq-gray-700, var(--iws-text-secondary));
    font-size: .8rem;
}

.iws-patient-alerts__what[b-wys3ibna87] {
    font-weight: 600;
}

.iws-patient-alerts__drug[b-wys3ibna87] {
    margin-left: .35rem;
}

[b-wys3ibna87] .iws-patient-alerts__row--inactive {
    opacity: .6;
}
/* /Components/Clinical/PatientMedicationDialog.razor.rz.scp.css */
.iws-medication-dialog__hint[b-n7bbt3u516] {
    margin-top: .2rem;
    color: var(--medq-gray-700, var(--iws-text-secondary));
    font-size: .75rem;
}

.iws-medication-dialog__hint a[b-n7bbt3u516] {
    margin-left: .25rem;
}

.iws-medication-dialog__error[b-n7bbt3u516] {
    margin-top: .5rem;
    color: var(--medq-danger, var(--iws-danger-text));
    font-size: .8rem;
}
/* /Components/Clinical/PatientMedicationsPanel.razor.rz.scp.css */
.iws-patient-medications[b-6z3p2qgmev] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-width: 0;
    min-height: 0;
}

/* Alerts' head row: the switch leads, the add link closes the line. */
.iws-patient-medications__head[b-6z3p2qgmev] {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 1.75rem;
}

.iws-patient-medications__add[b-6z3p2qgmev] {
    margin-left: auto;
}

.iws-patient-medications__error[b-6z3p2qgmev] {
    color: var(--medq-danger, var(--iws-danger-text));
    font-size: .8rem;
}

.iws-patient-medications__empty[b-6z3p2qgmev] {
    padding: .4rem .5rem;
    color: var(--medq-gray-700, var(--iws-text-secondary));
    font-size: .8rem;
}

.iws-patient-medications__what[b-6z3p2qgmev] {
    font-weight: 600;
}

[b-6z3p2qgmev] .iws-patient-medications__row--inactive {
    opacity: .6;
}
/* /Components/Clinical/PatientMedicationsSwitch.razor.rz.scp.css */
.iws-medications-switch[b-6bf01fsspd] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
}

.iws-medications-switch__hidden[b-6bf01fsspd] {
    color: var(--medq-gray-700, var(--iws-text-secondary));
}
/* /Components/Home/HomeBoardView.razor.rz.scp.css */
.home-board[b-m1590d782r] {
    min-height: 100%;
    padding: 16px 20px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-board.is-practice[b-m1590d782r] {
    min-height: 0;
    border-radius: 6px;
    padding: 12px;
}

.home-head[b-m1590d782r] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 32px;
}

.home-hint[b-m1590d782r] {
    margin: 0;
    color: var(--medq-gray-700);
    font-size: 0.875rem;
}

.home-head-tools[b-m1590d782r] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.home-head-tools[b-m1590d782r]  .shared-icon svg {
    width: 16px;
    height: 16px;
}

.home-live[b-m1590d782r],
.home-updated[b-m1590d782r] {
    color: var(--list-tone-muted-text);
    font-size: 0.8125rem;
    white-space: nowrap;
}

.home-live[b-m1590d782r] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
    cursor: default;
}

.home-live-dot[b-m1590d782r] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--medq-gray-400);
}

.home-live.is-live[b-m1590d782r] {
    color: var(--list-tone-success-text);
}

.home-live.is-live .home-live-dot[b-m1590d782r] {
    background: var(--list-tone-success);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--iws-success-tone) 18%, transparent);
}

.home-head-tools[b-m1590d782r]  .home-refresh {
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
}

/* A number the last refresh moved: a warm wash that fades, once. */
.home-board[b-m1590d782r]  .is-changed {
    border-radius: 4px;
    animation: home-flash-b-m1590d782r 1.5s ease-out;
}

@keyframes home-flash-b-m1590d782r {
    0%, 25% { background-color: color-mix(in srgb, var(--iws-highlight) 45%, transparent); }
    100% { background-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .home-board[b-m1590d782r]  .is-changed {
        animation: none;
        outline: 2px solid var(--medq-yellow);
    }
}

.home-state[b-m1590d782r],
.home-empty[b-m1590d782r] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--medq-gray-700);
    margin: 0;
}

.home-board[b-m1590d782r]  .home-more {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--medq-gray-700);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.home-board[b-m1590d782r]  .home-more:hover,
.home-board[b-m1590d782r]  .home-more:focus-visible {
    background: var(--iws-hover);
    color: var(--medq-navy);
}

.home-board[b-m1590d782r]  .is-dragging {
    opacity: 0.45;
}
/* /Components/Home/HomeCards.razor.rz.scp.css */
.home-card[b-6151qgb8zo] {
    height: 100%;
    box-sizing: border-box;
    background: var(--iws-surface);
    border-radius: 6px;
    border: 1px solid var(--iws-border-subtle);
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: grab;
}

.home-card.is-unavailable[b-6151qgb8zo] {
    opacity: 0.6;
}

.home-card-head[b-6151qgb8zo] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.home-card-icon[b-6151qgb8zo] {
    color: var(--medq-blue);
    display: inline-flex;
}

.home-card-icon[b-6151qgb8zo]  svg {
    width: 18px;
    height: 18px;
}

.home-card-title[b-6151qgb8zo] {
    font-weight: 600;
    color: var(--medq-navy);
    white-space: nowrap;
}

.home-card-meta[b-6151qgb8zo] {
    color: var(--list-tone-muted-text);
    font-size: 0.8125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.home-card-head .home-more[b-6151qgb8zo] {
    margin-left: auto;
}

.home-plist-card[b-6151qgb8zo] {
    padding: 0;
    gap: 8px;
    overflow: hidden;
}

/* HomeBoard.ListHeaderHeight is this band's 76px, the 8px gap and the card's frame. */
.home-plist-band[b-6151qgb8zo] {
    box-sizing: border-box;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 6px 8px 14px;
    background: var(--home-band, var(--iws-accent));
    color: var(--iws-text-on-accent);
}

.home-plist-band-icon[b-6151qgb8zo] {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    padding-right: 12px;
    border-right: 1px solid color-mix(in srgb, var(--iws-text-on-accent) 35%, transparent);
    color: var(--home-band-figure, var(--iws-home-band-figure));
}

.home-plist-band-icon[b-6151qgb8zo]  svg {
    width: 30px;
    height: 30px;
}

.home-plist-band-total[b-6151qgb8zo] {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1;
    color: var(--home-band-figure, var(--iws-home-band-figure));
}

.home-plist-band-title[b-6151qgb8zo] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.home-plist-band-title small[b-6151qgb8zo] {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-plist-band-counts[b-6151qgb8zo] {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 3px 6px;
}

.home-plist-band-count[b-6151qgb8zo] {
    display: contents;
}

.home-plist-band-count strong[b-6151qgb8zo] {
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: right;
    line-height: 1.1;
}

.home-plist-band-count em[b-6151qgb8zo] {
    font-style: normal;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 1px 6px;
    border-radius: 3px;
}

/* HomeListBand.Roles: the number in the tone's band figure (light in every theme), the chip in its strong one. */
.home-plist-band-count.is-muted strong[b-6151qgb8zo] {
    color: var(--iws-home-band-figure-muted);
}

.home-plist-band-count.is-muted em[b-6151qgb8zo] {
    background: var(--iws-home-band-figure-muted);
    color: var(--home-band, var(--iws-accent));
}

.home-plist-band-count.is-success strong[b-6151qgb8zo] {
    color: var(--iws-home-band-figure-success);
}

.home-plist-band-count.is-success em[b-6151qgb8zo] {
    background: var(--iws-success-tone);
    color: var(--iws-text-on-accent);
}

.home-plist-band-count.is-warning strong[b-6151qgb8zo] {
    color: var(--iws-home-band-figure-warning);
}

.home-plist-band-count.is-warning em[b-6151qgb8zo] {
    background: var(--iws-warning-tone);
    color: var(--home-band, var(--iws-accent));
}

.home-plist-band-count.is-danger strong[b-6151qgb8zo] {
    color: var(--iws-home-band-figure-danger);
}

.home-plist-band-count.is-danger em[b-6151qgb8zo] {
    background: var(--iws-danger-tone);
    color: var(--iws-text-on-accent);
}

.home-plist-band-tools[b-6151qgb8zo] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.home-plist-band .home-more[b-6151qgb8zo],
.home-plist-band .home-more:hover[b-6151qgb8zo],
.home-plist-band .home-more:focus-visible[b-6151qgb8zo] {
    color: var(--iws-text-on-accent);
}

.home-plist-band .home-more:hover[b-6151qgb8zo],
.home-plist-band .home-more:focus-visible[b-6151qgb8zo] {
    background: color-mix(in srgb, var(--iws-text-on-accent) 15%, transparent);
}

.home-plist-card .home-card-unavailable[b-6151qgb8zo] {
    padding: 0 12px 12px;
}

.home-card-unavailable[b-6151qgb8zo],
.home-card-empty[b-6151qgb8zo] {
    color: var(--list-tone-muted-text);
    font-size: 0.8125rem;
}

.home-card-body[b-6151qgb8zo] {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    font: inherit;
    color: inherit;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    cursor: pointer;
    border-radius: 4px;
}

button.home-card-body:disabled[b-6151qgb8zo] {
    cursor: default;
}

button.home-card-body:not(:disabled):hover[b-6151qgb8zo] {
    background: var(--medq-gray-50);
}

.home-step[b-6151qgb8zo] {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.home-step small[b-6151qgb8zo] {
    color: var(--list-tone-muted-text);
    font-size: 0.75rem;
}

.home-steps[b-6151qgb8zo] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.home-step strong[b-6151qgb8zo] {
    font-size: 1.25rem;
    font-weight: 600;
}

button.home-step[b-6151qgb8zo] {
    border: 0;
    background: transparent;
    padding: 2px 6px;
    margin: -2px -6px;
    font: inherit;
    color: inherit;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
}

button.home-step:not(:disabled):hover[b-6151qgb8zo] {
    background: var(--medq-gray-50);
}

button.home-step:disabled[b-6151qgb8zo] {
    cursor: default;
}

.home-charts[b-6151qgb8zo] {
    flex-direction: column;
    align-items: flex-start;
    cursor: default;
}

.home-step--upcoming strong[b-6151qgb8zo] { color: var(--medq-navy); }
.home-step--late strong[b-6151qgb8zo] { color: var(--list-tone-danger-text); }

.home-recent[b-6151qgb8zo] {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    cursor: default;
}

.home-recent-row[b-6151qgb8zo] {
    height: 28px;
    display: grid;
    grid-template-columns: 22px minmax(0, auto) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 0 4px;
    text-align: left;
    font: inherit;
    color: inherit;
    border-radius: 4px;
    cursor: pointer;
}

.home-recent-row:hover[b-6151qgb8zo] {
    background: var(--medq-gray-50);
}

.home-recent-row.is-placeholder[b-6151qgb8zo],
.home-recent-row:disabled[b-6151qgb8zo] {
    cursor: default;
}

/* The Recent strip: a section on the board's ground rather than a card, as Instinct draws it. */
.home-section[b-6151qgb8zo] {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    cursor: grab;
}

.home-section.is-unavailable[b-6151qgb8zo] {
    opacity: 0.6;
}

.home-section-head[b-6151qgb8zo] {
    height: 26px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.home-section-title[b-6151qgb8zo] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--medq-navy);
    white-space: nowrap;
}

.home-section-tools[b-6151qgb8zo] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.home-section-menu[b-6151qgb8zo] {
    opacity: 0;
}

.home-section:hover .home-section-menu[b-6151qgb8zo],
.home-section:focus-within .home-section-menu[b-6151qgb8zo] {
    opacity: 1;
}

.home-section-tools[b-6151qgb8zo]  .home-strip-step {
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 50%;
}

.home-section-tools[b-6151qgb8zo]  .home-strip-step svg {
    width: 14px;
    height: 14px;
}

.home-strip[b-6151qgb8zo] {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px;
    margin: -2px;
    cursor: default;
}

.home-strip[b-6151qgb8zo]::-webkit-scrollbar {
    display: none;
}

.home-strip-card[b-6151qgb8zo] {
    flex: 0 0 128px;
    height: 206px;
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 6px 8px;
    border: 1px solid var(--iws-border-subtle);
    border-radius: 8px;
    background: var(--iws-surface);
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 1px 2px color-mix(in srgb, var(--iws-shadow) 50%, transparent);
}

.home-strip-card:not(:disabled):not(.is-placeholder):hover[b-6151qgb8zo] {
    border-color: var(--iws-border);
    box-shadow: 0 2px 6px var(--iws-shadow);
}

.home-strip-card:disabled[b-6151qgb8zo] {
    cursor: default;
}

.home-strip-card.is-placeholder[b-6151qgb8zo] {
    background: color-mix(in srgb, var(--iws-hover) 50%, transparent);
    border-color: transparent;
    box-shadow: none;
    cursor: default;
}

.home-strip-picture[b-6151qgb8zo] {
    flex: 0 0 auto;
    aspect-ratio: 1;
    border-radius: 5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medq-navy);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    overflow: hidden;
}

.home-strip-picture img[b-6151qgb8zo] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-strip-card.is-placeholder .home-strip-picture[b-6151qgb8zo] {
    background: color-mix(in srgb, var(--iws-hover) 62%, transparent);
}

.home-strip-name[b-6151qgb8zo],
.home-strip-detail[b-6151qgb8zo] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-strip-name[b-6151qgb8zo] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--medq-navy);
}

.home-strip-detail[b-6151qgb8zo] {
    font-size: 0.6875rem;
    color: var(--medq-gray-700);
}

.home-strip-foot[b-6151qgb8zo] {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    font-size: 0.6875rem;
    color: var(--list-tone-muted-text);
}

.home-strip-kind[b-6151qgb8zo] {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-recent-thumb[b-6151qgb8zo] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--chart-depth-tint);
    color: var(--medq-navy);
    font-size: 0.625rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-recent-name[b-6151qgb8zo] {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-recent-meta[b-6151qgb8zo] {
    color: var(--list-tone-muted-text);
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-recent-line[b-6151qgb8zo] {
    height: 8px;
    border-radius: 4px;
    background: var(--medq-gray-50);
    grid-column: 2 / span 2;
}

.home-team[b-6151qgb8zo] {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 2px;
    cursor: default;
}

.home-claimed-row[b-6151qgb8zo] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.home-claimed-row > .home-recent-row[b-6151qgb8zo] {
    flex: 1;
    min-width: 0;
}

.home-team .home-recent-name[b-6151qgb8zo] {
    flex: 1;
    min-width: 0;
}
/* /Components/Home/HomeEncountersListBody.razor.rz.scp.css */
.home-elist[b-9kzd0olhbl] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 8px 8px;
}

.home-elist-rows[b-9kzd0olhbl] {
    flex: 1 0 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    cursor: default;
}

.home-elist-placeholder[b-9kzd0olhbl] {
    box-sizing: border-box;
    height: 56px;
    display: grid;
    align-items: center;
    padding: 0 8px 0 4px;
    border-bottom: 1px solid var(--iws-border-subtle);
}

.home-elist-rows[b-9kzd0olhbl]  .home-elist-groups {
    width: 100%;
}

/* The closed line is cut where the card runs out: every box down to it may shrink. */
.home-elist-rows[b-9kzd0olhbl]  .home-elist-groups .dxbl-accordion-item-header,
.home-elist-rows[b-9kzd0olhbl]  .home-elist-groups .dxbl-accordion-item-header-text {
    min-width: 0;
}

.home-elist-head[b-9kzd0olhbl] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    line-height: 1.25;
}

.home-elist-caption[b-9kzd0olhbl] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--iws-text);
}

.home-elist-line[b-9kzd0olhbl] {
    font-size: 0.75rem;
    color: var(--iws-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-elist-rows[b-9kzd0olhbl]  .home-elist-plus,
.home-elist-rows[b-9kzd0olhbl]  .home-elist-minus {
    display: inline-flex;
    width: 16px;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
    font-style: normal;
    line-height: 1;
    color: var(--iws-text-secondary);
}

.home-elist-rows[b-9kzd0olhbl]  .home-elist-plus::before {
    content: "+";
}

.home-elist-rows[b-9kzd0olhbl]  .home-elist-minus::before {
    content: "\2212";
}

.home-recent-line[b-9kzd0olhbl] {
    height: 8px;
    border-radius: 4px;
    background: var(--medq-gray-50);
}

.home-card-empty[b-9kzd0olhbl] {
    color: var(--list-tone-muted-text);
    font-size: 0.8125rem;
}

.home-elist-rows[b-9kzd0olhbl]  .home-elist-more {
    margin: 6px 0;
}
/* /Components/Home/HomeGreeting.razor.rz.scp.css */
.home-greeting[b-ogz8pa0ywg] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    min-width: 0;
}

.home-title[b-ogz8pa0ywg] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--medq-navy);
}

.home-today[b-ogz8pa0ywg] {
    color: var(--medq-gray-700);
    font-size: 0.875rem;
    white-space: nowrap;
}
/* /Components/Home/HomePatientsListBody.razor.rz.scp.css */
.home-plist[b-rhx6hscdlv] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 8px 8px;
}

.home-plist-rows[b-rhx6hscdlv] {
    flex: 1 0 auto;
    overflow-y: auto;
    overflow-anchor: none;
    overscroll-behavior: contain;
    cursor: default;
}

.home-plist-row.is-placeholder[b-rhx6hscdlv] {
    box-sizing: border-box;
    height: 56px;
    display: grid;
    align-items: center;
    padding: 0 8px 0 4px;
    border-bottom: 1px solid var(--iws-border-subtle);
}

.home-recent-line[b-rhx6hscdlv] {
    height: 8px;
    border-radius: 4px;
    background: var(--medq-gray-50);
}

.home-card-empty[b-rhx6hscdlv] {
    color: var(--list-tone-muted-text);
    font-size: 0.8125rem;
}

.home-plist-rows[b-rhx6hscdlv]  .home-plist-more {
    margin: 6px 0;
}
/* /Components/Home/HomeShortcuts.razor.rz.scp.css */
.home-shortcuts[b-ci48bvid7i] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-tile[b-ci48bvid7i] {
    position: relative;
    width: 104px;
    height: 104px;
    box-sizing: border-box;
    border-radius: 6px;
    cursor: grab;
}

.home-tile:hover[b-ci48bvid7i],
.home-tile:focus-within[b-ci48bvid7i] {
    background: color-mix(in srgb, var(--iws-surface) 70%, transparent);
}

.home-tile.is-unavailable[b-ci48bvid7i] {
    opacity: 0.55;
}

.home-tile-hit[b-ci48bvid7i] {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    padding: 12px 6px 6px;
    font: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border-radius: 6px;
}

.home-tile-hit:disabled[b-ci48bvid7i] {
    cursor: default;
}

.home-tile-icon[b-ci48bvid7i] {
    position: relative;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    background: var(--iws-surface);
    color: var(--medq-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-tile-icon[b-ci48bvid7i]  svg {
    width: 22px;
    height: 22px;
}

.home-tile-icon.is-artwork[b-ci48bvid7i] {
    background: var(--iws-ribbon);
}

.home-tile-icon.is-artwork[b-ci48bvid7i]  svg {
    width: 26px;
    height: 26px;
}

.home-tile-badge[b-ci48bvid7i] {
    position: absolute;
    top: -4px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 9px;
    background: var(--iws-accent);
    color: var(--iws-text-on-accent);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}

.home-tile-caption[b-ci48bvid7i] {
    max-width: 100%;
    font-size: 0.8125rem;
    line-height: 1.2;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.home-tile-sub[b-ci48bvid7i] {
    max-width: 100%;
    font-size: 0.6875rem;
    color: var(--list-tone-muted-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-tile .home-more[b-ci48bvid7i] {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    opacity: 0;
}

.home-tile:hover .home-more[b-ci48bvid7i],
.home-tile:focus-within .home-more[b-ci48bvid7i] {
    opacity: 1;
}
/* /Components/Home/HomeTasksListBody.razor.rz.scp.css */
.home-tlist[b-1v692rhmx6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 8px 8px;
}

.home-tlist-rows[b-1v692rhmx6] {
    flex: 1 0 auto;
    overflow-y: auto;
    overflow-anchor: none;
    overscroll-behavior: contain;
    cursor: default;
}

/* Each row is exactly HomeBoard.VisitRowHeight (56px), as on the Patients today list. */
.home-tlist-row[b-1v692rhmx6] {
    box-sizing: border-box;
    height: 56px;
    width: 100%;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 0 8px 0 4px;
    border: 0;
    border-bottom: 1px solid var(--iws-border-subtle);
    background: transparent;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.home-tlist-row:hover[b-1v692rhmx6] {
    background: var(--iws-hover);
}

.home-tlist-row.is-placeholder[b-1v692rhmx6] {
    display: grid;
    grid-template-columns: 1fr;
    cursor: default;
}

.home-tlist-time[b-1v692rhmx6] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--iws-text);
    white-space: nowrap;
    text-align: right;
}

.home-tlist-row.is-overdue .home-tlist-time[b-1v692rhmx6] {
    color: var(--iws-danger-text);
}

.home-tlist-what[b-1v692rhmx6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.home-tlist-title[b-1v692rhmx6] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--iws-text);
}

.home-tlist-detail[b-1v692rhmx6] {
    font-size: 0.75rem;
    color: var(--iws-text-secondary);
}

.home-tlist-title[b-1v692rhmx6],
.home-tlist-detail[b-1v692rhmx6] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-tlist-chip[b-1v692rhmx6] {
    min-width: 24px;
    box-sizing: border-box;
    padding: 2px 6px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
}

.home-recent-line[b-1v692rhmx6] {
    height: 8px;
    border-radius: 4px;
    background: var(--medq-gray-50);
}

.home-card-empty[b-1v692rhmx6] {
    color: var(--list-tone-muted-text);
    font-size: 0.8125rem;
}

.home-tlist-rows[b-1v692rhmx6]  .home-tlist-more {
    margin: 6px 0;
}
/* /Components/Home/HomeVisitRow.razor.rz.scp.css */
/* Each row is exactly HomeBoard.VisitRowHeight (56px): the lists are placed by offset, rows times height. */
.home-plist-row[b-t6bar6y53q] {
    box-sizing: border-box;
    height: 56px;
    width: 100%;
    display: grid;
    grid-template-columns: 10px 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 0 8px 0 4px;
    border: 0;
    border-bottom: 1px solid var(--iws-border-subtle);
    background: transparent;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.home-plist-row:hover[b-t6bar6y53q] {
    background: var(--iws-hover);
}

/* Blue: who should be in now, every line. Black: each room's next, time and name; its details grey.
   Grey: the rest, lighter, the chip faded. */
.home-plist-row.is-now .home-plist-mark[b-t6bar6y53q],
.home-plist-row.is-now .home-plist-time[b-t6bar6y53q],
.home-plist-row.is-now .home-plist-room[b-t6bar6y53q],
.home-plist-row.is-now .home-plist-name[b-t6bar6y53q],
.home-plist-row.is-now .home-plist-details[b-t6bar6y53q] {
    color: var(--medq-blue);
}

.home-plist-row.is-rest .home-plist-time[b-t6bar6y53q],
.home-plist-row.is-rest .home-plist-name[b-t6bar6y53q] {
    color: var(--iws-text-muted);
    font-weight: 400;
}

.home-plist-row.is-rest .home-plist-room[b-t6bar6y53q],
.home-plist-row.is-rest .home-plist-details[b-t6bar6y53q] {
    color: var(--iws-text-faint);
}

.home-plist-row.is-rest .home-plist-chip[b-t6bar6y53q] {
    opacity: 0.5;
}

.home-plist-mark[b-t6bar6y53q] {
    display: inline-flex;
    justify-content: center;
}

.home-plist-mark[b-t6bar6y53q]  svg {
    width: 10px;
    height: 10px;
}

.home-plist-when[b-t6bar6y53q],
.home-plist-who[b-t6bar6y53q] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.home-plist-when[b-t6bar6y53q] {
    align-items: flex-end;
    text-align: right;
}

.home-plist-time[b-t6bar6y53q] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--iws-text);
    white-space: nowrap;
}

.home-plist-name[b-t6bar6y53q] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--iws-text);
}

.home-plist-room[b-t6bar6y53q],
.home-plist-details[b-t6bar6y53q] {
    color: var(--iws-text-secondary);
    font-size: 0.75rem;
}

.home-plist-room[b-t6bar6y53q] {
    max-width: 100%;
}

.home-plist-name[b-t6bar6y53q],
.home-plist-room[b-t6bar6y53q],
.home-plist-details[b-t6bar6y53q] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-plist-chip[b-t6bar6y53q] {
    align-self: start;
    margin-top: 8px;
    min-width: 24px;
    box-sizing: border-box;
    padding: 2px 6px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-align: center;
}
/* /Components/IWSComboBox.razor.rz.scp.css */
/* Some layouts nest the editor inside a field <label>, which sets a small bold (sometimes
   uppercase) font. Reset here so every combo renders with the same editor typography. */
.form-field-editor-wrap[b-48jqo6hylv] {
    font-size: .8125rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}
/* /Components/IWSDateEdit.razor.rz.scp.css */
/* Some layouts nest the editor inside a field <label>, which sets a small bold (sometimes
   uppercase) font. Reset here so every date editor renders with the same editor typography. */
.form-field-editor-wrap[b-d43bvzydwt] {
    font-size: .8125rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}
/* /Components/IWSDateRangePicker.razor.rz.scp.css */
/* The dropdown and the dialogs render at the end of the page, outside the field, so each of them
   carries the variables too. The two solid fills keep the mockup's hues: white reads on them in every
   theme. */
.iws-drp[b-db92egopa3],
.iws-drp-panel[b-db92egopa3],
.iws-drp-dialog[b-db92egopa3] {
    --drp-blue-100: var(--iws-selected);
    --drp-blue-500: var(--iws-link);
    --drp-blue-600: #2563eb;
    --drp-red-500: var(--iws-danger-tone);
    --drp-slate-200: var(--iws-hover);
    --drp-gray-100: var(--iws-surface-sunken);
    --drp-gray-200: var(--iws-border-subtle);
    --drp-gray-400: var(--iws-text-faint);
    --drp-gray-600: var(--iws-text-secondary);
    --drp-gray-700: var(--iws-text);
    --drp-gray-800: var(--iws-text);
    --drp-purple-100: color-mix(in srgb, #9333ea 10%, var(--iws-surface));
    --drp-purple-600: #9333ea;
    --drp-day: 2.25rem;
}

.iws-drp[b-db92egopa3] {
    position: relative;
    width: 100%;
}

.iws-drp-field[b-db92egopa3]  .iws-drp-input {
    width: 100%;
}

/* Past this height the month grids scroll under a still navigation row and footer. */
.iws-drp-panel[b-db92egopa3] {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    max-height: calc(100vh - 9rem);
    padding: 1rem;
    color: var(--drp-gray-700);
    font-size: 0.875rem;
}

.iws-drp-body[b-db92egopa3] {
    display: flex;
    gap: 1.5rem;
    flex: 1 1 auto;
    min-height: 0;
}

/* ---- presets */

/* As wide as the longest practice range's caption on one line, in whichever language, and two
   equal columns of it. */
.iws-drp-presets[b-db92egopa3] {
    width: max-content;
    min-width: 12rem;
    flex-shrink: 0;
    overflow-y: auto;
}

.is-single .iws-drp-presets[b-db92egopa3] {
    min-width: 8rem;
}

.iws-drp-preset-grid[b-db92egopa3] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.is-single .iws-drp-preset-grid[b-db92egopa3] {
    grid-template-columns: 1fr;
}

.iws-drp-presets[b-db92egopa3]  .iws-drp-preset {
    width: 100%;
    padding-inline: 0.5rem;
    font-size: 0.8125rem;
}

.iws-drp-preset-grid[b-db92egopa3]  .iws-drp-preset {
    white-space: nowrap;
}

/* A picker's own ranges, such as Overdue: the grid's full width, under it and above the line. */
.iws-drp-preset-extras[b-db92egopa3] {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.iws-drp-divider[b-db92egopa3] {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid var(--drp-gray-200);
}

/* A user's name for a range may be long: it wraps within the column rather than widening it. */
.iws-drp-user-buttons[b-db92egopa3] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 0;
    min-width: 100%;
}

.iws-drp-presets[b-db92egopa3]  .iws-drp-user-list {
    width: 100%;
}

/* ---- calendar */

.iws-drp-calendar[b-db92egopa3] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding-left: 1.5rem;
    border-left: 1px solid var(--drp-gray-200);
}

.iws-drp-nav[b-db92egopa3] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.iws-drp-nav-spacer[b-db92egopa3] {
    flex: 1 1 auto;
}

.iws-drp-nav[b-db92egopa3]  .iws-drp-nav-btn {
    padding: 0.25rem;
    border-radius: 9999px;
}

.iws-drp-nav-btn svg[b-db92egopa3] {
    width: 1.5rem;
    height: 1.5rem;
}

/* Centred: the footer under it can be wider than one month. */
.iws-drp-months[b-db92egopa3] {
    display: grid;
    justify-content: center;
    gap: 1.5rem;
    min-height: 0;
    overflow: auto;
}

.iws-drp-month[b-db92egopa3] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iws-drp-month[b-db92egopa3]  .iws-drp-month-name {
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--drp-gray-800);
}

.iws-drp-weekdays[b-db92egopa3],
.iws-drp-days[b-db92egopa3] {
    display: grid;
    grid-template-columns: repeat(7, var(--drp-day));
    gap: 1px;
}

.iws-drp-weekdays.has-weeks[b-db92egopa3],
.iws-drp-days.has-weeks[b-db92egopa3] {
    grid-template-columns: var(--drp-day) repeat(7, var(--drp-day));
}

.iws-drp-weekdays[b-db92egopa3] {
    margin-bottom: 0.25rem;
}

.iws-drp-weekday[b-db92egopa3] {
    text-align: center;
    font-weight: 500;
    color: var(--drp-gray-600);
}

.iws-drp-weekday.is-sunday[b-db92egopa3] {
    color: var(--drp-red-500);
}

.iws-drp-week[b-db92egopa3] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--drp-day);
    height: var(--drp-day);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--iws-brand);
}

.iws-drp-day[b-db92egopa3],
.iws-drp-blank[b-db92egopa3] {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--drp-day);
    height: var(--drp-day);
}

.iws-drp-day[b-db92egopa3] {
    cursor: pointer;
    user-select: none;
    transition: background-color 150ms, color 150ms;
}

.iws-drp-day.day-default[b-db92egopa3] {
    border-radius: 0.375rem;
}

.iws-drp-day.day-default:hover[b-db92egopa3] {
    background-color: var(--drp-slate-200);
}

.iws-drp-day.day-in-range[b-db92egopa3] {
    background-color: var(--drp-blue-100);
    border-radius: 0;
}

.iws-drp-day.day-start[b-db92egopa3] {
    background-color: var(--drp-blue-600);
    color: var(--iws-text-on-accent);
    border-radius: 0.375rem 0 0 0.375rem;
}

.iws-drp-day.day-end[b-db92egopa3] {
    background-color: var(--drp-blue-600);
    color: var(--iws-text-on-accent);
    border-radius: 0 0.375rem 0.375rem 0;
}

.iws-drp-day.day-selected-single[b-db92egopa3] {
    background-color: var(--drp-blue-600);
    color: var(--iws-text-on-accent);
    border-radius: 0.375rem;
}

.iws-drp-day.day-today[b-db92egopa3] {
    border: 1px solid var(--drp-blue-500);
}

.iws-drp-day.day-in-operator-range[b-db92egopa3] {
    background-color: var(--drp-purple-100);
    border-radius: 0;
}

.iws-drp-day.day-operator-bound[b-db92egopa3] {
    background-color: var(--drp-purple-600);
    color: var(--iws-text-on-accent);
}

.iws-drp-day.day-operator-start[b-db92egopa3] {
    border-radius: 0.375rem 0 0 0.375rem;
}

.iws-drp-day.day-operator-end[b-db92egopa3] {
    border-radius: 0 0.375rem 0.375rem 0;
}

.iws-drp-day.day-out-of-month[b-db92egopa3] {
    color: var(--drp-gray-400);
}

.iws-drp-day.day-out-of-month.day-in-range[b-db92egopa3] {
    background-color: var(--drp-gray-200);
}

.iws-drp-day.day-out-of-month.day-start[b-db92egopa3],
.iws-drp-day.day-out-of-month.day-end[b-db92egopa3],
.iws-drp-day.day-out-of-month.day-selected-single[b-db92egopa3] {
    background-color: var(--iws-muted-tone);
    color: var(--iws-text-on-accent);
}

/* ---- footer */

.iws-drp-footer[b-db92egopa3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--drp-gray-200);
}

.iws-drp-footer-left[b-db92egopa3] {
    flex-shrink: 0;
    width: 12rem;
}

.is-single .iws-drp-footer-left[b-db92egopa3] {
    width: 8rem;
}

.iws-drp-footer-left[b-db92egopa3]  .iws-drp-menu-btn {
    width: var(--drp-day);
    height: var(--drp-day);
}

.iws-drp-footer-right[b-db92egopa3] {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 0.75rem;
    padding-left: 1.5rem;
}

.iws-drp-count[b-db92egopa3] {
    font-weight: 500;
    white-space: nowrap;
}

.iws-drp-inputs[b-db92egopa3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.iws-drp-inputs label[b-db92egopa3] {
    font-weight: 500;
    white-space: nowrap;
}

/* One date in the practice's pattern and no more, so the footer is not what sets the panel's width. */
.iws-drp-inputs[b-db92egopa3]  .iws-drp-box {
    width: 6.75rem;
}

/* ---- dialogs */

.iws-drp-dialog-text[b-db92egopa3] {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: var(--drp-gray-600);
}

.iws-drp-dialog-range[b-db92egopa3] {
    margin: -0.5rem 0 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--drp-gray-700);
}

.iws-drp-dialog-confirm[b-db92egopa3] {
    margin: 0 0 0.5rem;
    text-align: center;
    font-size: 1rem;
    color: var(--drp-gray-800);
}

.iws-drp-fieldset[b-db92egopa3] {
    margin: 1rem 0 0;
}

.iws-drp-legend[b-db92egopa3] {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--drp-gray-700);
}

.iws-drp-setting[b-db92egopa3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--drp-gray-700);
}

.iws-drp-setting[b-db92egopa3]  .iws-drp-months-choice {
    width: 6rem;
}

.iws-drp-year[b-db92egopa3] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0 1rem;
}

.iws-drp-year[b-db92egopa3]  .dxbl-btn {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1;
}

.iws-drp-year[b-db92egopa3]  .iws-drp-year-input {
    width: 5.5rem;
}

.iws-drp-year[b-db92egopa3]  .iws-drp-year-input input {
    text-align: center;
}

.iws-drp-month-grid[b-db92egopa3] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.iws-drp-month-grid[b-db92egopa3]  .dxbl-btn {
    padding: 0.75rem 0.5rem;
}

.iws-drp-help[b-db92egopa3] {
    margin: 0.5rem 0 0.5rem;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--drp-gray-700);
}
/* /Components/IWSRangeDateEdit.razor.rz.scp.css */
/* The capsule carries the border and the focus ring; the editor inside is chrome-free, which is how
   the native input read before this. Moved off the three page stylesheets that each held a copy. */
.range-seg[b-2clxxbvihq] {
    display: flex;
    align-items: center;
    gap: .4rem;
    box-sizing: border-box;
    height: var(--iws-control-height);
    min-width: 0;
    padding: 0 .35rem 0 .5rem;
    border: 1px solid var(--iws-border);
    border-radius: .3rem;
    background: var(--iws-surface);
}

.range-seg:focus-within[b-2clxxbvihq] {
    border-color: var(--medq-navy);
}

/* Fixed caption width keeps the date fields aligned down the column. */
.range-tag[b-2clxxbvihq] {
    flex: none;
    min-width: 2.25rem;
    color: var(--medq-gray-700);
    font-size: .72rem;
    cursor: pointer;
}

/* Both the editor root and its edit box: which of the two carries the frame is DevExpress's
   business, and stripping either alone leaves a box drawn inside a box. */
.range-seg[b-2clxxbvihq]  .range-date,
.range-seg[b-2clxxbvihq]  .range-date .dxbl-edit-box {
    flex: 1 1 auto;
    align-self: stretch;
    height: auto;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    flex-wrap: nowrap;
}

/* The capsule already shows focus, so the editor's own ring would double it. */
.range-seg[b-2clxxbvihq]  .range-date:focus-within,
.range-seg[b-2clxxbvihq]  .range-date .dxbl-edit-box:focus-within {
    border: 0;
    box-shadow: none;
    outline: none;
}

.range-seg[b-2clxxbvihq]  .range-date .dxbl-text-edit-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: .3rem 0;
    background: transparent;
    font: inherit;
    font-size: .8rem;
}

/* The calendar and clear glyphs sit flush with the capsule's right edge rather than carrying the
   editor's own button padding, which would push the border past the neighbouring fields. */
.range-seg[b-2clxxbvihq]  .range-date .dxbl-edit-btn {
    padding: 0 .15rem;
    border: 0;
    background: transparent;
}

.range-seg[b-2clxxbvihq]  .range-date .dxbl-image {
    width: .85rem;
    height: .85rem;
}
/* /Components/IWSSwitch.razor.rz.scp.css */
/* Sized through variables so a caller can shrink the whole control without restating its parts. The
   four move together — a track that narrows while the knob stays is a knob hanging out of its track —
   so a host sets the set or none of it, and the defaults below are the size this switch has always
   been on the pages that ask for nothing. */
.iws-switch[b-o05cb2nrpw] {
    display: inline-flex;
    align-items: center;
    gap: var(--iws-switch-gap, .45rem);
    margin: 0;
    color: var(--medq-navy);
    font-size: var(--iws-switch-font, .78rem);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.iws-switch.disabled[b-o05cb2nrpw] {
    opacity: .55;
    cursor: not-allowed;
}

.iws-switch input[b-o05cb2nrpw] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.iws-switch-track[b-o05cb2nrpw] {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    width: var(--iws-switch-track, 2.15rem);
    height: var(--iws-switch-height, 1.15rem);
    padding: var(--iws-switch-pad, .12rem);
    border-radius: 999px;
    background: var(--iws-border);
    transition: background .15s ease;
}

.iws-switch.on .iws-switch-track[b-o05cb2nrpw] {
    background: var(--iws-accent);
}

.iws-switch-knob[b-o05cb2nrpw] {
    display: block;
    width: var(--iws-switch-knob, .9rem);
    height: var(--iws-switch-knob, .9rem);
    border-radius: 50%;
    background: var(--iws-text-on-accent);
    box-shadow: 0 0 0 1px var(--iws-shadow);
    transform: translateX(0);
    transition: transform .15s ease;
}

/* The travel is what is left of the track, so it follows the three above rather than being a fourth
   number to keep in step with them. */
.iws-switch.on .iws-switch-knob[b-o05cb2nrpw] {
    transform: translateX(calc(var(--iws-switch-track, 2.15rem) - var(--iws-switch-knob, .9rem) - 2 * var(--iws-switch-pad, .12rem)));
}

.iws-switch-label[b-o05cb2nrpw] {
    color: var(--medq-navy);
}
/* /Components/ListFilterPills.razor.rz.scp.css */
/* The same shape as IWS.Maui's IWSFilterPill, but sized to its word rather than to a share of the
   row: a pill is a value, not a button, and stretched across a desktop card it read as one. */
.filter-pill-row[b-wj98otgqc9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .3rem;
}

.filter-pill[b-wj98otgqc9] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    flex: 0 0 auto;
    min-width: 0;
    min-height: 1.5rem;
    padding: .05rem .55rem;
    border: 1px solid var(--iws-border-strong);
    border-radius: .75rem;
    background: var(--iws-surface);
    color: var(--medq-gray-700);
    font: inherit;
    font-size: .72rem;
    cursor: pointer;
}

.filter-pill.is-on[b-wj98otgqc9] {
    border-color: var(--medq-navy);
    background: var(--iws-tint);
    color: var(--medq-navy);
    font-weight: 600;
}

.pill-box[b-wj98otgqc9] { flex: 0 0 auto; }
.pill-caption[b-wj98otgqc9] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* /Components/Patients/AuthorizationDialog.razor.rz.scp.css */
/* Three boxed groups, each with its name on the border, as the Eligibility Check pop-up draws them. */
.az-body[b-g2vowu7pfj] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.az-group[b-g2vowu7pfj] {
    margin: 0;
    padding: 0.25rem 0.6rem 0.6rem;
    border: 1px solid var(--iws-border);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.az-group legend[b-g2vowu7pfj] {
    float: none;
    width: auto;
    margin: 0;
    padding: 0 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--iws-heading);
}

.az-group .form-field[b-g2vowu7pfj] {
    gap: 0.2rem;
}

.az-row[b-g2vowu7pfj] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: end;
}

.az-span-2[b-g2vowu7pfj] { grid-column: span 2; }

/* The coverage as Edit Patient holds it: read only, two label-value pairs to a line. */
.az-details[b-g2vowu7pfj] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 0.75rem;
    margin: 0;
    font-size: 0.8125rem;
}

.az-detail[b-g2vowu7pfj] {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 0.4rem;
    min-width: 0;
}

.az-detail dt[b-g2vowu7pfj] {
    font-weight: 400;
    color: var(--iws-text-faint);
}

.az-detail dt.field-label--required[b-g2vowu7pfj] {
    font-weight: 700;
    color: var(--iws-required-label);
}

.az-detail dd[b-g2vowu7pfj] {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.az-detail--note[b-g2vowu7pfj] {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
}

.az-created[b-g2vowu7pfj] {
    font-size: 0.8125rem;
    color: var(--iws-text-faint);
}

.az-add[b-g2vowu7pfj] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: end;
}
/* /Components/Patients/ChartWindowSwitcher.razor.rz.scp.css */
/* The strip's look, restated rather than borrowed. `AppIWSStrip` already has a rule for a tool handed
   in through HeaderTools — `.iws-frame-tools ::deep .iws-frame-tool` — but it pins the box at 20×19,
   which is right for one glyph and not for two, and out-specifying it from a scoped sheet would mean
   winning an argument with a rule that exists to keep the strip's buttons identical. This button is
   deliberately not one of that set: it is wider, it sits before them, and it opens something. */
.switcher-button[b-9rtr4xclxd] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 1px;
    width: 30px;
    height: 19px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: var(--medq-navy);
    line-height: 1;
    cursor: pointer;
}

.switcher-button:hover[b-9rtr4xclxd] {
    background: color-mix(in srgb, var(--iws-heading) 10%, transparent);
}

.switcher-button:active[b-9rtr4xclxd] {
    background: color-mix(in srgb, var(--iws-heading) 18%, transparent);
}

.switcher-button:focus-visible[b-9rtr4xclxd] {
    outline: 1px solid var(--medq-navy);
    outline-offset: -1px;
}

/* 11px against the chevron's 10: the clipboard is a shape with an interior and reads a size smaller
   than a two-stroke glyph beside it. */
.switcher-button[b-9rtr4xclxd]  svg {
    width: 11px;
    height: 11px;
}

.switcher-chevron[b-9rtr4xclxd] {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: currentcolor;
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── the menu ──────────────────────────────────────────────────────────────────────────────────── */

.switcher-list[b-9rtr4xclxd] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.15rem;
    /* Nothing in here may widen the menu: the width is fixed, the offset that right-aligns it is
       computed from that width, and a row that stretched the box would push it off the strip's edge. */
    overflow-x: hidden;
}

/* Q's row, at Q's measurements, because this is the same list in another corner and a chart ought to
   read the same wherever it is offered. */
.switcher-item[b-9rtr4xclxd] {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.35rem;
    border: 0;
    border-radius: 0.25rem;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.switcher-item:hover[b-9rtr4xclxd] {
    background: var(--medq-gray-50, var(--iws-surface-sunken));
}

.switcher-item:focus-visible[b-9rtr4xclxd] {
    outline: 2px solid var(--medq-sky, var(--iws-brand-soft));
    outline-offset: -2px;
}

/* The chart you are on, tinted rather than merely ticked. The tick says which one; the fill is what
   makes it findable without reading, which is the whole job of a list you open for half a second. */
.switcher-item.is-current[b-9rtr4xclxd] {
    background: color-mix(in srgb, var(--medq-sky, var(--iws-brand-soft)) 18%, var(--medq-white, var(--iws-surface)));
    cursor: default;
}

.switcher-thumb[b-9rtr4xclxd] {
    flex: none;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--shell-border, var(--iws-border));
    border-radius: 0.25rem;
    background: color-mix(in srgb, var(--medq-sky, var(--iws-brand-soft)) 35%, var(--medq-white, var(--iws-surface)));
    color: var(--medq-navy, var(--iws-heading));
    line-height: 1;
}

.switcher-thumb[b-9rtr4xclxd]  svg {
    width: 1rem;
    height: 1rem;
}

/* Grows and trims, both halves needed: without the grow the text sits at its own width and leaves the
   rest of the row dead, and without `min-width: 0` a flex item refuses to go under its content and the
   nowrap lines below turn the menu into a horizontal scroller instead of ellipsing. */
.switcher-text[b-9rtr4xclxd] {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 0.05rem;
}

.switcher-name[b-9rtr4xclxd],
.switcher-meta[b-9rtr4xclxd] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.switcher-name[b-9rtr4xclxd] {
    color: var(--medq-navy, var(--iws-heading));
    font-size: 0.875rem;
    font-weight: 600;
}

.switcher-meta[b-9rtr4xclxd] {
    color: var(--medq-gray-700, var(--iws-text-secondary));
    font-size: 0.75rem;
}

.switcher-tick[b-9rtr4xclxd] {
    flex: none;
    display: grid;
    place-items: center;
    color: var(--medq-blue);
}

.switcher-tick[b-9rtr4xclxd]  svg {
    width: 0.85rem;
    height: 0.85rem;
}
/* /Components/Patients/CoverageCheckCallsGrid.razor.rz.scp.css */
/* A box with its name on the border, as the pop-ups' other groups. */
.cc-calls[b-udw8enrcgj] {
    margin: 0.5rem 0 0;
    padding: 0.25rem 0.6rem 0.6rem;
    border: 1px solid var(--iws-border);
    border-radius: 4px;
    min-width: 0;
}

.cc-calls legend[b-udw8enrcgj] {
    float: none;
    width: auto;
    margin: 0;
    padding: 0 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--iws-heading);
}

/* A few calls show without scrolling; more scroll inside the box, and wide rows scroll sideways. */
.cc-calls[b-udw8enrcgj]  .cc-calls-grid {
    max-height: 14rem;
}
/* /Components/Patients/CoverageCheckChannelPicker.razor.rz.scp.css */
/* The channel sits over the pop-up's groups, as wide as one of its columns. */
.cc-channel[b-si3bxudaua] {
    display: grid;
    grid-template-columns: minmax(0, 22rem);
    margin-bottom: 0.5rem;
}

.cc-channel .form-field[b-si3bxudaua] {
    gap: 0.2rem;
}
/* /Components/Patients/EligibilityAuthorizationsPanel.razor.rz.scp.css */
/* The Attachments area's arrangement (ChartAttachmentsTab.razor.css), for the parts this section
   draws: two cards on the zone, the grip between them, the grid's measurements and the rail. */
.ea-scroll[b-g7jixjmbjt]{height:100%;min-width:0;min-height:0;overflow-x:auto;background:var(--iws-zone)}

.ea-workspace[b-g7jixjmbjt]{position:relative;display:grid;grid-template-columns:minmax(0,1fr) var(--chart-rail-split,0px) var(--chart-rail,300px);box-sizing:border-box;width:100%;min-width:calc(var(--chart-pair-floor,500px) + var(--chart-rail-split,0px) + 10px);height:100%;min-height:var(--chart-area-floor,16rem);padding:5px}
/* Edit Patient: no grip, and a height of its own since no area holds it. */
.ea-workspace.is-fixed[b-g7jixjmbjt]{height:18rem;min-height:0;--chart-rail-split:10px}

.ea-list[b-g7jixjmbjt],.ea-rail[b-g7jixjmbjt]{min-width:0;min-height:0;border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface);overflow:hidden}
.ea-list[b-g7jixjmbjt]{position:relative;display:grid;grid-template-rows:minmax(0,1fr)}

.ea-split[b-g7jixjmbjt]{position:relative;width:var(--chart-rail-split,0px);background:transparent;cursor:col-resize;touch-action:none}
.ea-split[b-g7jixjmbjt]::after{content:"";position:absolute;top:0;bottom:0;left:4px;width:1px;background:transparent}
.ea-split:hover[b-g7jixjmbjt]::after,.ea-split:active[b-g7jixjmbjt]::after{left:3px;width:2px;background:var(--iws-focus)}

.ea-grid-scroll[b-g7jixjmbjt]{position:relative;min-width:0;min-height:0;overflow-x:auto;overflow-y:hidden;container-type:inline-size}
.ea-grid-scroll[b-g7jixjmbjt]  .chart-grid{height:100%;--dxbl-grid-border-radius:0;--dxbl-grid-border-width:0;--dxbl-grid-font-family:Roboto,"Segoe UI",system-ui,sans-serif;--dxbl-grid-font-size:.78rem;--dxbl-grid-text-cell-padding-y:.2rem;--dxbl-grid-text-cell-padding-x:.5rem;--dxbl-grid-empty-data-area-padding-x:0;--dxbl-grid-hover-bg:var(--iws-selected)}
.ea-grid-scroll[b-g7jixjmbjt]  .chart-grid .grid-row{height:30px}
.ea-grid-scroll[b-g7jixjmbjt]  .chart-grid .alt-row{--dxbl-grid-row-bg:var(--iws-surface-sunken)}

.ea-toolbar-band[b-g7jixjmbjt]{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;width:100%;min-width:0}
.ea-toolbar-band[b-g7jixjmbjt]  .chart-search{flex:0 1 350px;min-width:150px}
.ea-toolbar-band[b-g7jixjmbjt]  .chart-grid-toolbar{flex:0 1 auto;min-width:0;max-width:100%;background:transparent}
.ea-toolbar-band[b-g7jixjmbjt]  .chart-columns-item .dxbl-image{--dxbl-image-width:1rem;--dxbl-image-height:1rem}
.ea-toolbar-band[b-g7jixjmbjt]  .ea-new{flex:0 0 auto;white-space:nowrap}

.ea-empty-list[b-g7jixjmbjt]{position:sticky;left:0;width:min(100cqi,100%);display:grid;justify-items:center;gap:.25rem;text-align:center;color:var(--iws-text-secondary)}

.ea-rail[b-g7jixjmbjt]{display:flex;flex-direction:column}
.rail-scroll[b-g7jixjmbjt]{flex:1 1 auto;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:.55rem;padding:.85rem}
.ea-rail-empty[b-g7jixjmbjt]{display:grid;place-content:center;flex:1 1 auto;text-align:center;color:var(--iws-text-secondary)}
.rail-top[b-g7jixjmbjt]{flex:0 0 auto;display:flex;align-items:flex-end;gap:2px 10px;padding:5px;border-bottom:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}
.rail-head[b-g7jixjmbjt]{flex:1 1 auto;min-width:0}
.rail-kind[b-g7jixjmbjt]{display:block;color:var(--iws-text-secondary);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rail-top h2[b-g7jixjmbjt]{margin:1px 0 2px;color:var(--iws-heading);font-size:15px;font-weight:700;line-height:1.2}
.rail-sub[b-g7jixjmbjt]{color:var(--iws-brand);font-size:11px;line-height:1.35;overflow-wrap:anywhere}

.rail-facts[b-g7jixjmbjt]{flex:0 0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(max(7rem,calc((100% - 24px) / 3)),1fr));gap:8px 12px}
.rail-fact-cell[b-g7jixjmbjt]{min-width:0;display:flex;flex-direction:column;gap:1px}
.rail-fact-k[b-g7jixjmbjt]{color:var(--iws-caption);font-size:11px;line-height:13px;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rail-fact-v[b-g7jixjmbjt]{min-width:0;color:var(--iws-heading);font-size:.72rem;font-weight:600;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.ea-actions[b-g7jixjmbjt]{position:relative;flex:0 0 auto;display:flex;align-items:center;gap:.5rem;min-height:1.9rem;padding:.55rem .85rem calc(.55rem + 5px);border-top:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}
.ea-actions[b-g7jixjmbjt]  .chart-height{position:absolute;right:calc(.85rem - 20px);bottom:-2px;margin:0}
/* /Components/Patients/EligibilityCheckDialog.razor.rz.scp.css */
/* Two columns of grouped fields, as the q/RIS Verification window they replace: each group a box with
   its name on the border, each line of a group four equal parts that a field spans some of. */
.ec-columns[b-b4mymi5yj7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.75rem;
    row-gap: 0.5rem;
}

.ec-column[b-b4mymi5yj7] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.ec-group[b-b4mymi5yj7] {
    margin: 0;
    padding: 0.25rem 0.6rem 0.6rem;
    border: 1px solid var(--iws-border);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

/* The automatic block takes what is left under the Insured block, so the two columns end level. */
.ec-group--fill[b-b4mymi5yj7] {
    flex: 1;
}

.ec-group legend[b-b4mymi5yj7] {
    float: none;
    width: auto;
    margin: 0;
    padding: 0 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--iws-heading);
}

.ec-row[b-b4mymi5yj7] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: end;
}

.ec-row .form-field[b-b4mymi5yj7] {
    gap: 0.2rem;
}

.ec-span-2[b-b4mymi5yj7] { grid-column: span 2; }
.ec-span-3[b-b4mymi5yj7] { grid-column: span 3; }
.ec-span-4[b-b4mymi5yj7] { grid-column: span 4; }

.ec-button-cell[b-b4mymi5yj7]  .dxbl-btn {
    width: 100%;
}

.ec-date-range[b-b4mymi5yj7] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.3rem;
}

.ec-auto-buttons[b-b4mymi5yj7] {
    display: flex;
    gap: 0.5rem;
}

.ec-auto-buttons--end[b-b4mymi5yj7] {
    justify-content: flex-end;
}

.ec-memo[b-b4mymi5yj7] {
    flex: 1;
}

.ec-memo[b-b4mymi5yj7]  .dxbl-memo,
.ec-memo[b-b4mymi5yj7]  textarea {
    height: 100%;
}

.ec-verified[b-b4mymi5yj7] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 7.5rem;
    gap: 0.5rem;
}
/* /Components/Patients/PatientChartDialog.razor.rz.scp.css */
/* Nothing but a name, centred in the room the window has. The frame's own styling is next door in
   AppIWSWindow; this is only what a chart puts inside it. */
.chart-stand-in[b-i18sdm0m64] {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 2rem 1rem;
}

.chart-stand-in-name[b-i18sdm0m64] {
    margin: 0;
    color: var(--medq-navy, var(--iws-heading));
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
}
/* /Components/Patients/PatientDistributionConsent.razor.rz.scp.css */
.pdc-row[b-lvkd4ie8y4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin: 4px 0;
}
/* /Components/Patients/PatientPresence.razor.rz.scp.css */
.patient-presence[b-zyccjv4vpu] {
    display: flex;
    align-items: center;
    gap: .35rem;
    min-width: 0;
    margin-bottom: .5rem;
    font-size: .8125rem;
    color: var(--iws-text-secondary);
}

.patient-presence[hidden][b-zyccjv4vpu] { display: none; }

.patient-presence-avatar[b-zyccjv4vpu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    color: var(--iws-text-on-accent);
    font-size: .6875rem;
    font-weight: 600;
    flex: 0 0 auto;
}

.patient-presence-avatar.is-away[b-zyccjv4vpu] { opacity: .7; }

.patient-presence-name[b-zyccjv4vpu] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/PDFDialog.razor.rz.scp.css */
.pdf-dialog-viewer[b-2fgwv43c5x]{flex:1;min-height:0;height:100%;display:flex;overflow:hidden}
/* /Components/PdfViewerFrame.razor.rz.scp.css */
.iws-pdf-viewer[b-o3wqne7ee6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.iws-pdf-viewer > .message[b-o3wqne7ee6] {
    margin: 12px;
}
/* /Components/Providers/RegisterProviderDialog.razor.rz.scp.css */
/* What is left once the frame owns the chrome: the shape of the six rows and where each field sits
   in them. The strip, the card, the compact density, the footer and the base bar are all
   AppIWSChrome's now — this file says nothing about them. */

.pv-rows[b-arul068v7y] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Even top and bottom: the first label and the last editor sit the same distance off the card. */
    padding: 0.55rem 0;
}

/* Sized rows rather than the page's four equal tracks. On a page a 150px Kind still reserves a
   quarter-width column and leaves a hole beside it; in an 850px dialog that hole is most of the
   row. Each row states the widths its own fixed controls need and lets the free-text ones take
   what is left.

   One six-track grid shared by the three name-aligned rows, so Kind, Title and NPI start together,
   Type code lands under First name, Display name runs First + Last and stops at Last name's right
   edge, and Subspecialty spans the two narrow columns.

   Suffix is 128px so the longest code (PharmD, MBChB) shows whole beside the clear button and the
   arrow. The 28px it needs comes out of Last name alone: the free tracks share what is left
   equally, so First name spans a 14px track and its gap to stay as wide as Last name was, and both
   still grow with the dialog. */
.pv-row[b-arul068v7y] {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 14px minmax(0, 1fr) 64px 128px;
    column-gap: 0.875rem;
    row-gap: 0.25rem;
    align-items: start;
}

/* The rows that carry no fixed-width control fall back to thirds, so they still line up with the
   named rows at the outer edges. */
.pv-row--thirds[b-arul068v7y] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Email and the two phones are measured rather than tracked, so this row packs from the left and
   ends where its own content does. */
.pv-row--contact[b-arul068v7y] {
    display: flex;
}

/* Email stops where Type code stops on the row above: the 150px first column, one gap, and First
   name's width — which is what one free track came to when the grid had three fixed columns
   (150 + 64 + 100) and four gaps, and what First name is still held to. */
.pv-email[b-arul068v7y] {
    flex: 0 0 calc(164px + (100% - 370px) / 2);
    min-width: 0;
}

/* A phone is at most sixteen digits, grouping and the pencil, which a full third was generous for.
   Ninety off each leaves the pair reading as one pair rather than as two more columns.

   Capped, because the track is a share of the row and the row now widens with the frame, while what
   goes in it does not: a phone number is the one field on this form with a known maximum length, so
   past a point the extra width is empty box. The cap is the 167px the track comes to at the 850px
   floor plus 75px of give — enough that the pair still opens up with the form and stops before it
   reads as two more columns of nothing. What the row does not spend stays at its right edge, which is
   what a row that packs from the left is for. */
.pv-phone[b-arul068v7y] {
    flex: 0 0 calc((100% - 1.75rem) / 3 - 90px);
    max-width: 242px;
    min-width: 0;
}

.pv-display[b-arul068v7y] {
    grid-column: 2 / 5;
}

.pv-first[b-arul068v7y],
.pv-type[b-arul068v7y] {
    grid-column: 2 / 4;
}

.pv-spec[b-arul068v7y] {
    grid-column: 4;
}

.pv-subspec[b-arul068v7y] {
    grid-column: 5 / 7;
}

/* Spans NPI and Type code: a duplicate-number notice reads as one line there, and wraps to three
   inside a 150px column. */
.pv-warn[b-arul068v7y] {
    grid-column: 1 / 4;
}

/* Two of the three equal tracks, so a multi-select ends where Specialty and Cell phone end rather
   than running the full width of the card. */
.pv-two-thirds[b-arul068v7y] {
    grid-column: span 2;
}

.pv-full[b-arul068v7y] {
    grid-column: 1 / -1;
}
/* /Components/Schedule/AppointmentPresence.razor.rz.scp.css */
.appointment-presence[b-4tr6ektsk3] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .35rem;
    min-width: 0;
    font-size: .8125rem;
    color: var(--iws-text-secondary);
}

.appointment-presence[hidden][b-4tr6ektsk3] { display: none; }

.appointment-presence-avatar[b-4tr6ektsk3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    color: var(--iws-text-on-accent);
    font-size: .6875rem;
    font-weight: 600;
    flex: 0 0 auto;
}

.appointment-presence-avatar.is-away[b-4tr6ektsk3] { opacity: .7; }

.appointment-presence-name[b-4tr6ektsk3] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Schedule/SlotHoldPresence.razor.rz.scp.css */
.slot-hold-presence[b-xrnlasqwso] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .35rem;
    min-width: 0;
    padding: .35rem .6rem;
    border: 1px solid var(--iws-warning-border);
    border-radius: 6px;
    background: var(--iws-warning-bg);
    font-size: .8125rem;
    color: var(--iws-warning-text);
}

.slot-hold-presence-label[b-xrnlasqwso] { font-weight: 600; }

.slot-hold-presence-avatar[b-xrnlasqwso] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    color: var(--iws-text-on-accent);
    font-size: .6875rem;
    font-weight: 600;
    flex: 0 0 auto;
}

.slot-hold-presence-avatar.is-away[b-xrnlasqwso] { opacity: .7; }

.slot-hold-presence-name[b-xrnlasqwso] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/SearchTypingHost.razor.rz.scp.css */
.iws-typing-host[b-4xd058469p] {
    display: contents;
}
/* /Components/Search/QuickSearchDialog.razor.rz.scp.css */
/* Transcribed from iws-clients/docs/global-search/global-search-v2-web.html, which is the
   implementation reference for this popup: the measurements, the tints and the states below are
   that sheet's, not new decisions. v1 stays as history.

   The tokens are named there as --navy / --blue / --sky / --gray400 / --gray700 / --shell; here
   they are the app's own --medq-* so search cannot drift from the rest of the shell. */

/* The strip, the card, the gutter and the base bar are AppIWSChrome's; this is what the card holds.
   It was drawn here first and the frame was transcribed from it, so the two used to be one design in
   two files that drifted — the rules that did the drifting are gone and the frame is now the only
   copy. What is left below is the search and its two panes, which no other surface has. */
.qs[b-l7we8yku72] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    font-family: Roboto, "Segoe UI", system-ui, sans-serif;
    color: var(--medq-black);
}

/* ----------------------------------------------------- buttons (DevExpress)

   Every button in the popup is a DxButton, and none of them is a Fluent button: they are tabs, 26px
   pills, filter chips and a close cross, each with its own size and its own hover. So the theme is
   undone once, here, and the shapes below are stated on top of nothing.

   It is undone through the theme's own variables rather than by restating each property, because
   the rules that read them are longer than anything this file can write — a variable set on the
   element itself decides the value no matter which rule does the reading. The variants are ::deep
   for the same reason the accordion is: the element wearing the class belongs to the component. */
.qs[b-l7we8yku72]  .dxbl-btn.qs-btn {
    --dxbl-btn-bg: transparent;
    --dxbl-btn-hover-bg: transparent;
    --dxbl-btn-active-bg: transparent;
    --dxbl-btn-color: inherit;
    --dxbl-btn-hover-color: inherit;
    --dxbl-btn-active-color: inherit;
    --dxbl-btn-border-color: transparent;
    --dxbl-btn-hover-border-color: transparent;
    --dxbl-btn-active-border-color: transparent;
    --dxbl-btn-border-width: 0;
    --dxbl-btn-border-radius: 0;
    --dxbl-btn-padding-x: 0;
    --dxbl-btn-padding-y: 0;
    --dxbl-btn-font-family: inherit;
    --dxbl-btn-font-size: inherit;
    --dxbl-btn-font-weight: inherit;
    --dxbl-btn-line-height: inherit;
    --dxbl-btn-letter-spacing: inherit;
    --dxbl-btn-text-decoration: none;
    --dxbl-btn-focus-outline-offset: 0;
    --dxbl-btn-btn-caption-padding-horizontal: 0;
    --dxbl-btn-btn-caption-padding-top: 0;
    --dxbl-btn-btn-caption-padding-bottom: 0;
    min-width: 0;
    box-shadow: none;
}

.modal-head[b-l7we8yku72] { flex: none; padding: 10px 14px 0; }
.search-row[b-l7we8yku72] { display: flex; align-items: center; }

/* Two thirds of the sheet's search box, in every dimension rather than in the type alone: a field
   whose text shrank inside a 48px box reads as a small word in a large frame. Height, padding, the
   gap to the glyph and the focus ring all come down together, so it stays the same control at a
   smaller size. The text and the glass are the theme's editor text and icon sizes instead, as in the
   app's other search boxes; the fallbacks are the classic themes' values. */
.qbox[b-l7we8yku72] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    height: 32px;
    padding: 0 7px 0 10px;
    border: 1px solid var(--medq-blue);
    border-radius: 5px;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--iws-brand) 18%, transparent);
}

.qbox > svg[b-l7we8yku72] { width: var(--dxds-spacing-200, 1rem); height: var(--dxds-spacing-200, 1rem); flex: none; color: var(--iws-heading); }

/* The patient options glass is drawn at 1rem everywhere else (app.css, with !important); here it is
   the box's glass and takes the same size as the plain one. */
.qbox[b-l7we8yku72]  .qs-patient-search .iws-patient-search-glass .iws-dx-icon {
    width: var(--dxds-spacing-200, 1rem) !important;
    height: var(--dxds-spacing-200, 1rem) !important;
}

/* The editor is DevExpress, so the clear button already has the 1.6rem hit area and the .9rem
   glyph the sheet draws by hand. Only its chrome comes off: the box around it is the .qbox.

   Fluent draws an editor as an underline — grey at rest on the border-bottom, and a 2px accent bar
   on ::after while focused. A border reset reaches the first and not the second, so the theme's own
   variables switch both off, the way the grid neutralises its in-place editors. */
.qbox[b-l7we8yku72]  .qs-patient-search { flex: 1; min-width: 0; }

/* The search box's own frame comes off too: here the .qbox is the frame. */
.qbox[b-l7we8yku72]  .qs-patient-search .iws-patient-search-field {
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
}

.qbox[b-l7we8yku72]  .qs-patient-search .iws-patient-search-field:focus-within::after { content: none; }

.qbox[b-l7we8yku72]  .q,
.qbox[b-l7we8yku72]  .q.dxbl-text-edit,
.qbox[b-l7we8yku72]  .qs-patient-search .iws-patient-search-input.dxbl-text-edit {
    --dxbl-text-edit-border-width: 0;
    --dxbl-text-edit-bg: transparent;
    --dxbl-text-edit-box-shadow: none;
    --dxbl-text-edit-underline-color: transparent;
    --dxbl-text-edit-underline-hovered-color: transparent;
    --dxbl-text-edit-underline-focused-color: transparent;
    --dxbl-text-edit-underline-active-color: transparent;
    flex: 1;
    height: auto;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.qbox[b-l7we8yku72]  .q input,
.qbox[b-l7we8yku72]  .qs-patient-search .iws-patient-search-input input {
    font-size: var(--dxds-font-size-base-md, .875rem);
    padding: 0;
    background: transparent;
}

/* ---------------------------------------------------------------- tab strip */

.tabs[b-l7we8yku72] {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 10px 2px 0;
    flex-wrap: nowrap;
}

/* A tab is an underline, so the border comes back on one edge after the reset took all four. */
.qs[b-l7we8yku72]  .tab {
    padding: 6px 10px 1px;
    border-bottom: 2px solid transparent;
    font-size: 12.5px;
    color: var(--medq-gray-700);
    white-space: nowrap;
    cursor: pointer;
}

.qs[b-l7we8yku72]  .tab.is-active {
    color: var(--medq-navy);
    font-weight: 700;
    border-bottom-color: var(--medq-navy);
}

/* The All and Administration rule is stated on the strip itself, so it costs no vertical band. */
.tabs-hint[b-l7we8yku72] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--medq-gray-400);
    white-space: nowrap;
    padding-bottom: 5px;
}

.tabs-hint svg[b-l7we8yku72] { width: 12px; height: 12px; }

.tabs-rule[b-l7we8yku72] { height: 1px; background: var(--iws-border); margin: 0 -14px; }

/* The control is the three-bar filter glyph and not a chevron: a chevron says "more of this", and
   what opens is a different thing from the list under it. */
.qs[b-l7we8yku72]  .filters-toggle {
    position: relative;
    margin-left: auto;
    margin-bottom: 5px;
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 50%;
    color: var(--medq-gray-400);
    cursor: pointer;
}

.qs[b-l7we8yku72]  .filters-toggle svg { width: 16px; height: 16px; }

/* Open is a pressed toggle, not a slightly darker glyph. */
.qs[b-l7we8yku72]  .filters-toggle.is-open { background: var(--iws-tint); color: var(--medq-navy); }

/* Shut but filtered: the control still has to say so, or a short list reads as a bug. */
.qs[b-l7we8yku72]  .filters-toggle.has-filters::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--medq-blue);
    border: 1.5px solid var(--iws-surface);
}

/* In an open catalog the filter control is not on a row of its own with chips beside it: it stands
   in a column down the card's right edge under the header's add button, and a 26px circle among
   24px squares is a control off its neighbours' centre line by a pixel. Sized to them there and
   left alone on the record tabs, where it is the only thing of its kind on the line. */
.area-filters[b-l7we8yku72]  .filters-toggle { margin-bottom: 0; width: 24px; height: 24px; }

/* -------------------------------------------------------------------- chips */

.chips[b-l7we8yku72] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 8px 2px 2px;
}

/* Applied filters: a soft filled tile. The type is muted and the value carries the weight. An
   applied chip is a span of ours and the one that adds a filter is a button, so this reaches past
   the scope to dress them both alike — which is the point of a chip row. */
.chips[b-l7we8yku72]  .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 8px;
    border-radius: 4px;
    background: var(--iws-surface-sunken);
    border: 1px solid var(--iws-border-subtle);
    color: var(--medq-gray-700);
    font-size: 11.5px;
    font-weight: 400;
}

.chips .chip b[b-l7we8yku72] { font-weight: 600; color: var(--iws-text-muted); }

/* The pill's face is what opens its options, so it fills the tile rather than sitting in it. */
.chips[b-l7we8yku72]  .chip-face {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    cursor: pointer;
}

/* A value is capped, not wrapped: a pill states which filter is on, and a long value that grew the
   tile would push the pills after it — and the row itself — out of the line they are read on. */
.chips .chip .chip-val[b-l7we8yku72] {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Asked for and not yet answered. The tile is drawn as the open question it is. */
.chips[b-l7we8yku72]  .chip.is-asking { background: var(--iws-surface); border-style: dashed; }

.chips .chip.is-asking .chip-val[b-l7we8yku72] { color: var(--iws-text-faint); }

/* A flag is its glyph and nothing else: square, dashed like + Add filter beside it, and carrying
   no ✕ — the filter cannot be taken off a row it is furniture on, and the mark already says which
   way it sits. Grey is off and navy is on, which is the one thing this control has to say.

   Said under .qs and stated in full, unlike every other chip here, because this is the one chip
   drawn in two places: on the row where a tab has other filters, and at the head of the card where
   it is the tab's only one. Left to inherit the tile from `.chips .chip` it had no size at all in
   the second place — a button with no box and an SVG with no width, which is to say nothing on
   screen. It follows those rules in the file so it still wins inside the row. */
.qs[b-l7we8yku72]  .chip-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 4px;
    background: transparent;
    border: 1px dashed var(--iws-border);
    color: var(--iws-text-faint);
    cursor: pointer;
}

.qs[b-l7we8yku72]  .chip-flag > svg { width: 14px; height: 14px; }

.qs[b-l7we8yku72]  .chip-flag:hover { color: var(--iws-text-muted); border-color: var(--iws-border-strong); }

.qs[b-l7we8yku72]  .chip-flag.is-on {
    background: var(--iws-tint);
    border-color: var(--medq-navy-700, var(--iws-heading));
    border-style: solid;
    color: var(--medq-navy-700, var(--iws-heading));
}

/* Clear is a word and not a tile: it acts on the whole row, so it is not one of the things on it. */
.chips[b-l7we8yku72]  .chip-clear {
    color: var(--iws-text-muted);
    font-size: 11.5px;
    text-decoration: underline;
    cursor: pointer;
}

.chips[b-l7we8yku72]  .chip-clear:hover { color: var(--medq-navy-700, var(--iws-heading)); }

/* The filter menu and a pill's options are the same list: one line per choice, full width, named
   in the practice's language. Drawn inside a DevExpress drop-down, which the theme dresses — only
   what is authored here is reachable from this stylesheet, and that is the list itself. */
.drop-menu[b-l7we8yku72] { display: flex; flex-direction: column; min-width: 0; }

.drop-menu[b-l7we8yku72]  .drop-item {
    display: flex;
    justify-content: flex-start;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--medq-gray-700);
    cursor: pointer;
}

.drop-menu[b-l7we8yku72]  .drop-item:hover { background: var(--iws-surface-sunken); }

.drop-menu[b-l7we8yku72]  .drop-item.is-on { color: var(--medq-navy-700, var(--iws-heading)); font-weight: 600; }

/* The patient field groups of + Add filter: a small caps heading over its fields. */
.drop-group[b-l7we8yku72] {
    padding: 7px 8px 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--iws-text-muted);
}

/* A value row: switch left, word right, the whole row clickable because the word is a label for
   the switch inside it. */
.drop-row[b-l7we8yku72] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--medq-gray-700);
    cursor: pointer;
}

.drop-row:hover[b-l7we8yku72] { background: var(--iws-surface-sunken); }

.chips[b-l7we8yku72]  .chip .x {
    color: var(--iws-text-faint);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.chips[b-l7we8yku72]  .chip-add {
    background: transparent;
    border: 1px dashed var(--iws-border);
    color: var(--iws-text-faint);
    font-weight: 500;
    cursor: pointer;
}

/* On the card's filter line rather than under it: the chips take the line and the toggle keeps its
   right-hand end. Its own padding is dropped because the line already carries the card's, and it
   wraps within its share rather than pushing the toggle off the edge. */
.chips-inline[b-l7we8yku72] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 4px 0;
}

/* ------------------------------------------------------ body: list and rail */

/* The closing 10px is the body's, not each column's: a column that clips its own overflow clips at
   its border box, so a list padded from below still cuts rows past where the rail card ends.

   The single row is named rather than left implicit. An auto row is sized by its content and keeps
   that size when the content is taller than the grid, which hands both columns — and everything
   below them that asks for a share of its parent — a height nobody bounded. minmax(0, 1fr) makes the
   row exactly the body it sits in, which is what the min-height: 0 and overflow: auto further down
   are written against.

   The list is a share of the body up to a ceiling, and the rail takes whatever is left. A row holds
   a name, an identifier and a facility and is done: past about 450px the extra width is white space
   between the same three fields, while the rail is a grid of three columns and a pair of lists that
   can always use it. The share is kept as a percentage rather than an fr so that the ceiling binds
   only where there is width to spare — dragged down to the popup's 800px floor, the columns divide
   as they always did instead of the list holding 450px of it. */
.modal-body[b-l7we8yku72] {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, min(42.5%, 450px)) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
    padding-bottom: 10px;
    background: var(--iws-surface-subtle);
}

/* Rows that carry five fields each get the same width as the rail rather than the 1 : 1.35 the
   patient sheet uses; a catalog value, which has no chart and no timeline, gets the narrowest.
   The same ceiling: a wider share of a wide sheet is still a row with nothing more to say. */
.modal-body.is-even[b-l7we8yku72] { grid-template-columns: minmax(0, min(50%, 450px)) minmax(0, 1fr); }
.modal-body.is-catalog[b-l7we8yku72] { grid-template-columns: minmax(0, min(55.5%, 450px)) minmax(0, 1fr); }
/* A single-area tab fills the column with one card that scrolls its own rows, so the column itself
   never overflows. All and Administration stack cards of their natural height instead, and two open
   accordions are already more than the frame holds — so the column scrolls as well. Horizontally it
   still clips: a row that is too narrow for its fields truncates, it does not widen the list. */
.results[b-l7we8yku72] {
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 10px 6px 0 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* One card per area: the grid inside is the content, the card is only its container. A single-scope
   tab builds its card here; All and Administration get theirs from the accordion, whose group
   element is dressed as this same card further down. */
.area[b-l7we8yku72] {
    flex: none;
    background: var(--iws-surface);
    border: 1px solid var(--iws-border-subtle);
    border-radius: 8px;
    box-shadow: 0 1px 2px color-mix(in srgb, var(--iws-shadow) 41%, transparent), 0 1px 6px color-mix(in srgb, var(--iws-shadow) 33%, transparent);
    overflow: hidden;
    width: 100%;
}

/* The single card of a scope tab, filling the column. The rows scroll inside it and the card does
   not, so the create offers under them stay on its bottom edge however many rows there are. */
.area-fill[b-l7we8yku72] {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.area-grid[b-l7we8yku72] { display: flex; flex-direction: column; }

.area-fill > .area-grid[b-l7we8yku72] { flex: 1; min-height: 0; overflow-y: auto; }

/* The tab's create offers, at the foot of the card whether the search found rows or none. Inset by
   the pill's own padding so the first word starts on the rows' edge. */
.area-create[b-l7we8yku72] {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 8px;
    padding: 8px 3px 10px;
    border-top: 1px solid var(--iws-border-subtle);
}

/* A card on All shows five rows and scrolls the rest, so the cards under it keep their captions on
   screen: a tab that answers everywhere is unreadable if the first answer fills it. A page is ten
   rows, so this is half of one — 5 × the row height stated under .res. Nothing caps a scope tab or
   an open catalog, where one list is the whole point of the column. */
.area-capped[b-l7we8yku72] { max-height: calc(5 * 56px); overflow-y: auto; }

/* Administration's filter line, at the head of the open card's body: the chips along it and the
   control that reveals them at its far end, centred on each other. */
.area-filters[b-l7we8yku72] { display: flex; align-items: center; gap: 6px; padding: 0 10px; }

/* The flag stands where the toggle stood, which is the right-hand end — the toggle's own
   `margin-left: auto`, said again for the control that replaces it. Only where it does replace it,
   which is as a child of this line: inside the chip row the flag is one chip among them, and the
   rule reached it there and shoved it, + Add filter and Clear along with it, against the toggle. */
.area-filters[b-l7we8yku72] >  .chip-flag { margin-left: auto; }

/* ------------------------------------------------- the rows (DevExpress grid)

   The rows are a DxGrid of a single templated column, so what comes off here is a data grid's
   furniture: a header band for a column with no caption, cell padding around a row that sets its
   own, a 240px floor the results column goes under at the popup's smallest width, and the surface
   colour of a table standing on a card that is already white. */
.area-grid[b-l7we8yku72]  .qs-grid {
    --dxbl-grid-min-width: 0;
    --dxbl-grid-text-cell-padding-x: 0;
    --dxbl-grid-text-cell-padding-y: 0;
    --dxbl-grid-bg: transparent;
    --dxbl-grid-border-width: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Nothing to caption and nothing to sort by: the column is whole rows. */
.area-grid[b-l7we8yku72]  .qs-grid .dxbl-grid-table > thead { display: none; }

/* Laid out from the column and not from the content: a row truncates its name where the card is too
   narrow for it, and an automatic table would instead take its width from the longest name it holds
   and hand the column a horizontal scrollbar in place of the ellipsis. */
.area-grid[b-l7we8yku72]  .qs-grid .dxbl-grid-table {
    table-layout: fixed;
    width: 100%;
}

/* The row is the template inside the cell, so the cell is only a box around it. */
.area-grid[b-l7we8yku72]  .qs-grid .dxbl-grid-table > tbody > tr > td { padding: 0; border: 0; }
/* Both panes centre on the same axis and take the same padding, so the two headings share a
   baseline: an extra pad on one card reads as a half-line of drift across the split. */
.empty-pane[b-l7we8yku72] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.empty-pane .t[b-l7we8yku72] { font-size: 14px; font-weight: 600; color: var(--medq-navy); }

/* Two lines' worth whether the hint wraps or not: centring the block instead would hang the
   one-line pane's heading lower than the two-line pane's. */
.empty-pane .h[b-l7we8yku72] {
    font-size: 12px;
    color: var(--medq-gray-700);
    margin-top: 6px;
    width: 250px;
    line-height: 1.35;
    min-height: 33px;
    text-wrap: balance;
}

/* ------------------------------------------------ the accordion (DevExpress)

   All and Administration are DevExpress accordions, so the cards there are its group elements
   dressed as the sheet's. Every rule is ::deep because that markup is the component's and not ours,
   and the paddings come off through the theme's own variables wherever its selectors run longer than
   anything this file can state — the same reason the popup body is reset that way.

   What is being undone is a navigation pane: a borderless strip, generous padding on three nested
   elements, a round icon button for the caret, and a tinted header on hover and while open. What is
   wanted is a card with a quiet caption sitting straight on top of its rows. */

/* The cards stand at their own height and the column scrolls past them, rather than the accordion
   stretching to the column and dealing its height out among them: an open card is capped at five
   rows, so what each one wants is already known and there is nothing to distribute. */
.results[b-l7we8yku72]  .dxbl-accordion { --dxbl-accordion-item-spacing: 8px; }

/* The card. The gap goes because the theme spaces a group's header from its body, and here the
   caption sits directly on the first row. */
.results[b-l7we8yku72]  .dxbl-accordion-group {
    gap: 0;
    background: var(--iws-surface);
    border: 1px solid var(--iws-border-subtle);
    border-radius: 8px;
    box-shadow: 0 1px 2px color-mix(in srgb, var(--iws-shadow) 41%, transparent), 0 1px 6px color-mix(in srgb, var(--iws-shadow) 33%, transparent);
    overflow: hidden;
}

/* The caption row, which is a heading in the theme and a label here. Its own padding is set
   directly; the padding of the two elements nested inside it is named through their variables. */
.results[b-l7we8yku72]  .dxbl-accordion-group-header {
    min-height: 26px;
    padding: 7px 10px 5px;
    border: 0;
    --dxbl-accordion-group-header-content-padding-x: 0;
    --dxbl-accordion-group-header-content-padding-y: 0;
    --dxbl-accordion-group-header-text-padding-y: 0;
    --dxbl-accordion-group-header-hover-bg: transparent;
    --dxbl-accordion-group-header-selected-bg: transparent;
    --dxbl-accordion-group-header-active-bg: transparent;
}

/* The caption of the card, not a heading. The rows underneath are the content, so this stays grey,
   unbolded and unfilled: it says which area you are in and nothing louder. */
.results[b-l7we8yku72]  .dxbl-accordion-item-text-container {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--medq-gray-400);
}

/* The caret, which the theme gives a round button's plate, padding and hover. It is a glyph here,
   and a 1rem one: the app's icons are masks of that size, and the header's 10px of padding plus this
   and its gap put the caption where the hand-drawn caret left it. */
.results[b-l7we8yku72]  .dxbl-accordion-group-header > .dxbl-group-expand-btn {
    --dxbl-btn-padding-x: 0;
    --dxbl-btn-padding-y: 0;
    --dxbl-btn-border-width: 0;
    --dxbl-btn-bg: transparent;
    --dxbl-btn-hover-bg: transparent;
    --dxbl-btn-hover-color: inherit;
    --dxbl-btn-active-bg: transparent;
    min-width: 1rem;
    width: 1rem;
    margin-right: 8px;
    color: var(--medq-gray-400);
}

.results[b-l7we8yku72]  .dxbl-accordion-group-body { display: flex; flex-direction: column; }

/* Dimmed is not a found count of 0: this list exists and is simply not served yet. Inert with it,
   so the card cannot be opened onto rows that are not there. */
.results[b-l7we8yku72]  .area-soon { opacity: .55; pointer-events: none; }

/* The list name is what you are choosing in Administration, not a quiet area caption as on All. */
.modal-body.is-catalog[b-l7we8yku72]  .dxbl-accordion-item-text-container {
    font-weight: 600;
    color: var(--medq-gray-700);
}

/* The caption and its add button on one line, the button pushed to the card's far edge so it reads
   as belonging to the catalog rather than to the word. */
.results[b-l7we8yku72]  .area-head {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.results[b-l7we8yku72]  .area-cap { flex: 1 1 auto; }

/* A quiet plus until the pointer is on it. Loud enough to find, never loud enough to compete with
   the catalog it sits beside.

   Square and sized to the filter flag, and pulled back out of the text container's own horizontal
   padding — which the theme states through a variable of its own, not through either of the header
   paddings zeroed above, so 6px of it survived everything else in this block. Between them the two
   put the add button 16px in from the card's edge and the flag 10px, one under the other down the
   right-hand side of an open card and neither on the other's centre line. Same size on the same
   line is the whole rule; taking it from the theme's variable keeps it true if the accordion is
   ever asked for at another size. */
.results[b-l7we8yku72]  .area-add {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: calc(-1 * var(--dxbl-accordion-group-item-content-padding-x, .375rem));
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
    color: var(--medq-gray-500);
    background: transparent;
}

.results[b-l7we8yku72]  .area-add:hover {
    border-color: var(--iws-border);
    background: var(--iws-tint);
    color: var(--medq-navy);
}

/* Said inside the open catalog, under its filters: the caption has the count, this has the offer. */
.results[b-l7we8yku72]  .area-none {
    padding: 14px;
    color: var(--medq-gray-500);
    font-size: 12px;
}

.qs-sentinel[b-l7we8yku72] { height: 1px; }

/* -------------------------------------------------------------------- rows */

.res[b-l7we8yku72] {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 14px;
    border-bottom: 1px solid var(--iws-border-subtle);
    position: relative;
    cursor: pointer;
}

/* The rule between rows, not under the list: the last row of the table ends on the card's edge. */
.area-grid[b-l7we8yku72]  tbody > tr:last-child .res { border-bottom: 0; }

.res.is-sel[b-l7we8yku72] { background: var(--iws-selected); box-shadow: inset 3px 0 0 var(--medq-navy); }
.res.is-hover[b-l7we8yku72] { background: var(--iws-tint); }

/* The cluster floats over the row's right end and never re-pads the row, so a mouse crossing five
   rows does not reflow five rows of text. The row's own metadata is masked, not moved. */
.hover-bar[b-l7we8yku72] {
    display: flex;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

/* No container means nothing masks the row's own metadata, so the fade runs under the pills rather
   than stopping at their left edge, and it matches the hovered row, not the selected one. */
.hover-bar.is-stack[b-l7we8yku72]::before {
    content: "";
    position: absolute;
    right: -10px;
    top: -6px;
    bottom: -6px;
    width: 170px;
    background: linear-gradient(90deg, transparent, var(--iws-tint) 78%);
    pointer-events: none;
}

.hover-bar.is-stack[b-l7we8yku72]  .pill {
    position: relative;
    z-index: 1;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--iws-surface);
    border-color: var(--iws-border-subtle);
    color: var(--medq-navy);
    box-shadow: 0 1px 3px color-mix(in srgb, var(--iws-shadow) 82%, transparent);
}

.hover-bar.is-stack[b-l7we8yku72]  .pill:hover {
    background: var(--medq-blue);
    border-color: var(--medq-blue);
    color: var(--iws-text-on-accent);
}

.ava[b-l7we8yku72] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex: none;
    overflow: hidden;
    background: var(--medq-sky);
    color: var(--iws-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ava img[b-l7we8yku72] { width: 100%; height: 100%; object-fit: cover; }
.res.is-sel .ava[b-l7we8yku72] { background: var(--iws-accent); color: var(--iws-text-on-accent); }
.ava-ic[b-l7we8yku72] { border-radius: 5px; background: var(--iws-tint); color: var(--medq-navy); }
.ava-ic svg[b-l7we8yku72] { width: 16px; height: 16px; }

.res-text[b-l7we8yku72] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.l1[b-l7we8yku72], .l2[b-l7we8yku72] { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.l1 .nm[b-l7we8yku72] { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.l2 .sub[b-l7we8yku72] {
    font-size: 11.5px;
    color: var(--medq-gray-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meta[b-l7we8yku72] {
    margin-left: auto;
    flex: none;
    font-size: 11.5px;
    color: var(--medq-gray-700);
    white-space: nowrap;
}

.meta-mono[b-l7we8yku72] { font-family: "Ubuntu Mono", Consolas, monospace; }

/* The same chip as Patients, Worklist and Tasks — one Active / Inactive, not a search-only amber.
   Only the size is search's: the shared rule is in rem and every row here is measured in px. */
.status-tag[b-l7we8yku72] { font-size: 10px; }

/* Who has the patient open in Edit Patient: their initials on the row and beside the rail's name. */
.editing-badge[b-l7we8yku72] {
    flex: none;
    display: inline-block;
    padding: 0 6px;
    border-radius: 999px;
    color: var(--iws-text-on-accent);
    font-size: 10px;
    line-height: 16px;
    font-weight: 600;
    vertical-align: middle;
    white-space: nowrap;
}

/* Which tab a recent row belongs to, where the list mixes tabs (All, Administration). */
.scope-tag[b-l7we8yku72] {
    flex: none;
    padding: 1px 6px;
    border: 1px solid var(--iws-border-subtle);
    border-radius: 999px;
    background: var(--iws-surface-subtle);
    color: var(--medq-gray-700);
    font-size: 10px;
    font-weight: 600;
}

/* The heading over a recent list. A label and not a caption: it carries no count. */
.area-recent[b-l7we8yku72] {
    flex: none;
    padding: 10px 14px 6px;
    color: var(--medq-gray-500);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.area-recent-rows[b-l7we8yku72] { margin-bottom: 8px; border-bottom: 1px solid var(--iws-border-subtle); }

.qs[b-l7we8yku72]  .pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--medq-navy);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.qs[b-l7we8yku72]  .pill:hover { background: var(--medq-blue); border-color: var(--medq-blue); color: var(--iws-text-on-accent); }

/* A pill the app cannot carry out yet: drawn, quiet, and it does not answer the pointer. */
.qs[b-l7we8yku72]  .pill:disabled,
.qs[b-l7we8yku72]  .pill:disabled:hover {
    background: transparent;
    border-color: transparent;
    color: var(--medq-gray-400);
    cursor: default;
}

/* -------------------------------------------------------------------- rail */

.preview[b-l7we8yku72] { padding: 10px 12px 0 6px; display: flex; min-height: 0; }

.pv-card[b-l7we8yku72] {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--iws-surface);
    border: 1px solid var(--iws-border-subtle);
    border-radius: 10px;
    box-shadow: 0 1px 2px color-mix(in srgb, var(--iws-shadow) 33%, transparent), 0 6px 18px color-mix(in srgb, var(--iws-shadow) 41%, transparent);
    overflow: hidden;
}

.pv-card[b-l7we8yku72]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--iws-selected-strong), var(--medq-sky), var(--medq-blue), var(--medq-sky), var(--iws-selected-strong));
}

.pv-scope[b-l7we8yku72] {
    flex: none;
    padding: 10px 14px 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--iws-brand);
    background: linear-gradient(180deg, var(--iws-tint) 0%, var(--iws-surface-subtle) 100%);
}

/* Identity and actions do not scroll away; facts and Recent may.

   A column rather than a block, so the two lists at the foot can be told to take what is left of
   the card: a rail is a fixed height and the grid above them is as tall as that record's facts, so
   the space under a short grid was simply unused. Everything above the foot sizes to its content
   and none of it shrinks, so a record with facts enough to overflow scrolls as it always did. */
.pv-top[b-l7we8yku72] { flex: none; padding: 4px 14px 0; background: linear-gradient(180deg, var(--iws-surface-subtle) 0%, var(--iws-surface) 72%); }

.pv-scroll[b-l7we8yku72] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0 14px 14px;
    display: flex;
    flex-direction: column;
}
.pv-head[b-l7we8yku72] { display: flex; gap: 10px; align-items: flex-start; }

.pv-ava[b-l7we8yku72] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex: none;
    overflow: hidden;
    background: var(--iws-accent);
    color: var(--iws-text-on-accent);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-ava img[b-l7we8yku72] { width: 100%; height: 100%; object-fit: cover; }

/* The name block sizes to the widest line in it — the name or the number under it — and the grid
   starts where it ends. Capped at 200px before, which cut a number off mid-digit while the grid
   beside it had room to spare. It may still be shrunk, but only once the grid is down to its own
   floor, and then the ellipsis is the truth: there is no room left in the rail. */
.pv-id[b-l7we8yku72] { flex: 0 1 auto; width: max-content; min-width: 0; }
.pv-name[b-l7we8yku72] { font-size: 16px; line-height: 19px; font-weight: 700; color: var(--medq-navy); }

.pv-sub[b-l7we8yku72] {
    font-size: 12px;
    line-height: 15px;
    font-weight: 400;
    color: var(--medq-black);
    padding: 5px 0 0 8px;
    width: 0;
    min-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Unlabelled contact under the DOB: phone if present, else email. This line sets the block's width
   where it is the widest thing in it, so a number is read whole and the grid begins after it — a
   number held to the name's width was ellipsized at a digit, which is worse than a shorter grid.
   Kept on one line, and clipped only when the whole row has run out. */
.pv-contact[b-l7we8yku72] {
    font-size: 12px;
    line-height: 15px;
    font-weight: 400;
    color: var(--medq-black);
    padding-left: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* A floor, not a share: below about this the four cells are labels with a character each after
   them, which is a grid that has stopped saying anything. The name block gives up its width first
   and this holds. */
.pv-demo[b-l7we8yku72] {
    flex: 1;
    min-width: 250px;
    display: grid;
    grid-template-columns: minmax(108px, 0.55fr) minmax(0, 1fr);
}

.pv-demo .cell[b-l7we8yku72] { padding: 0 10px 2px; border-right: 1px solid var(--iws-border); min-width: 0; }
.pv-demo .cell:first-child[b-l7we8yku72],
.pv-demo .cell:nth-child(3)[b-l7we8yku72] { padding-left: 12px; }
.pv-demo .cell:nth-child(2n)[b-l7we8yku72] { border-right: 0; padding-right: 0; }

/* The rule under the first row, drawn only where there is a second row to divide it from: a record
   rail always sends four cells, but a catalog value sends as many as it has — an employer is a
   phone and an address — and the rule under a single row is a line under nothing. */
.pv-demo .cell:nth-child(-n+2):nth-last-child(n+3)[b-l7we8yku72] {
    border-bottom: 1px solid var(--iws-border);
    margin-bottom: 3px;
}

.pv-demo .field-caption[b-l7we8yku72],
.pv-f .field-caption[b-l7we8yku72],
.pv-recent > .field-caption[b-l7we8yku72],
.pv-history > .field-caption[b-l7we8yku72],
.pv-appts > .field-caption[b-l7we8yku72],
.sum-f .field-caption[b-l7we8yku72],
.sum-cap[b-l7we8yku72],
.stat span[b-l7we8yku72] {
    display: block;
    font-size: 9.5px;
    line-height: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--medq-gray-400);
}

.pv-demo span[b-l7we8yku72] {
    display: block;
    font-size: 12px;
    line-height: 15px;
    font-weight: 400;
    color: var(--medq-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    /* A field with nothing on file keeps its cell, so the height has to come from the box and not
       from the text: an empty block draws no line at all, and the cell would close up under a label
       the server sent on purpose. line-height as a floor, since that is the height a filled one is. */
    min-height: 15px;
}

/* Four actions where the sheet drew two, so the row wraps rather than pushing the last one out of
   the card: a rail is read after a record has been chosen, and an action it cannot show is one the
   user would go looking for on another screen. */
.pv-actions[b-l7we8yku72] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-top: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--iws-border-subtle);
}

/* The one action that changes the record rather than opening it, in the colour the rest of the app
   gives that button. Quiet until it is pointed at: a rail is not a warning. */
.qs[b-l7we8yku72]  .pill-danger { color: var(--list-tone-danger-text, var(--iws-danger-text)); }

.qs[b-l7we8yku72]  .pill-danger:hover {
    background: var(--list-tone-danger-text, var(--iws-danger-text));
    border-color: var(--list-tone-danger-text, var(--iws-danger-text));
    color: var(--iws-text-on-accent);
}

/* An action refused, said where it was asked for. Only ever one line, and only on a refusal. */
.pv-failed[b-l7we8yku72] {
    padding-bottom: 8px;
    color: var(--list-tone-danger-text, var(--iws-danger-text));
    font-size: 11.5px;
}

/* What is outstanding, and it is never the part that gives way: a count clipped to "9 open ta" is
   a number a reader has to open the tasks to trust. It keeps 90px whatever the episode wants and
   grows past that for a longer phrase. Vertical padding is the episode strip's, since the two are
   one bar and a seam between two heights is a join that reads as a mistake. */
.pv-alert[b-l7we8yku72] {
    flex: none;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 4px;
    background: var(--iws-warning-bg);
    border: 1px solid var(--iws-warning-border);
    color: var(--iws-warning-text);
    font-size: 11.5px;
    white-space: nowrap;
}

/* The line above the grid: what the patient is here for, then what is outstanding on them. One
   sentence, so one bar: the two blocks are flush and fill the row, the episode taking whatever the
   alert does not. They were held apart first at the far edges of the band and then by its 10px
   gap, and a void between two filled blocks reads as something missing rather than as nothing.

   One line, and it stays one line. Wrapping put the alert under the episode and spent a second row
   of the rail on two short phrases; the episode is the one that gives way, ending in an ellipsis.

   Stretched rather than centred because they are joined: two blocks of the same height meeting on
   one seam, not two chips of their own heights sitting near each other. */
.pv-band[b-l7we8yku72] { display: flex; align-items: stretch; flex-wrap: nowrap; gap: 0; }

/* Fills the row beside the alert, and is the whole of it when there is none. */
.pv-band > .pv-ep[b-l7we8yku72] { flex: 1 1 auto; }
.pv-band > :only-child[b-l7we8yku72] { flex: 1 1 auto; }

/* The seam. The radii go where the two meet, and the 1px pull puts their borders on top of each
   other so the join is one line rather than two. Either block on its own is untouched: a lone
   alert keeps four corners, as it always had. */
.pv-band > .pv-ep:not(:only-child)[b-l7we8yku72] { border-top-right-radius: 0; border-bottom-right-radius: 0; }

.pv-band > .pv-alert:not(:only-child)[b-l7we8yku72] {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Open is green and closed is grey, in the two tones the chart's own episode chip uses — the same
   episode read in two places must not be two colours. The tint is on the strip and not on a chip
   inside it, because whether there is a course of care running is the first thing read here. */
.pv-ep[b-l7we8yku72] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid;
    border-radius: 4px;
    font-size: 11.5px;
}

.pv-ep.open[b-l7we8yku72] { border-color: var(--iws-success-border); background: var(--iws-success-bg); color: var(--iws-success-text); }
.pv-ep.closed[b-l7we8yku72] { border-color: var(--iws-muted-border); background: var(--iws-muted-bg); color: var(--medq-gray-700); }
/* The three that never give way, so what shrinks is always the tail behind them. */
.pv-ep strong[b-l7we8yku72],
.ep-status[b-l7we8yku72],
.ep-green[b-l7we8yku72] { flex: none; white-space: nowrap; }

.pv-ep strong[b-l7we8yku72] { font-size: 12px; }
.ep-status[b-l7we8yku72], .ep-green[b-l7we8yku72] { font-weight: 700; }
.ep-green[b-l7we8yku72] { display: inline-flex; align-items: center; gap: 4px; }
.pv-ep[b-l7we8yku72]  svg { width: 11px; height: 11px; }

/* How big the episode is and when it was last served are facts about it rather than more of its
   name, so they trail the strip the way they end the chart's header row — and being the tail, they
   are what the ellipsis eats when the band is narrow. The number, the status and the green-path
   mark hold their width: they are the reasons the strip is read at all. */
.ep-count[b-l7we8yku72] {
    flex: 0 1 auto;
    min-width: 0;
    padding-left: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: .85;
}

.pv-grid[b-l7we8yku72] { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 16px; row-gap: 10px; }

/* An appointment's grid, where the line about the patient is a name, an MRN, a date of birth, an
   email and a number to ring: five fields that answer one question and so belong on one line. Three
   columns put the number on a line of its own, under a label and beside nothing. An address has no
   spaces to wrap at, so it breaks anywhere rather than running under the number beside it. */
.pv-grid.is-five[b-l7we8yku72] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pv-grid.is-five .pv-f span[b-l7we8yku72] { overflow-wrap: anywhere; }

.pv-f.span-2[b-l7we8yku72] { grid-column: span 2; }

/* The first fact of a topic, back on the left. Whatever dropped out of the topic above leaves its
   line short rather than pulling this one up into it — a line is a topic, and a short line says so
   more clearly than a full one that starts in the middle of a subject. */
.pv-f.line-start[b-l7we8yku72] { grid-column-start: 1; }

/* min-height for the same reason the identity block has one: a fixed topic keeps the cell of a
   field with nothing on file, and an empty block draws no line, so the label would sit on top of
   the line below it. */
.pv-f span[b-l7we8yku72] {
    display: block;
    font-size: 12px;
    line-height: 15px;
    min-height: 15px;
    font-weight: 400;
    color: var(--medq-black);
    margin-top: 2px;
}

/* ------------------------------------------- rail: a provider's offices
   A card each, because an office is a name and a contact block and a provider can work out of
   several. Rows of a glyph and its value: the glyph is the caption, so the card spends its width on
   the address and not on the word "address". */

.pv-offices[b-l7we8yku72] { margin-top: 14px; }
.pv-offices > .field-caption[b-l7we8yku72] { margin-bottom: 4px; }

.pv-office[b-l7we8yku72] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 7px 9px;
    border: 1px solid var(--iws-border-subtle);
    border-radius: 4px;
    background: var(--iws-surface-subtle);
}

.pv-office + .pv-office[b-l7we8yku72] { margin-top: 6px; }

.o-head[b-l7we8yku72] {
    display: flex;
    align-items: baseline;
    gap: 40px;
    min-width: 0;
}

/* Shrinks before the badge does, so a long name ellipses rather than pushing Primary off the
   card. Not flex: 1 — the badge reads as the name's and follows it, instead of standing at the
   far edge of a card the name may only half fill. */
.o-name[b-l7we8yku72] {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--medq-navy-700, var(--iws-heading));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The office this provider works out of first. Beside the name on its own row, a gap away, quiet
   enough that the name is still what the eye lands on. */
.o-primary[b-l7we8yku72] {
    flex: none;
    padding: 1px 6px;
    border-radius: 8px;
    background: var(--iws-tint);
    color: var(--medq-navy-700, var(--iws-heading));
    font-size: 9.5px;
    line-height: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* flex-start, not centre: an address long enough to wrap keeps its glyph on the first line rather
   than floating it halfway down the value. */
.o-row[b-l7we8yku72] {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
    font-size: 12px;
    line-height: 15px;
    color: var(--medq-black);
}

/* A fixed gutter so the values line up down the card whichever glyph names them. ::deep because the
   glyph is drawn by SharedIcon and app.css sizes every one of them at 1.35rem — a ribbon button's
   size, four times what a line of address text can carry. */
.o-ico[b-l7we8yku72] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 15px;
    color: var(--medq-gray-400);
}
.o-ico[b-l7we8yku72]  svg { width: 11px; height: 11px; }

.o-val[b-l7we8yku72] { min-width: 0; }

/* Phone and fax share a row: both are short and fixed-width, so neither needs the whole of it. */
.o-pair[b-l7we8yku72] { display: flex; gap: 14px; min-width: 0; }
.o-pair .o-val[b-l7we8yku72] { white-space: nowrap; }

.o-clip[b-l7we8yku72] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------- rail: the two foot lists
   What the patient is treated for, beside what has been done to the record. Two equal columns, and
   whichever of them is sent alone takes the width — a reader who may not audit the file, or may not
   read a history, is not shown half a rail. */

/* Takes what is left of the card under the grid and no more than that: `flex-basis: 0`, so the foot
   asks for none of the height its rows would need and is given what the grid above it did not use.
   Sized to its content it demanded room for all twenty rows, and the card scrolled instead of the
   list — the one scrollbar a foot of two fixed lists must never produce, since it carries the head
   and the pills away with it. What the rows need beyond the height granted is the list's to scroll.

   The floor is **stated**, and it has to be. A flex item whose overflow is visible takes its minimum
   from its content, so `flex-basis: 0` alone bought nothing: the foot still claimed every row its
   lists held, and the card scrolled as before. 135px is the five rows the lists floor at (120px)
   under their heading (11px of line, 4px under it) — below that the card scrolls, which is the one
   case where it should. */
.pv-foot[b-l7we8yku72] {
    margin-top: 14px;
    flex: 1 1 0;
    min-height: 135px;
    display: flex;
    gap: 16px;
    align-items: stretch;
}

/* Each column is its heading and then its list, the list taking the rest of the column's height. */
.pv-foot > *[b-l7we8yku72] { flex: 1 1 0; min-width: 0; min-height: 0; display: flex; flex-direction: column; }

/* Five rows is the floor, not the ceiling. A row is 24px — 15px of line, 8px of padding, 1px of
   rule — so a list is at least 120px and scrolls inside whatever height it is given; where the card
   has room it is taller than five and fewer histories need scrolling at all. A long history still
   cannot push the rail's actions out of reach, and deeper than what shows is fetched either way,
   because the last line drawn is not the end of what there is. */
.pv-list[b-l7we8yku72] { flex: 1 1 auto; min-height: 120px; overflow-y: auto; }

.pv-history > .field-caption[b-l7we8yku72],
.pv-appts > .field-caption[b-l7we8yku72],
.pv-recent > .field-caption[b-l7we8yku72] { margin-bottom: 4px; }

.pv-list .r[b-l7we8yku72] {
    display: flex;
    gap: 10px;
    font-size: 12px;
    line-height: 15px;
    padding: 4px 0;
    border-top: 1px solid var(--iws-border-subtle);
}

/* The left of a row is fixed and short — a timestamp, or a vocabulary and its code — and the right
   takes what is left of the column and clips. */
.pv-list .r .when[b-l7we8yku72],
.pv-list .r .code[b-l7we8yku72] { color: var(--medq-gray-700); white-space: nowrap; }
.pv-list .r .what[b-l7we8yku72] { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* A problem is three things and the column reads them as three: the vocabulary, the code, and what
   it is. The first two share the top line and the name takes the line under them, because beside a
   pill and a code it had about 150px and every description in this vocabulary is longer than that —
   a name clipped at "Personal history of nicotine depe" is the one part of the row nobody can
   reconstruct, while a code is exact at any width. Two lines is its ceiling: a third would cost the
   list a row and a diagnosis is named inside two. */
.pv-history .pv-list .r[b-l7we8yku72] {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 8px;
    row-gap: 1px;
}

/* One width for all three vocabularies, set by the longest of them, so ICD-9 and ICD-10 are padded
   out to SNOMED's width rather than each starting its code somewhere of its own. Centred inside it:
   a pill padded on one side only is a label that has been nudged. */
.pv-history .r .sys[b-l7we8yku72] {
    min-width: 58px;
    padding: 0 6px;
    border: 1px solid var(--iws-border-subtle);
    border-radius: 9px;
    background: var(--medq-gray-100, var(--iws-surface-subtle));
    font-size: 9.5px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: .03em;
    text-align: center;
    white-space: nowrap;
    color: var(--medq-gray-700);
}

/* Tabular figures: a column of codes is read down, and proportional digits stagger it. */
.pv-history .r .code[b-l7we8yku72] { font-variant-numeric: tabular-nums; }

.pv-history .r .what[b-l7we8yku72] {
    grid-column: 1 / -1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    white-space: normal;
    color: var(--medq-black);
}

/* A problem the patient no longer has. Greyed rather than dropped: it is history, and history is
   what this column is. The word travels with it for a reader who is not looking at the colour. */
.pv-list .r.past .code[b-l7we8yku72],
.pv-list .r.past .what[b-l7we8yku72] { color: var(--medq-gray-400); }

/* The pill greys with the row, frame and fill included: a resolved problem with a live-looking
   vocabulary beside it reads as two states in one row. */
.pv-history .r.past .sys[b-l7we8yku72] {
    color: var(--medq-gray-400);
    border-color: var(--iws-border-subtle);
    background: var(--iws-surface-subtle);
}

/* An appointment's state, in a cell of its own between the time and the subject: it is the word the
   colour belongs to, and a subject tinted green would read as the text itself meaning something. */
.pv-appts .r .st[b-l7we8yku72] { flex: none; font-weight: 500; }

/* A line of the diary is coloured only while it is still to happen — an appointment ahead is a
   thing to act on, one behind is a record and keeps the list's ink. The accents are the schedule
   tab's own (--apt-accent / --apt-ink per kind), so a booking is the same green in the rail as on
   the card it came from. Every row carries the 3px of edge whether or not it is filled, so a colour
   landing on one row never shifts the text of the rest. */
.pv-appts .pv-list .r[b-l7we8yku72] { border-left: 3px solid transparent; padding-left: 7px; }
.pv-appts .r.is-next[b-l7we8yku72] { border-left-color: var(--iws-success-tone); }
.pv-appts .r.is-next .st[b-l7we8yku72] { color: var(--iws-success-text); }
.pv-appts .r.is-held[b-l7we8yku72] { border-left-color: var(--iws-warning-tone); }
.pv-appts .r.is-held .st[b-l7we8yku72] { color: var(--iws-warning-text); }

/* Given up: neither ahead nor behind, so it is greyed rather than coloured by when it was. The row
   still says the word, as a resolved problem does. */
.pv-appts .r.is-void[b-l7we8yku72] { border-left-color: var(--iws-border); }
.pv-appts .r.is-void .st[b-l7we8yku72],
.pv-appts .r.is-void .what[b-l7we8yku72] { color: var(--medq-gray-400); }

/* ------------------------------------------------- rail: a catalog value */

.sum-head[b-l7we8yku72] { flex: none; padding: 6px 14px 0; background: linear-gradient(180deg, var(--iws-surface-subtle) 0%, var(--iws-surface) 72%); }

/* The head row a record rail draws, without the avatar: the name block sizes to its content and
   the identity grid takes the rest. Catalog values that send no grid are unaffected — the name
   block is the row's only child and the row lays out as the block did. */
.sum-top[b-l7we8yku72] { display: flex; gap: 10px; align-items: flex-start; }
.sum-id[b-l7we8yku72] { flex: 0 1 auto; width: max-content; max-width: 200px; min-width: 0; }

.sum-name[b-l7we8yku72] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    color: var(--medq-navy);
}

.sum-sub[b-l7we8yku72] { font-size: 12px; line-height: 15px; color: var(--medq-black); margin-top: 2px; }

.sum-actions[b-l7we8yku72] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 9px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--iws-border-subtle);
}

.sum-note[b-l7we8yku72] { font-size: 11.5px; color: var(--medq-gray-400); }
.sum-body[b-l7we8yku72] { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 14px 14px; }
.sum-grid[b-l7we8yku72] { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 10px; }
.sum-f.span-2[b-l7we8yku72] { grid-column: span 2; }
.sum-f span[b-l7we8yku72] { display: block; font-size: 12px; line-height: 15px; color: var(--medq-black); margin-top: 2px; }
.sum-cap[b-l7we8yku72] { margin: 16px 0 6px; }

/* The one thing staff ask of master data is what hangs off it — but only the links the schema
   actually has. Tiles size to their content, so one counter does not stretch into a banner. */
.sum-stats[b-l7we8yku72] { display: flex; flex-wrap: wrap; gap: 8px; }

.stat[b-l7we8yku72] {
    flex: 0 1 auto;
    min-width: 128px;
    padding: 8px 10px;
    border: 1px solid var(--iws-border-subtle);
    border-radius: 8px;
    background: var(--iws-surface-subtle);
}

.stat b[b-l7we8yku72] { display: block; font-size: 16px; line-height: 19px; font-weight: 700; color: var(--medq-navy); }
.stat span[b-l7we8yku72] { margin-top: 3px; }
/* /Components/Settings/DistributionPdfTemplates.razor.rz.scp.css */
.pdf-folders[b-i4bqwg1vyw] {
    display: grid;
    grid-template-columns: max-content minmax(220px, 460px) max-content;
    align-items: center;
    gap: 6px 10px;
}

.pdf-folders label[b-i4bqwg1vyw] {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--iws-heading);
}

.pdf-card[b-i4bqwg1vyw] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--iws-border);
    border-radius: 6px;
    background: var(--iws-surface);
    min-width: 0;
    overflow: hidden;
}

.pdf-bar[b-i4bqwg1vyw] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 7px 8px;
    border-bottom: 1px solid var(--iws-border);
}

.pdf-spacer[b-i4bqwg1vyw] {
    flex: 1 1 auto;
}

.pdf-card .pdf-table[b-i4bqwg1vyw] {
    border: 0;
    border-radius: 0;
}

.pdf-foot[b-i4bqwg1vyw] {
    padding: 7px 10px;
    border-top: 1px solid var(--iws-border);
    font-size: 0.75rem;
    color: var(--iws-muted-text);
}

.pdf-name[b-i4bqwg1vyw] {
    font-weight: 600;
}

.pdf-sub[b-i4bqwg1vyw] {
    display: block;
    font-size: 0.72rem;
    color: var(--iws-muted-text);
}

.pdf-bad[b-i4bqwg1vyw] {
    color: var(--iws-danger-text);
    font-weight: 600;
}

.pdf-mono[b-i4bqwg1vyw],
[b-i4bqwg1vyw] .pdf-mono input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.pdf-editor[b-i4bqwg1vyw] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 380px;
}

.pdf-two[b-i4bqwg1vyw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
}

.pdf-tab-count[b-i4bqwg1vyw] {
    display: inline-block;
    padding: 0 6px;
    border-radius: 8px;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.5;
    background: var(--iws-tint);
    color: var(--iws-accent);
}

.pdf-find-sum[b-i4bqwg1vyw] {
    margin: 0;
}

.pdf-find[b-i4bqwg1vyw] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.pdf-find label[b-i4bqwg1vyw] {
    margin: 0;
}

.pdf-find[b-i4bqwg1vyw]  .pdf-find-box {
    width: 220px;
    max-width: 100%;
}

.pdf-find[b-i4bqwg1vyw]  .pdf-discover-use {
    width: 180px;
}

.pdf-facilities[b-i4bqwg1vyw] {
    width: 100%;
    border: 1px solid var(--iws-border);
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.pdf-facilities th[b-i4bqwg1vyw] {
    padding: 6px 10px;
    background: var(--iws-tint);
    color: var(--iws-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
}

.pdf-facilities td[b-i4bqwg1vyw] {
    padding: 5px 10px;
    border-top: 1px solid var(--iws-border-subtle);
    vertical-align: middle;
}

.pdf-facilities .sw[b-i4bqwg1vyw] {
    width: 90px;
    text-align: center;
}

.pdf-facilities .act[b-i4bqwg1vyw] {
    width: 120px;
    text-align: right;
    white-space: nowrap;
}

/* Discover files: the path takes what the status and the action leave, on one line. */
.pdf-discover[b-i4bqwg1vyw] {
    table-layout: fixed;
}

.pdf-discover col.st[b-i4bqwg1vyw] {
    width: 140px;
}

.pdf-discover col.act[b-i4bqwg1vyw] {
    width: 84px;
}

.pdf-discover .pdf-path[b-i4bqwg1vyw] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pdf-discover .pdf-state[b-i4bqwg1vyw] {
    white-space: nowrap;
}

.pdf-why[b-i4bqwg1vyw] {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 2px;
    border: 0;
    border-radius: 4px;
    background: none;
    color: var(--iws-warning-tone);
    vertical-align: middle;
    cursor: pointer;
}

.pdf-why:hover[b-i4bqwg1vyw],
.pdf-why[aria-expanded="true"][b-i4bqwg1vyw] {
    background: var(--iws-tint);
}

.pdf-why[b-i4bqwg1vyw]  svg {
    width: 15px;
    height: 15px;
}

.pdf-why-text[b-i4bqwg1vyw] {
    font-size: 0.8125rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.pdf-note[b-i4bqwg1vyw] {
    margin: 0;
}

@media (max-width: 720px) {
    .pdf-folders[b-i4bqwg1vyw],
    .pdf-two[b-i4bqwg1vyw] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Settings/DistributionRecipientDialog.razor.rz.scp.css */
/* Laid out as Add encounter details: the choice on the left, its value on a tinted pane on the right. */
.rcp[b-64b91eq59v] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    min-height: 18rem;
}

.rcp-options[b-64b91eq59v] {
    max-height: 22rem;
    overflow: auto;
    padding-right: 0.35rem;
}

.rcp-value[b-64b91eq59v] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 0.75rem 0.5rem 1rem;
    border-left: 1px solid var(--iws-border-subtle);
    background: var(--iws-surface-subtle);
}

.rcp-table[b-64b91eq59v] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.74rem;
}

.rcp-table th[b-64b91eq59v] {
    padding: 4px 9px;
    border-bottom: 1px solid var(--iws-border-subtle);
    color: var(--iws-heading);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
}

.rcp-table td[b-64b91eq59v] {
    padding: 0;
    border-bottom: 1px solid var(--iws-border-subtle);
    vertical-align: middle;
}

.rcp-table td:last-child[b-64b91eq59v] {
    width: 34%;
}

.rcp-table td button[b-64b91eq59v] {
    display: block;
    width: 100%;
    padding: 5px 9px;
    border: 0;
    background: transparent;
    color: var(--iws-heading);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.rcp-table tr:hover td[b-64b91eq59v] {
    background: var(--iws-surface-subtle);
}

.rcp-table tr.is-picked td[b-64b91eq59v] {
    background: var(--iws-selected);
}

.rcp-table tr.is-picked td button[b-64b91eq59v] {
    font-weight: 700;
}

.rcp-from[b-64b91eq59v] {
    padding-right: 9px;
    color: var(--iws-text-secondary);
    font-size: 0.66rem;
    white-space: nowrap;
}

.rcp-cap[b-64b91eq59v] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 0 2px;
}

.rcp-cap > span:first-child[b-64b91eq59v] {
    color: var(--iws-text-secondary);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.rcp-chip[b-64b91eq59v] {
    display: inline-block;
    max-width: 100%;
    padding: 1px 6px 2px;
    border: 1px solid var(--iws-selected-strong);
    border-radius: 9px;
    background: var(--iws-tint);
    color: var(--iws-brand);
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rcp-prompt[b-64b91eq59v] {
    margin: 0;
    padding: 14px 2px;
    color: var(--iws-text-faint);
    font-size: 0.72rem;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

.rcp-note[b-64b91eq59v],
.rcp-count[b-64b91eq59v] {
    margin: 0;
    color: var(--iws-text-faint);
    font-size: 9px;
    line-height: 1.45;
}

.rcp-count[b-64b91eq59v] {
    color: var(--iws-text-secondary);
}

.rcp-list[b-64b91eq59v] {
    display: flex;
    flex-direction: column;
    max-height: 13rem;
    overflow: auto;
    border: 1px solid var(--iws-border);
    border-radius: 4px;
    background: var(--iws-surface);
}

.rcp-check[b-64b91eq59v] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 4px 9px;
    border-bottom: 1px solid var(--iws-border-subtle);
    color: var(--iws-heading);
    font-size: 0.74rem;
    font-weight: 400;
    cursor: pointer;
}

.rcp-check:hover[b-64b91eq59v] {
    background: var(--iws-surface-subtle);
}

.rcp-check.is-picked[b-64b91eq59v] {
    background: var(--iws-selected);
}

.rcp-value[b-64b91eq59v]  .rcp-mono input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rcp-copies[b-64b91eq59v] {
    max-width: 120px;
    margin-top: auto;
}
/* /Components/Settings/FacilityChannelTypeDialog.razor.rz.scp.css */
.fds-title[b-nxe5ytwwyg] {
    margin-top: 16px;
}

.fds-pdf-row[b-nxe5ytwwyg] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fds-pdf-row .form-section-title[b-nxe5ytwwyg] {
    margin: 0;
}

.fds-pdf-row[b-nxe5ytwwyg]  .fds-pdf-combo {
    width: 240px;
}

.fds-footer-note[b-nxe5ytwwyg] {
    margin-right: auto;
}
/* /Components/Settings/FacilityDistributionSection.razor.rz.scp.css */
.fds-title[b-hiw07iy27j] {
    margin-top: 16px;
}

.fds-pill[b-hiw07iy27j] {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 12px;
    background: var(--iws-chip-bg, rgba(0, 0, 0, 0.06));
    white-space: nowrap;
}

.fds-pill--primary[b-hiw07iy27j] {
    font-weight: 600;
}

.fds-pill-role[b-hiw07iy27j] {
    opacity: 0.7;
}

.fds-state[b-hiw07iy27j] {
    display: inline-block;
    padding: 1px 9px;
    border: 1px solid var(--iws-border);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--iws-muted-text);
    background: var(--iws-surface);
    white-space: nowrap;
}

.fds-state--on[b-hiw07iy27j] {
    border-color: var(--iws-success-border, var(--iws-success-text));
    color: var(--iws-success-text);
    background: var(--iws-success-bg);
}

.fds-arrow[b-hiw07iy27j] {
    margin: 0 4px;
    opacity: 0.6;
}
/* /Components/Settings/ScheduleColorEditor.razor.rz.scp.css */
.schedule-colors[b-5dajzvhc2c] {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

/* One line per entry, tops aligned. Tone takes one line of tiles when the row has room for it and
   only what the card and hex fields leave when it does not, its tiles wrapping onto more lines. The
   hex fields are as wide as #rrggbb; Border also holds its clear button. */
.schedule-color-row[b-5dajzvhc2c] {
    display: grid;
    grid-template-columns: 11rem auto 6rem 7.25rem;
    justify-content: start;
    gap: .75rem;
    align-items: start;
}

/* Drawn as the calendar draws a card (Schedule.razor.css .schedule-apt): tinted fill, accent bar down
   the left edge, a border mixed from the accent, text in the ink. */
.schedule-color-preview[b-5dajzvhc2c] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-height: 2.6rem;
    padding: .3rem .5rem .3rem .8rem;
    border: 1px solid;
    border-radius: .45rem;
    overflow: hidden;
    font-size: .8rem;
}

.schedule-color-bar[b-5dajzvhc2c] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: .42rem;
}

.schedule-color-caption[b-5dajzvhc2c] {
    font-weight: 600;
}

.schedule-color-time[b-5dajzvhc2c] {
    opacity: .85;
}

.schedule-color-tiles[b-5dajzvhc2c] {
    min-width: 0;
}

/* The palette draws its tiles as a fixed table; laid out as a wrapping row instead, so a narrow row
   makes it taller rather than pushing it past its border. */
.schedule-color-tiles[b-5dajzvhc2c]  .dxbl-color-palette {
    max-width: 100%;
}

.schedule-color-tiles[b-5dajzvhc2c]  .dxbl-color-palette > table {
    display: block;
}

.schedule-color-tiles[b-5dajzvhc2c]  .dxbl-color-palette > table > tbody {
    display: flex;
    flex-wrap: wrap;
    gap: var(--dxbl-color-palette-table-spacing);
    padding: var(--dxbl-color-palette-table-spacing);
}

.schedule-color-tiles[b-5dajzvhc2c]  .dxbl-color-palette > table > tbody > tr {
    display: contents;
}

.schedule-color-tiles[b-5dajzvhc2c]  .dxbl-color-palette > table > tbody > tr > td {
    padding: 0;
}

/* A phone has no line wide enough for the card and both fields beside the tiles. */
@media (max-width: 640px) {
    .schedule-color-row[b-5dajzvhc2c] {
        grid-template-columns: 6rem 7.25rem;
    }

    .schedule-color-card[b-5dajzvhc2c],
    .schedule-color-tiles[b-5dajzvhc2c] {
        grid-column: 1 / -1;
    }

    .schedule-color-card .field-caption[b-5dajzvhc2c] {
        display: none;
    }
}
/* /Components/Settings/TrackingTracePanel.razor.rz.scp.css */
.trace[b-eyg6hq1jja] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 4px 12px;
}

.trace-title[b-eyg6hq1jja],
.trace-section-title[b-eyg6hq1jja] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--iws-heading);
}

.trace-section-title[b-eyg6hq1jja] {
    margin-top: 6px;
}

.trace[b-eyg6hq1jja]  .trace-title-icon svg {
    width: 0.85rem;
    height: 0.85rem;
}

[b-eyg6hq1jja] .trace-grid {
    --dxbl-grid-font-size: 0.75rem;
    border: 1px solid var(--iws-border-subtle);
    border-radius: 4px;
    background: var(--iws-surface);
}

.trace-log-head[b-eyg6hq1jja] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 28px;
}

.trace-log-head .trace-title[b-eyg6hq1jja] {
    margin-bottom: 0;
}

.trace-link[b-eyg6hq1jja] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--iws-brand);
    font-size: 0.72rem;
    cursor: pointer;
}

.trace-link:hover[b-eyg6hq1jja] {
    text-decoration: underline;
}

.trace-link[b-eyg6hq1jja]  svg,
[b-eyg6hq1jja] .trace-copy svg {
    width: 0.8rem;
    height: 0.8rem;
}

[b-eyg6hq1jja] .trace-copy {
    gap: 6px;
}

[b-eyg6hq1jja] .trace-level {
    width: 140px;
}

[b-eyg6hq1jja] .trace-st {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 7px;
    border-radius: 9px;
    font-size: 0.62rem;
    font-weight: 700;
}

[b-eyg6hq1jja] .trace-st.ok {
    background: var(--iws-success-bg);
    color: var(--iws-success-text);
}

[b-eyg6hq1jja] .trace-st.wait {
    background: var(--iws-warning-bg);
    color: var(--iws-warning-text);
}

[b-eyg6hq1jja] .trace-st.bad {
    background: var(--iws-danger-bg);
    color: var(--iws-danger-text);
}

[b-eyg6hq1jja] .trace-error {
    color: var(--iws-danger-text);
}

.trace-detail[b-eyg6hq1jja] {
    margin: 4px 0 0;
    padding: 8px;
    max-height: 320px;
    overflow: auto;
    white-space: pre-wrap;
    border: 1px solid var(--iws-border-subtle);
    border-radius: 4px;
    background: var(--iws-surface-subtle);
    font-size: 0.7rem;
}

[b-eyg6hq1jja] .trace-level-error {
    color: var(--iws-danger-text);
    font-weight: 600;
}

[b-eyg6hq1jja] .trace-level-warning {
    color: var(--iws-warning-text);
}

[b-eyg6hq1jja] .trace-level-info {
    color: var(--iws-text-secondary);
}
/* /Components/SharedIcon.razor.rz.scp.css */
.shared-icon[b-yh23hvuft5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: inherit;
}

/* MarkupString SVGs are not scoped — pierce isolation */
[b-yh23hvuft5](svg) {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
    fill: currentColor;
}

.shared-icon.status-home-icon[b-yh23hvuft5] (svg) {
    width: 0.95rem;
    height: 0.95rem;
}
/* /Components/Tasks/TaskAddDialog.razor.rz.scp.css */
.task-add-hint[b-hy5vlyablz] {
    margin-top: -0.25rem;
    opacity: 0.75;
}

/* Two fixed columns, so a field's row is decided here rather than by the dialog's width. Rows as
   close as the diagnosis dialog's, the compact model the chart's dialogs share. */
.task-form[b-hy5vlyablz] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0.75rem;
}

/* Where a new block starts: who the task is about, then when it is due and who does it. */
.task-form-block[b-hy5vlyablz] {
    margin-top: 0.5rem;
}

/* Due date and time side by side at their own widths, not stretched across the row. */
.task-form-when[b-hy5vlyablz] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.task-form-when > .form-field[b-hy5vlyablz] {
    flex: 0 0 10rem;
}

/* Priority takes what the row has left: "Critical (STOP workflow)" is longer than a date. */
.task-form-when > .form-field:last-child[b-hy5vlyablz] {
    flex: 1 1 10rem;
}

.form-field .task-form-patient[b-hy5vlyablz] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.task-form-patient[b-hy5vlyablz]  svg {
    width: 0.8rem;
    height: 0.8rem;
    flex: none;
}
/* /Components/Tasks/TaskNotesField.razor.rz.scp.css */
.task-notes-field[b-kxub3jbaz1]  .task-notes { width: 100%; }
.task-notes-text[b-kxub3jbaz1] { margin: 0; color: var(--medq-black); font-size: 12px; line-height: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.task-notes-empty[b-kxub3jbaz1] { color: var(--medq-gray-700); font-size: .72rem; }
.task-notes-error[b-kxub3jbaz1] { margin-top: .4rem; }
/* /Components/Tasks/TaskRail.razor.rz.scp.css */
/* The Tasks side panel. The card is the workspace rail's own frame — border, radius, white — and the
   rest is the mockups' look: navy kicker, captions above values, links in the app blue, hairlines only
   above the two sections. The whole of it scrolls; there is no action bar to keep below it. */
.task-rail[b-asdmiqn7xg] {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--iws-border);
    border-radius: .35rem;
    background: var(--iws-surface);
}

.task-rail.is-loading[b-asdmiqn7xg] { opacity: .55; transition: opacity .12s ease-in; }
.detail-empty[b-asdmiqn7xg] { display: grid; place-items: center; min-height: 20rem; color: var(--medq-gray-700); }
.detail-scroll[b-asdmiqn7xg] { overflow-y: auto; padding: .85rem; }

.task-rail-top[b-asdmiqn7xg] { display: grid; gap: .6rem; justify-items: start; padding-bottom: .75rem; }
.task-rail-top > *[b-asdmiqn7xg] { max-width: 100%; }
/* Task# and category on the left, the pencil at the far right of the same line. */
.task-rail-head[b-asdmiqn7xg] { display: flex; align-items: center; gap: .5rem; width: 100%; }
.task-rail-kicker[b-asdmiqn7xg] { color: var(--medq-navy); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.task-rail-kicker-number[b-asdmiqn7xg] { margin-right: 1rem; color: var(--medq-gray-400, var(--iws-text-faint)); font-weight: 400; }

.task-rail-title[b-asdmiqn7xg] { margin: 0; color: var(--medq-black); font-size: 1.05rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.task-rail-pencil[b-asdmiqn7xg] {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: .15rem;
    border: 0;
    background: transparent;
    color: var(--list-tone-muted);
    cursor: pointer;
}
.task-rail-pencil:hover[b-asdmiqn7xg] { color: var(--medq-navy); }
.task-rail-pencil + .task-rail-discuss[b-asdmiqn7xg] { margin-left: 0; }
.task-rail-pencil[b-asdmiqn7xg]  svg { width: 1.15rem; height: 1.15rem; }

/* Due date and the date beside it share a row in two equal columns; every other field takes the width. */
.task-rail-pair[b-asdmiqn7xg] { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; width: 100%; }
.task-rail-field[b-asdmiqn7xg] { display: grid; gap: .15rem; justify-items: start; min-width: 0; width: 100%; }
/* Caption and value as the chart's patient band writes them. Pixels, not rem, so the computed sizes
   are exactly 11 / 13 / 15. */
.task-rail-caption[b-asdmiqn7xg] { color: var(--iws-caption); font-size: 11px; line-height: 13px; text-transform: uppercase; letter-spacing: .05em; }
.task-rail-value[b-asdmiqn7xg] { color: var(--medq-black, var(--iws-text)); font-size: 13px; line-height: 16px; overflow-wrap: anywhere; }
/* An overdue task's Due date: a red box sized to its text, the caption reading Overdue and by how long. */
.task-rail-field.task-rail-overdue[b-asdmiqn7xg] {
    justify-self: start;
    width: auto;
    padding: .3rem .55rem;
    border: 1px solid var(--iws-danger-border);
    border-radius: .3rem;
    background: var(--iws-danger-bg);
}
.task-rail-overdue .task-rail-caption[b-asdmiqn7xg],
.task-rail-overdue .task-rail-value[b-asdmiqn7xg] { color: var(--iws-danger-tone); }
.task-rail-overdue .task-rail-value[b-asdmiqn7xg] { font-weight: 600; }
.task-rail-overdue .task-rail-caption[b-asdmiqn7xg],
.task-rail-overdue .task-rail-value[b-asdmiqn7xg] { white-space: nowrap; }
.task-rail-overdue-by[b-asdmiqn7xg] { margin-left: .45rem; text-transform: none; letter-spacing: normal; }
/* Pressed, it opens the small due-date pop-up under itself. */
.task-rail-overdue.is-editable[b-asdmiqn7xg] { font: inherit; text-align: left; cursor: pointer; }
.task-rail-overdue.is-editable:hover:not(:disabled)[b-asdmiqn7xg],
.task-rail-overdue.is-editable[aria-expanded="true"][b-asdmiqn7xg] { border-color: var(--iws-danger-tone); }
.task-rail-overdue.is-editable:focus-visible[b-asdmiqn7xg] { outline: 2px solid var(--iws-danger-tone); outline-offset: 1px; }
.task-rail-overdue.is-editable:disabled[b-asdmiqn7xg] { cursor: default; }
.task-due-quick[b-asdmiqn7xg] { display: grid; gap: .6rem; }
.task-due-presets[b-asdmiqn7xg] { display: flex; gap: .4rem; flex-wrap: wrap; }
.task-due-fields[b-asdmiqn7xg] { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(7rem, 8rem); gap: .5rem; }
/* In the body rather than the flyout's footer, whose own padding pulls Save in from the editors' edge. */
.task-due-actions[b-asdmiqn7xg] { display: flex; justify-content: flex-end; gap: .6rem; padding-top: .2rem; }
.task-due-fields .form-field[b-asdmiqn7xg] { display: grid; gap: .2rem; }
.task-due-quick .message[b-asdmiqn7xg] { margin: 0; }
.task-rail-fields[b-asdmiqn7xg] { display: grid; gap: .55rem; }
.task-rail-facts[b-asdmiqn7xg] { padding-bottom: .75rem; }
.task-rail-episode-no[b-asdmiqn7xg] { color: var(--medq-black); margin-right: .3rem; }

/* A link that is a button underneath, for the keyboard and screen readers. */
.task-rail-link[b-asdmiqn7xg] {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--iws-value-link);
    font: inherit;
    font-size: 13px;
    line-height: 16px;
    text-align: left;
    cursor: pointer;
}
.task-rail-patient[b-asdmiqn7xg] { font-size: 15px; line-height: 19px; }
.task-rail-link:hover:not(:disabled)[b-asdmiqn7xg] { color: var(--medq-navy); text-decoration: underline; }
.task-rail-link:disabled[b-asdmiqn7xg] { color: var(--iws-text-faint); cursor: not-allowed; }
.task-rail-assign-me[b-asdmiqn7xg] { font-size: 11px; }

/* The inline Assignee reads as plain text until the pointer is over it; then a grey field with its
   chevron, and a click opens the searchable list. The editor is pulled left by its border and the
   input's padding, so its text starts where the caption above it starts. */
.task-rail-field[b-asdmiqn7xg]  .task-assignee-inline.dxbl-text-edit {
    --task-assignee-inset: calc(.375rem + 1px);
    box-sizing: border-box;
    width: calc(100% + var(--task-assignee-inset));
    margin-left: calc(-1 * var(--task-assignee-inset));
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}
.task-rail-field[b-asdmiqn7xg]  .task-assignee-inline .dxbl-text-edit-input {
    padding-left: .375rem;
    color: var(--medq-black, var(--iws-text));
    font-size: 13px;
    line-height: 18px;
    cursor: pointer;
}
.task-rail-field[b-asdmiqn7xg]  .task-assignee-inline.dxbl-text-edit:hover,
.task-rail-field[b-asdmiqn7xg]  .task-assignee-inline.dxbl-text-edit:focus-within { background: var(--iws-zone); }
.task-rail-field[b-asdmiqn7xg]  .task-assignee-inline > .dxbl-btn-group { visibility: hidden; }
.task-rail-field[b-asdmiqn7xg]  .task-assignee-inline:hover > .dxbl-btn-group,
.task-rail-field[b-asdmiqn7xg]  .task-assignee-inline:focus-within > .dxbl-btn-group { visibility: visible; }

/* One hairline above each section, inset to the card's padding by the scroll area around it. */
.task-rail-section[b-asdmiqn7xg] { padding: .65rem 0; border-top: 1px solid var(--iws-border-subtle); }
.task-rail-section-head[b-asdmiqn7xg] {
    display: flex;
    align-items: center;
    gap: .35rem;
    width: 100%;
    margin: 0 0 .45rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--medq-navy);
    cursor: pointer;
    text-align: left;
}
/* Shut, the heading is all there is, and the gap it keeps for the fields would pad only its bottom. */
.task-rail-section-head:last-child[b-asdmiqn7xg] { margin-bottom: 0; }
.task-rail-section-head[b-asdmiqn7xg]  svg { width: .7rem; height: .7rem; flex: none; }
.task-rail-section-head h3[b-asdmiqn7xg] { margin: 0; color: var(--medq-navy); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }

.task-rail-history[b-asdmiqn7xg] {
    margin: 0;
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    column-gap: .65rem;
    row-gap: .25rem;
    font-size: .78rem;
}
.task-rail-history dt[b-asdmiqn7xg] { color: var(--list-tone-muted-text); font-weight: 700; }
.task-rail-history dd[b-asdmiqn7xg] { margin: 0; color: var(--medq-black); overflow-wrap: anywhere; }
.empty-filter[b-asdmiqn7xg] { color: var(--medq-gray-700); font-size: .72rem; }

[b-asdmiqn7xg] .task-rail-notes { width: 100%; }
.task-rail-notes-text[b-asdmiqn7xg] { margin: 0; color: var(--medq-black); font-size: 13px; line-height: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.task-rail-section .message-error[b-asdmiqn7xg] { margin-top: .4rem; }
/* /Components/Worklist/FrontDeskRail.razor.rz.scp.css */
/* The Front Desk rail's own sheet: the chart's encounter rail (ChartEpisodesTab.razor.css), value for
   value, for the parts this rail draws — head band, facts strip, one column of blocks, the foot. A
   copy, because the chart's rules are scoped to the chart and neither rail changes when the other
   does. The blocks style themselves (ChartRailBlock.razor.css). */
.front-desk-rail[b-g0szbl4e66]{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid var(--iws-border);border-radius:6px;background:var(--iws-surface)}
.front-desk-rail.is-loading[b-g0szbl4e66]{opacity:.55;transition:opacity .12s ease-in}
.rail-empty[b-g0szbl4e66]{display:grid;place-items:center;min-height:14rem;padding:1rem;color:var(--medq-gray-700);font-size:.75rem;text-align:center}

.rail-top[b-g0szbl4e66]{flex:0 0 auto;padding:5px;background:var(--iws-tint);border-bottom:1px solid var(--iws-brand-faint);display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px 10px}
.rail-head[b-g0szbl4e66]{flex:1 1 auto;min-width:0}
.rail-kind[b-g0szbl4e66]{display:block;color:var(--medq-gray-700);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.09em}
.rail-top h2[b-g0szbl4e66]{margin:1px 0 2px;color:var(--medq-navy);font-size:15px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.rail-sub[b-g0szbl4e66]{color:var(--medq-blue);font-size:11px;line-height:1.35}
.rail-open-chart[b-g0szbl4e66]{flex:0 0 auto;align-self:flex-start;display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--medq-navy);cursor:pointer}
.rail-open-chart:hover[b-g0szbl4e66]{border-color:var(--iws-brand-faint);background:var(--iws-surface)}
.rail-open-chart:focus-visible[b-g0szbl4e66]{outline:2px solid var(--iws-focus);outline-offset:1px}
.rail-open-chart[b-g0szbl4e66]  svg{width:16px;height:16px}
.rail-scroll[b-g0szbl4e66]{flex:1 1 auto;min-height:0;overflow:auto;display:flex;flex-direction:column;padding:.85rem}
.rail-seal[b-g0szbl4e66]{flex:0 0 auto;margin:.1rem 0 .55rem;padding:.4rem .5rem;border:1px solid var(--iws-danger-border);border-radius:.25rem;background:var(--iws-danger-bg);color:var(--list-tone-danger-text);font-size:.7rem;line-height:1.35}
.rail-seal-comments[b-g0szbl4e66]{display:block;margin-top:.25rem;white-space:pre-line;overflow-wrap:anywhere}

.rail-facts[b-g0szbl4e66]{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:15px}
.rail-fact-cell[b-g0szbl4e66]{display:flex;flex-direction:column;gap:.1rem;min-width:0}
.rail-fact-k[b-g0szbl4e66]{color:var(--iws-caption);font-size:11px;line-height:13px;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rail-fact-v[b-g0szbl4e66]{min-width:0;color:var(--medq-navy);font-size:.72rem;font-weight:600;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rail-fact-v.is-cancelled[b-g0szbl4e66]{color:var(--list-tone-danger-text)}
.rail-fact-v.is-acc[b-g0szbl4e66]{display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .35rem;white-space:normal}
.rail-acc[b-g0szbl4e66]{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rail-facts-lead[b-g0szbl4e66]{flex:0 0 auto;padding-bottom:5px}
.rail-workflow[b-g0szbl4e66]{flex:0 0 auto;display:flex;flex-direction:column;gap:.15rem;padding:2px 0 8px}

.rail-blocks[b-g0szbl4e66]{display:flex;align-items:stretch;gap:0 12px;min-width:0}
.rail-col[b-g0szbl4e66]{position:relative;display:flex;flex-direction:column;flex:1 1 300px;min-width:0}
.rail-blocks[b-g0szbl4e66]  .rail-block{flex:none;min-width:0}

.rail-waiting[b-g0szbl4e66]{display:block;width:8rem;max-width:100%;height:.6rem;margin:.15rem 0;border-radius:.25rem;background:var(--iws-zone);opacity:.7;filter:blur(1px);animation:rail-waiting-b-g0szbl4e66 1.1s ease-in-out infinite}
@keyframes rail-waiting-b-g0szbl4e66{50%{background:var(--iws-surface-sunken)}}
@media(prefers-reduced-motion:reduce){.rail-waiting[b-g0szbl4e66]{animation:none}}

.rail-actions[b-g0szbl4e66]{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.55rem .85rem;border-top:1px solid var(--iws-border-subtle);background:var(--iws-surface-subtle)}
.rail-actions button[b-g0szbl4e66]{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:1.9rem;padding:.3rem .6rem;border:1px solid var(--medq-blue);border-radius:.25rem;background:var(--iws-surface);color:var(--medq-blue);font:inherit;font-size:.72rem;font-weight:700;white-space:nowrap;cursor:pointer}
.rail-actions button:disabled[b-g0szbl4e66]{border-color:var(--iws-border);color:var(--medq-gray-700);cursor:not-allowed}

.pacs-error[b-g0szbl4e66]{margin:.5rem 0 0;color:var(--list-tone-danger-text);font-size:.75rem}
/* /Layout/AppIWSChrome.razor.rz.scp.css */
/* The frame's own look. What wraps it — a modal popup or a non-modal window — is stripped back to an
   empty box of the stated size in app.css, and everything drawn inside it is here.

   A warning that governs most of this file: content handed in through Body carries the scope of the
   component that wrote it, not this one's, so any rule that reaches past this component's own markup
   has to go through ::deep. That includes every rule aimed at a field, and every rule aimed at an
   element DevExpress renders for us. */

.iws-frame[b-6ldyu0lqze] {
    display: flex;
    flex-direction: column;
    /* No stated height: the frame is as tall as its interior, so the space under the last row is the
       padding and not the leftover of a height someone picked. Only when the wrapper clamps it does
       an ancestor get a definite height — and only then does this percentage resolve and hand
       .iws-frame-work something to scroll against. */
    max-height: 100%;
    min-height: 0;
    font-family: Roboto, "Segoe UI", system-ui, sans-serif;
    color: var(--iws-text);
    /* A light gutter, so the interior below can sit on it as its own rounded card. */
    background: var(--iws-surface-sunken);
}

/* A window is held at the measured work area rather than sized by what is in it, so its card has to
   take the room instead of leaving the gutter running the whole way down. */
.iws-frame--fill[b-6ldyu0lqze] {
    height: 100%;
}

/* --------------------------------------------------------------------- the card */

/* Inset on every side so the gutter shows as a border, and the only element here that scrolls — the
   footer and the base stay put however long the interior runs. Sized by its content rather
   than stretched to fill, so it can still give way when the viewport is too short for the whole form. */
.iws-frame-work[b-6ldyu0lqze] {
    flex: 0 1 auto;
    min-height: 0;
    margin: 8px;
    border: 1px solid var(--iws-border-subtle);
    border-radius: 8px;
    background: var(--iws-surface);
    overflow: auto;
}

.iws-frame--fill .iws-frame-work[b-6ldyu0lqze] {
    flex: 1 1 auto;
}

/* A flush interior does its own scrolling, so the card must not also offer to. `auto` here would let
   the card scroll the panes as a block whenever they ask for more than it has — which is exactly the
   extra scrollbar flush mode exists to avoid — and `hidden` keeps the rounded corners clipping the
   interior, which is the other half of what the card is for. */
.iws-frame-work--flush[b-6ldyu0lqze] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* The interior is the card's only child in flush mode and takes all of it, which is what lets the panes
   inside measure against a definite height and scroll rather than run on. Through ::deep: the child is
   the caller's markup, and without it the rule only ever matched this component's own elements, so an
   interior with little in it shrank to its content and left the card empty below it. */
.iws-frame-work--flush[b-6ldyu0lqze]  > * {
    flex: 1 1 auto;
    min-height: 0;
}

/* A chart scrolls its areas under a band that stays put, so the card holds it at its own height rather
   than scrolling the band away with them. */
.iws-frame-work:has(.chart-panel)[b-6ldyu0lqze] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.iws-frame-work:has(.chart-panel) > .iws-frame-scroll[b-6ldyu0lqze] {
    flex: 1 1 auto;
    min-height: 0;
}

/* The PDF preview is the card. The gutter around a form would sit as a margin between the title and
   the page, which is the gap this frame is opened to avoid. */
.iws-frame:has(.pdf-dialog-viewer) .iws-frame-work[b-6ldyu0lqze] {
    margin: 0;
    border: 0;
    border-radius: 0;
}

.iws-frame-scroll[b-6ldyu0lqze] {
    /* So the min-height below counts the padding rather than adding to it. IWS sets no global
       border-box, and 100% + 1.2rem would put a scrollbar on every frame that fills. */
    box-sizing: border-box;
    padding: 0.6rem 1rem;
}

/* One number for the room around the interior, outside the card and in. A form's 8px gutter over
   9.6/16 padding reads as deliberate down a column of fields and as waste around a workspace that
   already spaces itself — see `Tight`. */
.iws-frame--tight .iws-frame-work[b-6ldyu0lqze] {
    margin: 5px;
}

.iws-frame--tight .iws-frame-scroll[b-6ldyu0lqze] {
    padding: 5px;
}

/* A frame given a height of its own should let its interior use it. Fill mode hands the slack to the
   card; this hands it on to the form, so a body with something worth stretching — a note's text box —
   can say `flex: 1` and have it mean something.

   min-height rather than height, and flex rather than a percentage chain: a form taller than the frame
   still grows past this and scrolls, which a fixed 100% would clip. A form that asks for nothing
   stretches to nothing and lays out exactly as it did. */
.iws-frame--fill .iws-frame-scroll[b-6ldyu0lqze] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* --------------------------------------------------------------------- the footer */

/* Cancel then commit, both at the right edge, on every surface that has something to commit. */
.iws-frame-footer[b-6ldyu0lqze] {
    flex: none;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0.35rem 1rem 0.6rem;
}

.iws-frame-base[b-6ldyu0lqze] {
    flex: none;
    height: 7px;
    background: var(--iws-frame-fill);
    border-top: 1px solid var(--iws-border-subtle);
}

/* The base bar is the strip's pair, so it changes with it — a frame tinted at the top and blue at the
   bottom would read as two frames. `#f0aba6` is the same recipe as the blue: the palette's
   `--list-tone-danger` (#d92d20) at 60% white, which is exactly what `#bdd0e9` is to `--medq-blue`.
   Mixing it by the same rule rather than picking a red by eye is what keeps the two tones the same
   weight — a red of equal lightness reads as more urgent than the blue without also being louder. */
.iws-frame--danger .iws-frame-base[b-6ldyu0lqze] {
    background: var(--iws-frame-fill-danger);
}

/* --------------------------------------------------------------- compact density

   IWS sets no root font-size, so the browser's 16px drives every rem the theme states and a
   "2.125rem" editor really is 34px on screen. That is right for a page and too tall for a frame that
   has to hold six rows without scrolling, so the editors, their labels and their text all come down
   together — the same control at a smaller size, not a shrunken one.

   All of it through ::deep: these are the interior's fields, and the interior's markup does not carry
   this component's scope. */

.iws-frame[b-6ldyu0lqze]  .form-field {
    gap: 0.25rem;
}

/* Matching app.css: every label in a field, not only the ones that happen to be its direct children.
   A frame that shrank some of its labels and left others at the page size would be worse than one
   that shrank none. */
.iws-frame[b-6ldyu0lqze]  .form-field label,
.iws-frame[b-6ldyu0lqze]  .form-field .field-caption {
    font-size: 0.75rem;
}

/* Except a label that heads a section: it stays the size of the h3 and h4 headings beside it. */
.iws-frame[b-6ldyu0lqze]  .form-field label.settings-section-title {
    font-size: 16px;
}

/* The line is two pixels taller than 1.2 because an input clips its text to its line, and at 1.2 the
   line is shorter than the font: g, p and j lost their tails, by a pixel or none depending on where the
   frame's fractional lift put the row. The box keeps its height; app.css takes the room from the top. */
.iws-frame[b-6ldyu0lqze]  .dxbl-text-edit-input,
.iws-frame[b-6ldyu0lqze]  input.dxbl-text-edit-input {
    font-size: 0.8125rem;
    line-height: calc(1.2em + 2px);
}

.iws-frame[b-6ldyu0lqze]  .form-field-message {
    font-size: 0.75rem;
    padding: 0.3rem 0.45rem;
}

/* Multi-selects stand on the same line as the editors beside them, so they hold the same height
   rather than growing with their chips as they may on a page. */
.iws-frame[b-6ldyu0lqze]  .iws-multi-select-dropdown {
    height: var(--iws-control-height);
    min-height: var(--iws-control-height);
}

/* The box is the bound here, so the tag strip only has to centre what is in it. */
.iws-frame[b-6ldyu0lqze]  .iws-multi-tags {
    min-height: 0;
    padding: 0;
    gap: 0.3rem;
}

/* Reads as the same watermark as the text editors beside it, which is 13px here and not 14px. */
.iws-frame[b-6ldyu0lqze]  .iws-multi-tags-placeholder {
    font-size: 0.8125rem;
}

.iws-frame[b-6ldyu0lqze]  .iws-multi-tag {
    font-size: 0.75rem;
    padding: 0.1rem 0.3rem 0.1rem 0.45rem;
}

.iws-frame[b-6ldyu0lqze]  .iws-multi-tag-remove {
    width: 1rem;
    height: 1rem;
    font-size: 0.85rem;
}
/* /Layout/AppIWSStart.razor.rz.scp.css */
/* Bottom-left, where Start is, and above the status bar rather than over it — the bar is a row of the
   shell's grid and is read, not decoration. Fixed to the viewport: it belongs to the app and not to
   whichever list happens to be scrolling under it.

   Above DevExpress's popups, which start around 1050. It sat below them until the IWS window
   arrived, on the reasoning that a dialog should cover it — but that window fills the work area and
   this corner with it, and a shelf you cannot reach while one draft is open is no way to get at the
   second. The cost is that Start also floats over a modal dialog, which is worth revisiting when a
   real window sits here. */
.start-button[b-5d3kxm5fsk] {
    position: fixed;
    left: 0.75rem;
    bottom: calc(var(--status-h, 1.75rem) + 0.75rem);
    z-index: 1100;

    display: grid;
    place-items: center;
    /* Two thirds of the 3rem it started at. It is a mark to be found when it appears, not a control
       being reached for constantly, and at this size it stops competing with the workspace it sits
       over. */
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    /* The favicon's own corner: 7 of its 32 units, so the shadow follows the tile's edge rather than
       cutting across it. Scaled with the tile, or the corner would grow relative to it. */
    border-radius: 0.4375rem;
    background: transparent;
    box-shadow: 0 0.15rem 0.5rem var(--iws-shadow-strong);
    cursor: grab;
    /* The tile is dragged with the pointer, so a touch that starts on it must not also scroll the
       page underneath — the browser would otherwise claim the gesture before the first move. */
    touch-action: none;
    transition: box-shadow 0.12s ease, transform 0.12s ease, filter 0.12s ease;
}

.start-button:hover[b-5d3kxm5fsk] {
    filter: brightness(1.08);
    box-shadow: 0 0.25rem 0.7rem var(--iws-shadow-strong);
}

.start-button:active[b-5d3kxm5fsk] {
    cursor: grabbing;
    transform: translateY(1px);
}

.start-button:focus-visible[b-5d3kxm5fsk] {
    outline: 2px solid var(--iws-brand-soft);
    outline-offset: 2px;
}

.start-mark[b-5d3kxm5fsk] {
    display: block;
    width: 100%;
    height: 100%;
}

/* How many drafts are waiting. Out of the flow so it does not push the mark off centre, and cut back
   with the tile — at the old size it read as a badge stuck on a smaller button. */
.start-count[b-5d3kxm5fsk] {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    min-width: 0.95rem;
    height: 0.95rem;
    padding: 0 0.2rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--iws-surface);
    color: var(--iws-heading);
    box-shadow: 0 0 0 1.5px var(--iws-heading);
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
}

.start-list[b-5d3kxm5fsk] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.15rem;
    /* Nothing in here may widen the menu: the width is fixed and every row trims itself to fit. */
    overflow-x: hidden;
}

/* The draft and the way to be rid of it, on one line: the row takes the width that is left so the
   discard keeps the same place down the column however long the names are. */
.draft-row[b-5d3kxm5fsk] {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

/* A plain button rather than a DxButton, which is what makes the trimming below possible at all:
   DevExpress wraps the caption in elements this stylesheet cannot reach to give `min-width: 0`, so a
   long name pushed the menu into a horizontal scrollbar instead of being cut. Ours is also the
   simpler thing to lay out as a card. */
.draft-item[b-5d3kxm5fsk] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.35rem;
    border: 0;
    border-radius: 0.25rem;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.draft-item:hover[b-5d3kxm5fsk] {
    background: var(--iws-surface-sunken);
}

.draft-item:focus-visible[b-5d3kxm5fsk] {
    outline: 2px solid var(--iws-brand-soft);
    outline-offset: -2px;
}

/* The patient ribbon's thumbnail at menu size, down to the tint and the corner. It held the patient's
   two letters and now holds the kind's glyph; the box is unchanged, because the row's height and the
   two lines beside it were set against this square and none of that moved. */
.draft-thumb[b-5d3kxm5fsk] {
    flex: none;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--iws-border);
    border-radius: 0.25rem;
    background: color-mix(in srgb, var(--iws-brand-soft) 35%, var(--iws-surface));
    color: var(--iws-heading);
    line-height: 1;
}

/* `::deep`, because the glyph is a child component's element and this stylesheet's scope attribute
   lands on the span, not inside it. At 1rem in a 2rem square the mark sits in its own air rather than
   filling the tile — a glyph that touches its border reads as a button. */
.draft-thumb[b-5d3kxm5fsk]  svg {
    width: 1rem;
    height: 1rem;
}

/* Takes the rest of the row (Marius, 2026-09-19: "remove the pink areas, fit the text"). It was
   `flex: 0 1 auto`, so it sat at the width of its own text and left the remainder of the button as
   dead space — which is also why names were clipping earlier than they had to: the two lines were
   trimming themselves to a box narrower than the menu, with empty pixels beside it.

   `min-width: 0` has to stay beside the grow, and it is the half that does the trimming: without it
   a flex item refuses to go under its content's width, and the nowrap lines below would push the
   menu into a horizontal scrollbar rather than ellipsing. */
.draft-text[b-5d3kxm5fsk] {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 0.05rem;
}

/* The dropdown is a fixed width, so a long name is cut rather than allowed to widen the menu or wrap
   onto a second line; both lines in full are on the row's title attribute. */
.draft-name[b-5d3kxm5fsk],
.draft-meta[b-5d3kxm5fsk] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.draft-name[b-5d3kxm5fsk] {
    color: var(--iws-heading);
    font-size: 0.875rem;
    font-weight: 600;
}

.draft-meta[b-5d3kxm5fsk] {
    color: var(--iws-text-secondary);
    font-size: 0.75rem;
}

/* Quiet until the row is under the pointer: discarding is not what the row is for. */
.start-list[b-5d3kxm5fsk]  .draft-discard {
    flex: none;
    opacity: 0.55;
}

.draft-row:hover[b-5d3kxm5fsk]  .draft-discard,
.start-list[b-5d3kxm5fsk]  .draft-discard:focus-visible {
    opacity: 1;
}
/* /Layout/AppIWSStrip.razor.rz.scp.css */
/* What sits on the strip. The strip itself is DevExpress's header element, which carries no scope of
   ours, so its gradient and its shape are in app.css — only what we render is here. */

/* It says which frame this is and then gets out of the way, so it takes the strip's own weight rather
   than a heading's. Takes the room the title has to itself, so the tools stay at the end of the strip
   rather than being pushed along by a long name.

   `align-self` rather than relying on the row: what we render is not laid out by the header element we
   styled but by a `dxbl-window-header-default` div of theirs inside it, and that div stretches its
   children. The tools survived it — a stretched box whose own rule centres the buttons inside — so only
   the title showed it, sitting a line-height's worth high at the top of a 25px box while the icons beside
   it were centred (2026-09-14, Marius: "title text is not aligned"). Stating it on each child settles
   the strip's alignment here instead of inheriting whatever their wrapper does.

   No caret over it: the title covers most of the strip, and the strip is the drag handle, so a text
   cursor would be offered over the only part worth grabbing. */
.iws-frame-title[b-gu4b6gsui5] {
    flex: 1 1 auto;
    align-self: center;
    min-width: 0;
    line-height: 1;
    font-family: "Myriad Pro", Myriad, "Source Sans 3", system-ui, sans-serif;
    font-size: 12pt;
    font-weight: 600;
    color: var(--medq-navy);
    cursor: inherit;
    user-select: none;
}

/* The title gives up the strip's slack when something follows it, so the two sit together on the left
   instead of a stretched title pushing the subtitle against the buttons. Only when there is a
   subtitle — every other frame keeps the grow it has always had, and the drag handle is the strip
   rather than the title, so a short title costs nothing to grab. */
.iws-frame-title.has-subtitle[b-gu4b6gsui5] {
    flex: 0 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The title's face and size, set apart by weight and colour alone, and the first thing to be clipped,
   because it is the part the reader can most afford to lose: it says which record, and they are in
   the record. `title` on the element carries the whole of it either way. A smaller face beside the
   title centres as a box but not as text: the two sit on different baselines, so the line reads
   crooked.

   The space between the two is stated here rather than as a gap on the strip (Marius, 2026-09-20:
   "check popup title"). The strip is DevExpress's header element, sets `gap: 0` deliberately — the
   tools at the far end are spaced by their own rule — and lays its children out with
   `space-between`, which gives nothing away when the subtitle is the one child allowed to grow. So
   the title and the record it names were printed as one word: "Add New AttachmentAttach a document
   to this patient chart". A margin on the part that arrives second is the whole of the fix, and it
   costs the frames with no subtitle nothing, since there is no element to carry it. */
.iws-frame-subtitle[b-gu4b6gsui5] {
    flex: 1 1 auto;
    align-self: center;
    min-width: 0;
    margin-left: 8px;
    line-height: 1;
    font-family: "Myriad Pro", Myriad, "Source Sans 3", system-ui, sans-serif;
    font-size: 12pt;
    font-weight: 400;
    color: var(--medq-gray-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: inherit;
    user-select: none;
}

.iws-frame-tools[b-gu4b6gsui5] {
    flex: none;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 2px;
    /* The buttons are not the handle; the strip around them is. Without this the cursor would keep
       saying move while over the one thing on the strip that does something else. */
    cursor: default;
}

/* Every title-bar action is the same box, so the three read as one set regardless of what is drawn
   inside. The ::deep half is for a frame that still supplies a tool through HeaderTools: a fragment
   carries the scope of the component that wrote it, not of this one. */
.iws-frame-tool[b-gu4b6gsui5],
.iws-frame-tools[b-gu4b6gsui5]  .iws-frame-tool {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 19px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: var(--medq-navy);
    line-height: 1;
    cursor: pointer;
}

.iws-frame-tool:hover:not(:disabled)[b-gu4b6gsui5] {
    background: var(--iws-hover);
}

.iws-frame-tool:active:not(:disabled)[b-gu4b6gsui5] {
    background: color-mix(in srgb, var(--iws-heading) 18%, transparent);
}

/* Maximize, until there is something for it to do. Dimmed rather than hidden so the strip keeps the
   shape it will have, and with no hover so it does not invite the press. */
.iws-frame-tool:disabled[b-gu4b6gsui5] {
    opacity: 0.4;
    cursor: default;
}

.iws-frame-tool:focus-visible[b-gu4b6gsui5] {
    outline: 1px solid var(--medq-navy);
    outline-offset: -1px;
}

/* What makes the three match: one 10×10 box and one stroke weight, drawn rather than typeset. A font
   glyph and an icon-set SVG beside each other never agree on size or weight, which is what the strip
   looked like before — a 20px minimize next to a 13px ×. */
.iws-frame-glyph[b-gu4b6gsui5] {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: currentcolor;
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* The exception, and the reason it is one: the pin comes from DevExpress's set, where an outline icon
   is a filled path with a hole in it rather than a stroked one. Drawn at 10px its lines would be a
   sixteenth of that — about half the weight of the three beside it — so it takes two pixels more to
   land on the same weight. That is what makes it match; the same size would not. */
.iws-frame-glyph--filled[b-gu4b6gsui5] {
    width: 12px;
    height: 12px;
    fill: currentcolor;
    stroke: none;
}
/* /Layout/AppIWSWindow.razor.rz.scp.css */
/* The two things this frame draws for itself. Everything else about how a window looks is in
   AppIWSChrome and AppIWSStrip, which every frame shares. */

/* The screen a modal window blocks. One rung under the window itself, which is pinned below the number
   DevExpress starts its own frames at — see FrameLayer for why a window is pinned at all.

   The blur is the point and the tint only supports it: greyed-out content still reads as content you
   could get at, where a blur reads as out of reach. `backdrop-filter` is not universal, so the tint
   carries the meaning on its own where it is missing rather than the backdrop being invisible.

   It covers everything, and the two things that must stay usable rise through it instead: the Q
   launcher at 1100, and the status bar just above this at 1045. The bar is the point of that
   arrangement — it names the facility and the user, and its switcher has to keep working mid-form
   (2026-09-16, Marius: "status bar facility combo should be on top of popup if I start registering").

   Fixed to the viewport rather than placed in the shell's grid, which was tried first and undid the
   shell in one render. `.app-shell` is `grid-template-rows: auto 1fr auto` and this is a child of it,
   so an explicit `grid-row: 1 / 3` claimed the ribbon's and the workspace's cells before auto
   placement ran — and auto placement, which is what puts those two there, does not overlap a claimed
   cell. It moved them down instead, leaving an empty band where the ribbon had been. A sheet that
   covers the shell must not be part of it. */
.iws-frame-backdrop[b-gqr8dlcp6l] {
    position: fixed;
    inset: 0;
    z-index: 1039;
    background: color-mix(in srgb, var(--iws-backdrop) 36%, transparent);
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
}

/* The wrapper that hears typing anywhere inside. It exists for its handlers and for nothing else, so
   it is asked to lay out nothing: `contents` takes the box away and leaves the element, and events go
   on bubbling through it because propagation follows the DOM and not the boxes. Without this, a
   generated box between the chrome's scroller and a form that sizes itself to it would be one more
   thing to keep out of the way. */
.iws-frame-interior[b-gqr8dlcp6l] {
    display: contents;
}

/* Not saved. On the strip, beside the title-bar actions, because that is where the work already is —
   and small, because it reports a condition rather than asking for anything: the form is intact, the
   next save ends it, and there is nothing for the user to do in between. Amber rather than red for
   the same reason. */
.iws-frame-unsaved[b-gqr8dlcp6l] {
    align-self: center;
    margin-right: 8px;
    padding: 1px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--iws-warning-text) 12%, transparent);
    color: var(--iws-warning-text);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    user-select: none;
}

/* Refused, because the same draft moved somewhere else. The same pill in the same place, in red: this
   one does not end by itself, the pin has stopped working, and the next thing the person does decides
   which copy of the form is the one that survives. */
.iws-frame-conflict[b-gqr8dlcp6l] {
    align-self: center;
    margin-right: 8px;
    padding: 1px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--iws-danger-text) 12%, transparent);
    color: var(--iws-danger-text);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    user-select: none;
}
/* /Layout/AppRibbon.razor.rz.scp.css */
/* Wraps so the patient chips drop to their own row once the nav and search no longer leave room for
   them. The account sits in the padding at the right, so it stays on the first row when they do. The
   nav buttons live in app.css (NavLink roots). */
.ribbon[b-r4rsafwnts] {
    /* The avatar, plus 2.75rem (a 2.25rem button and its gap) for each of the moon and the chat icon. */
    --ribbon-user-w: calc(3.75rem + 1px + var(--ribbon-moon-w, 0rem) + var(--ribbon-chat-w, 0rem));
    --ribbon-search-half: 10.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: var(--ribbon-h, 4rem);
    padding-right: var(--ribbon-user-w);
    background: var(--iws-ribbon);
    flex-shrink: 0;
}

/* Grows only up to where a search centred on the whole bar would begin, so the search lands in the
   middle of the page. A longer nav wins over the cap, and the search then follows Charts. */
.ribbon-lead[b-r4rsafwnts] {
    display: flex;
    align-items: stretch;
    flex: 1 1 0;
    min-width: max-content;
    max-width: calc(50% + var(--ribbon-user-w) / 2 - var(--ribbon-search-half));
}

/* Takes the rest of the first row, so the chips sit against the account; once they no longer fit
   beside the search they move to a row of their own. */
.ribbon-tail[b-r4rsafwnts] {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 0;
    min-width: min-content;
}

.ribbon-brand[b-r4rsafwnts] {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    height: var(--ribbon-h, 4rem);
    padding: 0 1rem;
    border-right: 1px solid var(--iws-ribbon-line);
    text-decoration: none;
}

.ribbon-brand[href]:hover .ribbon-brand-logo[b-r4rsafwnts] {
    opacity: 0.8;
}

.ribbon-brand-logo[b-r4rsafwnts] {
    display: block;
    width: 7.6rem;
    height: 1.5rem;
}

.ribbon-user[b-r4rsafwnts] {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--ribbon-user-w);
    border-left: 1px solid var(--iws-ribbon-line);
    height: var(--ribbon-h, 4rem);
}

.ribbon-nav[b-r4rsafwnts] {
    display: flex;
    align-items: stretch;
    gap: 0.125rem;
    padding: 0 0.5rem;
    min-height: var(--ribbon-h, 4rem);
}

.ribbon-chart[b-r4rsafwnts] {
    position: relative;
    display: flex;
    align-self: stretch;
}

.ribbon-btn-caret[b-r4rsafwnts] {
    width: 0.7rem;
    height: 0.7rem;
    margin-left: 0.15rem;
    vertical-align: -0.1em;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.15s ease;
}

.ribbon-btn-caret.is-open[b-r4rsafwnts] {
    transform: rotate(180deg);
}

.chart-menu-panel[b-r4rsafwnts] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    min-width: 19rem;
    max-width: 24rem;
    padding: 0.35rem;
    background: var(--medq-white);
    border: 1px solid var(--iws-border);
    border-radius: 0.35rem;
    box-shadow: 0 8px 24px var(--iws-shadow);
}

.chart-menu-empty[b-r4rsafwnts] {
    margin: 0;
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
    color: var(--medq-gray-700);
}

.chart-menu-item[b-r4rsafwnts] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.4rem 0.5rem;
    border: 0;
    border-radius: 0.25rem;
    background: transparent;
    color: var(--medq-navy);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.chart-menu-item:hover[b-r4rsafwnts],
.chart-menu-item:focus-visible[b-r4rsafwnts] {
    background: var(--shell-soft, var(--iws-selected));
}

.chart-menu-item.is-current[b-r4rsafwnts] {
    background: color-mix(in srgb, var(--medq-sky) 22%, var(--medq-white));
}

.chart-menu-thumb[b-r4rsafwnts] {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 0.2rem;
    border: 1px solid var(--iws-border);
    background: color-mix(in srgb, var(--medq-sky) 40%, var(--medq-white));
    display: inline-grid;
    place-items: center;
    font-size: 0.6875rem;
    font-weight: 700;
    overflow: hidden;
}

.chart-menu-thumb img[b-r4rsafwnts],
.ribbon-patient-thumb img[b-r4rsafwnts] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chart-menu-text[b-r4rsafwnts] {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.chart-menu-name[b-r4rsafwnts] {
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chart-menu-age[b-r4rsafwnts] {
    font-weight: 600;
    color: var(--medq-gray-700);
}

.chart-menu-meta[b-r4rsafwnts] {
    font-size: 0.6875rem;
    color: var(--medq-gray-700);
}

.chart-menu-current[b-r4rsafwnts] {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--medq-blue);
}

.chart-menu-open[b-r4rsafwnts] {
    color: var(--medq-gray-700);
}

/* Up to 19rem and never wider (--ribbon-search-half is half of that plus one margin): it grows with
   the chips' side until it reaches that, and shrinks only once the row runs out of room. The 12rem
   basis decides when the chips give up the row. */
.ribbon-tools[b-r4rsafwnts] {
    display: flex;
    align-items: center;
    flex: 1 1 12rem;
    max-width: 19rem;
    margin: 0 0.75rem;
    min-height: var(--ribbon-h, 4rem);
}

/* One command for every scope the user may read, drawn as a bar across the slot a search field
   would take. Measured in px like the sheet it comes from
   (docs/global-search/global-search-v2-web.html), because it has to line up with the popup it opens
   rather than with the ribbon's rem grid. The text and the glass are the exceptions: they take the
   theme's editor text and icon sizes, as the app's other search boxes do, and the fallbacks are the
   classic themes' values, which do not define those tokens. */
.ribbon-search-cmd[b-r4rsafwnts] {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 9px;
    height: 34px;
    padding: 0 10px 0 11px;
    background: var(--iws-surface);
    border: 1px solid var(--medq-gray-400);
    border-radius: 4px;
    font: inherit;
    font-size: var(--dxds-font-size-base-md, .875rem);
    color: var(--medq-gray-700);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
}

.ribbon-search-cmd svg[b-r4rsafwnts] { width: var(--dxds-spacing-200, 1rem); height: var(--dxds-spacing-200, 1rem); flex: none; }

.ribbon-search-cmd:hover[b-r4rsafwnts] { border-color: var(--iws-ribbon-accent); }

.ribbon-patient-tabs[b-r4rsafwnts] {
    display: flex;
    align-items: stretch;
    gap: 4px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(56rem, 100%);
    padding: 2px 4px;
    border-left: 1px solid var(--iws-ribbon-line);
}

/* Rounded cards; the selected one is ringed 2px in #0f6cbd. The ring is a 1px border plus a 1px inset
   shadow, so selecting a card never moves its contents. */
.ribbon-patient-chip[b-r4rsafwnts] {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.35rem;
    min-width: 12.75rem;
    max-width: 18.75rem;
    padding: 0.2rem 0.3rem 0.15rem 0.4rem;
    border: 1px solid var(--iws-border);
    border-radius: 6px;
    background: color-mix(in srgb, var(--medq-sky) 8%, var(--medq-white));
    flex: 1 1 0;
    align-self: stretch;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}

.ribbon-patient-chip.is-focused[b-r4rsafwnts] {
    border-color: #0f6cbd;
    box-shadow: inset 0 0 0 1px #0f6cbd;
    background: color-mix(in srgb, var(--medq-sky) 22%, var(--medq-white));
}

.ribbon-patient-chip:hover:not(.is-focused)[b-r4rsafwnts] {
    background: color-mix(in srgb, var(--medq-sky) 14%, var(--medq-white));
}

/* At least 45px wide however narrow the card gets: a face below that stops being recognisable. */
.ribbon-patient-thumb[b-r4rsafwnts] {
    width: 45px;
    min-width: 45px;
    align-self: stretch;
    min-height: 0;
    border-radius: 0.2rem;
    background: color-mix(in srgb, var(--medq-sky) 40%, var(--medq-white));
    border: 1px solid var(--iws-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medq-navy);
    font-weight: 700;
    font-size: 0.6875rem;
    flex: 0 0 auto;
    overflow: hidden;
}

.ribbon-patient-content[b-r4rsafwnts] {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-width: 0;
    flex: 1 1 auto;
}

.ribbon-patient-text[b-r4rsafwnts] {
    min-width: 0;
    display: grid;
    gap: 0.1rem;
}

/* Fixed pixel sizes rather than rem: the card is the same size whatever the page's root size. */
.ribbon-patient-name[b-r4rsafwnts] {
    font-family: Roboto, "Segoe UI", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--medq-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ribbon-patient-age[b-r4rsafwnts] {
    font-weight: 600;
    color: var(--medq-gray-700);
}

/* Always two lines, DOB over MRN, at any card width. */
.ribbon-patient-meta[b-r4rsafwnts] {
    display: grid;
    font-size: 11px;
    color: var(--medq-gray-700);
    line-height: 1.25;
}

.ribbon-patient-meta > span[b-r4rsafwnts] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The × at the top and the details button at the bottom, laid over the text's right edge: only the
   name keeps clear of the × and only the MRN of the button, so the DOB line runs to the card's edge. */
.ribbon-patient-side[b-r4rsafwnts] {
    position: absolute;
    top: 0.2rem;
    right: 0.3rem;
    bottom: 0.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.ribbon-patient-name[b-r4rsafwnts] {
    padding-right: 1.25rem;
}

.ribbon-patient-chip.has-details .ribbon-patient-mrn[b-r4rsafwnts] {
    padding-right: calc(32px + 0.35rem);
}

.ribbon-patient-toggle-host[b-r4rsafwnts] {
    display: flex;
}

/* A DxButton, so the rules reach it through ::deep. 32 × 18: an outline at rest, filled on hover. */
.ribbon-patient-toggle-host[b-r4rsafwnts]  .ribbon-patient-toggle {
    width: 32px;
    min-width: 32px;
    height: 18px;
    min-height: 0;
    padding: 0;
    border-radius: 3px;
    border: 1px solid var(--iws-border);
    background: transparent;
    color: var(--medq-gray-700);
    box-shadow: none;
}

/* Open reads as pressed, in the fill Search IWS gives its open filters toggle. */
.ribbon-patient-toggle-host[b-r4rsafwnts]  .ribbon-patient-toggle.is-open {
    border-color: var(--medq-blue);
    background: var(--iws-tint);
    color: var(--medq-navy);
}

.ribbon-patient-toggle-host[b-r4rsafwnts]  .ribbon-patient-toggle:hover,
.ribbon-patient-toggle-host[b-r4rsafwnts]  .ribbon-patient-toggle:focus-visible {
    border-color: var(--medq-blue);
    background: var(--medq-blue);
    color: var(--iws-text-on-accent);
}

.ribbon-patient-toggle-host[b-r4rsafwnts]  .ribbon-patient-toggle-icon {
    width: 12px !important;
    height: 12px !important;
    margin: 0;
    transition: transform 0.15s ease;
}

.ribbon-patient-toggle-host[b-r4rsafwnts]  .ribbon-patient-toggle.is-open .ribbon-patient-toggle-icon {
    transform: rotate(180deg);
}

.ribbon-patient-close[b-r4rsafwnts] {
    appearance: none;
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    margin: -0.1rem -0.2rem 0 0;
    padding: 0;
    border: 0;
    border-radius: 0.15rem;
    background: transparent;
    color: var(--medq-gray-700);
    font: inherit;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ribbon-patient-close:hover[b-r4rsafwnts],
.ribbon-patient-close:focus-visible[b-r4rsafwnts] {
    color: var(--medq-navy);
    background: color-mix(in srgb, var(--medq-sky) 35%, var(--medq-white));
}

.ribbon--theme[b-r4rsafwnts] {
    --ribbon-moon-w: 2.75rem;
}

.ribbon--chat[b-r4rsafwnts] {
    --ribbon-chat-w: 2.75rem;
}

.ribbon--theme .ribbon-user[b-r4rsafwnts],
.ribbon--chat .ribbon-user[b-r4rsafwnts] {
    gap: 0.5rem;
}

.ribbon-chat[b-r4rsafwnts] {
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--iws-ribbon-text);
    cursor: pointer;
}

.ribbon-chat:hover[b-r4rsafwnts],
.ribbon-chat.is-open[b-r4rsafwnts] {
    background: color-mix(in srgb, var(--iws-ribbon-text) 12%, transparent);
}

.ribbon-chat.is-urgent[b-r4rsafwnts] {
    color: var(--iws-danger-tone);
}

/* Larger than the moon's box because the bubble fills only about two thirds of its own, where the
   moon fills its box top to bottom; at this size the two read as one height inside the 36px circle. */
.ribbon-chat[b-r4rsafwnts]  .ribbon-chat-icon svg {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
}

/* Neutral, so red on this icon always means a mention of this user. */
.ribbon-chat-badge[b-r4rsafwnts] {
    position: absolute;
    top: -0.1rem;
    right: -0.25rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--iws-ribbon-text) 78%, var(--iws-ribbon));
    color: var(--iws-ribbon);
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
    pointer-events: none;
}

.ribbon-chat.is-urgent .ribbon-chat-badge[b-r4rsafwnts] {
    background: var(--iws-danger-tone);
    color: var(--iws-text-on-accent);
}

.ribbon-theme[b-r4rsafwnts] {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--iws-ribbon-text);
    cursor: pointer;
}

.ribbon-theme:hover[b-r4rsafwnts] {
    background: color-mix(in srgb, var(--iws-ribbon-text) 12%, transparent);
}

.ribbon-theme[b-r4rsafwnts]  .ribbon-theme-icon svg {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
}

.user-menu[b-r4rsafwnts] {
    position: relative;
}

.user-avatar[b-r4rsafwnts] {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--iws-ribbon-text) 70%, transparent);
    background: transparent;
    color: var(--iws-ribbon-text);
    font-family: "Myriad Pro", Myriad, "Source Sans 3", system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.user-avatar:hover[b-r4rsafwnts],
.user-avatar[aria-expanded="true"][b-r4rsafwnts] {
    background: color-mix(in srgb, var(--iws-ribbon-text) 12%, transparent);
    border-color: var(--iws-ribbon-text);
}

.user-menu-backdrop[b-r4rsafwnts] {
    position: fixed;
    inset: 0;
    z-index: 40;
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: default;
}

/* Right edges aligned: the avatar closes the bar, so a panel hung from its left would leave the page. */
.user-menu-panel[b-r4rsafwnts] {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    z-index: 50;
    min-width: 11rem;
    padding: 0.35rem;
    background: var(--medq-white);
    border: 1px solid var(--iws-border);
    border-radius: 0.35rem;
    box-shadow: 0 8px 24px var(--iws-shadow);
}

.user-menu-name[b-r4rsafwnts] {
    padding: 0.45rem 0.65rem 0.35rem;
    font-size: 0.75rem;
    color: var(--medq-gray-700);
    border-bottom: 1px solid var(--iws-border);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-item[b-r4rsafwnts] {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    color: var(--medq-navy);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.65rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.user-menu-item:hover[b-r4rsafwnts] {
    background: var(--shell-soft, var(--iws-selected));
}

@media (max-width: 720px) {
    .ribbon-tools[b-r4rsafwnts] {
        flex: 1 1 100%;
        max-width: none;
        order: 3;
        min-height: 0;
        margin: 0 calc(-1 * var(--ribbon-user-w)) 0 0;
        border-top: 1px solid var(--iws-ribbon-line);
        padding: 0.5rem 0.75rem;
    }
}
/* /Layout/AppStatusBar.razor.rz.scp.css */
/* The bar rides above a modal window's backdrop and below a dialog, which is the whole of what these
   two lines say and is worth saying because both halves were asked for. A window is worked in for
   minutes and the bar is how you know which facility you are working in — Marius asked for the
   switcher to stay usable mid-registration when the form was covering it — while a dialog is a
   question, and a question is allowed to cover everything until it is answered. So: over the window
   layer at 1040 and its backdrop at 1039, under the 1050 DevExpress starts dialogs at.

   This is also a stacking context, which is why the menu below is numbered in single digits rather
   than against the theme. Everything in the bar now compares itself inside this box, and the box is
   what compares itself with the rest of the screen. */
.status-bar[b-6ho0e0ikrj] {
    position: relative;
    z-index: 1045;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: var(--status-h, 1.75rem);
    padding: 0.25rem 0.75rem;
    background: var(--iws-accent);
    color: color-mix(in srgb, var(--iws-text-on-accent) 92%, transparent);
    font-size: 0.75rem;
    border-top: 1px solid color-mix(in srgb, var(--iws-accent) 80%, black);
    flex-shrink: 0;
}

.status-left[b-6ho0e0ikrj],
.status-right[b-6ho0e0ikrj],
.status-message[b-6ho0e0ikrj] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.status-left[b-6ho0e0ikrj] {
    justify-content: flex-start;
}

.status-message[b-6ho0e0ikrj] {
    justify-content: center;
    font-weight: 500;
}

.status-message-notice[b-6ho0e0ikrj] {
    font-weight: 600;
}

.status-right[b-6ho0e0ikrj] {
    justify-content: flex-end;
}

.status-sep[b-6ho0e0ikrj] {
    opacity: 0.55;
}

.status-bar strong[b-6ho0e0ikrj] {
    font-weight: 600;
    color: var(--iws-text-on-accent);
}

.facility-menu[b-6ho0e0ikrj] {
    position: relative;
}

.status-facility-trigger[b-6ho0e0ikrj] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0.1rem 0.25rem;
    margin: 0;
    border-radius: 0.2rem;
    cursor: pointer;
}

.status-facility-trigger:hover[b-6ho0e0ikrj],
.status-facility-trigger[aria-expanded="true"][b-6ho0e0ikrj] {
    background: color-mix(in srgb, var(--iws-text-on-accent) 12%, transparent);
}

.status-facility-trigger:focus-visible[b-6ho0e0ikrj] {
    outline: 2px solid var(--medq-sky);
    outline-offset: 1px;
}

.status-home-icon[b-6ho0e0ikrj] {
    color: inherit;
    flex-shrink: 0;
}

/* The menu opens upwards, into whatever is on screen above the bar — a registration window, most of
   the time, which is the ground it has to win. It does that by being inside the bar, which is raised
   above the window layer: these two numbers are only an order within that box, not a claim against
   the theme.

   They used to be 99998 and 99999, chosen to clear a DevExpress family whose frames are numbered at
   runtime and cannot be out-guessed one at a time. That worked and said nothing — and it left the
   *trigger* behind the window even while the panel floated over it, since only these two were
   raised. Raising the bar states it once, for everything in the bar, and puts the whole thing on the
   right side of the one line that matters: over a window, under a dialog. */
.facility-menu-backdrop[b-6ho0e0ikrj] {
    position: fixed;
    inset: 0;
    z-index: 1;
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: default;
}

.facility-menu-panel[b-6ho0e0ikrj] {
    position: absolute;
    bottom: calc(100% + 0.35rem);
    left: 0;
    z-index: 2;
    min-width: 10.5rem;
    padding: 0.3rem;
    background: var(--medq-white);
    color: var(--medq-navy);
    border: 1px solid var(--iws-border);
    border-radius: 0.35rem;
    box-shadow: 0 -6px 20px var(--iws-shadow);
}

.facility-menu-item[b-6ho0e0ikrj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    color: var(--medq-navy);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.4rem 0.55rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.facility-menu-item:hover[b-6ho0e0ikrj] {
    background: var(--shell-soft, var(--iws-selected));
}

.facility-menu-item.is-active[b-6ho0e0ikrj] {
    background: color-mix(in srgb, var(--iws-brand-soft) 28%, var(--iws-surface));
    font-weight: 600;
}

.facility-menu-item-name[b-6ho0e0ikrj] {
    min-width: 0;
}

.facility-menu-item-meta[b-6ho0e0ikrj] {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--medq-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (max-width: 720px) {
    .status-bar[b-6ho0e0ikrj] {
        grid-template-columns: 1fr;
        gap: 0.15rem;
        text-align: center;
    }

    .status-left[b-6ho0e0ikrj],
    .status-right[b-6ho0e0ikrj],
    .status-message[b-6ho0e0ikrj] {
        justify-content: center;
        flex-wrap: wrap;
    }

    .facility-menu-panel[b-6ho0e0ikrj] {
        left: 50%;
        transform: translateX(-50%);
    }
}
/* /Layout/EmptyLayout.razor.rz.scp.css */
.empty-layout[b-ckwyhpyt7w] {
    min-height: 100vh;
    min-height: 100dvh;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-imdo2jwe7f] {
    --ribbon-h: 4rem;
    --status-h: 1.75rem;
    /* The frame around a page, named because the workspaces subtract it from their own min-width. */
    --shell-pad: 0.95rem;
    --shell-border: var(--iws-border);
    --shell-muted: var(--medq-gray-700);
    --shell-soft: color-mix(in srgb, var(--medq-sky) 28%, var(--medq-white));

    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    /* The window, not the content: a shell that grows with what it holds gives its middle row no
       height to speak of, and a page that wants to scroll inside itself has nothing to scroll in.
       The ribbon and the status bar stay put; the middle scrolls. */
    height: 100vh;
    height: 100dvh;
    background: var(--iws-surface-sunken);
    color: var(--iws-text);
    font-family: Roboto, system-ui, sans-serif;
}

.app-shell-chrome[b-imdo2jwe7f] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* The shell's middle row, holding the chat drawer around the work area. Bounded, so the work area
   below still scrolls inside itself. */
.app-shell-middle[b-imdo2jwe7f] {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
}

.app-shell-middle[b-imdo2jwe7f]  .app-shell-drawer {
    height: 100%;
    min-height: 0;
    min-width: 0;
    --dxbl-drawer-panel-body-padding-x: 0;
    --dxbl-drawer-panel-body-padding-y: 0;
    --dxbl-drawer-panel-bg: var(--iws-surface);
    --dxbl-drawer-panel-color: var(--iws-text);
}

/* The drawer's body lays its content out as a column aligned to the start, which shrinks the chat
   panel to the width of its widest line and to its content's height. The panel has to fill it. */
.app-shell-middle[b-imdo2jwe7f]  .app-shell-drawer > .dxbl-drawer-panel > .dxbl-drawer-body {
    align-items: stretch;
    min-height: 0;
    overflow: hidden;
}

.app-shell-middle[b-imdo2jwe7f]  .app-shell-drawer > .dxbl-drawer-panel > .dxbl-drawer-body > .chat-panel {
    flex: 1 1 auto;
    min-width: 0;
}

.app-shell-middle[b-imdo2jwe7f]  .app-shell-drawer > .dxbl-drawer-content {
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
}

.app-shell-main[b-imdo2jwe7f] {
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    /* One stretched row rather than a block, so a page that wants the height it has been given can
       ask for it. A workspace whose rows scroll inside a card needs a bounded box to scroll in;
       laid out as a block the card grows to fit its rows instead, and nothing ever scrolls. */
    display: grid;
    grid-template-rows: minmax(0, 1fr);
}

.app-shell-content[b-imdo2jwe7f] {
    min-width: 0;
    min-height: 0;
    /* One frame at every width, and the same on all four sides. The clamp read 2.5vw once the window
       was wider than 40rem, so a maximised desktop spent close to 28px on margin at exactly the width
       the lists are widest and want it back; the bottom then carried a further 0.25rem that nothing
       under it needed — the status bar is a row of the shell grid, not something to be cleared. */
    padding: var(--shell-pad);
}

.auth-gate[b-imdo2jwe7f] {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    background: var(--medq-gray-50);
    color: var(--medq-gray-700);
    font-family: Roboto, system-ui, sans-serif;
}

.auth-gate-copy[b-imdo2jwe7f] {
    margin: 0;
    font-size: 0.95rem;
}
/* /Pages/Admin/StaffActivity.razor.rz.scp.css */
/* Filters and actions on one line, as wide as the grid under them. The fields take the room and the
   buttons close the line off on the right; bottom-aligned, so the buttons sit level with the inputs
   rather than with the labels above them. */
.activity-filters[b-inug103gm6] {
    align-items: flex-end;
}

/* A date is as wide as a date. The other two share what is left, the patient picker taking twice the
   user combo: it has to hold "Lastname, Firstname · MRN" where the combo holds a staff name. */
.activity-date-field[b-inug103gm6] {
    flex: 0 0 12rem;
}

.activity-user-field[b-inug103gm6] {
    flex: 1 1 12rem;
}

.activity-patient-field[b-inug103gm6] {
    flex: 2 1 18rem;
}

/* Inside the filter line rather than on a line of its own, so the shared rule that spaces a detached
   action row from the form above it does not apply. */
.activity-filter-actions[b-inug103gm6] {
    flex: 0 0 auto;
    margin-top: 0;
}

/* Two columns, three lines each: when/who/action beside device/item/patient. The lines are a block
   of text rather than a table of narrow columns, so a device name and an MRN can be read whole.
   The chrome is Worklist's, down to the header and hairline colours — one grid look across the app.
   Unlike those lists a row here opens nothing, so there is no pointer and no selected tint; the hover
   is only so the eye can hold a row across two wide columns. */
.activity-table[b-inug103gm6] {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}

.activity-table th[b-inug103gm6],
.activity-table td[b-inug103gm6] {
    padding: .55rem .65rem;
    border-bottom: 1px solid var(--iws-border-subtle);
    text-align: left;
}

.activity-table th[b-inug103gm6] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--iws-surface-subtle);
    color: var(--medq-gray-700);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

/* The stripe column takes its 1rem from the shared indicator rules; the two text columns split
   what is left, which is what the adjacent-sibling selector picks out. */
.activity-table th + th[b-inug103gm6],
.activity-table td + td[b-inug103gm6] {
    width: 50%;
    vertical-align: top;
}

.activity-table tbody tr:hover td[b-inug103gm6] {
    background: var(--iws-surface-subtle);
}

.activity-lead[b-inug103gm6] {
    color: var(--medq-navy);
    font-weight: 600;
}

.activity-line[b-inug103gm6] {
    color: var(--medq-gray-700);
    font-size: .78rem;
}

.activity-changes[b-inug103gm6] {
    margin: .25rem 0 0;
    padding-left: 1.1rem;
    color: var(--medq-gray-700);
    font-size: .78rem;
}

.activity-empty[b-inug103gm6] {
    margin: 0;
    padding: 1.5rem .6rem;
    color: var(--medq-gray-700);
    text-align: center;
}

/* Sits under the last row, where someone who has scrolled to the end will read it. */
.activity-capped[b-inug103gm6] {
    margin: 0;
    padding: .6rem;
    border-top: 1px solid var(--medq-gray-400);
    color: var(--medq-gray-700);
    font-size: .78rem;
}
/* /Pages/Login.razor.rz.scp.css */
.login-page[b-qij8fe87wh] {
    --medq-navy: var(--iws-heading);
    --medq-blue: var(--iws-brand);
    --medq-sky: var(--iws-brand-soft);
    --medq-white: var(--iws-surface);
    --medq-gray-50: var(--iws-surface-sunken);
    --medq-gray-400: var(--iws-text-faint);
    --medq-gray-700: var(--iws-text-secondary);
    --medq-black: var(--iws-text);

    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    overflow: hidden;
    color: var(--medq-black);
    font-family: Roboto, system-ui, sans-serif;
}

.login-atmosphere[b-qij8fe87wh] {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(120% 80% at 12% 18%, color-mix(in srgb, var(--iws-brand-soft) 55%, transparent) 0%, transparent 55%),
        radial-gradient(90% 70% at 88% 12%, color-mix(in srgb, var(--iws-brand) 35%, transparent) 0%, transparent 50%),
        linear-gradient(165deg, color-mix(in srgb, var(--iws-brand-soft) 20%, var(--iws-page)) 0%, var(--medq-gray-50) 42%, color-mix(in srgb, var(--iws-brand-soft) 30%, var(--iws-page)) 100%);
    animation: login-atmosphere-shift-b-qij8fe87wh 18s ease-in-out infinite alternate;
}

@keyframes login-atmosphere-shift-b-qij8fe87wh {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.04) translate(-1.5%, 1%); }
}

.login-stage[b-qij8fe87wh] {
    width: min(100%, 26rem);
    display: grid;
    gap: clamp(1.75rem, 4vh, 2.5rem);
    animation: login-enter-b-qij8fe87wh 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes login-enter-b-qij8fe87wh {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-brand[b-qij8fe87wh] {
    text-align: center;
}

.login-wordmark[b-qij8fe87wh] {
    margin: 0 0 0.85rem;
    font-family: "Myriad Pro", Myriad, "Source Sans 3", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 2.6rem);
    letter-spacing: -0.02em;
    line-height: 1;
}

.login-wordmark-med[b-qij8fe87wh] {
    color: var(--medq-blue);
}

.login-wordmark-q[b-qij8fe87wh] {
    color: var(--medq-navy);
}

.login-product[b-qij8fe87wh] {
    margin: 0;
    font-family: "Myriad Pro", Myriad, "Source Sans 3", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 7vw, 3.25rem);
    letter-spacing: -0.03em;
    color: var(--medq-navy);
    line-height: 1.05;
    animation: login-product-in-b-qij8fe87wh 0.85s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes login-product-in-b-qij8fe87wh {
    from {
        opacity: 0;
        transform: translateY(0.6rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-tagline[b-qij8fe87wh] {
    margin: 0.65rem 0 0;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--medq-gray-700);
}

.login-panel[b-qij8fe87wh] {
    background: var(--medq-white);
    border: 1px solid var(--iws-border-subtle);
    border-radius: 0.35rem;
    padding: clamp(1.35rem, 3vw, 1.75rem);
    box-shadow: 0 18px 40px var(--iws-shadow);
    animation: login-panel-in-b-qij8fe87wh 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes login-panel-in-b-qij8fe87wh {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-heading[b-qij8fe87wh] {
    margin: 0;
    font-family: "Myriad Pro", Myriad, "Source Sans 3", system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--medq-navy);
}

.login-support[b-qij8fe87wh] {
    margin: 0.4rem 0 1.35rem;
    font-size: 0.95rem;
    color: var(--medq-gray-700);
}

.login-support-tight[b-qij8fe87wh] {
    margin: 0;
}

.login-form[b-qij8fe87wh] {
    display: grid;
    gap: 1rem;
}

.login-field[b-qij8fe87wh] {
    display: grid;
    gap: 0.35rem;
}

.login-label[b-qij8fe87wh] {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--medq-gray-700);
}

.login-input[b-qij8fe87wh] {
    width: 100%;
    box-sizing: border-box;
    /* The sign-in page keeps its larger fields; the shared 32px is for the editors inside the app. */
    height: auto;
    border: 1px solid var(--medq-gray-400);
    border-radius: 0.25rem;
    padding: 0.7rem 0.8rem;
    font: inherit;
    color: var(--medq-black);
    background: var(--medq-white);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-input:focus[b-qij8fe87wh] {
    outline: none;
    border-color: var(--medq-blue);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--iws-brand) 28%, transparent);
}

.login-error[b-qij8fe87wh] {
    margin: 0;
    padding: 0.65rem 0.75rem;
    border-radius: 0.25rem;
    background: var(--iws-warning-bg);
    border: 1px solid color-mix(in srgb, var(--iws-attention) 45%, transparent);
    color: var(--iws-warning-text);
    font-size: 0.9rem;
}

.login-submit[b-qij8fe87wh] {
    margin-top: 0.35rem;
    width: 100%;
    appearance: none;
    border: none;
    border-radius: 0.25rem;
    padding: 0.8rem 1rem;
    font-family: "Myriad Pro", Myriad, "Source Sans 3", system-ui, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--iws-text-on-accent);
    background: var(--iws-accent);
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.login-submit:hover:not(:disabled)[b-qij8fe87wh] {
    background: var(--iws-accent-hover);
}

.login-submit:active:not(:disabled)[b-qij8fe87wh] {
    transform: translateY(1px);
}

.login-submit:disabled[b-qij8fe87wh] {
    opacity: 0.7;
    cursor: wait;
}

.login-submit:focus-visible[b-qij8fe87wh] {
    outline: 3px solid color-mix(in srgb, var(--iws-brand-soft) 90%, transparent);
    outline-offset: 2px;
}

.login-brand-inline[b-qij8fe87wh] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    margin-bottom: 1rem;
}

.login-logo[b-qij8fe87wh] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2rem;
    width: auto;
    z-index: 1;
}

.login-app-title[b-qij8fe87wh] {
    margin: 0;
    font-family: "Myriad Pro", Myriad, "Source Sans 3", system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--medq-navy);
    text-align: center;
}

a.login-app-title-link[b-qij8fe87wh] {
    text-decoration: none;
    color: var(--medq-navy);
}

a.login-app-title-link:hover[b-qij8fe87wh] {
    text-decoration: underline;
    color: var(--iws-accent-hover);
}

.login-link[b-qij8fe87wh] {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--iws-link);
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.35rem 0;
    text-align: center;
    width: 100%;
}

.login-link-start[b-qij8fe87wh] {
    text-align: left;
    width: auto;
    padding: 0;
    margin-top: -0.35rem;
}

.login-link-icon[b-qij8fe87wh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-or[b-qij8fe87wh] {
    display: grid;
    place-items: center;
    margin: 0.75rem 0 0.25rem;
    color: var(--medq-gray-400);
    font-size: 0.8rem;
}

.login-or[b-qij8fe87wh]::before,
.login-or[b-qij8fe87wh]::after {
    content: none;
}

.login-session[b-qij8fe87wh] {
    margin: 1.25rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--iws-border-subtle);
    font-size: 0.8rem;
    color: var(--medq-gray-700);
    text-align: center;
}

.login-version[b-qij8fe87wh] {
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    margin: 0;
    font-size: 0.75rem;
    color: var(--medq-gray-400);
    pointer-events: none;
}

.login-modal[b-qij8fe87wh] {
    position: fixed;
    inset: 0;
    background: var(--iws-backdrop);
    display: grid;
    place-items: center;
    z-index: 20;
    padding: 1rem;
}

.login-modal-card[b-qij8fe87wh] {
    background: var(--iws-surface);
    border-radius: 0.35rem;
    padding: 1.25rem;
    max-width: 22rem;
    display: grid;
    gap: 1rem;
}

@media (prefers-reduced-motion: reduce) {
    .login-atmosphere[b-qij8fe87wh],
    .login-stage[b-qij8fe87wh],
    .login-product[b-qij8fe87wh],
    .login-panel[b-qij8fe87wh] {
        animation: none;
    }
}
/* /Pages/MySettings/MyCalendarColors.razor.rz.scp.css */
.my-colors-switch[b-egso217x79] {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
}
/* /Pages/PatientChart.razor.rz.scp.css */
/* The whole chart rides 9px up (2026-09-06, requested-by Marius: "move everything in charts -9px up").
   One offset on the page rather than one each on the band and the rows — those sit in a column and a
   shift on each would have moved them apart as well as up.

   Left, right and bottom are the shell's frame and nothing else (2026-09-06, requested-by Marius:
   "make sure left and right and bottom matches the others tabs"). `.app-shell-content` already pads
   every page by `--shell-pad`, and the workspace roots — `.worklist-workspace`, `.tasks-workspace` —
   add none of their own, so a page that pads itself as well sits 0.65rem further in on three sides
   than every tab beside it. Only the top keeps that padding, because the -9px above
   was measured against it.

   A column that takes the height it is given, as `.worklist-workspace` and its sibling do: the
   shell hands every page a stretched row, so `height: 100%` is the window between the ribbon and the
   status bar, and the panel inside fills what is left. Border-box, because the top padding is part of
   that height and not something added to it.

   The `min-width` that used to be here is gone with the tab strip. The chart now answers to the room
   it is in — below the pairing floor the rows unpair rather than the page growing a scrollbar — so
   forcing 1366px would have been telling it a width it does not have. */
.chart-destination[b-8tm05m6k5b]{box-sizing:border-box;display:flex;flex-direction:column;height:100%;margin-top:-9px;padding:.65rem 0 0}

/* The panel is a child component, so its own box is styled in its own sheet; all this does is let it
   have the height the page was given. */
.chart-destination[b-8tm05m6k5b]  .chart-panel{flex:1 1 auto;min-height:0}
/* /Pages/Schedule.razor.rz.scp.css */
/* Exactly the height the shell gives the page, never more: the rooms panel and the calendar each
   scroll inside it, the Scheduler keeping its toolbar and day headers in place over the hours. Grown
   to its content instead, the whole page scrolled and took the headers with it. Below the floor a
   short window scrolls the page, rather than squeezing the hours to nothing. */
.schedule-workspace[b-arwnaz9rmz] { height: 100%; min-height: 30rem; display: flex; flex-direction: column; gap: .65rem; color: var(--medq-black); }
/* The navigator and the calendar read as one panel, split by the splitter's own drag bar. The panes
   are DevExpress markup, so they are reached through the page's own wrapper. */
.schedule-body[b-arwnaz9rmz] { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
.schedule-body[b-arwnaz9rmz]  .schedule-splitter { flex: 1 1 0; min-height: 0; }
.schedule-body[b-arwnaz9rmz]  .schedule-nav-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.schedule-body[b-arwnaz9rmz]  .schedule-main-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
/* Grey open and closed, so the panel reads as the frame around the calendar rather than part of it. */
.resource-navigator[b-arwnaz9rmz] { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--iws-border); border-radius: 0; background: var(--iws-surface-sunken); }
/* Dragged past its narrowest on the way to closing, the open panel is cut off rather than squeezed. */
.resource-navigator:not(.is-collapsed)[b-arwnaz9rmz] { min-width: 220px; }
/* Mid-drag past the minimum (the class is set from index.html): the pane is pinned to the band's
   width over the splitter's own sizing, and the panel shows only its grey, until the pointer comes
   back or the drag ends. */
.schedule-body.navigator-drag-hidden[b-arwnaz9rmz]  .dxbl-splitter-pane:has(> .schedule-nav-pane) {
    flex: 0 0 var(--navigator-band-width) !important;
    width: var(--navigator-band-width) !important;
    min-width: var(--navigator-band-width) !important;
    max-width: var(--navigator-band-width) !important;
}
.schedule-body.navigator-drag-hidden .resource-navigator[b-arwnaz9rmz] { min-width: 0; }
.schedule-body.navigator-drag-hidden .resource-navigator > *[b-arwnaz9rmz] { display: none; }
/* Closed, the whole band is the control that opens it, captioned up its length. */
.navigator-band[b-arwnaz9rmz] { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; gap: .7rem; width: 100%; padding: .55rem 0; border: 0; background: transparent; color: var(--medq-navy); cursor: pointer; }
.navigator-band:hover[b-arwnaz9rmz] { background: var(--iws-hover); }
.navigator-band:focus-visible[b-arwnaz9rmz] { outline: 2px solid var(--medq-blue); outline-offset: -2px; }
.navigator-band-glyph[b-arwnaz9rmz] { display: inline-flex; line-height: 1; }
/* Arrowheads like the scheduler's previous and next: left closes the panel, right opens it. */
.navigator-band-glyph[b-arwnaz9rmz]  svg,
.navigator-toggle[b-arwnaz9rmz]  svg { width: 1rem; height: 1rem; }
/* Turned a quarter anticlockwise: vertical-rl reads downwards, and the half turn makes it read up. */
.navigator-band-label[b-arwnaz9rmz] { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .82rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.navigator-calendar[b-arwnaz9rmz] { flex: none; padding: .4rem .25rem .55rem; border-bottom: 1px solid var(--iws-border-subtle); }
/* Small cells fit the panel at its narrowest; the month table then stretches to whatever width the
   panel is dragged to, so the last column is never cut off. The day cells start at 24px rather than
   the small size's 28px, so seven days and the calendar's own padding fit 220px. */
.navigator-calendar[b-arwnaz9rmz]  .schedule-date-picker { width: 100%; min-width: 0; box-sizing: border-box; --dxbl-calendar-day-item-width: 1.5rem; --dxbl-calendar-content-padding-x: .25rem; }
.navigator-calendar[b-arwnaz9rmz]  .schedule-date-picker .dxbl-calendar-header { display: flex; }
.navigator-calendar[b-arwnaz9rmz]  .schedule-date-picker .dxbl-calendar-content > table { width: 100%; }
/* Clear is off, so Today is the footer's one button and spans it. */
.navigator-calendar[b-arwnaz9rmz]  .schedule-date-picker .dxbl-calendar-footer { display: flex; }
.navigator-calendar[b-arwnaz9rmz]  .schedule-date-picker .dxbl-calendar-footer .dxbl-btn { flex: 1 1 auto; }
/* Under 280px the week numbers give their column to the days. The day-name row carries an empty
   corner cell over that column, which goes with it so the names stay over their days. */
.navigator-calendar[b-arwnaz9rmz] { container-type: inline-size; }
@container (max-width: 280px) {
    .navigator-calendar[b-arwnaz9rmz]  .dxbl-calendar-week-number,
    .navigator-calendar[b-arwnaz9rmz]  .dxbl-calendar-days-of-week > :first-child { display: none; }
}
/* The line under this header and the one under the Scheduler's toolbar are the same divider across a
   panel of two halves, so this header is sized to the band beside it rather than to its own content:
   the Scheduler's band is its toolbar row plus the margins its items carry, ~12px more than the row
   itself, and the extra pixel is because the two lines are drawn from opposite sides of the boundary
   — this one is a `border-bottom` inside a `border-box` header and lands on its last pixel, while the
   Scheduler's is the top edge of what follows the band and lands on the pixel after. One number to
   nudge if the band ever changes. */
/* The title is centred on the whole header: the empty first column is as wide as the close button in the last. */
.navigator-header[b-arwnaz9rmz] { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) 1.6rem; align-items: center; gap: .45rem; height: calc(var(--schedule-toolbar-h) + 13px); box-sizing: border-box; padding: 0 .55rem; border-bottom: 1px solid var(--dxds-color-border-neutral-default-rest, var(--iws-border-subtle)); }
.resource-navigator.is-collapsed .navigator-header[b-arwnaz9rmz] { border-bottom: 0; }
.navigator-header h2[b-arwnaz9rmz] { grid-column: 2; margin: 0; overflow: hidden; color: var(--medq-navy); font-size: .82rem; font-weight: 700; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.navigator-header .navigator-toggle[b-arwnaz9rmz] { grid-column: 3; justify-self: end; }
.navigator-toggle[b-arwnaz9rmz] { display: inline-flex; align-items: center; padding: .2rem .3rem; border: 0; border-radius: .2rem; background: transparent; color: var(--medq-navy); font-size: 1rem; line-height: 1; cursor: pointer; }
.navigator-toggle:hover[b-arwnaz9rmz] { background: var(--iws-hover); }
.resource-panel[b-arwnaz9rmz] { flex: 1; min-height: 0; overflow: auto; padding-bottom: .35rem; }
.resource-facility + .resource-facility[b-arwnaz9rmz] { border-top: 1px solid var(--iws-border-subtle); }
.facility-row[b-arwnaz9rmz] { display: flex; align-items: center; padding-left: .55rem; }
.facility-check[b-arwnaz9rmz] { display: flex; align-items: center; margin: 0; cursor: pointer; }
.facility-heading[b-arwnaz9rmz] { flex: 1; min-width: 0; display: flex; gap: .4rem; padding: .55rem; border: 0; background: transparent; color: var(--medq-navy); font-weight: 700; text-align: left; }
.chevron[b-arwnaz9rmz] { display: inline-block; flex: none; transition: transform .15s; }.chevron.open[b-arwnaz9rmz] { transform: rotate(90deg); }
.facility-name[b-arwnaz9rmz] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facility-resources[b-arwnaz9rmz] { padding: 0 .35rem .45rem 1.1rem; }
/* The edit action aligns to the panel's right edge, whatever width it was dragged to. The row takes a
   wash of its room's colour under the pointer, so the room is the one thing lit. */
.resource-option[b-arwnaz9rmz] { display: flex; align-items: center; gap: .35rem; min-height: 2rem; padding: 0 .1rem 0 .35rem; border-radius: .25rem; transition: background-color .12s; }
.resource-option:hover[b-arwnaz9rmz] { background: color-mix(in srgb, var(--room-color, var(--iws-brand)) 20%, transparent); }
.resource-option label[b-arwnaz9rmz] { flex: 1; min-width: 0; display: flex; align-items: center; gap: .45rem; }
.resource-option label > span:last-child[b-arwnaz9rmz] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Faint until asked for: always there to find, never competing with the room names. */
.resource-option .icon-button[b-arwnaz9rmz] { margin-left: auto; opacity: .28; transition: opacity .12s; }
.resource-option .icon-button:hover[b-arwnaz9rmz],
.resource-option .icon-button:focus-visible[b-arwnaz9rmz] { opacity: 1; }
.resource-swatch[b-arwnaz9rmz] { display: inline-block; flex: none; width: .75rem; height: .75rem; border-radius: 50%; vertical-align: middle; }
.resource-empty[b-arwnaz9rmz] { display: block; padding: .45rem; color: var(--iws-text-muted); font-size: .8rem; }
.icon-button[b-arwnaz9rmz] { padding: .1rem .3rem; border: 0; background: transparent; color: var(--medq-blue); cursor: pointer; }
.scheduler-card[b-arwnaz9rmz] { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--iws-border); border-radius: 0; background: var(--iws-surface); }
/* The Scheduler scrolls its own hours once it is held to the card's height. Reached through the card:
   the scope attribute is not on DevExpress's root element. In Agenda it is just its toolbar and the
   list takes the rest. */
.scheduler-card[b-arwnaz9rmz]  .schedule-dx { flex: 1 1 0; min-height: 0; height: 100%; width: 100%; }
.scheduler-card.is-agenda[b-arwnaz9rmz]  .schedule-dx,
.scheduler-card.is-roomless[b-arwnaz9rmz]  .schedule-dx { flex: none; height: auto; }
/* The Scheduler is a flex row whose one child, the main container, takes only its content's width.
   The view usually supplies that; in Agenda the view is hidden, the container shrank to the toolbar,
   and the adaptive toolbar — measuring that — folded every item into its overflow button. */
.scheduler-card[b-arwnaz9rmz]  .dxbl-scheduler > .dxbl-sc-main-container { flex: 1 1 auto; min-width: 0; }
/* The card draws the calendar's outline, and the Scheduler draws one of its own, so the two sat a
   pixel apart on every edge. Zeroed on the element rather than through --dxbl-scheduler-border-width,
   which the day cells and the header rows read for their own hairlines. */
.scheduler-card[b-arwnaz9rmz]  .dxbl-scheduler { border-width: 0; }
/* The Scheduler frames its own toolbar — `.dxbl-sc-tb-wrapper` is `padding: .75rem` — so the first
   button sat 12px inside a card that already keeps the page's margin outside it, and the day grid
   below started 12px further down than the card it fills. The toolbar's buttons carry their own
   padding, which is the only inset this row needs. */
.scheduler-card[b-arwnaz9rmz]  .dxbl-sc-tb-wrapper { padding: 0; }
/* In Agenda the Scheduler is only its toolbar: `.dxbl-view` is the whole view under it — the headers
   and the scrolling grid — beside the toolbar in `.dxbl-sc-main-container`. Left showing, the grid
   takes the card's height and the list below it gets none. Anchored on the card, not on
   `.schedule-dx`: the scope attribute goes on the element in front of `::deep`, and that class is one
   this page hands to the Scheduler rather than an element of its own. */
.scheduler-card.is-agenda[b-arwnaz9rmz]  .dxbl-scheduler .dxbl-view { display: none !important; }
/* With no room the toolbar stays — the view and the date still mean something — and
   the grid under it gives way to the reason it would be empty. */
.scheduler-card.is-roomless[b-arwnaz9rmz]  .dxbl-scheduler .dxbl-view { display: none !important; }
.schedule-no-room[b-arwnaz9rmz] { flex: 1 1 0; min-height: 0; display: grid; place-items: center; margin: 0; padding: 2rem 1rem; border-top: 1px solid var(--iws-border-subtle); color: var(--iws-text-muted); font-size: .9rem; text-align: center; }
.schedule-agenda[b-arwnaz9rmz] { flex: 1 1 0; min-height: 0; overflow: auto; padding: .75rem 1rem 1.1rem; border-top: 1px solid var(--iws-border-subtle); }
.schedule-agenda-empty[b-arwnaz9rmz] { margin: 2rem 0; color: var(--iws-text-muted); text-align: center; }
.schedule-agenda-day + .schedule-agenda-day[b-arwnaz9rmz] { margin-top: 1rem; }
.schedule-agenda-day h3[b-arwnaz9rmz] { margin: 0 0 .4rem; color: var(--medq-navy); font-size: .85rem; }
.schedule-agenda-row[b-arwnaz9rmz] { width: 100%; display: grid; grid-template-columns: 8.5rem auto 1fr auto; gap: .55rem; align-items: center; padding: .45rem .5rem; border: 0; border-radius: .25rem; background: transparent; color: inherit; text-align: left; }
.schedule-agenda-row:hover[b-arwnaz9rmz] { background: var(--iws-selected); }
.agenda-time[b-arwnaz9rmz] { color: var(--iws-text-muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.agenda-swatch[b-arwnaz9rmz] { width: .7rem; height: .7rem; border-radius: 50%; }
.agenda-subject[b-arwnaz9rmz] { color: var(--medq-navy); font-weight: 600; font-size: .85rem; }
/* The patient after the subject, then the provider, grey and regular weight so they are not read as
   one name. */
.agenda-patient[b-arwnaz9rmz] { margin-left: .5rem; color: var(--iws-text-muted); font-weight: 400; }
.agenda-meta[b-arwnaz9rmz] { color: var(--iws-text-muted); font-size: .75rem; }
.scheduler-card[b-arwnaz9rmz]  .dxbl-scheduler-appointment,
.scheduler-card[b-arwnaz9rmz]  .dx-scheduler-appointment {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible;
}
.schedule-apt[b-arwnaz9rmz] {
    position: relative;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: .28rem;
    padding: .28rem .45rem .4rem .75rem;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--apt-accent, var(--iws-border)) 45%, var(--iws-surface));
    border-radius: .45rem;
    background: var(--apt-tint, var(--iws-surface));
    color: var(--apt-ink, var(--iws-text));
    box-shadow: 0 1px 2px color-mix(in srgb, var(--iws-shadow) 67%, transparent);
    cursor: grab;
    user-select: none;
}
.schedule-apt:active[b-arwnaz9rmz] { cursor: grabbing; }
/* The appointment a jump went to: the scheduler's own selection outline, at its width,
   in blue. On the card rather than the scheduler's wrapper, which the card template owns the look of. */
.schedule-apt--found[b-arwnaz9rmz] { outline: var(--dxbl-scheduler-appointment-focus-outline-size, 2px) solid var(--iws-focus); outline-offset: 0; }
/* A kind unticked under Slot Type: kept on the calendar so taken time is never hidden, only faded
   out of the way. The same strength as ScheduleKindFilter.DimOpacity, which MAUI draws with. */
.schedule-apt--dimmed[b-arwnaz9rmz] { opacity: .15; box-shadow: none; }
/* Cut and waiting for Paste here: still where it is until pasted, so drawn as a ghost of itself. */
.schedule-apt--cut[b-arwnaz9rmz] { opacity: .55; outline: 1px dashed var(--apt-accent, var(--iws-border-strong)); outline-offset: -1px; }
.schedule-clipboard[b-arwnaz9rmz] { position: absolute; left: 50%; bottom: .6rem; z-index: 5; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5rem; padding: .2rem .3rem .2rem .75rem; border: 1px solid var(--iws-border-strong); border-radius: .3rem; background: var(--iws-surface); box-shadow: 0 .4rem 1rem var(--iws-shadow); font-size: .8125rem; color: var(--iws-text); }
.schedule-agenda-row.schedule-apt--dimmed[b-arwnaz9rmz] { opacity: .15; }
/* Keep nested pills/text from becoming the drag target; the card still receives
   right-click and double-click, and the Scheduler owns pointer dragging. */
.schedule-apt > *[b-arwnaz9rmz] { pointer-events: none; }
/* Each kind owns an accent, a tint and an ink colour; the bar, the pill and the
   card edge all read from these so a kind reads the same everywhere. */
.schedule-apt--kind-booked[b-arwnaz9rmz] { --apt-accent: #2e7d4f; --apt-tint: #e6f5ec; --apt-ink: #1b5e38; }
.schedule-apt--kind-reservation[b-arwnaz9rmz] { --apt-accent: #d98b0b; --apt-tint: #fdf1dc; --apt-ink: #7a4c07; }
.schedule-apt--kind-blocked[b-arwnaz9rmz] { --apt-accent: #c0392b; --apt-tint: #fdeceb; --apt-ink: #92271c; }
/* Down the left edge on every card, whatever its height: a band across the top is the first thing a
   short card gives up its caption to, and a kind that moves depending on how many minutes it lasts
   is a kind that has to be read twice. Out of flow so the layouts above need not account for it. */
.schedule-apt-status-bar[b-arwnaz9rmz] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: .42rem;
    border-radius: .45rem 0 0 .45rem;
    background: var(--apt-accent, var(--iws-border));
}
/* The gaps stay white so the pattern still reads on the tinted card. */
.schedule-apt--kind-reservation .schedule-apt-status-bar[b-arwnaz9rmz] {
    background: repeating-linear-gradient(-45deg, var(--apt-accent) 0 4px, var(--iws-surface) 4px 8px);
}
.schedule-apt--kind-blocked .schedule-apt-status-bar[b-arwnaz9rmz] {
    background: radial-gradient(var(--apt-accent) 1.15px, var(--iws-surface) 1.2px);
    background-size: 5px 5px;
}
.schedule-apt-badge[b-arwnaz9rmz],
.schedule-apt-time[b-arwnaz9rmz] {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    align-self: flex-start;
    max-width: 100%;
    padding: .08rem .45rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--iws-surface-sunken);
    color: var(--iws-text);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.schedule-apt-badge[b-arwnaz9rmz] {
    background: var(--iws-surface);
    color: var(--apt-ink, var(--iws-text));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--apt-accent, var(--iws-text-faint)) 40%, transparent);
}
.schedule-apt-time[b-arwnaz9rmz] {
    font-weight: 500;
    background: color-mix(in srgb, var(--iws-surface) 85%, transparent);
    color: var(--apt-ink, var(--iws-text));
}
.schedule-apt-time[b-arwnaz9rmz]  svg { width: .75rem; height: .75rem; flex: 0 0 auto; }
/* Who and what. The name is the one thing read at a glance, so it alone is demibold and 2px above
   the 12px the rest of the card prints in. One line by default — the procedure runs on after the
   name and gives way first — and stacked on a card three rows tall or more. */
.schedule-apt-lead[b-arwnaz9rmz] {
    display: flex;
    flex: 0 1 auto;
    align-items: baseline;
    gap: .5rem;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1.25;
}
.schedule-apt-headline[b-arwnaz9rmz],
.schedule-apt-detail[b-arwnaz9rmz] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.schedule-apt-headline[b-arwnaz9rmz] {
    flex: 0 1 auto;
    color: var(--iws-text);
    font-size: .875rem;
    font-weight: 600;
}
.schedule-apt-detail[b-arwnaz9rmz] {
    flex: 1 1 0;
    color: var(--apt-ink, var(--iws-text));
    font-size: .75rem;
    font-weight: 400;
}
.schedule-apt--stacked .schedule-apt-lead[b-arwnaz9rmz] {
    flex-direction: column;
    align-items: stretch;
    gap: .28rem;
    white-space: normal;
}
.schedule-apt--stacked .schedule-apt-headline[b-arwnaz9rmz],
.schedule-apt--stacked .schedule-apt-detail[b-arwnaz9rmz] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    flex: 0 1 auto;
    min-height: 0;
}
/* Two rows hold one line of text over the time line, and no more, so the card sits tighter. */
.schedule-apt--vertical:not(.schedule-apt--stacked)[b-arwnaz9rmz] {
    gap: .15rem;
    padding-top: .2rem;
    padding-bottom: .2rem;
}
/* Pinned to the bottom, and the lines above give way first, so a short card keeps its time. */
.schedule-apt-footer[b-arwnaz9rmz] {
    display: flex;
    flex: none;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    min-width: 0;
}
.schedule-apt-footer .schedule-apt-time[b-arwnaz9rmz] { flex: 0 1 auto; min-width: 0; align-self: center; }
.schedule-apt-footer .schedule-apt-badge[b-arwnaz9rmz] { flex: none; align-self: center; }
.schedule-apt-encounter[b-arwnaz9rmz] { flex: none; align-self: center; }

/* The click pop-up's body, drawn again since the template replaces the default one. */
.schedule-tooltip-body[b-arwnaz9rmz] { display: grid; gap: .3rem; min-width: 14rem; padding: .15rem 0; font-size: .8rem; color: var(--iws-text); }
.schedule-tooltip-line[b-arwnaz9rmz] { display: flex; align-items: center; gap: .35rem; min-width: 0; }
.schedule-tooltip-line[b-arwnaz9rmz]  svg { width: .8rem; height: .8rem; flex: none; }
.schedule-tooltip-procedure[b-arwnaz9rmz] { color: var(--iws-text); font-weight: 600; }
.schedule-tooltip-steps[b-arwnaz9rmz] { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .25rem; }
.schedule-apt--vertical:has(.schedule-apt-repeat) .schedule-apt-footer[b-arwnaz9rmz] { padding-right: 1rem; }
.schedule-apt-subject[b-arwnaz9rmz] {
    flex: 1;
    min-height: 0;
    color: var(--iws-text);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.25;
    overflow: hidden;
}
.schedule-apt--horizontal[b-arwnaz9rmz] {
    flex-direction: row;
    align-items: center;
    gap: .35rem;
    padding: .12rem .4rem .12rem .75rem;
}
.schedule-apt--horizontal .schedule-apt-subject[b-arwnaz9rmz] {
    flex: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.schedule-apt--horizontal .schedule-apt-lead[b-arwnaz9rmz] { flex: 1 1 auto; }
/* Series marker in the corner, the way the Scheduler flags recurring appointments. */
.schedule-apt-repeat[b-arwnaz9rmz] {
    position: absolute;
    right: .28rem;
    bottom: .22rem;
    display: inline-flex;
    color: var(--apt-ink, var(--iws-text));
    opacity: .8;
}
.schedule-apt-repeat[b-arwnaz9rmz]  svg { width: .78rem; height: .78rem; }
.schedule-apt--horizontal .schedule-apt-repeat[b-arwnaz9rmz] {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}
/* One-line cards keep the marker clear of the subject. */
.schedule-apt--horizontal:has(.schedule-apt-repeat)[b-arwnaz9rmz] { padding-right: 1.2rem; }
/* A card as short as one row of the ruler. It spends its one line entirely on the caption, so the
   kind is only the stripe, the tint and the tooltip. */
.schedule-apt--slot .schedule-apt-lead[b-arwnaz9rmz] { align-self: center; line-height: 1.2; }
.schedule-apt--slot .schedule-apt-headline[b-arwnaz9rmz] { font-size: .8125rem; }
/* Natural width here, not the rest of the line: the time line runs on after it. It gives way after
   the pills and before the name. */
.schedule-apt--slot .schedule-apt-detail[b-arwnaz9rmz] { flex: 0 50 auto; font-size: .6875rem; }
/* The time line on the one line. One line tall with the overflow clipped, so a pill that no longer
   fits wraps out of sight whole instead of being cut; the empty first item lets even the time wrap
   away. The shrink weight makes the pills give way before the procedure and the name. */
.schedule-apt-runon[b-arwnaz9rmz] {
    display: flex;
    flex: 0 1000 auto;
    flex-wrap: wrap;
    align-self: center;
    align-items: center;
    min-width: 0;
    height: 1.1rem;
    overflow: hidden;
}
.schedule-apt-runon[b-arwnaz9rmz]::before { content: ""; width: 0; }
.schedule-apt-runon > *[b-arwnaz9rmz] { flex: none; max-width: none; margin-left: .35rem; align-self: center; }
.schedule-apt-runon > :first-child[b-arwnaz9rmz] { margin-left: 0; }
.schedule-apt-runon .schedule-apt-time[b-arwnaz9rmz],
.schedule-apt-runon .schedule-apt-badge[b-arwnaz9rmz] { font-size: .6875rem; }
/* Show Available. The three fills are the mockup's, with a darker edge each for the legend keys.
   Declared on the workspace so the grid and the footer's legend take their colours from one place. */
.schedule-workspace[b-arwnaz9rmz] {
    --avail-am: color-mix(in srgb, #ffe13a 40%, var(--iws-surface)); --avail-am-edge: color-mix(in srgb, #d3b22a 70%, var(--iws-surface));
    --avail-pm: color-mix(in srgb, #ff9e46 40%, var(--iws-surface)); --avail-pm-edge: color-mix(in srgb, #d38e41 70%, var(--iws-surface));
    --avail-both: color-mix(in srgb, #9bd78a 40%, var(--iws-surface)); --avail-both-edge: color-mix(in srgb, #72b06f 70%, var(--iws-surface));
}
/* The day cell is DevExpress markup, not ours, so scoped CSS has to be told to reach into it —
   `::deep` after an element of this page's own, which is what carries the scope attribute. Written
   `:deep(...)` these three shipped as an unknown pseudo-class and the whole rule was dropped, which
   is why the mode tinted nothing at all.
   The fill is all that changes: the day number, the appointment chips, the cell's own hit area and
   its hairline are left exactly as the grid drew them. The darker edges belong to the legend keys,
   where a swatch of a few pixels needs an outline to be read at all; on the grid they would draw a
   second border inside the one the cell already has. */
.scheduler-card[b-arwnaz9rmz]  .iws-avail-am { background-color: var(--avail-am) !important; }
.scheduler-card[b-arwnaz9rmz]  .iws-avail-pm { background-color: var(--avail-pm) !important; }
.scheduler-card[b-arwnaz9rmz]  .iws-avail-both { background-color: var(--avail-both) !important; }
.scheduler-card[b-arwnaz9rmz]  .iws-slot-unavailable {
    background-color: var(--iws-surface-sunken) !important;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent 0 5px,
        color-mix(in srgb, var(--iws-text-secondary) 5.5%, transparent) 5px 10px) !important;
    cursor: not-allowed;
}

.schedule-room-header[b-arwnaz9rmz] { display: flex; flex-direction: column; align-items: center; min-width: 0; max-width: 100%; line-height: 1.2; }
.schedule-room-name[b-arwnaz9rmz],
.schedule-room-facility[b-arwnaz9rmz] { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-room-facility[b-arwnaz9rmz] { font-size: .72rem; font-weight: 400; opacity: .8; }

/* Today's column header: a wash and a bar under it, where the day number alone was easy to miss. */
.scheduler-card[b-arwnaz9rmz]  .iws-today-header {
    background-color: var(--iws-selected) !important;
    box-shadow: inset 0 -3px 0 var(--medq-blue);
    font-weight: 700;
}
.scheduler-card[b-arwnaz9rmz]  .iws-today-cell { box-shadow: inset 0 0 0 2px var(--medq-blue); }
.scheduler-card[b-arwnaz9rmz]  .iws-today-cell:not(.iws-avail-am):not(.iws-avail-pm):not(.iws-avail-both) { background-color: var(--iws-tint) !important; }
/* The clicked slot: the hover shade, in blue, until another is clicked. After the unavailable and
   tint rules so it wins over both. */
.scheduler-card[b-arwnaz9rmz]  .iws-slot-selected {
    background-color: var(--iws-selected) !important;
    box-shadow: inset 0 0 0 1px var(--iws-brand-soft);
}

/* A slot someone else has selected, and a card someone else has selected or open: their colour, their
   short name in the corner, their full name on hovering it. Set by iwsSchedulerPresence, which supplies
   --iws-presence and the badge element. */
.scheduler-card[b-arwnaz9rmz]  td.iws-presence-mark {
    position: relative;
    box-shadow: inset 0 0 0 2px var(--iws-presence);
    background-image: linear-gradient(color-mix(in srgb, var(--iws-presence) 14%, transparent), color-mix(in srgb, var(--iws-presence) 14%, transparent));
}
.scheduler-card[b-arwnaz9rmz]  .iws-presence-badge {
    position: absolute;
    top: 1px;
    right: 2px;
    z-index: 1;
    box-sizing: border-box;
    max-width: calc(100% - 4px);
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 .4rem;
    border-radius: .5rem;
    background: var(--iws-presence);
    color: var(--iws-text-on-accent);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1rem;
    white-space: nowrap;
    cursor: default;
}
/* Selected on the calendar: solid. Open in the form: dashed. */
.scheduler-card[b-arwnaz9rmz]  .schedule-apt.iws-presence-mark {
    outline: 2px solid var(--iws-presence);
    outline-offset: -1px;
}
.scheduler-card[b-arwnaz9rmz]  .schedule-apt.iws-presence-mark.iws-presence-open { outline-style: dashed; }
/* A slot someone is booking right now: hatched, so it reads as taken-for-the-moment rather than looked at. */
.scheduler-card[b-arwnaz9rmz]  td.iws-presence-mark.iws-presence-hold {
    background-image: repeating-linear-gradient(45deg,
        color-mix(in srgb, var(--iws-presence) 28%, transparent) 0 6px,
        transparent 6px 12px);
}

/* The control of a field of the appointment form, without its caption: what someone else's outline
   goes round. Fitted to the editors where a row leaves space beside them. */
.appointment-form [data-collab-box][b-arwnaz9rmz] { position: relative; min-width: 0; border-radius: .3rem; }
.appointment-form [data-collab-box] > input[b-arwnaz9rmz] { box-sizing: border-box; width: 100%; }
.appointment-allday-box[b-arwnaz9rmz] { display: inline-flex; align-items: center; }
/* A control someone else is in, and one they are changing: locked, read-only grey, until they save. */
.appointment-form [data-collab-box].iws-presence-mark[b-arwnaz9rmz] {
    outline: 2px solid var(--iws-presence);
    outline-offset: 2px;
}
.appointment-form [data-collab-box].iws-presence-locked[b-arwnaz9rmz] { cursor: not-allowed; }
.appointment-form [data-collab-box].iws-presence-locked[b-arwnaz9rmz]  :is(.dxbl-text-edit, input, button) {
    background-color: var(--iws-surface-sunken) !important;
    color: var(--iws-text-secondary);
}
.appointment-form [data-collab-box].iws-presence-locked[b-arwnaz9rmz]  .dxbl-checkbox { opacity: .55; }
.appointment-form[b-arwnaz9rmz]  .iws-presence-badge {
    position: absolute;
    top: -.6rem;
    right: -.25rem;
    z-index: 1;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 .4rem;
    border-radius: .5rem;
    background: var(--iws-presence);
    color: var(--iws-text-on-accent);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1rem;
    white-space: nowrap;
    cursor: default;
}

/* The left end of the toolbar is four separate controls, not a segmented group, so without this they
   sit flush against each other. One gap after each but the last.
   `::deep` for the same reason as the day cells above: `CssClass` lands on the item element the
   toolbar renders, which is DevExpress markup and carries none of this page's scope. */
.scheduler-card[b-arwnaz9rmz]  .schedule-view-item,
.scheduler-card[b-arwnaz9rmz]  .schedule-frequency-item,
.scheduler-card[b-arwnaz9rmz]  .schedule-avail-item { margin-right: .5rem; }
.scheduler-card[b-arwnaz9rmz]  .schedule-date-item { display: inline-flex; align-items: center; }
/* The toolbar's items sit as one group in the middle of the row. DxToolbar aligns items only left or
   right; this is the rule DevExpress's own report viewer centres its toolbar with. */
.scheduler-card[b-arwnaz9rmz]  .dxbl-sc-tb-wrapper .dxbl-toolbar > .dxbl-btn-toolbar { justify-content: center; }
.scheduler-card[b-arwnaz9rmz]  .schedule-step-item { margin-left: 1rem; }
.schedule-date-caption[b-arwnaz9rmz] { padding: 0 .75rem 0 .4rem; color: var(--medq-navy); font-size: .9rem; font-weight: 600; white-space: nowrap; }
/* One height for the whole right end, declared once and read by all three. Each control was sizing
   itself before — our button from a hard-coded height, the two menus from DevExpress — and
   different answers on one row read as different bars. The items are flex so whatever the
   toolbar renders inside them is stretched to that height and centred on the row, which also means
   none of this depends on the class names of markup that is not ours. */
/* One height for our three right-end controls. The Scheduler's own toolbar row is left exactly as it
   ships — its `--dxbl-scheduler-toolbar-fix-height` and the wrapper's height are its business, and
   pinning them moved the calendar around rather than the line that was wrong. */
.schedule-workspace[b-arwnaz9rmz] { --schedule-toolbar-h: 2.25rem; }
.scheduler-card[b-arwnaz9rmz]  .schedule-avail-item,
.scheduler-card[b-arwnaz9rmz]  .schedule-frequency-item,
.scheduler-card[b-arwnaz9rmz]  .schedule-print-item,
.scheduler-card[b-arwnaz9rmz]  .schedule-view-item { display: inline-flex; align-items: center; }
.scheduler-card[b-arwnaz9rmz]  .schedule-frequency-item > *,
.scheduler-card[b-arwnaz9rmz]  .schedule-print-item > *,
.scheduler-card[b-arwnaz9rmz]  .schedule-view-item > * { height: var(--schedule-toolbar-h); display: inline-flex; align-items: center; }
.schedule-avail-toggle[b-arwnaz9rmz] { display: inline-flex; align-items: center; height: var(--schedule-toolbar-h); padding: 0 .8rem; border: 1px solid var(--iws-border-strong); border-radius: .25rem; background: var(--iws-surface); color: var(--medq-navy); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.schedule-avail-toggle:hover[b-arwnaz9rmz] { border-color: var(--medq-blue); color: var(--medq-blue); }
.schedule-avail-toggle.is-on[b-arwnaz9rmz] { border-color: var(--iws-accent); background: var(--iws-accent); color: var(--iws-text-on-accent); }
.schedule-avail-toggle:disabled[b-arwnaz9rmz] { border-color: var(--iws-border); color: var(--iws-text-faint); cursor: not-allowed; }
.schedule-avail-toggle.is-busy[b-arwnaz9rmz] { gap: .45rem; }
.schedule-avail-toggle.is-busy:disabled[b-arwnaz9rmz] { border-color: var(--iws-border-strong); color: var(--medq-navy); cursor: progress; }
.schedule-avail-group[b-arwnaz9rmz] { display: inline-flex; align-items: center; }
.avail-legend[b-arwnaz9rmz] { display: inline-flex; align-items: center; gap: .3rem; margin-left: .75rem; color: var(--iws-text-muted); font-size: .75rem; white-space: nowrap; }
.avail-legend .avail-key:not(:first-child)[b-arwnaz9rmz] { margin-left: .8rem; }
.avail-key[b-arwnaz9rmz] { flex: none; width: .75rem; height: .75rem; border-radius: .15rem; }
.avail-key.iws-avail-am[b-arwnaz9rmz] { background: var(--avail-am); border: 1px solid var(--avail-am-edge); }
.avail-key.iws-avail-pm[b-arwnaz9rmz] { background: var(--avail-pm); border: 1px solid var(--avail-pm-edge); }
.avail-key.iws-avail-both[b-arwnaz9rmz] { background: var(--avail-both); border: 1px solid var(--avail-both-edge); }
.schedule-error[b-arwnaz9rmz] { margin: 0; padding: .55rem .7rem; border: 1px solid var(--iws-danger-border); border-radius: .25rem; background: var(--iws-danger-bg); color: var(--iws-danger-text); font-size: .8rem; }
.schedule-state[b-arwnaz9rmz] { margin: 3rem auto; max-width: 36rem; padding: 1.5rem; text-align: center; color: var(--iws-text-muted); }
.schedule-denied[b-arwnaz9rmz] { border: 1px solid var(--iws-border); border-radius: .35rem; background: var(--iws-surface); }.schedule-denied h1[b-arwnaz9rmz] { color: var(--medq-navy); font-size: 1.2rem; }

.context-layer[b-arwnaz9rmz] { position: fixed; z-index: 30; inset: 0; }
.context-menu[b-arwnaz9rmz] { position: fixed; width: max-content; min-width: 14rem; max-width: calc(100vw - 16px); padding: .3rem; border: 1px solid var(--iws-border-strong); border-radius: .3rem; background: var(--iws-surface); box-shadow: 0 .8rem 2rem var(--iws-shadow); }
.context-menu button[b-arwnaz9rmz] { width: 100%; padding: .42rem .55rem; border: 0; border-radius: .2rem; background: transparent; color: var(--iws-text); text-align: left; }
.context-menu button:hover:not(:disabled)[b-arwnaz9rmz], .context-menu button.selected[b-arwnaz9rmz] { background: var(--iws-selected); color: var(--medq-navy); }
.context-menu button:disabled[b-arwnaz9rmz] { color: var(--iws-text-faint); }.context-menu button.danger[b-arwnaz9rmz] { color: var(--iws-danger-text); }
.context-separator[b-arwnaz9rmz] { height: 1px; margin: .25rem; background: var(--iws-border-subtle); }

/* The page's own modal — backdrop, panel, header, commit pair — is gone: all three of the sheets it
   dressed are on AppIWSDialog, and the frame brings every one of those parts with it. What survives
   below is what belongs to the forms themselves rather than to the box they were in. */
.appointment-form label[b-arwnaz9rmz] { display: grid; gap: .25rem; color: var(--medq-navy); font-size: .78rem; font-weight: 600; }
/* The appointment form's own copy of what `.schedule-modal input` lent it, kept when it moved onto
   AppIWSDialog and lost
   `.schedule-modal` from its ancestry. `label > input` rather than a bare `input`: Subject is the one
   plain input left in this form and it is a direct child of its label, while every DevExpress editor
   here keeps its input two elements deeper inside a `dxbl-` custom element. So this dresses the one
   field that has nothing else dressing it, and leaves the editors to the frame's own density — which
   is the point of the move, and the half of it that has to be checked by eye. */
.appointment-form label > input[b-arwnaz9rmz],
.appointment-form label > [data-collab-box] > input[b-arwnaz9rmz] { min-width: 0; height: var(--iws-control-height); padding: 0 .45rem; border: 1px solid var(--iws-border-strong); border-radius: .25rem; font: inherit; }
/* The room whose week this is, named once under the strip. Its own rule since the sheet moved onto
   AppIWSDialog and took the page's modal header with it: a bare paragraph in the frame's card would
   otherwise take the browser's 1em margins on both sides of itself. */
.availability-resource[b-arwnaz9rmz] { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--medq-navy); font-size: .82rem; font-weight: 600; }
.availability-colour[b-arwnaz9rmz] { display: flex; align-items: center; gap: .6rem; margin-top: .6rem; color: var(--medq-navy); font-size: .78rem; font-weight: 600; }
.availability-colour[b-arwnaz9rmz]  .room-colour-box { width: 5.5rem; }
.availability-colour[b-arwnaz9rmz]  .room-colour-box .dxbl-text-edit-input { width: 0; min-width: 0; padding: 0; }
.room-colour-current[b-arwnaz9rmz] { flex: 1 1 auto; align-self: stretch; min-width: 1.5rem; border-radius: 3px; }
/* The 27rem this sheet is sized to now sits on the frame as Width, with 95vw as its MaxWidth — the
   pair the `min()` here used to express. Narrow on purpose: the editors take the width the dialog
   does not use and a time is five characters, so at the width that merely stopped the closing time
   being cut off, each box was twice the size of anything that can be typed in it. */
.work-time-rows[b-arwnaz9rmz] { display: grid; gap: .45rem; margin-top: .75rem; }
.work-time-row[b-arwnaz9rmz] {
    display: grid;
    /* The editors take the slack and give it back: a floor of their own would spill over the right
       edge again on the narrow viewports where the dialog is capped to 95vw instead. */
    grid-template-columns: 5.5rem auto 3.5rem minmax(0, 1fr) auto minmax(0, 1fr);
    gap: .5rem;
    align-items: center;
    color: var(--medq-navy);
    font-size: .78rem;
}
/* The 42rem and the 95vw this form was sized by now sit on the frame as Width and MaxWidth. */
/* Top-aligned rather than stretched: a cell that grows a note under its editor would otherwise make
   the whole row that tall, and the field beside it stretches with it — its own auto rows absorbing the
   slack, so its editor drifts below the one it is meant to line up with. */
.appointment-form[b-arwnaz9rmz] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; align-items: start; }
.appointment-form .wide[b-arwnaz9rmz] { grid-column: 1 / -1; }
/* A field laid out like the labelled ones beside it, but captioned by a span: see the markup for why
   a drop-down box cannot live inside a label. */
.appointment-form .appointment-field[b-arwnaz9rmz] { display: grid; gap: .25rem; }
.appointment-field-label[b-arwnaz9rmz] { color: var(--medq-navy); font-size: .78rem; font-weight: 600; }
.appointment-field-label.field-label--required[b-arwnaz9rmz] { color: var(--iws-required-label); font-weight: 700; }
/* Three type buttons sharing the half of the row the Room picker leaves, apart rather than joined, so
   they read as three buttons and not as one control cut in three. At rest they are the app's plain
   button; hovered or pressed they wear their type's slot colours; chosen, its background and text
   swapped. The colours come in as the cards' own properties, set on each button from the scheme. */
.appointment-field[b-arwnaz9rmz]  .appointment-type-buttons { display: flex; width: 100%; gap: .4rem; }
.appointment-field[b-arwnaz9rmz]  .appointment-type-buttons > .appointment-type-button {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    border-radius: var(--dxbl-btn-border-radius, .25rem);
    --dxbl-btn-hover-bg: var(--apt-tint);
    --dxbl-btn-hover-color: var(--apt-ink);
    --dxbl-btn-hover-border-color: var(--apt-accent);
    --dxbl-btn-active-bg: var(--apt-tint);
    --dxbl-btn-active-color: var(--apt-ink);
    --dxbl-btn-active-border-color: var(--apt-accent);
}
.appointment-field[b-arwnaz9rmz]  .appointment-type-buttons > .appointment-type-button.is-chosen {
    --dxbl-btn-bg: var(--apt-ink);
    --dxbl-btn-color: var(--apt-tint);
    --dxbl-btn-border-color: var(--apt-ink);
    --dxbl-btn-hover-bg: var(--apt-ink);
    --dxbl-btn-hover-color: var(--apt-tint);
    --dxbl-btn-hover-border-color: var(--apt-ink);
    --dxbl-btn-active-bg: var(--apt-ink);
    --dxbl-btn-active-color: var(--apt-tint);
    --dxbl-btn-active-border-color: var(--apt-ink);
}
/* The groups are told apart by the space between them, wider than the space between the rows inside
   one: the grid's own gap plus this, about three of those rows' gaps in all. */
.appointment-form .appointment-when-block[b-arwnaz9rmz],
.appointment-form .appointment-group-start[b-arwnaz9rmz] { margin-top: 1.9rem; }
/* When, set in from the form's edge: the two ends down the left, and beside each what governs it —
   the length and All day beside Start, the repeat pattern beside End. Bottom-aligned, so a control
   with no caption of its own sits on the line of the editor beside it. */
.appointment-when-block[b-arwnaz9rmz] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1.6rem;
    row-gap: 1.1rem;
    align-items: end;
    padding-inline: 2.6rem;
}
.appointment-length-row[b-arwnaz9rmz] { display: flex; align-items: center; gap: 1.2rem; min-width: 0; }
.appointment-duration[b-arwnaz9rmz] { flex: 0 0 8.2rem; min-width: 0; }
.appointment-duration[b-arwnaz9rmz]  .form-field-editor-wrap,
.appointment-duration[b-arwnaz9rmz]  .dxbl-text-edit { min-width: 0; width: 100%; }
/* The switch reads as the answer to the words beside it, so it sits next to them. Pushed to the far
   end of the row it was a control with nothing to belong to and a caption with nothing to set. */
.appointment-allday[b-arwnaz9rmz] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .6rem;
    min-height: 2.1rem;
}
.appointment-allday-label[b-arwnaz9rmz] {
    color: var(--medq-navy);
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
}
.appointment-when[b-arwnaz9rmz] { display: grid; gap: .35rem; }
.appointment-when-label[b-arwnaz9rmz] { color: var(--medq-navy); font-size: .78rem; font-weight: 600; }
/* A date and a clock time are fixed-length strings, so the pair is sized for what it holds and the
   slack is left beside it, outside the box a colleague's outline goes round. Split as halves of the
   row the date stopped at its own 12rem cap
   while the time stretched on to the far edge, and the space between the two read as a missing field.
   The widths are the same two the tablet form uses, for a row that matches across the clients. */
.appointment-when-editors[b-arwnaz9rmz] { display: grid; grid-template-columns: 8.2rem 6.7rem; justify-self: start; max-width: 100%; gap: .5rem; }
.appointment-when-editors[b-arwnaz9rmz]  .form-field-editor-wrap,
.appointment-when-editors[b-arwnaz9rmz]  .dxbl-text-edit { min-width: 0; width: 100%; }
.appointment-repeat[b-arwnaz9rmz] { display: grid; gap: .25rem; min-width: 0; max-width: 16rem; }
/* The picker and its button on one line, stretched to it: the line is as tall as the editor, and the
   editor is drawn at the theme's height — which moves with the density the frame is configured at, so
   a height written here for the button would be wrong again the next time that changed. */
.appointment-repeat-row[b-arwnaz9rmz] { display: flex; align-items: stretch; gap: .45rem; }
.appointment-repeat-row[b-arwnaz9rmz]  .form-field-editor-wrap { flex: 1 1 auto; min-width: 0; }
.recurrence-settings[b-arwnaz9rmz] { width: 2.15rem; padding: 0; border: 1px solid var(--iws-border-strong); border-radius: .25rem; background: var(--iws-surface); color: var(--iws-text-secondary); font-size: 1rem; cursor: pointer; }
.recurrence-settings:hover:not(:disabled)[b-arwnaz9rmz] { border-color: var(--medq-blue); background: var(--iws-tint); color: var(--medq-navy); }
.recurrence-settings:disabled[b-arwnaz9rmz] { opacity: .4; cursor: default; }
/* The 30rem and the 95vw sit on the frame as Width and MaxWidth; the backdrop's z-index is gone with
   the backdrop, a frame opened second stacking above one opened first without being told to. */
.recurrence-form[b-arwnaz9rmz] { display: grid; gap: .85rem; padding-top: .8rem; }
/* What `.schedule-modal` was lending this form before it moved onto AppIWSDialog. The number boxes
   only: the radios were being given a text box's padding and border by a selector that could not tell
   them apart, and are better off with the browser's. */
.recurrence-form input[type="number"][b-arwnaz9rmz] { min-width: 0; height: var(--iws-control-height); padding: 0 .45rem; border: 1px solid var(--iws-border-strong); border-radius: .25rem; font: inherit; }
.recurrence-form fieldset[b-arwnaz9rmz] { margin: 0; border: 0; padding: 0; }
.recurrence-form legend[b-arwnaz9rmz] { margin-bottom: .35rem; color: var(--medq-navy); font-size: .78rem; font-weight: 700; }
.recurrence-summary[b-arwnaz9rmz] { margin: 0; padding: .55rem .7rem; border-radius: .3rem; background: var(--iws-tint); color: var(--iws-text-secondary); font-size: .8rem; }
.recurrence-every[b-arwnaz9rmz] { display: grid; grid-template-columns: auto 4.5rem 1fr; align-items: center; gap: .5rem; color: var(--medq-navy); font-size: .82rem; }
.recurrence-every input[b-arwnaz9rmz] { width: 100%; }
.recurrence-days[b-arwnaz9rmz] { display: flex; gap: .35rem; }
.recurrence-days button[b-arwnaz9rmz] { width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--iws-border-strong); border-radius: 50%; background: var(--iws-surface); color: var(--iws-text-secondary); }
.recurrence-days button.selected[b-arwnaz9rmz] { border-color: var(--iws-accent); background: var(--iws-accent); color: var(--iws-text-on-accent); }
.recurrence-end[b-arwnaz9rmz] { display: grid; gap: .55rem; }
.recurrence-end > label[b-arwnaz9rmz] { display: flex; grid-template-columns: none; align-items: center; gap: .45rem; color: var(--iws-text-secondary); font-weight: 400; }
.recurrence-end input[type="radio"][b-arwnaz9rmz] { margin: 0; }
.recurrence-end input[type="number"][b-arwnaz9rmz] { width: 4.5rem; }
.recurrence-end-date[b-arwnaz9rmz] { width: 10rem; }
.recurrence-end-date[b-arwnaz9rmz]  .form-field-editor-wrap,
.recurrence-end-date[b-arwnaz9rmz]  .dxbl-text-edit { width: 100%; }

@media (max-width: 720px) {
    .resource-panel[b-arwnaz9rmz] { max-height: 14rem; }
    .appointment-form[b-arwnaz9rmz] { grid-template-columns: 1fr; }.appointment-form .wide[b-arwnaz9rmz] { grid-column: auto; }
    /* Too narrow for the fixed pair and its slack: the two share what there is instead. */
    .appointment-when-editors[b-arwnaz9rmz] { grid-template-columns: minmax(0, 1fr) minmax(0, 9rem); justify-self: stretch; }
    /* No room for a column beside the dates, nor for the inset: the length and the pattern each take a
       row under the end they belong to. */
    .appointment-when-block[b-arwnaz9rmz] { grid-template-columns: minmax(0, 1fr); padding-inline: 0; row-gap: .7rem; }
    .appointment-form .appointment-when-block[b-arwnaz9rmz],
    .appointment-form .appointment-group-start[b-arwnaz9rmz] { margin-top: 1rem; }
    .appointment-repeat[b-arwnaz9rmz] { max-width: none; }
}
/* /Pages/Settings/SettingsAlerts.razor.rz.scp.css */
.settings-alerts__filter[b-kl8j205zxv] {
    width: 150px;
}

.settings-alerts__filter--wide[b-kl8j205zxv] {
    width: 220px;
}
/* /Pages/Settings/SettingsDistributionChannels.razor.rz.scp.css */
.dist-split[b-xa1ot4nygz] {
    display: grid;
    grid-template-columns: 370px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.dist-list[b-xa1ot4nygz],
.dist-card[b-xa1ot4nygz] {
    border: 1px solid var(--iws-border);
    border-radius: 6px;
    background: var(--iws-surface);
    min-width: 0;
}

.dist-list[b-xa1ot4nygz] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dist-list-bar[b-xa1ot4nygz] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-bottom: 1px solid var(--iws-border);
}

.dist-spacer[b-xa1ot4nygz] {
    flex: 1 1 auto;
}

.dist-show-inactive[b-xa1ot4nygz] {
    font-size: 0.8125rem;
}

.dist-list .dist-table[b-xa1ot4nygz] {
    border: 0;
    border-radius: 0;
}

.dist-detail[b-xa1ot4nygz] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dist-detail > .dist-card[b-xa1ot4nygz] {
    flex: 1 1 auto;
}

.dist-card[b-xa1ot4nygz] {
    display: flex;
    flex-direction: column;
}

.dist-card-body[b-xa1ot4nygz] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    flex: 1 1 auto;
}

.dist-card-title[b-xa1ot4nygz] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-family: Roboto, "Segoe UI", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--medq-navy);
}

.dist-note[b-xa1ot4nygz] {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--iws-text-secondary);
}

.dist-card-title + .dist-note[b-xa1ot4nygz] {
    margin-top: -6px;
}

[b-xa1ot4nygz] .dist-icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.dist-card-title[b-xa1ot4nygz]  .dist-icon svg {
    width: 1rem;
    height: 1rem;
}

.dist-name[b-xa1ot4nygz] {
    font-weight: 600;
}

.dist-type[b-xa1ot4nygz] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dist-type[b-xa1ot4nygz]  .dist-icon {
    color: var(--iws-text-secondary);
}

.dist-inline[b-xa1ot4nygz] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.8125rem;
}

.dist-two[b-xa1ot4nygz] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dist-flag[b-xa1ot4nygz] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.dist-flag > .dist-note[b-xa1ot4nygz] {
    min-width: 0;
}

.dist-row[b-xa1ot4nygz] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.dist-cell[b-xa1ot4nygz] {
    min-width: 0;
}

.dist-cell--half[b-xa1ot4nygz] {
    flex: 1 1 0;
}

.dist-cell--fill[b-xa1ot4nygz] {
    flex: 1 1 0;
}

/* As wide as its label on one line, never less than a short number needs; the editor follows the
   label's width instead of setting it, so the boxes in the row start on one line. */
.dist-cell--narrow[b-xa1ot4nygz] {
    flex: 0 0 auto;
    min-width: 90px;
}

.dist-cell--narrow[b-xa1ot4nygz]  .form-field > label {
    white-space: nowrap;
}

.dist-cell--narrow[b-xa1ot4nygz]  .form-field > :not(label) {
    width: 0;
    min-width: 100%;
}

.dist-exception-kind[b-xa1ot4nygz] {
    margin-top: 2px;
    font-size: 0.68rem;
    color: var(--iws-text-secondary);
}

/* The hint or a refusal under the Number box makes the edit row taller; the other cells stay level with the boxes. */
[b-xa1ot4nygz] .dist-exceptions tr.dxbl-grid-edit-row > td {
    vertical-align: top;
}

[b-xa1ot4nygz] .dist-exceptions tr.dxbl-grid-edit-row .settings-row-actions,
[b-xa1ot4nygz] .dist-exceptions tr.dxbl-grid-edit-row .settings-hint {
    display: flex;
    align-items: center;
    min-height: calc(1em * var(--dxbl-grid-line-height, 1.4285) + 2 * var(--dxbl-text-edit-padding-y-m, .3125rem) + 2px);
}

.dist-cell--full[b-xa1ot4nygz] {
    flex: 1 1 100%;
}

.dist-refresh[b-xa1ot4nygz] {
    align-self: flex-start;
}

.dist-refresh > label[b-xa1ot4nygz] {
    white-space: nowrap;
}

.dist-refresh[b-xa1ot4nygz]  .dist-refresh-spin {
    width: 120px;
}

.dist-sect[b-xa1ot4nygz] {
    margin-top: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--iws-border-subtle);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--iws-text-faint);
}

.dist-retries[b-xa1ot4nygz] {
    display: grid;
    grid-template-columns: 120px 120px minmax(0, 1fr);
    gap: 10px;
    align-items: end;
}

.dist-retries-multiply[b-xa1ot4nygz] {
    min-height: var(--iws-control-height, 32px);
}

.dist-secret-set[b-xa1ot4nygz] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: var(--iws-success-text);
}

.dist-secret > .dist-secret-set[b-xa1ot4nygz] {
    flex: 0 0 auto;
}

.dist-small-table[b-xa1ot4nygz],
.dist-add-number[b-xa1ot4nygz] {
    max-width: 370px;
}

.dist-footer[b-xa1ot4nygz] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-top: 1px solid var(--iws-border);
    background: var(--iws-surface-subtle);
    border-radius: 0 0 6px 6px;
}

.dist-nothing[b-xa1ot4nygz] {
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 48px 18px;
    text-align: center;
}

.dist-nothing[b-xa1ot4nygz]  .dist-nothing-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.dist-nothing[b-xa1ot4nygz]  .dist-nothing-icon {
    color: var(--iws-text-faint);
}

.dist-tab-count[b-xa1ot4nygz] {
    display: inline-block;
    margin-left: 4px;
    padding: 0 6px;
    border-radius: 8px;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.5;
    background: var(--iws-tint);
    color: var(--iws-accent);
}

.dist-facilities-bar[b-xa1ot4nygz] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dist-facilities-bar[b-xa1ot4nygz]  .dist-facility-search {
    width: 100%;
    max-width: 300px;
}

.dist-back[b-xa1ot4nygz] {
    display: none;
    margin-bottom: 8px;
}

[b-xa1ot4nygz] .dist-row-inactive {
    opacity: 0.55;
}

@media (max-width: 900px) {
    .dist-split[b-xa1ot4nygz] {
        grid-template-columns: minmax(0, 1fr);
    }

    .dist-split--detail .dist-list[b-xa1ot4nygz],
    .dist-split:not(.dist-split--detail) .dist-detail[b-xa1ot4nygz] {
        display: none;
    }

    .dist-back[b-xa1ot4nygz] {
        display: inline-flex;
    }

    .dist-two[b-xa1ot4nygz],
    .dist-retries[b-xa1ot4nygz] {
        grid-template-columns: minmax(0, 1fr);
    }

    .dist-row[b-xa1ot4nygz] {
        flex-wrap: wrap;
    }

    .dist-cell--half[b-xa1ot4nygz],
    .dist-cell--fill[b-xa1ot4nygz] {
        flex-basis: 100%;
    }
}
/* /Pages/Settings/SettingsDistributionMailApps.razor.rz.scp.css */
.mail-apps-set[b-k9bzfxo06i] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: var(--iws-success-text);
}

[b-k9bzfxo06i] .mail-apps-icon svg {
    width: 0.95rem;
    height: 0.95rem;
}
/* /Pages/Settings/SettingsDistributionRules.razor.rz.scp.css */
.dist-picker[b-4v2b481mx2] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dist-picker-line[b-4v2b481mx2] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.dist-picker-line[b-4v2b481mx2]  .dist-picker-box {
    width: 280px;
    max-width: 100%;
}

.dist-picker-line[b-4v2b481mx2]  .dist-picker-glyph {
    pointer-events: none;
    opacity: 0.6;
}

.dist-picker-hint[b-4v2b481mx2] {
    margin: 0;
}

.dist-tab[b-4v2b481mx2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dist-tab[b-4v2b481mx2]  .dist-tab-icon svg {
    width: 0.85rem;
    height: 0.85rem;
}

.dist-tab-count[b-4v2b481mx2] {
    display: inline-block;
    padding: 0 6px;
    border-radius: 8px;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.5;
    background: var(--iws-tint);
    color: var(--iws-accent);
}

.dist-card[b-4v2b481mx2] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--iws-border);
    border-radius: 6px;
    background: var(--iws-surface);
    min-width: 0;
    overflow: hidden;
}

.dist-list-bar[b-4v2b481mx2] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 7px 8px;
    border-bottom: 1px solid var(--iws-border);
}

.dist-list-bar[b-4v2b481mx2]  .dist-search {
    width: 220px;
    max-width: 100%;
}

.dist-spacer[b-4v2b481mx2] {
    flex: 1 1 auto;
}

.dist-list .dist-table[b-4v2b481mx2] {
    border: 0;
    border-radius: 0;
}

.dist-list-foot[b-4v2b481mx2] {
    padding: 7px 10px;
    border-top: 1px solid var(--iws-border);
    font-size: 0.75rem;
    color: var(--iws-muted-text);
}

.dist-name[b-4v2b481mx2] {
    font-weight: 600;
}

/* The rule's dialog, as the approved mockup: compact fields, small section rules, pill channels. */
.dist-rule[b-4v2b481mx2] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dist-rule-top[b-4v2b481mx2] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 90px;
    gap: 10px;
    align-items: start;
}

.dist-rule-switch[b-4v2b481mx2] {
    display: flex;
    align-items: center;
    min-height: 32px;
}

.dist-rule-two[b-4v2b481mx2],
.dist-rule-three[b-4v2b481mx2] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
}

.dist-rule-three[b-4v2b481mx2] {
    grid-template-columns: 1fr 1fr 1fr;
}

.dist-rule-statuses[b-4v2b481mx2] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 32px;
}

.dist-rule-check[b-4v2b481mx2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.dist-rule[b-4v2b481mx2]  .dist-picker-glyph {
    pointer-events: none;
    opacity: 0.6;
}

.dist-sect[b-4v2b481mx2] {
    margin-top: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--iws-border-subtle);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--iws-text-faint);
}

.dist-chips[b-4v2b481mx2] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dist-chips[b-4v2b481mx2]  .dist-chip {
    height: 24px;
    min-height: 0;
    margin: 0;
    padding: 0 10px;
    gap: 5px;
    border-radius: 12px;
    font-size: 0.75rem;
    line-height: 1;
    --dxbl-btn-bg: var(--iws-surface);
    --dxbl-btn-color: var(--iws-text);
    --dxbl-btn-border-color: var(--iws-border);
    --dxbl-btn-hover-bg: var(--iws-hover);
    --dxbl-btn-hover-color: var(--iws-heading);
    --dxbl-btn-hover-border-color: var(--iws-border-strong);
    --dxbl-btn-disabled-bg: var(--iws-surface);
    --dxbl-btn-disabled-color: var(--iws-text);
    --dxbl-btn-disabled-border-color: var(--iws-border);
}

.dist-chips[b-4v2b481mx2]  .dist-chip.off {
    --dxbl-btn-color: var(--iws-danger-text);
    --dxbl-btn-border-color: color-mix(in srgb, var(--iws-danger-text) 35%, transparent);
    --dxbl-btn-hover-color: var(--iws-danger-text);
    --dxbl-btn-disabled-color: var(--iws-danger-text);
    --dxbl-btn-disabled-border-color: color-mix(in srgb, var(--iws-danger-text) 35%, transparent);
}

.dist-chips[b-4v2b481mx2]  .dist-chip.on {
    --dxbl-btn-bg: var(--iws-accent);
    --dxbl-btn-color: var(--iws-text-on-accent);
    --dxbl-btn-border-color: var(--iws-accent);
    --dxbl-btn-hover-bg: var(--iws-accent-hover);
    --dxbl-btn-hover-color: var(--iws-text-on-accent);
    --dxbl-btn-hover-border-color: var(--iws-accent-hover);
    --dxbl-btn-disabled-bg: var(--iws-accent);
    --dxbl-btn-disabled-color: var(--iws-text-on-accent);
    --dxbl-btn-disabled-border-color: var(--iws-accent);
}

.dist-chips[b-4v2b481mx2]  .dist-chip .iws-dx-icon {
    width: 0.75rem;
    height: 0.75rem;
}

.dist-recipients[b-4v2b481mx2] {
    width: 100%;
    border: 1px solid var(--iws-border);
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.dist-recipients th[b-4v2b481mx2] {
    padding: 6px 10px;
    background: var(--iws-tint);
    color: var(--iws-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
}

.dist-recipients td[b-4v2b481mx2] {
    padding: 5px 10px;
    border-top: 1px solid var(--iws-border-subtle);
    vertical-align: middle;
}

.dist-recipients .num[b-4v2b481mx2] {
    width: 96px;
    text-align: right;
}

.dist-recipients .act[b-4v2b481mx2] {
    width: 120px;
    text-align: right;
    white-space: nowrap;
}

.dist-sub[b-4v2b481mx2] {
    display: block;
    font-size: 0.72rem;
    color: var(--iws-muted-text);
}

.dist-mono[b-4v2b481mx2] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.dist-recipients .settings-row-action + .settings-row-action[b-4v2b481mx2] {
    margin-left: 10px;
}

.dist-add-line[b-4v2b481mx2] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.dist-warn[b-4v2b481mx2] {
    color: var(--iws-danger-text);
}

.dist-bypass[b-4v2b481mx2] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
}

[b-4v2b481mx2] .dist-row-off {
    background: var(--iws-danger-bg, rgba(179, 38, 30, 0.08));
}
/* /Pages/Settings/SettingsDistributionTemplates.razor.rz.scp.css */
.dist-picker[b-cxpfdg0as4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dist-picker-line[b-cxpfdg0as4] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.dist-picker-line[b-cxpfdg0as4]  .dist-picker-box {
    width: 280px;
    max-width: 100%;
}

.dist-picker-line[b-cxpfdg0as4]  .dist-picker-glyph {
    pointer-events: none;
    opacity: 0.6;
}

.dist-picker-hint[b-cxpfdg0as4] {
    margin: 0;
}

.dist-tab[b-cxpfdg0as4] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dist-tab[b-cxpfdg0as4]  .dist-tab-icon svg {
    width: 0.85rem;
    height: 0.85rem;
}

.dist-tab-count[b-cxpfdg0as4] {
    display: inline-block;
    padding: 0 6px;
    border-radius: 8px;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.5;
    background: var(--iws-tint);
    color: var(--iws-accent);
}

.dist-pdf[b-cxpfdg0as4] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dist-pdf[hidden][b-cxpfdg0as4] {
    display: none;
}

.dist-card[b-cxpfdg0as4] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--iws-border);
    border-radius: 6px;
    background: var(--iws-surface);
    min-width: 0;
    overflow: hidden;
}

.dist-list-bar[b-cxpfdg0as4] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 7px 8px;
    border-bottom: 1px solid var(--iws-border);
}

.dist-list-bar[b-cxpfdg0as4]  .dist-search {
    width: 220px;
    max-width: 100%;
}

.dist-optout[b-cxpfdg0as4] {
    font-size: 0.8125rem;
}

.dist-optout .settings-hint[b-cxpfdg0as4] {
    margin: 0;
}

.dist-spacer[b-cxpfdg0as4] {
    flex: 1 1 auto;
}

.dist-list .dist-table[b-cxpfdg0as4] {
    border: 0;
    border-radius: 0;
}

.dist-list-foot[b-cxpfdg0as4] {
    padding: 7px 10px;
    border-top: 1px solid var(--iws-border);
    font-size: 0.75rem;
    color: var(--iws-muted-text);
}

.dist-name[b-cxpfdg0as4] {
    font-weight: 600;
}

.dist-tpl[b-cxpfdg0as4] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dist-tpl-top[b-cxpfdg0as4] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px auto auto;
    gap: 10px 16px;
    align-items: start;
}

.dist-tpl-top .dist-tpl-flag[b-cxpfdg0as4] {
    min-height: 32px;
    white-space: nowrap;
}

.dist-tpl-check[b-cxpfdg0as4] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: 400;
    font-size: 0.8125rem;
    cursor: pointer;
}

.dist-tpl-pane[b-cxpfdg0as4] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 430px;
}

.dist-tpl-pane[hidden][b-cxpfdg0as4] {
    display: none;
}

.dist-tpl-pane .dist-facility-list[b-cxpfdg0as4] {
    max-height: 360px;
}

.dist-find-sum[b-cxpfdg0as4] {
    margin: 0;
}

.dist-sect[b-cxpfdg0as4] {
    margin-top: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--iws-border-subtle);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--iws-text-faint);
}

.dist-find[b-cxpfdg0as4] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.dist-find[b-cxpfdg0as4]  .dist-find-box {
    width: 240px;
    max-width: 100%;
}

.dist-facility-list[b-cxpfdg0as4] {
    max-height: 220px;
    overflow-y: auto;
}

.dist-facilities[b-cxpfdg0as4] {
    width: 100%;
    border: 1px solid var(--iws-border);
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.dist-facilities th[b-cxpfdg0as4] {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 6px 10px;
    background: var(--iws-tint);
    color: var(--iws-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
}

.dist-facilities td[b-cxpfdg0as4] {
    padding: 5px 10px;
    border-top: 1px solid var(--iws-border-subtle);
    vertical-align: middle;
}

.dist-facilities .sw[b-cxpfdg0as4] {
    width: 110px;
    text-align: center;
}

.dist-sub[b-cxpfdg0as4] {
    display: block;
    font-size: 0.72rem;
    color: var(--iws-muted-text);
}

.dist-editor-main[b-cxpfdg0as4] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.dist-sms-head[b-cxpfdg0as4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dist-token[b-cxpfdg0as4] {
    display: inline-block;
    padding: 1px 7px;
    border: 1px solid var(--iws-border);
    border-radius: 10px;
    background: var(--iws-tint);
    color: var(--iws-accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.72rem;
    line-height: 1.5;
}

[b-cxpfdg0as4] .dist-token-button {
    color: var(--iws-accent);
    white-space: nowrap;
}

.dist-editor-main[b-cxpfdg0as4]  .dist-token-noicon {
    display: none;
}

.dist-editor-main[b-cxpfdg0as4]  .dist-html .dxbl-ribbon-toolbar {
    padding: 5px;
    margin: 0;
}

.dist-editor-main[b-cxpfdg0as4]  .dist-html .dxbl-ribbon-toolbar .dxbl-btn {
    zoom: 0.75;
}

.dist-editor-main[b-cxpfdg0as4]  .dist-html .dx-variable {
    padding: 0 5px;
    border: 1px solid var(--iws-border);
    border-radius: 10px;
    background: var(--iws-tint);
    color: var(--iws-accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85em;
}

.dist-preview[b-cxpfdg0as4] {
    border: 1px solid var(--iws-border);
    border-radius: 6px;
    background: var(--iws-surface);
    overflow: hidden;
}

.dist-preview-head[b-cxpfdg0as4] {
    padding: 6px 12px;
    border-bottom: 1px solid var(--iws-border-subtle);
    background: var(--iws-tint);
    font-size: 0.8125rem;
    color: var(--iws-muted-text);
}

.dist-preview-head strong[b-cxpfdg0as4] {
    margin-left: 6px;
    color: var(--iws-heading);
}

.dist-preview-body[b-cxpfdg0as4] {
    padding: 6px 12px;
    font-size: 0.8125rem;
}

.dist-bubble-line[b-cxpfdg0as4] {
    display: flex;
    justify-content: flex-end;
}

.dist-bubble[b-cxpfdg0as4] {
    max-width: 300px;
    padding: 8px 10px;
    border-radius: 12px 12px 2px 12px;
    background: var(--iws-tint);
    color: var(--iws-heading);
    font-size: 0.8125rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

.dist-bubble-count[b-cxpfdg0as4] {
    display: block;
    margin-top: 3px;
    text-align: right;
    font-size: 0.66rem;
    color: var(--iws-muted-text);
}

.dist-footer-note[b-cxpfdg0as4] {
    margin-right: auto;
}

@media (max-width: 720px) {
    .dist-tpl-top[b-cxpfdg0as4] {
        grid-template-columns: 1fr;
    }

    .dist-tpl-top .form-field > label[aria-hidden="true"][b-cxpfdg0as4] {
        display: none;
    }
}
/* /Pages/Settings/SettingsDistributionTracking.razor.rz.scp.css */
.track[b-9yha6daibs] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* Channel tabs: the glyph, the name and the suspended count. */
.track-tab[b-9yha6daibs] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.track-tab[b-9yha6daibs]  .track-tab-icon svg {
    width: 0.85rem;
    height: 0.85rem;
}

.track-n[b-9yha6daibs] {
    display: inline-block;
    padding: 0 5px;
    border-radius: 8px;
    background: var(--iws-brand-faint);
    color: var(--iws-brand);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.45;
}

.track-n.red[b-9yha6daibs] {
    background: var(--iws-danger-bg);
    color: var(--iws-danger-text);
}

/* Status chips, each on or off by itself. */
.track-chips[b-9yha6daibs] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.track-fill[b-9yha6daibs] {
    flex: 1 1 auto;
}

.track-chips[b-9yha6daibs]  .track-chip {
    height: 22px;
    min-height: 0;
    margin: 0;
    padding: 0 9px;
    gap: 5px;
    border-radius: 11px;
    font-size: 0.7rem;
    line-height: 1;
    --dxbl-btn-bg: var(--iws-surface);
    --dxbl-btn-color: var(--iws-text);
    --dxbl-btn-border-color: var(--iws-border);
    --dxbl-btn-hover-bg: var(--iws-hover);
    --dxbl-btn-hover-color: var(--iws-heading);
    --dxbl-btn-hover-border-color: var(--iws-border-strong);
}

.track-chips[b-9yha6daibs]  .track-chip.on {
    --dxbl-btn-bg: var(--iws-accent);
    --dxbl-btn-color: var(--iws-text-on-accent);
    --dxbl-btn-border-color: var(--iws-accent);
    --dxbl-btn-hover-bg: var(--iws-accent-hover);
    --dxbl-btn-hover-color: var(--iws-text-on-accent);
    --dxbl-btn-hover-border-color: var(--iws-accent-hover);
}

.track-chips[b-9yha6daibs]  .track-chip .track-n {
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}

.track-chips[b-9yha6daibs]  .track-chip .track-n.red {
    color: var(--iws-danger-text);
}

.track-chips[b-9yha6daibs]  .track-chip.on .track-n.red {
    color: color-mix(in srgb, var(--iws-danger-tone) 40%, var(--iws-text-on-accent));
}

/* Filters: one row of labelled boxes, then the icon-only refresh. */
.track-filters[b-9yha6daibs] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.track-filter[b-9yha6daibs] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
}

.track-filter--dates[b-9yha6daibs] {
    min-width: 240px;
}

/* The refresh sits beside the date box, a square as high as the box. */
.track-dates-row[b-9yha6daibs] {
    display: flex;
    align-items: stretch;
    gap: 6px;
}

.track-dates-box[b-9yha6daibs] {
    flex: 1 1 auto;
    min-width: 0;
}

.track-filters[b-9yha6daibs]  .track-refresh {
    flex: 0 0 var(--iws-control-height);
    align-self: center;
    width: var(--iws-control-height);
    min-width: var(--iws-control-height);
    height: var(--iws-control-height);
    min-height: var(--iws-control-height);
    padding: 0;
    gap: 0;
    justify-content: center;
}

/* The grid scrolls sideways; the empty text stays in the middle of what is visible. */
.track-empty[b-9yha6daibs] {
    padding: 28px 0;
    text-align: left;
}

.track-empty > span[b-9yha6daibs] {
    display: inline-block;
    position: sticky;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.track-filters[b-9yha6daibs]  .track-refresh svg,
.track-actions[b-9yha6daibs]  svg,
.track-trace[b-9yha6daibs]  svg {
    width: 0.8rem;
    height: 0.8rem;
}

/* The actions sit in the grid's own toolbar, above its header. */
.track-actions[b-9yha6daibs] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.track-actions[b-9yha6daibs]  .dxbl-btn {
    gap: 6px;
}

.track-trace[b-9yha6daibs] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--iws-brand);
    font-size: 0.72rem;
    cursor: pointer;
    white-space: nowrap;
}

.track-trace:hover[b-9yha6daibs] {
    text-decoration: underline;
}

.track-st[b-9yha6daibs] {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 18px;
    padding: 0 7px;
    border-radius: 9px;
    font-size: 0.62rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.track-st.ok[b-9yha6daibs] {
    background: var(--iws-success-bg);
    color: var(--iws-success-text);
}

.track-st.wait[b-9yha6daibs] {
    background: var(--iws-warning-bg);
    color: var(--iws-warning-text);
}

.track-st.bad[b-9yha6daibs] {
    background: var(--iws-danger-bg);
    color: var(--iws-danger-text);
}

.track-st.off[b-9yha6daibs] {
    background: var(--iws-muted-bg);
    color: var(--iws-muted-text);
}

.track-muted[b-9yha6daibs] {
    color: var(--iws-text-secondary);
}

.track[b-9yha6daibs]  .track-grid {
    --dxbl-grid-font-size: 0.75rem;
}

.track[b-9yha6daibs]  .track-row-readonly td:first-child {
    opacity: 0.45;
}
/* /Pages/Settings/SettingsFacilities.razor.rz.scp.css */
/* PACS type takes a quarter of the row; the URL template beside it runs long. */
.facility-pacs-row[b-d6aytpgj1n] {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1rem;
    align-items: start;
}
/* /Pages/Settings/SettingsOrganization.razor.rz.scp.css */
/* One row per status: the chip as it will be drawn, the tone palette, then the three hex fields. */
.status-colors[b-cgokcfwnan] {
    display: grid;
    gap: .6rem;
}

.status-color-row[b-cgokcfwnan] {
    display: grid;
    grid-template-columns: 8.5rem auto repeat(3, minmax(6.5rem, 8rem));
    align-items: end;
    gap: .75rem;
    padding: .35rem 0;
    border-bottom: 1px solid var(--iws-border-subtle);
}

.theme-option[b-cgokcfwnan] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.theme-swatch[b-cgokcfwnan] {
    display: inline-flex;
    border: 1px solid var(--iws-border-strong);
    border-radius: 3px;
    overflow: hidden;
}

.theme-swatch > span[b-cgokcfwnan] {
    width: .7rem;
    height: 1rem;
}

.status-color-preview[b-cgokcfwnan] {
    align-self: center;
    padding-top: 1rem;
}

.status-color-tones[b-cgokcfwnan] {
    display: grid;
    gap: .2rem;
}

.status-color-tones[b-cgokcfwnan]  .dxbl-color-palette {
    width: auto;
}

[b-cgokcfwnan] .status-color-invalid,
[b-cgokcfwnan] .status-color-invalid.dxbl-text-edit {
    border-color: var(--iws-danger-text) !important;
}

.status-colors-actions[b-cgokcfwnan] {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .status-color-row[b-cgokcfwnan] {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .status-color-preview[b-cgokcfwnan],
    .status-color-tones[b-cgokcfwnan] {
        grid-column: 1 / -1;
    }
}
/* /Pages/Settings/SettingsResultMacros.razor.rz.scp.css */
/* Field rows stay the height they opened at. Once the frame is taller than that, the slack goes to
   the memo — the same split a note dialog uses. The floor is the size the editor already has. */
.macro-editor[b-020bwyw2mx] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
}

.macro-fields[b-020bwyw2mx] {
    flex: none;
}

.macro-memos[b-020bwyw2mx] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
}

.macro-narrative[b-020bwyw2mx] {
    min-height: 0;
}

.macro-result-head[b-020bwyw2mx] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.macro-result-head label[b-020bwyw2mx] {
    margin: 0;
}

.macro-narrative[b-020bwyw2mx]  .macro-body-box {
    margin-top: -20px;
}

.shape-wrap[b-020bwyw2mx] {
    position: relative;
    align-self: flex-start;
}

.shape-pill[b-020bwyw2mx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    box-sizing: border-box;
    height: 1.75rem;
    padding: 0 0.55rem;
    border: 1px solid var(--iws-border);
    border-radius: 999px;
    background: var(--iws-surface);
    color: var(--medq-navy);
    font: inherit;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.shape-pill[b-020bwyw2mx]  svg {
    width: 0.75rem;
    height: 0.75rem;
}

.shape-pill .shape-caret[b-020bwyw2mx] {
    width: 0.55rem;
    height: 0.55rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shape-pill:disabled[b-020bwyw2mx] {
    border-style: dashed;
    background: var(--iws-surface-sunken);
    cursor: default;
}

.shape-list[b-020bwyw2mx] {
    display: grid;
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
}

.shape-group[b-020bwyw2mx] {
    padding: 0.35rem 0.6rem 0.15rem;
    color: var(--iws-caption);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.shape-item[b-020bwyw2mx] {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    border: 0;
    background: none;
    color: var(--medq-navy);
    font: inherit;
    font-size: 0.72rem;
    text-align: left;
    cursor: pointer;
}

.shape-item:hover[b-020bwyw2mx] {
    background: var(--iws-surface-sunken);
}

.shape-item.is-current[b-020bwyw2mx] {
    font-weight: 700;
}

.shape-item[b-020bwyw2mx]  svg {
    width: 0.7rem;
    height: 0.7rem;
}

.shape-text[b-020bwyw2mx] {
    flex: 1 1 auto;
    min-width: 0;
}

.shape-tick[b-020bwyw2mx] {
    display: inline-flex;
    color: var(--medq-blue);
}

.shape-note[b-020bwyw2mx] {
    margin: 0;
    padding: 0.4rem 0.6rem 0.5rem;
    border-top: 1px solid var(--iws-border-subtle);
    color: var(--iws-text-secondary);
    font-size: 0.65rem;
    line-height: 1.4;
}

.iws-frame--fill .macro-editor[b-020bwyw2mx] {
    flex: 1 1 auto;
}

.iws-frame--fill .macro-memos[b-020bwyw2mx],
.iws-frame--fill .macro-narrative[b-020bwyw2mx] {
    flex: 1 1 0;
}

.iws-frame--fill .macro-narrative[b-020bwyw2mx]  .macro-memo {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-height: 9rem;
}

.iws-frame--fill .macro-narrative[b-020bwyw2mx]  .macro-memo > textarea {
    flex: 1 1 0;
    height: auto;
    min-height: 0;
}

.iws-frame--fill .macro-section[b-020bwyw2mx]  .macro-memo {
    min-height: 4.5rem;
}

.iws-frame--fill .macro-editor[b-020bwyw2mx]  .macro-html {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    height: auto;
    min-height: 9rem;
    overflow: hidden;
}

.iws-frame--fill .macro-section[b-020bwyw2mx]  .macro-html {
    min-height: 4.5rem;
}

.iws-frame--fill .macro-editor[b-020bwyw2mx]  .macro-html .dxbl-widget-container {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
}

.iws-frame--fill .macro-editor[b-020bwyw2mx]  .macro-html .dx-htmleditor-content {
    flex: 1 1 auto;
    overflow: auto;
}
/* /Pages/Settings/SettingsTaskStatuses.razor.rz.scp.css */
/* The chip as it will be drawn, beside the tone palette that sets all three of its colours at once. */
.task-status-editor-colors[b-45tu6l63ib] {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.task-status-editor-colors[b-45tu6l63ib]  .dxbl-color-palette {
    width: auto;
}

.task-priority-settings[b-45tu6l63ib] {
    margin-top: 1.5rem;
}

.task-priority-default[b-45tu6l63ib] {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.task-status-builtin[b-45tu6l63ib] {
    margin-left: .4rem;
    font-size: .72rem;
    color: var(--list-tone-muted-text);
}

[b-45tu6l63ib] .status-color-invalid,
[b-45tu6l63ib] .status-color-invalid.dxbl-text-edit {
    border-color: var(--iws-danger-text) !important;
}
/* /Pages/Tasks.razor.rz.scp.css */
/* The Worklist's stylesheet, on this tab's list: the two workspaces are one shape — a view strip over
   a grid card and a detail rail — and the parts that differ are the facet fields on the toolbar band,
   the overdue view's tone on the strip, and the completion inputs at the foot of the rail. */
.worklist-workspace[b-fvooi73v4e] {
    /* Wide enough that the overdue box, in half the rail, keeps "Overdue 99d 23h 59m" and its date on one line each. */
    --rail-w: 23rem;
    /* One definition of the split, used by the strip above the card and by the card-and-rail row
       below it, so the tabs are exactly as wide as the grid they head. Written twice, the two drifted
       apart the moment either changed. */
    --split-cols: minmax(0, 1fr) var(--rail-w);
    --split-gap: .75rem;
    /* The card's own left inset: the grid pads its toolbar area by this much, so the count sits here
       and the first tab above it is lined up against the same edge. */
    --card-inset: 1rem;
    /* The window it is given, in both directions, and no wider: the rows are what scrolls, not the
       page. A workspace that grows to fit its widest row takes the rail and the toolbar out of view
       with it, and the card stops being a box the grid can be scrolled inside of. */
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    /* No gap between the strip and the list: the card carries its own top border and toolbar padding
       under it, which is space enough to read them apart. The 0.75rem between the list and the rail
       is the split's own gap and is untouched. */
    gap: 0;
    margin-top: -5px;
    box-sizing: border-box;
    font-size: .8125rem;
}

.view-toolbar[b-fvooi73v4e] {
    display: grid;
    grid-template-columns: var(--split-cols);
    gap: var(--split-gap);
    align-items: center;
    /* This row reads at the size the Schedule toolbar does, not at the .8125rem the rows below it are
       set in — the workspace font size is for the list, and the tabs and the saved-view menu are
       chrome above it. */
    font-size: .9375rem;
    /* The strip's row is taller than the captions in it — both halves ride 10px up inside it — so the
       card started 13px below a line that had already finished. A negative bottom margin rather than
       an offset on the card: the split takes the height it gives back. */
    margin-bottom: -13px;
}

.toolbar-list-side[b-fvooi73v4e], .toolbar-rail-side[b-fvooi73v4e] {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
}

/* The same offset the strip beside it takes: the two share a row, so a shift applied to only one of
   them puts the menu a caption's height below the tabs it belongs on. */
.toolbar-rail-side[b-fvooi73v4e] { justify-content: flex-end; position: relative; top: -10px; }
/* Offset rather than a negative margin: the strip is centred in its row, and a margin of -10px on a
   centred box moves it half of that.

   The padding lines the first tab's caption up with the count below it, plus the 2px asked for. A tab
   holds its own caption off its edge — `--dxbl-tabs-tab-padding-x` and then `--dxbl-tabs-text-padding-x`
   again inside that — so the strip is inset by what is left of the card's own inset after those two,
   read from the theme rather than assumed, since both change with the size mode. */
.view-toolbar[b-fvooi73v4e]  .view-tabs {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    top: -10px;
    padding-left: calc(var(--card-inset) + 2px - 27px - var(--dxbl-tabs-tab-padding-x, .625rem) - var(--dxbl-tabs-text-padding-x, .125rem));
}
/* The overdue view reads in the overdue tone, as it did when the strip was a row of buttons — active
   or not, since what the colour says is what the view holds and not which one is open. The caption is
   drawn inside the tab, hence the descendant arm: `color` on the tab alone is inherited by the text
   only where the theme has not set its own. */
.view-toolbar[b-fvooi73v4e]  .view-tabs .tasks-tab-overdue,
.view-toolbar[b-fvooi73v4e]  .view-tabs .tasks-tab-overdue > * {
    color: var(--list-tone-danger-text);
}
/* The menu is the toolbar's own popup, so the panel, its backdrop and the rules that drew both are
   gone with the markup. What is left is where the toolbar sits: hard against the right edge of the
   strip, on the tabs' line rather than a row of its own. As wide as its button and no wider, so the
   save status before it sits against the glyph rather than at the far end of an empty strip. */
.toolbar-rail-side[b-fvooi73v4e]  .saved-view-toolbar { flex: 0 0 auto; background: transparent; border: 0; }
/* Transparent at rest, white under the pointer and while the menu is open. The Fluent theme greys a
   plain toolbar item on hover and greys it a shade further when it is pressed, which on this strip is
   a grey button on a grey shell; white lifts it to the colour of the card below instead. */
.toolbar-rail-side[b-fvooi73v4e]  .saved-view-item {
    --dxbl-btn-text-hover-bg: var(--iws-surface);
    --dxbl-btn-text-active-bg: var(--iws-surface);
    --dxbl-btn-active-bg: var(--iws-surface);
}

input[b-fvooi73v4e], select[b-fvooi73v4e] {
    box-sizing: border-box;
    min-height: 2.15rem;
    border: 1px solid var(--iws-border);
    border-radius: .25rem;
    padding: .35rem .55rem;
    background: var(--iws-surface);
    color: var(--medq-black);
    font: inherit;
}

.workspace-btn[b-fvooi73v4e] {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 2.15rem;
    border: 1px solid var(--iws-border);
    border-radius: .25rem;
    padding: .38rem .65rem;
    background: var(--iws-surface);
    color: var(--medq-navy);
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.workspace-btn-primary[b-fvooi73v4e] { background: var(--iws-accent); border-color: var(--iws-accent); color: var(--iws-text-on-accent); }
.workspace-btn:disabled[b-fvooi73v4e] { background: var(--iws-surface-sunken); color: var(--iws-text-faint); cursor: not-allowed; }
.field-help[b-fvooi73v4e] { display: block; margin-top: .3rem; color: var(--medq-gray-700); font-size: .72rem; }
.workspace-error[b-fvooi73v4e] { margin: 0; color: var(--iws-danger-text); }

/* The list takes what the rail leaves and no more — it may be narrower than its widest row, which is
   the grid's business to scroll, not the page's. */
.worklist-split[b-fvooi73v4e] {
    display: grid;
    grid-template-columns: var(--split-cols);
    gap: var(--split-gap);
    align-items: stretch;
    /* Takes the height left over, down to a floor: on a window too short even for that, the content
       area scrolls rather than the rows being squeezed into nothing. */
    flex: 1 1 auto;
    min-height: 16rem;
    min-width: 0;
}

.worklist-list-card[b-fvooi73v4e], .worklist-detail-card[b-fvooi73v4e] {
    min-width: 0;
    min-height: 0;
    border: 1px solid var(--iws-border);
    border-radius: .35rem;
    background: var(--iws-surface);
}

/* The grid, and under it the dock when something is minimized on this tab: the header band and the
   facets live inside the grid's ToolbarTemplate, and the filters in a window of their own. The second
   row is auto, so it costs nothing at all while the dock is empty and takes its height off the grid
   when it is not. */
.worklist-list-card[b-fvooi73v4e] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    /* The corner the export's toast rises from. A toast provider that is not stuck to the viewport is
       placed against its nearest positioned ancestor, and without this that ancestor is the page. */
    position: relative;
}
/* The band's last line, from its left edge: over the grid's top-left corner, as a caption to the rows
   it counts rather than to whichever field happens to sit above it once the band wraps, 3px above
   the grid's header. The grid pads its toolbar area below the band, so the count reaches down into
   that padding to sit at 3px, as the Patients count does at 5px. The view's name is the tab above,
   so the count is all that is left of the old title. */
.list-count[b-fvooi73v4e] {
    margin-top: -.15rem;
    margin-bottom: calc(3px - var(--dxbl-grid-toolbar-container-padding-y, .5rem));
    color: var(--medq-gray-700);
    font-weight: 500;
    font-size: .68rem;
    line-height: 1;
}
/* The field fills the line up to the buttons. The field and the toolbar are siblings in a row of ours
   rather than items of the toolbar's: an adaptive toolbar lays its own items out and leaves a template
   one at its content width, so the field sat on its 12rem floor with the rest of the line empty. */
/* The basis is the search's 250px floor and the buttons' run (about 255px with New Task, which keeps
   its caption when the glyphs collapse) with slack, stated rather than `auto` because the toolbar
   reports its width with every caption showing — about twice what it draws once it has collapsed them
   to icons — and an `auto` row asked for that much room. A basis under the collapsed run lets New Task
   overhang the line's right edge, past the facet field below it. */
.worklist-toolbar-row[b-fvooi73v4e] {
    flex: 0 1 calc(250px + 17rem);
    margin-left: auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    row-gap: .4rem;
    min-width: 0;
}
/* Where the line is too narrow for that, the buttons take a line of their own under the search,
   still flush right, and the search widens to the full line, so no button is cut off at the card's
   edge. Decided on the line's width rather than by the row wrapping itself, which would go by the
   toolbar's captioned width and wrap with room to spare. */
@container tasks-toolbar-line (max-width: 522px) {
    .worklist-toolbar-row[b-fvooi73v4e] { flex-wrap: wrap; }
}
/* Under 250px the field is too short to read what was typed into it, so that is where the buttons
   give way instead (the container rule above). */
.worklist-toolbar-row[b-fvooi73v4e]  .tasks-search { flex: 1 1 250px; min-width: min(250px, 100%); }
/* The buttons keep the right edge whatever the field does with the space it is not taking. They may
   shrink to what the field leaves them, which is where the toolbar collapses its captions to icons. */
.worklist-toolbar-row[b-fvooi73v4e]  .tasks-toolbar { flex: 0 1 auto; min-width: 0; margin-left: auto; }

/* The facets and the bar, then the count on a line of its own under both. */
.worklist-toolbar-band[b-fvooi73v4e] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    width: 100%;
    min-width: 0;
}
/* One line where the card has room: the facet fields from its left edge, then the search and its
   buttons flush with its right edge. Where it has not, the facets drop to a line of their own under
   the bar, which keeps the top — `wrap-reverse` puts the line that wraps on top, so the markup keeps
   facets before search, which is the tab order. In that direction the cross axis runs bottom to top,
   so `flex-end` is what lines the items up along their tops. */
.worklist-toolbar-line[b-fvooi73v4e] {
    container: tasks-toolbar-line / inline-size;
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: flex-end;
    column-gap: 1rem;
    row-gap: .4rem;
    min-width: 0;
}

/* The glyph is the whole button. The toolbar collapses captions to icons as soon as its items do not
   fit, and in a column this size they never do — so what was a 16px mark beside a word is a 16px mark
   alone, which is a small thing to hit and a smaller one to read. 20px through the theme's own
   `--dxbl-image-*` pair, and only on these three: the search box's magnifier and its clear button are
   toolbar images too, and they are sized against the field. Export's dropdown chevron keeps its size —
   it is punctuation, not the icon. */
.worklist-toolbar-band[b-fvooi73v4e]  .tasks-refresh-item .dxbl-image,
.worklist-toolbar-band[b-fvooi73v4e]  .tasks-filters-item .dxbl-image,
.worklist-toolbar-band[b-fvooi73v4e]  .tasks-columns-item .dxbl-image,
.worklist-toolbar-band[b-fvooi73v4e]  .tasks-export-item .dxbl-image:not(.dxbl-toolbar-dropdown-toggle) {
    --dxbl-image-width: 1.25rem;
    --dxbl-image-height: 1.25rem;
}

/* The band's first item, with no padding of its own: the grid's toolbar area pads the band. Its basis
   is what three fields at their 150px floor take with the gaps between them, so a line with less
   room than that beside the search is the line the facets wrap at. On a card narrower still the
   fields wrap among themselves. */
.list-facets[b-fvooi73v4e] {
    flex: 1 1 calc(450px + .6rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: .3rem;
    min-width: 0;
    padding: 0;
}
/* Two fields where the Worklist has two rows of pills: five categories and eight statuses is thirteen
   pills, which is a paragraph over a list, and this is what IWS.Maui shows over these same rows.

   13rem is the width a closed field is entitled to and 18rem is as far as it will take a wider card —
   what is read in one is the values that are ticked, and a field that grew to half the band would say
   "Any category" in the middle of a lot of white. They give way down to 150px before anything wraps;
   below that a field cannot say even that, so it wraps to the next line instead. */
.list-facets .facet-field[b-fvooi73v4e] { display: block; flex: 1 1 150px; max-width: 18rem; min-width: 150px; margin: 0; }
.list-facets .facet-field[b-fvooi73v4e]  .iws-multi-select-dropdown { width: 100%; }
/* Wide enough for a whole range in the practice's pattern and its two buttons. */
.list-facets .facet-field-due-picker[b-fvooi73v4e] { flex: 0 0 16rem; max-width: 16rem; }
/* The filters are a DxWindow: it draws the frame, the heading and the close button that the
   `.advanced-filters` section and its collapse header used to. What is left here is the field layout
   inside its body.

   Two columns, and which field goes where is written rather than left to the flow: everything picked
   from a list — category, status, facility, assignee, and whether the closed ones are shown — down the
   left, and the dates down the right. Auto-placement would fill the first row and wrap, which puts
   Facilities under Categories and the dates beside it.

   Uneven, because the two hold different things. The left is a row of chips per field and wants every
   pixel that is going; the right is a date and a name, whose widths are known and do not grow. Both
   are measures, and neither is a fraction: a `1fr` column is a share of what is left over, and what is
   left over is measured from the content — with one chip selected the left column would shrink to that
   chip. A field's width is a decision about the form, not a consequence of how many chips are in it, so
   the chips past what it holds give way to "+N" (`SingleLine`).

   The left column is 30rem because Statuses and Priorities share it, and half of it is what a
   priority's list needs to show *Critical (STOP workflow)* on one line: the list opens at the field's
   width, and DevExpress wraps a choice that does not fit.

   The right column is the bar's Due picker width, which a whole range and its two buttons need.

   The window is the sum, not a round number: 30 + 16 + 1 of gap is 47rem, and the rest is what
   the frame puts round it — 25px a side on AppIWSToolWindow, where the theme's own body padding was
   1.75rem. Anything under the sum and the body scrolls sideways. */

/* Both columns on the same rows, each cell aligned to the row's foot: a box with a caption over it
   and a box without one end on the same line, so the boxes line up across the window whatever is
   written above them. */
.filters-grid[b-fvooi73v4e] {
    display: grid;
    grid-template-columns: 30rem 16rem;
    justify-content: start;
    gap: .9rem 1rem;
    align-items: end;
}

.filters-grid > .filter-dropdown[b-fvooi73v4e], .filters-grid > .check-filter[b-fvooi73v4e], .filters-grid > .filter-pair[b-fvooi73v4e] { grid-column: 1; }
.filter-pair[b-fvooi73v4e] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: end; }
.filters-grid > .check-filter[b-fvooi73v4e] { align-self: center; }
.filters-grid .filter-due[b-fvooi73v4e] { grid-column: 2; grid-row: 1; }
.filters-grid .filter-updated[b-fvooi73v4e] { grid-column: 2; grid-row: 2; }

.filter-dropdown[b-fvooi73v4e] {
    display: grid;
    align-content: start;
    gap: .35rem;
    min-width: 0;
    margin: 0;
}

.filter-dropdown[b-fvooi73v4e]  .iws-multi-select-dropdown { width: 100%; }

.field-label[b-fvooi73v4e] { color: var(--medq-gray-700); font-size: .72rem; }
.empty-filter[b-fvooi73v4e] { color: var(--medq-gray-700); font-size: .72rem; }
.check-filter[b-fvooi73v4e] { display: flex; align-items: center; gap: .35rem; color: var(--medq-gray-700); font-size: .72rem; }
.check-filter input[b-fvooi73v4e] { min-height: auto; }

/* The grid scrolls itself — it is virtual, and asks for the rows it is about to draw — so this only
   gives it a height to be virtual inside of. A container as well as a box, so what it holds can be
   measured against the width of the card rather than the width of the table — see `.empty-list`. */
.worklist-grid-scroll[b-fvooi73v4e] { position: relative; min-width: 0; min-height: 0; overflow: hidden; container-type: inline-size; }
.worklist-grid-scroll[b-fvooi73v4e]  .tasks-grid { height: 100%; font-size: .8125rem; }
/* Cell padding is set through the theme's own variables, not a `padding` of ours: the rule that pads a
   data cell counts every `:not()` as a class and a plain `padding` here loses silently. The variable it
   reads does not, since we set it on the same element the theme does. */
.worklist-grid-scroll[b-fvooi73v4e]  .tasks-grid {
    --dxbl-grid-text-cell-padding-y: .3rem;
    --dxbl-grid-text-cell-padding-x: .5rem;
    /* Sideways only, so the empty block below can start at the scrollport's edge and be exactly as
       wide as the card. */
    --dxbl-grid-empty-data-area-padding-x: 0;
}
/* The row height is the workspace lists' own (`--iws-workspace-row`, app.css). */
/* Banding through the grid's own row-background variable rather than a background of our own: the
   selected and hovered row set theirs directly, so they still paint over the stripe. */
.worklist-grid-scroll[b-fvooi73v4e]  .tasks-grid .alt-row { --dxbl-grid-row-bg: var(--medq-gray-50); }
/* A Critical task in red across the row, selected and hovered too: the theme writes those states'
   text colour on the row, so the red goes on its cells, which outrank what they would inherit. The
   selected fill is a pale blue the red still reads on. Chips keep their own colours. */
.worklist-grid-scroll[b-fvooi73v4e]  .tasks-grid tr.is-critical > td { color: var(--iws-danger-text); }
/* Hover is a blue wash rather than another grey: the Fluent theme hovers with #f4f4f3 and the stripe
   above is #f3f4f6 — the same colour to an eye. Blue is the only other tone in this list, and the
   selected row is a full accent fill, so the three states stay apart. */
.worklist-grid-scroll[b-fvooi73v4e]  .tasks-grid { --dxbl-grid-hover-bg: var(--iws-selected); }

/* Inside the grid's empty-data area, which the theme already centres and pads — so this only stacks
   the two lines. Centred on what can be seen, not on the table: the empty area is a cell spanning
   eleven columns that are wider than the card, so a box centred in it sits at the middle of the
   *table*. `100cqi` is the inline size of `.worklist-grid-scroll`, which is the visible width. */
.empty-list[b-fvooi73v4e] {
    position: sticky;
    left: 0;
    width: min(100cqi, 100%);
    display: grid;
    justify-items: center;
    gap: .25rem;
    text-align: center;
    color: var(--medq-gray-700);
}

.worklist-detail-card[b-fvooi73v4e] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    --detail-label-w: 6.5rem;
}

.worklist-detail-card.is-loading[b-fvooi73v4e] { opacity: .55; transition: opacity .12s ease-in; }
.detail-empty[b-fvooi73v4e] { display: grid; place-items: center; min-height: 20rem; color: var(--medq-gray-700); }
.detail-scroll[b-fvooi73v4e] { overflow-y: auto; padding: .85rem; }
.detail-heading[b-fvooi73v4e] { display: flex; align-items: flex-start; gap: .5rem; padding-bottom: .75rem; }
.detail-heading > div[b-fvooi73v4e] { min-width: 0; }
.detail-heading h2[b-fvooi73v4e] { margin: .15rem 0 0; color: var(--medq-navy); font-size: 1.1rem; overflow-wrap: anywhere; }
.detail-kicker[b-fvooi73v4e] { color: var(--medq-blue); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.detail-heading .status-tag[b-fvooi73v4e] { flex: none; margin-left: auto; }
/* .status-tag lives in app.css so every detail rail shares one chip definition. */
.unmatched-note[b-fvooi73v4e] { display: grid; gap: .15rem; margin-bottom: .65rem; padding: .45rem; border-left: 3px solid var(--medq-orange); background: var(--iws-warning-bg); }
.detail-section[b-fvooi73v4e] { padding: .65rem 0; border-top: 1px solid var(--iws-border-subtle); }
.detail-section h3[b-fvooi73v4e] { margin: 0 0 .45rem; color: var(--medq-navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.detail-section dl[b-fvooi73v4e] {
    margin: 0;
    display: grid;
    grid-template-columns: var(--detail-label-w) minmax(0, 1fr);
    column-gap: .65rem;
    row-gap: .25rem;
    align-items: start;
    font-size: .78rem;
}

.detail-section dt[b-fvooi73v4e] { color: var(--iws-brand-text); font-weight: 700; letter-spacing: .02em; }
.detail-section dd[b-fvooi73v4e] { margin: 0; color: var(--medq-black); overflow-wrap: anywhere; }
.detail-actions[b-fvooi73v4e] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
    padding: .65rem .85rem;
    border-top: 1px solid var(--iws-border);
    background: var(--iws-surface-subtle);
}

.detail-actions .workspace-btn[b-fvooi73v4e] { justify-content: flex-start; text-align: left; }

/* The completion form, which is this rail's own: the other two workspaces read their rows and act on
   them, and a task is finished by writing something down. */
.completion-input[b-fvooi73v4e] { display: grid; gap: .3rem; margin-top: .65rem; }
.completion-input textarea[b-fvooi73v4e] { box-sizing: border-box; width: 100%; resize: vertical; border: 1px solid var(--iws-border); border-radius: .25rem; padding: .45rem; font: inherit; }
/* Captioned like the facts above them, not like filter fields: they sit in the same column as Due and
   Assignee, and a grey caption there read as a stray note. */
.completion-input .field-label[b-fvooi73v4e] { color: var(--iws-brand-text); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.completion-input textarea[b-fvooi73v4e]::placeholder { color: var(--medq-gray-700); }
/* A one-line input keeps its caption beside it, in the column the facts above use. */
.completion-input.completion-inline[b-fvooi73v4e] { grid-template-columns: var(--detail-label-w) minmax(0, 1fr); align-items: center; column-gap: .65rem; }
.completion-missing[b-fvooi73v4e] { display: block; margin-top: .35rem; color: var(--iws-danger-text); font-size: .72rem; font-weight: 600; }

/* The dock: where a window minimized on this tab waits. A row of the list card rather than of the
   shell, because what is in it means nothing on any other list — and rather than of the workspace,
   because a row there was taken out of the split, shortening the detail rail as well as the grid.

   Read as the card's footer, the same border and wash the rail's action bar wears, so the strip is
   part of the list it belongs to rather than a band floating under it. The left inset is standing,
   not conditional on the Start tile being there to clear: a strip that slid sideways whenever a chart
   was put down somewhere else would read as a fault. */
.workspace-dock[b-fvooi73v4e] {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .5rem .4rem 2.25rem;
    border-top: 1px solid var(--iws-border);
    background: var(--iws-surface-subtle);
}
/* /Pages/Worklist.razor.rz.scp.css */
.worklist-workspace[b-71hoexe8yq] {
    --rail-w: 20rem;
    /* One definition of the split, used by the strip above the card and by the card-and-rail row
       below it, so the tabs are exactly as wide as the grid they head. Written twice, the two drifted
       apart the moment either changed. */
    --split-cols: minmax(0, 1fr) var(--rail-w);
    --split-gap: .75rem;
    /* The card's own left inset: the grid pads its toolbar area by this much, so the count sits here
       and the first tab above it is lined up against the same edge. */
    --card-inset: 1rem;
    /* The window it is given, in both directions, and no wider: the rows are what scrolls, not the
       page. A workspace that grows to fit its widest row takes the rail and the toolbar out of view
       with it, and the card stops being a box the grid can be scrolled inside of. */
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    /* No gap between the strip and the list. The workspace has two children — the view strip and the
       split — so this gap was the whole 10px between the tabs and the card, and the card carries its
       own top border and toolbar padding under it, which is space enough to read them apart. The
       0.75rem between the list and the rail is the split's own gap and is untouched. */
    gap: 0;
    /* The whole workspace — tabs, saved-view menu, and the card — rides 5px up together. Written
       here rather than on each of those three, so they keep the offsets they already have relative
       to each other. */
    margin-top: -5px;
    box-sizing: border-box;
    font-size: .8125rem;
}

/* The Front Desk rail is the chart's encounter rail, facts strip and blocks, and wants 38px more than
   the HL7 one (Marius, 2026-10-08: +50px, then -12px, then +6px so Open Chart, Check in, Arrive and
   Cancel encounter fit on one row). Set on the variable, so the tab strip above keeps its alignment. */
.worklist-workspace.is-frontdesk[b-71hoexe8yq] { --rail-w: calc(20rem + 44px); }

.view-toolbar[b-71hoexe8yq], .list-tools[b-71hoexe8yq] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* No rule under the strip: the active tab marks itself and the card below draws its own edge, so the
   line was a third horizontal in the space of a few pixels. 15px because this row reads at the size
   the Schedule toolbar does, not at the .8125rem the rows below it are set in — the workspace font
   size is for the list, and the tabs and the saved-view menu are chrome above it. */
.view-toolbar[b-71hoexe8yq] {
    display: grid;
    grid-template-columns: var(--split-cols);
    gap: var(--split-gap);
    align-items: center;
    font-size: .9375rem;
    /* The strip's row is taller than the captions in it — both halves ride 10px up inside it — so the
       card started 13px below a line that had already finished. A negative bottom margin rather than
       an offset on the card: the split takes the height it gives back, so the rows end where they
       did and no dead band is left under them. */
    margin-bottom: -13px;
}

.toolbar-list-side[b-71hoexe8yq], .toolbar-rail-side[b-71hoexe8yq] {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
}

/* The same offset the strip beside it takes: the two share a row, so a shift applied to only one of
   them puts the menu a caption's height below the tabs it belongs on. */
.toolbar-rail-side[b-71hoexe8yq] { justify-content: flex-end; position: relative; top: -10px; }
/* Offset rather than a negative margin: the strip is centred in its row, and a margin of -10px on a
   centred box moves it half of that. Ten because the first pass moved it five and it was still low
   against the app toolbar over it. `.built-in-tabs` / `.chart-tab` are gone from this page with the
   row of buttons they styled; Patients and Tasks still carry both until they migrate.

   The padding lines the first tab's caption up with the count below it, plus the 2px asked for. A tab
   holds its own caption off its edge — `--dxbl-tabs-tab-padding-x` and then `--dxbl-tabs-text-padding-x`
   again inside that — so the strip is inset by what is left of the card's own inset after those two,
   read from the theme rather than assumed, since both change with the size mode. */
.view-toolbar[b-71hoexe8yq]  .view-tabs {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    top: -10px;
    padding-left: calc(var(--card-inset) + 2px - 27px - var(--dxbl-tabs-tab-padding-x, .625rem) - var(--dxbl-tabs-text-padding-x, .125rem));
}
/* The menu is the toolbar's own popup now, so the panel, its backdrop and the rules that drew both
   are gone with the markup. What is left is where the toolbar sits: hard against the right edge of
   the strip, on the tabs' line rather than a row of its own. As wide as its button and no wider, so
   the save status before it sits against the glyph rather than at the far end of an empty strip. */
.toolbar-rail-side[b-71hoexe8yq]  .saved-view-toolbar { flex: 0 0 auto; background: transparent; border: 0; }
/* Transparent at rest, white under the pointer and while the menu is open. The Fluent theme greys a
   plain toolbar item on hover (`--dxds-color-surface-neutral-default-hovered`) and greys it a shade
   further when it is pressed, which on this strip is a grey button on a grey shell; white lifts it
   to the colour of the card below instead. `--dxbl-btn-active-bg` as well as the text-button pair,
   because the item is `.dxbl-active` for as long as its popup is up. */
.toolbar-rail-side[b-71hoexe8yq]  .saved-view-item {
    --dxbl-btn-text-hover-bg: var(--iws-surface);
    --dxbl-btn-text-active-bg: var(--iws-surface);
    --dxbl-btn-active-bg: var(--iws-surface);
}
/* A view row in the menu, drawn by its template: the check, the name, then the marks — the person
   on this reader's own views, then the remove ✕, each in a column of its own so the marks line up
   down the menu. Written on the row's own elements, which carry this page's scope wherever the
   popup is placed. */
.saved-view-row[b-71hoexe8yq] { display: flex; align-items: center; gap: .5rem; width: 100%; min-width: 13rem; }
.saved-view-check[b-71hoexe8yq] { display: inline-flex; flex: 0 0 .85rem; color: var(--iws-brand); }
.saved-view-name[b-71hoexe8yq] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-view-mine[b-71hoexe8yq] { display: inline-flex; flex: none; color: var(--iws-text-secondary); }
.saved-view-remove[b-71hoexe8yq] {
    display: inline-flex;
    flex: none;
    padding: .2rem;
    margin: -.2rem -.2rem -.2rem 0;
    border-radius: .25rem;
    color: var(--iws-danger-text);
    cursor: pointer;
    opacity: .55;
}
/* The drafts list's bin: faint at rest, full on the row under the pointer. */
.saved-view-row:hover .saved-view-remove[b-71hoexe8yq] { opacity: 1; }
.saved-view-remove:hover[b-71hoexe8yq] { background: var(--iws-danger-bg); }
.saved-view-remove svg[b-71hoexe8yq] { display: block; width: 1rem; height: 1rem; }
.saved-view-check[b-71hoexe8yq]  svg,
.saved-view-mine[b-71hoexe8yq]  svg { width: .8rem; height: .8rem; }

input[b-71hoexe8yq], select[b-71hoexe8yq] {
    box-sizing: border-box;
    min-height: 2.15rem;
    border: 1px solid var(--iws-border);
    border-radius: .25rem;
    padding: .35rem .55rem;
    background: var(--iws-surface);
    color: var(--medq-black);
    font: inherit;
}

.workspace-btn[b-71hoexe8yq] {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 2.15rem;
    border: 1px solid var(--iws-border);
    border-radius: .25rem;
    padding: .38rem .65rem;
    background: var(--iws-surface);
    color: var(--medq-navy);
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.workspace-btn-primary[b-71hoexe8yq] { background: var(--iws-accent); border-color: var(--iws-accent); color: var(--iws-text-on-accent); }
.workspace-btn.accent-btn[b-71hoexe8yq] { border-color: var(--medq-blue); color: var(--medq-blue); }
.workspace-btn.accent-btn.is-active[b-71hoexe8yq] { background: var(--iws-tint); border-color: var(--medq-navy); color: var(--medq-navy); }
.workspace-btn:disabled[b-71hoexe8yq] { background: var(--iws-surface-sunken); color: var(--iws-text-faint); cursor: not-allowed; }
.workspace-btn-danger[b-71hoexe8yq] { color: var(--iws-danger-text); }
.workspace-link[b-71hoexe8yq] { border: 0; padding: 0; background: transparent; color: var(--medq-blue); font: inherit; cursor: pointer; }
.field-help[b-71hoexe8yq] { display: block; margin-top: .3rem; color: var(--medq-gray-700); font-size: .72rem; }
.workspace-error[b-71hoexe8yq] { margin: 0; color: var(--iws-danger-text); }

/* The list takes what the rail leaves and no more — it may be narrower than its widest row, which is
   the grid's business to scroll, not the page's. */
.worklist-split[b-71hoexe8yq] {
    display: grid;
    grid-template-columns: var(--split-cols);
    gap: var(--split-gap);
    align-items: stretch;
    /* Takes the height left over, down to a floor: on a window too short even for that, the content
       area scrolls rather than the rows being squeezed into nothing. */
    flex: 1 1 auto;
    min-height: 16rem;
    min-width: 0;
}

.worklist-list-card[b-71hoexe8yq], .worklist-detail-card[b-71hoexe8yq] {
    min-width: 0;
    min-height: 0;
    border: 1px solid var(--iws-border);
    border-radius: .35rem;
    background: var(--iws-surface);
}

/* The grid, and under it the dock when something is minimized on this tab: the header band and the
   pills live inside the grid's ToolbarTemplate, and the filters in a window of their own. The second
   row is auto, so it costs nothing at all while the dock is empty and takes its height off the grid
   when it is not. */
.worklist-list-card[b-71hoexe8yq] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    /* The corner the export's toast rises from. A toast provider that is not stuck to the viewport
       is placed against its nearest positioned ancestor, and without this that ancestor is the page
       — which would put a notice about this list in the corner of the browser. */
    position: relative;
}
/* Where it was as a toolbar item: the toolbar carries no padding of its own, so a template in its
   first item sat on the left edge of the band, and so does this. */
.list-title[b-71hoexe8yq] { display: inline-flex; align-items: baseline; gap: .35rem; color: var(--medq-navy); }
.list-count[b-71hoexe8yq] { color: var(--medq-gray-700); font-weight: 500; font-size: .68rem; }
/* The field fills the line up to the buttons. A greedy search is only a problem when the row is the
   width of a maximized card; this one is the width of the pill row under it, so what it can take is
   bounded by them. The field and the toolbar are siblings in a row of ours rather than items of the
   toolbar's: an adaptive toolbar lays its own items out and leaves a template one at its content
   width, so the field sat on its 12rem floor with the rest of the line empty beside it. */
.worklist-toolbar-row[b-71hoexe8yq] {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    row-gap: .4rem;
    min-width: 0;
}
/* Under 250px the field is too short to read what was typed into it, so that is where the buttons
   give way and go under it instead. Decided on the band's width rather than left to flex wrapping:
   the toolbar reports its width with every caption showing, about twice what it draws once
   collapsed to icons, so a wrapping row breaks with room to spare. 420 is the field's 250 and the
   four buttons'. */
@container worklist-band (max-width: 420px) {
    .worklist-toolbar-row[b-71hoexe8yq] { flex-wrap: wrap; }
}
/* Front Desk's row also holds the status and date: about 24rem more than the field and buttons. */
@container worklist-band (max-width: 800px) {
    .worklist-toolbar-band.is-frontdesk .worklist-toolbar-row[b-71hoexe8yq] { flex-wrap: wrap; }
}
.worklist-toolbar-row[b-71hoexe8yq]  .worklist-search { flex: 1 1 250px; min-width: min(250px, 100%); }
/* Front Desk's status and date ahead of its search. The search sits in a box of its own there, so
   its Enter and Escape are not heard from inside the two drop-downs. */
.worklist-bar-filter[b-71hoexe8yq] { flex: 0 0 auto; min-width: 0; margin-right: .5rem; }
.worklist-bar-filter.is-status[b-71hoexe8yq] { width: 11rem; }
.worklist-bar-filter.is-date[b-71hoexe8yq] { width: 12.5rem; }
.worklist-bar-search[b-71hoexe8yq] { flex: 1 1 250px; min-width: min(250px, 100%); }
.worklist-bar-search[b-71hoexe8yq]  .worklist-search { width: 100%; }
/* The buttons keep the right edge whatever the field does with the space it is not taking. They may
   shrink to what the field leaves them, which is where the toolbar collapses its captions to icons. */
.worklist-toolbar-row[b-71hoexe8yq]  .worklist-toolbar { flex: 0 1 auto; min-width: 0; margin-left: auto; }

/* Two columns rather than two stacked rows, because the search and the pills have to share a left
   edge: the count keeps the left, and the toolbar and the pills both sit in the right column, which
   is as wide as whichever of them is wider. The search is the first thing in the toolbar and the
   toolbar fills the column, so the field starts exactly where the first pill starts.

   minmax(0, max-content) rather than max-content: at max-content the pills would never wrap and a
   narrow card would be pushed wider by them instead. */
.worklist-toolbar-band[b-71hoexe8yq] {
    container: worklist-band / inline-size;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
    align-items: center;
    width: 100%;
    min-width: 0;
}
/* Front Desk has no pill line to widen the right column, so it is given the width that line gives
   the HL7 queue's, and the status and date its bar carries ahead of the search. */
.worklist-toolbar-band.is-frontdesk[b-71hoexe8yq] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 76rem);
}
/* The count is the grid's, not the bar's: on a line of its own across the band, at the left over
   the heading row it counts, 3px above it as on Tasks — the grid's toolbar area pads under the band,
   so the margin takes that padding back. Beside the pills it had the left column to itself, which a
   narrow card shrinks to nothing, and it was drawn over them. */
.worklist-toolbar-band .list-title[b-71hoexe8yq] {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: .4rem;
    margin-bottom: calc(3px - var(--dxbl-grid-toolbar-container-padding-y, .5rem));
    line-height: 1;
}

/* The glyph is the whole button. The toolbar collapses captions to icons as soon as its items do not
   fit (`AdaptivityAutoCollapseItemsToIcons`, on by default), and in a column the pills size they
   never do — so what was a 16px mark beside a word is now a 16px mark alone, which is a small thing
   to hit and a smaller one to read. 20px through the theme's own `--dxbl-image-*` pair, which is
   what `svg.dxbl-image` takes its box from, and only on these three: the search box's magnifier and
   its clear button are toolbar images too, and they are sized against the field rather than against
   a button. Export's dropdown chevron keeps its size — it is punctuation, not the icon. */
.worklist-toolbar-band[b-71hoexe8yq]  .worklist-refresh-item .dxbl-image,
.worklist-toolbar-band[b-71hoexe8yq]  .worklist-filters-item .dxbl-image,
.worklist-toolbar-band[b-71hoexe8yq]  .worklist-columns-item .dxbl-image,
.worklist-toolbar-band[b-71hoexe8yq]  .worklist-export-item .dxbl-image:not(.dxbl-toolbar-dropdown-toggle) {
    --dxbl-image-width: 1.25rem;
    --dxbl-image-height: 1.25rem;
}

/* Second row of the band's right column, ending flush with the Export button and starting where the
   search does — hence no padding on either side: the toolbar has none of its own, so a pill row
   inset from the column would sit a few pixels inside both edges of the line above it. None under it
   either: the grid's toolbar area already pads 0.75rem below the band, and the 0.45rem this used to
   add on top of that made the band's bottom margin half again its top. The 0.95rem above the pills
   is the asked-for ~15px between them and the search. No rule under it: the heading row draws its
   own, and the pills are chips with their own outlines. */
.list-facets[b-71hoexe8yq] {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .3rem;
    padding: .95rem 0 0;
}

/* The filters take the line the search takes above them: the run starts on the column's left edge,
   where the field starts. Left-aligned rather than justified to the end, so a short run of pills
   does not float off the field's left edge. Sorting is on the column headings only (WL-11). */
.facet-pills[b-71hoexe8yq] {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem;
}
/* The received interval ends the filter run, wide enough for a whole range in the practice's
   pattern and its two buttons. */
.facet-field-received[b-71hoexe8yq] { flex: 0 0 16rem; }

/* The filters are a DxWindow now: it draws the frame, the heading and the close button that the
   `.advanced-filters` section and its collapse header used to. What is left here is the field
   layout inside its body. */
/* Two columns, and which field goes where is written rather than left to the flow: the three
   dropdowns down the left, the dates down the right. Auto-placement would fill the first row and
   wrap, which puts Facilities under Message types and the dates beside it — the three that pick from
   a list read as one column, and the three that pick a date as the other.

   Uneven, because the two hold different things. The left is a row of chips per field and wants
   every pixel that is going: split down the middle, four message types wrapped onto a second line
   while the date boxes beside them ran half empty. The right is a date, whose width is known and
   does not grow.

   **Both are measures, and neither is a fraction** (revised 2026-09-06, requested-by Marius: *"keep
   this fixed width; should expand in new row from here"*, *"the dropdown width is FIXED"*). A `1fr`
   column is a share of what is left over, and what was left over here turned out to be measured from
   the content: with one chip selected the left column shrank to that chip and the fields were a third
   of the window wide, with the rest of it empty. A field's width is a decision about the form, not a
   consequence of how many chips happen to be in it — so the left column is a measure, and the chips
   past what it holds give way to "+N" (`SingleLine`).

   The right column is one date range picker, as wide as the bar's: a whole range and its two buttons.

   **The window is the sum, not a round number**: 22.25 + 16 + 1 of gap is 39.25rem, and the rest is
   what the frame puts round it — 25px a side on AppIWSToolWindow (the gutter, the card's border and
   the scroller's padding), cut to 43rem. Anything under the sum and the body scrolls sideways. */

/* Both columns on the same rows, each cell aligned to the row's foot: a box with a caption over it
   and a box without one end on the same line, so the boxes line up across the window whatever is
   written above them. The pickers on the left are one line high, so a row is as tall in every
   window whatever is ticked. */
.filters-grid[b-71hoexe8yq] {
    display: grid;
    grid-template-columns: 22.25rem 16rem;
    justify-content: start;
    gap: .9rem 1rem;
    align-items: end;
}

.filters-grid > .filter-dropdown[b-71hoexe8yq] { grid-column: 1; }
.filters-grid .range-picker[b-71hoexe8yq] { grid-column: 2; grid-row: 1; }

/* Front Desk: two to a row in the order written, so the date of service shares the facility's row. */
.filters-grid.filters-grid--paired > .filter-dropdown[b-71hoexe8yq],
.filters-grid.filters-grid--paired .range-picker[b-71hoexe8yq] { grid-column: auto; grid-row: auto; }

.filter-dropdown[b-71hoexe8yq] {
    display: grid;
    align-content: start;
    gap: .35rem;
    min-width: 0;
    margin: 0;
}

.filter-dropdown[b-71hoexe8yq]  .iws-multi-select-dropdown { width: 100%; }

.field-label[b-71hoexe8yq] { color: var(--medq-gray-700); font-size: .72rem; }
.empty-filter[b-71hoexe8yq] { color: var(--medq-gray-700); font-size: .72rem; }

/* The grid scrolls itself — it is virtual, and asks for the rows it is about to draw — so this only
   gives it a height to be virtual inside of. */
/* A container as well as a box, so what it holds can be measured against the width of the card
   rather than the width of the table — see `.empty-list`. */
.worklist-grid-scroll[b-71hoexe8yq] { position: relative; min-width: 0; min-height: 0; overflow: hidden; container-type: inline-size; }
.worklist-grid-scroll[b-71hoexe8yq]  .worklist-grid { height: 100%; font-size: .8125rem; }
/* Cell padding is set through the theme's own variables, not a `padding` of ours. The rule that pads
   a data cell is `.dxbl-grid .dxbl-grid-table > tbody > tr:not(…×5) > td:not(…×7)`, and every `:not()`
   counts as a class — (0,14,3) against the (0,3,1) of a scoped `.worklist-grid td`. A `padding` here
   loses silently; the variable it reads does not, since we set it on the same element the theme does
   and win on the class in front of it. */
.worklist-grid-scroll[b-71hoexe8yq]  .worklist-grid {
    --dxbl-grid-text-cell-padding-y: .3rem;
    --dxbl-grid-text-cell-padding-x: .5rem;
    /* Sideways only, so the empty block below can start at the scrollport's edge and be exactly as
       wide as the card. The 3rem above and below it is what gives that block its height. */
    --dxbl-grid-empty-data-area-padding-x: 0;
}
/* Two 1rem lines and their gap are 34.4px; more padding than this and the row outgrows the workspace
   lists' 40px (`--iws-workspace-row`, app.css), which is a floor, not a cap. */
.worklist-grid-scroll[b-71hoexe8yq]  .worklist-grid tbody > tr > td:not(:first-child) { --dxbl-grid-text-cell-padding-y: .1rem; }
/* Banding through the grid's own row-background variable rather than a background of our own: the
   selected and hovered row set theirs directly, so they still paint over the stripe. */
.worklist-grid-scroll[b-71hoexe8yq]  .worklist-grid .alt-row { --dxbl-grid-row-bg: var(--medq-gray-50); }
/* Hover is a blue wash rather than another grey. The Fluent theme hovers with #f4f4f3 and the stripe
   above is #f3f4f6 — the same colour to an eye — so a hovered banded row showed nothing and a hovered
   plain row only looked like it had become a banded one. Blue is the only other tone in this list, and
   the selected row is a full accent fill, so the three states stay apart. */
.worklist-grid-scroll[b-71hoexe8yq]  .worklist-grid { --dxbl-grid-hover-bg: var(--iws-selected); }

/* Every data cell owns exactly two nowrap lines. Fixed line boxes, rather than text wrapping, keep
   all columns aligned and preserve the constant row height the virtual scroller measures. */
.worklist-cell[b-71hoexe8yq] {
    display: grid;
    grid-template-rows: repeat(2, 1rem);
    align-content: center;
    gap: .15rem;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
}
/* Front Desk prints one fact per cell, so its line is the cell's middle rather than its first half. */
.worklist-cell.is-single[b-71hoexe8yq] { grid-template-rows: 1rem; }
.cell-primary[b-71hoexe8yq],
.cell-secondary[b-71hoexe8yq] {
    min-width: 0;
    overflow: hidden;
    line-height: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cell-secondary[b-71hoexe8yq] { color: var(--medq-gray-700); font-size: .72rem; font-weight: 400; }

/* Names keep one left edge; alert markers form a separate run against the Patient column's right
   edge. Width is required so margin-left:auto has actual cell space to consume. */
.patient-cell[b-71hoexe8yq] {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
}
.patient-stack[b-71hoexe8yq] { flex: 1 1 auto; }
.patient-name[b-71hoexe8yq] { font-weight: 600; }
.patient-cell.has-stat .patient-name[b-71hoexe8yq] { color: var(--list-tone-danger-text); font-weight: 700; }
.patient-cell.has-unmatched:not(.has-stat) .patient-name[b-71hoexe8yq] { color: var(--list-tone-warning-text); font-weight: 700; }
.patient-alert-icons[b-71hoexe8yq] { display: inline-flex; flex: none; align-items: center; gap: .22rem; margin-left: .45rem; }
.patient-alert-icon[b-71hoexe8yq] { display: inline-flex; width: .82rem; height: .82rem; align-items: center; justify-content: center; }
.patient-alert-icon .shared-icon[b-71hoexe8yq] { width: .82rem; height: .82rem; }
.stat-alert[b-71hoexe8yq] { color: var(--list-tone-danger); }
.unmatched-alert[b-71hoexe8yq] { color: var(--list-tone-warning-text); }

/* Message type is a compact code token at the head of Procedure's second line. It is CSS-only:
   no image, script, lookup or extra request per row. */
.procedure-meta[b-71hoexe8yq] { display: flex; align-items: center; gap: .35rem; }
.procedure-meta > :last-child[b-71hoexe8yq] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.message-type-chip[b-71hoexe8yq] {
    display: inline-flex;
    flex: none;
    align-items: center;
    height: .95rem;
    padding: 0 .3rem;
    border-radius: .2rem;
    background: var(--iws-tint);
    color: var(--medq-navy);
    font-size: .625rem;
    font-weight: 700;
    line-height: 1;
}
.priority-stat[b-71hoexe8yq] { color: var(--list-tone-danger-text); font-weight: 700; }
/* Inside the grid's empty-data area, which the theme already centres and pads — so this only stacks
   the two lines. It used to be a white panel absolutely positioned over the card, inset 2.4rem from
   the top to clear the header band; once the band became the grid's own toolbar the band grew past
   that inset, and an empty list painted over its own pills and column headings.

   Centred on what can be seen, not on the table. The empty area is a cell spanning thirteen columns
   that are wider than the card — the list scrolls sideways — so a box centred in it sits at the
   middle of the *table*, half of it off the right edge with nothing under the card but white. It is
   stuck to the left of the scrollport and made as wide as the card instead: `100cqi` is the inline
   size of `.worklist-grid-scroll`, which is the visible width, so the two lines centre where the
   reader is looking and stay there as the columns scroll under them. */
.empty-list[b-71hoexe8yq] {
    position: sticky;
    left: 0;
    width: min(100cqi, 100%);
    display: grid;
    justify-items: center;
    gap: .25rem;
    text-align: center;
    color: var(--medq-gray-700);
}

.worklist-detail-card[b-71hoexe8yq] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    --detail-label-w: 6.5rem;
}

.worklist-detail-card.is-loading[b-71hoexe8yq] { opacity: .55; transition: opacity .12s ease-in; }
.detail-empty[b-71hoexe8yq] { display: grid; place-items: center; min-height: 20rem; color: var(--medq-gray-700); }
.detail-scroll[b-71hoexe8yq] { overflow-y: auto; padding: .85rem; }
.detail-heading[b-71hoexe8yq] { display: flex; align-items: flex-start; gap: .5rem; padding-bottom: .75rem; }
.detail-heading > div[b-71hoexe8yq] { min-width: 0; }
.detail-heading h2[b-71hoexe8yq] { margin: .15rem 0 0; color: var(--medq-navy); font-size: 1.1rem; overflow-wrap: anywhere; }
.detail-kicker[b-71hoexe8yq] { color: var(--medq-blue); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.detail-heading .status-tag[b-71hoexe8yq] { flex: none; margin-left: auto; }
/* .status-tag lives in app.css so every detail rail shares one chip definition. */
.unmatched-note[b-71hoexe8yq] { display: grid; gap: .15rem; margin-bottom: .65rem; padding: .45rem; border-left: 3px solid var(--medq-orange); background: var(--iws-warning-bg); }
.detail-section[b-71hoexe8yq] { padding: .65rem 0; border-top: 1px solid var(--iws-border-subtle); }
.detail-section h3[b-71hoexe8yq] { margin: 0 0 .45rem; color: var(--medq-navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.section-heading[b-71hoexe8yq] { display: flex; align-items: center; gap: .5rem; }
/* Smaller than the docked actions: this reads the message, it is not a queue decision. */
.hl7-btn[b-71hoexe8yq] { margin: 0 0 .45rem auto; padding: .1rem .45rem; font-size: .7rem; line-height: 1.35; }
.hl7-payload[b-71hoexe8yq] {
    margin: 0;
    /* The frame bounds this now, where 55vh of the viewport used to. At rest the popup grows to its
       own MaxHeight and the card behind this scrolls; dragged taller, this takes the slack rather
       than leaving it white under the last segment. The flex is inert until the frame has a height of
       its own — that is the only time the scroller is a flex column. */
    flex: 1;
    padding: .6rem;
    border: 1px solid var(--iws-border);
    border-radius: 4px;
    background: var(--iws-surface-subtle);
    font-family: Consolas, "Courier New", monospace;
    font-size: .72rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.detail-section dl[b-71hoexe8yq] {
    margin: 0;
    display: grid;
    grid-template-columns: var(--detail-label-w) minmax(0, 1fr);
    column-gap: .65rem;
    row-gap: .25rem;
    align-items: start;
    font-size: .78rem;
}

.detail-section dt[b-71hoexe8yq] { color: var(--iws-brand-text); font-weight: 700; letter-spacing: .02em; }
.detail-section dd[b-71hoexe8yq] { margin: 0; color: var(--medq-black); overflow-wrap: anywhere; }
.detail-actions[b-71hoexe8yq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
    padding: .65rem .85rem;
    border-top: 1px solid var(--iws-border);
    background: var(--iws-surface-subtle);
}

.detail-actions .workspace-btn[b-71hoexe8yq] { justify-content: flex-start; text-align: left; }
.action-reason[b-71hoexe8yq] { grid-column: 1 / -1; color: var(--medq-gray-700); font-size: .7rem; line-height: 1.25; }

/* The dock: where a window minimized on this tab waits. A row of the list card rather than of the
   shell, because what is in it means nothing on any other list — and rather than of the workspace,
   because a row there was taken out of the split, shortening the detail rail as well as the grid. A
   minimized filter panel is the list's business; the rail describes the row that is selected and has
   no part in it.

   Read as the card's footer, the same border and wash the rail's action bar wears, so the strip is
   part of the list it belongs to rather than a band floating under it.

   The left inset is standing, not conditional on the Start tile being there to clear. The tile comes
   and goes with the drafts on it and can be dragged away entirely, and a strip that slid sideways
   whenever a chart was put down somewhere else would read as a fault; an indent on a row of buttons
   just reads as margin. */
.workspace-dock[b-71hoexe8yq] {
    display: flex;
    align-items: center;
    gap: .4rem;
    /* Left: clears the Start tile in its home corner — 0.75rem of viewport inset plus its 2rem, less
       the workspace's own padding, and a little air. Sized to the tile, so it follows if that
       changes again. */
    padding: .4rem .5rem .4rem 2.25rem;
    border-top: 1px solid var(--iws-border);
    background: var(--iws-surface-subtle);
}
