/* Minimal extra styling (Bootstrap is loaded via CDN) */

html,
body {
    min-height: 100%;
}

body.app-body {
    margin: 0;
    background: #f5f7fb;
    color: #142033;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 12.6rem minmax(0, 1fr);
}

.app-shell--plain {
    grid-template-columns: minmax(0, 1fr);
}

.app-sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: var(--tenant-sidebar-bg);
    color: var(--tenant-sidebar-text);
    overflow: visible;
}

.app-sidebar__head {
    flex: 0 0 auto;
    padding: .85rem .65rem .45rem;
    overflow: visible;
    z-index: 2;
}

.app-sidebar__scroll {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    gap: 1rem;
    padding: .45rem .65rem .85rem;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.app-sidebar__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: calc(100% + 4.6rem);
    min-height: 7rem;
    margin: -.85rem -4.7rem .8rem -.65rem;
    padding: 1rem 2.2rem 1.2rem 1.55rem;
    border-bottom-right-radius: 1.25rem;
    background: var(--tenant-sidebar-bg);
    box-shadow: .45rem .45rem 1rem rgba(15, 23, 42, .14);
    color: inherit;
    text-decoration: none;
    z-index: 3;
}

.app-sidebar__brand img {
    display: block;
    max-width: 100%;
    object-fit: contain;
}

.app-sidebar__nav {
    display: grid;
    gap: .55rem;
    flex: 0 0 auto;
    min-height: 0;
    align-content: start;
    grid-auto-rows: max-content;
}

.app-sidebar__footer {
    display: grid;
    gap: .55rem;
    margin-top: auto;
    padding-top: .25rem;
    flex: 0 0 auto;
}

.app-shell--admin .app-sidebar {
    --tenant-sidebar-bg: #7f1d1d;
    --tenant-sidebar-text: #fff7ed;
    --tenant-sidebar-active-bg: #fecaca;
    --tenant-sidebar-active-text: #450a0a;
    background:
        linear-gradient(180deg, rgba(127, 29, 29, .98), rgba(69, 10, 10, .98));
}

.app-shell--admin .app-sidebar__brand {
    background: #450a0a;
    box-shadow: .45rem .45rem 1rem rgba(69, 10, 10, .28);
}

.app-shell--customer .app-sidebar {
    --tenant-sidebar-bg: #065f46;
    --tenant-sidebar-text: #ecfdf5;
    --tenant-sidebar-active-bg: #bbf7d0;
    --tenant-sidebar-active-text: #052e16;
    background:
        linear-gradient(180deg, rgba(6, 95, 70, .98), rgba(20, 83, 45, .98));
}

.app-shell--customer .app-sidebar__brand {
    background: #064e3b;
    box-shadow: .45rem .45rem 1rem rgba(6, 78, 59, .28);
}

.app-sidebar__mode {
    margin: -.35rem .1rem 0;
    padding: .45rem .5rem;
    border: 1px solid rgba(254, 202, 202, .45);
    border-radius: .45rem;
    background: rgba(254, 202, 202, .14);
    color: #fff7ed;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
}

.app-shell--admin .app-module-tile {
    border-color: rgba(254, 202, 202, .24);
}

.app-shell--customer .app-module-tile {
    border-color: rgba(187, 247, 208, .24);
}

.app-shell--admin .app-module-tile:hover,
.app-shell--admin .app-module-tile:focus {
    background: rgba(254, 202, 202, .14);
    border-color: rgba(254, 202, 202, .45);
}

.app-shell--customer .app-module-tile:hover,
.app-shell--customer .app-module-tile:focus {
    background: rgba(187, 247, 208, .14);
    border-color: rgba(187, 247, 208, .45);
}

.app-shell--admin .app-module-tile.is-active {
    background: #fecaca;
    color: #450a0a;
    border-color: #fee2e2;
}

.app-shell--customer .app-module-tile.is-active {
    background: #bbf7d0;
    color: #052e16;
    border-color: #dcfce7;
}

.app-module-tile {
    display: grid;
    justify-items: center;
    gap: .35rem;
    min-height: 5.2rem;
    padding: .7rem .35rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: .5rem;
    color: var(--tenant-sidebar-text);
    text-align: center;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.app-module-tile:hover,
.app-module-tile:focus {
    color: var(--tenant-sidebar-text);
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .22);
    transform: translateY(-1px);
}

.app-module-tile.is-active {
    color: var(--tenant-sidebar-active-text);
    background: var(--tenant-sidebar-active-bg);
    border-color: rgba(255, 255, 255, .28);
}

.app-module-tile__visual {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .45rem;
    background: var(--module-color);
    color: var(--module-text);
    box-shadow: 0 .35rem .75rem rgba(0, 0, 0, .14);
}

.app-module-tile__visual svg,
.app-module-tile__visual img {
    width: 1.45rem;
    height: 1.45rem;
}

.app-module-tile__visual img {
    object-fit: contain;
}

.app-module-tile__label {
    max-width: 100%;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.app-sidebar__collapse {
    padding: .6rem .25rem;
    color: var(--tenant-sidebar-text);
    font-size: .75rem;
    opacity: .85;
    text-decoration: none;
}

.app-sidebar__switch {
    display: grid;
    justify-items: center;
    gap: .35rem;
    min-height: 4.4rem;
    padding: .7rem .35rem;
    color: var(--tenant-sidebar-text);
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: .5rem;
    background: rgba(255, 255, 255, .06);
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.app-sidebar__switch:hover,
.app-sidebar__switch:focus {
    color: var(--tenant-sidebar-text);
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .3);
    transform: translateY(-1px);
}

.app-sidebar__switch-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .45rem;
    background: rgba(255, 255, 255, .14);
}

.app-sidebar__switch-icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

.app-sidebar__switch span:last-child {
    max-width: 100%;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.app-shell--admin .app-sidebar__switch {
    border-color: rgba(254, 202, 202, .28);
    background: rgba(254, 202, 202, .12);
}

.app-shell--admin .app-sidebar__switch:hover,
.app-shell--admin .app-sidebar__switch:focus {
    background: rgba(254, 202, 202, .18);
    border-color: rgba(254, 202, 202, .45);
}

.app-shell--customer .app-sidebar__switch {
    border-color: rgba(187, 247, 208, .28);
    background: rgba(187, 247, 208, .12);
}

.app-shell--customer .app-sidebar__switch:hover,
.app-shell--customer .app-sidebar__switch:focus {
    background: rgba(187, 247, 208, .18);
    border-color: rgba(187, 247, 208, .45);
}

.app-main {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-topbar {
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.5rem;
    border-bottom: 1px solid #e1e7f0;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
}

.app-topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    min-width: 0;
    color: #142033;
}

.app-topbar__brand:hover {
    color: #142033;
}

@media (min-width: 992px) {
    .app-shell:not(.app-shell--plain) .app-topbar__brand {
        margin-left: 3.25rem;
    }
}

.app-topbar__brand > span {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.app-topbar__title {
    font-size: .95rem;
    font-weight: 600;
}

.app-topbar__version {
    color: #66758a;
    font-size: .72rem;
}

.app-topbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .65rem;
    min-width: 0;
}

.app-icon-link {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6e0ee;
    border-radius: .45rem;
    background: #fff;
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.app-theme-toggle {
    padding: 0;
    cursor: pointer;
}

.app-theme-toggle__icon {
    font-size: 1rem;
    line-height: 1;
}

.app-icon-link:hover {
    background: #f7faff;
    color: #1d4ed8;
}

[data-bs-theme="dark"] body.app-body {
    background: #0f172a;
    color: #e5e7eb;
}

[data-bs-theme="dark"] .app-topbar {
    border-bottom-color: #263244;
    background: rgba(17, 24, 39, .94);
}

[data-bs-theme="dark"] .app-topbar__brand,
[data-bs-theme="dark"] .app-topbar__brand:hover,
[data-bs-theme="dark"] .app-topbar__title,
[data-bs-theme="dark"] .app-user__text strong {
    color: #f8fafc;
}

[data-bs-theme="dark"] .app-topbar__version,
[data-bs-theme="dark"] .app-user__text,
[data-bs-theme="dark"] .app-crumbs {
    color: #94a3b8;
}

[data-bs-theme="dark"] .app-icon-link {
    border-color: #334155;
    background: #111827;
    color: #bfdbfe;
}

[data-bs-theme="dark"] .app-icon-link:hover {
    background: #1f2937;
    color: #dbeafe;
}

[data-bs-theme="dark"] .app-content {
    background: #0f172a;
}

[data-bs-theme="dark"] .app-footer {
    border-top-color: #263244;
    background: #111827;
}

[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .dropdown-menu {
    background-color: #111827;
    border-color: #263244;
}

[data-bs-theme="dark"] .table {
    --bs-table-bg: transparent;
}

[data-bs-theme="dark"] .product-index-table {
    --bs-table-color: #dbeafe;
    --bs-table-hover-color: #f8fafc;
    --bs-table-hover-bg: rgba(59, 130, 246, .14);
    color: #dbeafe;
}

[data-bs-theme="dark"] .product-index-table thead th {
    color: #f8fafc;
    border-bottom-color: #94a3b8;
    background: rgba(15, 23, 42, .92);
}

[data-bs-theme="dark"] .product-index-table tbody td {
    color: #dbeafe;
    border-color: #334155;
}

[data-bs-theme="dark"] .product-index-table .fw-semibold {
    color: #f8fafc;
}

[data-bs-theme="dark"] .product-index-table .text-muted {
    color: #93c5fd !important;
}

.app-user {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-width: 0;
}

.app-user__avatar {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}

.app-user__text {
    display: grid;
    gap: .05rem;
    color: #68778c;
    font-size: .72rem;
    line-height: 1.15;
}

.app-user__text strong {
    color: #142033;
    font-size: .82rem;
}

.app-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    padding: .55rem 1.5rem 0;
    color: #7b8798;
    font-size: .78rem;
}

.app-crumbs a,
.app-footer a {
    color: inherit;
    text-decoration: none;
}

.app-crumbs a:hover,
.app-footer a:hover {
    text-decoration: underline;
}

.app-content {
    flex: 1 0 auto;
    width: 100%;
    padding: 1rem 1.5rem 1.5rem;
}

.app-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e1e7f0;
    background: #fff;
}

@media (max-width: 991.98px) {
    .app-shell {
        display: block;
    }

    .app-sidebar {
        position: static;
        height: auto;
        min-height: 0;
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        overflow-y: hidden;
        padding: .85rem .65rem;
    }

    .app-sidebar__head,
    .app-sidebar__scroll {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex: 0 0 auto;
        min-height: 0;
        padding: 0;
        overflow: visible;
    }

    .app-sidebar__brand {
        min-width: 7rem;
        min-height: 3.5rem;
        width: auto;
        margin: 0;
        padding: .75rem 1rem;
        border-radius: .9rem;
    }

    .app-sidebar__nav {
        display: flex;
        gap: .5rem;
    }

    .app-sidebar__footer {
        display: flex;
        gap: .5rem;
        margin-top: 0;
        padding-top: 0;
    }

    .app-module-tile {
        min-width: 5.8rem;
    }

    .app-sidebar__switch {
        min-width: 6.4rem;
    }

    .app-sidebar__collapse {
        display: none;
    }

    .app-topbar {
        flex-wrap: wrap;
        padding: .85rem 1rem;
    }

    .app-shell:not(.app-shell--plain) .app-topbar__brand {
        margin-left: 0;
    }

    .app-topbar__actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .app-content,
    .app-crumbs,
    .app-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 575.98px) {
    .app-user__text {
        display: none;
    }

    .app-footer {
        flex-direction: column;
    }
}

code { font-size: .875em; }

.contents { display: contents; }

.card { border-radius: 1rem; }

.table > :not(caption) > * > * { vertical-align: middle; }

.time-date-hero {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 55%, #ffffff 100%);
    border: 1px solid #d9e7fb;
}

.time-date-hero__eyebrow {
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5f6f86;
    margin-bottom: .35rem;
}

.time-date-hero__date {
    font-size: 1.1rem;
    color: #4f5d73;
}

.time-date-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.time-progress-card {
    height: 100%;
    padding: 1rem;
    border: 1px solid #dfe7f3;
    border-radius: 1rem;
    background: #fff;
}

.time-progress-track {
    height: .7rem;
    border-radius: 999px;
    background: #e8eef6;
    overflow: hidden;
}

.time-progress-fill {
    height: 100%;
    border-radius: inherit;
}

.time-progress-fill.is-presence {
    background: linear-gradient(90deg, #58a6ff 0%, #2f74ff 100%);
}

.time-progress-fill.is-booked {
    background: linear-gradient(90deg, #46b97a 0%, #1d8f5a 100%);
}

.time-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    font-size: .85rem;
    color: #5f6f86;
}

.time-focus-card {
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fff9ef 0%, #fff 100%);
    border: 1px solid #f1ddba;
}

.time-summary-table {
    height: 100%;
    border: 1px solid #dfe7f3;
    border-radius: 1rem;
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
    overflow: hidden;
}

.time-summary-table__row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #e7edf7;
}

.time-summary-table__row:last-child {
    border-bottom: 0;
}

.time-summary-table__label {
    font-size: .9rem;
    color: #5f6f86;
}

.time-summary-table__value {
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
    color: #213047;
}

.time-visual-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.time-project-column {
    display: flex;
    flex-direction: column;
}

.time-project-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.time-project-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1rem;
    border: 1px solid #dfe7f3;
    border-radius: 1rem;
    background: #fff;
}

.time-presence-total-row td {
    border-top: 3px solid #213047 !important;
    font-weight: 700;
    background: #f8fbff;
}

.time-presence-row-active td {
    background: linear-gradient(90deg, #eefaf3 0%, #f8fffb 100%);
    font-weight: 600;
}

.time-presence-row-active td:first-child {
    box-shadow: inset 4px 0 0 #198754;
}

@media (max-width: 767.98px) {
    .time-summary-table__row {
        grid-template-columns: 1fr;
        gap: .35rem;
    }

    .time-summary-table__value {
        text-align: left;
    }

    .time-project-list__item {
        align-items: flex-start;
        flex-direction: column;
    }
}

.time-entry-table th {
    white-space: nowrap;
    font-size: .85rem;
}

.time-entry-table td {
    vertical-align: top;
}

.time-entry-table .form-control,
.time-entry-table .form-select {
    min-width: 0;
}

.time-entry-layout {
    display: grid;
    grid-template-columns: minmax(18rem, 1fr) minmax(24rem, 1fr);
    gap: 1.25rem;
}

.time-entry-panel {
    border: 1px solid #dfe7f3;
    border-radius: 1rem;
    padding: 1.25rem;
    background: #fff;
}

.time-entry-panel--accent {
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    border-color: #ecd9b8;
}

.time-entry-empty {
    border: 1px dashed #d3dbe7;
    border-radius: .9rem;
    padding: 1rem;
    background: #fafcff;
}

.time-entry-draft-list {
    display: grid;
    gap: .9rem;
}

.time-entry-draft-row {
    border: 1px solid #e2e8f2;
    border-radius: .9rem;
    padding: .9rem;
    background: #f9fbfe;
}

.time-entry-draft-row__grid {
    display: grid;
    grid-template-columns: minmax(8rem, 10rem) minmax(16rem, 1fr) auto;
    gap: .85rem;
    align-items: end;
}

.time-entry-draft-row__actions {
    display: flex;
    gap: .5rem;
    align-items: end;
}

.time-import-day {
    border: 1px solid #d8e1ec;
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
}

.time-import-day.is-ready {
    border-color: #73c69d;
    background: linear-gradient(135deg, #f2fbf5 0%, #ffffff 100%);
}

.time-import-day.is-open {
    border-color: #e7c36a;
    background: linear-gradient(135deg, #fff9e9 0%, #ffffff 100%);
}

.time-import-day.is-imported {
    border-color: #8ab7ff;
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
}

.time-import-row.is-open {
    background: #fffaf0;
}

.time-import-cell.is-ready {
    background: #edf9f0;
}

.time-import-cell.is-open {
    background: #fff1d6;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .time-entry-layout {
        grid-template-columns: 1fr;
    }

    .time-entry-draft-row__grid {
        grid-template-columns: 1fr;
    }

    .time-entry-draft-row__actions {
        justify-content: flex-start;
    }
}

.time-entry-hero {
    border: 1px solid #dce5f2;
    border-radius: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

.time-entry-progress {
    border: 1px solid #dfe7f3;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, #fffef8 0%, #ffffff 100%);
}

.time-entry-progress__header,
.time-entry-progress__footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.time-entry-progress__track {
    margin: .85rem 0 .65rem;
    height: .8rem;
    border-radius: 999px;
    background: #edf2f9;
    overflow: hidden;
}

.time-entry-progress__value {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f6fed 0%, #79a7ff 100%);
}

.time-entry-tabs .nav-link {
    border-radius: .85rem .85rem 0 0;
    font-weight: 600;
}

.time-entry-tabs .nav-link.active {
    background: #fff;
    border-color: #dfe7f3 #dfe7f3 #fff;
}

.time-entry-selection-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 1fr) auto;
    gap: 1rem;
    align-items: end;
}

.time-entry-inline-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
}

.time-entry-inline-fields--compact {
    gap: .75rem;
}

.time-entry-inline-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

.time-entry-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: .75rem;
}

.time-entry-choice-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .45rem;
    min-height: 5.75rem;
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid #dbe4f1;
    border-radius: .9rem;
    background: #fbfcff;
    color: inherit;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.time-entry-choice-card:hover {
    border-color: #90afea;
    box-shadow: 0 .35rem .9rem rgba(32, 67, 128, .08);
    transform: translateY(-1px);
}

.time-entry-choice-card__meta {
    font-size: .8rem;
    color: #5f6f86;
}

.time-entry-section-divider {
    margin: 1.25rem 0;
    border-top: 1px solid #e5ebf4;
}

.time-entry-today-list {
    display: grid;
    gap: .75rem;
}

.time-entry-today-item {
    display: grid;
    grid-template-columns: minmax(4.5rem, 5.5rem) minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: .95rem 1rem;
    border: 1px solid #e2e8f2;
    border-radius: .9rem;
    background: #fbfcff;
}

.time-entry-today-item.is-active {
    border-color: #8eb2ff;
    background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);
}

.time-entry-today-item__time,
.time-entry-today-item__meta {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    font-size: .9rem;
}

.time-entry-today-item__time span,
.time-entry-today-item__meta span {
    color: #5f6f86;
    font-size: .8rem;
}

.time-entry-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(8rem, 1fr));
    gap: .9rem;
    align-items: end;
}

.time-entry-form-grid__wide {
    grid-column: span 2;
}

.time-entry-form-grid__actions {
    display: flex;
    gap: .75rem;
    align-items: end;
}

@media (max-width: 991.98px) {
    .time-entry-selection-grid {
        grid-template-columns: 1fr;
    }

    .time-entry-form-grid {
        grid-template-columns: 1fr;
    }

    .time-entry-form-grid__wide {
        grid-column: auto;
    }

    .time-entry-progress__header,
    .time-entry-progress__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .time-entry-today-item {
        grid-template-columns: 1fr;
    }
}
.itdoc-hardware-icon {
    align-items: center;
    background: #eef2f7;
    border: 1px solid #d7dee8;
    border-radius: 6px;
    color: #1f2937;
    display: inline-flex;
    flex: 0 0 2rem;
    font-size: 1rem;
    height: 2rem;
    justify-content: center;
    line-height: 1;
    width: 2rem;
}

.itdoc-section-nav {
    position: sticky;
    top: 0;
    z-index: 2;
}

.itdoc-card-tabs {
    background: #f8fafc;
    border-bottom: 1px solid #cbd5e1;
    gap: 2px;
    padding: 0 0.5rem;
}

.itdoc-card-tabs .nav-link {
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    color: #334155;
    margin-bottom: -1px;
}

.itdoc-card-tabs .nav-link.active {
    background: #fff;
    color: #0f172a;
    font-weight: 600;
}
