@font-face {
  font-family: 'Rubik';
  src: url('./fonts/rubik.woff') format('woff');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --concrete: #E7E8E3;   /* page: poured-concrete grey */
  --paper: #FBFBF8;      /* cards and panels */
  --ink: #18252E;        /* text, nav: blueprint ink */
  --ink-2: #4F5C64;      /* secondary text */
  --line: #CDD1CA;
  --hivis: #FFC21A;      /* safety yellow: the one loud colour */
  --hivis-deep: #E0A600;
  --open: #18252E;
  --progress: #9A5B00;
  --done: #2B7448;
  --late: #B9302A;
  --late-bg: #FBE9E7;
  --focus: #1F6FEB;
  --r-s: 8px;
  --r-m: 14px;
  --nav-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font: 400 17px/1.55 'Rubik', system-ui, 'Segoe UI', Arial, sans-serif;
  padding-bottom: calc(var(--nav-h) + var(--safe-b) + 16px);
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr, .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { top: 8px; }
.ic { width: 22px; height: 22px; flex: none; }
.loading { padding: 40px 16px; color: var(--ink-2); }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: var(--ink); color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; text-decoration: none; letter-spacing: .01em; }
.brand-mark { width: 22px; height: 22px; border: 3px solid var(--hivis); border-radius: 4px; position: relative; }
.brand-mark::after { content: ''; position: absolute; inset: 4px; background: var(--hivis); border-radius: 50%; }
.conn { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #C8D2D8; }
.conn .ic { width: 18px; height: 18px; }
.conn.off { color: var(--hivis); }

.update-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #FFF4CF; border-bottom: 1px solid var(--hivis-deep); font-size: 15px; }
.update-bar[hidden] { display: none; }

main { display: block; max-width: 1080px; margin: 0 auto; padding: 16px; outline: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: var(--paper); border-top: 1px solid var(--line);
}
.nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; font-size: 13.5px; color: var(--ink-2); position: relative; }
.nav a .ic { width: 25px; height: 25px; }
.nav a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="true"]::before { content: ''; position: absolute; top: 0; inset-inline: 22%; height: 4px; background: var(--hivis); border-radius: 0 0 4px 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 18px; border-radius: var(--r-s);
  border: 2px solid transparent; background: none; cursor: pointer;
  font-weight: 600; font-size: 16.5px; text-decoration: none; line-height: 1.2; text-align: center;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn.secondary { background: var(--paper); border-color: var(--ink); }
.btn.plain { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.danger { background: var(--late); color: #fff; }
.btn.danger-text { color: var(--late); }
.btn.small { min-height: 42px; padding: 0 12px; font-size: 15px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; }

/* ---------- capture ---------- */
.capture-screen { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.project-switch {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label change" "name change";
  align-items: center; text-align: start; padding: 14px 18px; border-radius: var(--r-m);
  border: 2px solid var(--ink); background: var(--paper); cursor: pointer;
}
.ps-label { grid-area: label; font-size: 14px; color: var(--ink-2); }
.ps-name { grid-area: name; font-size: 24px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.ps-change { grid-area: change; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.capture-meta { margin: -4px 4px 0; color: var(--ink-2); font-size: 15.5px; }

/* The one loud element: a hi-vis capture slab with a hazard-tape edge. */
.capture-btn {
  position: relative; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 38vh; max-height: 340px; padding: 24px 24px 44px;
  background: var(--hivis); color: #1A1810; border-radius: var(--r-m);
  box-shadow: inset 0 -3px 0 var(--hivis-deep);
  user-select: none;
}
.capture-btn .ic { width: 84px; height: 84px; stroke-width: 1.6; }
.cb-text { font-size: 30px; font-weight: 800; letter-spacing: .01em; }
.cb-stripes {
  position: absolute; inset-inline: 0; bottom: 0; height: 22px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--hivis) 14px 28px);
}
.capture-btn:active { filter: brightness(.95); }
.capture-btn:focus-within { outline: 4px solid var(--focus); outline-offset: 3px; }
.save-line { min-height: 26px; margin: 0; display: flex; align-items: center; gap: 6px; justify-content: center; font-weight: 600; color: var(--done); }
.save-line .ic { width: 20px; height: 20px; }
label.btn:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

.pending { background: var(--late-bg); border: 1px solid #E8B4AE; border-radius: var(--r-m); padding: 12px 14px; }
.pending h3 { margin: 0 0 8px; font-size: 17px; display: flex; align-items: center; gap: 8px; color: var(--late); }
.pending-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #EFC9C4; font-size: 15px; }
.pending-row span { flex: 1 1 100%; }

.sub-h { font-size: 17px; margin: 10px 2px 0; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.strip-card { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.strip-note { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-more { display: inline-flex; align-items: center; gap: 6px; margin: 14px 4px; font-weight: 600; color: var(--ink); text-underline-offset: 4px; }

/* ---------- photo frames ---------- */
.ph { position: relative; display: block; aspect-ratio: 4 / 3; background: #D6D9D2; border-radius: var(--r-s); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.missing::after { content: 'התמונה לא נמצאה'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--ink-2); }

/* ---------- items ---------- */
.filters { position: sticky; top: 56px; z-index: 10; margin: -16px -16px 0; padding: 12px 16px 10px; background: var(--concrete); display: flex; flex-direction: column; gap: 10px; }
.select-wrap select { width: 100%; min-height: 50px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--paper); font-weight: 600; font-size: 17px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: #D9DCD5; border-radius: var(--r-s); padding: 3px; gap: 3px; }
.tab { min-height: 44px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 4px; }
.tab[aria-selected="true"] { background: var(--paper); font-weight: 700; box-shadow: 0 1px 0 var(--line); }
.tab-n { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 4px; }
.summary { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.day { margin-top: 18px; }
.day-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); font-size: 19px; }
.day-title { font-weight: 700; }
.day-sub { font-weight: 400; color: var(--ink-2); font-size: 15px; }
.day-n { margin-inline-start: auto; font-size: 14px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.card { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); }
.card .ph { border-radius: 0; }
.card.is-late { border-color: #E2A29C; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 9px 10px 11px; min-width: 0; }
.card-project { font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.card-note { font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.count { position: absolute; bottom: 8px; inset-inline-end: 8px; display: flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; background: rgba(24, 37, 46, .86); color: #fff; font-size: 13.5px; font-weight: 600; }
.count .ic { width: 16px; height: 16px; }

.selecting .card { cursor: pointer; }
.tick { position: absolute; top: 8px; inset-inline-start: 8px; width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; background: rgba(24, 37, 46, .35); display: grid; place-items: center; color: transparent; }
.card.is-sel { outline: 4px solid var(--ink); outline-offset: -4px; }
.card.is-sel .tick { background: var(--hivis); border-color: var(--ink); color: var(--ink); }
.tick .ic { width: 20px; height: 20px; }
.select-bar {
  position: fixed; inset-inline: 0; bottom: calc(var(--nav-h) + var(--safe-b)); z-index: 15;
  display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--paper); border-top: 2px solid var(--ink);
}
.sb-n { flex: 1; font-weight: 600; font-size: 15px; }
.selecting { padding-bottom: 80px; }

/* status marks: shape + word */
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 600; }
.mk { width: 16px; height: 16px; flex: none; }
.s-open { color: var(--open); }
.s-progress { color: var(--progress); }
.s-done { color: var(--done); }
.late { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; background: var(--late-bg); color: var(--late); font-size: 13.5px; font-weight: 700; }
.late .ic { width: 15px; height: 15px; }
.late-text { color: var(--late); font-weight: 600; }

/* ---------- item ---------- */
.item-screen { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.item-top { display: flex; align-items: center; gap: 12px; }
.item-project { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; }
.item-date { margin: 0; color: var(--ink-2); font-size: 15px; }
.status-box { background: var(--paper); border-radius: var(--r-m); padding: 12px; border: 1px solid var(--line); }
.status-info { margin: 10px 4px 0; font-size: 15px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.status-info:empty { display: none; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg-opt { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; padding: 0 4px; font-size: 15.5px; border: 2px solid var(--line); border-radius: var(--r-s); cursor: pointer; font-weight: 600; background: var(--paper); text-align: center; line-height: 1.2; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt .mk { width: 20px; height: 20px; }
.seg-opt:has(input:checked) { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; background: #fff; }
.seg-opt.s-open:has(input:checked) { background: #EDF0F2; }
.seg-opt.s-progress:has(input:checked) { background: #FFF3DC; }
.seg-opt.s-done:has(input:checked) { background: #E5F2EA; }
.seg-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

.shots { display: flex; flex-direction: column; gap: 18px; }
.shot { margin: 0; background: var(--paper); border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); }
button.ph { width: 100%; border: 0; padding: 0; cursor: zoom-in; border-radius: 0; aspect-ratio: auto; min-height: 200px; }
button.ph img { height: auto; max-height: 70vh; object-fit: contain; background: #2A3238; }
.cover-tag { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: var(--hivis); color: var(--ink); font-size: 13.5px; font-weight: 700; }
.cover-tag .ic { width: 16px; height: 16px; }
.shot figcaption { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.note { text-align: start; border: 0; background: none; padding: 0; cursor: pointer; font-size: 17px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.note.empty-note { color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; align-self: flex-start; }
.shot-meta { font-size: 13.5px; color: var(--ink-2); }
.shot-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.item-add { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.banner { border-radius: var(--r-m); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.banner.warn { background: #FFF4CF; border: 1px solid var(--hivis-deep); }
.banner p { margin: 0; }

/* viewer */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0F1519; color: #fff; }
.viewer::backdrop { background: #0F1519; }
.viewer-scroll { direction: ltr; position: absolute; inset: 0 0 72px; overflow: auto; display: grid; place-items: center; touch-action: pan-x pan-y pinch-zoom; }
.viewer-scroll img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.viewer.zoomed .viewer-scroll { display: block; }
.viewer.zoomed .viewer-scroll img { max-width: none; max-height: none; cursor: zoom-out; }
.viewer-bar { position: absolute; inset-inline: 0; bottom: 0; height: 72px; padding: 0 16px calc(var(--safe-b)); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; color: #C8D2D8; }
.viewer-bar .btn.primary { background: var(--hivis); color: var(--ink); }

/* ---------- projects / settings / trash ---------- */
.screen-h { font-size: 26px; margin: 4px 0 14px; }
.inline-add { display: flex; gap: 8px; margin-bottom: 16px; }
.inline-add input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--paper); }
.proj-list, .trash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.proj { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; }
.proj-main { flex: 1; min-width: 0; text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.proj-name { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.proj-stats { font-size: 15px; }
.proj-rule { font-size: 13.5px; color: var(--ink-2); }
.archive { margin-top: 20px; }
.archive summary { cursor: pointer; font-weight: 600; padding: 10px 2px; min-height: 44px; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.panel h2 { margin: 6px 0 0; font-size: 19px; }
.panel h2:first-child { margin-top: 0; }
.panel p { margin: 0; }
.panel p .ic { vertical-align: -5px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0 0 12px; }
.field > span, .field legend, .field-label { font-weight: 600; font-size: 15.5px; margin: 0; padding: 0; }
.field input[type=text], .field input[type=date], .field textarea, .field select, .panel select, .panel input[type=number], .field input[type=date],
.period-custom input, .period-custom select {
  min-height: 48px; padding: 8px 12px; border: 2px solid var(--line); border-radius: var(--r-s); background: #fff; width: 100%;
}
.field textarea { resize: vertical; line-height: 1.5; }
.radio { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.radio input { width: 22px; height: 22px; accent-color: var(--ink); }
.hint { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--line); border-radius: 99px; font-weight: 500; background: #fff; }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.period { display: flex; flex-direction: column; gap: 8px; }
.period-custom { display: flex; gap: 8px; max-width: 320px; }
.period-custom[hidden] { display: none; }
.version { color: var(--ink-2); font-size: 13.5px; }

.trash-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 10px; }
.trash-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.trash-actions { grid-column: 1 / -1; display: flex; gap: 8px; }

/* ---------- empty / dialogs / toast ---------- */
.empty { text-align: center; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty p { margin: 0; color: var(--ink-2); max-width: 36ch; }
.empty .empty-big { font-size: 21px; font-weight: 700; color: var(--ink); }
.empty .btn { margin-top: 12px; }

.dlg { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); border: 0; border-radius: var(--r-m); padding: 0; background: var(--paper); color: var(--ink); }
.dlg::backdrop { background: rgba(15, 21, 25, .55); }
.dlg form { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.dlg-title { margin: 0; font-size: 21px; line-height: 1.3; }
.dlg-body p { margin: 0 0 10px; }
.dlg-error { margin: 0; color: var(--late); font-weight: 600; }
.dlg-error[hidden] { display: none; }
.dlg-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.pick-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; max-height: 40vh; overflow: auto; }
.pick { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 14px; border: 2px solid var(--line); border-radius: var(--r-s); cursor: pointer; font-size: 18px; font-weight: 600; }
.pick input { width: 22px; height: 22px; accent-color: var(--ink); }
.pick:has(input:checked) { border-color: var(--ink); background: #fff; }

.toast {
  position: fixed; z-index: 40; inset-inline: 12px; bottom: calc(var(--nav-h) + var(--safe-b) + 12px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 520px; margin: 0 auto; padding: 12px 16px; border-radius: var(--r-s);
  background: var(--ink); color: #fff; font-weight: 500;
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s;
}
.toast.show { transform: none; opacity: 1; pointer-events: auto; }
.toast.error { background: var(--late); }
.toast-action { border: 0; background: var(--hivis); color: var(--ink); font-weight: 700; border-radius: 6px; min-height: 40px; padding: 0 12px; cursor: pointer; flex: none; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .dlg-actions { flex-direction: row-reverse; justify-content: flex-start; }
  .trash-row { grid-template-columns: 120px 1fr auto; align-items: center; }
  .trash-actions { grid-column: auto; flex-direction: column; }
}
@media (min-width: 960px) {
  body { padding-bottom: 24px; padding-inline-start: 104px; }
  .nav { inset-inline: auto; inset-inline-start: 0; top: 0; bottom: 0; width: 104px; height: auto; grid-template-columns: 1fr; grid-auto-rows: 84px; align-content: start; padding-top: 64px; border-top: 0; border-inline-end: 1px solid var(--line); }
  .nav a[aria-current="true"]::before { top: 18%; bottom: 18%; inset-inline: auto; inset-inline-start: 0; width: 4px; height: auto; border-radius: 0 4px 4px 0; }
  .select-bar, .toast { bottom: 16px; }
  .select-bar { inset-inline-start: 104px; }
  .filters { flex-direction: row; align-items: center; }
  .filters .select-wrap { flex: 0 0 280px; }
  .filters .tabs { flex: 1; }
  .capture-btn { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- backup status ---------- */
.conn-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.conn.ok { color: #9FE3B9; }
.bk-line { margin: 0; }
.bk { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.bk .ic { width: 20px; height: 20px; }
.bk-ok { color: var(--done); }
.bk-warn { color: var(--progress); }
.bk-run { color: var(--ink-2); }
.backup-msg { background: #FFF4CF; border: 1px solid var(--hivis-deep); border-radius: var(--r-s); padding: 10px 12px; }
.backup-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #FFF4CF; border-bottom: 1px solid var(--hivis-deep); font-size: 15px; }
.backup-bar .btn { flex: none; }

/* notifications panel */
.notify-form { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.notify-form input[type=time] { font: inherit; font-size: 17px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s, 8px); background: #fff; min-height: 48px; }
.days { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.days legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.days .day { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.days .day input { width: 20px; height: 20px; margin: 0; }
