/* Lifeqora-blomsten. Tegningen har faste farver; rammerne følger appens tema. */
:is(.fl-art, .fl-stage-art, .fl-shadow, .wr-flower-art) svg { stroke: none; stroke-width: 1; }

/* Blomsten på Overblik og Opgaver & point */
.fl-badge { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: transparent; color: inherit; font: inherit; padding: 0; cursor: pointer; border-radius: 18px; }
.fl-badge:focus-visible { outline: 3px solid var(--coral, #f27757); outline-offset: 4px; }
.fl-badge .fl-art { display: block; width: 118px; height: 118px; }
.fl-badge .fl-art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fl-caption { display: grid; justify-items: center; gap: 2px; line-height: 1.2; }
.fl-caption strong { font-size: .8125rem; }
.fl-caption small { font-size: .75rem; color: var(--muted); }
.fl-bar { display: block; width: 92px; height: 6px; border-radius: 99px; background: var(--track, rgba(127, 120, 150, .18)); overflow: hidden; margin-top: 3px; }
.fl-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f4b942, #f27757); transition: width .25s; }
.fl-news { margin-top: 4px; font-size: .75rem; font-weight: 700; color: #7a4a00; background: #ffe9a8; border-radius: 99px; padding: 3px 9px; white-space: nowrap; }
.fl-badge:hover .fl-art { transform: translateY(-2px); transition: transform .2s; }
.fl-strip { display: flex; align-items: center; gap: 16px; padding: 10px 16px 10px 8px; margin: 4px 0 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--sheet-bg, var(--k-bg-ffffff)); }
.fl-strip p { margin: 0; font-size: .8125rem; color: var(--muted); line-height: 1.6; min-width: 0; }
.fl-badge-row { flex-direction: row; gap: 10px; flex: none; }
.fl-badge-row .fl-art { width: 64px; height: 64px; }
.fl-badge-row .fl-caption { justify-items: start; }
@media (max-width: 650px) {
  .fl-strip { gap: 10px; padding: 8px 12px 8px 4px; } .fl-strip p { font-size: .75rem; }
  .dashboard-greeting .fl-badge { flex-direction: row; gap: 12px; align-self: flex-start; }
  .dashboard-greeting .fl-badge .fl-art { width: 76px; height: 76px; }
  .dashboard-greeting .fl-caption { justify-items: start; }
}

/* Blomstens side */
.fl-page { display: grid; gap: 18px; }
.fl-page .page-heading { margin-bottom: 0; }
.fl-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px; overflow: hidden; }
.fl-stage { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; margin: 0 auto; }
.fl-stage-art { position: relative; z-index: 1; width: 100%; height: 100%; }
.fl-stage-art svg { width: 100%; height: 100%; display: block; border-radius: 22px; }
.fl-bang { position: absolute; inset: 8%; z-index: 2; border-radius: 50%; pointer-events: none; opacity: 0; }
.fl-bubble { position: absolute; z-index: 3; left: 4%; right: 4%; top: 3%; margin: 0; padding: 10px 14px; border-radius: 16px; background: var(--sheet-bg, #fff); color: var(--ink); font-weight: 700; font-size: .9375rem; line-height: 1.4; box-shadow: 0 8px 24px rgba(30, 20, 45, .16); text-align: center; text-wrap: balance; }
.fl-bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.fl-level { margin: 0; font-size: .875rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.fl-hero h2 { margin: 4px 0 10px; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.8px; text-wrap: balance; }
.fl-hero .fl-bar { width: 100%; max-width: 360px; height: 12px; margin: 4px 0 8px; }
.fl-small { margin: 6px 0 0; font-size: .8125rem; color: var(--muted); }
.fl-new-look { display: inline-block; margin: 12px 0 0; padding: 6px 12px; border-radius: 99px; background: #ffe9a8; color: #7a4a00; font-weight: 800; }
.fl-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.fl-summary h2, .fl-next h2, .fl-facts-card h2 { margin: 0 0 8px; font-size: 1.25rem; }
.fl-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fl-people { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.fl-person { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--pc-tint, var(--track, rgba(127, 120, 150, .12))); }
.fl-person span { display: grid; line-height: 1.15; }
.fl-person small { color: var(--muted); font-size: .75rem; }
.fl-next { display: flex; align-items: center; gap: 18px; }
.fl-next p:not(.eyebrow) { margin: 0; color: var(--muted); }
.fl-shadow { position: relative; flex: none; width: 110px; height: 110px; }
.fl-shadow svg { width: 100%; height: 100%; display: block; filter: brightness(0) saturate(0); opacity: .16; }
.fl-shadow span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; color: var(--muted); }
.fl-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 10px 0 6px; }
.fl-facts div { background: var(--track, rgba(127, 120, 150, .12)); border-radius: 12px; padding: 10px 12px; }
.fl-facts dt { font-size: .75rem; color: var(--muted); }
.fl-facts dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .fl-hero { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px; text-align: center; }
  .fl-hero .fl-bar { margin-inline: auto; }
  .fl-buttons { justify-content: center; }
  .fl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fl-next { gap: 12px; } .fl-shadow { width: 84px; height: 84px; }
}

@media (prefers-reduced-motion: no-preference) {
  .fl-sway { transform-box: fill-box; transform-origin: 50% 100%; animation: fl-sway 3.2s ease-in-out infinite alternate; }
  .fl-bob { animation: fl-bob 2.6s ease-in-out infinite alternate; }
  .fl-flutter { transform-box: fill-box; transform-origin: center; animation: fl-flutter .35s ease-in-out infinite alternate; }
  .fl-twinkle { animation: fl-twinkle 1.8s ease-in-out infinite alternate; }
  .fl-fall { animation: fl-fall 5s linear infinite; }
  .fl-snow { animation: fl-snow 4.5s linear infinite; }
  .fl-zzz { animation: fl-zzz 2.4s ease-in-out infinite; }
  .fl-wave { animation: fl-wave .8s ease-in-out infinite alternate; }
  .fl-badge.has-news .fl-art { animation: fl-nudge 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
  .fl-stage-art.is-tick { animation: fl-tick .25s ease-out; }
  .fl-stage.is-bang .fl-stage-art { animation: fl-pop .7s cubic-bezier(.3, 1.6, .5, 1); }
  .fl-stage.is-bang .fl-bang { animation: fl-bang .8s ease-out; }
  .fl-new-look.is-in, .fl-bubble.is-in { animation: fl-in .5s cubic-bezier(.3, 1.5, .5, 1); }
  [data-fl-after].is-in { animation: fl-rise .5s ease-out; }
  @keyframes fl-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
  @keyframes fl-bob { from { transform: translateY(0); } to { transform: translateY(-5px); } }
  @keyframes fl-flutter { from { transform: scaleX(1); } to { transform: scaleX(.55); } }
  @keyframes fl-twinkle { from { opacity: .25; } to { opacity: 1; } }
  @keyframes fl-fall { from { transform: translateY(-20px); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(150px) rotate(200deg); opacity: 0; } }
  @keyframes fl-snow { from { transform: translateY(-30px); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(80px) translateX(8px); opacity: 0; } }
  @keyframes fl-zzz { 0% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(10px, -18px); } }
  @keyframes fl-wave { from { transform: rotate(-14deg); } to { transform: rotate(10deg); } }
  @keyframes fl-nudge { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-7deg); } 86% { transform: rotate(6deg); } 93% { transform: rotate(-3deg); } }
  @keyframes fl-tick { 0% { transform: scale(1); } 40% { transform: scale(1.035); } 100% { transform: scale(1); } }
  @keyframes fl-pop { 0% { transform: scale(.7); filter: brightness(1.6); } 60% { transform: scale(1.08); } 100% { transform: scale(1); filter: none; } }
  @keyframes fl-bang { 0% { opacity: .95; transform: scale(.3); box-shadow: 0 0 0 0 rgba(244, 185, 66, .9), inset 0 0 60px rgba(255, 246, 201, 1); background: radial-gradient(circle, rgba(255, 246, 201, .95), rgba(244, 185, 66, .35) 60%, transparent 70%); } 100% { opacity: 0; transform: scale(1.5); box-shadow: 0 0 0 30px rgba(244, 185, 66, 0); background: radial-gradient(circle, rgba(255, 246, 201, 0), transparent 70%); } }
  @keyframes fl-in { from { opacity: 0; transform: translateY(8px) scale(.9); } }
  @keyframes fl-rise { from { opacity: 0; transform: translateY(14px); } }
}
