/* ==========================================================================
   Baler design tokens (issue #98)
   --------------------------------------------------------------------------
   The single source of truth for colors, radii, shadows and spacing. Every
   component .razor.css consumes these via var(--...) and must NEVER redeclare
   them locally (see .claude/skills/razor-page-design-system/SKILL.md). This
   file is linked from App.razor before Baler.styles.css (the scoped-CSS
   bundle), so every scoped rule can read them.

   Brand accent #115fb1 is a user decision (2026-09-30, issue #98); it
   replaced the earlier #1b6ec2 and the legacy navy #0e2a47.

   Breakpoints (CSS custom properties can't be used inside @media, so these
   are documented here and written literally in each media query):
     1400px  - list/detail "compact view" switch (table -> cards, 2 cols -> 1)
     1150px / 780px / 480px - filter-toolbar wrapping tiers
     1100px  - planning board label column narrows (issue 194)
     1024px  - Absence weekly timetable -> agenda cards
     640.98px / 641px - MainLayout/NavMenu mobile nav switch
     349px   - foldable cover screens (~280-344px wide)
   ========================================================================== */
:root {
    /* Brand / accent */
    --accent: #115fb1;
    --accent-rgb: 17, 95, 177;
    --accent-strong: #0d4d90; /* hover / pressed shade, dark text on --accent-soft */
    --accent-soft: #e8f0f9;
    --accent-ring: rgba(17, 95, 177, 0.16);
    --on-color: #ffffff; /* text/icons on a saturated fill (accent, pin colors, dark tooltip) */
    --white: #ffffff; /* literal white for SVG strokes/highlights that aren't a surface */

    /* Ink (text) scale */
    --ink: #16202b;
    --ink-soft: #55636f;
    --ink-faint: #656e76; /* issue #101: was #8996a1 (3.0:1); now >= 4.5:1 on every neutral surface down to --line-soft */

    /* Line (border) scale */
    --line-strong: #c7d2da;
    --line: #e4e8ec;
    --line-soft: #eef1f3; /* also the neutral badge/chip background */

    /* Surfaces */
    --surface: #ffffff;
    --surface-muted: #fafbfc; /* table headers, interactive .value-box */
    --surface-hover: #f8fafc; /* table row hover */
    --canvas: #f4f6f8;
    --tooltip-bg: #1f2933;
    --modal-backdrop: rgba(0, 0, 0, 0.5); /* the dim layer behind a JS-less Bootstrap .modal (issue #101) */
    --modal-backdrop-strong: rgba(0, 0, 0, 0.6); /* photo/file lightboxes */

    /* Semantic tones (soft background / border line / ink) */
    --info-soft: #e9f6fa;
    --info-ink: #196c85;
    --success-soft: #e8f6ee;
    --success-line: #bfe6cd;
    --success-ink: #18703f; /* 5.1:1 on the Absence "today" cell (#cbf2f9), was #1c7a45 at 4.49:1 (issue #112 A6) */
    --warning-soft: #fef3e6;
    --warning-line: #f3dcb0;
    --warning-ink: #93590c;
    --danger-soft: #fbeaea;
    --danger-line: #f3c9cb;
    --danger-ink: #a3262b;

    /* Complaint / Service Plan state badges */
    --status-new-bg: var(--accent-soft);
    --status-new-ink: var(--accent-strong);
    --status-progress-bg: var(--warning-soft);
    --status-progress-ink: var(--warning-ink);
    --status-done-bg: var(--success-soft);
    --status-done-ink: var(--success-ink);
    --status-confirm-bg: var(--info-soft);
    --status-confirm-ink: var(--info-ink);
    --status-rejected-bg: var(--danger-soft);
    --status-rejected-ink: var(--danger-ink);
    --status-neutral-bg: var(--line-soft); /* planning board (issue 194): New, Pending, To supplement */
    --status-neutral-ink: var(--ink-soft); /* 5.44:1 on --status-neutral-bg */
    /* Planning board tones (issues 194 and 252): the one place that says which colours a plan status gets. The bar, its
       legend swatch, the ghost built for a chip, the phone day-list card and the event popup all read these, so a
       status is the same colour on every one of them. Per tone: -bg fill, -border outline, -stripe the 4 px left
       stripe (>= 3:1 on the -bg, WCAG 1.4.11), -ink text on the -bg. Committed, Active and Completed have their
       own tone; New, Pending and To supplement share the neutral one (told apart by the status glyph). Committed is
       the teal "confirm" family of the Committed badge (user decision 2026-11-04, issue 252, option 3): same fill and
       text as --status-confirm-*, so a bar and the badge next to it in the popup match. */
    --plan-tone-committed-bg: var(--status-confirm-bg);
    --plan-tone-committed-border: var(--pin-teal);
    --plan-tone-committed-stripe: var(--pin-teal-ink); /* 4.96:1 on --plan-tone-committed-bg, 5.47:1 on white; text 5.40:1 */
    --plan-tone-committed-ink: var(--status-confirm-ink);
    --plan-tone-active-bg: var(--status-progress-bg);
    --plan-tone-active-border: var(--warning-line);
    --plan-tone-active-stripe: var(--pin-orange-ink); /* 4.73:1 on --plan-tone-active-bg */
    --plan-tone-active-ink: var(--status-progress-ink);
    --plan-tone-completed-bg: var(--status-done-bg);
    --plan-tone-completed-border: var(--success-line);
    --plan-tone-completed-stripe: var(--pin-green-ink); /* 4.50:1 on --plan-tone-completed-bg */
    --plan-tone-completed-ink: var(--status-done-ink);
    --plan-tone-neutral-bg: var(--status-neutral-bg);
    --plan-tone-neutral-border: var(--line-strong);
    --plan-tone-neutral-stripe: var(--pin-slate); /* 4.19:1 on --plan-tone-neutral-bg */
    --plan-tone-neutral-ink: var(--status-neutral-ink);

    /* Priority badges (low -> critical) */
    --priority-low-bg: var(--success-soft);
    --priority-low-ink: var(--success-ink);
    --priority-medium-bg: var(--accent-soft);
    --priority-medium-ink: var(--accent-strong);
    --priority-high-bg: var(--warning-soft);
    --priority-high-ink: var(--warning-ink);
    --priority-critical-bg: var(--danger-soft);
    --priority-critical-ink: var(--danger-ink);

    /* Time log kind badges (issue #138): Work is the neutral chip (--line-soft / --ink-soft), Travel is violet. */
    --kind-travel-bg: #f1ecfd;
    --kind-travel-ink: var(--pin-violet-ink);
    --kind-travel-line: var(--pin-violet-ink); /* dashed travel border on the planning board (issue 194), 7.10:1 on white */
    --board-now: var(--pin-red-ink); /* planning board now line and now pill (issue 194): white text 6.47:1 */

    /* Map dashboard: status pin palette, shared by map pins, pincushion
       mini-pins, legend swatches and KPI filter badges so they stay identical */
    --pin-red: #ef4444;
    --pin-orange: #f97316;
    --pin-yellow: #eab308;
    --pin-green: #22c55e;
    --pin-slate: #64748b;
    --pin-teal: #14b8a6;
    --pin-sky: #0ea5e9;
    --pin-violet: #8b5cf6;
    /* Text-safe shades of the pin palette (issue #101): the pin fills above are non-text marks and stay as they
       are, but as text on white (KPI filter chips) or under white text (an active chip) they fall to 1.9-4.2:1.
       These darker shades of the same hues meet WCAG AA (>= 4.9:1 both ways). */
    --pin-red-ink: #b91c1c;
    --pin-orange-ink: #c2410c;
    --pin-yellow-ink: #a16207;
    --pin-green-ink: #15803d;
    --pin-slate-ink: #475569;
    --pin-teal-ink: #0f766e;
    --pin-sky-ink: #0369a1;
    --pin-violet-ink: #6d28d9;
    --pin-installation: var(--accent);
    --pin-installation-ink: var(--accent-strong); /* outline of the installation pin head (issue #112 A6) */
    --pin-needle: #1e293b;
    --pin-needle-tip: #94a3b8;

    /* Map dashboard: canvas, outlines and place layers */
    --map-bg: #eef2f5;
    --map-border: #dee2e6;
    --map-context-fill: #e8edf1;
    --map-context-stroke: #d3dade;
    --map-country-fill: #dde5ea;
    --map-country-stroke: #c3ccd1;
    --map-city: #94a3b8;
    /* Capitals are reference context; a slate tone keeps them apart from the accent-coloured installation pin. */
    --map-capital: #334155;
    --map-city-label: #475569;
    --map-town: #b7c3cd;
    --map-town-label: #64748b;
    --map-village: #cdd5db;
    --map-village-label: #7c8a97;
    --pincushion-body: #c83d3a;
    --pincushion-stroke: #7a1f1d;
    --pincushion-seam: #8f2622;

    /* Layout chrome (MainLayout / NavMenu / ReconnectModal) */
    --sidebar-bg: #f8f9fa;
    --sidebar-border: #e0e0e0;
    --nav-ink: #444444;
    --nav-ink-strong: #000000;
    --nav-ink-muted: #656e76; /* issue #101: Bootstrap grey #6c757d was 4.44:1 on --sidebar-bg */
    --nav-active-bg: var(--accent-soft);
    --nav-active-ink: var(--accent);
    --reconnect-button: #6b9ed2;
    --reconnect-button-hover: #3b6ea2;
    --reconnect-spinner: #0087ff;

    /* Radius */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-2xl: 16px; /* the planning board's bottom sheets (issue 267, Figma frame 32-1756) */
    --radius-pill: 999px;

    /* Shadow */
    --shadow-sm: 0 4px 14px rgba(15, 23, 32, 0.06);
    --shadow-md: 0 10px 28px rgba(15, 23, 32, 0.28);
    --shadow-lg: 0 24px 60px rgba(15, 23, 32, 0.28);

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;

    /* Bootstrap 5.3 overrides so .btn-primary, links and *-primary utilities
       follow the brand accent */
    --bs-primary: #115fb1;
    --bs-primary-rgb: 17, 95, 177;
    --bs-primary-text-emphasis: #072647;
    --bs-primary-bg-subtle: #cfdfef;
    --bs-primary-border-subtle: #a0bfe0;
    --bs-link-color: #115fb1;
    --bs-link-color-rgb: 17, 95, 177;
    --bs-link-hover-color: #0d4d90;
    --bs-link-hover-color-rgb: 13, 77, 144;
    --bs-focus-ring-color: rgba(17, 95, 177, 0.25);

    /* Bootstrap's secondary grey (#6c757d) is 4.44:1 on its own light surfaces (.bg-light, #f8f9fa); darken it
       just enough for WCAG AA wherever .text-secondary / .btn-outline-secondary sit on them (issue #101). */
    --bs-secondary: #656e76;
    --bs-secondary-rgb: 101, 110, 118;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* A bottom sheet (issue 197: the planning board's event popup and Move to... on the phone's day list) locks the page behind it:
   a swipe on the dim layer or at the end of the sheet's own scrolling must not move the list the sheet hangs from. :has() lifts
   the lock when the sheet is gone, and the selectors name the sheet presentations only, so the desktop popover and the
   centred Move to... modal never lock anything on a desktop. The gutter stays, so a classic scrollbar leaving doesn't shift
   the page. The body gets the lock too (issue 197 D fix 2): overflow hidden on the root element alone doesn't stop a touch
   swipe in every engine (older iOS Safari, an older Chromium), and overscroll-behavior: none keeps a swipe that reaches the
   end of the sheet's own scrolling from chaining to the page or pulling it to refresh. A programmatic smooth scroll that is
   already running (scroll-behavior: smooth from Bootstrap) still finishes; that is the browser's, and nothing here starts one. */
html:has(.plan-popup[data-presentation="bottom-sheet"]),
html:has(.plan-move-modal.is-sheet) {
    overflow: hidden;
    overscroll-behavior: none;
    scrollbar-gutter: stable;
}

body:has(.plan-popup[data-presentation="bottom-sheet"]),
body:has(.plan-move-modal.is-sheet) {
    overflow: hidden;
    overscroll-behavior: none;
}

/* The centred Move to... modal (opened from a bar's or a chip's popover) is the same on a desktop, where the board is its own
   scroller and the document doesn't move; but on the list tier the document is the scroller (641 to 767 px with a mouse, a
   phone), so the modal locks it there too (issue 197 D fix 2, N8). The media query is the list tier's literal. */
@media (max-width: 767.98px), (max-height: 480px) and (pointer: coarse) {
    html:has(.plan-move-modal) {
        overflow: hidden;
        overscroll-behavior: none;
        scrollbar-gutter: stable;
    }

    body:has(.plan-move-modal) {
        overflow: hidden;
        overscroll-behavior: none;
    }
}

/* The line window of the service plan detail page (issue 284, PlanLineWindow) is a modal at every width: a bottom sheet from 640 px
   down, a centred dialog above. The plan page always scrolls the document (unlike the planning board, which is its own scroller),
   so the window locks the page behind it at every width, like the sheets above; a mouse wheel over the dim layer must not move the
   page (fix round 1, P11). The gutter stays, so a classic scrollbar leaving doesn't shift the page sideways. It exists in the DOM
   only while it is open, so :has() lifts the lock when it closes. The window also opens over the planning board's popover
   (issue 286): there the board is its own scroller. A tall window has no document scrollbar, so a stable gutter would appear and
   push the board 15 px sideways; a short one (768x700) scrolls the document a little, and hiding that scrollbar would widen the
   board by 15 px instead. So over the popover there is no lock at all: the scrollbar never changes, and the wheel can at most
   scroll the document that little bit behind the window. The board's bottom sheet keeps the gutter of its own lock above. */
html:has(.line-window) {
    overflow: hidden;
    overscroll-behavior: none;
    scrollbar-gutter: stable;
}

body:has(.line-window) {
    overflow: hidden;
    overscroll-behavior: none;
}

html:has(.plan-popup[data-presentation="popover"]):has(.line-window),
body:has(.plan-popup[data-presentation="popover"]):has(.line-window) {
    overflow: visible;
}

/* The full-screen list "Earlier conversations" of the Basker page (issue 462, BaskerEarlierConversations, Figma 203:6682 state B)
   covers the whole screen, so the page behind it must not scroll under a wheel or a swipe (review P1, the same lock the Basker side
   window takes on a phone). It is in the DOM only while it is open, so :has() lifts the lock when it closes; the scroll position of
   the page is kept. */
html:has(.basker-earlier-overlay) {
    overflow: hidden;
    overscroll-behavior: none;
    scrollbar-gutter: stable;
}

body:has(.basker-earlier-overlay) {
    overflow: hidden;
    overscroll-behavior: none;
}

html:has(.plan-popup[data-presentation="popover"]):has(.line-window) {
    scrollbar-gutter: auto;
}

/* The price estimate window of the service plan detail page (issue 289, PlanPriceEstimateDialog) is a modal at every width: a centred
   window above 640 px, a full-screen sheet below. Like the line window above, it locks the page behind it (the plan page scrolls the
   document), and :has() lifts the lock when it closes. Its own rules, so the line window's rules stay one selector each.
   No stable scrollbar gutter here (fix round 2, D-1): a fixed box isn't painted over the gutter, so the dim layer left a 15 px light
   strip at the right edge with classic scrollbars, and a full-screen sheet wider than the visible viewport was cut off. Without the
   gutter the dim layer covers the whole window; the page behind shifts by the scrollbar's width under the dim layer instead. */
html:has(.estimate-window) {
    overflow: hidden;
    overscroll-behavior: none;
}

body:has(.estimate-window) {
    overflow: hidden;
    overscroll-behavior: none;
}

/* The report dialog (issue 237, FeedbackDialog and the JS-only fallback) is a modal at every width and locks the page behind it: a
   mouse wheel over the dim layer must not scroll the page (the dialog's own body is the one scroller). The live dialog exists in
   the DOM only while it is open, the fallback is a native <dialog> that is removed on close, so :has() lifts the lock when either
   goes. No stable scrollbar gutter, for the reason given for the estimate window above: a fixed dim layer isn't painted over the gutter. */
html:has(.fb-dialog),
html:has(dialog.fb-native[open]) {
    overflow: hidden;
    overscroll-behavior: none;
}

body:has(.fb-dialog),
body:has(dialog.fb-native[open]) {
    overflow: hidden;
    overscroll-behavior: none;
}

a, .btn-link {
    color: var(--accent);
}

.btn-primary {
    --bs-btn-color: var(--on-color);
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: var(--on-color);
    --bs-btn-hover-bg: var(--accent-strong);
    --bs-btn-hover-border-color: var(--accent-strong);
    --bs-btn-focus-shadow-rgb: var(--accent-rgb);
    --bs-btn-active-color: var(--on-color);
    --bs-btn-active-bg: var(--accent-strong);
    --bs-btn-active-border-color: var(--accent-strong);
    --bs-btn-disabled-color: var(--on-color);
    --bs-btn-disabled-bg: var(--accent);
    --bs-btn-disabled-border-color: var(--accent);
}

.btn-outline-primary {
    --bs-btn-color: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: var(--on-color);
    --bs-btn-hover-bg: var(--accent);
    --bs-btn-hover-border-color: var(--accent);
    --bs-btn-focus-shadow-rgb: var(--accent-rgb);
    --bs-btn-active-color: var(--on-color);
    --bs-btn-active-bg: var(--accent);
    --bs-btn-active-border-color: var(--accent);
    --bs-btn-disabled-color: var(--accent);
    --bs-btn-disabled-border-color: var(--accent);
}

.btn-outline-secondary {
    --bs-btn-color: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-border-color: var(--bs-secondary);
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: var(--bs-secondary);
    --bs-btn-disabled-color: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem var(--surface), 0 0 0 0.25rem var(--accent);
}

/* Forced colours (Windows high contrast) remove box-shadow, which is how Bootstrap and the rule above draw the keyboard
   focus ring, so those controls would show no focus at all. An outline in the system highlight colour survives. */
@media (forced-colors: active) {
    .btn:focus-visible, .btn-close:focus-visible, .form-control:focus-visible, .form-select:focus-visible, .form-check-input:focus-visible {
        outline: 2px solid Highlight;
        outline-offset: 2px;
    }
}

/* Bootstrap 5.3 compiles these to its own blue (#86b7fe / #0d6efd) instead of reading --bs-primary. */
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
}

.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--accent);
}

/* Bootstrap Icons glyph atoms (Components/Shared/Atoms/Icons/Icon{Name}, GlyphIconBase; issue 103, ADR-003).
   They replaced the Bootstrap Icons web font and keep its metrics: 1em square, so font-size (fs-*) sizes
   them; sat on the baseline the way the font glyph's ::before was; filled with currentColor, so color
   (text-*, or the inherited color) colours them. Size or colour one from a component's scoped CSS with
   ::deep, since the svg is rendered by the atom, not by the host component. */
.glyph-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -.125em;
  fill: currentColor;
  overflow: visible;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Planning board drag (issue 375): moved verbatim from PlanningBoard.razor.js, which used to inject it as a <style>
   element; the Content-Security-Policy allows no injected <style>. The module sets html[data-plan-drag] while a drag
   runs: the whole document shows the grabbing cursor and nothing gets text-selected; outside the board, no-drop. */
html[data-plan-drag], html[data-plan-drag] * { cursor: grabbing !important; user-select: none !important; -webkit-user-select: none !important; }
html[data-plan-drag="outside"], html[data-plan-drag="outside"] * { cursor: no-drop !important; }
