/* Portal-wide spacing tokens — change these to tune the whole portal */
:root {
    --topbar-height: 52px;
    --page-gutter: 16px;
}

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

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* FPL-001/REQ-028 (item 64, the rollout): this rule offset the old FIXED MainLayout AppBar (52px) that no
   longer exists anywhere in the app -- MainLayout itself was retired at REQ-004 phase 2a, and the one
   remaining element carrying the bare `.content` class, LegacyMudLayout's own `article.content`, now gets
   its equivalent breathing room from shell-frame.css's own `.legacy-scope > .page > main > .content` rule
   (keyed on the island's structure, not this global class). Deleted, not kept dead: a repo-wide check
   (`grep -rn 'class="[^"]*\bcontent\b[^"]*"'`) found no other element carrying the bare class this rule
   could still be doing real work for. --topbar-height stays: .gnav-rail and Documents.razor still read it. */

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;
}

.overdue-task {
    background-color: #ffebee !important; /* light red for overdue tasks */
}

/* Kanban columns: make each status list scrollable to prevent super tall columns */
.kanban-grid .drop-zone {
    max-height: 65vh; /* limit height to viewport portion */
    overflow-y: auto; /* enable vertical scroll when tasks overflow */
    padding-right: 4px; /* space for scrollbar without hiding content */
}

/* Optional: nicer scrolling behavior */
.kanban-grid .drop-zone::-webkit-scrollbar {
    width: 8px;
}

.kanban-grid .drop-zone::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* Global: slightly reduce base font size for better content density */
/*html {*/
/*    font-size: 94%; !* ~15px if browser default is 16px *!*/
/*}*/

/* Portal-wide: keep content readable but a bit tighter */
/*body {*/
/*    line-height: 1.4;*/
/*}*/

/* Kanban board compact layout improvements */
/*.kanban-grid {*/
/*    !* provides a slightly tighter typographic scale inside kanban area *!*/
/*    font-size: 0.97rem;*/
/*}*/

/* Reduce horizontal gutters between kanban columns */
.kanban-grid .mud-grid {
    margin-left: -6px;
    margin-right: -6px;
}

.kanban-grid .mud-grid-item {
    padding-left: 6px;
    padding-right: 6px;
}

/* Column container and card padding tuned for density */
.kanban-grid .mud-paper {
    padding: 6px; /* compact column/card padding */
}

/* Make the status title a bit more compact */
/*.kanban-grid .mud-typography.mud-typography-subtitle2 {*/
/*    margin-bottom: 4px;*/
/*    line-height: 1.2;*/
/*}*/

/* Task Details compact spacing moved to component stylesheet TaskDetails.razor.css */

/* Task list area: control vertical spacing and scrolling */
.kanban-grid .drop-zone {
    max-height: 70vh; /* slightly taller than before to show more */
    overflow-y: auto;
    padding-right: 2px; /* leave room for scrollbar */
}

.kanban-grid .drop-zone .mud-paper {
    margin-bottom: 4px; /* tighter gap between cards */
}

/* Capitalize display for names, titles, companies, locations across ATS */
.ats-cap { text-transform: capitalize; }

/* Top bar visual refresh */
/*.op-topbar {*/
/*    background-color: #e3f2fd !important; !* light blue *!*/
/*    border-bottom: 1px solid #bbdefb;*/
/*}*/
.op-topbar .mud-toolbar {
    min-height: 52px;
}

.op-topbar .mud-typography {
    color: white !important;
}

.op-topbar .mud-icon-root {
    color: white !important;
}

.op-topbar .mud-icon-button {
    color: white !important;
}

.op-topbar .mud-typography.mud-typography-h6 {
    font-weight: 600;
    letter-spacing: .2px;
}

/* Project switcher sizing and spacing */
.project-switch {
    min-width: 220px;
}

@media (max-width: 768px) {
    .project-switch {
        min-width: 160px;
    }
}

/* Make outlined inputs a bit squarer in the top bar */
.op-topbar .mud-input-outlined .mud-input-outlined-border {
    border-radius: 8px;
}

/* Top bar menu link styling */
.op-topbar-link {
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    color: inherit !important;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.op-topbar-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.op-topbar-link .mud-icon-root {
    margin-right: 8px;
}

/* Topbar responsiveness: icon-only nav on tablet/narrow-laptop widths so the
   module links (Me/Projects/Finance/Documents/HR/ATS/CRM/Settings) stop
   overflowing past the viewport edge. Labels come back on wide screens;
   `title` on each link keeps them discoverable on hover. */
@media (max-width: 1280px) {
    .op-topbar-link .mud-typography {
        display: none;
    }

    .op-topbar-link .mud-icon-root {
        margin-right: 0;
    }

    .project-switch {
        min-width: 140px;
    }
}

/* Below tablet width: icon-only mode above already keeps everything on one
   row down to ~820px in practice. As a safety net for anything narrower,
   scroll the bar horizontally instead of wrapping — flex-wrap breaks the
   Inbox badge and avatar, which are positioned relative to the toolbar. */
@media (max-width: 900px) {
    .op-topbar .mud-toolbar {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}

/* Project switcher search field */
.op-project-search .mud-input-root {
    font-size: 0.8125rem;
}
.op-project-search .mud-input-adornment {
    color: var(--mud-palette-text-secondary);
}

/* Ensure kanban columns behave as flexible containers */
.kanban-grid .kanban-column {
    display: flex;
    flex-direction: column;
}

.kanban-grid .kanban-column .drop-zone {
    flex: 1 1 auto;
    min-height: 0; /* required for proper flexbox scrolling */
}

/* Task card: compact padding */
.kanban-grid .kanban-card {
    padding: 8px !important;
}

/* Chips inside task cards: smaller and tighter */
.kanban-grid .mud-chip {
    height: 22px;
    padding: 0 8px;
    margin: 2px 6px 0 0;
}

/* Compact inputs around filters on this page (safe minimal effect) */
.mud-input-control,
.mud-input {
    margin-top: 2px;
    margin-bottom: 2px;
}


/* Global compact padding scale for the whole portal */
.pa-1 {
    padding: 3px !important;
}

.pa-2 {
    padding: 6px !important;
}

.pa-3 {
    padding: 9px !important;
}

.pa-4 {
    padding: 12px !important;
}

.pa-5 {
    padding: 15px !important;
}

.pa-6 {
    padding: 18px !important;
}

/* Common Mud surfaces: slightly reduced default paddings */
.mud-paper-root {
    padding: 10px;
}

.mud-card-content {
    padding: 10px;
}

.mud-dialog-content {
    padding: 12px;
}


.mud-drawer-content {
    padding: 10px;
}


/* Task Details Drawer: 2nd pane section styling */
.section-title {
    color: rgba(0, 0, 0, 0.7);
}

.task-details-aside-scroll {
    max-height: 70vh; /* allow the right pane to scroll independently */
    overflow-y: auto;
    padding-right: 6px; /* space for scrollbar so content isn't clipped */
    min-height: 0; /* required for proper flexbox/grid scrolling behavior */
}

/* Slightly taller on large screens */
@media (min-height: 900px) {
    .task-details-aside-scroll {
        max-height: 100vh;
    }
}

/* On small screens keep it shorter to avoid covering too much */
@media (max-width: 960px) {
    .task-details-aside-scroll {
        max-height: 100vh;
    }
}

.opc-dual-scroll {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.opc-top-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    /* Optional: make it look like a real scrollbar area */
    height: 12px;
}

.opc-top-scroll::-webkit-scrollbar {
    height: 8px;
}

.opc-top-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.opc-top-scroll::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* TinyMCE Content Styles for Read Mode */
.tinymce-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
}

.tinymce-content h1, .tinymce-content h2, .tinymce-content h3, .tinymce-content h4, .tinymce-content h5, .tinymce-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.tinymce-content p {
    margin-bottom: 1rem;
}

.tinymce-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1rem;
}

.tinymce-content table td, .tinymce-content table th {
    border: 1px solid #dee2e6;
    padding: .75rem;
    vertical-align: top;
}

.tinymce-content table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.tinymce-content code {
    background-color: #f8f9fa;
    padding: .2rem .4rem;
    border-radius: .25rem;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 87.5%;
}

.tinymce-content pre {
    display: block;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 87.5%;
    color: #212529;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    overflow-x: auto;
}

.tinymce-content pre code {
    padding: 0;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
    border-radius: 0;
}

/* Prism-like colors for codesample */
.tinymce-content .language-php, 
.tinymce-content .language-javascript, 
.tinymce-content .language-csharp, 
.tinymce-content .language-java, 
.tinymce-content .language-python, 
.tinymce-content .language-html, 
.tinymce-content .language-css {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.tinymce-content img {
    max-width: 100%;
    height: auto;
}

.tinymce-content blockquote {
    padding: .5rem 1rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    border-left: .25rem solid #dee2e6;
    color: #6c757d;
}

.tinymce-content ul, .tinymce-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

/* Specific styling for TinyMCE language classes to ensure they stand out even without a full syntax highlighter */
.tinymce-content .language-php::before,
.tinymce-content .language-javascript::before,
.tinymce-content .language-csharp::before,
.tinymce-content .language-java::before,
.tinymce-content .language-python::before,
.tinymce-content .language-html::before,
.tinymce-content .language-css::before {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.tinymce-content .language-php::before { content: "PHP"; }
.tinymce-content .language-javascript::before { content: "JavaScript"; }
.tinymce-content .language-csharp::before { content: "C#"; }
.tinymce-content .language-java::before { content: "Java"; }
.tinymce-content .language-python::before { content: "Python"; }
.tinymce-content .language-html::before { content: "HTML"; }
.tinymce-content .language-css::before { content: "CSS"; }

/* Document Sidebar Styles */
.document-node {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    margin: 1px 0;
    transition: background-color 0.1s, color 0.1s;
    position: relative;
    user-select: none;
}

.document-item:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.document-item.active {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.12);
    color: var(--mud-palette-primary);
    font-weight: 500;
}

.document-item-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}

.document-item:hover .document-item-actions {
    opacity: 1;
    pointer-events: auto;
}

.document-expand-icon {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 4px;
    color: rgba(0, 0, 0, 0.54);
}

.document-expand-icon.expanded {
    transform: rotate(90deg);
}

/* Document drag handle */
.drag-handle {
    cursor: grab;
    color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    padding: 0 2px;
    opacity: 0;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.document-item:hover .drag-handle {
    opacity: 1;
}

/* Source item fades while dragging */
.document-item.is-dragging {
    opacity: 0.35;
}

/* Drop position: line above item */
.document-item.drop-indicator-before::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 4px;
    right: 4px;
    height: 2px;
    background-color: var(--mud-palette-primary);
    border-radius: 1px;
    pointer-events: none;
    z-index: 2;
}

/* Drop position: line below item */
.document-item.drop-indicator-after::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 4px;
    right: 4px;
    height: 2px;
    background-color: var(--mud-palette-primary);
    border-radius: 1px;
    pointer-events: none;
    z-index: 2;
}

/* Drop position: nest as child */
.document-item.drop-indicator-child {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.1) !important;
    outline: 1px dashed rgba(var(--mud-palette-primary-rgb), 0.5);
    outline-offset: -1px;
}

.opacity-70 {
    opacity: 0.7;
}

/* Tinymce Prose overrides for better layout */
.tinymce-content {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem;
    overflow-wrap: break-word;
}

/* ===== Group detail shell + collapsible icon rail (arc kra-ux-2906) ===== */
.group-shell { display: flex; align-items: flex-start; }
.group-shell-content { flex: 1; min-width: 0; padding: 0 20px 56px 16px; }

.gnav-rail {
    position: sticky;
    top: calc(var(--topbar-height, 52px) + 8px);
    align-self: flex-start;
    flex: none;
    width: 64px;
    max-height: calc(100vh - var(--topbar-height, 52px) - 16px);
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--mud-palette-surface, #fff);
    border-right: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    border-radius: 0 10px 10px 0;
    transition: width .18s ease;
    z-index: 5;
}
.gnav-rail.expanded { width: 220px; box-shadow: 4px 0 18px rgba(0,0,0,.05); }

.gnav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 44px; border: 0; background: transparent; cursor: pointer;
    color: var(--mud-palette-text-secondary, #666);
}
.gnav-toggle:hover { color: var(--mud-palette-text-primary, #222); }

.gnav-head {
    display: flex; align-items: center; gap: 10px;
    padding: 2px 12px 10px;
    border-bottom: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    margin-bottom: 6px; min-height: 46px;
}
.gnav-avatar {
    width: 34px; height: 34px; border-radius: 9px; flex: none;
    background: var(--mud-palette-primary, #594ae2); color: #fff;
    display: grid; place-items: center; font-weight: 700; font-size: 13px;
}
.gnav-gt { white-space: nowrap; overflow: hidden; line-height: 1.2; }
.gnav-gt b { font-size: 13px; display: block; }
.gnav-gt span { font-size: 10.5px; color: var(--mud-palette-text-secondary, #888); }

.gnav-rail.collapsed .gnav-gt { display: none; }
.gnav-rail.collapsed .gnav-head { justify-content: center; padding-left: 0; padding-right: 0; }

.gnav-rail .mud-nav-link { border-radius: 8px; margin: 1px 8px; }
.gnav-rail.collapsed .mud-nav-link { margin: 1px 12px; justify-content: center; padding-left: 0; padding-right: 0; }
.gnav-rail.collapsed .mud-nav-link-text { display: none; }
.gnav-rail .gnav-div { margin: 7px 12px; }
.gnav-rail.collapsed .gnav-div { margin: 7px 14px; }

@media (max-width: 780px) {
    .group-shell { flex-direction: column; }
    .gnav-rail {
        position: static; width: 100%; max-height: none;
        border-right: 0; border-radius: 0;
        border-bottom: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    }
    .group-shell-content { padding: 12px; }
}

/* Full-height host (e.g. the Kanban board): the rail fills its flex container instead of
   sticking to the viewport, so the board keeps its own scroll. */
.kanban-rail-host { height: 100%; flex: none; }
.kanban-rail-host .gnav-rail { position: static; top: auto; max-height: 100%; height: 100%; border-radius: 0; }

/* ===== Performance summary hero (arc kra-ux-2906) ===== */
.perf-hero { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.perf-hero-who { display: flex; align-items: center; gap: 14px; min-width: 200px; }
.perf-hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }
.perf-stat { min-width: 140px; }
.perf-stat-lbl { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--mud-palette-text-secondary); }
.perf-stat-big { display: block; margin-top: 4px; font-size: 26px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.perf-stat-big small { font-size: 13px; font-weight: 600; color: var(--mud-palette-text-secondary); }
.perf-stat-sub { display: block; margin-top: 4px; font-size: 11.5px; color: var(--mud-palette-text-secondary); }
.perf-delta { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font-size: 12px; font-weight: 700; }
.perf-delta.up { color: var(--mud-palette-success); }
.perf-delta.down { color: var(--mud-palette-error); }
.perf-spark { display: block; margin-top: 4px; }
.perf-obs-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.perf-unack { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--mud-palette-warning); }
@media (max-width: 780px) { .perf-hero-stats { margin-left: 0; } }

/* min-width-200/min-width-300: referenced on MudSelect/MudAutocomplete fields (e.g. the tracker
   logs filter bar) but never defined anywhere -- under a flex row (flex: 1 1 auto, default
   min-width: auto), that let a field collapse to its content's minimum size (idea #1069). Fixes
   the field-collapse itself (verified via getComputedStyle/getBoundingClientRect: Log Types went
   from ~85px to the intended 200px). Does NOT fully fix the visible Log Types "Billable" / label
   overlap -- that turned out to be a separate, pre-existing MudSelect defect (see codeperts bug,
   linked from the design spec's finding #2): MudBlazor only recomputes a MultiSelection field's
   display Text (and the label-shrink state that depends on it) from its own SelectOption() click
   handler, never from an externally-set SelectedValues/@bind-SelectedValues assignment, so a
   field that starts with a *programmatically preselected* value renders its label in the
   unshrunk/resting position permanently, colliding with the value text regardless of field width.
   Global, not component-scoped CSS: MudBlazor renders this class several levels inside its own
   markup, past where Blazor's per-component CSS-isolation scope attribute reaches (confirmed
   empirically -- a scoped ::deep rule never matched the real element). */
.min-width-200 { min-width: 200px; }
.min-width-300 { min-width: 300px; }

/* Tracker logs table (idea #1069 follow-up): even with Dense="true", MudBlazor 7.7.0's own
   .mud-table-dense rule still applies 24px/16px left/right cell padding (40px per column,
   confirmed via getComputedStyle -- Dense mainly tightens vertical padding, not horizontal).
   With 14 columns that's ~560px of pure padding. No further MudTable prop covers this (checked
   claude-docs/SHARED-UI.md 9a's density table -- Dense is the only lever it lists, already on),
   so this is a scoped override, not a component-level style/class (MudTd/MudTable are a
   third-party component; #tracker-logs-table is this page's own existing wrapper id). */
#tracker-logs-table .mud-table-cell { padding: 6px 10px; }

/* Type/Attendance MudTh width (idea #1069 follow-up): fixed to a small width -- see the
   Type/Attendance MudTh Style in ProjectTrackerLogsView.razor -- width==min-width==max-width, the
   only combination that actually constrains a table-layout:auto column; max-width alone was
   proven to have zero effect on the computed column width even after a full page reload.
   InlineSelectEditor's Style prop already sets overflow:hidden/text-overflow:ellipsis on its own
   root element, but its actual text sits inside a nested .display-text -- text-overflow only takes
   effect on the box that is itself directly clipping the overflowing content, not a child one
   level in, so without this the text was silently hard-clipped (no "..." at all). Global CSS, not
   component-scoped: InlineSelectEditor's own .razor.css would need every consumer to opt in;
   #tracker-logs-table scopes this to just this table. (The Type/Attendance *chip* branches moved
   to TruncatedChip in idea #1305 -- see .truncated-chip-root below -- so this selector no longer
   needs a .mud-chip-content clause: no plain MudChip remains inside #tracker-logs-table, so that
   clause was dead code, not a shadowing concern -- if anything it was the higher-specificity
   selector, id-scoped at (1,2,0) vs the TruncatedChip rule's (0,3,0).) */
#tracker-logs-table .inline-text-editor .display-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

/* min-width-160/min-width-220: narrower siblings of the two above, added when the tracker logs
   filter bar's action buttons were consolidated into a single menu -- freed up enough row width
   that every filter field could shrink a bit further and still fit closer to one row at common
   desktop widths, per explicit user direction ("make small little bit all filters"). */
.min-width-160 { min-width: 160px; }
.min-width-220 { min-width: 220px; }

/* TruncatedChip (Frontend/Components/Shared/TruncatedChip.razor): global, not component-scoped.
   MudChip's own text sits inside a nested .mud-chip-content (display:inline-flex) -- overflow/
   text-overflow set on the outer chip element has no effect on that inner span, confirmed
   empirically in ProjectTrackerLogsView.razor's Type/Attendance columns before this component
   existed. A scoped .razor.css rule in this same component's folder would ALSO fail for the
   identical reason a parent's scoped CSS can't reach a child component's (MudSelect's,
   MudTable's) internal markup -- .mud-chip-content is rendered by MudChip, not by TruncatedChip,
   so Blazor's CSS-isolation scope attribute never lands on it either way.
   Selector is `.truncated-chip-root.mud-chip > .mud-chip-content`, not the simpler
   `.truncated-chip-root .mud-chip-content`: index.html loads app.css BEFORE MudBlazor.min.css, and
   MudBlazor's own shipped rule is `.mud-chip>.mud-chip-content{...;display:inline-flex;...}` at
   identical specificity (0,2,0) -- on a specificity tie the later stylesheet wins the cascade, so a
   same-specificity override here would silently lose to MudBlazor's display:inline-flex and the
   ellipsis would never render. The extra `.mud-chip` class (already present on the same rendered
   root -- MudChip's own root class plus this component's Class="truncated-chip-root") bumps this
   rule to (0,3,0), which wins regardless of stylesheet order. */
.truncated-chip-root.mud-chip > .mud-chip-content {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
/* Tracker logs table row striping (idea #1305): MudTable's Striped="true" reads the CSS custom
   property --mud-palette-table-striped, which defaults to a low-contrast app-wide theme color.
   Overriding it here, scoped to this page's existing #tracker-logs-table wrapper id, changes only
   this table's stripe color -- CSS custom properties inherit through Blazor component boundaries
   normally (this is a plain CSS variable, not a selector reaching into a child component's
   internal markup, so it isn't subject to the scoped-CSS-can't-reach-MudTable/MudSelect-internals
   limitation noted elsewhere in this file). No other table in the app is affected. */
#tracker-logs-table { --mud-palette-table-striped: #eef2fb; }
