/* The shell (V4PortWI.md step 3): the cloud app's proportions, but for the left panel, 212px where app.css has 250px (George, 8-OCT-2026: 0.4 inch narrower);
   MainLayout.razor.css: the 3.5rem top row; RightDock.razor.css: the 460px dock, fixed right, the
   page shrinking beside it through --right-dock-width. */
:root {
    --sidebar-width: 212px;
    --top-row-height: 3.5rem;
    --right-dock-width: 0px;
    --shell-slate: #2f3b4c;
    --shell-slate-dark: #27313f;
    --shell-gold: #ffd54f;
    /* STANDARD_USER_NAME_WIDTH (George, 2-OCT-2026): every column or filter that holds a person. */
    --standard-user-name-width: 144px;
    /* 4895 (Spec_UiShell_v4, the Teams theme): the shell is light in every Teams theme, so the browser's own fields, lists and scroll bars
       draw light too and never dark on the shell's white. */
    color-scheme: light;
}
/* 4895: the page's own white ground under the shell, so a dark or high-contrast Teams client never shows through a transparent frame. */
html, body { background: #fff; }
/* 4895: in the Teams high-contrast theme, the stamp vpm-shell.js watchTheme sets, a focused control carries a heavy black ring. */
:root[data-teams-theme="contrast"] :focus-visible { outline: 3px solid #000; outline-offset: 1px; }
/* 4895: under the system's forced colors the canvases and the color-coded marks keep their own colors, which carry the meaning. */
@media (forced-colors: active) {
    canvas, .si-badge, .shell-dot, .msg-pill { forced-color-adjust: none; }
}

.shell { display: flex; height: 100vh; overflow: hidden; }
/* The dock is as wide as its content, the cloud's 460px at most (George on 2968f84, 8-OCT-2026); vpm-shell.js watchDock measures it into
   --dock-measured, never written back to the dock, so the page shrinks by what the dock takes, the cap until the first measure lands. */
.shell.dock-open { --right-dock-width: var(--dock-measured, 460px); }

/* The button reset every table-rendered control starts from. It sits first so a region's own
   padding (nav rows, tiles, tabs, buttons) wins at equal specificity; below the region rules it
   zeroed them all and the left panel lost its margin (1-OCT-2026). */
.shell-ctl { background: none; border: none; font: inherit; color: inherit; cursor: pointer; padding: 0; }

/* Left panel. */
.shell-nav {
    width: var(--sidebar-width);
    flex: 0 0 var(--sidebar-width);
    background: var(--shell-slate);
    color: #e6e9ee;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
}
/* Collapsed, the panel is as wide as its ">" (George, 8-OCT-2026); the main column takes the rest as a flex sibling, the dock is fixed and unmoved. */
.shell-nav.shell-nav-collapsed { --sidebar-width: 20px; overflow: hidden; }
.shell-nav-toggle { color: #fff; font-weight: bold; font-size: 15px; line-height: var(--top-row-height); width: 100%; text-align: center; }
.shell-nav-toggle:hover { background: rgba(255,255,255,.08); }
.shell-nav-collapse { position: absolute; top: 0; right: 0; width: auto; padding: 0 3px; }
/* The head (George, 9-OCT-2026; the VisiChord logo, 23-OCT-2026): the logo on its white card on one line, the "<" in the right corner;
   the permission-level pill is beside the MY ACCOUNT heading, never here. */
.shell-brand { height: var(--top-row-height); display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--shell-slate-dark); }
.shell-brand-btn { white-space: nowrap; font-weight: bold; font-size: 15px; color: #fff; }
.shell-brand-card { display: inline-flex; align-items: center; background: #fff; border-radius: 6px; padding: 4px 10px; }
.shell-brand-logo { height: 40px; vertical-align: middle; }
.shell-nav-section { font-size: 10px; letter-spacing: .08em; color: #e6e9ee; padding: 12px 16px 4px; }
/* MY ACCOUNT with the permission-level pill just right of it (George, 9-OCT-2026). */
.shell-nav-account { display: flex; align-items: center; gap: 6px; }
.shell-nav-account .shell-badge { letter-spacing: normal; white-space: nowrap; }
.shell-nav-row { display: flex; align-items: center; gap: 6px; width: 100%; text-align: left; padding: 6px 16px; color: #e6e9ee; }
.shell-nav-row:hover:not(:disabled) { background: rgba(255,255,255,.08); }
.shell-nav-row.shell-active { background: rgba(255,255,255,.14); }
.shell-project-name { color: var(--shell-gold); text-decoration: underline; }
/* The name stops at about 26 characters in an ellipsis, the whole name on hover (George, 8-OCT-2026). */
.shell-project-text { min-width: 0; max-width: 26ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shell-nav-counts { font-size: 11px; color: #e6e9ee; padding: 0 16px 4px 30px; }
.shell-nav-status { margin-top: auto; padding: 10px 16px 16px; font-size: 11px; color: #e6e9ee; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
/* 4100 (George): one line, the dot and its word, then the stamp smaller and pushed right, in the foot's light ink on the slate. */
.shell-nav-status .shell-build { font-family: Consolas, monospace; font-size: 10px; margin-left: auto; }
.shell-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.shell-dot-ok { background: #3a9d4e; }
.shell-dot-off { background: #9e9e9e; }

/* The buttons the table renders. Disabled is visible: faded, no hover, a step tag. */
.shell-ctl:disabled, .shell-disabled { opacity: .45; cursor: not-allowed; }
/* The step tag is DarkBlue, AA on white, in the dock and on every page (2326, George 7-OCT-2026: no yellow text); gold only on the dark nav. */
.shell-badge { font-size: 10px; border: 1px solid #9aa6b5; border-radius: 10px; padding: 0 6px; color: #e6e9ee; }
.shell-btn { background: #fff; border: 1px solid #888; border-radius: 3px; padding: 3px 10px; color: #000; cursor: pointer; }
.shell-btn:hover:not(:disabled) { background: #f0f0f0; }
/* The project validation band (ProjectValidationBand): plain HTML above the view, pink as a refusal is. */
.vb-band { flex: 0 0 auto; box-sizing: border-box; width: 100%; border: 1px solid #c0392b; background: #f8d7da; color: #000; margin: 0; padding: 2px 6px; }
.vb-head { display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: bold; white-space: nowrap; }
/* One line per error, as the cloud's strip: no cell wraps, an overlong Error ends in an ellipsis with the whole in its title; a long list scrolls in the band. */
.vb-rows { max-height: 30vh; overflow: auto; }
.vb-table { width: 100%; margin-top: 4px; background: #fff; }
.vb-table th, .vb-table td { white-space: nowrap; }
.vb-table .vb-error { width: 100%; max-width: 0; overflow: hidden; text-overflow: ellipsis; }
.vb-quiet { border-color: #ccc; background: #fff; }
.shell-btn-primary { border-color: #1565c0; color: #1565c0; }
.shell-btn-primary:hover:not(:disabled) { background: #1565c0; color: #fff; }
.shell-btn-danger { border-color: #c0392b; color: #c0392b; }
/* Manage Buffer's Record no days (Spec_Fever_v4 rule 19, 3460): green, greyed while days are unmanaged. */
.shell-btn-green { background: #198754; border-color: #198754; color: #fff; }
/* 11-NOV-2026: as the primary's hover, a darker fill and white words; .shell-btn:hover's light fill outranked the green and the white words vanished on it. */
.shell-btn-green:hover:not(:disabled) { background: #146c43; border-color: #146c43; color: #fff; }
.shell-btn-green:disabled { background: #fff; border-color: #ccc; color: #999; }
/* Score DM (George, 13-NOV-2026): red on an Active project more than three workdays past its last DM meeting. */
.shell-btn.shell-btn-overdue { background: #c0392b; border-color: #c0392b; color: #fff; }
.shell-btn.shell-btn-overdue:hover:not(:disabled) { background: #96281b; border-color: #96281b; color: #fff; }
/* Score DM's window: a failed read's line, a long URL in it, wraps inside the narrow window; words break only where they cannot fit. */
.score-dm .shell-error { overflow-wrap: anywhere; }
/* The DM score line very large, 24pt bold (George, 14-NOV-2026): "DM score 100/100" fits the window's 300px on one line; a longer line wraps between words. */
.score-dm .score-dm-total { font-size: 32px; font-weight: 700; line-height: 1.15; }
/* Under the score, the items that lost points (George, 14-NOV-2026): name, count, points, the points right-aligned. */
.score-dm .score-dm-deductions { width: 100%; margin-top: 5px; }
.score-dm .score-dm-deductions .score-dm-points { text-align: right; white-space: nowrap; }
/* The count stays on one line ("1 person"); a long item name wraps in its own cell instead. */
.score-dm .score-dm-deductions .score-dm-qty { white-space: nowrap; }
.shell-link { color: #1565c0; text-decoration: underline; }
.shell-tab { padding: 6px 4px; border-bottom: 2px solid transparent; }
.shell-tab.shell-active { border-bottom-color: #1565c0; font-weight: bold; }

/* Main column: the top row and the article. */
.shell-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.shell-top { height: var(--top-row-height); flex: 0 0 var(--top-row-height); display: flex; align-items: center; gap: 14px; padding: 0 1.5rem 0 2rem; background: #f7f7f7; border-bottom: 1px solid #d6d5d5; }
.shell-top-btn { color: #1565c0; }
.shell-top-fill { flex: 1; }
.shell-product { font-weight: bold; white-space: nowrap; color: #232834; }
/* The phone's top row (3929, Spec_UiShell): wide, the items sit in the row as ever (display: contents) and the menu button is not
   drawn; under 600px the row is the name and the menu button, the items dropping down from it on a press. */
.shell-top-items { display: contents; }
.shell-top-menu { display: none; }
/* The phone's left panel (3941, Spec_UiShell): wide, the ☰ and the cover are not drawn and the panel is as ever; under 600px the
   panel starts closed, the ☰ at the row's left opens it over the page with a cover behind, and Learning keeps its own rail. */
.shell-top-nav { display: none; }
.shell-nav-scrim { display: none; }
@media (max-width: 600px) {
  .shell > .shell-nav { display: none; }
  /* 4079 (Spec_UiShell, 3941's leftover, Henry's ruling): the open drawer and its scrim start under the top row, so the ☰ and the name stay in sight. */
  .shell.shell-nav-open > .shell-nav { display: flex; position: fixed; top: var(--top-row-height); left: 0; bottom: 0; z-index: 1075; box-shadow: 2px 0 8px rgba(0,0,0,.25); }
  .shell-nav-scrim { display: block; position: fixed; inset: var(--top-row-height) 0 0 0; z-index: 1074; background: rgba(0,0,0,.4); }
  .shell-top-nav { display: block; border: 0; background: none; padding: 0 4px; font-size: 20px; line-height: 1; color: #000; cursor: pointer; }
  .shell:has(.learn-look) .shell-top-nav, .shell:has(.learn-look) > .shell-nav-scrim { display: none; }
  .shell-top { position: relative; padding: 0 16px; }
  .shell-product { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .shell-top-menu { display: block; border: 1px solid #1565c0; border-radius: 6px; background: #fff; padding: 4px 10px; font: inherit; color: #1565c0; cursor: pointer; white-space: nowrap; }
  .shell-top-items { display: none; }
  .shell-top-items.shell-top-open { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; position: absolute; top: 100%; right: 8px; z-index: 1070; background: #fff; border: 1px solid #d6d5d5; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.12); padding: 12px 16px; }
  .shell-top-open .shell-top-fill { display: none; }
}
.shell-team { font-weight: bold; }
/* 4457: My Profile's initial box when Microsoft 365 holds no photo, the photo's 64px square. */
.shell-profile-initial { width: 64px; height: 64px; border-radius: 6px; background: #e8eef7; color: #000; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: bold; }
.shell-user { color: #000; }
.shell-article { flex: 1; min-height: 0; position: relative; margin-right: var(--right-dock-width); overflow: auto; container-type: inline-size; }
.shell-page { padding: 1rem 1.5rem 1rem 2rem; }
.shell-page h2 { margin: 0 0 .5rem; font-size: 18px; }
.shell-muted { color: #000; }
.shell-mono { font-family: Consolas, monospace; }
.shell-error { background: #fdecea; color: #a12622; padding: 6px 10px; border-bottom: 1px solid #f5c6c2; }
/* The IT admin's setup (ItAdminGuide, 20-NOV-2026): the link beside the not-granted error, then its window, which sits inside the pink
   line and so takes black text back; each command on its own line with its own Copy. */
.shell-it-admin { color: #a12622; font-weight: 600; white-space: nowrap; }
.shell-it-window { color: #000; }
.shell-it-guide h3 { font-size: 1rem; margin: .5rem 0 0; }
.shell-it-guide ol, .shell-it-guide ul { margin: 0; padding-left: 1.4rem; }
.shell-it-cmd { display: flex; align-items: flex-start; gap: 8px; background: #f4f4f4; border: 1px solid #ddd; border-radius: 4px; padding: 6px 8px; }
.shell-it-cmd code { flex: 1; font-family: Consolas, monospace; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.shell-blocked { color: #c00; }

/* Overview tiles: 210px, the cloud app's size. */
.shell-overview-head { display: flex; align-items: center; gap: 12px; }
.shell-band-title { font-size: 11px; letter-spacing: .06em; color: #000; margin: 14px 0 6px; text-transform: uppercase; }
.shell-band { display: flex; flex-wrap: wrap; gap: 10px; }
.shell-tile { width: 210px; height: 64px; border: 1px solid #ccc; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; }
.shell-tile:hover:not(:disabled) { border-color: #1565c0; background: #f3f7fd; }
.shell-tile.shell-disabled { background: #f4f4f4; }
/* A tile's icon, one size for every tile (George, 7-OCT-2026: the Configure gear larger). */
.shell-tile-icon { font-size: 1.3em; vertical-align: middle; }

/* The VPM four-panel layout (VpmCloud_v0.md §9.1.1): 180px banner column, header row, lane headers, canvas. */
.vpm-page { position: absolute; inset: 0; display: flex; flex-direction: column; }
.vpm-wrapper { position: relative; flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 180px 1fr; grid-template-rows: auto 1fr; background: #fff; }
.vpm-banner { grid-column: 1; grid-row: 1; padding: 6px 8px; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; font-size: 11px; overflow: hidden; }
.vpm-banner-name { font-weight: bold; font-size: 13px; }
/* The four pills wrap inside the 180px banner, so the last one, Score DM, is never cut at the panel's edge (George, 14-NOV-2026). */
.vpm-banner-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; }
/* Refresh drawn as its icon alone (George, 14-NOV-2026), in the pill's text color, the pill's height kept. */
.vpm-banner-controls .vpm-refresh { display: inline-flex; align-items: center; justify-content: center; padding: 1px 4px; }
.vpm-refresh-mark { width: 12px; height: 12px; display: block; }
.vpm-banner-controls .shell-btn { padding: 1px 5px; font-size: 10px; }
/* Manage Buffer and Score DM each on a line of its own, its (i) directly to its left (George via Henry, 18-NOV-2026). */
.vpm-banner-help-row { flex-basis: 100%; display: flex; align-items: center; gap: 4px; }
.vpm-header { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; border-bottom: 1px solid #ddd; min-width: 0; }
/* The pill row wraps to a second line when it is wider than the centre panel, never a scrollbar of its own (George on 2968f84, 8-OCT-2026). */
.vpm-header-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 8px; background: #f7f7f7; border-bottom: 1px solid #e3e3e3; }
/* 4602: the ▾ pill's list of the tasks selected, newest first, under the pill; the current one marked. */
.vpm-history { position: relative; display: flex; align-self: stretch; }
/* The history pills' glyphs (George, 4-NOV-2026): ← and → twice their size, the pills' height unchanged. A zero line-height and no vertical
   padding keep the glyph from adding height; the pill stretches to the header row the other pills set. The down triangle (George, 6-NOV-2026) is
   80% of the 19 by 17 text glyph it replaced, drawn so it centers in the pill whatever font the machine has; the pill keeps its width. */
.vpm-nav-step, .vpm-nav-history { align-self: stretch; line-height: 0; padding-top: 0; padding-bottom: 0; }
.vpm-nav-step { font-size: 200%; }
.vpm-nav-history { width: 65px; }
.vpm-nav-history-mark { display: block; width: 15.2px; height: 13.6px; margin: 0 auto; fill: currentColor; }
.vpm-history-list { position: absolute; top: 100%; left: 0; z-index: 30; display: flex; flex-direction: column; min-width: 320px; max-width: 320px; max-height: 360px; overflow-y: auto; background: #fff; border: 1px solid #999; border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.2); padding: 2px 0; }
.vpm-history-item { flex: 0 0 auto; text-align: left; padding: 3px 8px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; }
.vpm-history-item:hover { background: #eef3fb; }
.vpm-history-current { font-weight: 600; }
/* The fever chart (header.fever) under the controls, the cloud's 80px. The header row is auto: it grows by the fever, the notice line and
   a wrapped controls row, and the calendar keeps its own height (VpmRenderer.CalendarHeight, set on it), so no row above clips its three lines. */
.vpm-fever { flex: 0 0 80px; height: 80px; border-bottom: 1px solid #e3e3e3; overflow: hidden; }
.vpm-calendar { overflow: hidden; flex: 0 0 auto; position: relative; }
.vpm-lanes { grid-column: 1; grid-row: 2; overflow: hidden; border-right: 1px solid #ddd; background: #fafafa; }
/* Each head exactly its band: border-box, so padding and border sit inside the renderer's height. The head
   wears the stored lane colour, white text on it, as the cloud app's lane header (George, 6-OCT-2026). The
   bottom room lets this column scroll as far as the canvas past its horizontal scrollbar. */
.vpm-lanes-inner { position: relative; padding-bottom: 40px; }
.vpm-lane-head { position: absolute; left: 0; right: 0; box-sizing: border-box; padding: 3px 8px; border-bottom: 1px solid rgba(0,0,0,0.15); font-size: 11px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; justify-content: center; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,0.35); }
.vpm-lane-name { font-weight: bold; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vpm-lane-detail { color: rgba(255,255,255,0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The Action Plan band's head (George, 12-NOV-2026): its title at the left, its three rows named beside it, each a row of the band. */
.vpm-plan-head { flex-direction: row; justify-content: flex-start; align-items: stretch; padding: 0 0 0 8px; cursor: default; }
/* George, 15-NOV-2026: the title a word to a line, centred in the band (VpmRenderer.PlanTitleWidth); the names' column faded a little
   (PlanRowsHeadWashAlpha, set on it), each name inset PlanRowNamePad. */
.vpm-plan-title { flex: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; white-space: nowrap; line-height: 14px; }
.vpm-plan-rows { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.vpm-plan-row { flex: 1; display: flex; align-items: center; padding-left: 6px; border-top: 1px solid rgba(255,255,255,0.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,0.95); }
.vpm-plan-row:first-child { border-top: none; }
/* George, 13-NOV-2026: a list nobody uses is an option, not an error; its row gray, its name dark (VpmRenderer.PlanUnusedHeadShade, PlanUnusedLabelInk; rule 26). */
/* George, 13-NOV-2026: a risk's FMEA score choices carry their meaning; the box shows the start of it, the whole in the open list. */
.shell-fmea { max-width: 11em; }
/* George, 13-NOV-2026: the Current and Mitigated ratings each a four-high stack, the caption on its own line, then Severity, Occurrence, Detection
   and RPN, each label in a left column that fits the widest and its choice in a wide right column, so the whole meaning shows. The label is the grid's
   two cells (display: contents), so a click on the word still opens its choice. */
.shell-edit-row.shell-fmea-stack { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 8px; align-items: center; }
.shell-fmea-stack > .shell-edit-caption { grid-column: 1 / -1; align-self: end; }
.shell-edit .shell-fmea-stack > label { display: contents; }
.shell-fmea-stack .shell-fmea { max-width: none; width: 100%; }
.shell-fmea-scales table { margin-bottom: 8px; }
/* George, 13-NOV-2026: a late item's red diamond left of its description (LateDiamond.razor), on the action lists and the Risk Register. */
.late-diamond { display: inline-block; flex: none; vertical-align: middle; margin-right: 4px; line-height: 0; }
/* The description box and its diamond on one centre line, a two-line box included. */
.late-cell { display: inline-flex; align-items: center; }
.vpm-plan-row.vpm-plan-row-unused { background: #d6d6d6; color: #000; }
#mainCanvas { display: block; }
.vpm-canvas-scroll { grid-column: 2; grid-row: 2; overflow: auto; }
.vpm-wiring .vpm-canvas-scroll { cursor: crosshair; }
/* The operation's result on its own line under the controls, the header 16px taller for it. In the
   controls row it was the one item that could shrink and at a narrow window it shrank to nothing;
   the times lead the text so the ellipsis takes the label, never them (George, 2-OCT-2026). */
.vpm-status { font-size: 11px; white-space: nowrap; }
.vpm-notice { flex: 0 0 16px; display: flex; align-items: center; gap: 6px; line-height: 16px; padding: 0 8px; font-size: 11px; color: #1565c0; background: #f7f7f7; border-bottom: 1px solid #e3e3e3; box-sizing: border-box; }
.vpm-notice-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vpm-copy { font-size: 12px; line-height: 1; color: #1565c0; padding: 0 2px; }
/* The banner's count of tasks not drawn as stored; a click lists them on the notice line. */
.vpm-not-drawn { cursor: pointer; font-size: 12px; }
/* A bar dragged with Ctrl (horizontal) or Shift (vertical) shows that axis's drag icon (George, 8-OCT-2026). The shared canvas
   script, the cloud's, sets the body's cursor to ew-resize or ns-resize during the drag; the tab swaps its own icon in here,
   the resize arrow the fallback, so the shared file stays the cloud's (Henry's ruling (b)). */
body[style*="ew-resize"] { cursor: url("../images/Icons/icon-drag-left-right.png") 17 11, ew-resize !important; }
body[style*="ns-resize"] { cursor: url("../images/Icons/icon-drag-up-down.png") 17 11, ns-resize !important; }

/* The Gantt's splitter between the table and the bars, the cloud Gantt's .tg-splitter: a 1px line, wider and blue on hover and while dragged. */
.gantt-splitter { cursor: col-resize; position: relative; background: transparent; z-index: 11; }
.gantt-splitter::before { content: ""; position: absolute; top: 0; bottom: 0; left: 3px; width: 1px; background: #dee2e6; }
.gantt-splitter:hover::before, .gantt-resizing .gantt-splitter::before { left: 2px; width: 3px; background: #1b6ec2; }
.gantt-resizing { cursor: col-resize; user-select: none; }

/* Step 3: the canvas's right-click menu (TaskContextMenu.razor in the cloud app), its Mark as flyout, the create window. */
.vpm-menu { position: fixed; z-index: 1070; background: #fff; border: 1px solid #bbb; border-radius: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.2); min-width: 200px; padding: 4px 0; font-size: 13px; }
.vpm-menu-item { display: flex; align-items: center; width: 100%; text-align: left; padding: 5px 14px; white-space: nowrap; }
.vpm-menu-item:hover:not(:disabled) { background: #eef4ff; }
.vpm-menu-item.shell-disabled { justify-content: space-between; }
.vpm-menu-sep { border-top: 1px solid #e3e3e3; margin: 4px 0; }
.vpm-menu-head { padding: 2px 14px 4px; font-size: 11px; color: #000; }
.vpm-menu-has-sub { position: relative; }
.vpm-menu-has-sub:hover > .vpm-menu-sub { display: block; }
.vpm-menu-sub { display: none; position: absolute; left: 100%; top: -5px; background: #fff; border: 1px solid #bbb; border-radius: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.2); min-width: 130px; padding: 4px 0; }

/* The editors step 3 opened: the task pane's fields, the project and lane forms. */
.shell-task-fields input, .shell-task-fields select, .shell-task-fields textarea { font: inherit; font-size: 12px; padding: 1px 4px; border: 1px solid #ced4da; border-radius: 3px; width: 50%; box-sizing: border-box; }
.shell-task-fields textarea { resize: vertical; vertical-align: bottom; }
/* Days Left is three digits wide: no spinner, which would eat the third digit. */
.shell-task-fields input.shell-days-left { width: calc(3ch + 10px); appearance: textfield; -moz-appearance: textfield; }
.shell-task-fields input.shell-days-left::-webkit-inner-spin-button, .shell-task-fields input.shell-days-left::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.shell-task-fields .shell-muted { font-size: 11px; }
.shell-form { display: flex; flex-direction: column; gap: 8px; max-width: 620px; }
.shell-form label { display: flex; flex-direction: column; gap: 2px; font-size: .85rem; color: #000; }
.shell-form label.shell-check { flex-direction: row; align-items: center; gap: 6px; }
.shell-form-row { display: flex; gap: 10px; }
.shell-form-row > label { flex: 1; }
/* A packed row: each field as wide as its label or its control, left to right, nothing stretched (Configure's buffer row). */
.shell-form-row.shell-form-packed > label { flex: 0 0 auto; }
.shell-form-packed .si-input { width: auto; }
.shell-form-foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
/* The project form's foot in view while its lane table scrolls (George, 11-OCT-2026), as .shell-dock-footer; other forms' feet stay unpinned. */
/* The project form's error band in view at the top while its lane table or misses scroll (Henry, 11-OCT-2026); other pages' bands scroll. */
.shell-error-sticky { position: sticky; top: 0; z-index: 1; }
/* The open's non-member refusal (3107): one line under the top row, held until Dismiss or the next open. */
.shell-open-refusal { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 6px 2rem; }
/* George (11-NOV-2026): the person's new notices under the top row, in the page's flow, never over it; at most five lines and a more line. */
.shell-notices { background: #eff6ff; border-bottom: 1px solid #bfdbfe; color: #000; padding: 6px 2rem; }
.shell-notices-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 600; }
.shell-notices-list { list-style: none; margin: 4px 0 0; padding: 0; }
.shell-notices-list button { all: unset; cursor: pointer; display: block; padding: 2px 0; overflow-wrap: anywhere; }
.shell-notices-list button:hover, .shell-notices-list button:focus-visible { text-decoration: underline; }
@media (max-width: 600px) {
  .shell-notices { padding: 6px 16px; }
}
.shell-combo { position: relative; display: inline-block; min-width: 14rem; margin-bottom: 8px; }
.shell-combo > summary { cursor: pointer; list-style: none; padding-right: 1.6rem; }
.shell-combo > summary::-webkit-details-marker { display: none; }
.shell-combo > summary::after { content: "\25BE"; position: absolute; right: .5rem; }
.shell-combo-list { position: absolute; z-index: 3; left: 0; min-width: 100%; background: #fff; border: 1px solid #ced4da; padding: 4px 8px; }
.shell-combo-list label { display: block; color: #000; white-space: nowrap; }
/* 3188: under an open combo, a clear backdrop over the page whose click closes it; the list stays above it. */
.shell-combo-back { position: fixed; inset: 0; z-index: 2; background: transparent; }
/* The L3 set page's header (3215): title, Create Action, then Undo, Redo and ✕ top right, held at the top over the page's side padding. */
.shell-actionset-top { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 3; background: #fff; margin: -1rem -1.5rem 0 -2rem; padding: 1rem 1.5rem 6px 2rem; }
.shell-actionset { display: flex; align-items: flex-start; gap: 12px; }
/* 4656: the Kaizen Charter page's one header line, sticky as Schedule Actions' top line. 4750 (George's second look): 6px above each list
   heading, scoped to the page so .pw-title's margin: 0, later in this file, no longer wins on the Team heading. */
.charter-top { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 3; background: #fff; padding: 6px 0; }
.charter-top h2 { margin: 0; }
/* The title's (i) (George via Henry, 8-NOV-2026, a trial): the ? mark's blue ring, a serif i, close to the title. */
.charter-info { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: -6px; padding: 0; border: 1.5px solid #1565c0; border-radius: 50%; background: #fff; color: #1565c0; font: italic 700 13px Georgia, serif; line-height: 1; cursor: pointer; }
.charter-info:hover { background: #e3f0fc; }
.pw-page .charter-section { margin-top: 6px; }
/* Every charter list packed (George, 8-NOV-2026, the phone especially): no cell padding above or below, so neighboring rows' boxes sit 1px
   apart, the row's line between them; the boxes keep their own height; a row's buttons one line, no taller than a box. The PDF is not this. */
.charter-page .shell-lanes td { padding-top: 0; padding-bottom: 0; }
.charter-page .shell-lanes td .shell-btn { padding-top: 2px; padding-bottom: 2px; white-space: nowrap; }
.charter-page .shell-lanes td input[type=checkbox] { margin-top: 0; margin-bottom: 0; }
/* The charter form's footer (George, 5-NOV-2026): Cancel and Save held at the foot of the view as the page scrolls. A prior version
   picked downloads its PDF (George, 8-NOV-2026); nothing shows in place. */
.charter-foot { display: flex; align-items: center; gap: 12px; position: sticky; bottom: 0; z-index: 3; background: #fff; padding: 6px 0; margin-top: 6px; border-top: 1px solid #ccc; }
/* 4641: the Transactions page, Schedule Actions' sticky top over the tracker's ledger, a transaction a two-line block edited in place. */
.shell-txn-top { position: sticky; top: 0; z-index: 3; background: #fff; margin: -1rem -1.5rem 0 -2rem; padding: 1rem 1.5rem 6px 2rem; }
.shell-txn-head { display: flex; align-items: center; gap: 12px; }
.shell-txn-ledger { width: 100%; }
.shell-txn-ledger input:not([type="checkbox"]) { width: 100%; box-sizing: border-box; }
/* 6055 (George, 16-NOV-2026): one row a transaction; the dates a date wide, the Amount six or seven digits; a receipt indented under its order. */
.shell-txn-ledger td { white-space: nowrap; }
.shell-txn-ledger th { width: 1%; white-space: nowrap; }
.shell-txn-ledger th.shell-txn-grow { width: auto; }
.shell-txn-ledger input[type="date"] { width: 9.5rem; }
.shell-txn-ledger input.shell-txn-amount { width: 8rem; text-align: right; }
.shell-txn-under > td:first-child { padding-left: 2rem; }
/* Dev Board #17 (George, 17-NOV-2026, "convert series of stacked rect to cell format"): the ledger a spreadsheet grid, one shared border a
   cell; its inputs and picks borderless, filling their cells and still edited in place, a focused one ringed inside its cell. Widths as before.
   Spelled table.shell-txn-ledger to outrank the later .shell-lanes cell and input rules. */
table.shell-txn-ledger th, table.shell-txn-ledger td { border: 1px solid #dee2e6; }
table.shell-txn-ledger td { padding: 0 2px; }
table.shell-txn-ledger tr.shell-txn-under > td:first-child { padding-left: 2rem; }
table.shell-txn-ledger td input:not([type="checkbox"]), table.shell-txn-ledger td select { border: 0; border-radius: 0; background: transparent; padding: 3px 4px; font: inherit; }
table.shell-txn-ledger td input:not([type="checkbox"]):focus, table.shell-txn-ledger td select:focus { outline: 2px solid #86b7fe; outline-offset: -2px; }
table.shell-txn-ledger td input[type="checkbox"] { display: block; margin: 0 auto; }
/* Dev Board #17: Remaining right of Item at Item's width, read only, its room taken from the growing PO# / Invoice# and Name columns. */
table.shell-txn-ledger td.shell-txn-remaining { width: 8rem; min-width: 8rem; text-align: right; padding: 3px 6px; }
.shell-txn-end { display: flex; align-items: center; gap: 6px; }
.shell-txn-sums { display: flex; align-items: flex-end; gap: 16px; margin-top: 6px; }
.shell-txn-totals th, .shell-txn-totals td { padding: 0 16px 0 0; text-align: right; white-space: nowrap; }
.shell-txn-totals thead th { font-weight: 600; }
.shell-txn-totals tbody th { text-align: left; font-weight: 600; }
.si-modal.shell-txn-add-window { width: 1180px; }
/* The + Add row (George, 5-NOV-2026): a header over each box, the boxes, + Add and its count on one bottom line. */
.shell-edit-row.shell-txn-add { align-items: flex-end; }
.shell-txn-add-field { display: inline-flex; flex-direction: column; gap: 2px; }
.shell-actionset-grid th, .shell-actionset-grid td { height: 32px; box-sizing: border-box; padding-top: 0; padding-bottom: 0; white-space: nowrap; }
.shell-actionset-grid input, .shell-actionset-grid select { height: 26px; }
.shell-actionset-deliverable td { font-weight: 600; }
/* 3244 and George's refined grid: Days narrowed to its word, Left as wide as its word, the name takes the spare width. */
.shell-actionset-grid .shell-actionset-days { width: 3.2em; }
.shell-actionset-grid .shell-actionset-left { width: 3.2em; }
.shell-actionset-grid .shell-actionset-na { color: inherit; text-decoration: none; }
.shell-actionset-grid .shell-actionset-add { width: 1.4em; text-align: center; padding-left: 0; padding-right: 0; }
.shell-actionset-grid .shell-days-left { width: 3em; }
.shell-actionset-grid .shell-actionset-name { min-width: 18em; }
.shell-actionset-grid .shell-actionset-name-box { width: 100%; min-width: 18em; box-sizing: border-box; }
.shell-actionset-gap td { border: 0; }
.shell-actionset-defect .shell-btn { height: 24px; padding-top: 0; padding-bottom: 0; margin-left: 6px; vertical-align: middle; }
/* 3317: the Add… select left of the predecessors, stacked one a 32px line; an action row's cells sit on its first line, where its bar is. */
.shell-actionset-action > td { vertical-align: top; line-height: 32px; }
.shell-actionset-action input, .shell-actionset-action select { vertical-align: middle; }
.shell-actionset-preds { display: flex; align-items: flex-start; gap: 6px; }
/* George, 5-NOV-2026 (Schedule Actions, "fantastic", one thing): every row's Add… one 5em box, never sized to its longest option; the
   open list keeps the long names. */
.shell-actionset-preds select { margin-top: 3px; width: 5em; flex: none; }
.shell-actionset-pred { height: 32px; line-height: 32px; }
.shell-actionset-picture { flex: 1; min-width: 0; overflow-x: auto; }
/* George, 14-NOV-2026: the actions window, modal and placed by script (vpmShell.openActionsWindow) by its deliverable; width and max height set there.
   George, 18-NOV-2026: it opens at its content's height up to 80% of the browser window, and its bottom edge drags it taller. */
.si-modal-back.shell-actions-back { display: block; padding: 0; background: rgba(0,0,0,.15); }
.si-modal.shell-actions-window { position: fixed; max-width: none; max-height: none; width: 60vw; overflow: auto; }
.shell-actions-window-title { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 3; background: #fff; padding: 8px 12px; border-bottom: 1px solid #dee2e6; cursor: move; user-select: none; }
.shell-actions-window-title h2 { font-size: 1.1rem; margin: 0; }
.shell-actions-window-title .shell-btn { cursor: pointer; }
.shell-actions-window-body { padding: 0 12px 8px 12px; }
/* In-app help (George via Henry, 18-NOV-2026): a dialog title with its help pair at its right; the title keeps the row's width as the drag handle. */
.dialog-help-head { display: flex; align-items: baseline; gap: 12px; }
.dialog-help-head > h5 { flex: 1; }
/* The pair stacks, one link over the other, each with its own small (i) at its left (George, 18-NOV-2026). */
.help-pair { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.shell-dock-tabs .help-pair { margin-left: 8px; }
.help-page-link { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 12px; line-height: 1.25; }
.help-page-i { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 13px; height: 13px; border: 1px solid currentColor; border-radius: 50%; font: italic 700 9px Georgia, serif; line-height: 1; }
/* The (i) beside a control and its popover of two help links (George via Henry, 18-NOV-2026): the charter's (i) look, smaller; a click outside
   lands on the clear scrim and closes it. */
.help-info-wrap { position: relative; display: inline-flex; align-items: center; }
.help-info { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; padding: 0; border: 1.5px solid #1565c0; border-radius: 50%; background: #fff; color: #1565c0; font: italic 700 12px Georgia, serif; line-height: 1; cursor: pointer; }
.help-info:hover { background: #e3f0fc; }
.help-info-scrim { position: fixed; inset: 0; z-index: 50; }
.help-info-pop { position: absolute; top: calc(100% + 4px); left: 0; z-index: 51; display: flex; flex-direction: column; gap: 6px; padding: 8px 12px; background: #fff; border: 1px solid #ccc; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.15); outline: none; }
.shell-actions-window-body .shell-actions-window-title { margin: 0 -12px 6px -12px; }
.shell-actionset-action[data-highlight] > td { background: #fff3cd; }
.shell-actionset-action[data-deleting] > td { text-decoration: line-through; }
.shell-actionset-grid .shell-actionset-add-row { margin-left: 8px; font-weight: 400; }
.shell-actionset-grid .shell-actionset-toggle { width: 1.6em; text-align: center; padding-left: 0; padding-right: 0; }
/* George, 16-NOV-2026: the row's ▶/▼ is the Gantt's expander (GanttRenderer.ExpandMark in its SmallFont and TableInk), never an underlined link. */
.shell-actionset-grid .shell-actionset-expand { border: 0; background: none; padding: 0; cursor: pointer; color: #000; font: 11px "Segoe UI", sans-serif; text-decoration: none; }
/* George, 16-NOV-2026: Est Hrs and Act Hrs as narrow as Left, their heads on two lines inside the row's height. */
.shell-actionset-grid th.shell-actionset-hours { width: 3.2em; white-space: normal; line-height: 14px; }
.shell-actionset-grid .shell-edit-hours { width: 3em; }
.shell-actionset-area > td { height: auto; white-space: normal; padding: 6px 8px; }
/* George, 18-NOV-2026 (Dev Board): an expanded action, its row and its area, reads as one thing: a light blue block in a thin black outline.
   The colour is the rows' own, so a refusal's pink on the row and a highlight's yellow on its cells still show; the outline is drawn by inset
   shadows on the edge cells, so no cell grows and the picture's measured rows stay where they were. */
.shell-actionset-action[data-expanded], .shell-actionset-area { background: #e3f2fd; }
.shell-actionset-action[data-expanded] > td { box-shadow: inset 0 1px 0 #000; }
.shell-actionset-action[data-expanded] > td:first-child { box-shadow: inset 1px 1px 0 #000; }
.shell-actionset-action[data-expanded] > td:last-child { box-shadow: inset -1px 1px 0 #000; }
.shell-actionset-area > td { box-shadow: inset 1px -1px 0 #000, inset -1px 0 0 #000; }
.shell-actionset-area-body { display: flex; flex-direction: column; gap: 6px; max-width: 60em; }
.shell-actionset-area-body textarea { width: 100%; box-sizing: border-box; }
/* George, 17-NOV-2026 (Dev Board #1): Responsible 15% narrower, one fixed box: the column drew 199px (a 187px box), now 169px (157px),
   the deliverable's Accountable clipped to it with its tooltip whole. */
.shell-actionset-grid select.shell-actionset-owner { width: 157px; }
.shell-actionset-grid span.shell-actionset-owner { display: inline-block; max-width: 157px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
/* George, 17-NOV-2026 (Dev Board #1): the action's number on the message line, half an inch of space between it and the 💬 (the row's 10px
   gap counted in). George, 18-NOV-2026: the number first, the 💬 on its right, Earliest start after the 💬. */
.shell-actionset-message-line { align-items: center; }
.shell-actionset-message-line > .shell-actionset-number { align-self: center; }
.shell-actionset-message-line > .shell-actionset-number + * { margin-left: calc(0.5in - 10px); }
/* George, 17-NOV-2026 (Dev Board #1, his second card): Reason and its count above a full-width box as Description's. George, 18-NOV-2026:
   Revert to Open beside the box on one row, the pill on the left, level with the box. */
.shell-actionset-reject { display: flex; flex-direction: row; align-items: flex-end; gap: 10px; }
.shell-actionset-reject > .shell-edit-block { flex: 1 1 auto; width: auto; min-width: 0; }
.shell-actionset-reject input.si-input { width: 100%; box-sizing: border-box; }
.shell-actions-window-foot { display: flex; align-items: center; gap: 8px; position: sticky; bottom: 0; z-index: 3; background: #fff; padding: 8px 0 0 0; border-top: 1px solid #dee2e6; margin-top: 6px; }
.shell-actions-window-error { position: fixed; left: 50%; top: 4rem; transform: translateX(-50%); z-index: 1090; }
.shell-form-foot-sticky { position: sticky; bottom: 0; background: #fff; border-top: 1px solid #eee; padding-top: 10px; }
/* Configure's sticky header and foot (3193): the title, its pills and the error band at the top, the pills at the bottom, over the page's
   whole height and its side padding, in the shape of the open's refusal header. */
.shell-config-head { position: sticky; top: 0; z-index: 3; background: #fff; margin: -1rem -1.5rem 0 -2rem; padding: 1rem 1.5rem 6px 2rem; }
.shell-fieldset.shell-config-foot { position: sticky; bottom: 0; z-index: 3; background: #fff; margin: 0 -1.5rem -1rem -2rem; padding: 0 1.5rem 1rem 2rem; }
.shell-lanes { border-collapse: collapse; font-size: .85rem; }
.shell-lanes th { text-align: left; padding: 4px 6px; border-bottom: 2px solid #dee2e6; font-weight: 600; }
.shell-lanes td { padding: 3px 6px; border-bottom: 1px solid #dee2e6; vertical-align: middle; }
.shell-lanes td input[type=text], .shell-lanes td input[type=number] { font: inherit; font-size: .85rem; padding: 2px 6px; border: 1px solid #ced4da; border-radius: 4px; }
.shell-lanes td input[type=color] { width: 36px; height: 24px; padding: 0; border: 1px solid #ced4da; }
/* A list row's note (ListRowNote, 2259): a full-width line under its row, wrapping freely; a refusal dark on the pale pink. */
.shell-lanes tr.list-row-note td { font-size: .85rem; white-space: normal; overflow-wrap: anywhere; }
.shell-lanes tr.list-row-note td.list-row-note-bad { background: #f8d7da; color: #212529; }
/* Modified keeps its stamp on one line. */
.shell-lanes td.list-modified { white-space: nowrap; }
/* The charter's Modified by on one line (George, 9-NOV-2026): the name wrapped and made every row two lines; the column 2.5 times its wrapped width. */
.shell-lanes .list-modified-by { white-space: nowrap; min-width: 12em; }

/* Spec Intake (SpecIntake.razor and app.css: ux-fit-page, ux-list-grow, spec-intake-table, si-*). */
/* George's 2-OCT-2026 trim: one head row (title, count and stamp, then Add, Undo, Redo at the top
   right, the standard for every window), the filters under it with Clear at the end, half the
   old header height. A person column is --standard-user-name-width everywhere, never a literal. */
.si-page { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; padding: .4rem 1.5rem 0 2rem; }
.si-head { display: flex; align-items: center; gap: 12px; margin-bottom: .3rem; }
.si-head h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.si-filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; margin-bottom: .3rem; }
.si-filter { display: flex; flex-direction: column; }
.si-filter label { font-size: .8rem; margin: 0; color: #000; }
.si-select, .si-input { font: inherit; font-size: .85rem; padding: 2px 6px; border: 1px solid #ced4da; border-radius: 4px; background: #fff; width: 100%; box-sizing: border-box; }
/* A calculated value drawn in an input's box (Configure's Workdays and Buffer days) stands as tall as the input beside it, empty or not (George, 8-OCT-2026). */
span.si-input { display: block; line-height: 1.2; min-height: calc(1.2em + 6px); min-width: 4em; }
/* A disabled or read-only control is grey across the app (Spec_Views_v4, Configure's second look, item 3); the table's controls keep their fade. */
input:disabled, select:disabled, textarea:disabled, .shell-btn:disabled, input[readonly], textarea[readonly], .shell-readonly { background: #e9ecef; color: #495057; cursor: not-allowed; }
/* A Viewer's read-only page: a disabled fieldset disables every control inside it, greyed by the rule above, and draws no box of its own. */
.shell-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.si-w-name { width: 220px; } .si-w-blocked { width: 7.2em; } .si-w-priority { width: 7.5em; } .si-w-project { width: 224px; } .si-w-user { width: var(--standard-user-name-width); }
.si-small { font-size: .85rem; }
.si-btn { font-size: .85rem; padding: 3px 10px; }
.si-clear { padding: 3px 8px; }
.si-error { color: #dc3545; padding: 4px 0; }
.si-grow { flex: 1 1 auto; min-height: 0; overflow: auto; }
.si-table { border-collapse: collapse; table-layout: fixed; width: auto; font-size: .85rem; }
.si-table th { position: sticky; top: 0; background: #f1f3f5; z-index: 1; text-align: left; padding: 4px 6px; border-bottom: 2px solid #dee2e6; font-weight: 600; }
.si-table td { vertical-align: top; padding: 4px 6px; border-bottom: 1px solid #dee2e6; }
.si-row { cursor: pointer; }
.si-row:hover td { background: #f8f9fa; }
.si-num { width: .5in; white-space: nowrap; } .si-name { width: 1.8in; } .si-owner { width: var(--standard-user-name-width); } .si-priority { width: .9in; white-space: nowrap; }
.si-status { width: 176px; } .si-text { width: 3.38in; } .si-date { width: 121px; white-space: nowrap; }
.si-cell { max-height: 2.2in; overflow-y: auto; overflow-x: hidden; white-space: pre-wrap; overflow-wrap: anywhere; }
.si-blocked { color: #dc3545; }
.si-badge { display: inline-block; padding: .35em .65em; font-size: .75em; font-weight: 700; line-height: 1; border-radius: .375rem; white-space: nowrap; }
/* Every question in the frame (ShellConfirm, ShellAskChoice, ShellAskNumber, ShellNotice, the Ping and intake dialogs) stacks above the dock's 1066
   and the menu's 1070: under the dock its right edge and third button were covered (George on 68fe360, 8-OCT-2026). */
.si-modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1080; display: flex; align-items: flex-start; justify-content: center; padding-top: 1.75rem; }
.si-modal { background: #fff; border-radius: .5rem; width: 800px; max-width: 95vw; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); }
.si-modal-head { display: flex; align-items: center; padding: 1rem; border-bottom: 1px solid #dee2e6; font-size: 1.1rem; }
.si-x { font-size: 1.4rem; line-height: 1; color: #000; }
.si-modal-body { padding: 1rem; overflow: auto; display: flex; flex-direction: column; gap: .5rem; }
.si-modal-body label { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.si-modal-body textarea { resize: vertical; }
.si-fieldset { border: 1px solid #dee2e6; border-radius: 4px; padding: .5rem .75rem; display: flex; gap: 1rem; }
.si-fieldset legend { font-size: .85rem; color: #000; padding: 0 4px; }
.si-flow { display: flex; flex-direction: column; gap: 2px; }
/* The blocking wait's words and spinner on one line (ShellWait, 3198). */
.si-modal-body.shell-wait { flex-direction: row; align-items: center; gap: 0; }
.si-modal-foot { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border-top: 1px solid #dee2e6; }

/* My Tasks (MyWork.razor and MyWork.razor.css: pw-*). */
.pw-page { margin-top: .4rem; max-width: 56rem; padding: 0 1.5rem 1rem 2rem; }
/* George via Henry, 20-NOV-2026 ("Always place undo/redo/x at screen top right"): a page's Undo, Redo and ✕ (PageCorner) sit at the right
   end of its top line, the first pushed right, and a top line that holds them reaches the page's right edge, 1.5rem in as on a full-width
   page, though the page below it keeps its 56rem reading width; so they never sit mid-screen after the banner. 100cqw is the article's
   width (.shell-article's container); a top line starts 2rem in, or 4rem on an Admin tab, whose page sits inside the Admin page's padding. */
.shell-corner { flex: none; }
.shell-corner-first { margin-left: auto; }
.pw-page > :has(> .shell-corner) { box-sizing: border-box; width: calc(100cqw - 3.5rem); }
.shell-page .pw-page > :has(> .shell-corner) { width: calc(100cqw - 5.5rem); }
.shell-page .pw-page.phase-gate-page > :has(> .shell-corner) { width: calc(100cqw - 3.5rem); }
/* The same head row as Spec Intake (Spec_UiShell_v4.md rule 8): title, the status line, the controls at the right. */
.pw-row { display: flex; align-items: center; gap: 12px; }
.pw-title { margin: 0; font-size: 1.1rem; font-weight: 600; }
/* George, 8-NOV-2026: a list's + Add pill sits 10px right of its heading, the row's 12px gap less 2. */
.shell-add { margin-left: -2px; }
/* George, 8-NOV-2026: the Primary KPI at the head of Sustaining KPIs, read only, in gray. */
.charter-kpi-readonly td { color: #6c757d; }
/* George, 8-NOV-2026: every list's Modified and Modified by, read only, right of the row's pills, in gray. */
.shell-lanes td.list-readonly { color: #6c757d; }
.pw-viewing { font-size: .85rem; color: #000; display: flex; align-items: center; gap: 6px; }
.pw-viewing-input { width: var(--standard-user-name-width); }
.pw-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-size: .82rem; color: #000; border-top: 1px solid #f1f3f5; border-bottom: 1px solid #f1f3f5; padding: .25rem 0; margin: .3rem 0; }
.pw-deliv-chk { font-weight: 700; color: #000; display: flex; align-items: center; gap: 4px; }
.pw-ctl-label { font-weight: 600; color: #000; }
.pw-proj-chk { display: flex; align-items: center; gap: 4px; }
.pw-due-ctl { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.pw-due { width: 3.4rem; }
.pw-section { text-transform: uppercase; font-weight: 800; border-bottom: 2px solid currentColor; margin-top: .75rem; padding-bottom: 2px; }
.pw-section-late { color: #dc3545; }
.pw-section-ontime { color: #000; }
.pw-empty { font-style: italic; color: #000; padding: 4px 0; }
.pw-proj-hdr { font-weight: 700; color: #212529; margin-top: .5rem; }
.pw-bkt { text-transform: uppercase; font-size: .8rem; font-weight: 700; margin-top: .25rem; }
.pw-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.pw-table th { color: #000; font-weight: 600; white-space: nowrap; border-bottom: 1px solid #dee2e6; text-align: left; padding: 3px 6px; }
.pw-table td { padding: 3px 6px; border-bottom: 1px solid #f1f3f5; vertical-align: top; }
.pw-c { text-align: center; }

/* Learning (LearningView.razor, 3874): the dashboard's count tiles and module cards, the module page's progress and session accordion. */
.learn-page { display: flex; flex-direction: column; gap: .5rem; }
.learn-tiles { display: flex; gap: .75rem; flex-wrap: wrap; }
.learn-tile { display: flex; flex-direction: column; min-width: 8rem; padding: .5rem .75rem; border: 1px solid #dee2e6; border-radius: 6px; }
.learn-tile-label { font-size: .8rem; color: #000; }
.learn-tile-count { font-size: 1.4rem; font-weight: 700; color: #1565c0; }
.learn-group { text-transform: uppercase; font-size: .8rem; font-weight: 700; margin-top: .5rem; border-bottom: 1px solid #dee2e6; }
/* 3986: a pillar's heading inside a state group, under the group's line and above its cards. */
.learn-pillar { font-size: .95rem; font-weight: 600; color: #000; margin-top: .25rem; }
.learn-card { display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem; border: 1px solid #dee2e6; border-radius: 6px; }
.learn-card-latest { background: #e8f1fb; border-color: #90b8e6; }
.learn-card-main { flex: 1; min-width: 0; }
.learn-card-title { border: 0; background: none; padding: 0; font-weight: 700; font-size: .95rem; cursor: pointer; text-align: left; }
.learn-card-title:hover { text-decoration: underline; }
.learn-card-line { font-size: .82rem; }
.learn-pill { font-size: .75rem; padding: 1px 8px; border-radius: 10px; background: #e3edf9; color: #1565c0; }
.learn-pill-complete { background: #e3f4e6; color: #1b7a2e; }
.learn-pill-new { background: #fff3cd; color: #7a5b00; }
.learn-session { display: flex; align-items: center; gap: .6rem; width: 100%; border: 0; border-bottom: 1px solid #f1f3f5; background: none; padding: .45rem 0; text-align: left; cursor: pointer; }
.learn-session-title { flex: 1; }
/* 3987 (W5): a control's ?, small at its right, drawn only for a key the release holds; it opens the lesson page reading. */
.shell-help-mark { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; margin-left: 3px; padding: 0; border: 1px solid #1565c0; border-radius: 50%; background: #fff; color: #1565c0; font-size: 10px; font-weight: 700; line-height: 1; cursor: pointer; vertical-align: middle; }
/* 3987 (W6): the help index's search box over the page titles. */
.learn-help-search { max-width: 24rem; }
.learn-chevron { width: 1rem; text-align: center; }
.learn-mark { display: inline-flex; align-items: center; justify-content: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #ced4da; color: #fff; font-size: .75rem; }
.learn-mark-done { background: #1b7a2e; }
.learn-pages { display: flex; flex-direction: column; gap: .25rem; padding: .25rem 0 .5rem 1.7rem; }
.learn-page-row { display: flex; align-items: center; gap: .6rem; font-size: .85rem; }
/* The page view in the storyboard's look (3909, LearningSystem.md section 4.3; the Learning view only, 4.3b rule 1): the slate rail,
   the pale page, the words with the picture beside them at 16:9, the gold-edged reveal, green Previous and Next. Text is black ink
   (#232834) and the rail's light ink (#e6e9ee), never the deck's greys (Henry, 22-OCT-2026). Sized for the tab's page area, about
   1350px wide, not the deck's 1920 (Henry, 22-OCT-2026): the words take the left 55%, the picture the right 45%.
   3919: the open page takes over the shell's left panel, one panel in the shell's own slate (4.3b rule 1): the shell's panel steps
   aside, the rail stands in its place at full height, and the page fills the content area to its foot so Next keeps its place. */
/* 3976, Spec_LearningAndHelpSystem_v4 rule 8: the look keys on its container's width, never the viewport's. Live, the container is
   the shell, as wide as the window, so the break falls where it did; a studio pane declares its own at its fixed width. */
.shell:has(.learn-look) { container: learn / inline-size; }
.shell:has(.learn-look) > .shell-nav { display: none; }
.shell:has(.learn-look) > .shell-main { margin-left: var(--sidebar-width); }
.pw-page.learn-page-open { max-width: none; margin: 0; padding: 0; gap: 0; min-height: 100%; }
.learn-look { display: flex; flex: 1; min-height: 100%; background: #f4f5f7; font-family: "Segoe UI", sans-serif; }
.learn-rail { position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-width); box-sizing: border-box; overflow-y: auto; z-index: 2; background: var(--shell-slate); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
/* George, 8-NOV-2026: the back label, the name and the count are one header pinned to the rail's top, the page list scrolling under it. */
.learn-rail-head { position: sticky; top: -16px; z-index: 1; margin: -16px -16px 0; padding: 16px 16px 10px; background: var(--shell-slate); display: flex; flex-direction: column; gap: 10px; }
.learn-rail .learn-back { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; font-size: 13px; color: #e6e9ee; }
.learn-rail .learn-back:hover { color: #fff; text-decoration: underline; }
/* George, 9-NOV-2026: the × at the top right, the rail's Back a second time; slate so it reads on the dark band and the light page alike. */
.learn-close { position: fixed; top: 10px; right: 14px; z-index: 3; width: 30px; height: 30px; border: 1px solid #fff; border-radius: 50%; background: var(--shell-slate); color: #fff; font-size: 20px; line-height: 1; padding: 0; cursor: pointer; }
.learn-close:hover { background: #fff; color: var(--shell-slate); }
.learn-look .learn-sheet > .learn-band-head { padding-right: 60px; }
.learn-rail-line { display: flex; flex-direction: column; gap: 10px; }
.learn-rail-title { font-size: 20px; color: #f4f5f7; font-weight: 600; line-height: 1.2; }
.learn-rail-meta { font-size: 14px; color: #e6e9ee; }
/* George, 12-NOV-2026: the module title carries the Gantt's expander in the title's own ink (rule 26); folded, the discipline's name heads
   the module list, each module a rail line with the right arrow. */
.learn-rail-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.learn-rail-expand { border: 0; background: none; padding: 0; cursor: pointer; font-size: 14px; color: #f4f5f7; flex: none; }
.learn-rail-discipline { font-size: 20px; color: #f4f5f7; font-weight: 600; line-height: 1.2; }
.learn-rail-module { display: flex; gap: 6px; align-items: baseline; }
.learn-rail .learn-menu { display: none; }
.learn-rail .learn-menu { border: 1px solid #e6e9ee; border-radius: 6px; background: none; padding: 4px 10px; cursor: pointer; font-size: 14px; color: #e6e9ee; white-space: nowrap; }
.learn-rail-pages { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; }
.learn-rail-page { border: 0; border-left: 4px solid transparent; background: none; text-align: left; cursor: pointer; font-size: 14px; color: #e6e9ee; padding: 6px 12px; }
.learn-rail-page.learn-rail-current { color: #f4f5f7; background: var(--shell-slate-dark); border-left-color: #d4a33b; }
/* 3987 (rule 12): reading from help, the section's test pages sit in the list as disabled controls and do not open. 4084 (Henry, on
   Allen's shots): on the slate rail the app's disabled block read as a pale bar, so they take rule 26's one named exception, the rail's
   dim ink on the slate with no background, no opacity; keyed on the shut class too, so a page merely busy loading keeps its look. */
.learn-rail-page.learn-rail-shut:disabled { background: none; color: #9aa5b4; cursor: not-allowed; }
.learn-sheet { flex: 1; min-width: 0; padding: 32px 40px; display: flex; flex-direction: column; gap: 16px; color: #232834; font-size: 16px; line-height: 1.5; }
/* 4159 (George's slide master): the brand bands at the sheet's head and foot, edge to edge on the shell's dark slate, the logo on its
   white card as the panel's head draws it; they stay put while the page scrolls between them. */
.learn-band { position: sticky; z-index: 1; display: flex; align-items: center; gap: 12px; margin: 0 -40px; padding: 0 40px; background: var(--shell-slate-dark); color: #e6e9ee; white-space: nowrap; }
.learn-band-head { top: 0; margin-top: -32px; height: 48px; }
.learn-band-card { display: inline-flex; align-items: center; background: #fff; border-radius: 6px; padding: 3px 8px; }
.learn-band-card img { height: 28px; }
.learn-band-name { font-size: 18px; font-weight: 600; color: #fff; }
.learn-band-foot { bottom: 0; margin-bottom: -32px; height: 36px; display: grid; grid-template-columns: 1fr auto 1fr; font-size: 13px; }
.learn-band-copy { text-align: right; }
/* 4277: Report problem just right of the count; its one-line box and Send sit in the band, the words in the sheet's ink. */
.learn-band-count { display: inline-flex; align-items: center; gap: 12px; }
.learn-report { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 4px; color: #fff; cursor: pointer; font-size: inherit; text-decoration: underline; }
.learn-report-box { width: 18rem; max-width: 100%; min-width: 0; height: 24px; padding: 2px 8px; font-size: 13px; color: #232834; }
.learn-report-send { border: 1px solid #fff; border-radius: 4px; background: none; color: #fff; padding: 1px 8px; cursor: pointer; font-size: inherit; }
.learn-report-failed { color: #fff; font-weight: 600; white-space: normal; }
/* 4186: the bookmark mark at the head band's right end, hollow until set; its label edits in place and its box sits in the band. */
.learn-band-mark { margin-left: auto; min-width: 0; display: flex; justify-content: flex-end; }
.learn-bookmark { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: #fff; }
.learn-bookmark-ribbon { width: 14px; height: 18px; flex: none; }
.learn-bookmark-hollow, .learn-bookmark-label, .learn-bookmark-remove { border: 0; background: none; padding: 2px 4px; color: inherit; cursor: pointer; font-size: 14px; }
.learn-bookmark-label { min-width: 0; max-width: 24rem; overflow: hidden; text-overflow: ellipsis; }
.learn-bookmark-label:hover { text-decoration: underline; }
.learn-bookmark-remove { font-size: 16px; line-height: 1; }
.learn-bookmark-box { width: 22rem; max-width: 100%; min-width: 0; height: 28px; padding: 2px 8px; font-size: 14px; color: #232834; }
/* 4186: the dashboard's Bookmarks group, one line per bookmark, the label over its module and session in small type, and Go. */
.learn-bookmark-line { display: flex; align-items: center; gap: .75rem; padding: .4rem .75rem; border: 1px solid #dee2e6; border-radius: 6px; }
.learn-bookmark-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.learn-bookmark-where { font-size: .8rem; color: #000; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 4159 (Henry): My results wears the same bands, edge to edge against the page's own padding, the page as tall as the content area. */
.pw-page.learn-page-results { max-width: none; min-height: 100%; margin-top: 0; box-sizing: border-box; }
.learn-page-results > .learn-band { margin: 0 -1.5rem 0 -2rem; padding: 0 1.5rem 0 2rem; }
.learn-page-results > .learn-band-foot { margin-bottom: -1rem; }
.learn-h { font-size: 32px; font-weight: 600; line-height: 1.15; color: #232834; margin: 0; }
/* A text block's pipe table (4302): the block's full width, its cells wrapping, never a horizontal scroll. */
.learn-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 8px 0; font-size: 15px; }
.learn-table th, .learn-table td { border: 1px solid #d9dee5; padding: 6px 10px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.learn-table th { background: #e9edf2; font-weight: 600; }
.learn-table ul { margin: 0; padding-left: 18px; }
/* The phase-gate standard (Spec_PhaseGate_v4.md rules 1 and 2): ten columns need the pane, not the list pages' 56rem, and in a narrow window the grid scrolls in its own box, Delete still reachable. */
.pw-page.phase-gate-page { max-width: none; padding: 0 0 1rem; }
.phase-gate-page .shell-overview-head { flex-wrap: wrap; }
.phase-gate-page .shell-overview-head h2, .phase-gate-page .shell-overview-head .shell-muted, .phase-gate-page .shell-btn { white-space: nowrap; }
/* George, 16-NOV-2026 (Dev Board 13): the standard as a board. The gates across the top in black, the functions down the left in their lane colors,
   each requirement a card of its lane's color showing two lines of its name; a cell shows four cards and then scrolls down. The board scrolls in its own box. */
.phase-gate-board { overflow: auto; }
.phase-gate-lanes { border-collapse: separate; border-spacing: 6px; }
.phase-gate-gate { background: #000; color: #fff; text-align: center; font-weight: 600; padding: 4px 10px; min-width: 11rem; line-height: 1.25; }
.phase-gate-lane { vertical-align: top; padding: 0; min-width: 9rem; font-size: .85rem; }
.phase-gate-lane-name { display: flex; align-items: center; justify-content: center; min-height: calc(2.5em + 10px); box-sizing: border-box; padding: 4px 10px; border: 1px solid #000; color: #fff; font-weight: 600; line-height: 1.25; text-align: center; }
.phase-gate-cell { vertical-align: top; padding: 0; font-size: .85rem; }
.phase-gate-cell-cards { display: flex; flex-direction: column; gap: 4px; max-height: calc(4 * (2.5em + 10px) + 12px); overflow-y: auto; }
.phase-gate-card { flex: none; height: calc(2.5em + 10px); padding: 4px 8px; border: 1px solid #000; color: #fff; font-size: inherit; line-height: 1.25; text-align: center; cursor: pointer; }
.phase-gate-card-name { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.phase-gate-card-retired { background-image: linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)) !important; border-style: dashed; color: #000; }
.si-modal-back.phase-gate-back { display: block; padding: 0; background: rgba(0,0,0,.15); }
.si-modal.phase-gate-window { position: fixed; width: 80vw; height: 80vh; max-width: none; max-height: none; overflow: hidden; }
.phase-gate-window-title { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid #dee2e6; cursor: move; user-select: none; }
.phase-gate-window-title h2 { font-size: 1.1rem; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phase-gate-window-title .shell-btn { cursor: pointer; }
.phase-gate-window-body { flex: 1; overflow: auto; padding: 8px 12px; }
td.function-order { white-space: nowrap; }
.phase-gate-window-foot { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid #dee2e6; }
.phase-gate-who { overflow-wrap: anywhere; min-width: 6em; }
.phase-gate-when { min-width: 7.5em; }
.phase-gate-page label.shell-btn:has(input:disabled) { background: #e9ecef; color: #495057; cursor: not-allowed; }
/* Its open row: the description, then the detail rows, sized in em because a width of 100% shrinks to nothing in an auto table. */
.phase-gate-details > td { padding: 6px 8px 12px 24px; background: #f7f7f7; }
.phase-gate-field { display: block; margin-bottom: 6px; }
.phase-gate-field textarea { display: block; width: 100%; max-width: 62em; box-sizing: border-box; }
.phase-gate-detail-name { width: 14em; }
.phase-gate-detail-text { width: 20em; }
/* George, 7-NOV-2026: a requirement's and each detail row's files and URLs, the deliverable's own box under the text it belongs to. */
.phase-gate-files { max-width: 62em; margin: 2px 0 10px; }
/* George, 7-NOV-2026: Open Project's sortable headings, the word a link in the heading's own weight, the sorted column's mark beside it. */
a.shell-sort { color: inherit; font-weight: inherit; }
.shell-sort-mark { font-size: 0.8em; }
td.phase-gate-files { padding: 0 8px 10px 16px; }
/* George via Henry, 20-NOV-2026: in the requirement's window each detail row and its files and URLs are one group in a thin black outline,
   a gap above each, drawn as the actions window's expanded action is (inset shadows, since the table's borders collapse). */
.phase-gate-details tr.phase-gate-detail > td { border-top: 8px solid transparent; border-bottom: none; box-shadow: inset 0 1px 0 #000; }
.phase-gate-details tr.phase-gate-detail > td:first-child { box-shadow: inset 1px 1px 0 #000; }
.phase-gate-details tr.phase-gate-detail > td:last-child { box-shadow: inset -1px 1px 0 #000; }
.phase-gate-details tr.phase-gate-detail-files > td { border-bottom: none; box-shadow: inset 1px -1px 0 #000, inset -1px 0 0 #000; }
/* A loaded picture (George, 6-NOV-2026): the smallest of the column's width, 1000px and its own, centered, in its own shape, never
   stretched; a tap opens it full size. George, 11-NOV-2026: 1000px, so a 2700px screenshot draws as a 1000px drawing does, in a course,
   the User's Manual and help alike, all three being this one rule. White behind it and a hairline around it, so a white-screen shot
   still reads against the pale page. */
.learn-pic-open { flex: none; align-self: center; max-width: min(100%, 1000px); min-width: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.learn-pic-open img { display: block; box-sizing: border-box; max-width: min(100%, 1000px); height: auto; background: #ffffff; border: 1px solid #d9dee5; }
/* The picture full size over the shell, scrolling both ways: margin auto centers one that fits and leaves one that does not reachable on every side. */
.si-modal-back.learn-full { flex-direction: column; align-items: stretch; padding-top: 0; background: rgba(0,0,0,.85); }
.learn-full-close { flex: none; align-self: flex-end; margin: 8px 16px; min-height: 44px; padding: 0 20px; }
.learn-full-scroll { flex: 1; min-width: 0; min-height: 0; display: flex; overflow: auto; overscroll-behavior: contain; outline: none; }
.learn-full-scroll img { flex: none; margin: auto; max-width: none; background: #ffffff; }
/* A picture whose file is not there: the storyboard's placeholder, the content width at 16:9, a dashed box with the alt as its caption. */
.learn-pic { flex: none; width: 100%; min-width: 0; aspect-ratio: 16 / 9; box-sizing: border-box; min-height: 0; height: auto; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.learn-pic-missing { background: #e3e7ec; border: 3px dashed #9aa5b4; border-radius: 8px; padding: 12px; }
/* The caption is cut at the box's edge, never grows it: the box holds 16:9 and the caption sits centered in it (3919). */
.learn-pic-caption { font-size: 14px; color: #232834; text-align: center; line-height: 1.4; max-height: 100%; overflow: hidden; }
.learn-reveal, .learn-question { background: #fbfbfc; border: 1px solid #d9dee5; padding: 16px 24px; display: flex; flex-direction: column; gap: 8px; }
.learn-reveal { border-left: 8px solid #d4a33b; }
/* George's agreement with Ruth, 11-NOV-2026 ("love royal blue!"): the :::takeaway block, full width on a light RoyalBlue tint with George's
   RoyalBlue bar down its left edge; the small bold heading in the lightest RoyalBlue shade that reads 4.5:1 on the tint (#3D63D5, 4.505:1
   by the WCAG 2 formula, DesignDocs/Shots/takeaway-contrast.png), the words in the sheet's near-black. */
.learn-key { background: #E6ECFC; border-left: 4px solid #4169E1; padding: 16px 24px; display: flex; flex-direction: column; gap: 6px; color: #232834; }
.learn-key-head { font-size: 13px; font-weight: 700; color: #3D63D5; }
.learn-key p { margin: 0; }
.learn-reveal-eyebrow, .learn-question-count { font-size: 13px; color: #232834; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.learn-reveal-q { font-size: 17px; font-weight: 600; }
.learn-show { align-self: flex-start; border: 0; background: none; padding: 0; font-size: 16px; font-weight: 600; color: #3f8f5f; cursor: pointer; }
.learn-choice { display: block; }
/* Check reads like Next (3919): green, sized to its words, at the left; faded until a choice is picked. */
/* Rule 14: a Knowledge check's feedback under its Check, and a How-to exercise's one tick above the foot. */
.learn-feedback { font-size: 15px; color: #000; }
.learn-exercise { display: flex; gap: 8px; align-items: center; font-size: 15px; color: #000; margin: 8px 0; }
.learn-question .learn-check { align-self: flex-start; border: 0; border-radius: 8px; background: #3f8f5f; padding: 10px 28px; font-size: 16px; font-weight: 600; color: #f4f5f7; cursor: pointer; }
.learn-question .learn-check:disabled { opacity: .5; cursor: default; }
/* 4045 (W11): the submit screen's answer list, each question a link back to its page, Not answered in red, a comment box under each. */
.learn-submit-where { font-size: 14px; color: #232834; }
.learn-submit-line { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-bottom: 1px solid #d9dee5; }
.learn-submit-question { align-self: flex-start; border: 0; background: none; padding: 0; text-align: left; font-size: 16px; font-weight: 600; color: #1565c0; cursor: pointer; }
.learn-submit-answer { color: #232834; white-space: pre-wrap; }
.learn-submit-blank { color: #dc3545; font-weight: 600; }
.learn-submit-comment { font: inherit; font-size: 14px; color: #232834; resize: vertical; }
.learn-submit-email { display: flex; align-items: center; gap: 8px; color: #232834; }
.learn-submit-receipt { font-size: 18px; font-weight: 600; color: #232834; }
/* 4045 (W7, W12): My results under the tiles; a check line opens its comments under it. */
.learn-results-link { align-self: flex-start; border: 0; background: none; padding: 4px 0; font-size: 14px; font-weight: 600; color: #1565c0; cursor: pointer; }
.learn-result-line { display: block; width: 100%; border: 0; background: none; padding: 4px 0 4px 1.7rem; text-align: left; font-size: .85rem; color: #232834; cursor: pointer; }
.learn-result-comments { padding: 2px 0 6px 2.7rem; font-size: .85rem; color: #232834; display: flex; flex-direction: column; gap: 2px; }
/* 4064 (W14): the filters, the segment bar, the tabs, the sortable heads and the check pills of the Managers Dashboard. */
.mgr-filters, .mgr-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mgr-person { width: auto; min-width: 14rem; }
.mgr-pill { border: 1px solid #1565c0; border-radius: 12px; background: #fff; padding: 2px 10px; font-size: .85rem; color: #1565c0; cursor: pointer; }
.mgr-pill-on { background: #1565c0; color: #fff; }
.mgr-bar { display: flex; height: 22px; border-radius: 4px; overflow: hidden; }
.mgr-seg { border: 0; padding: 0 4px; font-size: .75rem; font-weight: 700; color: #fff; cursor: pointer; min-width: 1.5rem; }
.mgr-seg-on { outline: 2px solid #232834; outline-offset: -2px; }
.mgr-seg-passed { background: #1b7a2e; }
.mgr-seg-failed { background: #b02a37; }
.mgr-seg-overdue { background: #b35c00; }
.mgr-seg-inprogress { background: #1565c0; }
.mgr-seg-notstarted { background: #495057; }
.mgr-seg-retired { background: #6c757d; }
.mgr-head { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: #000; cursor: pointer; }
.mgr-head-on { text-decoration: underline; }
.mgr-check { display: inline-block; margin: 1px 4px 1px 0; padding: 0 6px; border-radius: 10px; font-size: .75rem; font-weight: 600; color: #fff; }
.mgr-check-pass { background: #1b7a2e; }
.mgr-check-fail { background: #b02a37; }
.mgr-assign-open { margin-left: auto; }
.mgr-assign { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mgr-assign .si-select, .mgr-assign .si-input { width: auto; }
/* 4038 (W10): a free-text question's answer box, in the choices' place, black words on white. */
.learn-answer-box { font: inherit; font-size: 16px; color: #232834; resize: vertical; min-height: 6rem; }
.learn-fill { flex: 1; }
.learn-foot { display: flex; gap: 20px; align-items: center; }
/* George, 11-NOV-2026: a page's Previous and Next, or what stands in Next's place, in a sticky footer just over the foot band, in view
   while the page scrolls, as the app's forms keep Save and Cancel; edge to edge in the page's own pale, a hairline above. */
.learn-foot.learn-foot-stuck { position: sticky; bottom: 36px; z-index: 1; margin: 0 -40px; padding: 8px 40px; background: #f4f5f7; border-top: 1px solid #d9dee5; }
.learn-prev { border: 0; background: none; padding: 10px 0; font-size: 16px; font-weight: 600; color: #3f8f5f; cursor: pointer; }
.learn-next { border: 0; border-radius: 8px; background: #3f8f5f; padding: 10px 28px; font-size: 16px; font-weight: 600; color: #f4f5f7; cursor: pointer; }
.learn-count { font-size: 14px; color: #232834; }
/* A narrow Teams panel and the phone (4.3b rule 6; 3919): the panel is a one-line header above the page, the session, the page and
   a Pages menu that drops the page list down; the picture under its words, full width. Under 1100px of the container (rule 8). */
@container learn (max-width: 1100px) {
  .shell:has(.learn-look) > .shell-main { margin-left: 0; }
  .learn-look { flex-direction: column; }
  /* George, 8-NOV-2026: the header line sticks to the top while the page scrolls, the back label over the name, count and menu; the
     dropped list scrolls in its own box under it. The sheet's head band scrolls away under the header, the one thing pinned on top. */
  .learn-rail { position: sticky; top: 0; width: auto; overflow: visible; padding: 8px 16px; gap: 0; }
  .learn-rail-head { position: static; margin: 0; padding: 0; gap: 4px; }
  .learn-rail .learn-back { font-size: 12px; }
  .learn-rail-meta { font-size: 13px; white-space: nowrap; }
  .learn-rail-pages.learn-menu-open { max-height: 60vh; overflow-y: auto; }
  .learn-band-head { position: static; }
  .learn-rail-line { flex-direction: row; align-items: center; gap: 12px; }
  .learn-rail-title { flex: 1; min-width: 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .learn-rail-name { flex: 1; }
  .learn-rail-discipline { font-size: 16px; }
  .learn-rail .learn-menu { display: block; }
  .learn-rail-pages:not(.learn-menu-open) { display: none; }
  .learn-sheet { padding: 24px 16px; }
  /* 4159: the same two bands, thinner; the foot's three items still on one line at 390. */
  .learn-band { margin: 0 -16px; padding: 0 12px; gap: 6px; }
  .learn-band-head { margin-top: -24px; height: 36px; }
  /* The ×, smaller, on the back label's line at the header's right, clear of the Pages menu; the band needs no room kept for it. */
  .learn-close { top: 4px; right: 12px; width: 22px; height: 22px; font-size: 15px; }
  .learn-look .learn-sheet > .learn-band-head { padding-right: 12px; }
  .learn-band-card img { height: 20px; }
  .learn-band-name { font-size: 15px; }
  .learn-band-foot { margin-bottom: -24px; height: 28px; font-size: 10px; }
  .learn-foot.learn-foot-stuck { bottom: 28px; margin: 0 -16px; padding: 6px 16px; }
  /* 4186: the same mark in the thinner band; the box takes the band's room on one line. */
  .learn-band-mark { flex: 1; }
  .learn-bookmark-editing { flex: 1; }
  .learn-bookmark-ribbon { width: 11px; height: 14px; }
  .learn-bookmark-hollow, .learn-bookmark-label { font-size: 12px; }
  .learn-bookmark-label { max-width: 10rem; }
  .learn-bookmark-box { width: 100%; height: 24px; font-size: 13px; }
  .learn-band-count { gap: 6px; }
  .learn-report-box { width: 9rem; height: 20px; font-size: 11px; }
}
.pw-tr { cursor: pointer; }
.pw-tr:hover td { background: #f8f9fa; }
.pw-sel td { background: #eef4ff; }
.pw-person { color: #000; font-size: .95em; }
.pw-me { font-weight: 700; font-size: 1.15em; }
.pw-none { color: #000; }
.pw-blocked-no { color: #000; }
.pw-blocked-yes { color: #dc3545; font-weight: 700; cursor: help; }
.pw-expand-row td { background: #f8f9fa; }
.pw-expand-head { font-weight: 700; font-size: .8rem; color: #000; }
.pw-due { margin: 2px 0; }
.pw-late { color: #dc3545; font-weight: 600; }
.pw-expand-btns { display: flex; gap: 6px; margin-top: 4px; }
.pw-reject { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
/* 4447 (George, 31-OCT-2026; Spec_MyTasks_v4 rule 19): under 600px, the shell's phone width, the same table through the Blocked column,
   the VPM, Gantt and Kanban columns and the lane owner's address not drawn, with Viewing, the project checkboxes and Due within
   wrapped above it. After the rules it overrides, so the width decides; wide, nothing changes. */
@media (max-width: 600px) {
  .pw-desk-only { display: none; }
  .pw-page { padding: 0 16px 1rem; }
  .pw-page > .pw-row { flex-wrap: wrap; }
  .pw-page > :has(> .shell-corner) { width: calc(100cqw - 32px); }
  .shell-page .pw-page > :has(> .shell-corner) { width: calc(100cqw - 3.5rem - 16px); }
  .shell-page .pw-page.phase-gate-page > :has(> .shell-corner) { width: calc(100cqw - 3.5rem); }
}

/* The right pull-out. */
.shell-dock { position: fixed; top: var(--top-row-height); right: 0; bottom: 0; width: fit-content; max-width: min(460px, 95vw); background: #fff; border-left: 1px solid #ccc; box-shadow: -2px 0 6px rgba(0,0,0,.08); display: flex; flex-direction: column; z-index: 1066; }
.shell-dock-tabs { display: flex; align-items: center; gap: 2px; padding: 0 6px; border-bottom: 1px solid #ddd; background: #f7f7f7; }
.shell-dock-body { flex: 1; overflow: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.shell-task-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* The Action dialog (George, 9-OCT-2026): the dock as wide as its dates row, held on one line to Days Left, and no wider; Name, Description,
   URL and Files fill that width, a long link or file name wrapping in it. Its pills sit closer. Its deliverable's line takes no width of its
   own (width 0, min-width 100%), so a long name is clipped with an ellipsis at the dates row's width, never widening the dock.
   Its top line holds on one line too (2986, George): Undo and Redo never wrap, the dock widening only as far as that line needs. */
.shell-dock.shell-dock-action { width: min-content; }
.shell-dock-action .shell-edit-dates { flex-wrap: nowrap; }
/* 4407: the counts under the dates, Total workdays, Workdays Left and Calen. Days Left, held on their one line too. */
.shell-dock-action .shell-edit-counts { flex-wrap: nowrap; }
.shell-dock-action .shell-task-head { gap: 4px; flex-wrap: nowrap; }
.shell-dock-action .shell-edit-table { table-layout: fixed; }
.shell-dock-action .shell-edit-table td { overflow-wrap: anywhere; }
.shell-action-of { width: 0; min-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The label column fits its widest label, Predecessors, so that line is the measure; the gap there was 7em less the word plus 8px, about 13px at 13px type, and is now half. */
.shell-task-fields { display: grid; grid-template-columns: max-content 1fr; gap: 2px 6px; margin: 6px 0; }
.shell-task-fields dt { color: #000; }
.shell-task-fields dd { margin: 0; }
.shell-task-section { font-weight: bold; margin-top: 8px; border-bottom: 1px solid #eee; }
.shell-task-line { padding: 2px 0; }
/* The Edit Deliverable dialog: labelled fields in wrapping rows, the tab strip, the two hand-off columns, the actions table. */
.shell-edit { display: flex; flex-direction: column; gap: 6px; margin: 6px 0; }
.shell-edit label { display: inline-flex; flex-direction: column; gap: 1px; color: #000; }
.shell-edit label > input[type=checkbox] { align-self: flex-start; }
.shell-edit label:has(> input[type=checkbox]) { flex-direction: row; align-items: center; gap: 4px; color: inherit; }
.shell-edit input, .shell-edit select, .shell-edit textarea { font: inherit; font-size: 12px; padding: 1px 4px; border: 1px solid #ced4da; border-radius: 3px; box-sizing: border-box; color: #212529; }
.shell-edit textarea { resize: vertical; }
.shell-edit .shell-muted { font-size: 11px; }
/* Every field is its caption line over its control, a word counter on the caption line (George, 7-OCT-2026), so a row's captions share
   one baseline and its controls the next; a checkbox and a bare value sit on the controls' line. */
.shell-edit-row { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: flex-start; }
.shell-edit-row > label:has(> input[type=checkbox]), .shell-edit-row > span { align-self: flex-end; }
.shell-edit-caption { display: inline-flex; gap: 6px; align-items: baseline; }
.shell-edit-wide { flex: 1 1 100%; }
.shell-edit-block { width: 100%; }
.shell-edit-block textarea, .shell-edit-wide textarea { width: 100%; }
.shell-edit-field { display: inline-flex; flex-direction: column; gap: 1px; color: #000; }
.shell-edit-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
/* The Attachments tab (2123): the URL box takes the row's width, the drop area a dashed box holding Choose Files, lit while a drag is over it. */
.shell-edit-url { flex: 1; min-width: 0; }
.shell-drop { display: flex; flex-direction: column; gap: 4px; border: 2px dashed #b8c2cc; border-radius: 6px; padding: 8px; margin: 4px 0; }
.shell-drop:focus { outline: 2px solid #4a90d9; }
.shell-drop.shell-drop-over { border-color: #4a90d9; background: #eef5fc; }
.shell-chip { display: inline-flex; align-items: center; gap: 2px; color: #212529; background: #eef2f7; border-radius: 10px; padding: 0 6px; font-size: 12px; align-self: flex-start; }
.shell-edit-value { color: #212529; padding: 2px 0; }
/* Three digits show (George, 8-OCT-2026): Chromium ignores appearance on the spinner, which ate the 3ch box, so it is removed outright; Total workdays, the
   label just before Workdays Left, takes the same width. */
.shell-edit input.shell-days-left { width: calc(4ch + 10px); appearance: textfield; -moz-appearance: textfield; }
.shell-edit input.shell-days-left::-webkit-inner-spin-button, .shell-edit input.shell-days-left::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.shell-edit label:has(+ label > input.shell-days-left) > .shell-edit-value { display: inline-block; min-width: calc(4ch + 10px); font-size: 12px; }
.shell-edit input.shell-edit-hours { width: 7ch; }
/* A fin tracker's commit boxes, Rev, Exp, Capex and Hours, twice the other number boxes so a real figure reads whole (George, 31-OCT-2026; 4404). */
.shell-edit input.shell-edit-commit { width: 14ch; }
/* The L2 lane select narrowed so Swim Lane, Budget Hrs, Est Hrs and Act Hrs keep one line at the dock's 460px (George, 11-OCT-2026). */
.shell-edit select.shell-edit-lane { width: 18ch; }
/* The task panel's lower tabs drawn as tabs (George, 10-NOV-2026): each a shaded box with rounded top corners, the open one white with a
   blue top edge, joined to the panel under it; the text stays black. A disabled tab keeps the dock's dashed look below. */
.shell-edit-tabs { display: flex; gap: 3px; border-bottom: 1px solid #a9a9a9; margin-top: 10px; padding: 0 2px; }
.shell-edit-tabs .shell-tab { padding: 5px 12px; margin-bottom: -1px; color: #000; background: #e9ecef; border: 1px solid #c4c4c4; border-bottom-color: #a9a9a9; border-radius: 5px 5px 0 0; }
.shell-edit-tabs .shell-tab:hover { background: #f5f6f7; }
.shell-edit-tabs .shell-tab.shell-active { background: #fff; border-color: #a9a9a9; border-top: 3px solid #1565c0; border-bottom-color: #fff; padding-top: 3px; }
.shell-edit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shell-edit-columns select { width: 100%; font-size: 12px; margin-top: 4px; }
.shell-edit-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.shell-edit-table th { text-align: left; color: #000; font-weight: normal; border-bottom: 1px solid #eee; }
.shell-edit-table td { padding: 2px 4px 2px 0; border-bottom: 1px solid #f3f3f3; }
/* The Actions tab (George, 9-OCT-2026): each other column fits its content, and Name takes every width they leave, clipped with an
   ellipsis; its max-width 0 lets the cell shrink below its text, so a long name never pushes the table past the dock. */
.shell-actions-fit { width: 1%; white-space: nowrap; }
.shell-actions-name { max-width: 0; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* George, 7-NOV-2026: Responsible's name is capped and clipped, its tooltip whole, so Name takes the width a full email held. */
.shell-actions-person { display: inline-block; max-width: 8em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.shell-remove { color: #c0392b; }
/* George, 8-NOV-2026: 5px between an attachment's name and its delete ✕. */
.shell-task-line .shell-remove { margin-left: 5px; }
.shell-dock-footer { display: flex; gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px solid #eee; position: sticky; bottom: 0; background: #fff; }
/* The task panel (2297, George 7-OCT-2026): every text black, the state badge black on its pale fill. A disabled control anywhere in the dock
   is one dark grey, unfaded so it is seen as present, told from a live one by its dashed border and its cursor (the thread pill among them). */
.shell-dock-body, .shell-dock-body .shell-muted, .shell-dock-body .shell-edit label, .shell-dock-body .shell-edit-field, .shell-dock-body .shell-edit-table th,
.shell-dock-body .shell-btn, .shell-dock-body .shell-link, .shell-dock-body .shell-remove { color: #212529; }
.shell-dock-body .shell-badge { color: #212529; background: #eef1f5; }
/* A dirty panel's Save (George, 8-OCT-2026): bright blue while a change is unsaved, its own look once saved; one style for every dock dialog. */
.shell-btn.shell-btn-dirty, .shell-dock-body .shell-btn.shell-btn-dirty { background: #0a84ff; border-color: #0a84ff; color: #fff; }
/* George, 8-NOV-2026: on hover the pill takes the light hover fill, so its words take the pill's blue in place of white, which vanished. The fill
   is named here (11-NOV-2026): in the dock the pill's own fill ties .shell-btn:hover and comes later, so it kept its blue and the words vanished on it. */
.shell-btn.shell-btn-dirty:hover:not(:disabled), .shell-dock-body .shell-btn.shell-btn-dirty:hover:not(:disabled) { background: #f0f0f0; color: #0a84ff; }
.shell-dock :disabled, .shell-dock .shell-disabled { opacity: 1; color: #495057; border-color: #495057; border-style: dashed; cursor: not-allowed; }
/* A write in flight (2476): the control that started it waits disabled with the busy cursor until the write returns;
   a throttle's retry is waited inside it and never shown (George's ruling). */
.shell-busy, .shell-dock .shell-busy:disabled { cursor: progress; }
/* A list page whose controls wait on its _busy write shows the busy cursor over the whole page until it returns. */
.shell-busy-page, .shell-busy-page * { cursor: progress !important; }
/* The one drawn spinner (3032, Henry's (a)): a small ring turning beside Creating… and Deleting…, since the cursor redraws only when the mouse moves. */
.shell-spinner { display: inline-block; width: 9px; height: 9px; margin-left: 6px; vertical-align: -1px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: shell-spin 0.8s linear infinite; }
@keyframes shell-spin { to { transform: rotate(360deg); } }
/* 4201, the cloud's messaging in the tab's boxes: the Messages panel in the dock, its composer and @-menu, the feed's cards. */
.msg-panel { padding: 8px; display: flex; flex-direction: column; gap: 6px; color: #000; }
.msg-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.msg-grow { flex: 1 1 auto; min-width: 0; }
.post-composer { position: relative; display: flex; flex-direction: column; gap: 4px; }
.msg-compose { width: 100%; box-sizing: border-box; resize: vertical; }
.mention-menu { position: absolute; top: 4.5em; left: 0; z-index: 30; background: #fff; border: 1px solid #ccc; box-shadow: 0 2px 6px rgba(0,0,0,0.15); display: flex; flex-direction: column; min-width: 220px; }
.mention-item { text-align: left; border: 0; background: #fff; color: #000; padding: 3px 8px; cursor: pointer; }
.mention-item.mention-active, .mention-item:hover { background: #e7f1ff; }
.msg-card { border: 1px solid #dee2e6; border-radius: 4px; padding: 6px 8px; display: flex; flex-direction: column; gap: 3px; }
.msg-card.msg-focus { border-color: #0d6efd; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-del-x { border: 0; background: none; color: #000; cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px; }
.msg-del-confirm { display: inline-flex; gap: 4px; align-items: center; }
.msg-pill { display: inline-block; min-width: 16px; padding: 0 5px; margin-left: 4px; border-radius: 8px; background: #c0392b; color: #fff; font-size: 10px; text-align: center; }
/* The My Messages flyout off the left panel: columns Project, Task, Message, hover drills in. */
.mymsg-backdrop { position: fixed; inset: 0; z-index: 40; }
.mymsg-panel { position: fixed; top: 0; bottom: 0; left: var(--sidebar-width); z-index: 41; width: min(960px, calc(100vw - var(--sidebar-width))); background: #fff; color: #000; border-right: 1px solid #ccc; box-shadow: 2px 0 8px rgba(0,0,0,0.2); display: flex; flex-direction: column; padding: 8px; gap: 6px; }
.mymsg-header { display: flex; align-items: center; gap: 6px; }
.mymsg-cols { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 6px; }
.mymsg-col { overflow-y: auto; border: 1px solid #eee; display: flex; flex-direction: column; }
.mymsg-col-head { font-weight: bold; padding: 4px 6px; border-bottom: 1px solid #eee; }
.mymsg-item { display: flex; align-items: center; gap: 6px; text-align: left; border: 0; background: #fff; color: #000; padding: 4px 6px; cursor: pointer; }
.mymsg-item:hover, .mymsg-item.mymsg-sel { background: #e7f1ff; }
.mymsg-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mymsg-badge { background: #c0392b; color: #fff; border-radius: 8px; padding: 0 5px; font-size: 10px; }
.mymsg-dot { width: 7px; height: 7px; border-radius: 50%; background: #c0392b; flex: 0 0 auto; }
