/* Inter självhostad (webapp/fonts, woff2 ur app/assets/fonts) – ingen begäran till Google Fonts */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/Inter-Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/Inter-Medium.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/Inter-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/Inter-Bold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 800 900; font-display: swap; src: url(/fonts/InterDisplay-ExtraBold.woff2) format("woff2"); }
/* passboken.se – gemensam stil för startsidan, informationssidorna och de genererade program- och
   Lär dig-sidorna (tools/web/pages.py). Startsidorna har <body class="home"> för sina större rubriker
   och hero-sektionen. Länkas som /site.css?v=<datum> – höj datumet när filen ändras så att
   webbläsare och StaticCacheFilter hämtar om den. */
:root { --bg:#f3f6fa; --surface:#fff; --ink:#121a26; --muted:#5b6878; --primary:#1f5fd1; --deep:#0b3a8c; --accent:#ff6b4a; --border:#d5dde8; --soft:#e3ecfb; }
/* Mörkt tema: uttryckligt val (data-theme="dark" på <html>, sätts av site.js) … */
  :root[data-theme="dark"] { --bg:#0b1220; --surface:#141d2e; --ink:#edf2f9; --muted:#97a6ba; --primary:#5b8ff5; --deep:#102a5e; --accent:#ff7d5e; --border:#2b3a52; --soft:#1b2a46; }
  :root[data-theme="dark"] .phone { box-shadow: 0 0 0 1px #2b3a52, 0 16px 40px rgba(0,0,0,0.5) !important; }
  :root[data-theme="dark"] main { box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
  :root[data-theme="dark"] .card, :root[data-theme="dark"] .item, :root[data-theme="dark"] .day, :root[data-theme="dark"] .related-img, :root[data-theme="dark"] .tile { box-shadow: none; }
  :root[data-theme="dark"] .item:hover, :root[data-theme="dark"] .related-img:hover { box-shadow: 0 0 0 1px var(--primary); }
  :root[data-theme="dark"] .prog-hero, :root[data-theme="dark"] .cta { box-shadow: 0 18px 40px rgba(0,0,0,0.45); }
  :root[data-theme="dark"] .badge { background:#0a0f1a; }
/* … eller automatiskt efter webbläsaren, om inte ljust valts */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg:#0b1220; --surface:#141d2e; --ink:#edf2f9; --muted:#97a6ba; --primary:#5b8ff5; --deep:#102a5e; --accent:#ff7d5e; --border:#2b3a52; --soft:#1b2a46; }
  :root:not([data-theme="light"]) .phone { box-shadow: 0 0 0 1px #2b3a52, 0 16px 40px rgba(0,0,0,0.5) !important; }
  :root:not([data-theme="light"]) main { box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
  :root:not([data-theme="light"]) .card, :root:not([data-theme="light"]) .item, :root:not([data-theme="light"]) .day, :root:not([data-theme="light"]) .related-img, :root:not([data-theme="light"]) .tile { box-shadow: none; }
  :root:not([data-theme="light"]) .item:hover, :root:not([data-theme="light"]) .related-img:hover { box-shadow: 0 0 0 1px var(--primary); }
  :root:not([data-theme="light"]) .prog-hero, :root:not([data-theme="light"]) .cta { box-shadow: 0 18px 40px rgba(0,0,0,0.45); }
  :root:not([data-theme="light"]) .badge { background:#0a0f1a; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; padding: 18px 14px 28px; background:var(--bg); color:var(--ink); font:16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
/* Innehållet ligger i en inramad panel (Anders 2026-10-25) */
main { max-width: 1040px; margin: 0 auto; padding: 24px 32px 48px; background: var(--surface); border: 1px solid var(--border); border-radius: 30px; box-shadow: 0 12px 36px rgba(11,26,51,0.07); }
.card, .item, .day, .related-img, .ex-images figure, .filter { background: var(--bg); }
.item.art img, .item.ex img, .item.group .samples { background: #eef3fa; }
.faq, .steps .card, .web-callout { background: var(--bg); }
a { color: var(--primary); }
p, li { color: var(--ink); }
.muted { color: var(--muted); }

/* Rubriker: undersidor har en h1 och mindre h2; startsidan (body.home) har stora h2 som avsnittsrubriker */
h1 { font-size: 30px; letter-spacing: -0.8px; margin: 0 0 4px; line-height: 1.15; }
h2 { font-size: 20px; margin: 28px 0 8px; }
h3 { font-size: 17px; margin: 18px 0 6px; }
.home h2 { font-size: 30px; letter-spacing: -0.8px; margin: 44px 0 6px; }
.lead { color: var(--muted); margin: 0 0 18px; font-size: 17px; max-width: 640px; }

/* Sidhuvud och meny */
header { display:flex; align-items:center; justify-content: space-between; gap:12px; margin-bottom: 28px; }
.home header { margin-bottom: 24px; }
header img { height: 42px; }
nav { display:flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 12px; font-weight: 600; font-size: 15px; }
nav a:hover, nav a.on { background: var(--soft); color: var(--primary); }
nav a.web { background: var(--primary); color: #fff; }
nav .flags { display:inline-flex; gap: 2px; margin: 0 2px; }
nav a.flag { display:inline-flex; padding: 5px; border-radius: 9px; border: 1px solid transparent; }
nav a.flag svg { width: 22px; height: 15px; border-radius: 3px; display:block; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
nav a.flag.on { border-color: var(--primary); background: var(--soft); }

/* Kort, knappar, sidfot */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 20px 22px; box-shadow: 0 4px 14px rgba(11,26,51,0.06); }
.card.gap { margin-bottom: 14px; }
.card .ic { width: 44px; height: 44px; border-radius: 14px; display:grid; place-items:center; margin-bottom: 12px; background: var(--soft); color: var(--primary); }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card a { color: var(--primary); text-underline-offset: 2px; }
.btn, .card a.btn { display:inline-flex; align-items:center; gap:8px; background: var(--primary); color:#fff; font-weight: 700; padding: 13px 20px; border-radius: 16px; text-decoration: none; }
.btn.ghost { background: var(--soft); color: var(--primary); }
footer { margin-top: 44px; color: var(--muted); font-size: 14px; display:flex; flex-wrap:wrap; gap: 8px 18px; align-items:center; }
footer a { color: var(--primary); text-decoration:none; }

/* Informationssidor (om, integritet, villkor, radera): löpande text i ett kort */
.text .card p, .text .card li { color: var(--ink); font-size: 16px; }
.text .card h2:first-child { margin-top: 0; }

/* Bilder med mörk variant (startsidan, logotypen): .img-dark visas bara i mörkt tema */
.img-dark { display:none !important; }
:root[data-theme="dark"] .img-dark { display:block !important; }
:root[data-theme="dark"] .img-light { display:none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .img-dark { display:block !important; }
  :root:not([data-theme="light"]) .img-light { display:none !important; }
}
/* Temaknappen i menyn: sol (ljust), måne (mörkt), halv (automatiskt) */
nav .theme { display:inline-grid; place-items:center; width: 34px; height: 34px; padding: 0; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; }
nav .theme:hover { color: var(--primary); background: var(--soft); }
nav .theme svg { width: 18px; height: 18px; display:none; }
nav .theme[data-mode="light"] .i-sun, nav .theme[data-mode="dark"] .i-moon, nav .theme[data-mode="auto"] .i-auto, nav .theme:not([data-mode]) .i-auto { display:block; }

/* Startsidan */
.hero { display:grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items:center; background: linear-gradient(135deg, var(--primary), var(--deep)); color:#fff; border-radius: 32px; padding: 44px 40px; position: relative; overflow: hidden; }
.hero .mark { position:absolute; right:-60px; bottom:-80px; width: 360px; opacity: 0.10; pointer-events:none; }
.hero h1 { font-size: 46px; line-height: 1.05; letter-spacing: -1.4px; margin: 0 0 14px; }
.hero p { font-size: 18px; margin: 0 0 22px; color: rgba(255,255,255,0.9); max-width: 520px; }
.hero > div { min-width: 0; }
.eyebrow { display:inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 14px; }
.badges { display:flex; flex-wrap:wrap; gap: 10px; }
.hero .badges { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; }
.badge { display:inline-flex; align-items:center; gap: 10px; background:#111; color:#fff; border: 1px solid rgba(255,255,255,0.25); border-radius: 12px; padding: 8px 14px 8px 10px; text-decoration:none; min-width: 0; }
.badge svg { width: 28px; height: 28px; flex: none; }
.badge small { display:block; font-size: 10px; letter-spacing: .4px; opacity: .85; line-height: 1.1; }
.badge b { display:block; font-size: 17px; line-height: 1.15; font-weight: 700; }
.badge.web { background: var(--accent); border-color: transparent; }
.hero .badge.web { grid-column: 1 / -1; }
.phone { justify-self: center; width: 250px; border-radius: 34px; background:#0a0f1a; padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,0.35), inset 0 0 0 2px rgba(255,255,255,0.08); position: relative; }
.phone picture { display:block; }
.phone img { width:100%; height:auto; aspect-ratio: 9/16; border-radius: 26px; display:block; background:#f3f6fa; }
.grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.shots { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; margin-top: 18px; }
.shots figure { margin:0; text-align:center; }
.shots .phone { width: 100%; max-width: 220px; margin: 0 auto; box-shadow: 0 16px 40px rgba(11,26,51,0.18); }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; font-weight: 600; }
.steps { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: s; }
.steps .card { position: relative; padding-top: 22px; }
.steps .card:before { counter-increment: s; content: counter(s); position:absolute; top:-14px; left:18px; width: 30px; height:30px; border-radius: 10px; background: var(--accent); color:#fff; font-weight: 800; display:grid; place-items:center; }
.cta-row { display:flex; flex-wrap:wrap; gap: 10px; align-items:center; margin-top: 10px; }
.faqs { display:grid; gap: 10px; }
.faq { padding: 0; }
.faq summary { cursor:pointer; list-style:none; padding: 16px 20px; font-weight: 700; display:flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary:after { content:"+"; color: var(--primary); font-weight: 800; }
.faq[open] summary:after { content:"–"; }
.faq p { margin: 0; padding: 0 20px 16px; color: var(--muted); }
.web-callout { display:grid; grid-template-columns: 1fr auto; gap: 18px; align-items:center; margin-top: 44px; }
.browser { margin-top: 16px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg); box-shadow: 0 16px 40px rgba(11,26,51,0.14); }
.browser .bar { display:flex; align-items:center; gap: 6px; padding: 9px 12px; background: var(--soft); border-bottom: 1px solid var(--border); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.browser .bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: var(--surface); border-radius: 8px; padding: 2px 10px; }
.browser img { display:block; width:100%; height:auto; }

/* Program- och Lär dig-sidorna */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.facts { display:flex; flex-wrap:wrap; gap: 8px; margin: 10px 0 18px; }
.facts span { background: var(--soft); color: var(--primary); font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 999px; }
.facts span.goal { background: var(--primary); color: #fff; }
.body h2:first-child { margin-top: 0; }
.body p, .body li { font-size: 16px; color: var(--ink); }
.body ul { padding-left: 20px; }
.tile { display:inline-grid; place-items:center; width: 48px; height: 48px; border-radius: 14px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05), 0 2px 6px rgba(11,26,51,0.08); }
.tile svg { width: 26px; height: 26px; }
.tile.big { width: 72px; height: 72px; border-radius: 22px; }
.tile.big svg { width: 40px; height: 40px; }
.row { display:flex; align-items:center; gap: 16px; }
.prog-hero { padding: 26px 28px; border-radius: 26px; margin-bottom: 18px; color: #fff; position: relative; overflow: hidden; box-shadow: 0 18px 40px rgba(11,26,51,0.18); }
.prog-hero > :not(.mark) { position: relative; }
.mark { position:absolute; right:-50px; bottom:-70px; width: 260px; opacity: 0.12; pointer-events:none; }
.prog-hero .tile.big { background: rgba(255,255,255,0.18) !important; color: #fff !important; width: 56px; height: 56px; border-radius: 16px; }
.prog-hero .tile.big svg { width: 30px; height: 30px; }
.prog-hero h1 { color:#fff; margin: 0 0 12px; }
.prog-hero .facts { margin: 0; }
.prog-hero .facts span { background: rgba(255,255,255,0.18); color:#fff; }
.prog-hero .facts span.goal { background:#fff; }
.section-head { display:flex; align-items:center; gap: 16px; margin: 30px 0 10px; }
.section-head h2 { margin: 0; }
.section-head .tile { width: 40px; height: 40px; border-radius: 12px; }
.section-head .tile svg { width: 22px; height: 22px; }
.section-head h2 { padding-bottom: 2px; border-bottom: 3px solid var(--soft); }
.phase { margin-bottom: 14px; }
.phase h3 { margin: 0 0 6px; }
.days { display:grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.day { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 12px; padding: 10px 12px; font-size: 14px; box-shadow: 0 2px 8px rgba(11,26,51,0.05); }
.day.cardio { border-left-color: #2e9e4f; }
.day .dayhead { display:flex; align-items:center; gap: 9px; color: var(--muted); }
.day b { display:block; }
.day .note { color: var(--muted); display:block; font-size: 13px; }
.day .ic { width: 18px; height: 18px; flex:none; color: var(--primary); }
.day.cardio .ic { color: #2e9e4f; }
.cta { background: linear-gradient(135deg, var(--primary), var(--deep)); color:#fff; border-radius: 24px; padding: 24px 26px; margin-top: 28px; position: relative; overflow: hidden; box-shadow: 0 18px 40px rgba(11,26,51,0.18); }
.cta > :not(.mark) { position: relative; }
.cta h2 { margin: 0 0 6px; color:#fff; }
.cta p { color: rgba(255,255,255,0.9); margin: 0 0 14px; }
.list { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.item { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; text-decoration: none; color: var(--ink); display:block; box-shadow: 0 4px 14px rgba(11,26,51,0.06); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.item:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,26,51,0.14); }
.item b { display:block; font-size: 16px; margin-bottom: 4px; }
.item span { color: var(--muted); font-size: 14px; }
.item .meta { color: var(--primary); font-weight: 600; font-size: 13px; display:block; margin-top: 6px; }
.item.prog b.row { gap: 14px; margin-bottom: 8px; }
.item.prog .tile { width: 36px; height: 36px; border-radius: 11px; }
.item.prog .tile svg { width: 20px; height: 20px; }
.item.art { padding: 0; overflow: hidden; }
.item.art img { display:block; width:100%; height:auto; aspect-ratio: 16/9; border-bottom: 4px solid var(--border); }
.item.art > div { padding: 14px 18px 16px; }
.hero-img { width:100%; height:auto; border-radius: 18px; display:block; margin: 6px 0 18px; aspect-ratio: 16/9; box-shadow: 0 12px 32px rgba(11,26,51,0.14); }
.related-img { display:block; margin-top: 14px; border-radius: 16px; overflow:hidden; border: 1px solid var(--border); text-decoration:none; color: var(--ink); background: var(--surface); box-shadow: 0 4px 14px rgba(11,26,51,0.06); transition: transform .15s ease, box-shadow .15s ease; }
.related-img:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,26,51,0.14); }
.related-img img { display:block; width:100%; height:auto; aspect-ratio: 16/9; }
.related-img span { display:block; padding: 10px 16px; font-weight: 700; }

/* Övningsbiblioteket */
.ex-images { display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 6px 0 18px; max-width: 640px; }
.ex-images figure:only-child { max-width: 320px; }
.ex-images figure { margin:0; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow:hidden; box-shadow: 0 4px 14px rgba(11,26,51,0.06); }
.ex-images img { display:block; width:100%; height:auto; aspect-ratio: 1; }
.ex-images figcaption { padding: 8px 12px; font-size: 13px; color: var(--muted); font-weight: 600; text-align:center; border-top: 1px solid var(--border); }
.body ol { padding-left: 22px; }
.body ol li { margin-bottom: 6px; }
.grid.exlist { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.item.ex { padding: 0; overflow:hidden; }
.item.ex img { display:block; width:100%; height:auto; aspect-ratio: 1; background: #eef3fa; }
.item.ex > div { padding: 10px 14px 12px; }
.item.ex b { font-size: 15px; margin-bottom: 2px; }
.item.ex span { font-size: 13px; }
.grid.groups { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.item.group { padding: 0; overflow:hidden; }
.item.group .samples { display:grid; grid-template-columns: repeat(4, 1fr); background: #eef3fa; }
.item.group .samples img { display:block; width:100%; height:auto; aspect-ratio: 1; }
.item.group > div { padding: 12px 16px 14px; }
.filter { width:100%; max-width: 420px; font: inherit; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); margin: 4px 0 16px; }
.filter:focus { outline: 2px solid var(--primary); border-color: transparent; }
:root[data-theme="dark"] .item.ex img, :root[data-theme="dark"] .item.group .samples, :root[data-theme="dark"] .ex-images img { background: #0f1727; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .item.ex img, :root:not([data-theme="light"]) .item.group .samples, :root:not([data-theme="light"]) .ex-images img { background: #0f1727; } }

/* Passidorna: övningsrader */
.exlist-rows { padding: 8px 10px; }
.exrow { display:flex; align-items:center; gap: 14px; padding: 8px 10px; border-radius: 14px; text-decoration:none; color: var(--ink); }
.exrow:hover { background: var(--soft); }
.exrow + .exrow { border-top: 1px solid var(--border); border-radius: 0; }
.exrow img, .exrow .noimg { width: 64px; height: 64px; border-radius: 12px; flex:none; background: #eef3fa; object-fit: cover; }
.exrow b { display:block; font-size: 15px; }
.exrow small { color: var(--muted); font-size: 13px; }
.day b a { color: inherit; text-decoration: none; }
.day b a:hover { color: var(--primary); text-decoration: underline; }

@media (max-width: 760px) {
  body { padding: 8px 6px 16px; }
  main { padding: 18px 14px 36px; border-radius: 20px; }
  header { flex-direction: column; align-items: flex-start; gap: 10px; }
  nav { justify-content: flex-start; gap: 4px; }
  nav a { padding: 6px 10px; font-size: 14px; }
  nav a.web { width: 100%; text-align: center; margin-top: 4px; }
  header img { height: 36px; }
  h1 { font-size: 27px; }
  .hero { grid-template-columns: 1fr; padding: 30px 22px; }
  .hero .badges { grid-template-columns: 1fr; max-width: 320px; }
  .badge small { white-space: nowrap; }
  .hero .badge.web { grid-column: auto; }
  .hero h1 { font-size: 34px; }
  .phone { width: 200px; }
  .web-callout { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prog-hero { padding: 20px; }
}

/* Passkort och passida: samma kollage som appens passkort – första övningens startbild stor, två små (2026-10-26) */
.item.wk { padding: 0; overflow: hidden; }
.item.wk .collage { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: #eef3fa; aspect-ratio: 3 / 1.7; }
.item.wk .collage.one { grid-template-columns: 1fr; }
.item.wk .collage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.item.wk .collage img.big { grid-row: 1 / 3; }
.item.wk > div { padding: 12px 16px 14px; }
.hero-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 18px; }
.hero-collage.one { grid-template-columns: minmax(0, 320px); }
.hero-collage img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: #eef3fa; }
:root[data-theme="dark"] .item.wk .collage, :root[data-theme="dark"] .hero-collage img { background: #0f1727; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .item.wk .collage, :root:not([data-theme="light"]) .hero-collage img { background: #0f1727; } }
/* Passlistan: fast antal kolumner så bilderna är lika stora i alla grupper (Anders 2026-10-26: "storleken borde inte variera") */
.grid.wk { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.wk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid.wk { grid-template-columns: minmax(0, 1fr); } }
/* Programplattor med övningsbild som i appens programkort (2026-10-26) */
.tile.img { position: relative; overflow: hidden; background: #eef3fa; box-shadow: 0 2px 6px rgba(11,26,51,0.12); }
.tile.img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile.img .shade { position: absolute; inset: 0; }
.tile.img .mark2 { position: absolute; right: 4px; bottom: 4px; width: 20px; height: 20px; border-radius: 10px; background: rgba(255,255,255,0.94); display: grid; place-items: center; }
.tile.img .mark2 svg { width: 12px; height: 12px; }
.item.prog .tile.img { width: 64px; height: 64px; border-radius: 16px; }
.item.prog b.row { align-items: center; }
.prog-hero .tile.big.img { width: 84px; height: 84px; border-radius: 20px; background: #eef3fa !important; box-shadow: 0 0 0 3px rgba(255,255,255,0.35); }
.prog-hero .tile.big.img .mark2 { width: 26px; height: 26px; border-radius: 13px; }
.prog-hero .tile.big.img .mark2 svg { width: 15px; height: 15px; }
:root[data-theme="dark"] .tile.img { background: #0f1727; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tile.img { background: #0f1727; } }
/* Programkort som i appen: bild till vänster, text till höger */
.item.prog.pic { display: flex; flex-direction: row; align-items: flex-start; gap: 14px; }
.item.prog.pic > div { min-width: 0; flex: 1; }
.item.prog.pic .tile { width: 64px; height: 64px; border-radius: 16px; margin-top: 2px; }
.item.prog.pic b { margin-bottom: 4px; }
