/* Modern theme: Material-inspired. Indigo app bar, sidebar navigation,
   elevated cards, pill buttons and a floating "Log time" button.
   Loaded after pico.min.css and app.css; supports light and dark mode. */

:root {
  --tt-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pico-font-family: var(--tt-font);
  --pico-font-family-sans-serif: var(--tt-font);
  --pico-font-size: 93.75%;
  --pico-line-height: 1.45;
  --pico-border-radius: .625rem;
  --pico-spacing: .875rem;
  --pico-typography-spacing-vertical: .75rem;
  --pico-block-spacing-vertical: 1rem;
  --pico-block-spacing-horizontal: 1.25rem;
  --pico-form-element-spacing-vertical: .55rem;
  --pico-form-element-spacing-horizontal: .8rem;
  --appbar-h: 3.5rem;
  --sidebar-w: 14.5rem;
}

/* ---- Light palette ---- */
:root:not([data-theme=dark]), [data-theme=light] {
  --tt-bg: #f3f4fa;
  --tt-surface: #ffffff;
  --tt-surface-2: #eef0f8;
  --tt-outline: #e0e3ee;
  --tt-text: #1b1c22;
  --tt-muted: #5f6272;
  --tt-primary: #4f46e5;
  --tt-primary-strong: #4338ca;
  --tt-primary-soft: #e8e7fd;
  --tt-on-soft: #3730a3;
  --tt-accent: #4f46e5;
  --tt-neutral-bar: #c9cce0;
  --tt-appbar: linear-gradient(90deg, #4338ca 0%, #5b21b6 100%);
  --tt-shadow-1: 0 1px 2px rgba(23, 25, 45, .06), 0 1px 3px rgba(23, 25, 45, .08);
  --tt-shadow-2: 0 6px 16px rgba(23, 25, 45, .12), 0 2px 4px rgba(23, 25, 45, .06);
  --tt-shadow-fab: 0 8px 22px rgba(67, 56, 202, .38);
  --tt-card-border: transparent;
  --tt-field-border: #c5c9d8;

  --pico-background-color: var(--tt-bg);
  --pico-color: var(--tt-text);
  --pico-h1-color: var(--tt-text);
  --pico-h2-color: var(--tt-text);
  --pico-h3-color: var(--tt-text);
  --pico-h4-color: var(--tt-text);
  --pico-muted-color: var(--tt-muted);
  --pico-muted-border-color: var(--tt-outline);
  --pico-primary: var(--tt-primary);
  --tt-primary-bg: var(--tt-primary);
  --tt-primary-bg-hover: var(--tt-primary-strong);
  --pico-primary-background: var(--tt-primary-bg);
  --pico-primary-border: var(--tt-primary-bg);
  --pico-primary-underline: rgba(79, 70, 229, .45);
  --pico-primary-hover: var(--tt-primary-strong);
  --pico-primary-hover-background: var(--tt-primary-bg-hover);
  --pico-primary-hover-border: var(--tt-primary-bg-hover);
  --pico-primary-hover-underline: var(--tt-primary-strong);
  --pico-primary-focus: rgba(79, 70, 229, .28);
  --pico-primary-inverse: #fff;
  --pico-card-background-color: var(--tt-surface);
  --pico-card-sectioning-background-color: var(--tt-surface);
  --pico-card-box-shadow: var(--tt-shadow-1);
  --pico-form-element-background-color: var(--tt-surface-2);
  --pico-form-element-selected-background-color: var(--tt-primary-soft);
  --pico-form-element-border-color: transparent;
  --pico-form-element-active-background-color: var(--tt-surface);
  --pico-form-element-active-border-color: var(--tt-primary);
  --pico-form-element-focus-color: var(--tt-primary);
  --pico-table-border-color: var(--tt-outline);
  --pico-table-row-stripped-background-color: #f7f8fc;
  --pico-dropdown-background-color: var(--tt-surface);
}

/* ---- Dark palette (explicit choice, or OS setting when none is saved) ---- */
[data-theme=dark] {
  --tt-bg: #121318;
  --tt-surface: #1c1d24;
  --tt-surface-2: #262732;
  --tt-outline: #32343f;
  --tt-text: #e5e5ef;
  --tt-muted: #a3a5b7;
  --tt-primary: #818cf8;
  --tt-primary-strong: #a5b4fc;
  --tt-primary-soft: #2b2a55;
  --tt-on-soft: #c7d2fe;
  --tt-accent: #818cf8;
  --tt-neutral-bar: #3a3c4a;
  --tt-appbar: linear-gradient(90deg, #312e81 0%, #4c1d95 100%);
  --tt-shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 1px 3px rgba(0, 0, 0, .3);
  --tt-shadow-2: 0 8px 20px rgba(0, 0, 0, .5);
  --tt-shadow-fab: 0 8px 22px rgba(0, 0, 0, .55);
  --tt-card-border: #2a2b35;
  --tt-field-border: #4a4c5c;

  --pico-background-color: var(--tt-bg);
  --pico-color: var(--tt-text);
  --pico-h1-color: var(--tt-text);
  --pico-h2-color: var(--tt-text);
  --pico-h3-color: var(--tt-text);
  --pico-h4-color: var(--tt-text);
  --pico-muted-color: var(--tt-muted);
  --pico-muted-border-color: var(--tt-outline);
  --pico-primary: var(--tt-primary);
  --tt-primary-bg: #6366f1;
  --tt-primary-bg-hover: #4f46e5;
  --pico-primary-background: var(--tt-primary-bg);
  --pico-primary-border: var(--tt-primary-bg);
  --pico-primary-underline: rgba(129, 140, 248, .5);
  --pico-primary-hover: var(--tt-primary-strong);
  --pico-primary-hover-background: var(--tt-primary-bg-hover);
  --pico-primary-hover-border: var(--tt-primary-bg-hover);
  --pico-primary-focus: rgba(129, 140, 248, .3);
  --pico-primary-inverse: #fff;
  --pico-card-background-color: var(--tt-surface);
  --pico-card-sectioning-background-color: var(--tt-surface);
  --pico-card-box-shadow: var(--tt-shadow-1);
  --pico-form-element-background-color: var(--tt-surface-2);
  --pico-form-element-selected-background-color: var(--tt-primary-soft);
  --pico-form-element-border-color: transparent;
  --pico-form-element-active-background-color: var(--tt-surface);
  --pico-form-element-active-border-color: var(--tt-primary);
  --pico-form-element-focus-color: var(--tt-primary);
  --pico-table-border-color: var(--tt-outline);
  --pico-table-row-stripped-background-color: #20212a;
  --pico-dropdown-background-color: var(--tt-surface);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --tt-bg: #121318;
    --tt-surface: #1c1d24;
    --tt-surface-2: #262732;
    --tt-outline: #32343f;
    --tt-text: #e5e5ef;
    --tt-muted: #a3a5b7;
    --tt-primary: #818cf8;
    --tt-primary-strong: #a5b4fc;
    --tt-primary-soft: #2b2a55;
    --tt-on-soft: #c7d2fe;
    --tt-accent: #818cf8;
    --tt-neutral-bar: #3a3c4a;
    --tt-appbar: linear-gradient(90deg, #312e81 0%, #4c1d95 100%);
    --tt-shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 1px 3px rgba(0, 0, 0, .3);
    --tt-shadow-2: 0 8px 20px rgba(0, 0, 0, .5);
    --tt-shadow-fab: 0 8px 22px rgba(0, 0, 0, .55);
    --tt-card-border: #2a2b35;
  --tt-field-border: #4a4c5c;

    --pico-background-color: var(--tt-bg);
    --pico-color: var(--tt-text);
    --pico-h1-color: var(--tt-text);
    --pico-h2-color: var(--tt-text);
    --pico-h3-color: var(--tt-text);
    --pico-h4-color: var(--tt-text);
    --pico-muted-color: var(--tt-muted);
    --pico-muted-border-color: var(--tt-outline);
    --pico-primary: var(--tt-primary);
    --tt-primary-bg: #6366f1;
    --tt-primary-bg-hover: #4f46e5;
    --pico-primary-background: var(--tt-primary-bg);
    --pico-primary-border: var(--tt-primary-bg);
    --pico-primary-underline: rgba(129, 140, 248, .5);
    --pico-primary-hover: var(--tt-primary-strong);
    --pico-primary-hover-background: var(--tt-primary-bg-hover);
    --pico-primary-hover-border: var(--tt-primary-bg-hover);
    --pico-primary-focus: rgba(129, 140, 248, .3);
    --pico-primary-inverse: #fff;
    --pico-card-background-color: var(--tt-surface);
    --pico-card-sectioning-background-color: var(--tt-surface);
    --pico-card-box-shadow: var(--tt-shadow-1);
    --pico-form-element-background-color: var(--tt-surface-2);
    --pico-form-element-selected-background-color: var(--tt-primary-soft);
    --pico-form-element-border-color: transparent;
    --pico-form-element-active-background-color: var(--tt-surface);
    --pico-form-element-active-border-color: var(--tt-primary);
    --pico-form-element-focus-color: var(--tt-primary);
    --pico-table-border-color: var(--tt-outline);
    --pico-table-row-stripped-background-color: #20212a;
    --pico-dropdown-background-color: var(--tt-surface);
  }
}

/* ---- Base ---- */
body.theme-modern { background: var(--tt-bg); }
.theme-modern a { text-decoration: none; }
.theme-modern h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 1rem; }
.theme-modern h2 { font-size: 1.25rem; font-weight: 650; margin-bottom: .75rem; }
.theme-modern h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: .5rem; }
.theme-modern h4 { font-size: .95rem; font-weight: 650; margin-bottom: .5rem; }

/* ---- App bar ---- */
body.theme-modern > header.appbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1rem;
  height: var(--appbar-h); padding: 0 1rem 0 1.25rem;
  background: var(--tt-appbar); color: #fff;
  box-shadow: var(--tt-shadow-2);
}
.appbar-brand { display: flex; align-items: center; gap: .65rem; color: #fff; font-weight: 700; font-size: 1.1rem; }
.appbar-brand:hover { color: #fff; }
.appbar-logo {
  display: block; width: 2.25rem; height: 2.25rem; border-radius: .45rem;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25);
}
.appbar-title {
  padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, .3);
  color: rgba(255, 255, 255, .88); font-weight: 500;
}
.appbar-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.theme-modern .theme-toggle {
  background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff;
}
.theme-modern .theme-toggle:hover { background: rgba(255, 255, 255, .22); border-color: #fff; }

/* Account menu (no JavaScript: <details>) */
.theme-modern .account-menu { position: relative; margin: 0; }
.theme-modern .account-menu summary.avatar {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0;
  border-radius: 50%; background: var(--tt-avatar-bg, #fff); color: var(--tt-avatar-fg, #4338ca);
  font-weight: 700; font-size: .85rem; cursor: pointer; list-style: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .35);
}
.theme-modern .account-menu summary.avatar::-webkit-details-marker { display: none; }
.theme-modern .account-menu summary.avatar::after { display: none; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + .6rem); z-index: 30;
  min-width: 16rem; padding: .4rem;
  background: var(--tt-surface); color: var(--tt-text);
  border-radius: .85rem; box-shadow: var(--tt-shadow-2); border: 1px solid var(--tt-card-border);
}
.menu-head { display: flex; flex-direction: column; padding: .6rem .75rem .75rem; margin-bottom: .3rem; border-bottom: 1px solid var(--tt-outline); }
.menu-head small { color: var(--tt-muted); overflow-wrap: anywhere; }
.menu-panel a, .theme-modern .menu-item {
  display: flex; align-items: center; gap: .65rem; width: 100%;
  margin: 0; padding: .55rem .75rem; border: 0; border-radius: .55rem;
  background: none; box-shadow: none; color: var(--tt-text);
  font-size: .95rem; font-weight: 500; text-align: left; cursor: pointer;
}
.menu-panel a:hover, .theme-modern .menu-item:hover { background: var(--tt-surface-2); color: var(--tt-text); }
.menu-panel svg { width: 1.15rem; height: 1.15rem; fill: var(--tt-muted); }

/* ---- Shell: sidebar + content ---- */
.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: calc(100vh - var(--appbar-h)); }
.shell.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.theme-modern nav.sidebar {
  position: sticky; top: var(--appbar-h); align-self: start;
  display: flex; flex-direction: column; justify-content: flex-start; gap: .15rem;
  height: calc(100vh - var(--appbar-h)); overflow-y: auto;
  padding: 1rem .75rem;
}
.nav-item {
  display: flex; align-items: center; gap: .85rem;
  padding: .6rem .95rem; border-radius: 999px;
  color: var(--tt-text); font-weight: 500;
}
.nav-item svg { flex: none; width: 1.25rem; height: 1.25rem; fill: var(--tt-muted); }
.nav-item:hover { background: var(--tt-surface-2); color: var(--tt-text); }
.nav-item[aria-current=page] { background: var(--tt-primary-soft); color: var(--tt-on-soft); font-weight: 650; }
.nav-item[aria-current=page] svg { fill: var(--tt-on-soft); }
.nav-section {
  padding: 1.1rem .95rem .35rem;
  color: var(--tt-muted); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.nav-spacer { height: .75rem; border-bottom: 1px solid var(--tt-outline); margin: 0 .95rem .6rem; }
.nav-item[aria-current=true] { color: var(--tt-on-soft); font-weight: 650; }
.nav-item[aria-current=true] svg { fill: var(--tt-on-soft); }
/* Reports sub-navigation: indented under Reports. */
.nav-sub { min-width: 0; overflow: hidden; display: flex; flex-direction: column; margin: .1rem 0 .35rem 2.15rem; padding-left: .5rem; border-left: 1px solid var(--tt-outline); }
.nav-subitem {
  display: flex; align-items: center; gap: .45rem; min-width: 0;
  padding: .3rem .7rem; border-radius: 999px; font-size: .86rem; color: var(--tt-muted);
}
.nav-subitem span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-subitem svg { flex: none; width: .95rem; height: .95rem; fill: currentColor; opacity: .7; }
.nav-subitem:hover { background: var(--tt-surface-2); color: var(--tt-text); }
.nav-subitem[aria-current=page] { background: var(--tt-primary-soft); color: var(--tt-on-soft); font-weight: 650; }
.nav-more { font-style: italic; }
.content { width: 100%; max-width: 82rem; padding: 1.5rem 2rem 6.5rem; }

/* ---- Cards ---- */
.theme-modern article {
  margin-bottom: 1rem; padding: 1.15rem 1.25rem;
  border-radius: 1rem; border: 1px solid var(--tt-card-border);
  box-shadow: var(--tt-shadow-1);
}
.theme-modern article > header, .theme-modern article > footer {
  margin: 0 0 .75rem; padding: 0; background: none; border: 0;
}
.theme-modern article > footer { margin: 1rem 0 0; padding-top: .75rem; border-top: 1px solid var(--tt-outline); }
.theme-modern article > header h2, .theme-modern article > header h3 { margin-bottom: .25rem; }

/* ---- Forms ---- */
.theme-modern label { font-size: .88rem; font-weight: 550; }
.theme-modern input:not([type=checkbox], [type=radio]), .theme-modern select, .theme-modern textarea {
  font-size: .95rem; font-weight: 400;
}
.theme-modern label > input:not([type=checkbox], [type=radio]),
.theme-modern label > select, .theme-modern label > textarea { margin-top: .3rem; }
.theme-modern small { font-weight: 400; }
.theme-modern .grid { gap: .85rem; }
.theme-modern button:not(.link-button, .theme-toggle, .menu-item),
.theme-modern [role=button], .theme-modern input[type=submit] {
  border-radius: 999px; padding: .55rem 1.3rem; font-weight: 600; letter-spacing: .01em;
  box-shadow: var(--tt-shadow-1);
}
.theme-modern button:not(.link-button, .theme-toggle, .menu-item):hover,
.theme-modern [role=button]:hover { box-shadow: var(--tt-shadow-2); }
.theme-modern .google-button { box-shadow: var(--tt-shadow-1); }
.theme-modern fieldset.checklist { background: var(--tt-surface-2); border-color: transparent; border-radius: .75rem; }
/* Checkboxes and radios need a visible outline on filled backgrounds. */
.theme-modern input[type=checkbox], .theme-modern input[type=radio] {
  --pico-form-element-border-color: var(--tt-muted);
  background-color: var(--tt-surface);
}
.theme-modern input[type=checkbox]:checked, .theme-modern input[type=radio]:checked {
  background-color: var(--pico-primary-background);
  border-color: var(--pico-primary-background);
}
/* Square-ish checkboxes (Pico's radius would make them look like radios). */
.theme-modern input[type=checkbox] { border-radius: .3rem; }
/* Visible field boundaries (WCAG 1.4.11 non-text contrast). */
.theme-modern input:not([type=checkbox], [type=radio], [type=submit], [type=button]), .theme-modern select, .theme-modern textarea {
  border: 1px solid var(--tt-field-border);
}
.theme-modern input:not([type=checkbox], [type=radio]):focus, .theme-modern select:focus, .theme-modern textarea:focus,
.theme-modern [aria-invalid=true] {
  border-color: var(--tt-primary);
}
.theme-modern [aria-invalid=true] { border-color: #c62828; }
.theme-modern :focus-visible { outline: 2px solid var(--tt-primary); outline-offset: 2px; }
.theme-modern .appbar :focus-visible, .fab:focus-visible { outline-color: #fff; }
.theme-modern .content a:not([role=button], .nav-item):hover { text-decoration: underline; }

/* Material buttons size to their label (the log form's main button stays full width). */
.theme-modern form > button[type=submit], .theme-modern .button-row > button, .theme-modern .theme-options + button { width: auto; }
.theme-modern .log-card form > button[type=submit] { width: 100%; }

/* ---- Tables ---- */
.theme-modern table { font-size: .92rem; }
.theme-modern th {
  color: var(--tt-muted); font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.theme-modern td, .theme-modern th { padding: .5rem .7rem; }
.theme-modern tfoot th { color: var(--tt-text); font-size: .9rem; text-transform: none; letter-spacing: 0; }

/* ---- Feedback ---- */
.theme-modern .flash, .theme-modern .form-error {
  border-radius: .75rem; box-shadow: var(--tt-shadow-1); font-weight: 500;
}
.theme-modern .badge { background: var(--tt-surface-2); color: var(--tt-muted); font-weight: 600; }
.theme-modern .badge-admin { background: var(--tt-primary-soft); color: var(--tt-on-soft); }
.theme-modern .badge-employee { background: var(--tt-surface-2); color: var(--tt-text); border: 1px solid var(--tt-border, rgba(0,0,0,.12)); }

/* ---- Home: sticky log panel + day cards ---- */
.theme-modern .home-grid { gap: 1.5rem; }
@media (min-width: 1100px) {
  .theme-modern .home-grid { grid-template-columns: 23rem minmax(0, 1fr); }
  .theme-modern .log-card { position: sticky; top: calc(var(--appbar-h) + 1rem); }
}
.theme-modern .log-card { scroll-margin-top: calc(var(--appbar-h) + 1rem); }
/* In the narrow log panel: "Time spent" gets its own row, Date and Billable share one. */
.theme-modern .log-card:target { animation: tt-highlight 1.6s ease-out; }
@keyframes tt-highlight {
  0% { box-shadow: 0 0 0 4px var(--tt-primary), var(--tt-shadow-2); }
  100% { box-shadow: var(--tt-shadow-1); }
}
.theme-modern .week-header { margin-bottom: .5rem; }
.theme-modern .week-header a[aria-label] {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border-radius: 50%; background: var(--tt-surface); box-shadow: var(--tt-shadow-1);
  font-size: 1.1rem; color: var(--tt-text);
}
.theme-modern .week-header a[aria-label]:hover { box-shadow: var(--tt-shadow-2); color: var(--tt-primary); }
.theme-modern .week-total {
  display: inline-flex; align-items: baseline; gap: .35rem;
  margin: 0 0 1rem; padding: .45rem 1rem; border-radius: 999px;
  background: var(--tt-primary-soft); color: var(--tt-on-soft); font-size: 1rem;
}
.theme-modern .week-total .muted { color: var(--tt-on-soft); opacity: .8; }
.theme-modern .days { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; align-items: start; }
.theme-modern .day {
  padding: .8rem 1rem; border: 1px solid var(--tt-card-border); border-radius: 1rem;
  background: var(--tt-surface); box-shadow: var(--tt-shadow-1);
}
.theme-modern .day-empty { background: transparent; box-shadow: none; border: 1px dashed var(--tt-outline); padding: .55rem 1rem; }
.theme-modern .day-header { align-items: center; margin-bottom: .2rem; }
.theme-modern .day:not(.day-empty) .day-total {
  padding: .05rem .6rem; border-radius: 999px;
  background: var(--tt-primary-soft); color: var(--tt-on-soft); font-size: .8rem;
}
.theme-modern .entry { padding: .55rem 0 .45rem; border-top: 1px solid var(--tt-outline); }
.theme-modern .entry-project { font-weight: 600; }

/* ---- Floating action button ---- */
.fab {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 25;
  display: inline-flex; align-items: center; gap: .5rem;
  height: 3.5rem; padding: 0 1.4rem 0 1.1rem; border-radius: 1.1rem;
  background: var(--pico-primary-background); color: #fff;
  font-weight: 650; box-shadow: var(--tt-shadow-fab);
  transition: transform .15s ease, box-shadow .15s ease;
}
.fab:hover { color: #fff; transform: translateY(-2px); }
.fab svg { width: 1.5rem; height: 1.5rem; fill: #fff; }
@media (min-width: 1100px) { .page-home .fab { display: none; } }

/* ---- Admin & reports ---- */
.theme-modern .admin-grid { gap: 1.25rem; }
.theme-modern .project { padding: .6rem 0; }
.theme-modern .stats { gap: .85rem; }
.theme-modern .stat { text-align: left; padding: 1rem 1.15rem; border-left: 4px solid var(--tt-primary); }
.theme-modern .stat-value { font-size: 1.7rem; }
.theme-modern .split-non, .theme-modern .key-non { fill: var(--tt-neutral-bar); background: var(--tt-neutral-bar); }
.theme-modern .bar { height: .75rem; }
.theme-modern details.filters {
  padding: .9rem 1.15rem; border-radius: 1rem; background: var(--tt-surface);
  box-shadow: var(--tt-shadow-1); border: 1px solid var(--tt-card-border);
}
.theme-modern details.filters > summary { font-weight: 600; }

/* ---- Login ---- */
.page-login .content { display: grid; justify-items: center; align-items: start; align-content: start; }
.theme-modern .login-card { width: min(26rem, 100%); }
.theme-modern .login-card { margin-top: 3rem; box-shadow: var(--tt-shadow-2); padding: 2rem; }

/* ---- Phones and small tablets ---- */
@media (max-width: 860px) {
  .shell { display: block; }
  .theme-modern nav.sidebar {
    position: sticky; top: var(--appbar-h); z-index: 15;
    flex-direction: row; flex-wrap: wrap; height: auto; gap: .25rem;
    padding: .5rem .75rem; background: var(--tt-surface); box-shadow: var(--tt-shadow-1);
  }
  .nav-section, .nav-spacer, .nav-secondary, .nav-sub { display: none; }
  .nav-item { flex: none; padding: .45rem .85rem; white-space: nowrap; }
  .content { padding: 1rem 1rem 6rem; }
  .appbar-title { display: none; }
  .fab { right: 1rem; bottom: 1rem; }
}

/* Timesheet row/footer headers are names, not column labels. */
.theme-modern .timesheet tbody th, .theme-modern .timesheet tfoot th {
  text-transform: none; letter-spacing: 0; font-size: .92rem; color: var(--tt-text); font-weight: 600;
}
.theme-modern .timesheet .ts-client { font-size: .75rem; font-weight: 400; color: var(--tt-muted); }
