[hidden] { display: none !important; }
.table-wrap { position: relative; }
.home-session-bar { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin: 26px 0 0; color: #ccc; font-size: 13px; }
.home-session-bar .button { padding: 8px 16px; }
.employee-tile[data-color] { border-left: 4px solid var(--person-color, #ddd); }
.employee-tile[data-color] .initials { border-color: var(--person-color, #ddd); }
.admin-tile { background: linear-gradient(135deg, #333, #151515 65%); }
.admin-tile .tile-icon { width: 46px; height: 46px; padding: 10px; border: 1px solid #b5b5b5; border-radius: 10px; margin-bottom: 20px; }
.admin-employees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.admin-person { padding: 24px; background: linear-gradient(135deg, #202020, #101010); border: 1px solid #8c8c8c; border-radius: 12px; box-shadow: var(--portal-bevel); min-width: 0; }
.admin-person-heading { display: flex; align-items: center; gap: 13px; }
.admin-person h2 { font-size: 19px; line-height: 1.4; }
.admin-person .small-meta { margin-top: 7px; }
.employee-color { width: 14px; height: 38px; border-radius: 5px; flex-shrink: 0; border: 1px solid #ffffff50; }
.permission-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0; }
.permission-badge { font-size: 11px; line-height: 1.5; border: 1px solid #777; border-radius: 5px; padding: 4px 7px; background: #272727; color: #eee; }
.permission-badge.read-only { border-style: dashed; color: #bbb; background: #111; }
.rights-list { margin: 22px 0 16px; padding: 18px; border: 1px solid #777; border-radius: 8px; }
.rights-list legend { padding: 0 7px; font-size: 14px; }
.rights-list label { display: flex; align-items: center; gap: 10px; margin: 12px 0; font-size: 13px; font-weight: 400; line-height: 1.5; }
.rights-list input[type=checkbox] { width: 19px; height: 19px; min-height: 19px; margin: 0; flex-shrink: 0; accent-color: #fff; }
#employee-color { height: 45px; padding: 5px; cursor: pointer; }
.pin-input { font-size: 22px; letter-spacing: .4em; }
#auth-dialog { width: 450px; }
#auth-description { line-height: 1.7; }
#employee-dialog { width: 650px; }
dialog { max-height: calc(100dvh - 30px); overflow-y: auto; }
.read-note { font: inherit; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; text-align: left; }
.audit-note { margin-top: 8px; border-left: 2px solid #aaa; padding-left: 10px; color: #ccc; white-space: pre-wrap; }
#logbook-view .data-table { min-width: 960px; }
#admin-view .page-top { align-items: flex-start; }
#admin-view .page-top .page-actions { justify-content: flex-end; }
@media(max-width:1100px) { .admin-employees { grid-template-columns: 1fr; } }
@media(max-width:700px) { .home-session-bar { justify-content: space-between; } .admin-person { padding: 20px; } #admin-view .page-top .page-actions { justify-content: flex-start; } .rights-list { padding: 12px; } #employee-dialog .two-fields { grid-template-columns: 1fr; } }

/* Live date, clock and ISO week under the brand. */
.portal-clock { color: #d2d2d2; font-size: 12px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.portal-clock-date { display: block; }
.portal-clock-details { display: flex; align-items: baseline; gap: 14px; }
.portal-clock-details time { color: #fff; font-size: 15px; font-weight: 650; letter-spacing: .4px; }
.home-clock { margin-top: 15px; }
.home-session-bar { margin-top: 12px; }
.sidebar-clock { margin: 16px 0 0; padding: 12px 0 14px; border-bottom: 1px solid #555; flex-shrink: 0; }
.sidebar .workspace { margin-top: 20px; }
#employee-software-access { max-height: 230px; overflow-y: auto; }
@media(max-width:700px) { .sidebar-clock { margin: 10px 0 14px; padding: 0 0 10px; } .home-clock { font-size: 12px; } }

/* Administrators choose viewing and editing access independently per section. */
.section-rights label { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 1fr); gap: 8px 16px; align-items: center; }
.section-rights label > span { overflow-wrap: anywhere; }
.section-rights select { width: 100%; min-width: 0; min-height: 44px; font-size: 14px; }
#employee-software-access { max-height: 310px; }
.shortcut-tile > .software-download-alert { position: absolute; top: 12px; right: 12px; }
.shortcut-tile > .software-download-alert ~ .tile-arrow { display: none; }
@media(max-width:700px) { .section-rights label { grid-template-columns: minmax(0, 1fr); margin-block: 16px; } }
