:root {
  --bg: #f5f4f1;
  --panel: #ffffff;
  --ink: #1d1b26;
  --ink-2: #4a4757;
  --muted: #8a8696;
  --line: #e7e5ea;
  --line-2: #f0eef2;
  --accent: #ff5a36;
  --accent-ink: #d9401f;
  --accent-soft: #fff0eb;
  --ok: #12a37a;
  --danger: #dc3545;
  --nav: #1d1b26;
  --nav-ink: #c9c6d3;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 18, 30, .06), 0 4px 16px rgba(20, 18, 30, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.45 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
input, select, button, textarea { font: inherit; color: inherit; }
a { color: var(--accent-ink); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.pad { padding: 16px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.warn { color: #b45309; }
.boot { padding: 40px; color: var(--muted); }

input:not([type=checkbox]):not([type=color]):not([type=file]), select, textarea {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 10px; outline: none; min-width: 0;
}
input:focus, select:focus, textarea:focus { border-color: #c9c4d4; box-shadow: 0 0 0 3px rgba(255, 90, 54, .12); }
input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; }

.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 8px; cursor: pointer; text-decoration: none; color: var(--ink); white-space: nowrap; }
.btn:hover { background: var(--line-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.danger { color: var(--danger); }
.btn.primary.danger, .modal-foot .btn.danger:not(.left) { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--line-2); }
.btn.small { padding: 4px 10px; font-size: 13px; }
.btn.field { width: 100%; justify-content: flex-start; min-height: 36px; }
.icon-btn { border: 0; background: transparent; cursor: pointer; width: 30px; height: 30px; border-radius: 6px; color: var(--muted); font-size: 15px; }
.icon-btn:hover { background: var(--line-2); color: var(--ink); }

.alert { padding: 10px 12px; border-radius: 8px; margin: 8px 0; }
.alert.error { background: #fdecee; color: #a31d2c; }
.alert.ok { background: #e7f7f1; color: #0b7556; }

/* ---------- auth ---------- */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: var(--bg); }
.auth-card { width: 100%; max-width: 380px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.auth-card label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2); }
.auth-card label.check { flex-direction: row; align-items: center; gap: 8px; }
.auth-card .btn { justify-content: center; padding: 10px; margin-top: 6px; }
.brand { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 9px; letter-spacing: -.01em; }
.brand-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 54, .2); }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 228px 1fr; min-height: 100vh; }
.nav { background: var(--nav); color: var(--nav-ink); display: flex; flex-direction: column; padding: 16px 10px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.nav .brand { color: #fff; padding: 4px 10px 18px; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--nav-ink); text-decoration: none; }
.nav-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-item.active { background: rgba(255, 255, 255, .1); color: #fff; }
.nav-ico { width: 20px; text-align: center; opacity: .85; }
.nav-spacer { flex: 1; }
.nav-item.me { border-top: 1px solid rgba(255, 255, 255, .08); border-radius: 0 0 8px 8px; padding-top: 12px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.me-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.me-text .muted { color: #8f8b9c; }
.nav-running { display: none; margin: 0 4px 12px; padding: 8px 10px; background: rgba(255, 90, 54, .14); border-radius: 8px; color: #fff; cursor: pointer; font-size: 13px; align-items: center; gap: 8px; }
.nav-running[style*="display: none"] { display: none !important; }
.nav-running:not([style*="none"]) { display: flex; }
.nav-running .nr-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-running b { font-variant-numeric: tabular-nums; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 54, .7); } 70% { box-shadow: 0 0 0 7px rgba(255, 90, 54, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 54, 0); } }
.main { padding: 20px 28px 60px; min-width: 0; }
.burger { display: none; }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 16px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.card { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; }
.card.pad { padding: 18px 20px; }
.card h3 { margin: 4px 0 10px; font-size: 15px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.row-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-inline.grow input { flex: 1; }

/* ---------- timer bar ---------- */
.timer-bar { position: sticky; top: 0; z-index: 20; background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 16px; margin-bottom: 18px; flex-wrap: wrap; }
.timer-bar.is-running { box-shadow: 0 0 0 2px rgba(255, 90, 54, .35), var(--shadow); }
.tb-left { flex: 1 1 280px; min-width: 0; }
.tb-desc-wrap { position: relative; }
.tb-desc { width: 100%; border: 0 !important; box-shadow: none !important; font-size: 16px; padding: 8px 2px !important; }
.tb-right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tb-btn { border: 0; background: transparent; padding: 6px 10px; border-radius: 8px; cursor: pointer; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-btn:hover { background: var(--line-2); }
.tb-btn.bill, .er-bill { font-weight: 700; color: #c5c1cc; }
.tb-btn.bill.on, .er-bill.on { color: var(--ok); }
.tb-sep { width: 1px; height: 26px; background: var(--line); margin: 0 4px; }
.tb-clock { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }
.tb-clock.small { font-size: 15px; min-width: 50px; }
.tb-clock.clickable { cursor: pointer; border-radius: 6px; padding: 2px 6px; }
.tb-clock.clickable:hover { background: var(--line-2); }
.tb-go { width: 44px; height: 44px; border-radius: 50%; border: 0; color: #fff; font-size: 16px; cursor: pointer; display: grid; place-items: center; transition: transform .1s; }
.tb-go:active { transform: scale(.94); }
.tb-go.start { background: var(--accent); }
.tb-go.stop { background: var(--ink); }
.tb-date { width: 140px; } .tb-time { width: 100px; }
.mode-sw { display: flex; flex-direction: column; gap: 2px; margin-left: 2px; }
.mode-sw button { border: 0; background: transparent; cursor: pointer; font-size: 12px; line-height: 1; padding: 3px 5px; border-radius: 4px; color: #b8b4c0; }
.mode-sw button.on { color: var(--accent); background: var(--accent-soft); }
.discard { font-size: 13px; }
.suggest { position: absolute; left: -16px; right: -10px; top: calc(100% + 10px); background: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(20, 18, 30, .16); padding: 6px; z-index: 30; }
.suggest-item { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 6px; cursor: pointer; }
.suggest-item:hover, .suggest-item.hl { background: var(--line-2); }
.suggest-item .sd { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.proj-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proj-label .client { color: var(--muted); font-weight: 400; }
.proj-label.empty, .tags-label.empty { color: var(--muted); font-weight: 400; }
.proj-label.empty .ico, .tags-label.empty .ico { opacity: .6; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; margin-right: 6px; vertical-align: 0; }
.proj-label .dot { margin-right: 0; }
.tags-label { display: inline-flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.chip { display: inline-block; background: var(--line-2); color: var(--ink-2); border-radius: 5px; padding: 1px 7px; font-size: 12px; margin: 1px 3px 1px 0; white-space: nowrap; }

/* ---------- entries ---------- */
.week-sum { display: flex; gap: 22px; justify-content: flex-end; color: var(--muted); margin: -4px 4px 10px; }
.week-sum b { color: var(--ink); font-variant-numeric: tabular-nums; }
.day { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
.day-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #faf9fb; border-bottom: 1px solid var(--line-2); }
.day-title { font-weight: 600; flex: 1; }
.day-total { font-weight: 600; font-variant-numeric: tabular-nums; }
.entry { display: grid; grid-template-columns: 18px minmax(0, 1fr) minmax(0, 220px) 26px 120px 76px 30px 30px; align-items: center; gap: 8px; padding: 6px 12px 6px 16px; border-bottom: 1px solid var(--line-2); }
.entry:last-child { border-bottom: 0; }
.entry:hover { background: #fcfbfd; }
.entry.selected { background: #fff8f5; }
.entry.incomplete { box-shadow: inset 3px 0 0 #f59e0b; }
.sel { opacity: .35; }
.entry:hover .sel, .sel:checked, .day-head:hover .sel { opacity: 1; }
.er-main { display: flex; align-items: center; gap: 8px; min-width: 0; }
.er-desc { flex: 1 1 auto; border-color: transparent !important; background: transparent !important; padding: 5px 6px !important; min-width: 80px; }
.er-desc:hover { border-color: var(--line) !important; }
.er-desc:focus { background: #fff !important; border-color: #c9c4d4 !important; }
.er-proj, .er-tags, .er-time { border: 0; background: transparent; cursor: pointer; padding: 5px 6px; border-radius: 6px; text-align: left; min-width: 0; overflow: hidden; }
.er-proj { flex: 0 1 auto; max-width: 55%; }
.er-proj:hover, .er-tags:hover, .er-time:hover { background: var(--line-2); }
.er-tags .tags-label { flex-wrap: nowrap; overflow: hidden; }
.er-bill { border: 0; background: transparent; cursor: pointer; font-size: 15px; padding: 4px; border-radius: 6px; }
.er-bill:hover { background: var(--line-2); }
.er-time { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: center; }
.er-dur { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.er-play, .er-more { opacity: 0; }
.entry:hover .er-play, .entry:hover .er-more { opacity: 1; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .big { font-size: 40px; margin-bottom: 8px; }

.bulk-bar { display: none; position: sticky; top: 78px; z-index: 15; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 8px 12px; margin-bottom: 12px; align-items: center; gap: 8px; flex-wrap: wrap; }
.bulk-bar:not([style*="none"]) { display: flex; }
.bulk-bar .btn { background: rgba(255, 255, 255, .1); border-color: transparent; color: #fff; }
.bulk-bar .btn:hover { background: rgba(255, 255, 255, .18); }
.bulk-bar .btn.danger { color: #ffb4b4; }

/* ---------- popovers & menus ---------- */
.pop { position: absolute; z-index: 100; background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(20, 18, 30, .2), 0 0 0 1px rgba(20, 18, 30, .05); padding: 8px; }
.pick-search { width: 100%; margin-bottom: 6px; }
.pick-list { max-height: 320px; overflow-y: auto; }
.pick-group { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 8px 4px; }
.pick-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.pick-item:hover, .pick-item.hl { background: var(--line-2); }
.pick-item.current { font-weight: 600; }
.pick-item .dot { margin-right: 0; }
.pick-item.create { color: var(--accent-ink); }
.pick-empty { padding: 10px; color: var(--muted); text-align: center; }
.pick-foot { display: flex; justify-content: flex-end; gap: 6px; border-top: 1px solid var(--line-2); padding-top: 8px; margin-top: 6px; }
.pop-form { display: flex; flex-direction: column; gap: 6px; padding: 4px; }
.pop-form label { font-size: 12px; color: var(--muted); }
.pop-form .row { display: flex; gap: 8px; }
.pop-form .row > * { flex: 1; min-width: 0; }
.pop-form .row input { width: 100%; }
.pop-form .btn { margin-top: 6px; justify-content: center; }
.dur-in { font-variant-numeric: tabular-nums; }
.menu { display: flex; flex-direction: column; }
.menu button { border: 0; background: transparent; text-align: left; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.menu button:hover { background: var(--line-2); }
.menu button.danger { color: var(--danger); }

/* ---------- modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(20, 18, 30, .4); z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal { background: #fff; border-radius: 14px; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 6px; }
.modal-head h3 { margin: 0; font-size: 17px; }
.modal-body { padding: 8px 20px 12px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px 18px; }
.modal-foot .left { margin-right: auto; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--ink-2); }
.form label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.form.narrow { max-width: 420px; }
.swatches { display: flex; gap: 4px; flex-wrap: wrap; }
.sw { width: 20px; height: 20px; border-radius: 50%; border: 0; cursor: pointer; }
input[type=color] { width: 40px; height: 32px; border: 1px solid var(--line); border-radius: 6px; padding: 2px; background: #fff; }

/* ---------- toast ---------- */
#toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); transition: opacity .4s, transform .4s; max-width: 90vw; }
.toast.error { background: #b4232f; }
.toast.hide { opacity: 0; transform: translateY(8px); }

/* ---------- reports ---------- */
.tabs { display: flex; gap: 2px; background: #ebe9ee; padding: 3px; border-radius: 9px; }
.tabs a { padding: 6px 14px; border-radius: 7px; text-decoration: none; color: var(--ink-2); }
.tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); font-weight: 600; }
.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.f-period, .f-list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.f-period input[type=date] { width: 150px; }
.fbtn { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.fbtn.on { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.badge { background: var(--accent); color: #fff; border-radius: 9px; padding: 0 6px; font-size: 11px; margin-left: 5px; }
.f-search { width: 220px; }
#report-body.loading { opacity: .5; pointer-events: none; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; display: flex; flex-direction: column; }
.kpi span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.kpi b { font-size: 24px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; margin-top: 2px; }
.kpi small { color: var(--muted); }

.chart { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: 1fr auto; padding: 18px 18px 10px 8px; height: 270px; }
.chart-axis { display: flex; flex-direction: column; justify-content: space-between; text-align: right; padding: 16px 8px 24px 0; font-size: 11px; color: var(--muted); }
.bars { display: flex; align-items: stretch; gap: 3px; border-bottom: 1px solid var(--line); min-width: 0; }
.bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; position: relative; padding-bottom: 22px; }
.bar { width: 100%; max-width: 46px; background: #f3b9a8; border-radius: 4px 4px 0 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; min-height: 0; }
.bar-b { background: var(--accent); width: 100%; }
.bar-val { font-size: 10px; color: var(--muted); margin-bottom: 2px; white-space: nowrap; }
.bar-lbl { position: absolute; bottom: 2px; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.legend { grid-column: 2; display: flex; gap: 16px; font-size: 12px; color: var(--muted); padding-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.lg-b { background: var(--accent); } .lg-n { background: #f3b9a8; }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.tbl td { padding: 9px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tfoot td { font-weight: 700; border-top: 1px solid var(--line); border-bottom: 0; }
.tbl tr.clickable { cursor: pointer; }
.tbl tr.clickable:hover td { background: #fcfbfd; }
.tbl tr.archived td { color: var(--muted); }
.tbl tr.incomplete td:first-child { box-shadow: inset 3px 0 0 #f59e0b; }
.tbl th.sortable { cursor: pointer; }
.tbl th.sorted { color: var(--ink); }
.tbl.summary tr.grp td:first-child { position: relative; }
.tbl.summary tr.expandable { cursor: pointer; }
.tbl.summary tr.sub td { background: #fbfafc; font-size: 13px; }
.tbl.summary tr.sub td:first-child { padding-left: 40px; }
.caret { display: inline-block; width: 14px; color: var(--muted); transition: transform .15s; }
tr.open .caret { transform: rotate(90deg); }
.pbar { height: 3px; background: var(--line-2); border-radius: 2px; margin-top: 6px; max-width: 360px; }
.pbar i { display: block; height: 100%; border-radius: 2px; }
.tbl.weekly td.zero { color: #cfccd6; }
.tbl.weekly td.b { font-weight: 600; }
.bill-mark { color: var(--ok); font-weight: 700; margin-right: 6px; }
.live { color: var(--accent); font-size: 12px; }
.inline-edit { border-color: transparent !important; background: transparent !important; width: 100%; }
.inline-edit:hover { border-color: var(--line) !important; }
.inline-edit:focus { background: #fff !important; }

/* ---------- import / settings ---------- */
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 20px; border: 2px dashed #d6d2dd; border-radius: 14px; background: #fff; cursor: pointer; margin-bottom: 16px; text-align: center; }
.drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { display: none; }
.drop .big { font-size: 32px; color: var(--accent); }
.prose ol { margin: 0; padding-left: 20px; }
.prose li { margin: 4px 0; }
.token code { display: inline-block; background: var(--line-2); padding: 6px 10px; border-radius: 6px; font-size: 13px; word-break: break-all; }
pre.code { background: var(--ink); color: #e9e6f0; padding: 12px 14px; border-radius: 8px; font-size: 12px; overflow-x: auto; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .nav { position: fixed; left: 0; top: 0; bottom: 0; width: 240px; z-index: 80; transform: translateX(-100%); transition: transform .2s; }
  .shell.nav-open .nav { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, .3); }
  .burger { display: block; position: fixed; top: 10px; left: 10px; z-index: 70; border: 0; background: var(--ink); color: #fff; width: 38px; height: 38px; border-radius: 9px; font-size: 18px; cursor: pointer; }
  .main { padding: 58px 12px 40px; }
  .entry { grid-template-columns: 18px 1fr auto auto; grid-template-areas: "sel main dur play" "sel tags time more"; row-gap: 0; }
  .entry > .sel { grid-area: sel; }
  .er-main { grid-area: main; flex-wrap: wrap; }
  .er-tags { grid-area: tags; }
  .er-bill { display: none; }
  .er-time { grid-area: time; }
  .er-dur { grid-area: dur; }
  .er-play { grid-area: play; opacity: 1; }
  .er-more { grid-area: more; opacity: 1; }
  .er-proj { max-width: 100%; }
  .timer-bar { top: 52px; }
  .tb-right { width: 100%; justify-content: flex-end; }
  .f-search { width: 100%; }
  .chart { height: 220px; }
}
