/* Online-and-in-person — product-on-stage cards (Casan brochure language) */

/* ── Big OSE card: Auralis PortfolioDayBand (animated) ─────────────── */
[data-section-name="online-and-in-person"] [data-component-name="card-ose"] {
  position: relative;
  min-height: 300px;
}

[data-section-name="online-and-in-person"] [data-component-name="card-ose"] .casan-ose-stage {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.25rem 2rem;
  min-height: 0;
}

@media (min-width: 900px) {
  [data-section-name="online-and-in-person"] [data-component-name="card-ose"] .casan-ose-stage {
    padding: 2.25rem 2rem 2.5rem;
  }
}

body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-ose"],
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-ose"] {
  background-color: #f3f1ee !important;
  background-image: none !important;
  border-color: rgba(28, 27, 27, 0.1) !important;
  box-shadow: none !important;
  filter: none !important;
}

body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-ose"] > [class*="glow-"],
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-ose"] > [class*="glow-"] {
  display: none !important;
}

.casan-ose-day {
  --ose-ink: #1c1b1b;
  --ose-muted: #6b6a68;
  --ose-line: rgba(28, 27, 27, 0.1);
  --ose-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--ose-ink);
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-columns: 200px 200px 200px 220px;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.25rem 0;
}

@media (min-width: 1100px) {
  .casan-ose-day {
    grid-template-columns: 214px 210px 210px 232px;
    gap: 0.9rem;
  }
}

/* Flying AI note: phone → Today */
.casan-ose-day__fly {
  pointer-events: none;
  position: absolute;
  z-index: 40;
  width: 200px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ose-line);
  box-shadow: 0 18px 40px -16px rgba(28, 27, 27, 0.45);
  left: 6%;
  top: 42%;
  opacity: 0;
  transform: scale(0.9);
  transition:
    left 850ms var(--ose-ease),
    top 850ms var(--ose-ease),
    opacity 850ms var(--ose-ease),
    transform 850ms var(--ose-ease);
}

.casan-ose-day__fly img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.casan-ose-day__fly-ai {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #184e99;
}

.casan-ose-day__fly-ai img {
  width: 12px;
  height: 12px;
  border-radius: 0;
}

.casan-ose-day__fly-title {
  margin: 0.1rem 0 0;
  font-size: 0.68rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.casan-ose-day__fly-sub {
  margin: 0;
  font-size: 0.58rem;
  color: var(--ose-muted);
  white-space: nowrap;
}

.casan-ose-day[data-phase="note"] .casan-ose-day__fly {
  left: 6%;
  top: 42%;
  opacity: 0;
  transform: scale(0.95);
}

.casan-ose-day[data-phase="flying"] .casan-ose-day__fly {
  left: 28%;
  top: 38%;
  opacity: 1;
  transform: scale(1);
}

.casan-ose-day[data-phase="queue"] .casan-ose-day__fly {
  left: 38%;
  top: 36%;
  opacity: 0;
  transform: scale(0.9);
}

@media (min-width: 1100px) {
  .casan-ose-day[data-phase="flying"] .casan-ose-day__fly {
    left: 30%;
  }
}

.casan-ose-day__phone {
  position: relative;
  height: 270px;
  overflow: hidden;
  align-self: center;
}

.casan-ose-day__phone-peek {
  position: relative;
  width: 198px;
  margin: 0 auto;
}

.casan-ose-day__btn-l,
.casan-ose-day__btn-r {
  position: absolute;
  z-index: 2;
  background: #2a2a2a;
  pointer-events: none;
}

.casan-ose-day__btn-l {
  left: -3px;
  width: 3px;
  border-radius: 2px 0 0 2px;
}

.casan-ose-day__btn-l--1 {
  top: 78px;
  height: 26px;
}

.casan-ose-day__btn-l--2 {
  top: 114px;
  height: 48px;
}

.casan-ose-day__btn-r {
  right: -3px;
  top: 100px;
  width: 3px;
  height: 54px;
  border-radius: 0 2px 2px 0;
}

.casan-ose-day__phone-bezel {
  overflow: hidden;
  border-radius: 2.05rem;
  border: 6px solid #1c1b1b;
  background: #1c1b1b;
  box-shadow: 0 24px 48px -18px rgba(28, 27, 27, 0.5);
  box-sizing: border-box;
}

.casan-ose-day__phone-screen {
  position: relative;
  background: #f7f5f2;
  padding: 0 0 4.5rem;
}

.casan-ose-day__notch {
  position: absolute;
  top: 0.45rem;
  left: 50%;
  z-index: 2;
  width: 88px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #1c1b1b;
}

.casan-ose-day__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.85rem 0.15rem;
  font-size: 0.62rem;
  font-weight: 650;
  color: var(--ose-ink);
}

.casan-ose-day__status-bars {
  width: 1.35rem;
  height: 0.5rem;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    #1c1b1b 0 55%,
    transparent 55% 62%,
    #1c1b1b 62% 78%,
    transparent 78% 85%,
    #1c1b1b 85%
  );
  opacity: 0.75;
}

.casan-ose-day__phone-kicker {
  margin: 0;
  padding: 0.15rem 0.85rem 0;
  font-size: 0.62rem;
  font-weight: 550;
  color: var(--ose-muted);
}

.casan-ose-day__phone-title {
  margin: 0;
  padding: 0.1rem 0.85rem 0.45rem;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.casan-ose-day__photo-wrap {
  position: relative;
  margin: 0 0.7rem;
}

.casan-ose-day__photo {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
}

.casan-ose-day__photo-img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms ease-out;
}

.casan-ose-day[data-phase="detecting"] .casan-ose-day__photo-img {
  transform: scale(1.04);
}

.casan-ose-day__scan {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  height: 28%;
  top: 0;
  opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(125, 211, 252, 0.45), transparent);
}

.casan-ose-day[data-phase="detecting"] .casan-ose-day__scan {
  opacity: 1;
  animation: casan-ose-scan 1.1s ease-in-out both;
}

@keyframes casan-ose-scan {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 72%; opacity: 0; }
}

.casan-ose-day__detect {
  position: absolute;
  left: 0.45rem;
  top: 0.45rem;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(28, 27, 27, 0.12);
  font-size: 0.55rem;
  font-weight: 700;
  color: #184e99;
}

.casan-ose-day__detect img {
  width: 12px;
  height: 12px;
}

.casan-ose-day[data-phase="detecting"] .casan-ose-day__detect {
  display: inline-flex;
}

.casan-ose-day__note {
  position: absolute;
  right: 0.85rem;
  bottom: 0.65rem;
  z-index: 3;
  width: 7.9rem;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ose-line);
  box-shadow: 0 12px 24px -12px rgba(28, 27, 27, 0.45);
  font-size: 0.62rem;
  font-weight: 550;
  line-height: 1.25;
  color: var(--ose-ink);
  transform: rotate(1deg) translateY(6px);
  opacity: 0;
  transition: opacity 500ms var(--ose-ease), transform 500ms var(--ose-ease);
}

.casan-ose-day__note p {
  margin: 0.15rem 0 0;
}

.casan-ose-day__note-ai {
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #184e99;
}

.casan-ose-day__note-ai img {
  width: 12px;
  height: 12px;
}

.casan-ose-day[data-phase="note"] .casan-ose-day__note,
.casan-ose-day[data-phase="queue"] .casan-ose-day__note,
.casan-ose-day[data-phase="moving"] .casan-ose-day__note,
.casan-ose-day[data-phase="assigned"] .casan-ose-day__note {
  opacity: 1;
  transform: rotate(1deg) translateY(0);
}

.casan-ose-day[data-phase="flying"] .casan-ose-day__note {
  opacity: 0;
  transform: rotate(1deg) translateX(1.25rem) translateY(-0.35rem) scale(0.9);
}

.casan-ose-day__rooms {
  list-style: none;
  margin: 0.65rem 0.7rem 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid rgba(28, 27, 27, 0.08);
  box-shadow: 0 1px 2px rgba(28, 27, 27, 0.04);
}

.casan-ose-day__rooms li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0;
  font-size: 0.68rem;
  font-weight: 550;
}

.casan-ose-day__rooms i {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  transition: background-color 500ms ease;
}

.casan-ose-day__rooms i.is-ok {
  background: #10b981;
}

.casan-ose-day__rooms i.is-warn {
  background: #fbbf24;
}

.casan-ose-day__phone::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3.25rem;
  pointer-events: none;
  background: linear-gradient(to top, #f3f1ee 10%, transparent);
}

body:not(.v2-light) .casan-ose-day__phone::after,
html:not(.v2-light) .casan-ose-day__phone::after {
  background: linear-gradient(to top, #061a1c 10%, transparent);
}

.casan-ose-day__col--today {
  position: relative;
  min-width: 0;
}

.casan-ose-day__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--ose-line);
  box-shadow: 0 18px 40px -24px rgba(28, 27, 27, 0.35);
  overflow: hidden;
  min-height: 0;
  width: 100%;
}

.casan-ose-day__card--detail {
  opacity: 0.55;
  transform: translateY(4px);
  transition: opacity 700ms var(--ose-ease), transform 700ms var(--ose-ease), border-color 500ms ease;
}

.casan-ose-day[data-phase="assigned"] .casan-ose-day__card--detail {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(28, 27, 27, 0.2);
}

.casan-ose-day__card-head {
  padding: 0.7rem 0.8rem 0.55rem;
  border-bottom: 1px solid rgba(28, 27, 27, 0.08);
}

.casan-ose-day__card-head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.casan-ose-day__eyebrow {
  margin: 0;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ose-muted);
}

.casan-ose-day__card-title {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.casan-ose-day__tasks {
  list-style: none;
  margin: 0;
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.casan-ose-day__tasks li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(28, 27, 27, 0.08);
  background: #fff;
  opacity: 0.45;
  transition:
    opacity 500ms var(--ose-ease),
    transform 500ms var(--ose-ease),
    border-color 500ms var(--ose-ease),
    background-color 500ms var(--ose-ease),
    box-shadow 500ms var(--ose-ease);
}

.casan-ose-day__tasks li[data-ose-task="flyttesyn"] {
  opacity: 1;
}

.casan-ose-day[data-phase="capture"] .casan-ose-day__tasks li[data-ose-task="flyttesyn"],
.casan-ose-day[data-phase="detecting"] .casan-ose-day__tasks li[data-ose-task="flyttesyn"],
.casan-ose-day[data-phase="note"] .casan-ose-day__tasks li[data-ose-task="flyttesyn"],
.casan-ose-day[data-phase="flying"] .casan-ose-day__tasks li[data-ose-task="flyttesyn"] {
  border-style: dashed;
  background: rgba(247, 245, 242, 0.4);
  opacity: 0.4;
}

.casan-ose-day[data-phase="queue"] .casan-ose-day__tasks li[data-ose-task="flyttesyn"],
.casan-ose-day[data-phase="moving"] .casan-ose-day__tasks li[data-ose-task="flyttesyn"] {
  border-color: rgba(28, 27, 27, 0.16);
  background: #f7f5f2;
  box-shadow: 0 1px 0 rgba(28, 27, 27, 0.04);
}

.casan-ose-day[data-phase="queue"] .casan-ose-day__tasks li[data-ose-task="flyttesyn"] {
  box-shadow: 0 0 0 2px rgba(24, 78, 153, 0.25);
}

.casan-ose-day[data-phase="moving"] .casan-ose-day__tasks li[data-ose-task="flyttesyn"],
.casan-ose-day[data-phase="assigned"] .casan-ose-day__tasks li[data-ose-task="flyttesyn"] {
  transform: scale(0.98);
  opacity: 0.4;
}

.casan-ose-day__tasks strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
}

.casan-ose-day__tasks span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.55rem;
  color: var(--ose-muted);
}

.casan-ose-day__pill {
  font-style: normal;
  flex-shrink: 0;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  font-size: 0.52rem;
  font-weight: 650;
}

.casan-ose-day__pill.is-urgent {
  background: #fffbeb;
  color: #92400e;
}

.casan-ose-day__pill.is-suggested {
  background: #e8f1ff;
  color: #184e99;
}

.casan-ose-day__pill.is-open {
  background: #ecfdf5;
  color: #047857;
}

.casan-ose-day__pill.is-muted {
  background: #f1efec;
  color: var(--ose-muted);
}

.casan-ose-day__card-foot {
  margin-top: auto;
  padding: 0.55rem;
  border-top: 1px solid rgba(28, 27, 27, 0.08);
}

.casan-ose-day__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: #1c1b1b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.casan-ose-day__move-chip {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 30;
  width: min(220px, 85%);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ose-line);
  box-shadow: 0 12px 28px -12px rgba(28, 27, 27, 0.4);
  font-size: 0.68rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 700ms var(--ose-ease), transform 700ms var(--ose-ease);
}

.casan-ose-day[data-phase="moving"] .casan-ose-day__move-chip {
  opacity: 1;
  transform: translateX(10%);
}

.casan-ose-day__team {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.casan-ose-day__team li {
  display: flex;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(28, 27, 27, 0.07);
  transition: background-color 500ms ease;
}

.casan-ose-day__team li:last-child {
  border-bottom: 0;
}

.casan-ose-day[data-phase="moving"] .casan-ose-day__team li[data-ose-member="sofie"],
.casan-ose-day[data-phase="assigned"] .casan-ose-day__team li[data-ose-member="sofie"] {
  background: rgba(232, 241, 255, 0.7);
}

.casan-ose-day__avatar {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #f1efec;
  font-size: 0.62rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background-color 500ms ease, color 500ms ease;
}

.casan-ose-day[data-phase="moving"] .casan-ose-day__team li[data-ose-member="sofie"] .casan-ose-day__avatar,
.casan-ose-day[data-phase="assigned"] .casan-ose-day__team li[data-ose-member="sofie"] .casan-ose-day__avatar {
  background: #1c1b1b;
  color: #fff;
}

.casan-ose-day__team-top {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
}

.casan-ose-day__team-top strong {
  font-size: 0.72rem;
  font-weight: 650;
}

.casan-ose-day__team-top span,
.casan-ose-day__role {
  font-size: 0.55rem;
  color: var(--ose-muted);
}

.casan-ose-day__assign,
.casan-ose-day__assign-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-top: 0.35rem;
  min-height: 1.85rem;
  padding: 0.35rem 0.45rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  font-size: 0.58rem;
  font-weight: 600;
}

.casan-ose-day__assign {
  border-color: rgba(28, 27, 27, 0.1);
  background: #fff;
  box-shadow: 0 1px 2px rgba(28, 27, 27, 0.04);
  opacity: 0;
  transition: opacity 500ms ease;
}

.casan-ose-day[data-phase="assigned"] .casan-ose-day__assign {
  opacity: 1;
}

.casan-ose-day__detail-photo {
  position: relative;
  margin: 0.65rem 0.7rem 0;
  overflow: hidden;
  border-radius: 0.65rem;
}

.casan-ose-day__detail-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 96px;
  object-fit: cover;
}

.casan-ose-day__detail-photo span {
  position: absolute;
  left: 0.4rem;
  bottom: 0.35rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 600;
}

.casan-ose-day__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin: 0.55rem 0.7rem 0;
}

.casan-ose-day__meta div {
  padding: 0.4rem 0.5rem;
  border-radius: 0.55rem;
  background: #f7f5f2;
  transition: background-color 300ms ease, box-shadow 300ms ease;
}

.casan-ose-day__meta div.is-picking {
  background: #e8f1ff;
  box-shadow: 0 0 0 1px rgba(24, 78, 153, 0.25);
}

.casan-ose-day__meta span {
  display: block;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ose-muted);
}

.casan-ose-day__meta strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  font-weight: 650;
  transition: transform 300ms ease;
}

.casan-ose-day__meta div.is-picking strong {
  transform: scale(1.03);
}

.casan-ose-day__unit {
  margin: 0.55rem 0.7rem 0;
  font-size: 0.62rem;
  font-weight: 650;
}

.casan-ose-day__from {
  margin: 0.1rem 0.7rem 0;
  font-size: 0.55rem;
  color: var(--ose-muted);
}

.casan-ose-day__summary {
  margin: 0.35rem 0.7rem 0;
  min-height: 2.4rem;
  font-size: 0.58rem;
  line-height: 1.35;
  color: var(--ose-muted);
  overflow: hidden;
}

.casan-ose-day__caret {
  display: inline-block;
  width: 1.5px;
  height: 12px;
  margin-left: 1px;
  vertical-align: -1px;
  background: rgba(28, 27, 27, 0.7);
  animation: casan-ose-caret 0.9s ease-in-out infinite;
}

@keyframes casan-ose-caret {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

.casan-ose-day__steps-label {
  margin: 0.55rem 0.7rem 0;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ose-muted);
}

.casan-ose-day__steps {
  list-style: none;
  margin: 0.35rem 0.7rem 0.85rem;
  padding: 0;
  font-size: 0.58rem;
  color: var(--ose-ink);
}

.casan-ose-day__steps li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 0;
  opacity: 0.5;
  transition: opacity 500ms ease;
}

.casan-ose-day[data-phase="assigned"] .casan-ose-day__steps li {
  opacity: 1;
}

.casan-ose-day[data-phase="assigned"] .casan-ose-day__steps li:nth-child(1) { transition-delay: 0ms; }
.casan-ose-day[data-phase="assigned"] .casan-ose-day__steps li:nth-child(2) { transition-delay: 90ms; }
.casan-ose-day[data-phase="assigned"] .casan-ose-day__steps li:nth-child(3) { transition-delay: 180ms; }

.casan-ose-day__steps li span {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 3px;
  border: 1px solid rgba(28, 27, 27, 0.15);
  background: #fff;
  font-size: 0.5rem;
  font-weight: 650;
}

@media (prefers-reduced-motion: reduce) {
  .casan-ose-day__fly,
  .casan-ose-day__note,
  .casan-ose-day__photo-img,
  .casan-ose-day__move-chip,
  .casan-ose-day__card--detail,
  .casan-ose-day__tasks li,
  .casan-ose-day__assign,
  .casan-ose-day__steps li {
    transition: none !important;
  }
  .casan-ose-day__scan,
  .casan-ose-day__caret {
    animation: none !important;
  }
}

/* ── Feature cards: Auralis-style floating white UI graphics ──────── */
[data-section-name="online-and-in-person"] [data-component-name="card-channels"],
[data-section-name="online-and-in-person"] [data-component-name="card-pos"],
[data-section-name="online-and-in-person"] [data-component-name="card-checkout"] {
  min-height: 0 !important;
}

[data-section-name="online-and-in-person"] [data-component-name="card-channels"] .casan-feature-media,
[data-section-name="online-and-in-person"] [data-component-name="card-pos"] .casan-feature-media,
[data-section-name="online-and-in-person"] [data-component-name="card-checkout"] .casan-feature-media {
  position: relative;
  z-index: 10;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  height: 260px;
  aspect-ratio: auto;
  overflow: visible;
  padding: 1.1rem 1rem 0.5rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  [data-section-name="online-and-in-person"] [data-component-name="card-channels"] .casan-feature-media,
  [data-section-name="online-and-in-person"] [data-component-name="card-pos"] .casan-feature-media,
  [data-section-name="online-and-in-person"] [data-component-name="card-checkout"] .casan-feature-media {
    min-height: 260px;
    height: 280px;
    padding: 1.25rem 1.1rem 0.55rem;
  }
}

.casan-feat {
  --feat-ink: #1c1b1b;
  --feat-muted: #6b6a68;
  --feat-line: rgba(28, 27, 27, 0.1);
  position: relative;
  width: 100%;
  max-width: 17.5rem;
  min-height: 220px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--feat-ink);
}

.casan-feat__panel {
  position: relative;
  z-index: 10;
  margin: 1.75rem auto 0;
  width: 92%;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--feat-line);
  box-shadow:
    0 18px 40px -18px rgba(28, 27, 27, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.4);
}

.casan-feat__eyebrow {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--feat-muted);
}

.casan-feat__lead {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--feat-ink);
}

.casan-feat__sub {
  margin: 0.1rem 0 0;
  font-size: 0.68rem;
  color: var(--feat-muted);
}

.casan-feat__list {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
}

.casan-feat__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(28, 27, 27, 0.08);
  font-size: 0.68rem;
  font-weight: 550;
}

.casan-feat__status {
  flex-shrink: 0;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 650;
}

.casan-feat__status--ok {
  background: #ecfdf5;
  color: #047857;
}

.casan-feat__status--bad {
  background: #fef2f2;
  color: #b91c1c;
}

.casan-feat__status--due {
  background: #fffbeb;
  color: #b45309;
}

.casan-feat__float {
  position: absolute;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: #fff;
  border: 1px solid var(--feat-line);
  box-shadow: 0 10px 22px -12px rgba(28, 27, 27, 0.4);
  white-space: nowrap;
  color: var(--feat-ink);
}

.casan-feat__float em {
  font-style: normal;
  color: #059669;
  font-weight: 700;
}

.casan-feat__float--tl {
  top: 0.15rem;
  left: 0;
}

.casan-feat__float--bl {
  bottom: 0.1rem;
  left: 0;
}

.casan-feat__float--br {
  bottom: 0.1rem;
  right: 0;
}

.casan-feat__float--warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.casan-feat__float--ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.casan-feat__float--ink {
  background: #1c1b1b;
  border-color: #1c1b1b;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.casan-feat__float--logo img {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.casan-feat__brand {
  position: absolute;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px -14px rgba(28, 27, 27, 0.45);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.casan-feat__brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casan-feat__brand--br {
  top: 0;
  right: 0;
}

.casan-feat__brand--tl {
  top: 0;
  left: 0;
  padding: 0.35rem;
}

.casan-feat__brand--tl img {
  object-fit: contain;
}

.casan-feat__stack {
  position: absolute;
  z-index: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(28, 27, 27, 0.08);
  box-shadow: 0 8px 18px -12px rgba(28, 27, 27, 0.35);
  padding: 0.55rem 0.65rem;
}

.casan-feat__stack--back {
  left: 0;
  top: 2.4rem;
  width: 44%;
  transform: rotate(-3deg);
}

.casan-feat__stack--ledger {
  right: 0;
  top: 2.1rem;
  width: 52%;
  transform: rotate(3deg);
}

.casan-feat__muted-row {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 0.25rem 0 0;
  font-size: 0.6rem;
  color: var(--feat-muted);
}

.casan-feat__muted-row strong {
  color: var(--feat-ink);
  font-weight: 650;
}

.casan-feat__checks {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.casan-feat__checks li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 550;
  color: var(--feat-ink);
}

.casan-feat__tick {
  display: grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.casan-feat__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.55rem;
}

.casan-feat__tags span {
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.55rem;
  font-weight: 600;
  background: #eff5ff;
  color: #184e99;
}

.casan-feat--collect .casan-feat__panel {
  margin-top: 2.1rem;
  margin-bottom: 1.7rem;
}

.casan-feat--flyttesyn .casan-feat__panel {
  margin-top: 2.4rem;
  margin-bottom: 1.6rem;
}

.casan-feat--books .casan-feat__panel {
  margin-top: 3.4rem;
  margin-bottom: 1.7rem;
  width: 84%;
  margin-left: auto;
  margin-right: 0;
  transform: rotate(-1deg);
}

/* Light: paper cards like Auralis reference (graphics stay white) */
body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-channels"],
body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-pos"],
body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-checkout"],
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-channels"],
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-pos"],
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-checkout"] {
  background-color: #f3f1ee !important;
  background-image: none !important;
  border-color: rgba(28, 27, 27, 0.1) !important;
  box-shadow: none !important;
  filter: none !important;
}

body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-channels"] > [class*="glow-"],
body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-pos"] > [class*="glow-"],
body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-checkout"] > [class*="glow-"],
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-channels"] > [class*="glow-"],
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-pos"] > [class*="glow-"],
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-checkout"] > [class*="glow-"] {
  display: none !important;
}

body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-channels"] h4,
body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-pos"] h4,
body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-checkout"] h4,
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-channels"] h4,
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-pos"] h4,
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-checkout"] h4 {
  color: #1c1b1b !important;
}

body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-channels"] .text-gray-a,
body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-pos"] .text-gray-a,
body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-checkout"] .text-gray-a,
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-channels"] .text-gray-a,
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-pos"] .text-gray-a,
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-checkout"] .text-gray-a {
  color: #5c5b59 !important;
}

body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-channels"] a,
body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-pos"] a,
body.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-checkout"] a,
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-channels"] a,
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-pos"] a,
html.v2-light [data-section-name="online-and-in-person"] [data-component-name="card-checkout"] a {
  color: #1c1b1b !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
