.ghost-line,
.ghost-value,
.ghost-chip,
.ghost-orb,
.ghost-avatar,
.ghost-pills i,
.ghost-range i,
.ghost-legend i,
.ghost-stage-list i,
.ghost-stage-list em {
  display: block;
  background: linear-gradient(105deg, rgba(118, 92, 100, .07), rgba(214, 86, 111, .105), rgba(133, 105, 139, .07));
  background-size: 210% 100%;
  box-shadow: inset 0 1px rgba(255,255,255,.72);
  animation: ghost-breathe 6.5s ease-in-out infinite;
}

.ghost-line { width: 72%; height: .65rem; border-radius: 999px; }
.ghost-line--xl { width: min(88%, 24rem); height: .92rem; }
.ghost-line--lg { width: 78%; height: .82rem; }
.ghost-line--md { width: 58%; }
.ghost-line--sm { width: 36%; height: .52rem; }
.ghost-line--label { width: 4.75rem; height: .6rem; }

.ghost-task-stack { display: grid; gap: .72rem; }
.task-lane__count.is-ghost {
  border-color: transparent;
  background: linear-gradient(105deg,rgba(118,92,100,.055),rgba(214,86,111,.085),rgba(133,105,139,.05));
  background-size: 210% 100%;
  box-shadow: inset 0 1px rgba(255,255,255,.72);
  animation: ghost-breathe 6.5s ease-in-out infinite;
}
.ghost-task-card { position: relative; min-height: 8.35rem; padding: 1.25rem; overflow: hidden; background: linear-gradient(145deg,rgba(255,255,255,.78),rgba(251,246,248,.5)); border: 1px solid rgba(var(--lane-accent),.07); border-radius: 1.25rem; box-shadow: 0 .7rem 1.8rem rgba(75,43,54,.025), inset 0 1px rgba(255,255,255,.9); }
.ghost-task-card::after { position: absolute; top: -2.6rem; right: -2.6rem; width: 7rem; height: 7rem; content: ""; background: radial-gradient(circle,rgba(var(--lane-accent),.07),transparent 68%); border-radius: 50%; }
.ghost-task-card .ghost-line + .ghost-line { margin-top: .65rem; }
.ghost-task-card--soft { opacity: .55; }
.ghost-chip { width: 4.8rem; height: 1.55rem; margin-top: 1.25rem; border-radius: 999px; }
.ghost-chip--short { width: 3.6rem; }
.task-lane__body:has(.ghost-task-stack)::after { display: none; }

.pulse-entry--ghost { pointer-events: none; border-color: rgba(102,58,71,.045); background: linear-gradient(105deg,rgba(255,255,255,.54),rgba(250,244,247,.34)); box-shadow: 0 1.15rem 3.25rem rgba(82,39,52,.025),inset 0 1px rgba(255,255,255,.86); }
.pulse-entry--ghost:hover { transform: none; }
.pulse-entry--ghost::before { display: none; }
.pulse-entry--ghost-soft,.pulse-day--ghost-fade { opacity: .52; }
.ghost-orb,.ghost-avatar { border-radius: 50%; }
.ghost-orb { width: 3rem; height: 3rem; }
.ghost-copy { display: grid; gap: .68rem; }
.ghost-pills { display: flex; justify-content: flex-end; gap: .45rem; }
.ghost-pills i { width: 3.7rem; height: 1.8rem; border-radius: 999px; }
.ghost-pills i:last-child { width: 2rem; }

.ghost-range { gap: .2rem; }
.ghost-range i { width: 2.8rem; height: 1.75rem; border-radius: 999px; }
.ghost-metrics .insight-metric { pointer-events: none; }
.ghost-value { width: 3.4rem; height: 2.1rem; margin-top: .72rem; border-radius: .65rem; }
.ghost-value--2 { width: 2.4rem; }
.ghost-value--3 { width: 4.2rem; }
.ghost-value--4 { width: 3rem; }
.ghost-value--mini { width: 2.4rem; height: 1.05rem; margin: 0; border-radius: .38rem; }
.ghost-flow-card { opacity: .9; }
.ghost-flow-card .insights-card__header b,.ghost-balance-card .insights-card__header b { margin-top: .2rem; }
.ghost-legend { display: flex; gap: .5rem; }
.ghost-legend i { width: 4.5rem; height: .55rem; border-radius: 999px; }
.ghost-chart { position: relative; display: grid; min-height: 0; flex: 1; align-items: stretch; margin-top: 1rem; }
.ghost-chart > span { position: absolute; right: 0; left: 0; height: 1px; background: rgba(92,70,76,.055); }
.ghost-chart > span:nth-child(1) { top: 25%; }
.ghost-chart > span:nth-child(2) { top: 50%; }
.ghost-chart > span:nth-child(3) { top: 75%; }
.ghost-chart svg { width: 100%; height: 100%; overflow: visible; }
.ghost-chart__area { fill: url(#ghost-area); }
.ghost-chart__line { fill: none; stroke: rgba(180,81,108,.24); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ghost-donut { position: relative; display: grid; width: clamp(8.5rem,14vw,10.5rem); height: clamp(8.5rem,14vw,10.5rem); place-self: center; place-items: center; background: conic-gradient(rgba(171,64,93,.13) 0 31%,rgba(255,255,255,.9) 31% 33%,rgba(225,134,121,.12) 33% 66%,rgba(255,255,255,.9) 66% 68%,rgba(130,107,150,.12) 68% 100%); border-radius: 50%; box-shadow: 0 .9rem 2.4rem rgba(113,50,70,.04); }
.ghost-donut span { width: calc(100% - 2.25rem); height: calc(100% - 2.25rem); background: rgba(255,255,255,.9); border-radius: 50%; }
.ghost-stage-list { display: grid; border: 1px solid rgba(92,70,76,.07); border-radius: .9rem; }
.ghost-stage-list > span { display: grid; min-height: 3.05rem; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; padding: .8rem 1rem; }
.ghost-stage-list > span + span { border-top: 1px solid rgba(92,70,76,.06); }
.ghost-stage-list i { width: .5rem; height: .5rem; border-radius: 50%; }
.ghost-stage-list em { width: 1.5rem; height: .75rem; border-radius: .35rem; }
.ghost-team .team-insight-card { pointer-events: none; }
.ghost-team .team-insight-card.is-soft { opacity: .52; }
.ghost-avatar { width: 2.65rem; height: 2.65rem; flex: 0 0 auto; }
.ghost-team .team-person > div { width: min(10rem,100%); }
.ghost-team .ghost-line + .ghost-line { margin-top: .15rem; }

.ghost-search-pill,
.ghost-round-button,
.ghost-channel-mark,
.ghost-composer span,
.ghost-composer i,
.ghost-message i,
.ghost-knowledge-mark,
.ghost-document-icon,
.ghost-document-callout > i,
.ghost-document-table i {
  display: block;
  background: linear-gradient(105deg,rgba(118,92,100,.065),rgba(214,86,111,.09),rgba(133,105,139,.06));
  background-size: 210% 100%;
  box-shadow: inset 0 1px rgba(255,255,255,.72);
  animation: ghost-breathe 6.5s ease-in-out infinite;
}
.ghost-search-pill { height: 2.45rem; margin: 0 .15rem .85rem; border-radius: 999px; }
.ghost-inbox-list { gap: .38rem; }
.ghost-inbox-row { display: grid; min-height: 3.75rem; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .72rem; padding: .65rem .7rem; }
.ghost-inbox-row.is-soft { opacity: .5; }
.ghost-inbox-row .ghost-avatar { width: 2.35rem; height: 2.35rem; }
.ghost-avatar--header { width: 2.55rem; height: 2.55rem; }
.ghost-header-copy { display: grid; width: 8rem; gap: .4rem; }
.ghost-message-flow { display: flex; width: 100%; flex: 1; flex-direction: column; justify-content: center; gap: 1.4rem; }
.ghost-message { display: flex; width: 76%; align-items: flex-start; gap: .7rem; }
.ghost-message--right { align-self: flex-end; justify-content: flex-end; }
.ghost-message.is-soft { opacity: .5; }
.ghost-message > div { display: grid; width: min(30rem,78%); gap: .42rem; }
.ghost-message i { width: 88%; height: 3.25rem; border-radius: 1rem 1rem 1rem .35rem; }
.ghost-message i + i { width: 62%; height: 2.7rem; }
.ghost-message--right i { width: 72%; margin-left: auto; border-radius: 1rem .35rem 1rem 1rem; }
.ghost-composer { display: flex; min-height: 4.35rem; align-items: center; justify-content: space-between; padding: .8rem .9rem .8rem 1.2rem; background: rgba(255,255,255,.72); border: 1px solid rgba(77,32,40,.07); border-radius: 1.15rem; box-shadow: 0 .8rem 2rem rgba(75,38,49,.04); }
.ghost-composer span { width: 34%; height: .65rem; border-radius: 999px; }
.ghost-composer i { width: 2.1rem; height: 2.1rem; border-radius: .7rem; }
.ghost-channel-mark { width: 2.35rem; height: 2.35rem; border-radius: 50%; }
.ghost-channel-mark--header { width: 2.45rem; height: 2.45rem; }
.ghost-channel-flow { max-width: 44rem; margin: 1.55rem auto 0; }
.channel-posts > .ghost-message-flow { width: 100%; }

.ghost-round-button { width: 2.45rem; height: 2.45rem; flex: 0 0 auto; border-radius: 50%; }
.ghost-knowledge-tree { display: grid; align-content: start; gap: .28rem; }
.ghost-knowledge-row { display: grid; min-height: 2.65rem; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .65rem; padding: .2rem .45rem; }
.ghost-knowledge-row.is-soft { opacity: .48; }
.ghost-knowledge-mark { width: 1.75rem; height: 1.75rem; border-radius: .55rem; }
.ghost-knowledge-topbar { display: flex; min-height: 3.15rem; align-items: center; justify-content: space-between; padding: 0 1.5rem; border-bottom: 1px solid rgba(79,45,55,.055); }
.ghost-knowledge-topbar .ghost-round-button { width: 2.1rem; height: 2.1rem; border-radius: .62rem; }
.ghost-document { width: min(calc(100% - 4rem),48rem); margin: clamp(2.8rem,5vw,4.5rem) auto 9rem; }
.ghost-document-icon { width: 3rem; height: 3rem; border-radius: .95rem; }
.ghost-document-title { width: 58%; height: 2.6rem; margin-top: 1.4rem; border-radius: .75rem; }
.ghost-document-copy { display: grid; gap: .7rem; margin-top: 2.2rem; }
.ghost-document-callout { display: grid; grid-template-columns: auto 1fr; gap: 1rem; margin-top: 2.25rem; padding: 1.25rem; background: rgba(255,255,255,.5); border: 1px solid rgba(77,32,40,.06); border-radius: 1rem; }
.ghost-document-callout > i { width: 2rem; height: 2rem; border-radius: .65rem; }
.ghost-document-callout > div { display: grid; gap: .55rem; }
.ghost-document-table { display: grid; margin-top: 2rem; overflow: hidden; border: 1px solid rgba(77,32,40,.06); border-radius: 1rem; }
.ghost-document-table > span { display: grid; min-height: 3rem; grid-template-columns: repeat(3,1fr); align-items: center; gap: 1rem; padding: .75rem 1rem; }
.ghost-document-table > span + span { border-top: 1px solid rgba(77,32,40,.055); }
.ghost-document-table i { width: 72%; height: .58rem; border-radius: 999px; }
.knowledge-picker-ghost { display: grid; gap: .48rem; padding: .7rem .8rem .85rem; }
.knowledge-picker-ghost[hidden] { display: none; }
.knowledge-picker-ghost i { display: block; width: 78%; height: .58rem; border-radius: 999px; background: linear-gradient(105deg,rgba(118,92,100,.065),rgba(214,86,111,.09),rgba(133,105,139,.06)); background-size: 210% 100%; animation: ghost-breathe 6.5s ease-in-out infinite; }
.knowledge-picker-ghost i:last-child { width: 52%; }

.ghost-notification-list { display: grid; align-content: start; gap: .22rem; }
.ghost-notification { display: grid; min-height: 4.6rem; grid-template-columns: 2.45rem minmax(0,1fr); align-items: center; gap: .78rem; padding: .82rem .72rem; }
.ghost-notification.is-soft { opacity: .48; }
.ghost-notification > span { width: 2.45rem; height: 2.45rem; border-radius: .8rem; }
.ghost-notification > div { display: grid; gap: .52rem; }
.ghost-notification i { width: 72%; height: .55rem; border-radius: 999px; }
.ghost-notification i:last-child { width: 92%; height: .75rem; }

@keyframes ghost-breathe {
  0%,100% { background-position: 0 0; opacity: .64; }
  50% { background-position: 100% 0; opacity: .92; }
}

@media (prefers-reduced-motion: reduce) {
  .ghost-line,.ghost-value,.ghost-chip,.ghost-orb,.ghost-avatar,.ghost-pills i,.ghost-range i,.ghost-legend i,.ghost-stage-list i,.ghost-stage-list em,.ghost-search-pill,.ghost-round-button,.ghost-channel-mark,.ghost-composer span,.ghost-composer i,.ghost-message i,.ghost-knowledge-mark,.ghost-document-icon,.ghost-document-callout > i,.ghost-document-table i,.ghost-notification > span,.ghost-notification i,.task-lane__count.is-ghost,.knowledge-picker-ghost i { animation: none; }
}
