:root {
  --paper: #F6F2E8;
  --surface: #FBF8F0;
  --surface-2: #FFFDF8;
  --ink: #241D13;
  --muted: #6F6A60;
  --faint: #A99F91;
  --line: #D8CFBE;
  --line-soft: rgba(216, 207, 190, .72);
  --accent: #7A2A22;
  --accent-dark: #512019;
  --gold: #A78A4A;
  --green: #58684C;
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --topbar: 60px;
  --nav: 74px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    linear-gradient(180deg, #FAF7F0 0%, var(--paper) 42%, #F2ECDf 100%);
  font-family: var(--sans);
}
button, input, textarea { font: inherit; }
button { color: inherit; -webkit-tap-highlight-color: transparent; cursor: pointer; }

.app { max-width: 860px; margin: 0 auto; min-height: 100dvh; overflow-x: clip; position: relative; display: flex; flex-direction: column; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: calc(var(--topbar) + var(--safe-top));
  padding: var(--safe-top) 16px 0;
  display: grid;
  grid-template-columns: 44px 1fr 56px;
  align-items: center;
  background: rgba(246, 242, 232, .96);
  border-bottom: 1px solid rgba(216, 207, 190, .82);
  backdrop-filter: blur(10px);
}
.mark {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 4px;
}
.mark img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; mix-blend-mode: multiply; }
.title-block { text-align: center; min-width: 0; }
.title-block strong {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .045em;
  line-height: 1;
}
.menu-trigger, .plain-close, .text-link {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .025em;
}
.menu-trigger { text-align: right; letter-spacing: .08em; text-transform: uppercase; }

.view {
  min-height: calc(100dvh - var(--topbar) - var(--safe-top));
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 0 18px calc(var(--nav) + var(--safe-bottom) + 36px);
  outline: 0;
}
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }

.page-head { padding: 21px 0 12px; }
.small-label {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.page-head h1, .panel h2, .sheet h2, .about-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: .01em;
}
.page-head h1 { font-size: clamp(30px, 8.6vw, 42px); line-height: 1; }
.page-head p { margin: 9px 0 0; color: var(--muted); line-height: 1.48; font-size: 14px; }

.hero {
  position: relative;
  height: clamp(255px, 34vh, 390px);
  overflow: hidden;
  isolation: isolate;
  background: #dad2c2;
  border-bottom: 1px solid rgba(216, 207, 190, .5);
}
.hero.review { height: clamp(330px, 43vh, 465px); }
.hero img {
  position: absolute;
  inset: -8% 0 -9%;
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translate3d(0, var(--p, 0px), 0) scale(1.012);
  will-change: transform;
}
.hero.carnets img { object-position: center center; }
.hero.review img { object-position: 64% center; inset: 0 0 auto 0; height: 105%; }
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246,242,232,0) 50%, rgba(246,242,232,.78) 86%, var(--paper) 100%),
    linear-gradient(90deg, rgba(36,29,19,.12), rgba(36,29,19,0) 34%, rgba(36,29,19,.08));
  pointer-events: none;
}
.hero.review::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,0) 42%, rgba(246,242,232,.82) 88%, var(--paper) 100%),
    linear-gradient(90deg, rgba(15,20,20,.34), rgba(15,20,20,.03) 48%, rgba(15,20,20,.16));
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(22px, calc((100vw - 820px) / 2 + 22px));
  right: max(22px, calc((100vw - 820px) / 2 + 22px));
  bottom: 28px;
}
.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 13vw, 72px);
  line-height: .86;
  letter-spacing: .03em;
}
.hero-copy p { margin: 6px 0 0; color: var(--muted); font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.hero.review .hero-copy { color: #FFF8E8; text-shadow: 0 2px 22px rgba(0,0,0,.42); }
.hero.review .hero-copy .small-label, .hero.review .hero-copy p { color: rgba(255,248,232,.88); }

.stack { display: grid; gap: 14px; margin-top: 12px; }
.panel {
  background: rgba(251, 248, 240, .88);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
}
.panel h2 { font-size: 23px; line-height: 1.08; }
.panel-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 12px; }
.panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.count { color: var(--accent); font-weight: 800; font-size: 13px; }

.quick-field {
  width: 100%;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink);
  outline: 0;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.42;
}
.quick-field::placeholder { color: var(--faint); }
.type-strip, .filter-strip, .meta-strip {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 11px;
}
.type-strip button, .filter-strip button, .meta-strip button {
  border: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  padding: 4px 0 5px;
  font-weight: 700;
  font-size: 12px;
}
.type-strip button:hover, .filter-strip button.active, .meta-strip button.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.note-list, .notebook-list, .choice-list, .settings-list, .review-list { display: grid; gap: 0; }
.note-row, .notebook-row, .choice-row, .review-row {
  width: 100%;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line-soft);
  background: transparent;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}
.note-row:first-child, .notebook-row:first-child, .choice-row:first-child, .review-row:first-child { border-top: 0; }
.note-row h3, .notebook-row h3, .choice-row h3, .review-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.1;
}
.note-row p, .notebook-row p, .choice-row p, .review-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.38;
}
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.star-mark { color: var(--gold); font-size: 18px; line-height: 1; padding-top: 2px; }
.chevron { color: var(--faint); font-size: 20px; padding-top: 1px; }

.primary {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ink), #46331F);
  color: #FFF8E8;
  min-height: 48px;
  padding: 0 17px;
  font-weight: 800;
  letter-spacing: .01em;
}
.secondary {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink);
  min-height: 40px;
  padding: 0 13px;
  font-weight: 700;
}

.entry-total {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}
.entry-total strong { color: var(--accent); font-size: 18px; }

.choice-mark {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 18px;
  padding-top: 1px;
}

.editor-top {
  position: sticky;
  top: calc(var(--topbar) + var(--safe-top));
  z-index: 30;
  display: grid;
  grid-template-columns: 64px 1fr 74px;
  align-items: center;
  gap: 8px;
  margin: 0 -18px 14px;
  padding: 9px 18px;
  background: rgba(246,242,232,.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
}
.editor-top .small-label { margin: 0; text-align: center; }
.save-state { color: var(--green); font-size: 12px; font-weight: 700; text-align: right; }
.editor {
  padding: 4px 0 18px;
}
.editor-title {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  outline: 0;
  padding: 12px 0 14px;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.02;
  color: var(--ink);
}
.editor-body {
  width: 100%;
  min-height: 310px;
  border: 0;
  background: transparent;
  outline: 0;
  resize: vertical;
  padding: 18px 0 10px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.43;
  color: var(--ink);
}
.meta-panel {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(251,248,240,.72);
  padding: 12px;
}
.meta-grid { display: grid; gap: 8px; margin-top: 10px; }
.meta-grid div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 8px; }
.meta-grid div:first-child { border-top: 0; padding-top: 0; }
.meta-grid span { color: var(--muted); font-size: 12px; }
.meta-grid strong { font-family: var(--serif); font-size: 17px; }

.search-box {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  outline: 0;
  padding: 0 13px;
  color: var(--ink);
}

.review-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.metric { border: 1px solid var(--line); border-radius: 12px; background: rgba(251,248,240,.82); padding: 12px; }
.metric strong { display: block; font-family: var(--serif); font-size: 31px; line-height: .9; }
.metric span { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }

.settings-card {
  border-top: 1px solid var(--line-soft);
  padding: 16px 0;
}
.settings-card:first-child { border-top: 0; }
.settings-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 22px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; }
.settings-row span, .settings-card p { color: var(--muted); font-size: 13px; line-height: 1.45; }

.about-panel { text-align: center; padding: 24px 16px; }
.about-panel .rose-large { width: 66px; height: 66px; object-fit: cover; border-radius: 5px; mix-blend-mode: multiply; margin-bottom: 14px; }
.about-title { font-size: 48px; line-height: .9; }
.about-panel p { color: var(--muted); line-height: 1.52; max-width: 420px; margin: 12px auto 0; }
.heraldic-image { max-width: 238px; margin: 20px auto 0; border: 1px solid var(--line); background: #fff; }
.heraldic-image img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }

.footer-signature {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  align-items: center;
  gap: 10px;
  margin: auto 0 4px;
  color: var(--muted);
}
.footer-signature span { height: 1px; background: var(--line-soft); }
.footer-rose { border: 0; background: transparent; padding: 0; width: 28px; height: 28px; }
.footer-rose img { width: 28px; height: 28px; object-fit: cover; border-radius: 4px; mix-blend-mode: multiply; opacity: .86; display: block; }
.footer-signature p { grid-column: 1 / -1; text-align: center; margin: 0; font-family: var(--serif); font-size: 15px; }

.bottom-nav {
  position: fixed;
  z-index: 70;
  left: 0; right: 0; bottom: 0;
  min-height: calc(var(--nav) + var(--safe-bottom));
  padding: 7px max(10px, calc((100vw - 860px) / 2 + 10px)) calc(8px + var(--safe-bottom));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  background: rgba(246,242,232,.94);
  border-top: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
}
.bottom-nav button {
  height: 48px;
  border: 0;
  border-top: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  padding: 7px 1px 4px;
}
.bottom-nav button.active { color: var(--accent); border-top-color: var(--accent); }
.bottom-nav .add-tab {
  height: 50px;
  border: 0;
  border-top: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding-top: 5px;
}
.bottom-nav .add-tab span { display: block; font-size: 20px; line-height: 1; color: var(--accent); }
.bottom-nav .add-tab small { display: block; font-size: 10px; margin-top: 2px; }
.bottom-nav .add-tab.active { border-top-color: var(--accent); color: var(--accent); }

.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(24,18,12,.38); }
.sheet {
  position: fixed;
  z-index: 100;
  left: max(12px, calc((100vw - 860px) / 2 + 12px));
  right: max(12px, calc((100vw - 860px) / 2 + 12px));
  bottom: 10px;
  transform: translateY(calc(100% + 24px));
  transition: transform .24s ease;
  pointer-events: none;
  background: rgba(251,248,240,.98);
  border: 1px solid var(--line);
  border-radius: 22px 22px 14px 14px;
  padding: 10px 14px 16px;
}
.sheet.open { transform: translateY(0); pointer-events: auto; }
.sheet-handle { width: 42px; height: 3px; background: var(--line); border-radius: 99px; margin: 0 auto 12px; }
.sheet-head { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 8px; }
.sheet h2 { font-size: 29px; line-height: 1; }
.sheet-nav button {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line-soft);
  background: transparent;
  padding: 13px 0;
  text-align: left;
}
.sheet-nav button:first-child { border-top: 0; }
.sheet-nav strong { display: block; }
.sheet-nav span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.version-line { text-align: center; color: var(--faint); font-size: 11px; letter-spacing: .12em; margin: 10px 0 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav) + var(--safe-bottom) + 18px);
  z-index: 130;
  transform: translateX(-50%);
  background: rgba(36, 29, 19, .94);
  color: #FFF8E8;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  max-width: min(340px, calc(100vw - 32px));
}

@media (min-width: 700px) {
  .view { padding-left: 28px; padding-right: 28px; }
  .stack.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .wide { grid-column: 1 / -1; }
  .notebook-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .notebook-row:nth-child(2) { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero img { transform: none !important; }
}


.filter-strip button {
  position: relative;
  padding-right: 13px;
}
.filter-strip button::after {
  content: "⌄";
  position: absolute;
  right: 0;
  top: 3px;
  color: var(--faint);
  font-size: 10px;
}
.filter-strip button.active::after { color: var(--accent); }

.bohm-intro {
  padding-top: 22px;
}
.bohm-seal {
  margin: 16px auto 18px;
  max-width: 172px;
  opacity: .92;
}
.bohm-seal img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.bohm-text {
  display: grid;
  gap: 13px;
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
}
.bohm-text p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.38;
}
.bohm-final {
  margin-top: 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}
.bohm-final strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.review-list-page .panel-head {
  margin-bottom: 2px;
}
@media (max-width: 430px) {
  .hero.review { height: 355px; }
  .hero.review img { object-position: 66% center; }
}

/* CARNET 0.300.0 - motion, gestures, full-height refinements */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 120ms;
  --page: 250ms;
  --sheet: 330ms;
  --nav-index: 0;
}
html, body { height: 100%; }
.app { min-height: 100dvh; }
.topbar { box-shadow: none; }
.mark, .footer-rose, .menu-trigger, .bottom-nav button, .type-strip button, .filter-strip button, .meta-strip button, .primary, .secondary {
  transition: opacity var(--fast) var(--ease-out), transform var(--fast) var(--ease-out), border-color var(--fast) var(--ease-out), color var(--fast) var(--ease-out), background-color var(--fast) var(--ease-out);
}
.mark:active, .footer-rose:active { opacity: .62; transform: scale(.985); }
.menu-trigger:active, .bottom-nav button:active, .primary:active, .secondary:active { transform: scale(.985); }
.title-block strong { transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out); }
.title-block strong.title-fade { opacity: .18; transform: translateY(2px); }
.view.motion-primary { animation: pageInPrimary var(--page) var(--ease-out) both; }
.view.motion-secondary { animation: pageInSecondary var(--page) var(--ease-out) both; }
@keyframes pageInPrimary { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pageInSecondary { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
.panel, .hero, .page-head { animation: localAppear 230ms var(--ease-out) both; }
.note-row, .notebook-row, .choice-row, .review-row, .settings-card, .metric { animation: rowAppear 220ms var(--ease-out) both; }
.note-row:nth-child(2), .notebook-row:nth-child(2), .choice-row:nth-child(2), .review-row:nth-child(2) { animation-delay: 18ms; }
.note-row:nth-child(3), .notebook-row:nth-child(3), .choice-row:nth-child(3), .review-row:nth-child(3) { animation-delay: 36ms; }
.note-row:nth-child(4), .notebook-row:nth-child(4), .choice-row:nth-child(4), .review-row:nth-child(4) { animation-delay: 54ms; }
.note-row:nth-child(n+5), .notebook-row:nth-child(n+5), .choice-row:nth-child(n+5), .review-row:nth-child(n+5) { animation-delay: 72ms; }
@keyframes localAppear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rowAppear { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.quick-field { transition: min-height 180ms var(--ease-out), border-color var(--fast) var(--ease-out), background-color var(--fast) var(--ease-out); }
.quick-field:focus { min-height: 104px; border-color: rgba(122,42,34,.45); background: #fffef9; }
.bottom-nav { transition: transform 220ms var(--ease-out); }
.bottom-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(10px, calc((100vw - 860px) / 2 + 10px));
  width: calc((min(100vw, 860px) - 20px) / 5);
  height: 2px;
  background: var(--accent);
  transform: translateX(calc(var(--nav-index) * 100%));
  transition: transform 240ms var(--ease-out), opacity 180ms var(--ease-out);
  opacity: .95;
}
.bottom-nav button.active { border-top-color: transparent; }
body.keyboard-mode .bottom-nav { transform: translateY(calc(100% + var(--safe-bottom) + 6px)); }
body.keyboard-mode .view { padding-bottom: calc(24px + var(--safe-bottom)); }
.sheet, .choice-sheet { transition: transform var(--sheet) var(--ease-out); }
.scrim { backdrop-filter: blur(2px); transition: opacity 220ms var(--ease-out); }
.choice-sheet {
  position: fixed;
  z-index: 105;
  left: max(12px, calc((100vw - 860px) / 2 + 12px));
  right: max(12px, calc((100vw - 860px) / 2 + 12px));
  bottom: 10px;
  transform: translateY(calc(100% + 24px));
  pointer-events: none;
  background: rgba(251,248,240,.985);
  border: 1px solid var(--line);
  border-radius: 22px 22px 14px 14px;
  padding: 10px 14px 16px;
}
.choice-sheet.open { transform: translateY(0); pointer-events: auto; }
.choice-sheet h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 27px; line-height: 1; }
.choice-sheet p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.choice-options { display: grid; gap: 0; }
.choice-options button {
  border: 0;
  border-top: 1px solid var(--line-soft);
  background: transparent;
  text-align: left;
  padding: 13px 0;
  font-weight: 700;
}
.choice-options button:first-child { border-top: 0; }
.note-row {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out), border-color var(--fast) var(--ease-out);
}
.note-row.dragging { transition: none; transform: translateX(var(--drag-x, 0px)); }
.note-row.swipe-commit { opacity: .25; transform: translateX(var(--commit-x, 0px)); }
.note-row::before, .note-row::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 120ms var(--ease-out);
  pointer-events: none;
}
.note-row::before { content: "Étoiler"; left: 0; color: var(--gold); }
.note-row::after { content: "Archiver"; right: 0; color: var(--accent); }
.note-row.drag-right::before, .note-row.drag-left::after { opacity: .72; }
.star-pulse { animation: starPulse 160ms var(--ease-out) both; }
@keyframes starPulse { 50% { transform: scale(1.05); } }
.meta-panel { transition: max-height 260ms var(--ease-out), opacity 180ms var(--ease-out), padding 180ms var(--ease-out); overflow: hidden; }
.meta-panel.collapsed { max-height: 54px; }
.meta-panel.collapsed .meta-strip, .meta-panel.collapsed .meta-grid { opacity: 0; pointer-events: none; }
.meta-panel-title { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.meta-panel-title button { border: 0; background: transparent; color: var(--accent); font-size: 12px; font-weight: 700; padding: 2px 0; }
.review-mode-card { display: grid; gap: 14px; }
.review-note {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 0;
  touch-action: pan-y;
}
.review-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.review-actions .primary { grid-column: 1 / -1; }
@media (prefers-reduced-motion: reduce) {
  .view.motion-primary, .view.motion-secondary, .panel, .hero, .page-head, .note-row, .notebook-row, .choice-row, .review-row, .settings-card, .metric { animation-duration: 1ms !important; transform: none !important; }
  .bottom-nav::before, .sheet, .choice-sheet, .quick-field, .meta-panel { transition-duration: 1ms !important; }
}

/* CARNET 0.300.0 - Böhm hero, writing sheet, readable swipes */
.hero.bohm-hero { height: clamp(300px, 39vh, 440px); background: #171713; }
.hero.bohm-hero img { object-position: 64% center; inset: 0 0 auto 0; height: 108%; }
.hero.bohm-hero::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,0) 38%, rgba(246,242,232,.78) 86%, var(--paper) 100%),
    linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,.08) 52%, rgba(0,0,0,.22));
}
.hero.bohm-hero .hero-copy { color: #FFF8E8; text-shadow: 0 2px 24px rgba(0,0,0,.48); }
.hero.bohm-hero .hero-copy .small-label, .hero.bohm-hero .hero-copy p { color: rgba(255,248,232,.86); }
.bohm-editorial {
  max-width: 620px;
  margin: 0 auto;
  padding: 2px 0 0;
}
.bohm-editorial .bohm-text { gap: 15px; }
.bohm-mark {
  margin: 26px auto 10px;
  max-width: 148px;
  opacity: .88;
}
.bohm-mark img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.editor {
  margin-top: 6px;
  padding: 18px 17px 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(251,248,240,.96)),
    repeating-linear-gradient(180deg, transparent 0 35px, rgba(216,207,190,.26) 36px, transparent 37px);
  border: 1px solid rgba(216,207,190,.96);
  border-radius: 12px;
  min-height: calc(100dvh - var(--topbar) - var(--nav) - 94px);
}
.editor-title {
  font-size: 36px;
  padding: 8px 0 16px;
  background: transparent;
}
.editor-title::placeholder { color: var(--faint); }
.editor-body {
  min-height: 360px;
  font-family: "Libre Baskerville", "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  line-height: 1.55;
  padding: 20px 0 12px;
}
.meta-panel {
  background: rgba(246,242,232,.72);
  border-radius: 10px;
}

.swipe-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  touch-action: pan-y;
  margin: 0;
}
.swipe-item + .swipe-item { margin-top: 0; }
.swipe-item:first-child .note-row { border-top: 0; }
.swipe-under {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 120ms var(--ease-out), background-color 120ms var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.swipe-under span {
  color: #F9F4EA;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.swipe-star { justify-content: flex-start; background: #304532; }
.swipe-archive { justify-content: flex-end; background: #7A2A22; }
.swipe-delete { justify-content: flex-end; background: #241D13; }
.swipe-item.show-star .swipe-star,
.swipe-item.show-archive .swipe-archive,
.swipe-item.show-delete .swipe-delete { opacity: 1; }
.swipe-item .note-row {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(251,248,240,.96);
  border-radius: 12px;
  padding-left: 13px;
  padding-right: 13px;
  transition: transform 190ms var(--ease-out), opacity 190ms var(--ease-out), background-color 120ms var(--ease-out);
}
.swipe-item .note-row.dragging { transition: none; transform: translateX(var(--drag-x, 0px)); }
.swipe-item.swipe-remove { opacity: .16; transform: translateX(-18px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.note-row::before, .note-row::after { display: none !important; }

.bottom-nav::before { opacity: .72; height: 1px; top: 1px; }
.bottom-nav .add-tab span { font-size: 18px; }
.bottom-nav button { font-weight: 700; }

@media (max-width: 430px) {
  .hero.bohm-hero { height: 325px; }
  .hero.bohm-hero img { object-position: 66% center; }
  .editor { min-height: calc(100dvh - var(--topbar) - var(--nav) - 86px); }
}

/* CARNET 0.300.0 - footer heroes, note sheet, visible swipe actions */
.bottom-nav {
  background: rgba(255, 253, 248, .98) !important;
  border-top: 1px solid rgba(216, 207, 190, .85) !important;
  box-shadow: 0 -10px 28px rgba(36,29,19,.035);
}
.view { padding-bottom: calc(var(--nav) + var(--safe-bottom) + 48px); }

.bottom-hero {
  position: relative;
  height: clamp(320px, 46vh, 460px);
  margin-top: auto;
  overflow: hidden;
  isolation: isolate;
  background: #1e201b;
}
.bottom-hero__image {
  position: absolute;
  inset: -8% 0 -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, var(--bottom-img-y, 0px), 0) scale(1.015);
  will-change: transform;
}
.bottom-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(246,242,232,.82) 12%, rgba(246,242,232,.18) 34%, rgba(18,16,12,.10) 58%, rgba(18,16,12,.36) 100%),
    linear-gradient(90deg, rgba(36,29,19,.08), transparent 45%, rgba(36,29,19,.10));
}
.bottom-hero__signature {
  position: absolute;
  z-index: 2;
  left: max(20px, calc((100vw - 860px) / 2 + 20px));
  right: max(20px, calc((100vw - 860px) / 2 + 20px));
  bottom: 22px;
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  gap: 12px;
  color: #FFF8E8;
  text-shadow: 0 2px 18px rgba(0,0,0,.34);
  transform: translate3d(0, var(--bottom-signature-y, 0px), 0);
  will-change: transform;
}
.bottom-hero__rule { height: 1px; background: rgba(255,248,232,.68); }
.bottom-hero__rose {
  width: 34px;
  height: 34px;
  border: 0;
  background: rgba(255,253,248,.86);
  padding: 3px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transform: translate3d(0, var(--bottom-rose-y, 0px), 0);
  will-change: transform;
}
.bottom-hero__rose img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; mix-blend-mode: multiply; }
.bottom-hero__motto {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: .01em;
}
.bottom-hero--light .bottom-hero__veil {
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(246,242,232,.86) 13%, rgba(246,242,232,.12) 38%, rgba(36,29,19,.08) 100%);
}
.bottom-hero--light .bottom-hero__signature { color: var(--ink); text-shadow: 0 1px 15px rgba(255,255,255,.55); }
.bottom-hero--light .bottom-hero__rule { background: rgba(36,29,19,.36); }

.hero.bohm-hero .hero-copy h1 { font-size: clamp(34px, 9vw, 62px); max-width: 520px; line-height: .95; }
.hero.bohm-hero .hero-copy { bottom: 30px; }
.bohm-intro h1 { font-size: clamp(31px, 8.4vw, 42px); }
.bohm-mark { max-width: 110px; margin-top: 22px; opacity: .70; }
.bohm-mark img { filter: contrast(.92); }

.editor-sheet {
  margin-top: 6px;
  padding: 18px 17px 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,253,248,.98)),
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(216,207,190,.18) 34px, transparent 35px);
  border: 1px solid rgba(216, 207, 190, .98);
  border-radius: 10px;
  min-height: 0;
}
.editor-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(28px, 7.2vw, 32px) !important;
  line-height: 1.12 !important;
  padding: 8px 0 14px !important;
  border-bottom: 1px solid rgba(216,207,190,.96) !important;
}
.editor-body {
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  min-height: 285px !important;
  padding: 17px 0 10px !important;
}
.meta-panel {
  margin-top: 10px;
  background: rgba(251,248,240,.92) !important;
  border: 1px solid rgba(216,207,190,.92) !important;
  border-radius: 10px !important;
}

.swipe-item {
  border-radius: 12px;
  margin: 0;
  background: transparent;
}
.swipe-under {
  opacity: 0;
  border-radius: 12px;
  padding: 0 18px;
}
.swipe-under span {
  color: #FFF8E8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
}
.swipe-star { background: #314D3A !important; justify-content: flex-start; }
.swipe-archive { background: #842A20 !important; justify-content: flex-end; }
.swipe-delete { background: #14110D !important; justify-content: flex-end; }
.swipe-item.show-star .swipe-star,
.swipe-item.show-archive .swipe-archive,
.swipe-item.show-delete .swipe-delete { opacity: 1 !important; }
.swipe-item .note-row {
  background: #FBF8F0 !important;
  color: var(--ink);
  border-radius: 12px;
  z-index: 2;
  box-shadow: none;
}
.swipe-item .note-row.dragging {
  transform: translate3d(var(--drag-x, 0px), 0, 0) !important;
  opacity: 1 !important;
}
.swipe-item.swipe-remove { opacity: .2; transform: translateX(-20px); }

@media (max-width: 430px) {
  .bottom-hero { height: 345px; }
  .bottom-hero__signature { bottom: 18px; }
  .editor-body { font-size: 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .bottom-hero__image, .bottom-hero__signature, .bottom-hero__rose { transform: none !important; }
}

/* CARNET 0.300.0 - integration corrections */
.mark { width: 38px; height: 38px; padding: 3px; }
.mark img { border-radius: 0; filter: drop-shadow(0 1px 2px rgba(36,29,19,.12)); }
.topbar { background: rgba(246,242,232,.97); }

.view.motion-tab-left { animation: pageTabLeft 250ms var(--ease-out) both; }
.view.motion-tab-right { animation: pageTabRight 250ms var(--ease-out) both; }
@keyframes pageTabLeft { from { opacity: .12; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pageTabRight { from { opacity: .12; transform: translateX(-18px); } to { opacity: 1; transform: translateX(0); } }

.bottom-nav {
  background: rgba(255, 254, 250, .995) !important;
  border-top: 1px solid rgba(216,207,190,.88) !important;
  box-shadow: 0 -10px 28px rgba(36,29,19,.045) !important;
  transform: translate3d(0,0,0);
}
.bottom-nav::before { height: 1px; opacity: .82; }

.bottom-hero {
  margin-top: 38px;
  height: clamp(320px, 44vh, 445px);
  background: transparent;
  border: 0;
}
.bottom-hero__image {
  inset: -3% 0 -4%;
  height: 107%;
  transform: translate3d(0, var(--bottom-img-y, 0px), 0) scale(1.006);
}
.bottom-hero__veil {
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(246,242,232,.70) 8%, rgba(246,242,232,.04) 30%, rgba(23,19,14,.10) 64%, rgba(23,19,14,.24) 100%),
    linear-gradient(90deg, rgba(36,29,19,.04), transparent 52%, rgba(36,29,19,.05));
}
.bottom-hero--light .bottom-hero__veil {
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(246,242,232,.70) 9%, rgba(246,242,232,.02) 33%, rgba(36,29,19,.07) 100%);
}
.bottom-hero__signature {
  bottom: 28px;
  gap: 10px;
  transform: translate3d(0, var(--bottom-signature-y, 0px), 0);
}
.bottom-hero__rose {
  width: 32px;
  height: 32px;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.28));
}
.bottom-hero__rose img {
  border-radius: 0 !important;
  mix-blend-mode: normal;
}
.bottom-hero__rule { background: rgba(255,248,232,.58); }
.bottom-hero__motto {
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: .006em;
}
.bottom-hero--light .bottom-hero__rule { background: rgba(36,29,19,.28); }
.bottom-hero--light .bottom-hero__signature { color: #241D13; text-shadow: 0 1px 12px rgba(255,255,255,.55); }

.hero.bohm-hero { height: clamp(290px, 38vh, 430px); }
.hero.bohm-hero img { object-position: 62% center; height: 106%; }
.hero.bohm-hero::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,0) 42%, rgba(246,242,232,.78) 88%, var(--paper) 100%),
    linear-gradient(90deg, rgba(0,0,0,.20), rgba(0,0,0,.02) 55%, rgba(0,0,0,.12));
}
.bohm-mark { max-width: 92px; opacity: .82; }
.bohm-mark img { background: transparent !important; filter: contrast(1.05); }

.swipe-under { opacity: 0; }
.swipe-item.show-star .swipe-star,
.swipe-item.show-archive .swipe-archive,
.swipe-item.show-delete .swipe-delete { opacity: 1 !important; }
.swipe-star { background: #314D3A !important; }
.swipe-archive { background: #842A20 !important; }
.swipe-delete { background: #14110D !important; }
.swipe-under span { text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.swipe-item .note-row { background: #fffdf8 !important; }

.editor-sheet {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,254,250,.99)),
    repeating-linear-gradient(180deg, transparent 0 32px, rgba(216,207,190,.14) 33px, transparent 34px);
  border-color: rgba(205,195,176,.95);
  box-shadow: 0 10px 26px rgba(36,29,19,.035);
}
.editor-body { font-size: 17.6px !important; line-height: 1.68 !important; }
.meta-panel { margin-top: 8px !important; }

@media (max-width: 430px) {
  .bottom-hero { height: 330px; margin-top: 34px; }
  .bottom-hero__signature { bottom: 24px; }
  .bottom-hero__motto { font-size: 14px; }
  .hero.bohm-hero { height: 315px; }
}
@media (prefers-reduced-motion: reduce) {
  .view.motion-tab-left, .view.motion-tab-right { animation-duration: 1ms !important; transform: none !important; }
}

/* CARNET 0.300.0 - final integration pass */
.mark {
  width: 40px;
  height: 40px;
  padding: 2px;
}
.topbar {
  grid-template-columns: 48px 1fr 58px;
  background: rgba(248, 245, 237, .985);
  border-bottom-color: rgba(196, 184, 160, .74);
}

.bottom-nav {
  position: fixed;
  background: rgba(255, 254, 251, .998) !important;
  border-top: 1px solid rgba(190, 178, 158, .72) !important;
  box-shadow: 0 -12px 30px rgba(36,29,19,.065) !important;
  transform: translate3d(0,0,0) !important;
}
body.keyboard-mode .bottom-nav { transform: translate3d(0,0,0) !important; }
body.keyboard-mode .view { padding-bottom: calc(var(--nav) + var(--safe-bottom) + 36px) !important; }
.bottom-nav button { color: rgba(36,29,19,.62); }
.bottom-nav button.active { color: var(--accent); }
.bottom-nav::before { background: var(--accent); opacity: .78; }

.view {
  padding-bottom: calc(var(--nav) + var(--safe-bottom) + 36px);
}

.bottom-hero {
  height: clamp(336px, 47vh, 470px);
  margin-top: 38px;
  margin-bottom: calc(-1 * (var(--nav) + var(--safe-bottom) + 36px));
  padding-bottom: calc(var(--nav) + var(--safe-bottom) + 36px);
  background: #181511;
  overflow: hidden;
}
.bottom-hero__image {
  inset: -4% 0 calc(-1 * (var(--nav) + var(--safe-bottom) + 42px));
  height: calc(112% + var(--nav) + var(--safe-bottom) + 42px);
  transform: translate3d(0, var(--bottom-img-y, 0px), 0) scale(1.004);
}
.bottom-hero__veil,
.bottom-hero--light .bottom-hero__veil {
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(246,242,232,.52) 8%, rgba(246,242,232,.04) 26%, rgba(12,10,7,.10) 63%, rgba(12,10,7,.38) 100%),
    linear-gradient(90deg, rgba(36,29,19,.05), transparent 48%, rgba(36,29,19,.06));
}
.bottom-hero__signature,
.bottom-hero--light .bottom-hero__signature {
  bottom: calc(var(--nav) + var(--safe-bottom) + 22px);
  color: #FFFDF6 !important;
  grid-template-columns: 1fr 34px 1fr;
  gap: 13px;
  text-shadow: 0 2px 14px rgba(0,0,0,.62), 0 0 2px rgba(0,0,0,.50);
}
.bottom-hero__rule,
.bottom-hero--light .bottom-hero__rule {
  background: rgba(255,255,255,.78) !important;
  align-self: center;
}
.bottom-hero__rose {
  width: 34px;
  height: 34px;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.36)) drop-shadow(0 0 2px rgba(255,255,255,.24));
  transform: none !important;
}
.bottom-hero__rose img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.bottom-hero__motto {
  color: #FFFDF6 !important;
  font-size: 15px;
  text-shadow: 0 2px 14px rgba(0,0,0,.68), 0 0 2px rgba(0,0,0,.55);
}

.hero.bohm-hero {
  height: clamp(300px, 39vh, 440px);
  border-bottom: 0;
}
.hero.bohm-hero img {
  object-position: 66% center;
  height: 108%;
}
.hero.bohm-hero .hero-copy h1 { font-size: clamp(30px, 8vw, 52px); }
.hero.bohm-hero .hero-copy p { font-size: 15px; }
.bohm-intro h1 {
  font-size: clamp(48px, 15vw, 76px);
  line-height: .86;
  letter-spacing: .045em;
}
.bohm-subtitle {
  margin: 6px 0 0 !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent) !important;
}
.bohm-devices {
  margin: 4px 0 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(216,207,190,.78);
  border-bottom: 1px solid rgba(216,207,190,.78);
  display: grid;
  gap: 8px;
  text-align: center;
}
.bohm-devices span {
  font-family: var(--serif);
  font-size: clamp(26px, 7.2vw, 38px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: .018em;
}
.bohm-mark {
  max-width: 180px;
  opacity: .72;
  margin: 26px auto 0;
  text-align: center;
}
.bohm-mark img {
  width: 100%;
  background: transparent !important;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.16) brightness(.88);
}
.bohm-blazon {
  margin: 14px auto 0;
  max-width: min(520px, 92vw);
  color: var(--muted);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 14px;
  line-height: 1.55;
  font-style: italic;
  text-align: center;
}
.bohm-final { margin-top: 22px; }

.toast {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 38px;
}
.toast-undo button {
  border: 0;
  background: transparent;
  color: #D64A38;
  font-weight: 900;
  letter-spacing: .10em;
  font-size: 11px;
  padding: 4px 0;
}

.swipe-under {
  opacity: 1;
  visibility: hidden;
  z-index: 0;
}
.swipe-item.show-star .swipe-star,
.swipe-item.show-archive .swipe-archive,
.swipe-item.show-delete .swipe-delete {
  visibility: visible;
  opacity: 1 !important;
}
.swipe-under span {
  color: #FFFDF6;
  text-shadow: 0 1px 3px rgba(0,0,0,.30);
}
.swipe-star { background: #314D3A !important; }
.swipe-archive { background: #842A20 !important; }
.swipe-delete { background: #14110D !important; }
.swipe-item .note-row {
  position: relative;
  z-index: 2;
  background: #FFFDF8 !important;
  will-change: transform;
}

@media (max-width: 430px) {
  .bottom-hero {
    height: 350px;
    margin-bottom: calc(-1 * (var(--nav) + var(--safe-bottom) + 36px));
    padding-bottom: calc(var(--nav) + var(--safe-bottom) + 36px);
  }
  .bottom-hero__signature { bottom: calc(var(--nav) + var(--safe-bottom) + 17px); }
  .bottom-hero__motto { font-size: 13px; }
  .bohm-mark { max-width: 160px; }
  .bohm-blazon { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .bottom-hero__image,
  .bottom-hero__signature,
  .bottom-hero__rose { transform: none !important; }
}

/* CARNET 0.300.0 - gesture stability */
.view { touch-action: pan-y; }

/* CARNET 0.300.0 - composition footer hero and Böhm */
.bottom-hero {
  height: clamp(300px, 40vh, 420px);
  margin-top: 42px;
  margin-bottom: calc(-1 * (var(--nav) + var(--safe-bottom) + 36px));
  padding-bottom: calc(var(--nav) + var(--safe-bottom) + 36px);
}
.bottom-hero__image {
  inset: 0 !important;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transform: translate3d(0, var(--bottom-img-y, 0px), 0) scale(1) !important;
}
.bottom-hero[data-bottom-parallax] .bottom-hero__image { will-change: transform; }
.bottom-hero__veil,
.bottom-hero--light .bottom-hero__veil {
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(246,242,232,.42) 7%, rgba(246,242,232,.015) 23%, rgba(10,8,6,.07) 58%, rgba(10,8,6,.36) 100%),
    radial-gradient(circle at 50% 80%, rgba(0,0,0,.16) 0%, rgba(0,0,0,.08) 32%, rgba(0,0,0,0) 64%);
}
.bottom-hero__signature,
.bottom-hero--light .bottom-hero__signature {
  bottom: calc(var(--nav) + var(--safe-bottom) + 20px);
  transform: translate3d(0, var(--bottom-signature-y, 0px), 0) !important;
}
.bottom-hero__rose { transform: none !important; }
.bottom-hero__motto {
  max-width: min(520px, calc(100vw - 72px));
  justify-self: center;
  color: #FFFDF6 !important;
}

.bottom-hero--home .bottom-hero__image,
.bottom-hero:not([class*="bottom-hero--page"]) .bottom-hero__image { object-position: center center; }

.bohm-intro {
  padding-top: 24px;
  padding-bottom: 6px;
}
.bohm-intro h1 {
  font-size: clamp(40px, 11.5vw, 62px);
  line-height: .92;
  letter-spacing: .055em;
}
.bohm-intro > p:not(.bohm-subtitle) {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.62;
  margin-top: 14px;
  color: var(--muted);
}
.bohm-subtitle {
  margin-top: 9px !important;
  margin-bottom: 0 !important;
}
.bohm-editorial {
  padding-top: 8px;
}
.bohm-devices {
  margin: 16px auto 30px;
  max-width: 520px;
  padding: 18px 0 17px;
  gap: 10px;
}
.bohm-devices span {
  font-size: clamp(23px, 6vw, 32px);
  line-height: 1.08;
  letter-spacing: .014em;
}
.bohm-text {
  max-width: 620px;
  margin: 0 auto;
}
.bohm-text p {
  font-size: clamp(19px, 5.2vw, 24px);
  line-height: 1.72;
  margin: 0;
}
.bohm-text p + p { margin-top: 19px; }
.bohm-mark {
  width: 100%;
  max-width: min(720px, 100%) !important;
  margin: 34px auto 0 !important;
  opacity: .82;
  display: block;
}
.bohm-mark img {
  display: block;
  width: min(190px, 42vw) !important;
  max-width: none !important;
  margin: 0 auto;
}
.bohm-blazon {
  max-width: min(680px, calc(100vw - 46px)) !important;
  margin: 22px auto 30px !important;
  padding: 0 4px;
  font-size: clamp(14px, 3.8vw, 16px) !important;
  line-height: 1.78 !important;
  color: rgba(36,29,19,.76) !important;
  text-align: center;
  hyphens: none;
  overflow-wrap: normal;
}
.bohm-final {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(216,207,190,.72);
}
.bohm-final strong {
  font-size: clamp(23px, 6vw, 31px);
  line-height: 1.18;
}

@media (max-width: 430px) {
  .bottom-hero {
    height: 310px;
    margin-top: 38px;
  }
  .bottom-hero__signature { bottom: calc(var(--nav) + var(--safe-bottom) + 18px); }
  .bohm-text p { font-size: 20px; line-height: 1.68; }
  .bohm-blazon { font-size: 14.5px !important; line-height: 1.72 !important; }
}
.bottom-hero--home .bottom-hero__image { object-position: 48% center; }
.bottom-hero--notebooks .bottom-hero__image { object-position: 48% center; }
.bottom-hero--search .bottom-hero__image { object-position: 50% center; }
.bottom-hero--review .bottom-hero__image { object-position: 50% center; }
.bottom-hero--bohm .bottom-hero__image { object-position: 50% center; }

/* CARNET 0.300.0 - refonte éditoriale de la page BÖHM */
.hero.bohm-hero {
  height: clamp(292px, 38vh, 430px);
  background: #2b281f;
  border-bottom: 0;
}
.hero.bohm-hero img {
  inset: 0 !important;
  height: 100% !important;
  width: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: translate3d(0, var(--p, 0px), 0) scale(1) !important;
}
.hero.bohm-hero::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 42%, rgba(246,242,232,.58) 88%, var(--paper) 100%),
    linear-gradient(90deg, rgba(0,0,0,.36), rgba(0,0,0,.04) 58%, rgba(0,0,0,.12));
}
.hero.bohm-hero .hero-copy {
  left: max(24px, calc((100vw - 720px) / 2 + 24px));
  right: auto;
  bottom: 28px;
  max-width: min(390px, calc(100vw - 54px));
  color: #FFF8EA;
  text-align: left;
  text-shadow: 0 2px 18px rgba(0,0,0,.48);
}
.hero.bohm-hero .hero-copy h1 {
  font-size: clamp(28px, 7.2vw, 44px);
  line-height: .98;
  max-width: 360px;
}
.hero.bohm-hero .hero-copy p { font-size: 14px; }

.bohm-page {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 0 8px;
}
.bohm-identity {
  padding: 34px 0 28px;
  border-bottom: 1px solid rgba(216,207,190,.72);
}
.bohm-identity .small-label {
  margin-bottom: 8px;
  color: var(--accent);
}
.bohm-identity h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(48px, 14vw, 58px);
  line-height: .9;
  letter-spacing: .055em;
}
.bohm-identity p {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(23px, 6.3vw, 31px);
  line-height: 1.12;
  color: var(--ink);
}
.bohm-section {
  padding: 34px 0 0;
  max-width: 640px;
  margin: 0 auto;
}
.bohm-section + .bohm-section {
  margin-top: 10px;
}
.bohm-section h2 {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.bohm-section p {
  margin: 0;
  color: rgba(36,29,19,.78);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(17px, 4.45vw, 18px);
  line-height: 1.72;
  text-align: left;
}
.bohm-section p + p { margin-top: 18px; }
.bohm-opening { padding-top: 34px; }
.bohm-registers > p {
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.bohm-registry-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(216,207,190,.72);
  border-bottom: 1px solid rgba(216,207,190,.72);
}
.bohm-registry-list article {
  padding: 18px 0;
  border-top: 1px solid rgba(216,207,190,.52);
}
.bohm-registry-list article:first-child { border-top: 0; }
.bohm-registry-list h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bohm-registry-list p {
  font-size: clamp(16.5px, 4.25vw, 17.5px);
  line-height: 1.68;
}
.bohm-motto-section {
  padding-top: 42px;
}
.bohm-motto-block {
  padding: 0 0 28px;
  border-bottom: 1px solid rgba(216,207,190,.62);
}
.bohm-motto-block + .bohm-motto-block { margin-top: 28px; }
.bohm-motto-block h3 {
  margin: 0 0 14px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(28px, 7.6vw, 34px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: .012em;
}
.bohm-motto-block p { font-size: clamp(17px, 4.45vw, 18px); }
.bohm-why {
  padding-top: 42px;
}
.bohm-arms {
  padding-top: 42px;
}
.bohm-mark {
  width: 100%;
  max-width: min(680px, 100%) !important;
  margin: 36px auto 0 !important;
  text-align: center;
  opacity: .84;
}
.bohm-mark img {
  display: block;
  width: min(210px, 48vw) !important;
  max-width: none !important;
  margin: 0 auto;
  background: transparent !important;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.16) brightness(.88);
}
.bohm-blazon {
  max-width: min(640px, 82vw) !important;
  margin: 24px auto 42px !important;
  padding: 0;
  color: rgba(36,29,19,.68) !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-style: italic;
  font-size: clamp(15px, 3.9vw, 16px) !important;
  line-height: 1.62 !important;
  text-align: center !important;
}
.bohm-closing {
  padding-top: 12px;
  padding-bottom: 14px;
  border-top: 1px solid rgba(216,207,190,.68);
}
.bohm-closing-motto {
  margin-top: 26px !important;
  text-align: center !important;
  font-family: var(--serif) !important;
  font-size: clamp(25px, 6.8vw, 33px) !important;
  line-height: 1.18 !important;
  color: var(--ink) !important;
}
.bohm-version {
  margin-top: 12px !important;
  text-align: center !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  letter-spacing: .08em;
  color: var(--muted) !important;
}
.bottom-hero--bohm {
  height: clamp(270px, 32vh, 370px) !important;
  margin-top: 34px !important;
}
.bottom-hero--bohm .bottom-hero__image {
  object-position: center center !important;
  object-fit: cover !important;
  transform: translate3d(0, var(--bottom-img-y, 0px), 0) scale(1) !important;
}
.bottom-hero--bohm .bottom-hero__veil {
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(246,242,232,.38) 8%, rgba(246,242,232,0) 25%, rgba(10,8,6,.10) 60%, rgba(10,8,6,.40) 100%),
    radial-gradient(circle at 50% 82%, rgba(0,0,0,.22) 0%, rgba(0,0,0,.09) 38%, rgba(0,0,0,0) 68%) !important;
}
@media (max-width: 430px) {
  .bohm-page { padding: 0 6px; }
  .bohm-section { padding-top: 32px; }
  .bohm-identity { padding-top: 32px; }
  .bohm-registry-list article { padding: 17px 0; }
  .bohm-mark img { width: min(194px, 50vw) !important; }
  .bottom-hero--bohm { height: 286px !important; }
  .hero.bohm-hero { height: 318px; }
}

/* CARNET 0.300.0 - états locaux */
.empty-state {
  margin: 0;
  padding: 16px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.filter-strip button.active {
  color: var(--accent);
  border-color: rgba(122,42,34,.42);
  background: rgba(122,42,34,.045);
}
.save-state { min-width: 92px; text-align: right; }
