/* Wherbi accounts (accounts-plan.md steps 3-5): the header's list and
   account buttons, the login dialog (board Web-Login), hearts and "Bewaar",
   and the list page (board Web-List). Loaded by public/account.js, and by
   the list page itself. Phone first; wider screens in min-width queries. */

/* The header's list and account items live in pages.css (the shell draws them). */

/* Hearts on product cards and "Bewaar" in the product box. */
.results li { position: relative; }
.pc-save { position: absolute; right: 8px; top: 8px; z-index: 2; width: 44px; height: 44px; border-radius: 22px; border: 0; background: #FFFFFF; color: #14131A; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,.08); cursor: pointer; }
.pc-save[aria-pressed="true"], .pp-save[aria-pressed="true"] { color: var(--violet-strong); }
.pc-save[aria-pressed="true"] svg, .pp-save[aria-pressed="true"] svg { fill: currentColor; }
.pp .pp-save { width: 100%; margin-top: 10px; border: 1px solid #E4E3EA; cursor: pointer; font-family: var(--font); }
.pp .pp-save svg { flex: none; }
.pp-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.pp-box .pp-pair .pp-btn { margin-top: 0; width: auto; min-width: 0; padding: 0 12px; }

/* The login dialog: full screen on phones, a card from 641 px. */
html.ad-lock { overflow: hidden; }
.ad { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 20px 16px 28px; border: 0; background: #FFFFFF; color: var(--fg); box-sizing: border-box; overflow-y: auto; font: 16px/1.5 var(--font); }
.ad::backdrop { background: rgba(20,19,26,.56); }
.ad-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ad-head h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.ad-x { width: 44px; height: 44px; border-radius: 22px; border: 0; background: #F2F1F6; color: #14131A; display: flex; align-items: center; justify-content: center; flex: none; cursor: pointer; }
.ad-prod { margin: 10px 0 0; font-size: 15px; font-weight: 600; }
.stp { display: flex; align-items: flex-start; list-style: none; margin: 22px 0 0; padding: 0; }
.stp[hidden], .ad-chips[hidden], .ad-item[hidden] { display: none; }
.stp-i { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; min-width: 0; text-align: center; }
.stp-i::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px; background: #E4E3EA; z-index: 0; }
.stp-i:first-child::before { display: none; }
.stp-i.done::before, .stp-i.cur::before { background: #7444F5; }
.stp-d { width: 36px; height: 36px; border-radius: 18px; background: #FFFFFF; border: 2px solid #E4E3EA; color: #5E5B6B; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; position: relative; z-index: 1; box-sizing: border-box; }
.done .stp-d { background: #7444F5; border-color: #7444F5; color: #FFFFFF; }
.cur .stp-d { border-color: #7444F5; color: #5129D6; box-shadow: 0 0 0 5px #EFEAFF; }
.stp-t { font-size: 14px; font-weight: 600; }
.cur .stp-t { color: #5129D6; }
.stp-s { font-size: 13px; color: #5E5B6B; }
.ad-f { margin-top: 20px; }
.ad-f[hidden] { display: none; }
.ad-f label { display: block; font-size: 16px; font-weight: 600; }
.ad-f input { margin-top: 10px; width: 100%; height: 54px; border-radius: 16px; border: 2px solid #E4E3EA; padding: 0 16px; font: inherit; font-size: 17px; color: #14131A; background: #FFFFFF; box-sizing: border-box; outline: 0; }
.ad-f input:focus { border-color: #7444F5; box-shadow: 0 0 0 4px #EFEAFF; }
.ad-code input { font-size: 24px; letter-spacing: .4em; font-variant-numeric: tabular-nums; }
.ad-go { margin-top: 14px; width: 100%; height: 54px; border-radius: 27px; border: 0; background: #7444F5; color: #FFFFFF; font: 600 16px/1 var(--font); cursor: pointer; }
.ad-go:hover { background: #5F31E0; }
.ad-go:disabled { opacity: .6; cursor: default; }
.ad-err { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #A6321F; }
.ad-err[hidden] { display: none; }
.ad-priv, .ad-sent { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #4A4757; }
.ad-sent { margin: 0 0 14px; overflow-wrap: anywhere; }
.ad-priv a { color: #5129D6; font-weight: 600; text-decoration: none; }
.ad-priv a:hover { text-decoration: underline; }
/* "Daarna": the six code boxes of the next step, greyed (board Web-Login) */
.ad-then { margin-top: 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; opacity: .7; }
.ad-then > span:first-child { font-size: 13px; color: #5E5B6B; }
.ad-boxes { display: flex; gap: 8px; flex: 1 1 100%; }
.ad-boxes i { flex: 1 1 0; min-width: 0; max-width: 56px; height: 52px; border-radius: 12px; border: 1.5px solid #E4E3EA; background: #FAFAFC; box-sizing: border-box; }
.ad-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 10px 0 0; }
.ad-links button { min-height: 44px; padding: 0; border: 0; background: transparent; color: #5129D6; font: 600 14px/1.2 var(--font); cursor: pointer; }

/* The alarm's "Prijs" step and its summary (board Web-Login). */
.ad-item { display: flex; gap: 12px; align-items: center; margin: 14px 0 0; min-width: 0; }
.ad-im { width: 56px; height: 56px; border-radius: 14px; background: #F7F7F9; display: flex; align-items: center; justify-content: center; flex: none; }
.ad-im[hidden] { display: none; }
.ad-im img { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.ad-it { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ad-item b { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.ad-it > span { font-size: 14px; color: #5E5B6B; }
.ad-amount { position: relative; margin-top: 10px; }
.ad-amount span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 700; color: #14131A; pointer-events: none; }
.ad-f .ad-amount input { margin-top: 0; padding-left: 52px; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ad-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ad-chips button { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid #E4E3EA; background: #FFFFFF; color: #14131A; font: 600 14px/1.2 var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ad-chips button small { font-size: 12px; font-weight: 500; color: #5E5B6B; }
.ad-chips button[aria-pressed="true"] { border-color: #7444F5; background: #EFEAFF; color: #3E1FB0; }
.ad-note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #4A4757; }
.ad-warn { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #8A4B00; }
.ad-warn[hidden] { display: none; }
.ad-sum { margin-top: 18px; border-radius: 16px; background: #F7F7F9; padding: 12px 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ad-sum[hidden] { display: none; }
.ad-sum span { flex: 1 1 200px; min-width: 0; font-size: 15px; line-height: 1.35; }
.ad-sum button { min-height: 44px; padding: 0; border: 0; background: transparent; color: #5129D6; font: 600 14px/1.2 var(--font); cursor: pointer; }
.ad-rm { display: block; margin: 8px auto 0; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: #A6321F; font: 600 14px/1.2 var(--font); cursor: pointer; }
.ad-rm[hidden] { display: none; }
.ad-done { margin-top: 20px; }
.ad-done[hidden] { display: none; }
.ad-done h3 { margin: 0; font-size: 18px; font-weight: 700; }
.ad-done p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: #4A4757; }
.ad-done a { color: #5129D6; font-weight: 600; }
.pp .pp-btn-s[data-alarm-on] { border-color: #7444F5; color: #3E1FB0; background: #EFEAFF; }
@media (min-width: 641px) {
  /* Pinned near the top, as the board (not centred) */
  .ad { width: min(580px, calc(100% - 32px)); height: fit-content; max-height: calc(100% - 98px); margin: 66px auto auto; padding: 26px; border-radius: 28px; box-shadow: 0 30px 80px rgba(20,19,26,.35); }
  .ad-boxes { flex: none; }
  .ad-boxes i { flex: none; width: 44px; }
}

/* The list page. */
.ls { padding: 24px 0 64px; }
.ls-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ls-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5129D6; overflow-wrap: anywhere; }
.ls-h1 { margin: 4px 0 0; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.ls-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 22px; border: 0; font: 600 14px/1 var(--font); white-space: nowrap; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.ls-btn-p { background: #7444F5; color: #FFFFFF; }
.ls-btn-d { background: #14131A; color: #FFFFFF; }
.ls-btn-o { border: 1px solid #E4E3EA; background: #FFFFFF; color: #14131A; }
.ls-btn-o:hover { border-color: #14131A; }
.ls-btn:disabled { opacity: .6; }
.ls-lay { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 24px; align-items: start; }
.ls-side { display: flex; flex-direction: column; gap: 16px; }
.ls-prof { display: none; align-items: center; gap: 12px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line); padding: 14px; }
.ls-prof > span:last-child { min-width: 0; }
.ls-prof b, .ls-prof span span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-prof b { font-size: 16px; font-weight: 600; }
.ls-prof span span { font-size: 13px; color: #5E5B6B; }
.ls-ava { width: 44px; height: 44px; border-radius: 22px; background: #1B1535; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex: none; }
.ls-nav { display: flex; gap: 4px; background: #EEECF5; border-radius: 24px; padding: 4px; }
.ls-nav a { height: 38px; padding: 0 14px; border-radius: 19px; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #14131A; text-decoration: none; white-space: nowrap; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.ls-nav .cnt { font-size: 13px; color: #5E5B6B; font-weight: 500; }
.ls-main { min-width: 0; }
.ls-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 12px; }
.ls-sum div { border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); padding: 14px 16px; }
.ls-sum b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ls-sum span { display: block; font-size: 14px; color: #4A4757; margin-top: 2px; }
.ls-h2 { margin: 28px 0 6px; font-size: 20px; font-weight: 700; }
.ls-h2 span { color: #5E5B6B; font-weight: 500; }
/* The heading with "Sorteer: …" beside it (board Web-List): a disclosure of plain links. */
.ls-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin: 28px 0 6px; }
.ls-bar .ls-h2 { margin: 0; }
.ls-sort { position: relative; }
.ls-sort > summary { list-style: none; cursor: pointer; height: 44px; padding: 0 12px 0 14px; border-radius: 22px; border: 1px solid #E4E3EA; background: #FFFFFF; display: flex; align-items: center; gap: 8px; font-size: 14px; color: #14131A; white-space: nowrap; box-sizing: border-box; }
.ls-sort > summary::-webkit-details-marker { display: none; }
.ls-sort > summary:hover { border-color: #14131A; }
.ls-sort > summary strong { font-weight: 600; }
.ls-sort[open] > summary svg { transform: rotate(180deg); }
.ls-sort ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 100%; margin: 0; padding: 6px; list-style: none; border-radius: 16px; border: 1px solid var(--line); background: #FFFFFF; box-shadow: var(--shadow-lg); box-sizing: border-box; }
.ls-sort li a, .ls-sort li span { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 14px; color: #14131A; text-decoration: none; white-space: nowrap; }
.ls-sort li a:hover { background: #F4F2FA; }
.ls-sort li span { font-weight: 600; color: #3E1FB0; background: #EFEAFF; }
@media (min-width: 641px) { .ls-sort > summary { height: 38px; border-radius: 19px; } }
.ls-rows { border-top: 1px solid #E4E1EE; }
.lr { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "img info" "img price" "act act"; gap: 6px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid #E4E1EE; }
.lr-img { grid-area: img; width: 72px; height: 72px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 6px; box-sizing: border-box; }
.lr-img img { width: 100%; height: 100%; object-fit: contain; }
.lr-info { grid-area: info; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lr-name { font-size: 16px; font-weight: 600; line-height: 1.3; color: #14131A; text-decoration: none; overflow-wrap: anywhere; }
.lr-name:hover { color: #5129D6; }
.lr-sub { font-size: 13px; color: #5E5B6B; line-height: 1.35; overflow-wrap: anywhere; }
.lr-price { grid-area: price; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.lr-price b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.down { font-size: 13px; font-weight: 600; color: #0B6B42; white-space: nowrap; }
.up { font-size: 13px; font-weight: 600; color: #A6321F; white-space: nowrap; }
.flat { font-size: 13px; color: #5E5B6B; white-space: nowrap; }
.lr-act { grid-area: act; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.lr-act .ls-btn { flex: 1 1 auto; }
.lr-act .ls-btn svg { flex: none; }

/* Alarms on the list (board Web-List). */
.lr-alarm { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; color: #4A4757; min-width: 0; }
.bar { display: block; flex: 0 0 72px; height: 6px; border-radius: 3px; background: #E9E7F0; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: #7444F5; }
.bar.ok i { background: #0B7A4B; }
.pill-ok, .pill-mid { height: 22px; padding: 0 8px; border-radius: 11px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.pill-ok { background: #E4F4EC; color: #0B6B42; }
.pill-mid { background: #F2F1F6; color: #4A4757; }
.ls-sum .ls-sum-ok { background: #E4F4EC; border-color: #CDEBDC; }
.ls-sum .ls-sum-ok b { color: #0B6B42; }
.ls-cap { display: flex; gap: 16px; align-items: flex-start; margin-top: 20px; padding: 20px; border-radius: 24px; background: #FBFAFE; border: 1px solid #EDECF2; }
.ls-cap > div { min-width: 0; flex: 1; }
.ls-cap-t { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.ls-cap .bar { width: 100%; max-width: 320px; }
.ls-cap p:last-child { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: #4A4757; }
.ls-empty, .ls-out { display: flex; gap: 16px; align-items: flex-start; margin-top: 16px; padding: 22px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line); }
.ls-out { margin-top: 24px; }
.ls-empty h3, .ls-out h2 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.ls-empty p, .ls-out p { margin: 6px 0 16px; font-size: 15px; color: #4A4757; line-height: 1.5; }
.ls-ico { width: 44px; height: 44px; border-radius: 22px; background: #EFEAFF; color: #5129D6; display: flex; align-items: center; justify-content: center; flex: none; }
.ls-more { margin: 14px 0 0; font-size: 14px; color: #5E5B6B; }
@media (min-width: 641px) {
  .ls { padding-top: 36px; }
}
@media (min-width: 761px) {
  .ls-h1 { font-size: 40px; }
  .lr { grid-template-columns: 96px minmax(0, 1fr) 150px 176px; grid-template-areas: "img info price act"; gap: 20px; padding: 18px 0; }
  .lr-img { width: 96px; height: 96px; border-radius: 16px; padding: 10px; }
  .lr-price { flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; }
  .lr-price b { font-size: 22px; }
  .lr-act { flex-direction: column; margin-top: 0; }
  .lr-act .ls-btn { flex: none; }
}
@media (min-width: 1101px) {
  .ls-lay { grid-template-columns: 272px minmax(0, 1fr); gap: 40px; }
  .ls-side { position: sticky; top: 96px; }
  .ls-prof { display: flex; }
  .ls-nav { flex-direction: column; background: transparent; padding: 0; gap: 2px; }
  .ls-nav a { height: 44px; border-radius: 12px; background: #EFEAFF; color: #3E1FB0; box-shadow: none; }
  .ls-nav .cnt { margin-left: auto; color: #3E1FB0; }
}

/* The side panel's other entries, and the settings page (board App-Settings). */
.ls-nav a:not(.on) { background: transparent; box-shadow: none; color: #4A4757; }
.ls-set { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14px; color: #5E5B6B; text-decoration: none; }
.ls-set:hover { color: #14131A; }
.ls-set.on { color: #3E1FB0; font-weight: 600; background: #EFEAFF; }
.st-hd { max-width: none; margin: 28px 0 8px; padding: 0 4px; font-size: 13px; line-height: 1.35; font-weight: 600; letter-spacing: .04em; text-wrap: wrap; text-transform: uppercase; color: #5E5B6B; }
.st > .st-hd:first-child, .st > .st-note + .st-hd, .st > .st-back + .st-hd { margin-top: 4px; }
.st-grp { margin: 0; padding: 0; list-style: none; border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); overflow: hidden; }
.st-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-height: 64px; margin: 0; padding: 12px 18px; box-sizing: border-box; }
.st-row + .st-row { border-top: 1px solid #F0EFF4; }
.st-l { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st-l b { font-size: 16px; font-weight: 600; }
.st-l span { font-size: 14px; line-height: 1.4; color: #5E5B6B; overflow-wrap: anywhere; }
.st-ft { margin: 8px 4px 0; font-size: 13px; line-height: 1.45; color: #5E5B6B; }
.st-sw { flex: none; width: 51px; height: 31px; border-radius: 16px; border: 0; padding: 2px; display: flex; justify-content: flex-start; box-sizing: border-box; background: #E4E3EA; cursor: pointer; }
.st-sw[aria-checked="true"] { background: #7444F5; justify-content: flex-end; }
.st-sw i { width: 27px; height: 27px; border-radius: 14px; background: #FFFFFF; box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 0 1px rgba(0,0,0,.12); }
.st-sw:focus-visible, .st .ls-btn:focus-visible { outline: 2px solid #7444F5; outline-offset: 2px; }
.st-btn-x { background: #FCE7E7; color: #B0262A; }
.st-btn-x:hover { background: #F8D5D5; }
.st-note { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 20px; padding: 16px 18px; border-radius: 20px; font-size: 15px; line-height: 1.45; }
.st-note > div { min-width: 0; flex: 1; }
.st-note b { display: block; font-size: 16px; }
.st-note p { margin: 4px 0 0; color: #4A4757; }
.st-note form { margin-top: 12px; }
.st-warn { background: #FFF7E8; border: 1px solid #F2E0BC; }
.st-ok { margin: 0 0 20px; background: #E4F4EC; border: 1px solid #CDEBDC; color: #0B6B42; font-weight: 600; }
.st-ico { width: 36px; height: 36px; border-radius: 18px; background: #FDEBC8; color: #8A5A00; display: flex; align-items: center; justify-content: center; flex: none; }
.st-li { width: 32px; height: 32px; border-radius: 16px; background: #EFEAFF; color: #5129D6; display: flex; align-items: center; justify-content: center; flex: none; }
.st-grp .st-l { flex-basis: 120px; }
.st-v { max-width: 100%; font-size: 14px; color: #5E5B6B; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.st-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: #5129D6; text-decoration: none; }
.st-back::before { content: "‹"; margin-right: 6px; font-size: 20px; line-height: 1; }
.st-grp + .st-ft + .st-note { margin-top: 20px; }
.st-fewer { margin: 0; font-size: 15px; }
.st-fewer a { color: #5129D6; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.st-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.st-acts .ls-btn { flex: 1 1 200px; height: 52px; border-radius: 26px; font-size: 16px; }
@media (min-width: 761px) {
  .st-acts .ls-btn { flex: none; min-width: 220px; }
}
@media (min-width: 1101px) {
  .ls-nav a:not(.on) { background: transparent; color: #14131A; }
  .ls-nav a:not(.on):hover { background: #F4F2FA; }
  .ls-nav a:not(.on) .cnt { color: #5E5B6B; }
}
