.papillon-app {
  color-scheme: light;
  --paper: #f8f7f2; --ink: #192d38; --muted: #53656c; --blue: #1a4e64;
  --line: #e1e5df; --white: #fffeff;
  font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--paper);
}
.papillon-app, .papillon-app * { box-sizing: border-box; }
.papillon-app button, .papillon-app input, .papillon-app select, .papillon-app textarea { font: inherit; }
.papillon-app button { cursor: pointer; color: inherit; }
.papillon-app button:focus-visible, .papillon-app [tabindex]:focus-visible, .papillon-app a:focus-visible { outline: 2px solid #176589; outline-offset: 4px; }
.papillon-app button[hidden], .papillon-app [hidden] { display: none !important; }
.papillon-app .ghost, .papillon-app .primary {
  border: 1px solid transparent; border-radius: 9px; padding: 11px 15px; font-size: .86rem; font-weight: 650;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px;
}
.papillon-app .ghost { background: transparent; border-color: #d5ddd8; }
.papillon-app .ghost:hover { background: #edf1ec; }
.papillon-app .primary { background: var(--blue); color: white; }
.papillon-app .primary:hover { background: #153e50; }
 .papillon-app .papillon-main { width: 100%; margin: 0; padding: 0 0 24px; }
.papillon-app .papillon-entry-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 20px; }
.papillon-app .papillon-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.papillon-app h2 { font-family: inherit; font-weight: 700; letter-spacing: -.035em; margin: 0; }
.papillon-app h2 { font-size: clamp(1.45rem,3.1vw,2rem); }
.papillon-app .papillon-entry-toolbar p { color: var(--muted); margin: 0; line-height: 1.55; }
.papillon-app .papillon-entry-toolbar .primary { flex: none; }
.papillon-app .board { display: grid; grid-template-columns: minmax(0,1.52fr) minmax(290px,1fr); gap: 18px; align-items: start; }
.papillon-app .card { border: 1px solid var(--line); border-radius: 19px; background: var(--white); min-width: 0; }
.papillon-app .garden { padding: 22px 23px 17px; }
.papillon-app .card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.papillon-app .total { font-size: .8rem; font-weight: 600; color: var(--blue); background: #e9f2f3; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.papillon-app .meadow-frame { container-type: inline-size; margin-top: 12px; }
.papillon-app .meadow-stage {
  position: relative; isolation: isolate; overflow: hidden; display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; gap: .45rem;
  padding: 12px; border: 1px solid #cddac1; border-radius: 16px;
  background: radial-gradient(ellipse at 13% -6%, #ffefbc 0%, #fff7d8aa 24%, transparent 62%),
    linear-gradient(163deg, #f4f3dc 8%, #e0e9c9 54%, #b6ce9c 100%);
}
.papillon-app .meadow-stage[data-view="close"] { grid-template-columns: minmax(0,1fr); padding: 13px 12px 16px; }
.papillon-app .bed {
  display: grid; align-content: center; justify-items: center; gap: 2px; min-width: 0;
  aspect-ratio: 1; min-height: 122px; margin-bottom: var(--depth,0px); padding: 3px 2px 6px;
  border: 1px solid #9cb28c55; border-radius: 12px; background: #fffef742;
}
.papillon-app .bed:hover { background: #faffec42; border-color: #6b885f99; }
.papillon-app .bed:focus-visible { outline-offset: -3px; }
.papillon-app .bed:nth-of-type(even) { --depth: 7px; }
.papillon-app .plant-name {
  display: block; max-width: 100%; padding: 3px 5px;
  color: #263c2d; background: #f6f8eade; border-radius: 5px;
  font-size: .8rem; line-height: 1.2; hyphens: auto; overflow-wrap: anywhere;
}
.papillon-app .meadow-stage .count {
  padding: 2px 5px; color: #3e5640; background: transparent; font-size: .72rem;
}
.papillon-app .portrait .count { justify-self: center; }
.papillon-app .bloom {
  display: block; width: 79px; height: 79px; margin-bottom: 3px;
}
.papillon-app .meadow-stage .petal {
  position: absolute; left: calc(50% - 12px); top: 5px; width: 24px; height: 35px;
  border-radius: 68% 68% 50% 50%; background: var(--petal); border: 1px solid #24372a18;
  transform-origin: 50% 34.5px; transform: rotate(var(--angle));
}
.papillon-app .meadow-stage .heart {
  position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; border-radius: 50%;
  transform: translate(-50%,-50%); background: #f6e8a7; border: 2px solid #fff8df;
}
.papillon-app .close-head h2 { overflow-wrap: anywhere; min-width: 0; }
.papillon-app .meadow-sound { padding: 6px 10px; min-height: 34px; }
.papillon-app .meadow-sound[aria-pressed="true"] { background: #edf3e7; }
.papillon-app .meadow-perch, .papillon-app .meadow-insect {
  position: absolute; translate: -50% -50%; display: grid; place-items: center;
}
.papillon-app .meadow-perch {
  width: 44px; height: 44px; border: 0; border-radius: 50%; padding: 0;
  z-index: 1; background: transparent; pointer-events: auto;
}
.papillon-app .meadow-perch:hover, .papillon-app .meadow-perch:focus-visible { z-index: 3; background: #fff9ddaa; }
.papillon-app .meadow-stage .butterfly-icon { display: block; width: 20px; }
.papillon-app .plant .butterfly-icon {
  transform: rotate(var(--tilt)); filter: drop-shadow(0 1px 1px #2344523b);
}
.papillon-app .meadow-stage .meadow-perch .butterfly-icon { width: 28px; }
.papillon-app .meadow-perch .tip {
  display: none; position: absolute; bottom: calc(100% + 4px); left: 50%;
  transform: translateX(-50%); width: max-content; max-width: min(170px,34vw);
  padding: 7px 9px; border-radius: 6px; background: var(--ink); color: white;
  font-size: .78rem; text-align: left; overflow-wrap: anywhere; pointer-events: none;
}
@media (hover:hover) { .papillon-app .meadow-perch:hover .tip { display: block; } }
.papillon-app .meadow-perch:focus-visible .tip { display: block; }
.papillon-app .meadow-stage .flight { position: absolute; z-index: 5; pointer-events: none; }
@container (min-width: 345px) {
  .papillon-app .meadow-stage[data-view="overview"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .papillon-app .bed:nth-of-type(3n+2) { --depth: 12px; }
}
@container (min-width: 490px) {
  .papillon-app .meadow-stage[data-view="overview"] { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@container (min-width: 620px) {
  .papillon-app .meadow-stage[data-view="overview"] { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
.papillon-app .plant {
  --flower-center: 43px;
  position: relative; display: block; width: 100%; height: calc(var(--flower-center) + var(--stem));
  pointer-events: none; transform-origin: 50% 100%;
}
.papillon-app .plant .bloom {
  position: absolute; top: var(--flower-center); left: 50%; margin: 0;
  translate: -50% -50%; scale: var(--bloom-size);
  filter: drop-shadow(0 4px 3px #405b3120);
}
.papillon-app .stem {
  position: absolute; left: 50%; top: var(--flower-center); bottom: 0;
  translate: -50%; width: 3px; border-radius: 5px;
  background: linear-gradient(90deg,#779765,#4f7545);
}
.papillon-app .stem::after {
  content: ""; position: absolute; left: 1px; bottom: 32%; width: 21px; height: 10px;
  transform: rotate(-28deg); transform-origin: 0 80%;
  background: #739765; border-radius: 100% 0 100% 0;
}
.papillon-app .daisy .petal {
  width:13px; left:calc(50% - 6.5px); height:32px;
  border-radius:55% 55% 65% 65%; background:linear-gradient(#fffdf4,var(--petal));
}
.papillon-app .daisy .heart { width:26px; height:26px; background:#e8bc56; border-color:#f9d77e; }
.papillon-app .poppy .petal { width:36px; left:calc(50% - 18px); height:34px; background:linear-gradient(#f8a58e,#e77569); border-radius:75% 70% 46% 52%; }
.papillon-app .poppy .heart { background:#563934; border:4px dotted #f0ba68; width:19px; height:19px; }
.papillon-app .plant .bloom.bell { rotate: 158deg; }
.papillon-app .bell .petal { width:23px;height:34px;border-radius:85% 85% 63% 63%;background:linear-gradient(#cab9e7,#8b78bd); }
.papillon-app .bell .petal:nth-child(1) {transform:rotate(-34deg) translateY(-3px)}
.papillon-app .bell .petal:nth-child(2) {transform:rotate(-10deg) translateY(-9px)}
.papillon-app .bell .petal:nth-child(3) {transform:rotate(14deg) translateY(-8px)}
.papillon-app .bell .petal:nth-child(4) {transform:rotate(38deg) translateY(-2px)}
.papillon-app .bell .heart { width:17px;height:17px;background:#d5d6a0;border-color:#a4aa74; }
.papillon-app .cornflower .petal { width:17px;left:calc(50% - 8.5px);background:linear-gradient(#a2c1e1,#648bb9);border-radius:30% 36% 72% 62%; }
.papillon-app .cornflower .heart { width:20px;height:20px;background:#5d6085;border:3px dotted #c5caec; }
.papillon-app .buttercup .petal { width:25px;left:calc(50% - 12.5px);height:27px;border-radius:65% 75% 55% 50%;background:linear-gradient(#f9db80,#e8ae47); }
.papillon-app .buttercup .heart { width:19px;height:19px;background:#f6ce65;border:3px dotted #f9edaa; }
.papillon-app .close-head { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; z-index:1; }
.papillon-app .close-head h2 { font-size:clamp(1.3rem,4vw,1.9rem); }
.papillon-app .close-head button { padding:7px 10px; }
.papillon-app .portrait {
  display: grid; justify-items: center; gap: .45rem; min-width: 0; padding-top: .65rem;
}
.papillon-app .portrait .plant { --flower-center: 106px; width: min(100%,280px); }
.papillon-app .portrait .stem { width: 5px; }
.papillon-app .portrait .stem::after { width: 33px; height: 14px; }
.papillon-app .flight .wing {
  transform-box: view-box;
  transform-origin: 104px 85px;
  animation: papillon-flutter var(--flight-duration) ease-in-out both;
}
.papillon-app .flight .wing-right { --fold: .43; }
@keyframes papillon-flutter {
  0%, 18%, 38%, 55%, 81%, 100% { transform: rotate(39deg) scaleX(1) rotate(-39deg); }
  9%, 28%, 47%, 91% { transform: rotate(39deg) scaleX(var(--fold, .3)) rotate(-39deg); }
}

/* The public example still uses the original single SVG flower. */
.papillon-app .stage {
  --perch-width: 7%; position: relative; width: min(100%,540px); aspect-ratio: 1;
  margin: 3px auto 0; isolation: isolate; container-type: inline-size;
}
.papillon-app .stage.is-wide { --perch-width: 6%; }
.papillon-app .stage.is-dense { --perch-width: 6.35%; }
.papillon-app .stage.is-dense.is-wide { --perch-width: 5.6%; }
.papillon-app .stage .flower { display: block; width: 100%; height: 100%; overflow: visible; }
.papillon-app .stage .petal { cursor: pointer; outline: none; }
.papillon-app .stage .petal polygon { stroke: #f7faf8; stroke-width: 8; stroke-linejoin: round; transition: stroke .16s, filter .16s; }
.papillon-app .stage .petal:hover polygon { filter: saturate(1.4); }
.papillon-app .stage .petal:focus-visible polygon, .papillon-app .stage .petal[aria-pressed="true"] polygon { stroke: #477184; stroke-width: 6; }
.papillon-app .stage .layer { position: absolute; inset: 0; pointer-events: none; }
.papillon-app .stage :is(.label,.perch,.center) { position: absolute; transform: translate(-50%,-50%); }
.papillon-app .stage .label { color: #243c46; text-align: center; font-weight: 700; font-size: .75rem; font-size: min(.85rem,3.7cqw); line-height: 1.05; }
.papillon-app .stage.is-wide .label { font-size: min(.83rem,2.9cqw); }
.papillon-app .stage.is-dense .label { font-size: min(.85rem,3.1cqw); }
.papillon-app .stage.is-dense.is-wide .label { font-size: min(.83rem,2.7cqw); }
.papillon-app .stage .label-name { display: block; line-height: 1.1; hyphens: auto; overflow-wrap: anywhere; text-wrap: balance; }
.papillon-app .stage .label-more { display: block; font-size: .75em; color: #465f69; }
.papillon-app .stage .center {
  top: 50%; left: 50%; width: 23%; height: 23%; display: grid; place-content: center; gap: 2px;
  border: 1px solid #cfdfe0; border-radius: 50%; background: #fbfdf9; color: var(--blue);
  text-align: center; font-weight: 650; font-size: clamp(.58rem,1.6vw,.85rem);
}
.papillon-app .stage .center:hover { background: #e9f4f4; }
.papillon-app .stage .center b { font-weight: 400; font-size: clamp(1.05rem,3.4vw,1.9rem); line-height: 1; }
.papillon-app .stage .perch {
  pointer-events: auto; border: 0; background: transparent; padding: 0;
  display: grid; place-items: center; width: var(--perch-width); aspect-ratio: 1; border-radius: 50%;
}
.papillon-app .stage .perch .butterfly-icon, .papillon-app .stage .flight {
  display: block; width: 78%; filter: drop-shadow(0 1px 1px #2344523b); transform: rotate(var(--tilt,0deg));
}
.papillon-app .stage .perch:hover, .papillon-app .stage .perch:focus-visible { z-index: 3; background: #ffffffb5; }
.papillon-app .stage .perch .tip {
  display: none; position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: min(190px,40vw); padding: 7px 9px; border-radius: 6px;
  background: var(--ink); color: white; font-size: .78rem; text-align: left; overflow-wrap: anywhere;
}
@media (hover:hover) { .papillon-app .stage .perch:hover .tip { display: block; } }
.papillon-app .stage .perch:focus-visible .tip { display: block; }
.papillon-app .stage .flight { position: absolute; z-index: 5; width: calc(var(--perch-width) * .78); pointer-events: none; }
.papillon-app .hint { margin: 10px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; text-align: center; }
.papillon-app .journal { padding: 22px; }
.papillon-app .journal-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.papillon-app .journal-top h2 { min-width: 0; overflow-wrap: anywhere; }
.papillon-app #papillon-all-entries { white-space: nowrap; }
.papillon-app .journal-sub { margin: 7px 0 16px; font-size: .84rem; color: var(--muted); }
.papillon-app .entries { display: grid; gap: 8px; }
.papillon-app .entry { width: 100%; border: 1px solid #e7eae5; border-radius: 12px; background: #fcfdfb; text-align: left; display: grid; grid-template-columns: 35px minmax(0,1fr) 12px; align-items: center; gap: 10px; padding: 11px 10px; }
.papillon-app .entry:hover { border-color: #adc5c6; background: #f5f9f7; }
.papillon-app .entry-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; }
.papillon-app .entry-icon img { width: 22px; height: 22px; object-fit: contain; }
.papillon-app .entry-title { font-size: .91rem; font-weight: 700; overflow-wrap: anywhere; display: block; }
.papillon-app .entry-meta { margin-top: 3px; display: block; font-size: .73rem; color: var(--muted); overflow-wrap: anywhere; }
.papillon-app .chevron { color: #58747e; }
.papillon-app .empty { background: #f6f7f3; border-radius: 10px; margin: 0; padding: 18px 14px; font-size: .91rem; color: var(--muted); line-height: 1.5; }
.papillon-app .privacy { margin: 16px 2px 0; display: flex; align-items: center; gap: 7px; font-size: .77rem; color: var(--muted); line-height: 1.4; }
.papillon-app .privacy svg { flex: none; }
.papillon-app dialog { color: var(--ink); border: 1px solid var(--line); border-radius: 18px; width: min(500px, calc(100% - 28px)); padding: 23px; max-height: calc(100dvh - 28px); box-shadow: 0 25px 80px #18323c32; }
.papillon-app dialog::backdrop { background: #18323c80; }
.papillon-app .dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.papillon-app .dialog-head h2 { overflow-wrap: anywhere; }
.papillon-app .close { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: #edf2ee; font-size: 1.32rem; }
.papillon-app .fields { display: grid; gap: 13px; }
.papillon-app .fields label { display: grid; gap: 5px; font-size: .85rem; font-weight: 650; min-width: 0; }
.papillon-app input, .papillon-app select, .papillon-app textarea { width: 100%; min-width: 0; padding: 9px 10px; font-size: max(16px, 1rem); color: var(--ink); background: white; border: 1px solid #becbc5; border-radius: 7px; }
.papillon-app textarea { resize: vertical; min-height: 100px; }
.papillon-app .split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.papillon-app .actions { display: flex; justify-content: end; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.papillon-app .detail-note { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.papillon-app .detail-meta, .papillon-app .category-help { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.papillon-app .status.error { color: #993f33; }
.papillon-app .error:empty, .papillon-app .status:empty { display: none; }
.papillon-app .status { margin: 0 0 12px; font-size: .85rem; color: #315951; }
.papillon-app .toast { position: fixed; z-index: 6; bottom: 18px; right: 18px; max-width: calc(100% - 36px); background: var(--ink); color: white; padding: 10px 14px; border-radius: 9px; box-shadow: 0 5px 18px #18323c24; }
@media (max-width: 850px) {
  .papillon-app .garden, .papillon-app .journal { padding: 17px; }
  .papillon-app .board { gap: 12px; }
}
@media (max-width: 700px) {
  .papillon-app .papillon-entry-toolbar { align-items: start; flex-direction: column; margin-bottom: 18px; gap: 12px; }
  .papillon-app .board { grid-template-columns: minmax(0,1fr); }
  .papillon-app .garden { padding: 15px 12px; }
  .papillon-app .journal { padding: 15px; }
}
@media (max-width: 400px) {
  .papillon-app .entry-basics { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .papillon-app, .papillon-app *, .papillon-app *::before, .papillon-app *::after { transition: none !important; } }
.papillon-app .papillon-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}


.toolmaster-v3-scope .tmv2-page-intro > #papillon-page-title { overflow-wrap: anywhere; }

 .papillon-app .papillon-category-row {
  display: grid; align-content: start; min-width: 0; gap: 8px;
  border: 1px solid var(--line); border-radius: 10px; padding: 14px;
}
.papillon-app .papillon-category-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.papillon-app .papillon-category-new { margin-top: 18px; }
.papillon-app .papillon-category-new button { justify-self: start; }
.papillon-app button:disabled { opacity: .5; cursor: default; }
.papillon-app .papillon-archive { margin: 0 0 14px; }
.papillon-app .papillon-archive summary { cursor: pointer; padding: 8px 0; }
.papillon-app .plain { background: transparent; border: 0; padding: 6px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }


.papillon-app #papillon-category-dialog { width: min(860px, calc(100% - 28px)); }
.papillon-app #papillon-category-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.papillon-app .papillon-category-row .category-help { margin: 0; }
.papillon-app .papillon-category-row .papillon-category-actions { align-self: end; }
.papillon-app .papillon-category-new { padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .papillon-app #papillon-category-fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* The diary meadow and its compact journal filters. */
.papillon-app .meadow-stage { --flower-center: 48px; }
.papillon-app .meadow-stage[data-view="overview"] { display: block; min-height: 520px; padding: 0; }
.papillon-app .meadow-stage[data-view="overview"] .bed {
  position: absolute; left: var(--meadow-x); top: var(--meadow-y);
  translate: -50% calc(-1 * var(--flower-center)); width: min(30%,145px);
  min-height: 0; aspect-ratio: auto; margin: 0; padding: 0 2px 5px;
  border-color: transparent; background: transparent; align-content: start;
}
.papillon-app .meadow-stage[data-view="overview"] .bed:hover,
.papillon-app .meadow-stage[data-view="overview"] .bed:focus-visible { background: #fffef43b; border-color: #6b885f99; }
.papillon-app .meadow-stage[data-view="overview"][data-layout="extended"] { min-height: calc(var(--rows) * 190px + 35px); }
.papillon-app .meadow-stage[data-view="overview"][data-layout="extended"] .bed { left: var(--wide-x); top: var(--wide-y); }
.papillon-app .meadow-stage[data-view="overview"] .plant { min-height: 116px; }
.papillon-app .meadow-stage .plant { --flower-center: 48px; }
.papillon-app .meadow-stage .stem { height: var(--stem); bottom: auto; }
.papillon-app .meadow-stage .portrait .plant { --flower-center: 133px; width: min(100%,292px); min-height: 262px; }
.papillon-app .meadow-stage .plant-name { overflow-wrap: anywhere; }
.papillon-app .meadow-insect { pointer-events: auto; }
.papillon-app .meadow-stage .meadow-insect .butterfly-icon { width: clamp(14px,3.3vw,20px); }
.papillon-app .cosmos .petal {
  left: calc(50% - 13px); width: 26px; height: 34px; top: 4px; transform-origin: 50% 35.5px;
  border-radius: 46% 54% 58% 58%; background: linear-gradient(#f8e7fa,var(--petal) 55%,#a477bc);
}
.papillon-app .cosmos .heart { width: 21px; height: 21px; background: #f2bb50; border: 2px dotted #fff0b4; }
.papillon-app .aster .petal { width: 9px; left: calc(50% - 4.5px); height: 37px; border-radius: 75% 20% 65% 45%; background: linear-gradient(#c4d5ff,#596bb2); }
.papillon-app .aster .heart { width: 16px; height: 16px; background: #f7df9e; border: 2px solid #fff3cb; }
.papillon-app .sunflower .petal { width: 15px; left: calc(50% - 7.5px); height: 35px; border-radius: 70% 15% 50% 45%; background: linear-gradient(#ffe17b,#e89a20); }
.papillon-app .sunflower .heart { width: 34px; height: 34px; background: #53392b; border: 3px dotted #cf9c4a; }
.papillon-app .anemone .petal { width: 31px; left: calc(50% - 15.5px); border-radius: 80% 70% 50% 50%; background: linear-gradient(#fff1f3,#e58aa9); }
.papillon-app .anemone .heart { background: #654964; border: 4px dotted #9a6c95; }
.papillon-app .wildrose .petal { width: 37px; left: calc(50% - 18.5px); height: 35px; border-radius: 48% 60% 52% 52%; background: linear-gradient(#ffe2ce,#ee9d81); }
.papillon-app .wildrose .heart { width: 22px; height: 22px; background: #e8bd62; border: 3px dotted #fff4bf; }
.papillon-app .forgetmenot .petal { width: 28px; left: calc(50% - 14px); height: 29px; border-radius: 50%; background: linear-gradient(#bfdff1,#6ca6d2); }
.papillon-app .forgetmenot .heart { width: 15px; height: 15px; background: #ffdb78; border: 3px solid #fff9e0; }
.papillon-app .journal-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: 10px 0; }
.papillon-app .journal-filters select { min-width: 0; width: 100%; padding: 7px 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font-size: 16px; }
.papillon-app #papillon-favorite-error:empty { display: none; }
.papillon-app #papillon-favorite-error { color: var(--ink); font-size: .85rem; }
.papillon-app .entry-row { display: grid; grid-template-columns: minmax(0,1fr) 38px; gap: 4px; border: 1px solid #e7eae5; border-radius: 12px; background: #fcfdfb; }
.papillon-app .entry-row .entry { border: 0; background: transparent; min-width: 0; }
.papillon-app .entry-row.is-linked { background: #e1edda; border-color: #709875; }
.papillon-app .favorite { border: 0; background: transparent; color: #84651f; font-size: 1.3rem; min-height: 40px; padding: 4px; }
.papillon-app .favorite[aria-pressed="true"] { color: #ae7c21; }
.papillon-app .meadow-insect.is-linked,.papillon-app .meadow-perch.is-linked { background: #fff8c9; outline: 2px solid #a08243; border-radius: 50%; }
.papillon-app .meadow-insect.is-favorite .butterfly-icon,.papillon-app .meadow-perch.is-favorite .butterfly-icon { filter: drop-shadow(0 0 2px #ac7824) drop-shadow(0 0 2px #e6bb5b); }
@container (max-width: 350px) {
  .papillon-app .meadow-stage[data-view="overview"][data-layout] { min-height: calc(var(--mobile-rows) * 190px + 35px); }
  .papillon-app .meadow-stage[data-view="overview"][data-layout] .bed { width: 42%; left: var(--narrow-x); top: var(--narrow-y); }
}
@media (max-width: 350px) { .papillon-app .journal-filters { grid-template-columns: 1fr; } }

#papillon-page-title { font-family: Arial, Helvetica, sans-serif; }
.papillon-app .actions .danger { color: #8a2d2d; }
.papillon-app .actions .danger:hover { background: #f9eeee; }

.toolmaster-v3-scope .tmv2-page-intro:has(> #papillon-page-title)::before {
  content: none;
}

.papillon-app #papillon-detail .detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.papillon-app .meadow-stage .close-head h2 {
  display: inline-block;
  max-width: 100%;
  padding: .35em .6em;
  border-radius: 7px;
  color: #263c2d;
  background: #f6f8eade;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
