/* Tables: plain tables, the universal data table, the list window, a person in a cell and a list of plans on a phone.
   Loaded after shell-frame.css (the order is in base.css). */
/* Plain tables (non-universal lists, review rows) */
.table-scroll{overflow:auto;max-width:100%;min-width:0;overscroll-behavior-x:contain}
/* The edge that hides columns fades (shell.js sets cue-start and cue-end
   on a list's scroller or a card while its table runs wider than its place). */
.cue-end{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}
.cue-start{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(to left,#000 calc(100% - 32px),transparent)}
.cue-start.cue-end{-webkit-mask-image:linear-gradient(to right,transparent,#000 32px,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(to right,transparent,#000 32px,#000 calc(100% - 32px),transparent)}
table{width:100%;border-collapse:collapse;text-align:left;font-size:var(--text-base)}
td,th{padding:7px 10px;border-bottom:var(--hairline-w) solid var(--group-line);font-weight:400;vertical-align:middle}
thead th{font-size:var(--text-xs);color:var(--label-2);font-weight:600}
tbody th{font-weight:500}
tbody tr:last-child>*{border-bottom:0}

/* ---------- Universal data table ---------- */
.data-table{position:relative;margin:12px 0 24px}
.table-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin-bottom:10px}
.table-search{position:relative;flex:0 1 240px;margin:0}
.table-search input{height:var(--control-sm);min-height:0;margin:0;padding:3px 9px 3px 26px;font-size:var(--text-base);background:var(--fill);border-color:transparent;box-shadow:none}
.table-search input:focus{background:var(--control);border-color:var(--accent)}
.table-search:has(.table-filter){display:flex;gap:6px;flex-basis:500px}
.table-search input.table-filter{flex:0 0 220px;padding-left:9px}
.table-search .search-icon{position:absolute;left:8px;top:6px;width:14px;height:14px;fill:none;stroke:var(--label-2);stroke-width:2;stroke-linecap:round}
/* The list's tools in the mockup's toolbar groups (P82, ref.css glass-group
   and tb-btn): capsules of the glass material holding symbol buttons. */
.tool-group{display:inline-flex;align-items:center;height:32px;padding:0 2px;border-radius:var(--r-capsule);background:var(--glass);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);box-shadow:0 0 0 var(--hairline-w) var(--separator),0 1px 3px rgba(0,0,0,.06),inset 0 0 0 1px var(--glass-edge)}
.tool-group:empty{display:none}
[data-table] .tool{display:inline-flex;align-items:center;justify-content:center;height:28px;min-width:32px;min-height:0;margin:0;padding:0 8px;border:0;border-radius:var(--r-capsule);background:none;color:var(--label);cursor:default;list-style:none;box-shadow:none}
[data-table] .tool::-webkit-details-marker{display:none}
[data-table] .tool:hover:not(:disabled),.tool-menu[open]>.tool{background:color-mix(in srgb,var(--label) 11%,transparent)}
[data-table] .tool:active:not(:disabled){background:color-mix(in srgb,var(--label) 20%,transparent);transition:none}
/* Select pressed: Done is shown by the pressed button (P79's toggle look). */
[data-table] .tool[aria-pressed="true"]{background:none;color:var(--accent)}
[data-table] .tool:disabled{color:var(--label-3);background:none}
[data-table] .tool svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
/* A list window's tools in its toolbar row (FW-UI-184, the mockup): M03's
   glass groups, a tool the size of the bar's buttons; the search a
   magnifier that opens into a field; the list's filters a group of fields. */
.settings-titlebar .tool-group.glass-group .tool{height:var(--tb-item)}
.settings-titlebar .glass-group:empty{display:none}
.settings-titlebar .table-search.tb-search{flex:none;display:flex;align-items:center;height:32px;padding:0}
/* The Search field as the mockup's toolbar (rate-changes.html): 150 px, a
   capsule on the fill, after a separator - not a magnifier that opens (lane
   C's M10 blind round 2). The phone keeps its full-width field below. */
.settings-titlebar .table-search.tb-search::before{content:"";flex:none;width:.5px;height:18px;margin:0 8px 0 2px;background:var(--separator)}
.settings-titlebar .table-search.tb-search .search-icon{left:18px;top:8.5px;width:13px;height:13px;stroke-width:1.8;stroke:var(--label-2);pointer-events:none}
.settings-titlebar .table-search.tb-search input[type=search]{width:150px;height:30px;padding:0 10px 0 27px;border:0;border-radius:var(--r-capsule);background:var(--fill-2);font:var(--type-mac-body);cursor:text}
.settings-titlebar .table-search.tb-search input[type=search]::placeholder{color:var(--label-2)}
/* Focused, the field is the control's white with the field's ring (the mockup's .search input:focus). */
.settings-titlebar .table-search.tb-search input[type=search]:focus{background:var(--control);box-shadow:0 0 0 3px var(--focus-field);outline:none}
/* Room for the clear button, as the mockup's .search.has-clear. */
.settings-titlebar .table-search.tb-search .clearable>input[type=search]{padding-right:28px}
.settings-titlebar .table-filters{gap:4px;padding:0 2px}
/* A window's switch in the toolbar is a capsule as the others: no sidebar block's padding or line under it. */
.settings-titlebar .glass-group.window-switch{display:flex;gap:0;margin:0;padding:0 2px;border-bottom:0}
/* The Legal Entity in a list's toolbar: the plain pop-up as tall as the toolbar's buttons (the mockup's toolbar .popup.plain, 28 px). */
.settings-titlebar .window-switch select.plain-popup{height:var(--tb-item);min-height:0}
.settings-titlebar .table-filters input.table-filter{width:180px;height:var(--tb-item);min-height:0;margin:0;padding:0 10px;border:0;border-radius:var(--r-capsule);background:var(--fill);font:var(--type-mac-body)}
/* Under the title the view shown and the count, the mockup's second line of the title (.tb-title span). */
.list-window .tb-heading .list-line{margin:0;font:var(--type-mac-caption);font-weight:400;color:var(--label-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* The line under a list's title gives way when the list's own width is 860 px or less, as the mockup's
   .tb-title span in its main area (the inspector stands beside the list there, inside the window here). */
@media(min-width:701px){
 .scroll>.settings-form.list-window>.settings-titlebar{container-type:inline-size}
 @container (max-width:860px){.list-window .tb-heading .list-line{display:none}}
 /* A list with the views pop-up has no second line: the button names the view and its count (FW-UI-218, the mockup's title with views). */
 .list-window>.settings-titlebar:has(>.tb-viewpop) .tb-heading .list-line{display:none}
}
.row-menu summary svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.row-menu summary svg circle{fill:currentColor;stroke:none}
.tool-menu,.row-menu{position:relative}
/* Where a table's tool and row menus open; their look is the menu's (overlays.css). */
.tool-menu>.menu-popover,.row-menu>.menu-popover{position:absolute;left:auto;right:0;top:calc(100% + 6px);z-index:30}
/* A footer menu (the Form window's + Add, FW-FORMS-021) opens upwards and scrolls a long list. */
.footer-menu>.menu-popover{top:auto;bottom:calc(100% + 6px);max-height:min(60vh,420px);overflow:auto}
.row-menu>.menu-popover.is-fixed{position:fixed;top:var(--menu-top);left:var(--menu-left);right:auto;z-index:60}
/* A header's menu opens at the pointer (datatable.js); it is a menu (overlays.css). */
.head-menu{position:fixed;z-index:60;overflow-y:auto}
.head-filter{min-width:300px;max-width:min(360px,calc(100vw - 16px));max-height:min(630px,calc(100vh - 16px))}
/* View Options (P16): the columns by the record's sections, with a search. */
.table-dialog.view-options{max-width:880px}
.view-options-search{width:100%;height:28px;margin:0 0 10px;border:0;border-radius:var(--r-md);background:var(--fill)}
.view-options-group+.view-options-group{margin-top:12px}
.view-options .table-columns{max-height:none;overflow:visible}
.view-options .view-options-head{margin:0 0 5px 2px;font:var(--type-mac-caption);font-weight:600;color:var(--label-2)}
.view-options-rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:2px 12px;padding:6px 10px;border-radius:var(--r-group);background:var(--group)}
.view-options-rows label{display:flex;align-items:center;gap:8px;min-height:27px;margin:0;font:var(--type-mac-body)}
.view-options-rows label[hidden]{display:none}
.menu-title{margin:0;padding:6px 10px 2px;font-size:var(--text-xs);font-weight:600;color:var(--tertiary)}
.table-columns{max-height:340px;overflow:auto}
.table-columns label,.table-asof label{display:flex;align-items:center;gap:8px;margin:0;padding:4px 8px;font-size:var(--text-base);font-weight:400}
.table-asof label{flex-direction:column;align-items:stretch;gap:4px;font-weight:400;font-size:var(--text-base)}
.table-asof input{margin:0;font-weight:400}
.table-asof button,.table-columns button{justify-self:end;margin:6px 8px 4px}
.table-pending{display:flex;align-items:center;gap:8px;margin-right:auto;font-size:var(--text-sm);color:var(--label-2)}
/* One table style for every list (P68, FW-UI-184): the mockup's macOS table
   (docs/design/reference/ref.css table.tv) - headers in label-2 on the
   window, rows of 32px alternating with a faint tint, the focused row in the
   accent with its text white, ticked rows on the accent's soft tone. */
[data-table] .table-scroll{border:0;border-radius:0;overflow:visible;background:var(--window);box-shadow:none}
/* The page scrolls the list, so its header stays at the top (sticky); a wide
   list shows its columns in the window's width, each cut at «…» with its
   full text in the tooltip - no sideways scroll (Table: «A wide list shows a
   few columns and the side panel, no sideways scroll»). */
.settings-form.list-window .settings-panes>.list-pane{overflow:visible}
/* On a Mac only the list scrolls, as the mockup's .table-wrap: the toolbar
   stays above it and the header at its top. */
@media(min-width:701px){
 /* The views stand in the sidebar (P3, P110): the list takes the window's width, edge to edge. */
 .settings-form.list-window>.settings-body{grid-template-columns:minmax(0,1fr)}
 .settings-form.list-window>.settings-body>.settings-side{display:none}
 /* As the mockup's .table-wrap: the pane is the window itself (no tone, no padding of its own, R413834),
    and the scrolling area pads its 12 px, so nothing else is painted between the sidebar and the table. */
 .settings-form.list-window .settings-panes>.list-pane{padding:0;background:none}
 .settings-form.list-window>.settings-body,.settings-form.list-window>.settings-body>.settings-panes{background:none}
 table.grid .cell-person .avatar{width:24px;height:24px}
 .settings-form.list-window .settings-panes:has(>.list-pane){display:flex;flex-direction:column;overflow:hidden}
 .settings-form.list-window .settings-panes>.list-pane{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
 .settings-form.list-window .list-pane>:not(.table-scroll){flex:none}
 .settings-form.list-window .list-pane>.table-scroll{flex:1 1 auto;min-height:0;overflow:auto;padding:0 12px;background:none}
}
/* Each column takes its width by its content, up to the cells' widest; a
   list too wide for the window steps that widest down (data-fit, set by
   datatable.js) until its columns fit, the rest cut at «…». A column's
   title is never cut: the list scrolls sideways where the titles alone do
   not fit, as the mockup's (.tv th; FW-UI-184, lane B at 1280 px). */
@media(min-width:701px){
 [data-table] table.grid[data-fit="1"]{--cell-max:220px}
 [data-table] table.grid[data-fit="2"]{--cell-max:180px}
 [data-table] table.grid[data-fit="3"]{--cell-max:150px}
 [data-table] table.grid[data-fit="4"]{--cell-max:120px}
 [data-table] table.grid[data-fit="5"]{--cell-max:96px}
 [data-table] table.grid[data-fit="6"]{--cell-max:80px}
 [data-table] table.grid[data-fit="7"]{--cell-max:64px}
}
/* A capsule in a list's row is the mockup's table.tv capsule, 18 px on
   the cell's line; in a window's table (table.mini) the 20 px capsule; on
   iPhone a list's rows are the mockup's .ios-rows, whose capsule is the
   22 px one (FW-UI-182). */
@media(min-width:701px){.list-window table.grid .badge{min-height:18px;border-radius:9px;line-height:inherit}}
table.grid{width:100%;border-collapse:separate;border-spacing:0;font:var(--type-mac-body)}
table.grid th{position:sticky;top:0;z-index:1;height:28px;padding:0 10px;background:var(--table-head);text-align:left;font:var(--type-mac-callout);font-weight:500;color:var(--on-table-head);border-bottom:var(--hairline-w) solid var(--separator);white-space:nowrap;user-select:none}
table.grid th+th{box-shadow:inset var(--hairline-w) 0 0 var(--separator)}
table.grid th a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:4px}
table.grid th a:hover{color:var(--on-table-head-strong);text-decoration:none}
table.grid th[aria-sort] a{color:var(--on-table-head-strong)}
/* A column the list is narrowed by (its header's Filter) names it in the accent. */
table.grid th[data-filtered],table.grid th[data-filtered] a{color:var(--accent)}
/* A column moves by dragging its header (FW-UI-038): the line shows where it goes. */
table.grid th[data-column][draggable=true]{cursor:default}
table.grid th.is-drop-before{box-shadow:inset 2px 0 0 var(--accent)}
table.grid th.is-drop-after{box-shadow:inset -2px 0 0 var(--accent)}
.sort-mark{flex:none;width:9px;height:9px;margin-left:4px;fill:none;stroke:var(--label-2);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
table.grid td{height:32px;padding:7px 10px;border-bottom:0;line-height:1.4;vertical-align:middle}
/* A table in a window's group (the mockup's table.mini; M10's CSS check):
   a quiet head - no ground, no column lines - and cells 12 px from the
   group's edges (16 on a phone), rows parted by a hairline. A list
   window's table keeps the list's look. */
.settings-card table.grid th{position:static;padding:7px 12px 5px;background:none;box-shadow:none}
.settings-card table.grid td{padding:7px 12px;border-bottom:var(--hairline-w) solid var(--separator)}
.settings-card table.grid tbody tr:last-child>td{border-bottom:0}
@media(max-width:700px){.settings-card table.grid th{padding:8px 16px 6px}.settings-card table.grid td{padding:10px 16px}}
/* A window's table of rows that open or are typed in place (window items,
   table.data-table) is the same table.mini in its group: it begins at the
   group's edge, its head is quiet (500), cells stand 12 px from the edges;
   a row that opens answers the mouse and ends with the mockup's 11 px
   chevron in its 22 px cell; «+» stands in the bar under the rows (the
   mockup's .add-remove: 4/6 px, a 24 by 20 button, a 12 px symbol). M13's
   CSS check (FW-UI-190). */
.settings-card table.data-table{margin:0}
.settings-card table.data-table th{padding:7px 12px 5px;font-weight:500;border-bottom:var(--hairline-w) solid var(--field-line)}
.settings-card table.data-table td{padding:7px 12px;border-bottom:var(--hairline-w) solid var(--field-line)}
.settings-card table.data-table tbody tr:last-child>td{border-bottom:0}
.settings-card table.data-table td.ie-cell{padding-top:3px;padding-bottom:3px}
.settings-card table.data-table :is(td,th).ie-tools{padding:2px 6px}
.settings-card :is(table.ie-mode-panel,table[data-ie-opens]) tr.ie-row:not(.is-removed,.is-new,.is-open):hover>td{background-color:var(--fill-hover)}
.settings-card table.data-table td.ie-tools:has(>.list-row-chevron){width:22px;padding:0 10px 0 0}
.settings-card table.data-table .list-row-chevron svg{width:11px;height:11px}
.settings-card table.data-table td.ie-tools>.list-row-chevron{min-width:12px;justify-items:end}
.settings-card table.data-table tr.ie-plus td{padding:4px 6px}
.settings-card table.data-table tr.ie-plus .ie-row-tool{width:24px;height:20px;border-radius:4px;color:var(--label)}
.settings-card table.data-table tr.ie-plus .ie-row-tool svg{width:12px;height:12px}
@media(max-width:700px){.settings-card table.data-table th{padding:8px 16px 6px}.settings-card table.data-table td{padding:10px 16px}.settings-card table.data-table td.ie-cell{padding-top:3px;padding-bottom:3px}.settings-card table.data-table :is(td,th).ie-tools{padding:2px 6px}.settings-card table.data-table tr.ie-plus td{padding:4px 6px}}
/* Alternate rows: a theme's stripe (FW-UI-104) under the mockup's 5% tint,
   in lists only - a list window, a DataTable, the rows beside an Inspector.
   A table inside a window's section is not striped (the PO 2026-11-20
   R01b78c: «Какие-то таблицы красятся в чередовании строк, какие-то нет.
   Пусть не красятся все»; R7d402e «1. Да»: only in cards, big lists keep
   their stripes as on the mockup). */
@media(min-width:701px){
 :is(.list-window,.data-table,.inspector-frame) table.grid tbody tr:nth-child(even)>td{background:color-mix(in srgb,var(--table-stripe) 95%,var(--label))}
 table.grid tbody tr:not(.is-focus):has(>.cell-check input:checked)>td{background:var(--table-selected)}
 table.grid tbody tr.is-focus>td,table.grid tbody tr.is-focus:nth-child(n)>td{background:var(--accent);color:var(--on-accent)}
 /* The focused row's ends round off at its first and last cells shown (the checks only in Select, the menu's cell never). */
 [data-table]:not(.is-selecting) table.grid tbody tr.is-focus>td.cell-check+td,[data-table].is-selecting table.grid tbody tr.is-focus>td.cell-check,table.grid tbody tr.is-focus>td:first-child:not(.cell-check){border-radius:6px 0 0 6px}
 table.grid tbody tr.is-focus>td:has(+td.cell-actions:last-child),table.grid tbody tr.is-focus>td:last-child:not(.cell-actions){border-radius:0 6px 6px 0}
}
/* The focused row is a Mac's: a phone taps to open and shows no focus. */
@media(min-width:701px){
 /* The row's own text turns white; a menu opened from the row keeps its own colours. */
 table.grid tbody tr.is-focus :is(.cell-sub,.cell-phone,a):not(.menu-popover *){color:var(--on-accent)}
 table.grid tbody tr.is-focus .badge{background:color-mix(in srgb,var(--on-accent) 22%,transparent);color:var(--on-accent)}
}
/* A row's context menu opened outside the ticked rows: the accent ring, as Finder's. */
table.grid tbody tr.is-context{outline:2px solid var(--accent);outline-offset:-2px}
/* A cell of row buttons (FW-UI-106 Check lists): small buttons on one line at the right, the primary last. */
table.grid td.cell-buttons{text-align:right;white-space:nowrap}
table.grid tbody tr[data-edit],table.grid tbody tr[data-href]{cursor:default}
table.grid tbody tr:focus-visible{outline:none}
table.grid tbody tr:focus-visible:not(.is-focus){outline:2px solid var(--accent);outline-offset:-2px}
/* The check column shows in Select mode only (Q14 A); a check is round, as Mail's. */
table.grid .cell-check{width:30px;min-width:30px;padding:0 0 0 10px;text-align:left}
[data-table]:not(.is-selecting) table.grid .cell-check{display:none}
table.grid .cell-check input{appearance:none;-webkit-appearance:none;display:inline-block;width:14px;height:14px;min-height:0;margin:0;padding:0;border:1px solid color-mix(in srgb,var(--label) 55%,transparent);border-radius:50%;background:var(--control);vertical-align:middle;box-shadow:none;cursor:default}
table.grid .cell-check input:checked{border-color:var(--accent);background:var(--accent) url("/assets/check-on.9979ebc31597.svg") center/12px no-repeat}
table.grid .cell-check input:indeterminate{border-color:var(--accent);background:var(--accent) linear-gradient(var(--on-accent),var(--on-accent)) center/7px 1.5px no-repeat}
@media(min-width:701px){table.grid tbody tr.is-focus .cell-check input:checked{border-color:var(--on-accent)}}
.row-menu summary{display:inline-grid;place-items:center;width:var(--control-sm);height:var(--control-sm);border-radius:var(--r-sm);color:var(--label-2);cursor:pointer;list-style:none}
.row-menu summary::-webkit-details-marker{display:none}
.row-menu summary:hover,.row-menu[open] summary{background:var(--fill-2);color:var(--label)}
/* A row's commands are its context menu (P57: no «…»): the column of the ⋯ button stays only for the menu to open from. */
table.grid .cell-actions{width:0;padding:0;overflow:visible}
table.grid .cell-actions .row-menu>summary{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
table.grid .cell-actions .row-menu>summary>svg{display:none}
table.grid tr.marked td{text-decoration:line-through;color:var(--label-2)}
table.grid tr.marked{background:var(--red-soft)!important}
table.grid tr.marked-status td{color:var(--label-2);font-style:italic}
table.grid tr.marked-status{background:var(--orange-soft)!important}
/* DataTable Figures (FW-UI-040): a grid of numbers - columns right in tabular figures, column groups, a totals row */
table.grid.figures th{position:static}
table.grid.figures td{overflow-wrap:normal}
table.grid.figures th.figures-group{text-align:center;border-bottom:var(--hairline-w) solid var(--group-line)}
table.grid.figures .figures-start{border-left:var(--hairline-w) solid var(--group-line)}
table.grid.figures .figures-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
table.grid.figures .figures-over{color:var(--red-text);font-weight:600}
table.grid.figures tr.figures-aside td:first-child{color:var(--label-2);font-style:italic}
/* CalculatingTable «unit and its sub-rows» (PA-FORMS-051, PO Ra4b08f): a unit's row is the total of its sub-rows by the dimensions' values, which fold under the FieldTree's chevron; a sub-row's caption stands indented */
table.grid.figures tr.figures-unit>td{font-weight:600}
table.grid.figures tr.figures-unit>td:first-child .ft-toggle{margin-right:6px;vertical-align:middle}
table.grid.figures tr.figures-unit>td:first-child .text-button{display:inline;padding:0;margin-left:8px;font-size:var(--text-sm);font-weight:500;color:var(--accent-text);cursor:pointer}
table.grid.figures tr.figures-sub>td:first-child{padding-left:36px}
table.grid.figures tfoot td{font-weight:600;background:var(--window);border-top:var(--hairline-w) solid var(--line-strong)}
/* DataTable second line and number column (PA-FORMS-004): a muted line under a cell's value (a Position's Code under its name), a number right in tabular figures */
:is(table.grid,.data-table) .cell-sub{display:block;color:var(--label-2);font-size:var(--text-xs)}
table.grid .cell-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
/* A cell stays on one line (FW-UI-057, PO 2026-10-27): text wider than the
   column's widest (cell-max) stops at «…» and table-cells.js gives the cut
   cell its full text as the browser's tooltip; a second line is cut alike.
   Cells holding controls keep them whole; a cell's menu opens over it. */
:is(table.grid,table.data-table) td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:var(--cell-max)}
:is(table.grid,table.data-table) :is(td:has(input:not([type=hidden]),select,textarea,button,form),.empty-row td,.ie-plus td){white-space:normal;overflow:visible;max-width:none}
:is(table.grid,table.data-table) td:has(details){overflow:visible}
:is(table.grid,table.data-table) .cell-sub{overflow:hidden;text-overflow:ellipsis}
/* A group holding such a table scrolls it sideways when its columns do not fit. */
.settings-card:has(> :is(table.grid,table.data-table)){overflow-x:auto}
.empty-row td{color:var(--label-2);text-align:center;padding:14px}
/* A list with no rows says so in one line as the mockup's (admin-tools.js: td.tert «Nothing here»): a cell's place, the tertiary label. */
[data-table] table.grid tbody tr.empty-row>td{color:var(--label-3);text-align:start;padding:7px 10px}
/* The status bar under a list (N1): its count; the list scrolls on, so no pages. */
.status-bar{display:flex;align-items:center;gap:12px;min-height:28px;margin:0;padding:0 16px;border-top:var(--hairline-w) solid var(--separator);font:var(--type-mac-caption);font-weight:400;color:var(--label-2)}
.table-count{margin:0;font-variant-numeric:tabular-nums}
.js .table-more{display:block;width:1px;height:1px;overflow:hidden;opacity:0}
/* The selection bar (P82): Select All, the count and the actions on the ticked rows, over the list's foot in the bar material. */
.sel-bar{position:relative;z-index:4;display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:center;gap:8px;min-height:44px;padding:6px 14px;background:var(--menu);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6);box-shadow:0 calc(-1 * var(--hairline-w)) 0 var(--separator)}
.sel-bar[hidden]{display:none}
.sel-count{font:var(--type-mac-emphasis)}
.sel-spacer{flex:1}
.sel-bar .is-waiting{opacity:.55}
/* The bar's actions are the mockup's .btn: grey capsules, the symbol and the word in the label colour; Delete is red only in its question. */
.sel-bar [data-table-selact]{min-height:24px;padding:0 11px;border-radius:var(--r-capsule);background:var(--fill-2);color:var(--label);box-shadow:0 .5px 1px color-mix(in srgb,var(--label) 8%,transparent)}
.sel-bar button:has(>svg){display:inline-flex;align-items:center;gap:5px}
.sel-bar button>svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[data-table].is-selecting .status-bar{display:none}
.list-footer .sel-bar{min-height:0;margin:-6px 0;padding:6px 0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
@media(max-width:700px){
 .table-search{flex:1 1 100%}
 .table-pending{flex:1 1 100%}
 .status-bar{display:none}
 .sel-bar{position:fixed;left:0;right:0;bottom:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
}
/* List window (ADR-026 "List windows"). */
.list-window .list-pane .table-toolbar{justify-content:flex-start}
.list-window .list-pane .table-search{margin-right:auto}
.list-footer .status-bar{flex:1 1 auto;min-height:0;padding:0;border-top:0}
/* The list's foot is the mockup's status bar: 28 px over a hairline. */
.settings-form.list-window>.list-footer{min-height:28px;padding-top:0;padding-bottom:0;border-top:var(--hairline-w) solid var(--separator);background:none}
.settings-form.list-window>.list-footer .status-bar{font:var(--type-mac-caption);font-weight:400}
/* In Select the mockup's selection bar floats over the list's foot: 44 px of the bar material from the window's bottom, the list does not move. */
@media(min-width:701px){.settings-form.list-window.is-selecting>.list-footer{position:relative}.settings-form.list-window>.list-footer>.sel-bar{position:absolute;left:0;right:0;bottom:0;min-height:44px;margin:0;padding:6px 14px;background:var(--menu);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6);box-shadow:0 calc(-1 * var(--hairline-w)) 0 var(--separator)}}
.list-footer .table-pending{margin:0 0 0 auto}
.list-footer .table-pending[hidden]{display:none}
/* A window's parent: the small subtitle under its name, as the mockup's
   toolbar title (FW-UI-180); Back goes there. */
.settings-titlebar .tb-heading>.title-path{margin:0;font:var(--type-mac-caption);font-weight:400;line-height:1.38;color:var(--label-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
tr.is-returned td{background:var(--accent-soft);transition:background .6s}
/* A person in a DataTable cell (PA-FORMS-035, docs/design/employees-list.html):
   the 30px avatar beside the name over its second line. On a phone the table
   reads as the lines of a list and the views as a segmented control. */
.cell-person{display:flex;align-items:center;gap:10px;min-width:0}
.cell-phone{display:none}
table.grid.person-list td:nth-child(3) .badge+.badge{margin-left:2px}
@media(max-width:700px){
 /* A list's views on a phone: the mockup's segmented control under the
    search, its segments sharing the width, without counts, as the mockup's
    (FW-UI-184, lane B at 375 px); it scrolls sideways only where the views'
    names alone do not fit. The view shown and the count stand under the
    title («All · 119»). The card and the views' symbols go. */
 /* The list's foot on a phone holds only the selection bar or the pending marks: empty, it goes. */
 .settings-form.list-window>.list-footer:not(:has(.sel-bar:not([hidden]),.table-pending:not([hidden]))){display:none}
 /* A group of views (Notifications by module, Events by kind) goes with the
    record facets: the phone's one segmented row holds the list's own views
    (the mockup's notifications.html at 375 px; FW-UI-191, WP4 blind round 1:
    the groups stood 202 px tall over the list). */
 /* The list a card of the iOS inset group (22 px corners), a person's name 17 px over its 15 px line. */
 .settings-form.list-window .list-pane>.table-scroll{border-radius:22px;overflow:hidden}
 table.grid.person-list tbody tr[data-row-id] td:nth-child(2) .list-row-main>b{font:var(--type-ios-body)}
 table.grid.person-list tbody tr[data-row-id] td:nth-child(2) .list-row-main>.cell-phone{font:var(--type-ios-subhead)}
 .list-window .tb-heading .list-line{display:block;font:var(--type-ios-subhead);color:var(--label-2)}
 .main>.scroll>.settings-form.list-window>.settings-titlebar>.table-search.tb-search{order:2;flex:1 1 100%;height:auto;margin:8px 0 2px;padding:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
 /* The phone's search field as the mockup's .search input on iPhone: 36 px, the fill, room for the symbol and the clear button. */
 .main>.scroll>.settings-form.list-window>.settings-titlebar>.table-search.tb-search input[type=search]{width:100%;height:36px;padding:0 28px 0 32px;border-radius:var(--r-xl);background:var(--fill-2);font:var(--type-ios-body);cursor:text}
 .main>.scroll>.settings-form.list-window>.settings-titlebar>.table-search.tb-search input[type=search]::placeholder{color:var(--label-2)}
 .main>.scroll>.settings-form.list-window>.settings-titlebar>.table-search.tb-search .search-icon{left:10px;top:10px;width:16px;height:16px}
 .main>.scroll>.settings-form.list-window>.settings-titlebar>.table-search.tb-search::before{display:none}
 .main>.scroll>.settings-form.list-window>.settings-titlebar>.table-filters{order:3;flex:1 1 100%;margin-top:6px;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
 .main>.scroll>.settings-form.list-window>.settings-titlebar>.table-filters input.table-filter{flex:1 1 auto;width:auto}
 table.grid.person-list{display:block;min-width:0}
 table.grid.person-list thead{display:none}
 table.grid.person-list tbody{display:block}
 table.grid.person-list tbody tr[data-row-id]{position:relative;display:flex;align-items:center;gap:12px;min-height:38px;padding:8px 30px 8px 14px;border-bottom:0}
 table.grid.person-list tbody tr[data-row-id]:is([data-edit],[data-href])::after{content:"";position:absolute;right:14px;top:50%;width:7px;height:12px;transform:translateY(-50%);background:var(--label-3);-webkit-mask:url("/assets/chevron-right.83a6fa9cbc1f.svg") center/contain no-repeat;mask:url("/assets/chevron-right.83a6fa9cbc1f.svg") center/contain no-repeat}
 table.grid.person-list tbody tr[data-row-id] td{display:block;padding:0;border:0;max-width:none}
 table.grid.person-list tbody tr[data-row-id] :is(td.cell-check,td:nth-child(n+4)){display:none}
 table.grid.person-list tbody tr[data-row-id] td:nth-child(2){flex:1;min-width:0}
 /* The name and the line under it on one line each, cut at «…», as an iOS list's. */
 table.grid.person-list tbody tr[data-row-id] td:nth-child(2) .list-row-main>:is(b,.cell-phone){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 /* A phone's person line shows only the pills that set it apart (not Active, not a manager's), as the mockup's. */
 table.grid.person-list .badge.mac-only{display:none}
 table.grid.person-list .cell-sub{display:none}
 table.grid.person-list .cell-phone{display:block;color:var(--label-2);font-size:var(--text-sm)}
}
/* A list on a phone (M07, FW-UI-184), as the mockup's iPhone list row: the
   row's name, under it the next two values, the first status as its capsule
   at the row's end before the chevron; the other columns are not shown
   (TableView phoneRoles, data-phone; lane B's blind check: one line of every
   column with its name). Lists of people and plans keep their own lines. */
@media(max-width:700px){
 /* A list on a phone keeps the 16 px gutter of an iOS list (the mockup's 343 of 375). */
 .settings-form.list-window .settings-panes>.list-pane{padding-left:16px;padding-right:16px}
 [data-table] table.grid:not(.person-list,.plan-list,.figures){display:block;min-width:0}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) thead{display:none}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody{display:block}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]{position:relative;display:grid;grid-template-columns:minmax(0,max-content) minmax(0,1fr) auto;grid-template-areas:"t t s" "a b s";column-gap:0;align-items:center;min-height:44px;padding:10px 30px 10px 16px;border-bottom:0}
 /* iOS separators start where the text starts (after a person's avatar) and run to the card's edge. */
 [data-table] table.grid tbody tr[data-row-id]+tr[data-row-id]::before{content:"";position:absolute;z-index:1;top:0;left:16px;right:0;border-top:var(--hairline-w) solid var(--group-line)}
 [data-table] table.grid.person-list tbody tr[data-row-id]+tr[data-row-id]::before{left:54px}
 .settings-form.list-window .settings-panes>.list-pane{padding-top:4px}
 .main>.scroll>.settings-form.list-window>.settings-titlebar>.table-search.tb-search{height:36px;margin-left:4px;margin-right:4px}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]:is([data-edit],[data-href])::after{content:"";position:absolute;right:14px;top:50%;width:7px;height:12px;transform:translateY(-50%);background:var(--label-3);-webkit-mask:url("/assets/chevron-right.83a6fa9cbc1f.svg") center/contain no-repeat;mask:url("/assets/chevron-right.83a6fa9cbc1f.svg") center/contain no-repeat}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]:nth-child(n)>td:not(.cell-check){display:inline;height:auto;padding:0;max-width:none;white-space:normal;background:none;font:var(--type-ios-footnote);color:var(--label)}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]:nth-child(n)>td[data-phone="title"]{display:block;grid-area:t;margin-bottom:2px;font:var(--type-ios-body)}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]:nth-child(n)>td[data-label]:not([data-phone]){display:none}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]:nth-child(n)>td:is([data-phone="sub"],[data-phone="sub2"]){display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--label-2)}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]:nth-child(n)>td[data-phone="sub"]{grid-area:a}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]:nth-child(n)>td[data-phone="sub2"]{grid-area:b}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]:nth-child(n)>td[data-phone="sub"]:not(:empty)~td[data-phone="sub2"]::before{content:"\00a0· "}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]:nth-child(n)>td[data-phone="status"]{display:block;grid-area:s;justify-self:end;margin-left:8px}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]:nth-child(n)>td[data-phone="status"]:not(:has(.badge)){min-height:var(--capsule-h);padding:0 8px;border-radius:var(--r-capsule);background:var(--fill-2);color:var(--label-2);font:var(--type-mac-caption);line-height:var(--capsule-h);white-space:nowrap}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]:nth-child(n)>td:empty{display:none}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]>td .cell-sub{display:inline;margin-left:4px;font:inherit;color:var(--label-2)}
 [data-table] table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]>td.cell-actions{display:none}
 /* The mockup's row in Select: the 18 px check 16 px in, then its 4 px and the row's 12 px gap before the text. */
 [data-table].is-selecting table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]{padding-left:50px}
 [data-table].is-selecting table.grid:not(.person-list,.plan-list,.figures) tbody tr[data-row-id]>td.cell-check{position:absolute;left:16px;top:50%;transform:translateY(-50%);display:block;width:auto;min-width:0;padding:0}
 [data-table] table.grid tbody tr[data-row-id]>td{height:auto}
 [data-table] table.grid tbody tr[data-row-id]:nth-child(even){background:none}
 [data-table] table.grid tbody tr[data-row-id]:has(>.cell-check input:checked){background:var(--table-selected)}
 table.grid .cell-check input{width:18px;height:18px;border-width:1.5px;border-color:var(--label-3)}
 table.grid .cell-check input:checked{background-size:14px}
 [data-table].is-selecting table.grid.person-list tbody tr[data-row-id]>td.cell-check{display:block;width:auto;min-width:0;padding:0}
 .list-footer .sel-bar{position:static;padding:0}
 .row-menu>.menu-popover{min-width:220px}
 .sel-bar :is([data-table-selact],[data-table-select-all]){min-height:36px}
 /* In Select the selection bar takes the tab bar's place at the foot, the
    whole width, in the bar material (the mockup's iPhone Select). */
 body:has([data-table].is-selecting) .tabbar{display:none}
 .settings-form.list-window:is(.is-selecting,:has(.is-selecting)) .list-footer{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:0;background:var(--menu);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6);box-shadow:0 calc(-1 * var(--hairline-w)) 0 var(--separator)}
 .settings-form.list-window:is(.is-selecting,:has(.is-selecting)) .list-footer>:not(.sel-bar){display:none}
}
/* A list of plans on a phone (PA-FORMS-051, PO HQ-9): the name, and under it the status and the figures; the other columns go. */
@media(max-width:700px){
 table.grid.plan-list thead,table.grid.plan-list td:nth-child(n+2){display:none}
 table.grid.plan-list .cell-phone{display:block;margin-top:2px;color:var(--label-2);font-size:var(--text-sm)}
}

/* ---------- The list's inspector (N3, P35, P51; FW-UI-184 follow-up) ----------
   On a list of records a click focuses the row and its record shows at the
   side, in the sections of its Form (the mockup's locations.html and
   directory.html): the side panel's one width, glass, from the window's
   top; its toggle is the toolbar's (P58). On iPhone there is none: a tap
   opens the record. */
.list-inspector{display:none}
/* Correct in the toolbar corrects the row the inspector shows (P60, P79):
   on iPhone, with no inspector, a record is corrected in its own window. */
@media(max-width:700px){.tool[data-table-correct]{display:none}}
@media(min-width:701px){
 .scroll>.settings-form.list-window:has(>.list-inspector){display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
 .scroll>.list-window:has(>.list-inspector)>.settings-titlebar{grid-column:1;grid-row:1}
 .scroll>.list-window:has(>.list-inspector)>.settings-body{grid-column:1;grid-row:2;min-height:0}
 .scroll>.list-window:has(>.list-inspector)>.list-footer{grid-column:1;grid-row:3}
 .list-window>.list-inspector{position:relative;z-index:5;display:block;grid-column:2;grid-row:1/-1;width:min(var(--inspector-w),46vw);min-height:0;margin:var(--gap-window) var(--gap-window) var(--gap-window) 0;padding:14px;overflow:auto;border-radius:var(--r-sidebar);background:var(--glass);-webkit-backdrop-filter:blur(30px) saturate(180%);backdrop-filter:blur(30px) saturate(180%);box-shadow:var(--glass-shadow),inset 0 0 0 1px var(--glass-edge)}
}
/* The head and a section's heading as the mockup's inspector (positions.html;
   FW-UI-235): the kind, the name in bold 15 px, its line; each section a
   group label over its group. The record's quick form in the pane keeps the
   same head (shell-frame.css), so Correct does not draw the pane anew. */
.inspector-kind{margin:0;font:var(--type-mac-caption);font-weight:600;color:var(--label-2)}
/* «Open the Position» at the head's end, as an icon button of a panel's
   head (FW-UI-235). */
.list-inspector>.inspector-open{position:absolute;top:8px;right:8px}
.list-inspector:has(>.inspector-open:not([hidden])) .inspector-title{padding-right:28px}
.inspector-title{margin:6px 0 2px;font:var(--type-mac-title);font-weight:700;overflow-wrap:anywhere}
.inspector-line{margin:0 0 12px;font:var(--type-mac-body);color:var(--label-2);overflow-wrap:anywhere}
.inspector-section{margin:14px 0 5px 2px;font:var(--type-mac-caption);font-weight:600;line-height:1.38;color:var(--label-2)}
.inspector-body .settings-heading{margin:12px 4px 5px;padding:0;font:var(--type-mac-caption);font-weight:600;color:var(--label-2)}
.list-inspector .inspector-body .settings-card{margin:0 0 10px;border:0;border-radius:var(--r-group);background:var(--group);box-shadow:0 0 0 var(--hairline-w) var(--group-line),0 .5px 1.5px #0000000a;overflow:hidden}
.inspector-body .settings-row{position:relative;display:flex;flex-wrap:nowrap;align-items:center;gap:12px;min-height:var(--row-mac);padding:7px 12px;border:0}
.inspector-body .settings-row+.settings-row::before{content:"";position:absolute;top:0;left:12px;right:0;height:var(--hairline-w);background:var(--field-line)}
.inspector-body .settings-row>.settings-label{flex:0 0 46%;width:auto;min-width:0;margin:0;color:var(--label);font:var(--type-mac-body);overflow-wrap:anywhere}
.inspector-body .settings-row>.settings-value{flex:1;min-width:0;margin:0;padding:0;border:0;text-align:right;color:var(--label-2);overflow-wrap:anywhere}
.inspector-none{display:flex;align-items:center;justify-content:center;min-height:44px;margin:24px 0 0;color:var(--label-2);text-align:center}
.inspector-body[aria-busy=true]{opacity:.55}
.inspector-record{display:block}
.inspector-body .settings-row>.settings-value>.field-lock{margin-left:6px}

/* ---------- A list's views in its toolbar (FW-UI-218; the mockup's P113) ----------
   The pop-up button after the title: the view in use, its count and a small
   chevron (.tb-btn.tb-views). Its menu holds the views with their counts
   (.menu-count), a check on the one in use, «My views», then Save View and
   Manage Views. The title keeps its width and the button stands beside it;
   the list's tools go to the trailing end. */
.list-window>.settings-titlebar:has(>.tb-viewpop)>.tb-heading{flex:0 1 auto}
.settings-titlebar>.tb-spacer{flex:1 1 auto;min-width:0}
.tb-btn.tb-views{width:auto;max-width:280px;padding:0 10px;gap:6px;font:var(--type-mac-body);font-weight:500;white-space:nowrap;list-style:none}
.tb-btn.tb-views::-webkit-details-marker{display:none}
.tb-btn.tb-views>.tb-views-name{min-width:0;overflow:hidden;text-overflow:ellipsis}
.tb-btn.tb-views>.sb-count{font-weight:500}
.tb-btn.tb-views>svg{flex:none;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.tb-btn.tb-views>.tb-views-chev{width:10px;height:10px;stroke-width:2.4;color:var(--label-2)}
.tb-btn.tb-views>.tb-views-sym{display:none;width:20px;height:20px;stroke-width:1.6}
.views-menu{min-width:220px;max-width:min(420px,calc(100vw - 24px))}
.views-menu .menu-item>.menu-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.views-menu .menu-item{padding-top:0;padding-bottom:0}
.views-menu .menu-item>.mk svg{width:15px;height:15px}
.views-menu .menu-count{font:var(--type-mac-callout)}
.views-menu .eyebrow{font:var(--type-mac-caption);font-weight:600}
@media(max-width:700px){
 /* iPhone: the same menu from a toolbar button with the filter symbol; the page has no row of views. */
 .tb-btn.tb-views{padding:0 8px;gap:0;font:var(--type-ios-body)}
 .tb-btn.tb-views>:is(.tb-views-name,.sb-count,.tb-views-chev){display:none}
 .tb-btn.tb-views>.tb-views-sym{display:block;width:22px;height:22px}
 .settings-titlebar>.tb-spacer{display:none}
 .views-menu .menu-item{padding-top:10px;padding-bottom:10px}
}

/* ---------- Save View (the mockup's saveViewSheet) ----------
   The name in its group; «Conditions»; a group of condition rows - Field,
   Condition, Value and − on one line - and + in the bar under them (the
   mockup's .add-remove: 4/6 px, a 24 by 20 button, a 12 px symbol). */
@media(min-width:701px){.table-dialog.view-editor,.table-dialog.views-manage{width:min(640px,calc(100vw - 32px));max-width:none}}
.view-editor .settings-card,.views-manage .settings-card{margin:0;overflow:hidden}
.view-editor .window-subhead,.views-manage .window-subhead{display:flex;align-items:center;gap:8px;margin:22px 0 7px;font:var(--type-mac-body);font-weight:600;color:var(--label)}
.views-manage .mv-body>.window-subhead:first-child{margin-top:8px}
.view-editor .settings-row>div{flex:1 1 0;min-width:0}
.view-editor .settings-row>div>input{width:100%}
.view-condition.settings-row{flex-wrap:nowrap;justify-content:flex-start;gap:8px}
.view-condition>select{margin:0}
.view-condition>.view-field{flex:1 1 0;min-width:0}
.view-condition>.view-mode{flex:0 0 auto;width:auto}
.view-condition>.view-value{flex:1 1 0;min-width:0;display:flex}
.view-condition>.view-value[hidden]{display:block;visibility:hidden}
.view-chosen{flex:1 1 auto;min-width:0;height:var(--ctl-mac);margin:0;padding:0 26px 0 7px;border:var(--hairline-w) solid var(--control-line);border-radius:6px;background:var(--control);box-shadow:none;color:var(--label);font:var(--type-mac-body);text-align:left;cursor:default}
.view-chosen>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.view-chosen>span.is-empty{color:var(--label-3)}
.view-chosen:focus-visible{outline:3px solid var(--focus);outline-offset:1px}
.view-condition>.view-remove{flex:none;width:24px;height:24px;border-radius:var(--r-capsule);background:var(--fill-2);box-shadow:0 .5px 1px #00000014;color:var(--label)}
.view-condition>.view-remove:hover{background:color-mix(in srgb,var(--label) 13%,transparent)}
.view-condition>.view-remove svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.view-options{width:300px;max-width:calc(100vw - 24px)}
.view-options .view-option-list{display:grid;max-height:240px;overflow:auto;padding:0 8px}
.view-options .view-option-list .check{display:flex;align-items:center;gap:8px;min-height:var(--ctl-mac);margin:0;padding:3px 2px;font:var(--type-mac-body)}
.view-options .view-pages{display:flex;gap:6px;padding:6px 8px 4px}
.view-options .view-pages>button:disabled{display:none}
.view-options .view-pages:not(:has(>button:not(:disabled))){display:none}
.view-options>.muted:empty{display:none}
.settings-card>.add-remove{display:flex;gap:0;padding:4px 6px;border-top:var(--hairline-w) solid var(--field-line)}
.settings-card>.add-remove:first-child{border-top:0}
.settings-card>.add-remove>button{display:grid;place-items:center;box-sizing:border-box;width:24px;height:20px;min-height:0;margin:0;padding:0 6px;border:0;border-radius:4px;background:none;box-shadow:none;color:var(--label);cursor:default}
.settings-card>.add-remove>button:hover:not([aria-disabled="true"]){background:color-mix(in srgb,var(--label) 11%,transparent)}
.settings-card>.add-remove>button:active:not([aria-disabled="true"]){background:color-mix(in srgb,var(--label) 20%,transparent)}
.settings-card>.add-remove>button[aria-disabled="true"]{color:var(--label-3)}
.settings-card>.add-remove svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

/* ---------- Manage Views (the mockup's .mv-body, .mv-row) ----------
   A row: the symbol, the name (a field for a view of mine), the count, then
   the lock of a supplied view, or Conditions and the grip. The selected row
   is tinted; on a phone a swipe shows Delete and Edit shows the red delete
   buttons and the grips. */
.mv-head{display:flex!important;align-items:flex-start;gap:8px}
.mv-head>h2{flex:1 1 auto;min-width:0}
.mv-head-tools{display:none;gap:8px}
.mv-head-tools svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.mv-row.settings-row{flex-wrap:nowrap;justify-content:flex-start;gap:8px;min-height:36px;overflow:hidden;cursor:default}
.mv-row.is-selected{background:var(--accent-soft)}
.mv-row.is-dragging{background:var(--fill-2)}
.mv-row:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
.mv-row>.mv-sym{flex:none;display:grid;place-items:center;width:18px;height:18px;color:var(--accent)}
.mv-row>.mv-sym svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mv-row>:is(.mv-name,.mv-field){flex:1 1 0;min-width:0}
.mv-row>.mv-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mv-row>input.mv-field{margin:0}
.mv-row>:is(.mv-lock,.mv-grip),.home-ql>.mv-grip{flex:none;display:grid;place-items:center;width:22px;height:22px;color:var(--label-3)}
.mv-row>:is(.mv-lock,.mv-grip) svg,.home-ql>.mv-grip svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mv-row>.mv-grip,.home-ql>.mv-grip{border-radius:6px;cursor:grab;touch-action:none}
.mv-row>.mv-grip:focus-visible,.home-ql>.mv-grip:focus-visible{outline:3px solid var(--focus)}
.mv-row>.mv-conditions{flex:none}
.mv-row>.mv-minus,.home-ql>.mv-minus{flex:none;display:none;place-items:center;width:22px;height:22px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:var(--red);color:var(--on-accent)}
.mv-row>.mv-minus svg,.home-ql>.mv-minus svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
.mv-edit .mv-row[data-mv]>.mv-minus{display:grid}
.mv-row>.mv-swipe{position:absolute;right:0;top:0;bottom:0;min-height:0;margin:0;padding:0 18px;border:0;border-radius:0;background:var(--red);color:var(--on-accent);font:inherit;font-weight:500;transform:translateX(100%);transition:transform .2s}
.mv-row.swiped>.mv-swipe{transform:none}
.mv-row.mv-empty{color:var(--label-2)}
@media(prefers-reduced-motion:reduce){.mv-row>.mv-swipe{transition:none}}
@media(max-width:700px){
 .mv-head-tools{display:flex}
 /* iPhone: the sheet's groups are iOS inset groups - 50 px rows, the body text, a quiet caption over each. */
 .view-editor .window-subhead,.views-manage .window-subhead{margin:26px 16px 7px;font:var(--type-ios-footnote);font-weight:400;color:var(--label-2)}
 .views-manage .mv-body>.window-subhead:first-child{margin-top:12px}
 .view-editor .settings-card,.views-manage .settings-card{box-shadow:none}
 .mv-row.settings-row{min-height:var(--row-ios);padding:11px 16px;font:var(--type-ios-body)}
 .mv-tools.add-remove{display:none}
 .mv-row>.mv-conditions{padding:0 8px}
 .mv-row>.mv-grip{display:none}
 .mv-edit .mv-row>.mv-grip{display:grid}
 .mv-edit .mv-row>.mv-conditions{display:none}
 .view-condition.settings-row{flex-wrap:wrap}
 .view-condition>.view-field{flex:1 1 100%}
 .view-condition>.view-value[hidden]{display:none}
 .view-chosen{height:var(--ctl-ios)}
}

/* The search field folded to its magnifier when the bar has no room (the
   mockup's .toolbar.search-folded .tb-search, FW-UI-218); the field opens in
   a popover (.pop-search). */
@media(min-width:701px){
 .settings-titlebar.search-folded>.table-search.tb-search{flex:none;display:flex;align-items:center;width:auto;height:var(--tb-item);padding:0;cursor:default}
 .settings-titlebar.search-folded>.table-search.tb-search>:not(svg){display:none}
 .settings-titlebar.search-folded>.table-search.tb-search>svg.search-icon{position:static;box-sizing:content-box;width:17px;height:17px;padding:5.5px 7.5px;border-radius:var(--r-capsule);stroke:var(--label)}
 .settings-titlebar.search-folded>.table-search.tb-search:hover>svg.search-icon{background:var(--fill-2)}
 .settings-titlebar.search-folded>.table-search.tb-search:focus-visible{outline:none}
 .settings-titlebar.search-folded>.table-search.tb-search:focus-visible>svg.search-icon{outline:3px solid var(--focus)}
}
.pop-search{width:260px;max-width:calc(100vw - 24px);padding:6px}
.pop-search>input[type=search]{display:block;width:100%;margin:0}
/* A set's share in a record's Table: a number at the trailing edge with its
   unit, «100.00 %», under the head «Percentage», as the mockup's Funding
   (FW-UI-187). The unit is the cell's data; an empty share shows none. */
.owned-rows table.data-table :is(th,td)[data-ie-number]{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.owned-rows table.data-table td[data-ie-unit]:not(:empty)::after{content:"\00a0" attr(data-ie-unit)}
/* A set's capsules in a list's cell, by rank, the current one green (FW-UI-206): one row of capsules, as in the window. */
.cell-chips{display:inline-flex;flex-wrap:wrap;gap:4px;vertical-align:middle}
