/* Android NotesBrand tokens from MainActivity.NotesBrand + values/colors.xml. */
:root {
  color-scheme: dark light;
  --notes-primary: #7de8e8;
  --notes-on-primary: #041014;
  --notes-primary-container: #1e5c5e;
  --notes-on-primary-container: #e8ffff;
  --notes-secondary: #9ed4de;
  --notes-on-secondary: #041014;
  --notes-secondary-container: #2a4a52;
  --notes-on-secondary-container: #e8f7fa;
  --notes-background: #080c0f;
  --notes-on-background: #f3f8f9;
  --notes-surface: #1a252c;
  --notes-on-surface: #f3f8f9;
  --notes-surface-variant: #2c3b44;
  --notes-on-surface-variant: #d0dee2;
  --notes-surface-dim: #080c0f;
  --notes-surface-bright: #33444d;
  --notes-surface-container-lowest: #05080a;
  --notes-surface-container-low: #12181f;
  --notes-surface-container: #1a252c;
  --notes-surface-container-high: #26343c;
  --notes-surface-container-highest: #32424b;
  --notes-outline: #7a9aa2;
  --notes-outline-variant: #3e5560;
  --notes-error: #ffb4ab;
  --notes-on-error: #690005;
  --notes-attention-fill: #5a4620;
  --notes-attention-on: #ffe7b0;
  --notes-chip-accent-fill: #4a3a62;
  --notes-chip-accent-on: #e8d9ff;
  --notes-brand-cyan: #7de8e8;
  --notes-launcher-bg: #171e23;
  --notes-radius: 16px;
  --notes-radius-sm: 12px;
  --notes-content: 720px;
  --notes-cat-produce: #b8d2c3;
  --notes-cat-dairy: #bac8d1;
  --notes-cat-bakery: #cfc8bc;
  --notes-cat-meat-fish: #cdbebe;
  --notes-cat-frozen: #b8ced2;
  --notes-cat-ready-meals: #cec2bd;
  --notes-cat-beverages: #b8d1cd;
  --notes-cat-sweets: #cdbccb;
  --notes-cat-condiments: #c7d1be;
  --notes-cat-household: #bec5cc;
  --notes-cat-drugstore: #c3bfd1;
  --notes-cat-other: #c0c9cb;
}

@media (prefers-color-scheme: light) {
  :root {
    --notes-primary: #1e5c5e;
    --notes-on-primary: #e8ffff;
    --notes-primary-container: #7de8e8;
    --notes-on-primary-container: #041014;
    --notes-secondary: #2a4a52;
    --notes-on-secondary: #e8f7fa;
    --notes-secondary-container: #9ed4de;
    --notes-on-secondary-container: #041014;
    --notes-background: #f3f8f9;
    --notes-on-background: #080c0f;
    --notes-surface: #e8f7fa;
    --notes-on-surface: #080c0f;
    --notes-surface-variant: #d0dee2;
    --notes-on-surface-variant: #3e5560;
    --notes-surface-dim: #d0dee2;
    --notes-surface-bright: #e8ffff;
    --notes-surface-container-lowest: #e8ffff;
    --notes-surface-container-low: #e8f7fa;
    --notes-surface-container: #e8f7fa;
    --notes-surface-container-high: #e8ffff;
    --notes-surface-container-highest: #d0dee2;
    --notes-outline: #7a9aa2;
    --notes-outline-variant: #9ed4de;
    --notes-error: #690005;
    --notes-on-error: #ffb4ab;
    --notes-attention-fill: #ffe7b0;
    --notes-attention-on: #5a4620;
    --notes-chip-accent-fill: #e8d9ff;
    --notes-chip-accent-on: #4a3a62;
    --notes-cat-produce: #466e59;
    --notes-cat-dairy: #4a606d;
    --notes-cat-bakery: #68604f;
    --notes-cat-meat-fish: #655052;
    --notes-cat-frozen: #48696f;
    --notes-cat-ready-meals: #675751;
    --notes-cat-beverages: #486c68;
    --notes-cat-sweets: #654f65;
    --notes-cat-condiments: #5c6c52;
    --notes-cat-household: #505b68;
    --notes-cat-drugstore: #57516d;
    --notes-cat-other: #526065;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  min-height: 100%;
  background: var(--notes-background);
  color: var(--notes-on-background);
}

body {
  font-family: "Roboto", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: 0.15px;
}

a {
  color: var(--notes-primary);
}

.notes-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--notes-background);
  color: var(--notes-on-background);
}

.notes-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 16px;
  background: var(--notes-surface-container-highest);
  color: var(--notes-on-surface);
}

.notes-topbar-brand {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: none;
}

.notes-topbar h1 {
  margin: 0;
  flex: 1;
  font-size: 22px;
  line-height: 28px;
  font-weight: 400;
}

.notes-main {
  flex: 1;
  width: 100%;
  max-width: var(--notes-content);
  margin: 0 auto;
  padding: 12px 16px 20px;
}

.notes-signed-in .notes-main {
  padding-bottom: 96px;
}

.notes-nav {
  display: flex;
  background: var(--notes-surface-container-highest);
  border-top: 1px solid var(--notes-outline-variant);
}

.notes-nav-inner {
  display: flex;
  width: 100%;
  max-width: var(--notes-content);
  margin: 0 auto;
}

.notes-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 8px 4px 10px;
  border: 0;
  background: transparent;
  color: var(--notes-on-surface-variant);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.4px;
}

.notes-nav-item.is-active {
  color: var(--notes-primary);
  font-weight: 600;
}

.notes-nav-item::before {
  content: "";
  width: 24px;
  height: 24px;
  background: currentColor;
  mask: center / contain no-repeat;
  -webkit-mask: center / contain no-repeat;
}

.notes-nav-item[data-icon="receipts"]::before {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M3 5v14a2 2 0 0 0 2 2h14V7l-4-4H5a2 2 0 0 0-2 2zm9 1h5.5L20 8.5V19H5V5h7zm-1 5H7v2h4zm6 0h-4v2h4zm-6 4H7v2h4zm6 0h-4v2h4z'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M3 5v14a2 2 0 0 0 2 2h14V7l-4-4H5a2 2 0 0 0-2 2zm9 1h5.5L20 8.5V19H5V5h7zm-1 5H7v2h4zm6 0h-4v2h4zm-6 4H7v2h4zm6 0h-4v2h4z'/></svg>");
}

.notes-nav-item[data-icon="chat"]::before {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H8l-4 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H8l-4 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/></svg>");
}

.notes-nav-item[data-icon="upload"]::before {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M11 19V8.8l-3.6 3.6L6 11l6-6 6 6-1.4 1.4L13 8.8V19zM5 21v-2h14v2z'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M11 19V8.8l-3.6 3.6L6 11l6-6 6 6-1.4 1.4L13 8.8V19zM5 21v-2h14v2z'/></svg>");
}

.notes-nav-item[data-icon="settings"]::before {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M19.4 13a7.7 7.7 0 0 0 0-2l2.1-1.6-2-3.5-2.5.5a7.5 7.5 0 0 0-1.7-1L15 2h-4l-.3 2.4a7.5 7.5 0 0 0-1.7 1L5.5 5.9l-2 3.5L5.6 11a7.7 7.7 0 0 0 0 2l-2.1 1.6 2 3.5 2.5-.5a7.5 7.5 0 0 0 1.7 1L11 22h4l.3-2.4a7.5 7.5 0 0 0 1.7-1l2.5.5 2-3.5zM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M19.4 13a7.7 7.7 0 0 0 0-2l2.1-1.6-2-3.5-2.5.5a7.5 7.5 0 0 0-1.7-1L15 2h-4l-.3 2.4a7.5 7.5 0 0 0-1.7 1L5.5 5.9l-2 3.5L5.6 11a7.7 7.7 0 0 0 0 2l-2.1 1.6 2 3.5 2.5-.5a7.5 7.5 0 0 0 1.7 1L11 22h4l.3-2.4a7.5 7.5 0 0 0 1.7-1l2.5.5 2-3.5zM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z'/></svg>");
}

@media (min-width: 840px) {
  .notes-signed-in .notes-main {
    padding-bottom: 24px;
  }

  .notes-nav {
    position: static;
    border-top: none;
    border-bottom: 1px solid var(--notes-outline-variant);
  }
}

@media (max-width: 839px) {
  .notes-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    padding-bottom: env(safe-area-inset-bottom);
  }
}

.notes-card {
  background: var(--notes-surface-container-high);
  color: var(--notes-on-surface);
  border: 1px solid var(--notes-outline);
  border-radius: var(--notes-radius);
  padding: 14px 16px;
}

.notes-card.is-clickable {
  cursor: pointer;
}

.notes-card.is-clickable:hover {
  border-color: var(--notes-primary);
}

.notes-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notes-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notes-row-main {
  flex: 1;
  min-width: 0;
}

.notes-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: var(--notes-primary-container);
  color: var(--notes-on-primary-container);
  font-size: 16px;
  font-weight: 700;
}

.notes-avatar.is-attention {
  background: var(--notes-attention-fill);
  color: var(--notes-attention-on);
}

.notes-title {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.notes-headline {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 400;
}

.notes-meta,
.notes-hint {
  margin: 0;
  color: var(--notes-on-surface-variant);
  font-size: 12px;
  line-height: 16px;
}

.notes-amount {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
}

.notes-banner {
  border-radius: var(--notes-radius-sm);
  border: 1px solid var(--notes-outline);
  background: var(--notes-surface-container-high);
  padding: 12px;
  margin: 0;
}

.notes-banner.is-error {
  border-color: var(--notes-error);
  color: var(--notes-error);
}

.notes-banner.is-ok {
  color: var(--notes-on-surface);
}

.notes-field,
.notes-area {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--notes-outline);
  border-radius: 4px;
  background: var(--notes-surface-container-lowest);
  color: var(--notes-on-surface);
  font: inherit;
  font-size: 16px;
}

.notes-area {
  min-height: 80px;
  resize: vertical;
}

.notes-field:focus,
.notes-area:focus {
  outline: 2px solid var(--notes-primary);
  outline-offset: 1px;
}

.notes-label {
  display: block;
  margin-bottom: 4px;
  color: var(--notes-on-surface-variant);
  font-size: 12px;
}

.notes-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.1px;
  cursor: pointer;
  text-decoration: none;
}

.notes-btn:disabled {
  opacity: 0.46;
  cursor: default;
}

.notes-btn-primary {
  background: var(--notes-primary);
  color: var(--notes-on-primary);
}

.notes-btn-secondary {
  background: transparent;
  color: var(--notes-primary);
  border-color: var(--notes-outline);
}

.notes-btn-danger {
  background: transparent;
  color: var(--notes-error);
  border-color: var(--notes-error);
}

.notes-btn-ghost {
  background: transparent;
  color: var(--notes-primary);
  border: 0;
  min-height: 40px;
  padding: 8px 12px;
}

.notes-icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--notes-on-surface);
  cursor: pointer;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notes-icon-btn:disabled {
  opacity: 0.46;
  cursor: default;
}

.notes-icon-btn.is-active {
  color: var(--notes-primary);
  background: var(--notes-primary-container);
}

.notes-icon-btn::before {
  content: "";
  width: 24px;
  height: 24px;
  background: currentColor;
  mask: center / contain no-repeat;
  -webkit-mask: center / contain no-repeat;
}

.notes-icon-btn[data-icon="history"]::before {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M13 3a9 9 0 0 0-9 9H1l4 4 4-4H6a7 7 0 1 1 7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.96 8.96 0 0 0 13 21a9 9 0 0 0 0-18zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M13 3a9 9 0 0 0-9 9H1l4 4 4-4H6a7 7 0 1 1 7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.96 8.96 0 0 0 13 21a9 9 0 0 0 0-18zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z'/></svg>");
}

.notes-headline-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notes-headline-row .notes-headline {
  flex: 1;
  margin: 0;
}

.notes-card.is-selected {
  border-color: var(--notes-primary);
}

.notes-chip.is-active-parse {
  background: var(--notes-primary-container);
  color: var(--notes-on-primary-container);
}

.notes-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.notes-compare.is-changed .notes-title {
  color: var(--notes-primary);
}

@media (max-width: 639px) {
  .notes-compare {
    grid-template-columns: 1fr;
  }
}

.notes-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--notes-surface-variant);
  color: var(--notes-on-surface);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.4px;
}

.notes-chip.is-cat-produce { color: var(--notes-cat-produce); background: transparent; }
.notes-chip.is-cat-dairy { color: var(--notes-cat-dairy); background: transparent; }
.notes-chip.is-cat-bakery { color: var(--notes-cat-bakery); background: transparent; }
.notes-chip.is-cat-meat_fish { color: var(--notes-cat-meat-fish); background: transparent; }
.notes-chip.is-cat-frozen { color: var(--notes-cat-frozen); background: transparent; }
.notes-chip.is-cat-ready_meals { color: var(--notes-cat-ready-meals); background: transparent; }
.notes-chip.is-cat-beverages { color: var(--notes-cat-beverages); background: transparent; }
.notes-chip.is-cat-sweets { color: var(--notes-cat-sweets); background: transparent; }
.notes-chip.is-cat-condiments { color: var(--notes-cat-condiments); background: transparent; }
.notes-chip.is-cat-household { color: var(--notes-cat-household); background: transparent; }
.notes-chip.is-cat-drugstore { color: var(--notes-cat-drugstore); background: transparent; }
.notes-chip.is-cat-other { color: var(--notes-cat-other); background: transparent; }

.notes-sign-in {
  max-width: 400px;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.notes-brand-mark {
  width: 152px;
  height: 152px;
  object-fit: contain;
  margin: 16px 0 4px;
  background: transparent;
}

.notes-sign-in .notes-hint {
  text-align: center;
  max-width: 36rem;
}

.notes-sign-in .notes-btn {
  width: 100%;
}

.notes-sign-in-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.notes-or {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  color: var(--notes-on-surface-variant);
  font-size: 12px;
}

.notes-or::before,
.notes-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--notes-outline-variant);
}

.notes-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.notes-toolbar .notes-field {
  flex: 1;
  min-width: 160px;
}

.notes-chat-turn {
  display: flex;
}

.notes-chat-turn.is-user {
  justify-content: flex-end;
}

.notes-bubble {
  width: 88%;
  max-width: 88%;
  border-radius: var(--notes-radius);
  border: 1px solid var(--notes-outline);
  background: var(--notes-surface-container-high);
  padding: 10px 14px;
}

.notes-chat-turn.is-user .notes-bubble {
  background: var(--notes-primary-container);
  color: var(--notes-on-primary-container);
  border-color: var(--notes-primary);
}

.notes-bubble pre {
  margin: 8px 0 0;
  white-space: pre-wrap;
  font: inherit;
}

.notes-composer {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.notes-list-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 0;
  border-bottom: 1px solid var(--notes-outline-variant);
}

html[data-lang="en"] [data-copy="de"],
html:not([data-lang="en"]) [data-copy="en"] {
  display: none !important;
}

.notes-langbar {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 16px;
  background: color-mix(in srgb, var(--notes-background) 88%, transparent);
}

.notes-lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--notes-on-surface-variant);
  font-size: 13px;
}

.notes-lang-switch-label {
  font-size: 13px;
}

.notes-lang-switch select,
.notes-lang-switch #notes-lang {
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--notes-outline-variant);
  border-radius: 10px;
  background: var(--notes-surface-container-high);
  color: var(--notes-on-surface);
  font: inherit;
  font-size: 14px;
}

.notes-marketing-body {
  margin: 0;
  min-height: 100%;
  background: var(--notes-background);
  color: var(--notes-on-background);
}

.notes-marketing {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 16px 3rem;
  line-height: 1.45;
}

.notes-marketing-hero {
  max-width: 40rem;
}

.notes-marketing-promise {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--notes-on-surface);
}

.notes-marketing h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 500;
}

.notes-marketing-carousel {
  --notes-marketing-shot: 450px;
  --notes-marketing-shot-max-h: min(72vh, 820px);
  --notes-marketing-shot-w: min(
    var(--notes-marketing-shot),
    calc(var(--notes-marketing-shot-max-h) * 720 / 1560)
  );
  margin: 0 0 2.5rem;
}

.notes-marketing-carousel-stage {
  position: relative;
  max-width: var(--notes-marketing-shot-w);
  margin: 0 auto;
}

.notes-marketing-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 4px 0 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.notes-marketing-slide:not(.is-active) {
  position: absolute;
  inset: 0;
}

.notes-marketing-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.notes-marketing-slide-copy {
  max-width: 28rem;
}

.notes-marketing-slide-copy .notes-marketing-kicker {
  font-size: 12px;
  margin-bottom: 2px;
}

.notes-marketing-slide-copy h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 500;
}

.notes-marketing-slide-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--notes-on-surface-variant);
}

.notes-marketing-slide figure {
  margin: 0;
  width: min(var(--notes-marketing-shot-w), 100%);
  background: var(--notes-surface-container-lowest);
  border: 1px solid var(--notes-outline-variant);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px color-mix(in srgb, #000 18%, transparent);
}

.notes-marketing-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: var(--notes-marketing-shot-max-h);
  object-fit: contain;
}

.notes-marketing-slide figure img + img {
  margin-top: 0;
}

.notes-marketing-slide figcaption {
  margin: 0;
  padding: 6px 12px 8px;
  color: var(--notes-on-surface-variant);
  font-size: 13px;
}

.notes-marketing-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.notes-marketing-carousel-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--notes-outline-variant);
  border-radius: 18px;
  background: var(--notes-surface-container-high);
  color: var(--notes-on-surface);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.notes-marketing-carousel-dots {
  display: flex;
  gap: 8px;
}

.notes-marketing-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--notes-outline-variant);
  cursor: pointer;
}

.notes-marketing-carousel-dots button.is-active {
  width: 22px;
  background: var(--notes-primary);
}

.notes-marketing-testers-hint {
  margin: -8px 0 2rem;
  color: var(--notes-on-surface-variant);
  font-size: 13px;
}

.notes-marketing-cta {
  max-width: 36rem;
  margin: 0 0 2.5rem;
  padding: 1.5rem 0 0;
}

.notes-marketing-cta p {
  margin: 0 0 16px;
  color: var(--notes-on-surface-variant);
}

.notes-marketing-testers {
  color: var(--notes-on-surface-variant) !important;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .notes-marketing-slide {
    transition: none;
  }
}

.notes-marketing-mark {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
  background: transparent;
}

.notes-marketing-kicker {
  margin: 0 0 4px;
  color: var(--notes-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.notes-marketing h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 500;
}

.notes-marketing-pitch {
  margin: 0 0 20px;
  color: var(--notes-on-surface);
}

.notes-marketing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 2rem;
}

.notes-marketing-play img {
  display: block;
  height: 56px;
  width: auto;
}

.notes-marketing-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 0 0 2rem;
}

.notes-marketing-shots figure {
  margin: 0;
  background: var(--notes-surface-container);
  border: 1px solid var(--notes-outline-variant);
  border-radius: var(--notes-radius);
  overflow: hidden;
}

.notes-marketing-shots img {
  display: block;
  width: 100%;
  height: auto;
}

.notes-marketing-shots figcaption {
  margin: 0;
  padding: 10px 12px 12px;
  color: var(--notes-on-surface-variant);
  font-size: 13px;
}

.notes-marketing-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--notes-on-surface-variant);
}

.notes-marketing-foot a {
  color: var(--notes-primary);
}

.notes-search-row {
  display: flex;
}

.notes-add {
  width: 100%;
}

.notes-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.notes-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 220px;
  padding: 28px 20px;
  border: 2px dashed var(--notes-primary);
  border-radius: var(--notes-radius);
  background: var(--notes-surface-container-low);
  text-align: center;
}

.notes-drop-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.notes-list {
  display: flex;
  flex-direction: column;
  background: var(--notes-surface-container);
  border-radius: var(--notes-radius);
  overflow: hidden;
}

.notes-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 6px 14px;
  border: 0;
  border-bottom: 1px solid var(--notes-outline-variant);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.notes-list-item:last-child {
  border-bottom: 0;
}

.notes-list-item:hover {
  background: var(--notes-surface-container-high);
}

.notes-section {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 10px 14px 4px;
  border: 0;
  background: var(--notes-surface-container-low);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.notes-section.is-year {
  padding-top: 14px;
}

.notes-section-title {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.notes-section.is-year .notes-section-title {
  font-size: 16px;
  text-transform: none;
}

.notes-empty {
  padding: 24px 8px;
}

.notes-receipt-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notes-receipt-total {
  font-size: 20px;
}

.notes-lines {
  display: flex;
  flex-direction: column;
  background: var(--notes-surface-container);
  border-radius: var(--notes-radius);
  overflow: hidden;
}

.notes-line {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 6px 14px 6px 12px;
  border: 0;
  border-bottom: 1px solid var(--notes-outline-variant);
  border-left: 4px solid var(--notes-cat-other);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.notes-line:last-child {
  border-bottom: 0;
}

.notes-line.is-editing {
  background: var(--notes-surface-container-high);
}

.notes-line-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notes-line.is-cat-produce { border-left-color: var(--notes-cat-produce); }
.notes-line.is-cat-dairy { border-left-color: var(--notes-cat-dairy); }
.notes-line.is-cat-bakery { border-left-color: var(--notes-cat-bakery); }
.notes-line.is-cat-meat_fish { border-left-color: var(--notes-cat-meat-fish); }
.notes-line.is-cat-frozen { border-left-color: var(--notes-cat-frozen); }
.notes-line.is-cat-ready_meals { border-left-color: var(--notes-cat-ready-meals); }
.notes-line.is-cat-beverages { border-left-color: var(--notes-cat-beverages); }
.notes-line.is-cat-sweets { border-left-color: var(--notes-cat-sweets); }
.notes-line.is-cat-condiments { border-left-color: var(--notes-cat-condiments); }
.notes-line.is-cat-household { border-left-color: var(--notes-cat-household); }
.notes-line.is-cat-drugstore { border-left-color: var(--notes-cat-drugstore); }
.notes-line.is-cat-other { border-left-color: var(--notes-cat-other); }

.notes-queue {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notes-queue-row.is-busy {
  border-left: 3px solid var(--notes-primary);
  padding-left: 8px;
}

.notes-stack {
  position: relative;
}

.notes-busy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 16px;
}

.notes-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--notes-outline-variant);
  border-top-color: var(--notes-primary);
  border-radius: 50%;
  animation: notes-spin 0.7s linear infinite;
}

.notes-queue-row .notes-busy,
.notes-bubble .notes-busy {
  min-height: 24px;
  padding: 0;
  justify-content: flex-end;
}

.notes-queue-row .notes-spinner,
.notes-bubble .notes-spinner {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

@keyframes notes-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .notes-spinner {
    animation: none;
  }
}

.notes-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.notes-chip.is-active {
  background: var(--notes-primary-container);
  color: var(--notes-on-primary-container);
}

.notes-edit {
  border-color: var(--notes-primary);
}
