/* Board: kanban on a saturated backdrop. Only loaded on lists that use it. */
.themed.tpl-board { --col: var(--paper); --col-ink: var(--ink); background: var(--occ-pattern, none), linear-gradient(135deg, var(--occ-band), var(--occ-band-alt)); }

.themed.tpl-board > .wrap, .themed.tpl-board .list-hero > .wrap { max-width: 110rem; }
.themed.tpl-board .list-hero { background: rgb(0 0 0 / 0.16); border-bottom: 0; color: var(--occ-band-ink); }
.themed.tpl-board .list-hero > .wrap { padding-block: 1rem 1.1rem; display: grid; gap: 0.25rem; }
.themed.tpl-board .list-hero :is(p, span, strong, h1, a:not(.btn), time, button.textlink-btn) { color: var(--occ-band-ink); }
.themed.tpl-board .list-hero .eyebrow { margin: 0; font-family: var(--font-sans); letter-spacing: 0.02em; text-transform: none; font-size: 0.8rem; font-weight: 600; }
.themed.tpl-board .list-hero h1 { margin-top: 0.15rem; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 750; letter-spacing: -0.01em; }
.themed.tpl-board .list-hero .list-desc { margin-top: 0.25rem; font-size: 0.95rem; max-width: 48rem; }
.themed.tpl-board .list-hero > .wrap > div { margin-top: 0.5rem; }
.themed.tpl-board .list-hero .btn-ghost { color: var(--occ-band-ink); border-color: color-mix(in srgb, var(--occ-band-ink) 70%, transparent); background: color-mix(in srgb, var(--occ-band-ink) 12%, transparent); }
.themed.tpl-board .list-hero .chip-live { background: #fff; color: #172b4d; border-color: #fff; }
.themed.tpl-board .list-hero .rounded-full { color: var(--ink); }
.themed.tpl-board .list-hero .rounded-full * { color: var(--ink); }

/* Text that sits straight on the backdrop. */
.themed.tpl-board > .wrap > p, .themed.tpl-board .bought-divider h2 { color: var(--occ-band-ink); }
.themed.tpl-board .bought-divider .divider-dots { display: none; }

/* Status columns (tasks, research). */
.themed.tpl-board .ix-column { background: var(--col); color: var(--col-ink); box-shadow: 0 1px 1px rgb(9 30 66 / 0.25); }
.themed.tpl-board .ix-column-head { color: var(--ink); font-size: 0.9rem; }
.themed.tpl-board .ix-count { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink-2); border-radius: 999px; padding: 0 0.5rem; min-width: 1.5rem; text-align: center; }
.themed.tpl-board .ix-card .ix-link { box-shadow: 0 1px 1px rgb(9 30 66 / 0.25), 0 0 1px rgb(9 30 66 / 0.31); border-radius: 8px; }
.themed.tpl-board .ix-card .ix-link:hover { box-shadow: 0 0 0 2px var(--want); }
.themed.tpl-board .ix-title { font-weight: 500; font-size: 0.95rem; line-height: 1.35; }
.themed.tpl-board .ix-label.is-open { background: #4bce97; }
.themed.tpl-board .ix-label.is-working { background: #f5cd47; }
.themed.tpl-board .ix-label.is-done { background: #9f8fef; }
.themed.tpl-board .ix-label.is-due { background: #f87168; }
.themed.tpl-board .ix-add { color: var(--ink-2); }
.themed.tpl-board .ix-panel:has(:target) { background: var(--col); }

/* Shopping boards: one grey column per item. */
.themed.tpl-board.layout-board .item-section { background: var(--col); border: 0; box-shadow: 0 1px 1px rgb(9 30 66 / 0.25); }
.themed.tpl-board.layout-board .entry-card { border: 0; box-shadow: 0 1px 1px rgb(9 30 66 / 0.25), 0 0 1px rgb(9 30 66 / 0.31); }
.themed.tpl-board.layout-board .item-section .item-title { font-family: var(--font-sans); font-size: 0.98rem; font-weight: 650; }
.themed.tpl-board .add-item { box-shadow: 0 1px 1px rgb(9 30 66 / 0.25); }

/* Occasions: the art sits on the backdrop at the right of the header, the strip runs under it. */
.themed.tpl-board.has-occ .list-hero > .wrap::before {
  content: ""; display: block; height: 3rem; margin-bottom: 0.5rem; pointer-events: none;
  background: var(--occ-art) no-repeat right center / auto 100%;
}
.themed.tpl-board.has-occ .list-hero::after { content: ""; display: block; height: var(--occ-strip-h); background: var(--occ-strip); }
