/* DINPULS.SE – lättredigerad CSS */
:root{
  /* Gemensam färgpalett – återanvänd dessa variabler i alla CSS-filer. */
  --blue950:#061a3a;
  --blue900:#082653;
  --blue700:#0a57c7;
  --blue600:#0b69f0;
  --blue100:#eaf3ff;
  --green:#209c4b;
  --red:#df2b32;
  --text:#10213e;
  --muted:#6e7b91;
  --border:#dfe6ef;
  --bg:#f5f7fb;
  --card:#fff;
  --shadow:0 8px 24px rgba(16,33,62,.08);
  --radius:12px;
  --max:1500px;
  --lunch-roll-desktop:45s;
  --lunch-roll-mobile:12s;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg)}a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}small{color:var(--muted)}
.site-header{background:radial-gradient(circle at 15% 0%,rgba(64,153,255,.35),transparent 32%),linear-gradient(135deg,var(--blue900),var(--blue700));color:#fff;position:sticky;top:0;z-index:20}.header-inner{max-width:var(--max);min-height:94px;margin:auto;padding:12px 24px;display:grid;grid-template-columns:330px minmax(320px,560px) 1fr;align-items:center;gap:28px}.brand-logo{width:290px;height:70px;object-fit:cover;object-position:50% 46%;filter:brightness(0) invert(1);mix-blend-mode:screen}.search{height:48px;display:flex;background:#fff;border-radius:12px;box-shadow:0 10px 24px rgba(4,24,58,.22)}.search input{flex:1;border:0;outline:0;padding:0 18px}.search button{width:54px;border:0;background:transparent;font-size:28px}.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:18px;font-weight:700}.header-actions button{position:relative;border:0;background:none;color:#fff;font-size:22px}.header-actions b{position:absolute;top:-6px;right:-5px;background:var(--red);font-size:10px;padding:2px 5px;border-radius:20px}
.quick-strip{max-width:calc(var(--max) - 28px);margin:12px auto 0;display:grid;grid-template-columns:repeat(6,minmax(190px,1fr));background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.quick-strip a{display:flex;align-items:center;gap:10px;padding:12px 14px;border-right:1px solid var(--border)}.quick-strip strong,.quick-strip small{display:block}.quick-strip strong{font-size:13px}.quick-strip small{font-size:10px;margin-top:4px}
.main-nav{max-width:var(--max);min-height:56px;margin:auto;padding:0 24px;display:flex;gap:26px;align-items:stretch;overflow:auto;background:#fff;border-bottom:1px solid var(--border);white-space:nowrap}.main-nav a{display:flex;align-items:center;font-size:13px;font-weight:700;border-bottom:3px solid transparent}.main-nav a:hover,.main-nav a.active{color:var(--blue700);border-color:var(--blue700)}
main{max-width:var(--max);margin:auto}.hero{height:330px;position:relative;overflow:hidden}.hero>img{width:100%;height:100%;object-fit:cover}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,24,58,.74),rgba(4,24,58,.16) 58%,transparent)}.hero-copy{position:absolute;top:48px;left:40px;color:#fff}.hero-copy h1{font-size:44px;line-height:1.08;margin:0 0 14px}.hero-copy p{font-size:18px}.hero-copy button{margin-top:18px;padding:12px 18px;border:0;border-radius:8px;background:#fff;font-weight:700}.important{position:absolute;top:20px;right:20px;width:455px;padding:18px 20px;background:rgba(255,255,255,.98);border-radius:12px;box-shadow:0 16px 40px rgba(8,38,83,.24)}.heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.heading h2{margin:0}.heading>a{font-size:12px;color:var(--blue700);font-weight:700}.important article{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--border)}.important article div{display:grid;gap:4px}.important article strong{font-size:13px}.important article a{font-size:12px;color:var(--blue700);font-weight:700}.important i{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:#fff;font-style:normal}.red{background:var(--red)}.blue{background:var(--blue700)}.green{background:var(--green)}.center{display:block;text-align:center;margin-top:14px;color:var(--blue700);font-size:13px;font-weight:700}
.grid{display:grid;gap:16px;padding:16px 20px 0}.four{grid-template-columns:repeat(4,1fr)}.three{grid-template-columns:1.05fr .78fr 1.1fr}.lower{grid-template-columns:1fr 1fr}.card{min-width:0;padding:18px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.card h2{margin:0;color:var(--blue700);font-size:18px}.card>small{display:block;margin:4px 0 12px}.card h3{font-size:13px}.card-link{display:block;text-align:center;margin-top:16px;color:var(--blue700);font-size:12px;font-weight:700}.muted{font-size:12px}.good{color:var(--green);font-size:13px;font-weight:700}
.weather{display:flex;align-items:center;gap:18px;margin:12px 0 20px}.weather>span{font-size:58px}.weather strong{font-size:35px}.weather p{font-size:13px}.forecast{display:grid;grid-template-columns:repeat(4,1fr);padding-top:18px;border-top:1px solid var(--border)}.forecast div{text-align:center;font-size:11px;line-height:2}.forecast b{display:block}
.map{position:relative;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,#d7efd8,#deedff 52%,#f2e7c8)}.traffic{height:150px;margin-top:18px}.road{position:absolute;left:-10%;width:120%;height:4px;background:#37a84a;box-shadow:0 0 0 2px #fff}.r1{top:48%;transform:rotate(8deg)}.r2{top:62%;transform:rotate(-22deg)}.r3{top:34%;transform:rotate(42deg)}.w1,.w2{position:absolute}.w1{top:36%;left:35%}.w2{top:58%;right:23%}.main-map{height:175px;margin:16px 0}.main-map i{position:absolute;font-size:30px;font-style:normal}.p1{left:18%;top:32%;color:var(--blue700)}.p2{left:37%;top:18%;color:var(--green)}.p3{left:55%;top:55%;color:#ff8a1f}.p4{right:18%;top:24%;color:#8b52c6}.p5{right:35%;bottom:12%;color:var(--red)}.legend{display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:10px}
.tabs{display:grid;grid-template-columns:1fr 1fr;margin:12px 0}.tabs button{border:0;padding:8px;background:#eef2f8}.tabs button.active{background:var(--blue700);color:#fff;border-radius:6px}.departures,.prices,.events,.simple,.housing{list-style:none;margin:0;padding:0}.departures li{display:grid;grid-template-columns:24px 48px 1fr auto;align-items:center;gap:4px;padding:9px 0;border-bottom:1px solid var(--border);font-size:12px}.departures span{display:grid}.departures em{font-style:normal;background:#dff6e5;color:#167c34;padding:4px 8px;border-radius:7px}.prices li{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--border);font-size:13px}
.text-tabs{display:flex;gap:24px;margin-top:12px;border-bottom:1px solid var(--border)}.text-tabs button{border:0;border-bottom:3px solid transparent;background:none;padding:8px 4px}.text-tabs button.active{color:var(--blue700);border-color:var(--blue700)}.news p{display:grid;grid-template-columns:82px 1fr;gap:12px;align-items:center;margin:0;padding:10px 0;border-bottom:1px solid var(--border)}.news p small{grid-column:2}.thumb{grid-row:1/3;width:82px;height:48px;border-radius:6px}.thumbnail-one{background:linear-gradient(145deg,#6fa45d,#4a6d3d)}.thumbnail-two{background:linear-gradient(145deg,#2c66b8,#d1ecff)}.thumbnail-three{background:linear-gradient(145deg,#57412f,#d3a470)}.news b{font-size:12px}.news small{font-size:10px}
.events li{display:grid;grid-template-columns:58px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}.events time{display:grid;font-size:11px}.events time b{font-size:23px}.events span{display:grid;gap:5px}.events strong{font-size:13px}.events small{font-size:11px;line-height:1.5}.new{background:#dff6e5;color:#247d3a;padding:4px 8px;border-radius:6px;font-size:10px}.simple li{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--border);font-size:11px}.simple span,.housing span{display:grid}.simple em,.housing em{font-style:normal}.simple small,.housing small{font-size:10px}.housing li{display:grid;grid-template-columns:54px 1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--border);font-size:11px}.house{height:38px;border-radius:5px}.h1{background:linear-gradient(135deg,#6d824d,#d1c7ae)}.h2{background:linear-gradient(135deg,#eee9de,#8d7a61)}.h3{background:linear-gradient(135deg,#d8c7a6,#77543c)}
.events-card{cursor:pointer}.events-card:focus-visible{outline:3px solid var(--blue600);outline-offset:3px}.events-loading{display:flex;align-items:center;gap:9px;min-height:145px;justify-content:center;color:var(--muted);font-size:12px}.events-empty{min-height:145px;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;color:var(--muted);font-size:11px}.events-empty svg{width:28px}.events-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:var(--muted);font-size:10px}.events-card-footer a{display:flex;align-items:center;gap:5px;color:var(--blue700);font-weight:800}.events-card-footer svg{width:13px}
.app-card{display:flex;justify-content:space-between;overflow:hidden;padding:22px;color:#fff;background:radial-gradient(circle at 100% 0%,rgba(73,153,255,.34),transparent 35%),linear-gradient(120deg,var(--blue950),#0a3f88);border-radius:12px;box-shadow:var(--shadow)}.app-card h2{font-size:22px}.app-card p{line-height:1.8}.app-card button{border:0;border-radius:6px;background:var(--blue600);color:#fff;padding:10px 14px;font-weight:700}.app-card small{display:block;margin-top:8px}.phone{width:120px;height:210px;align-self:flex-end;padding:25px 8px;background:#fff;color:var(--blue950);border:7px solid #111;border-radius:22px;transform:rotate(7deg);text-align:center}.phone span{display:block;margin-top:25px;font-size:27px}
.services{padding:20px}.services h2{font-size:18px}.service-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}.service-grid a{min-height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid var(--border);border-radius:8px;font-size:25px}.service-grid span{font-size:11px}.ads{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0 20px 18px}.ads article{padding:14px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow)}.offer{display:grid;grid-template-columns:100px 1fr 80px 1fr;gap:14px;align-items:center}.offer>strong{background:#ffd43b;padding:16px;border-radius:6px;font-size:31px}.offer strong small,.offer span small{display:block;font-size:10px}.offer i{font-style:normal;font-size:45px}.sponsor{color:#fff!important;background:linear-gradient(100deg,#111018,#4b241d)!important}.sponsor button{border:0;border-radius:6px;background:#df2777;color:#fff;padding:10px 14px;font-weight:700}
footer{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 25px;background:#fff;border-top:1px solid var(--border);font-size:11px}footer nav{display:flex;gap:28px}footer nav a{color:var(--blue700);font-weight:700}footer nav a:hover{text-decoration:underline}
@media(max-width:1100px){.header-inner{grid-template-columns:280px minmax(280px,1fr) auto}.brand-logo{width:250px}.quick-strip{display:flex;overflow:auto}.quick-strip a{min-width:205px}.four{grid-template-columns:repeat(2,1fr)}.three,.lower{grid-template-columns:1fr}.service-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.site-header{position:static}.header-inner{grid-template-columns:1fr auto;padding:10px 14px}.brand-logo{width:225px;height:58px}.search{grid-column:1/-1}.header-actions>span{display:none}.hero{height:560px}.hero-copy{top:36px;left:20px}.hero-copy h1{font-size:34px}.important{top:255px;left:14px;right:14px;width:auto}.four{grid-template-columns:1fr}.grid{padding-left:12px;padding-right:12px}.service-grid{grid-template-columns:repeat(2,1fr)}.ads{grid-template-columns:1fr;padding-left:12px;padding-right:12px}.offer{grid-template-columns:90px 1fr}.offer i{display:none}footer{align-items:flex-start;flex-direction:column}footer nav{flex-wrap:wrap;gap:16px}}

/* =========================================================
   21. PREMIUMJUSTERINGAR – VERSION 0.2
========================================================= */

/* Större och luftigare header */
.site-header {
  box-shadow: 0 10px 30px rgba(5, 30, 70, 0.18);
}

.header-inner {
  min-height: 112px;
  grid-template-columns: 390px minmax(360px, 620px) 1fr;
  gap: 34px;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Loggan större och tydligare */
.brand-logo {
  width: 355px;
  height: 82px;
  object-fit: cover;
  object-position: 50% 46%;
}

/* Sökfält med premiumkänsla */
.search {
  height: 56px;
  border-radius: 18px;
  box-shadow:
    0 14px 30px rgba(4, 24, 58, 0.25),
    inset 0 0 0 1px rgba(8, 38, 83, 0.06);
}

.search input {
  padding-left: 22px;
  font-size: 15px;
}

.search button {
  width: 62px;
}

/* Klocka */
.live-clock {
  min-width: 52px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Dialoger ska centreras mot viewporten även när de öppnas från headern. */
.municipality-dialog,
.homepage-dialog,
.homepage-customize-dialog {
  position: fixed;
  inset: 0;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  overflow: auto;
}

/* Levande ticker */
.quick-strip {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: calc(var(--max) - 28px);
  min-height: 68px;
}

.quick-strip::before,
.quick-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.quick-strip::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0));
}

.quick-strip::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff, rgba(255,255,255,0));
}

.ticker-track {
  display: flex;
  width: max-content;
  min-height: 68px;
  animation: dinpuls-ticker 42s linear infinite;
}

.ticker-set {
  display: flex;
}

.ticker-set > *{margin-right:18px}

.primary-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

[data-lunch-ticker]{display:flex}

/* Separat flygplatsremsa för dagens lunch */
.lunch-airport-strip{max-width:calc(var(--max) - 28px);min-height:66px;margin:12px auto 0;display:grid;grid-template-columns:190px minmax(0,1fr);overflow:hidden;color:#f8ead0;background:#14202a;border:1px solid #263746;border-radius:12px;box-shadow:var(--shadow)}
.lunch-airport-label{position:relative;z-index:2;display:flex;align-items:center;gap:11px;padding:12px 18px;color:#fff;background:linear-gradient(135deg,#a44b20,#e27a25);box-shadow:8px 0 18px rgba(0,0,0,.22)}
.lunch-airport-label svg{width:24px}.lunch-airport-label span{display:grid}.lunch-airport-label strong{font-size:12px;letter-spacing:.08em}.lunch-airport-label small{margin-top:4px;color:#ffe3c7;font-size:9px;font-weight:800;letter-spacing:.14em}
.lunch-airport-window{overflow:hidden}.lunch-airport-track{display:flex;width:max-content;min-height:66px;animation:lunch-airport-roll var(--lunch-roll-desktop,45s) linear infinite}.lunch-airport-strip:hover .lunch-airport-track{animation-play-state:paused}.lunch-airport-set{display:flex}
.lunch-airport-item{min-width:520px;max-width:660px;display:grid;grid-template-columns:max-content minmax(220px,1fr) max-content;align-items:center;gap:15px;padding:12px 24px;color:#f8ead0;border-right:1px solid #3a4853}
.lunch-airport-item strong{color:#ffb15f;font-size:12px;letter-spacing:.05em;text-transform:uppercase}.lunch-airport-item span{display:-webkit-box;overflow:hidden;font-size:12px;font-weight:700;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.lunch-airport-item b{display:flex;align-items:center;gap:3px;color:#a8bbc9;font-size:8px}.lunch-airport-item b svg{width:12px}
@keyframes lunch-airport-roll{to{transform:translateX(-50%)}}
@media(max-width:760px){
  .lunch-airport-strip{min-height:58px;grid-template-columns:112px minmax(0,1fr);margin:10px 12px 0}
  .lunch-airport-label{gap:7px;padding:8px 9px;box-shadow:5px 0 12px rgba(0,0,0,.2)}
  .lunch-airport-label svg{width:18px;flex:0 0 auto}
  .lunch-airport-label strong{font-size:9px;letter-spacing:.04em;white-space:nowrap}
  .lunch-airport-label small{margin-top:2px;font-size:7px;letter-spacing:.08em;white-space:nowrap}
  .lunch-airport-track{min-height:58px;animation-duration:var(--lunch-roll-mobile,12s)}
  .lunch-airport-item{box-sizing:border-box;min-width:calc(100vw - 138px);max-width:calc(100vw - 138px);min-height:58px;grid-template-columns:minmax(0,1fr);align-content:center;padding:8px 12px;gap:2px}
  .lunch-airport-item strong{overflow:hidden;font-size:9px;white-space:nowrap;text-overflow:ellipsis}
  .lunch-airport-item span{font-size:10px;line-height:1.3;-webkit-line-clamp:2}
  .lunch-airport-item b{display:none}
}
@media(max-width:360px){
  .lunch-airport-strip{grid-template-columns:96px minmax(0,1fr)}
  .lunch-airport-label{padding:8px}
  .lunch-airport-label svg{display:none}
  .lunch-airport-item{min-width:calc(100vw - 122px);max-width:calc(100vw - 122px)}
}

.quick-strip:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track a {
  min-width: 250px;
  min-height: 68px;
  flex: 0 0 250px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-right: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.ticker-track a:hover {
  background: var(--blue100);
}

@keyframes dinpuls-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Menyn luftigare */
.main-nav {
  gap: 34px;
  min-height: 62px;
}

.main-nav a {
  font-size: 14px;
}

/* Hero mer kraftfull */
.hero {
  height: 410px;
}

.hero-copy {
  top: 72px;
}

.hero-copy h1 {
  font-size: 50px;
  line-height: 1.04;
  letter-spacing: -1.8px;
}

/* Mjukare och mer premium kort */
.card,
.important,
.app-card,
.ads article {
  border-radius: 16px;
  box-shadow:
    0 10px 30px rgba(16, 33, 62, 0.07),
    0 2px 8px rgba(16, 33, 62, 0.04);
}

.card {
  padding: 22px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 87, 199, 0.28);
  box-shadow:
    0 18px 38px rgba(16, 33, 62, 0.10),
    0 4px 12px rgba(16, 33, 62, 0.05);
}

.grid {
  gap: 20px;
  padding-top: 20px;
}

.card h2 {
  font-size: 19px;
}

/* Länkar tydligare */
.card-link,
.center,
.heading > a,
.important article a {
  color: var(--blue600);
}

/* Respektera användare som vill minska rörelse */
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }

  .card {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 310px minmax(280px, 1fr) auto;
  }

  .brand-logo {
    width: 285px;
    height: 72px;
  }

  .ticker-track {
    animation-duration: 48s;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 98px;
  }

  .brand-logo {
    width: 250px;
    height: 64px;
  }

  .hero {
    height: 580px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .ticker-track a {
    min-width: 220px;
    flex-basis: 220px;
  }
}


/* =========================================================
   SPRINT 1 – SLUTLIG DESIGN
========================================================= */
:root{
  --header-gradient:linear-gradient(120deg,#071d43 0%,#0b438e 50%,#0864df 100%);
  --surface-glass:rgba(255,255,255,.94);
}
body{transition:background .25s,color .25s}
.site-header{background:var(--header-gradient);box-shadow:0 12px 34px rgba(6,26,58,.22)}
.header-inner{grid-template-columns:380px minmax(360px,600px) 1fr}
.brand-logo{width:370px;height:auto;object-fit:contain;filter:none;mix-blend-mode:normal}
.search{position:relative;height:56px;align-items:center;overflow:visible;border-radius:16px;box-shadow:0 14px 34px rgba(3,17,42,.26)}
.search>svg{width:20px;height:20px;margin-left:18px;color:#718096;flex:0 0 20px;align-self:center}.search input{min-width:0;height:100%;padding:0 12px;font:inherit}.search button{width:auto;height:100%;flex:0 0 auto;padding:0 22px;border-radius:0 16px 16px 0;background:#f1f6ff;color:var(--blue700);font-weight:700;font-size:13px}
.search-feedback{position:absolute;z-index:60;top:calc(100% + 8px);left:0;right:0;padding:11px 13px;color:#173860;background:#fff;border:1px solid #cbd9ea;border-radius:10px;box-shadow:0 12px 30px rgba(3,17,42,.22);font-size:11px;line-height:1.4}.search-feedback[hidden]{display:none}
.header-actions{gap:14px}.header-actions svg{width:20px;height:20px}.municipality-button{display:flex;align-items:center;gap:7px;color:#fff;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.1);padding:9px 12px;border-radius:10px}.weather-compact{display:flex;align-items:center;gap:6px}.icon-button{display:grid;place-items:center;width:40px;height:40px;border-radius:10px!important}.icon-button:hover{background:rgba(255,255,255,.14)!important}.notification-button b{top:0!important;right:0!important}.mobile-menu-button{display:none}
.quick-strip{margin-top:14px;border-radius:14px}.ticker-track a>svg{width:22px;color:var(--blue700)}.main-nav a{gap:8px}.main-nav a>svg{width:17px;height:17px}
.hero{border-radius:0 0 20px 20px}.hero-copy .eyebrow{display:inline-block;margin-bottom:14px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:#8fc2ff}.eyebrow.dark{color:var(--blue700)}.favorite-button{display:flex;align-items:center;gap:8px}.favorite-button svg{width:17px}.important{background:var(--surface-glass);backdrop-filter:blur(14px)}.important .heading h2{font-size:26px}.important article .status-icon{width:30px;height:30px;padding:7px;border-radius:9px;color:#fff}.status-icon.danger{background:#e3343d}.status-icon.info{background:#1264cd}.status-icon.success{background:#1da64a}.center{display:flex;justify-content:center;align-items:center;gap:6px}.center svg,.card-link svg{width:15px}
.card-title{display:flex;align-items:center;gap:12px;margin-bottom:14px}.card-title h2{margin:0}.card-title small{display:block;margin-top:3px}.title-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px}.title-icon svg{width:21px}.blue-soft{background:#e9f2ff;color:var(--blue700)}.green-soft{background:#e4f7ea;color:#1f9d4d}.orange-soft{background:#fff0e2;color:#ee7614}.weather-symbol{font-size:56px}.good{display:flex;align-items:center;gap:7px}.good svg{width:16px}.departures li>svg{width:16px;color:var(--blue700)}
.card-link{display:flex;align-items:center;justify-content:center;gap:5px}
.section-intro{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}.section-intro h2{margin:6px 0 0;font-size:24px}.outline-button{padding:10px 14px;border:1px solid #b8cae2;border-radius:9px;background:#fff;color:var(--blue700);font-weight:700}.service-grid a{transition:.2s}.service-grid a svg{width:26px;height:26px;color:var(--blue700)}.service-grid a:hover{background:#edf5ff}
.municipality-dialog{width:min(440px,calc(100% - 28px));border:0;border-radius:20px;padding:0;box-shadow:0 30px 80px rgba(4,24,58,.35)}.municipality-dialog::backdrop{background:rgba(4,16,38,.6);backdrop-filter:blur(4px)}.municipality-dialog form{position:relative;padding:30px}.dialog-close{position:absolute;right:16px;top:16px;border:0;background:#eef3f9;width:36px;height:36px;border-radius:10px}.dialog-icon{width:54px;height:54px;display:grid;place-items:center;background:#e9f2ff;color:var(--blue700);border-radius:15px}.dialog-icon svg{width:27px}.municipality-dialog h2{margin:20px 0 8px}.municipality-dialog p{color:var(--muted)}.municipality-dialog label{display:block;margin:20px 0 7px;font-weight:700}.municipality-dialog select{width:100%;height:48px;border:1px solid #cfdaea;border-radius:10px;padding:0 12px;background:#fff}.primary-button{width:100%;margin-top:14px;padding:13px;border:0;border-radius:10px;background:var(--blue700);color:#fff;font-weight:800}
.municipality-onboarding[hidden]{display:none}.municipality-onboarding-open{overflow:hidden}.municipality-onboarding{position:fixed;z-index:1000;inset:0;overflow:auto;color:#fff;background:radial-gradient(circle at 12% 5%,rgba(82,164,255,.4),transparent 34%),linear-gradient(120deg,#071d43 0%,#0b438e 50%,#0864df 100%)}.municipality-onboarding-shell{width:min(1040px,calc(100% - 32px));min-height:100%;margin:auto;padding:36px 0 48px;display:grid;align-content:center;justify-items:center;gap:24px}.municipality-onboarding-shell>img{width:min(390px,78vw);height:auto}.municipality-onboarding-card{width:100%;padding:34px;color:var(--text);background:rgba(255,255,255,.98);border:1px solid rgba(255,255,255,.6);border-radius:24px;box-shadow:0 30px 80px rgba(2,18,47,.34);text-align:center}.municipality-onboarding-icon{width:56px;height:56px;margin:auto;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--blue700),var(--blue600));border-radius:17px;box-shadow:0 10px 24px rgba(10,87,199,.24)}.municipality-onboarding-icon svg{width:28px}.municipality-onboarding-kicker{display:block;margin-top:18px;color:var(--blue700);font-size:11px;font-weight:900;letter-spacing:.16em}.municipality-onboarding h1{margin:7px 0 8px;color:var(--blue950);font-size:clamp(28px,4vw,42px)}.municipality-onboarding-card>p{max-width:650px;margin:0 auto;color:var(--muted);line-height:1.6}.municipality-onboarding-options{margin-top:26px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.municipality-onboarding-options button{min-height:84px;padding:14px 16px;display:grid;grid-template-columns:38px 1fr 20px;grid-template-rows:auto auto;align-items:center;gap:2px 11px;text-align:left;color:var(--text);background:#f7faff;border:1px solid #dce6f4;border-radius:14px;transition:transform .18s,border-color .18s,box-shadow .18s}.municipality-onboarding-options button:hover,.municipality-onboarding-options button:focus-visible{transform:translateY(-2px);border-color:#75a9ed;box-shadow:0 10px 24px rgba(10,87,199,.12);outline:none}.municipality-onboarding-options button>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;color:var(--blue700);background:#e9f2ff;border-radius:11px}.municipality-onboarding-options button>span svg{width:19px}.municipality-onboarding-options strong{align-self:end;font-size:15px}.municipality-onboarding-options small{align-self:start;font-size:11px}.municipality-onboarding-options button>svg{grid-column:3;grid-row:1/3;width:17px;color:var(--blue700)}.municipality-onboarding-note{margin-top:22px!important;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px}.municipality-onboarding-note svg{width:16px;color:var(--green)}
@media(max-width:720px){.municipality-onboarding-shell{width:min(100% - 20px,520px);padding:20px 0}.municipality-onboarding-shell>img{width:min(280px,70vw)}.municipality-onboarding-card{padding:24px 16px 20px;border-radius:19px}.municipality-onboarding-options{grid-template-columns:1fr;gap:8px;margin-top:20px}.municipality-onboarding-options button{min-height:70px}.municipality-onboarding-note{align-items:flex-start;text-align:left}}
.municipality-onboarding{background:radial-gradient(circle at 78% -20%,rgba(255,221,92,.22),transparent 30%),radial-gradient(circle at 50% 22%,rgba(255,255,255,.12),transparent 35%),linear-gradient(120deg,#075b72 0%,#078aa2 52%,#3b9f68 100%)}.municipality-onboarding::before,.municipality-onboarding::after{content:"";position:fixed;pointer-events:none;border:1px solid rgba(255,255,255,.1);border-radius:50%;inset:auto}.municipality-onboarding::before{width:720px;height:720px;left:50%;top:-330px;transform:translateX(-50%);box-shadow:0 0 0 105px rgba(255,255,255,.035),0 0 0 210px rgba(255,255,255,.025)}.municipality-onboarding::after{left:-5%;right:-5%;bottom:-130px;height:250px;border:0;border-radius:50% 50% 0 0;background:linear-gradient(170deg,rgba(0,73,103,.28),rgba(42,157,113,.18));transform:rotate(-2deg)}.municipality-onboarding-shell{position:relative;z-index:1;width:min(920px,calc(100% - 32px));gap:18px}.municipality-onboarding-shell>img{width:min(360px,72vw)}.municipality-onboarding-card{width:min(800px,100%);padding:32px 48px 28px;border-radius:19px}.municipality-onboarding-kicker{margin-top:0;color:#07869a}.municipality-onboarding h1{margin:7px 0 3px;font-size:clamp(28px,3vw,38px)}.municipality-onboarding h2{margin:0 0 8px;color:#073c59;font-size:clamp(18px,2vw,24px)}.municipality-onboarding-picker{position:relative;max-width:670px;margin:24px auto 0;text-align:left}.municipality-onboarding-picker>label{display:block;margin-bottom:7px;color:#073c59;font-size:13px;font-weight:850}.municipality-onboarding-combobox{height:54px;display:grid;grid-template-columns:24px 1fr 44px;align-items:center;padding-left:15px;color:#087d96;background:#fff;border:1px solid #4a8fa9;border-radius:10px;box-shadow:0 3px 12px rgba(4,67,87,.08)}.municipality-onboarding-combobox:focus-within{border-color:#057d96;box-shadow:0 0 0 3px rgba(7,138,162,.16)}.municipality-onboarding-combobox>svg{width:20px}.municipality-onboarding-combobox input{width:100%;height:100%;padding:0 11px;color:#073c59;background:transparent;border:0;outline:0;font:700 15px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.municipality-onboarding-combobox input::placeholder{color:#65798a;font-weight:500}.municipality-onboarding-combobox input::-webkit-search-cancel-button{display:none}.municipality-onboarding-combobox button{height:100%;display:grid;place-items:center;color:#073c59;background:transparent;border:0}.municipality-onboarding-combobox button svg{width:20px}.municipality-onboarding-options{position:absolute;z-index:3;top:82px;left:0;right:0;max-height:245px;margin:0;padding:7px;display:block;overflow-y:auto;background:#fff;border:1px solid #cadce4;border-radius:10px;box-shadow:0 16px 35px rgba(3,56,78,.22)}.municipality-onboarding-options[hidden]{display:none}.municipality-onboarding-options button{width:100%;min-height:53px;padding:8px 12px;display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:9px;color:#073c59;background:#fff;border:0;border-radius:7px;text-align:left}.municipality-onboarding-options button:hover,.municipality-onboarding-options button.is-active,.municipality-onboarding-options button[aria-selected=true]{transform:none;background:#e2f3f5;box-shadow:none}.municipality-onboarding-options button>svg{grid-column:1;grid-row:1;width:18px;color:#078aa2}.municipality-onboarding-options button span{font-size:14px;font-weight:800}.municipality-onboarding-options button small{color:#65798a;font-size:10px}.municipality-onboarding-empty{margin:0;padding:16px;color:#65798a;text-align:center;font-size:13px}.municipality-onboarding-help{margin:8px 0 0!important;color:#65798a!important;font-size:11px;text-align:left}.municipality-onboarding-continue{width:100%;min-height:52px;margin-top:17px;color:#fff;background:linear-gradient(100deg,#075b72,#078aa2);border:0;border-radius:9px;font-size:15px;font-weight:850;box-shadow:0 8px 18px rgba(7,91,114,.2)}.municipality-onboarding-continue:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}.municipality-onboarding-note{position:relative;z-index:1;margin-top:17px!important;color:rgba(255,255,255,.92)!important}.municipality-onboarding-note svg{color:#fff}.municipality-onboarding-card>.municipality-onboarding-note{position:absolute;left:0;right:0;top:100%;margin-top:20px!important}.municipality-onboarding-card{position:relative;margin-bottom:48px}
@media(max-width:720px){.municipality-onboarding-shell{gap:12px;padding:16px 0 34px}.municipality-onboarding-shell>img{width:min(260px,68vw)}.municipality-onboarding-card{padding:22px 16px 20px;margin-bottom:62px}.municipality-onboarding h1{font-size:27px}.municipality-onboarding h2{font-size:18px}.municipality-onboarding-card>p{font-size:13px}.municipality-onboarding-picker{margin-top:20px}.municipality-onboarding-options{top:82px;max-height:205px}.municipality-onboarding-options button{min-height:49px;grid-template-columns:22px 1fr}.municipality-onboarding-options button small{display:none}.municipality-onboarding-card>.municipality-onboarding-note{margin-top:16px!important;padding:0 8px;justify-content:center;text-align:center}.municipality-onboarding::before{width:440px;height:440px;top:-210px}}
[data-theme="dark"]{--text:#eaf1fb;--muted:#9eabc0;--border:#263957;--bg:#071426;--card:#0d2039;--surface:#0d2039;--blue100:#132e50}
[data-theme="dark"] body,[data-theme="dark"]{background:#071426;color:#eaf1fb}
[data-theme="dark"] .quick-strip,[data-theme="dark"] .main-nav,[data-theme="dark"] .card,[data-theme="dark"] .services .service-grid a,[data-theme="dark"] footer,[data-theme="dark"] .local-offers{background:#0d2039;border-color:#263957}
[data-theme="dark"] .important{background:rgba(13,32,57,.95)}
[data-theme="dark"] .important h2,[data-theme="dark"] .important strong,[data-theme="dark"] .important a,[data-theme="dark"] .main-nav a,[data-theme="dark"] .service-grid span{color:#eaf1fb}
[data-theme="dark"] .quick-strip::before{background:linear-gradient(90deg,#0d2039,transparent)}
[data-theme="dark"] .quick-strip::after{background:linear-gradient(270deg,#0d2039,transparent)}
[data-theme="dark"] .outline-button{background:#0d2039;border-color:#385071;color:#8fc2ff}
[data-theme="dark"] .text-tabs button,.tabs button{color:inherit}
[data-theme="dark"] .municipality-dialog form{background:#0d2039;color:#eaf1fb}
[data-theme="dark"] .municipality-dialog select{background:#071426;color:#eaf1fb;border-color:#385071}
@media(max-width:1100px){.header-inner{grid-template-columns:310px minmax(280px,1fr) auto}.brand-logo{width:295px}.municipality-button{display:none}}
@media(max-width:760px){
 .header-inner{grid-template-columns:1fr auto;gap:12px}.brand-logo{width:245px}.search{grid-column:1/-1;grid-row:2}.weather-compact,.live-clock{display:none}.mobile-menu-button{display:grid}.main-nav{display:none;position:absolute;z-index:40;left:12px;right:12px;top:172px;height:auto;max-height:70vh;flex-direction:column;gap:0;padding:8px;border-radius:14px;box-shadow:0 20px 50px rgba(6,26,58,.3)}.main-nav.open{display:flex}.main-nav a{min-height:48px;padding:0 12px;border:0;border-radius:9px}.main-nav a:hover{background:#edf5ff}.hero-copy{left:18px}.important{top:270px}.section-intro{align-items:flex-start;flex-direction:column;gap:12px}.outline-button{width:100%}
}


/* =========================================================
   SPRINT 1.1 – SEKTIONSRYTM OCH FÄRGKORRIGERING
========================================================= */

/* Nyheter, evenemang och karta ska ligga direkt mot sidans ljusa bakgrund */
.grid.three {
  background: transparent;
  padding-top: 24px;
  padding-bottom: 8px;
}

/* Tydlig men mjuk luft mellan sektionerna */
.grid.three + .grid.lower {
  margin-top: 8px;
  padding-top: 20px;
}

/* Undvik hårda eller avklippta sektionskanter */
.grid.three,
.grid.lower {
  position: relative;
  border-radius: 0;
}

/* Samma premiumkort i båda sektionerna */
.grid.three .card,
.grid.lower .card,
.grid.lower .app-card {
  min-height: 100%;
}

/* Jämn vertikal rytm på hela startsidan */
.grid.four {
  padding-bottom: 4px;
}

.services {
  padding-top: 30px;
}

/* Mörkt läge – samma neutrala bakgrund utan färgblock */
[data-theme="dark"] .grid.three {
  background: transparent;
}


/* =========================================================
   SPRINT 1.2 – MOBILANPASSNING
========================================================= */

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    min-height: auto;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 14px 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 210px;
    height: auto;
  }

  .header-actions {
    gap: 6px;
  }

  .municipality-button,
  .weather-compact,
  .live-clock {
    display: none;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 48px;
    border-radius: 13px;
  }

  .search input {
    min-width: 0;
    font-size: 14px;
  }

  .search button {
    padding: 0 16px;
    font-size: 12px;
  }

  .mobile-menu-button {
    display: grid;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 118px;
    left: 12px;
    right: 12px;
    z-index: 60;
    max-width: none;
    min-height: 0;
    max-height: calc(100vh - 135px);
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(6, 26, 58, 0.34);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    min-height: 48px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: var(--blue100);
    border: 0;
  }

  .quick-strip {
    margin: 8px 8px 0;
    border-radius: 12px;
    min-height: 58px;
  }

  .ticker-track {
    min-height: 58px;
    animation-duration: 68s;
  }

  .ticker-track a {
    min-width: 205px;
    min-height: 58px;
    flex-basis: 205px;
    padding: 9px 13px;
  }

  .ticker-track a > svg {
    width: 18px;
    height: 18px;
  }

  .ticker-track strong {
    font-size: 12px;
  }

  .ticker-track small {
    font-size: 9px;
  }

  main {
    width: 100%;
  }

  .hero {
    height: 500px;
    border-radius: 0 0 18px 18px;
  }

  .hero > img {
    height: 500px;
    object-position: 52% center;
  }

  .hero-copy {
    top: 34px;
    left: 18px;
    right: 18px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 10px;
  }

  .hero-copy h1 {
    font-size: 36px;
    line-height: 1.04;
    letter-spacing: -1.2px;
  }

  .hero-copy p {
    max-width: 280px;
    font-size: 15px;
    line-height: 1.5;
  }

  .favorite-button {
    padding: 11px 14px;
    font-size: 13px;
  }

  .important {
    top: 230px;
    left: 12px;
    right: 12px;
    width: auto;
    padding: 16px;
    border-radius: 14px;
  }

  .important .heading h2 {
    font-size: 20px;
  }

  .important article {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 11px 0;
  }

  .important article > a {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }

  .important article strong {
    font-size: 12px;
  }

  .important article small {
    font-size: 10px;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
    padding: 14px 10px 0;
  }

  .grid.three,
  .grid.lower {
    padding-top: 14px;
  }

  .card,
  .app-card {
    width: 100%;
    border-radius: 14px;
  }

  .card {
    padding: 17px;
  }

  .card:hover {
    transform: none;
  }

  .card-title {
    margin-bottom: 10px;
  }

  .title-icon {
    width: 38px;
    height: 38px;
  }

  .weather {
    justify-content: flex-start;
  }

  .forecast {
    gap: 4px;
  }

  .forecast div {
    font-size: 10px;
  }

  .traffic {
    height: 170px;
  }

  .departures li {
    grid-template-columns: 20px 44px 1fr auto;
    font-size: 11px;
  }

  .prices li {
    padding: 13px 0;
  }

  .news p {
    grid-template-columns: 70px 1fr;
  }

  .thumb {
    width: 70px;
    height: 46px;
  }

  .events li {
    grid-template-columns: 50px 1fr;
  }

  .main-map {
    height: 210px;
  }

  .legend {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .lower .app-card {
    min-height: 280px;
  }

  .phone {
    width: 105px;
    height: 185px;
  }

  .services {
    padding: 22px 10px 10px;
  }

  .section-intro {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .section-intro h2 {
    font-size: 22px;
  }

  .outline-button {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .service-grid a {
    min-height: 74px;
  }

  .ads {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 10px 16px;
  }

  .offer {
    grid-template-columns: 84px 1fr;
    gap: 12px;
  }

  .offer i {
    display: none;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 20px 14px;
  }

  footer nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  [data-theme="dark"] .main-nav {
    background: #0d2039;
    border-color: #263957;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 185px;
  }

  .header-inner {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .important {
    top: 220px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .departures li {
    grid-template-columns: 18px 40px 1fr auto;
  }
}


/* =========================================================
   VÄDERLÄGE 2.0 – NOWCAST, PROGNOS OCH ÅSKLÄGE
========================================================= */

.weather-card {
  position: relative;
}

.weather-card .card-title {
  position: relative;
}

.weather-live-badge {
  margin-left: auto;
  padding: 5px 8px;
  color: var(--blue700);
  background: #e9f2ff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.weather-live-badge.is-live {
  color: #18783a;
  background: #e1f6e7;
}

.weather-live-badge.is-fallback {
  color: #9b5d0c;
  background: #fff1dd;
}

.weather-loading {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

.loading-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #dce7f6;
  border-top-color: var(--blue700);
  border-radius: 50%;
  animation: weather-spin 0.8s linear infinite;
}

@keyframes weather-spin {
  to { transform: rotate(360deg); }
}

.weather-content[hidden],
.weather-loading[hidden],
.weather-error[hidden] {
  display: none !important;
}

.weather-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 0 0 16px;
}

.weather-metrics > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 19px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 5px;
  padding: 9px 7px;
  background: #f5f8fc;
  border: 1px solid #e4ebf4;
  border-radius: 9px;
}

.weather-metrics svg {
  grid-row: 1 / 3;
  width: 17px;
  height: 17px;
  color: var(--blue700);
}

.weather-metrics b {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-metrics small {
  font-size: 8px;
}

.weather-alert {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
  padding: 10px 12px;
  color: #733d00;
  background: linear-gradient(135deg, #fff3cf, #ffe0a8);
  border: 1px solid #f1bd58;
  border-radius: 11px;
}

.weather-alert[hidden],
.weather-lightning[hidden] {
  display: none !important;
}

.weather-alert[data-level="thunder"] {
  color: #542079;
  background: linear-gradient(135deg, #f3e7ff, #e0c4ff);
  border-color: #b784e6;
}

.weather-alert > svg {
  width: 27px;
  height: 27px;
}

.weather-alert div {
  display: grid;
  gap: 2px;
}

.weather-alert strong { font-size: 12px; }
.weather-alert span { font-size: 9px; line-height: 1.35; }

.weather-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 0 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.weather-section-heading span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.weather-section-heading svg { width: 13px; height: 13px; color: var(--blue700); }
.weather-section-heading small { color: var(--muted); font-size: 7px; text-align: right; }
.weather-forecast-heading { margin-top: 13px; }

.weather-nowcast {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.weather-nowcast > div {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 8px 4px;
  text-align: center;
  background: #f7f9fc;
  border: 1px solid #e4ebf4;
  border-radius: 8px;
}

.weather-nowcast span { color: var(--muted); font-size: 8px; }
.weather-nowcast strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.weather-nowcast i { width: 100%; height: 5px; background: #d5dde8; border-radius: 999px; }
.weather-nowcast [data-rain="light"] i { background: #68b8ed; }
.weather-nowcast [data-rain="moderate"] i { background: #247cc4; }
.weather-nowcast [data-rain="heavy"] i { background: linear-gradient(90deg, #5b35b5, #c03b94); box-shadow: 0 0 7px rgba(132,53,181,.35); }
.weather-nowcast-missing { grid-column: 1 / -1; padding: 9px; color: var(--muted); background: #f7f9fc; border-radius: 8px; font-size: 9px; text-align: center; }

.weather-lightning {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 7px 9px;
  color: #5a257e;
  background: #f4eaff;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
}

.weather-lightning svg { width: 15px; height: 15px; }

.weather-card .forecast {
  gap: 5px;
}

.weather-card .forecast div {
  min-width: 0;
  padding: 9px 3px;
  background: #f7f9fc;
  border-radius: 8px;
}

.weather-card .forecast b {
  margin: 3px 0;
  font-size: 20px;
  line-height: 1.2;
}

.weather-card .forecast strong {
  font-size: 12px;
}

.weather-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 13px;
  padding-top: 11px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 8px;
}

.weather-footer a {
  color: var(--blue700);
  font-weight: 700;
}

.weather-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.weather-links a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.weather-links svg {
  width: 11px;
  height: 11px;
}

.weather-error {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.weather-error > svg {
  width: 34px;
  height: 34px;
  color: #8291a7;
}

.weather-error div {
  display: grid;
  gap: 5px;
}

.weather-error button {
  margin-top: 5px;
  padding: 9px 12px;
  color: #ffffff;
  background: var(--blue700);
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

[data-theme="dark"] .weather-metrics > span,
[data-theme="dark"] .weather-card .forecast div,
[data-theme="dark"] .weather-nowcast > div,
[data-theme="dark"] .weather-nowcast-missing {
  background: #102946;
  border-color: #263957;
}

[data-theme="dark"] .weather-alert { color: #ffe6b3; background: #483318; border-color: #7a5422; }
[data-theme="dark"] .weather-alert[data-level="thunder"] { color: #ecd7ff; background: #322046; border-color: #68458d; }
[data-theme="dark"] .weather-lightning { color: #e2c8ff; background: #2c1d3e; }

[data-theme="dark"] .weather-footer a {
  color: #8fc2ff;
}

@media (max-width: 760px) {
  .weather-loading,
  .weather-error {
    min-height: 220px;
  }

  .weather-metrics {
    gap: 8px;
  }

  .weather-metrics > span {
    padding: 10px 8px;
  }

  .weather-footer {
    font-size: 9px;
  }
}


/* =========================================================
   SPRINT 2.1 – KOMMUNVAL OCH KOMMUNANPASSNING
========================================================= */

.municipality-status {
  max-width: calc(var(--max) - 40px);
  min-height: 48px;
  margin: 12px auto 0;
  padding: 9px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  color: #263c5f;
  background: #edf5ff;
  border: 1px solid #d3e5fb;
  border-radius: 12px;
  font-size: 11px;
}

.municipality-status > div {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.municipality-status svg {
  width: 16px;
  height: 16px;
  color: var(--blue700);
}

.municipality-status strong {
  color: var(--blue700);
}

.municipality-demo-note {
  color: #66758b;
  text-align: center;
}

.municipality-status button {
  padding: 7px 10px;
  color: var(--blue700);
  background: #ffffff;
  border: 1px solid #bdd3ed;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}

.municipality-status button:hover {
  background: #f8fbff;
}

[data-theme="dark"] .municipality-status {
  color: #dfe9f7;
  background: #102946;
  border-color: #29496f;
}

[data-theme="dark"] .municipality-demo-note {
  color: #9eabc0;
}

[data-theme="dark"] .municipality-status button {
  color: #8fc2ff;
  background: #0d2039;
  border-color: #385071;
}

@media (max-width: 760px) {
  .municipality-status {
    margin: 8px 8px 0;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 10px 12px;
  }

  .municipality-demo-note {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
    font-size: 9px;
    line-height: 1.4;
  }

  .municipality-status button {
    justify-self: end;
  }
}


/* =========================================================
   SPRINT 4 – LOKALA NYHETER
========================================================= */

.news-centre-card {
  grid-column: span 2;
  padding: 22px;
}

.news-centre-header,
.news-centre-footer,
.news-meta,
.news-labels,
.news-principle,
.news-updated,
.source-access {
  display: flex;
  align-items: center;
}

.news-centre-header {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.news-centre-header h2 {
  margin: 3px 0 4px;
  font-size: 22px;
}

.section-kicker {
  color: var(--blue700);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.news-updated {
  flex: 0 0 auto;
  gap: 6px;
  color: #607086;
  font-size: 9px;
}

.news-updated svg {
  width: 13px;
  height: 13px;
}

.news-filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.news-filter {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: #596b83;
  background: #f2f5f9;
  border: 1px solid #e0e7f0;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.news-filter.active {
  color: #fff;
  background: var(--blue700);
  border-color: var(--blue700);
}

.news-principle {
  gap: 9px;
  margin: 13px 0;
  padding: 10px 12px;
  color: #42617d;
  background: #edf7ff;
  border: 1px solid #d6eafa;
  border-radius: 10px;
  font-size: 10px;
  line-height: 1.45;
}

.news-principle svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--blue700);
}

.news-loading,
.news-empty {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: var(--muted);
  font-size: 11px;
}

.news-loading {
  flex-direction: column;
}

.news-empty {
  flex-direction: column;
  text-align: center;
}

.news-empty svg {
  width: 30px;
  height: 30px;
}

.news-feed[hidden],
.news-loading[hidden],
.news-empty[hidden] {
  display: none !important;
}

.news-feed {
  display: grid;
  gap: 8px;
}

.news-item {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  gap: 11px;
  align-items: start;
  padding: 12px;
  color: inherit;
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 11px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.news-item:hover {
  transform: translateY(-1px);
  border-color: #bfd5ed;
  box-shadow: 0 8px 22px rgba(15, 48, 90, .08);
}

.news-direct-link {
  color: var(--blue700);
  font-weight: 800;
}

.news-source-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #385a7d;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
}

.news-source-mark.authority {
  background: #245c9d;
}

.news-source-mark.municipality {
  background: #b56e19;
}

.news-item-content {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.news-meta {
  gap: 5px;
  color: #718096;
  font-size: 8px;
}

.news-meta strong {
  color: #42536a;
}

.news-title {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.news-summary {
  color: #65758b;
  font-size: 9px;
  line-height: 1.45;
}

.news-labels {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}

.news-access,
.news-region {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
}

.news-access svg {
  width: 9px;
  height: 9px;
}

.news-access.free {
  color: #18783a;
  background: #e4f7e9;
}

.news-access.subscription {
  color: #8c550e;
  background: #fff0d8;
}

.news-region {
  color: #526981;
  background: #eef2f6;
}

.news-open-icon {
  width: 16px;
  height: 16px;
  color: #8190a3;
}

.news-centre-footer {
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 12px;
  color: #738197;
  border-top: 1px solid #e4eaf2;
  font-size: 9px;
}

.news-centre-footer a {
  color: var(--blue700);
  font-weight: 800;
}

.news-sources-section {
  max-width: var(--max);
  margin: 28px auto;
  padding: 0 20px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 4px 0 0;
  font-size: 22px;
}

.section-heading p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
}

.news-source-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.news-source-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 11px;
}

.news-source-card > svg {
  display: none;
}

.news-source-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--blue700);
  background: var(--blue100);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.news-source-card > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.news-source-card strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-source-card small {
  color: var(--muted);
  font-size: 8px;
}

.source-access {
  gap: 3px;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.source-access svg {
  width: 10px;
  height: 10px;
}

.source-access.free {
  color: #18783a;
}

.source-access.subscription {
  color: #995e0e;
}

[data-theme="dark"] .news-filter {
  color: #b6c3d5;
  background: #102946;
  border-color: #29405f;
}

[data-theme="dark"] .news-filter.active {
  color: #fff;
  background: #246abf;
}

[data-theme="dark"] .news-principle {
  color: #b7c8dc;
  background: #102946;
  border-color: #29496f;
}

[data-theme="dark"] .news-item {
  background: #0f223c;
  border-color: #263957;
}

[data-theme="dark"] .news-meta strong,
[data-theme="dark"] .news-title {
  color: #e8eef8;
}

[data-theme="dark"] .news-summary {
  color: #a8b4c6;
}

[data-theme="dark"] .news-source-logo {
  color: #8fc2ff;
  background: #102946;
}

@media (max-width: 1000px) {
  .news-centre-card {
    grid-column: 1 / -1;
  }

  .news-source-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .news-centre-card {
    padding: 15px;
  }

  .news-centre-header {
    align-items: flex-start;
  }

  .news-centre-header h2 {
    font-size: 19px;
  }

  .news-updated {
    margin-top: 4px;
  }

  .news-item {
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    gap: 9px;
    padding: 11px 9px;
  }

  .news-source-mark {
    width: 34px;
    height: 34px;
  }

  .news-title {
    font-size: 11px;
  }

  .news-summary {
    display: none;
  }

  .news-sources-section {
    margin: 22px auto;
    padding: 0 12px;
  }

  .section-heading {
    display: grid;
    gap: 8px;
    align-items: start;
  }

  .section-heading h2 {
    font-size: 19px;
  }

  .section-heading p {
    text-align: left;
  }

  .news-source-grid {
    grid-template-columns: 1fr;
  }
}


/* DinPuls v0.5.0 – nyhetsflikar och viktiga händelser */
.news-scope-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 12px;padding:5px;background:#eef3f8;border-radius:12px}
.news-scope-tab{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 8px;border:0;border-radius:9px;background:transparent;color:#53677f;font-weight:800;font-size:11px;cursor:pointer}
.news-scope-tab svg{width:15px;height:15px}.news-scope-tab.active{background:#fff;color:var(--blue700);box-shadow:0 2px 10px rgba(21,54,91,.10)}
.important-news{margin:0 0 12px;padding:12px;background:#fff7e5;border:1px solid #f0cf83;border-radius:11px}
.important-news[hidden]{display:none}.important-news-title{display:flex;align-items:center;gap:7px;color:#8a5708;font-size:10px;margin-bottom:7px}.important-news-title svg{width:15px;height:15px}
.important-news a{display:grid;grid-template-columns:auto 1fr 16px;gap:8px;align-items:center;padding:7px 0;color:inherit;border-top:1px solid rgba(138,87,8,.14)}.important-news a:first-of-type{border-top:0}.important-news a span{font-size:8px;color:#8a5708;font-weight:800}.important-news a b{font-size:10px}.important-news a svg{width:14px;height:14px}
.news-score{display:inline-flex;align-items:center;padding:4px 6px;border-radius:999px;background:#e8f0fb;color:#225d9d;font-size:7px;font-weight:900}
[data-theme="dark"] .news-scope-tabs{background:#0c1d33}[data-theme="dark"] .news-scope-tab{color:#aebbd0}[data-theme="dark"] .news-scope-tab.active{background:#173251;color:#8fc2ff}
[data-theme="dark"] .important-news{background:#2b2413;border-color:#66511c}[data-theme="dark"] .important-news a{border-color:#59491f}
@media(max-width:520px){.news-scope-tab{font-size:10px;padding:9px 4px}.news-scope-tab svg{width:13px;height:13px}.important-news a{grid-template-columns:1fr 14px}.important-news a span{grid-column:1/-1}.news-score{display:none}}

/* =========================================================
   DINPULS v0.6.0 – KOLLEKTIVTRAFIK
========================================================= */
.transport-section{margin:28px 0;background:var(--card,#fff);border:1px solid var(--border,#dfe5ec);border-radius:22px;padding:24px;box-shadow:0 12px 34px rgba(8,38,83,.08)}
.transport-heading{margin-bottom:18px}.transport-updated{display:inline-flex;align-items:center;gap:7px;color:var(--muted,#687587);font-size:.84rem}.transport-updated svg{width:15px;height:15px}
.transport-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.transport-tabs{display:flex;gap:8px;flex-wrap:wrap}.transport-tab{border:1px solid var(--border,#d9e1ea);background:transparent;color:inherit;border-radius:999px;padding:10px 15px;font:inherit;font-weight:700;display:inline-flex;align-items:center;gap:7px;cursor:pointer}.transport-tab svg{width:17px}.transport-tab.active{background:#0b4d8d;color:#fff;border-color:#0b4d8d}.transport-stop-select{display:grid;gap:6px;min-width:260px;font-size:.78rem;font-weight:700;color:var(--muted,#667386)}.transport-stop-select select{font:inherit;color:var(--text,#102033);background:var(--card,#fff);border:1px solid var(--border,#d9e1ea);border-radius:12px;padding:11px 38px 11px 12px}
.departure-board{border:1px solid var(--border,#dfe5ec);border-radius:16px;overflow:hidden}.departure-row{display:grid;grid-template-columns:42px 70px minmax(180px,1fr) 76px 92px;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border,#e5eaf0)}.departure-row:last-child{border-bottom:0}.departure-row:hover{background:rgba(11,77,141,.045)}.departure-row.is-canceled{opacity:.68}.departure-mode{width:36px;height:36px;border-radius:10px;display:grid;place-items:center}.departure-mode.bus{background:#e8f3ff;color:#0b67b2}.departure-mode.train{background:#eeeaff;color:#6144b9}.departure-mode svg{width:20px}.departure-line{font-size:1.05rem;font-weight:800}.departure-destination{display:grid;gap:3px}.departure-destination strong{font-size:.96rem}.departure-destination small{color:var(--muted,#667386)}.departure-time{text-align:right;display:grid}.departure-time strong{font-size:1.15rem}.departure-time small{color:var(--muted,#748092)}.departure-time .departure-day{text-decoration:none;font-size:.68rem}.departure-time .departure-scheduled{text-decoration:line-through}.departure-status{justify-self:end;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800}.departure-status.realtime{background:#e7f7ed;color:#16713a}.departure-status.delayed{background:#fff1d6;color:#9b5a00}.departure-status.canceled{background:#fee7e7;color:#a52828}.departure-status.planned{background:#edf1f5;color:#5e6977}
.transport-alert{display:flex;gap:12px;padding:13px 15px;margin-bottom:14px;background:#fff4dc;border:1px solid #f1cc78;border-radius:13px;color:#6f4a00}.transport-alert svg{width:20px;flex:0 0 auto}.transport-alert div{display:grid;gap:3px}.transport-alert span{font-size:.86rem}.transport-loading,.transport-empty{min-height:150px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted,#667386)}.transport-empty{flex-direction:column;text-align:center}.transport-empty svg{width:28px}.transport-footer{display:flex;justify-content:space-between;gap:14px;margin-top:14px;font-size:.78rem;color:var(--muted,#667386)}.transport-footer span,.transport-footer a{display:inline-flex;align-items:center;gap:6px}.transport-footer svg{width:14px}
@media(max-width:760px){.transport-section{padding:18px;border-radius:17px}.transport-toolbar{align-items:stretch;flex-direction:column}.transport-stop-select{min-width:0}.departure-row{grid-template-columns:38px 52px minmax(0,1fr) 58px;gap:9px;padding:12px}.departure-status{grid-column:3/5;justify-self:start}.departure-destination strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.departure-destination small{font-size:.72rem}.transport-footer{flex-direction:column}.transport-updated{display:none}}

/* v0.7.0 – ärliga tomlägen och kommunanpassad hero */
[hidden]{display:none!important}

/* Dagens viktigaste v0.13.0 */
.important .heading>span{padding:5px 8px;border-radius:999px;background:var(--blue100);color:var(--blue700);font-size:10px;font-weight:800;white-space:nowrap}
.important-list{display:grid}
.important-list article{min-width:0}
.important-list article>div{min-width:0}
.important-list article strong,.important-list article small{display:block;overflow:hidden;text-overflow:ellipsis}
.important-list article small{color:#66758a;font-size:10px;line-height:1.4}
.important-list article>a{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#edf5ff}
.important-list article>a svg{width:15px;height:15px}
.important-calm{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px}
.important-sources{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid #dce6f1}
.important-sources>span{width:100%;color:#66758a;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.important-sources a{display:inline-flex;align-items:center;gap:3px;padding:5px 7px;color:var(--blue700);background:#edf5ff;border-radius:7px;font-size:9px;font-weight:800}
.important-sources a svg{width:11px;height:11px}
.transport-updated.stale{color:#8a4f00;background:#fff1d6}
.important .status-icon.warning{background:#e28a00}
.important-loading .status-icon{animation:important-spin 1.2s linear infinite}
@keyframes important-spin{to{transform:rotate(360deg)}}
[data-theme="dark"] .important .heading>span,[data-theme="dark"] .important-list article>a{background:#183b67;color:#d9eaff}
[data-theme="dark"] .important-list article small{color:#a8b8cc}
[data-theme="dark"] .important-sources{border-color:#28435f}
[data-theme="dark"] .important-sources>span{color:#a8b8cc}
[data-theme="dark"] .important-sources a{color:#d9eaff;background:#183b67}
@media(prefers-reduced-motion:reduce){.important-loading .status-icon{animation:none}}

/* Vägtrafik v0.14.0 */
.traffic-card .card-title{align-items:flex-start}.traffic-live{margin-left:auto;padding:5px 8px;color:#176b38;background:#e7f6eb;border-radius:999px;font-size:8px;font-weight:800;white-space:nowrap}.traffic-summary{display:flex;align-items:baseline;gap:7px;margin:13px 0;padding:12px 14px;background:#edf8f1;border:1px solid #d5ebdd;border-radius:13px}.traffic-summary strong{color:#18783a;font-size:25px}.traffic-summary span{color:#637184;font-size:9px}.traffic-compact-list{display:grid;gap:7px;min-height:150px;align-content:start}.traffic-compact-list>a{display:grid;grid-template-columns:34px minmax(0,1fr) 14px;align-items:center;gap:9px;padding:9px;color:inherit;border:1px solid var(--border);border-radius:10px}.traffic-compact-list>a>span:nth-child(2){display:grid;gap:3px;min-width:0}.traffic-compact-list strong,.traffic-compact-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.traffic-compact-list strong{font-size:10px}.traffic-compact-list small{color:var(--muted);font-size:8px}.traffic-compact-list>a>svg{width:13px;color:var(--blue700)}.traffic-kind{width:34px;height:34px;display:grid;place-items:center;color:var(--blue700);background:var(--blue100);border-radius:9px}.traffic-kind.warning{color:#9b5a00;background:#fff1d6}.traffic-kind.danger{color:#a52828;background:#fee7e7}.traffic-kind svg{width:17px}.traffic-empty{min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:9px;text-align:center}.traffic-empty svg{width:25px}.traffic-empty.ok svg{color:#18783a}[data-theme="dark"] .traffic-summary{background:#123326;border-color:#2c5940}[data-theme="dark"] .traffic-live{color:#8de0a7;background:#143523}
.hero.has-generic-background{background:linear-gradient(135deg,var(--blue900) 0%,var(--blue700) 58%,#27a4d8 100%)}
.hero.has-generic-background .hero-shade{background:linear-gradient(90deg,rgba(4,22,54,.92),rgba(4,22,54,.32))}
.module-placeholder{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;padding:24px;border:1px dashed var(--border,#dfe6ef);border-radius:14px;background:var(--bg,#f5f7fb);color:var(--muted,#6e7b91)}
.module-placeholder>svg{width:30px;height:30px;color:var(--blue700)}
.module-placeholder>strong{color:var(--text,#10213e)}
.module-placeholder>span{max-width:36ch;font-size:.86rem;line-height:1.5}
[data-theme="dark"] .module-placeholder{background:#09192c;border-color:#385071}
[data-theme="dark"] .module-placeholder>strong{color:#eaf1fb}

/* =========================================================
   DINPULS v0.8.0 – LEDIGA JOBB
========================================================= */
.jobs-card{display:flex;min-width:0;grid-column:1/-1;flex-direction:column;gap:14px}
.jobs-heading{align-items:flex-start;margin:0}
.jobs-heading>div{display:grid;gap:3px}
.jobs-heading h2{margin:0}
.jobs-live{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;color:#18783a;background:#e6f7eb;border-radius:999px;font-size:8px;font-weight:800;white-space:nowrap}
.jobs-live svg{width:12px;height:12px}
.jobs-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:linear-gradient(135deg,var(--blue100),#f5f9ff);border:1px solid #d6e8fc;border-radius:13px}
.jobs-summary>div{display:flex;align-items:baseline;gap:7px}
.jobs-summary strong{color:var(--blue700);font-size:25px;line-height:1}
.jobs-summary span{color:#5e7087;font-size:9px}
#jobs-updated{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
#jobs-updated svg{width:12px;height:12px}
.jobs-search{display:flex;align-items:center;gap:8px;padding:0 12px;background:var(--card,#fff);border:1px solid var(--border,#dfe5ec);border-radius:11px}
.jobs-search:focus-within{border-color:#7fb3ed;box-shadow:0 0 0 3px rgba(10,87,199,.10)}
.jobs-search svg{width:16px;height:16px;color:#6c7b90;flex:0 0 auto}
.jobs-search input{width:100%;min-width:0;padding:11px 0;color:inherit;background:transparent;border:0;outline:0;font:inherit;font-size:10px}
.jobs-loading,.jobs-empty{min-height:230px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted,#667386)}
.jobs-loading{flex-direction:column;font-size:10px}
.jobs-empty{flex-direction:column;text-align:center;padding:24px}
.jobs-empty svg{width:30px;height:30px;color:#7b8da3}
.jobs-empty strong{color:var(--text,#10213e)}
.jobs-empty span{max-width:34ch;font-size:9px;line-height:1.5}
.jobs-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:570px;overflow:auto;padding-right:2px;scrollbar-width:thin}
.job-item{display:grid;grid-template-columns:36px minmax(0,1fr) 16px;gap:10px;align-items:start;padding:11px;color:inherit;background:var(--card,#fff);border:1px solid var(--border,#e1e7ef);border-radius:12px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.job-item:hover{transform:translateY(-1px);border-color:#b9d3ef;box-shadow:0 8px 22px rgba(15,48,90,.08)}
.job-icon{width:36px;height:36px;display:grid;place-items:center;color:var(--blue700);background:var(--blue100);border-radius:10px}
.job-icon svg{width:18px;height:18px}
.job-content{min-width:0;display:grid;gap:4px}
.job-content>strong{font-size:11px;line-height:1.35}
.job-employer{overflow:hidden;color:#596b81;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.job-content small{color:#7a8798;font-size:8px;line-height:1.4}
.job-tags{display:flex;flex-wrap:wrap;gap:5px}
.job-tags span{padding:3px 6px;color:#3f5f80;background:#edf3f8;border-radius:999px;font-size:7px;font-weight:700}
.job-open{width:15px;height:15px;color:#8190a3}
.jobs-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;color:#738197;border-top:1px solid var(--border,#e4eaf2);font-size:8px}
.jobs-footer a{display:inline-flex;align-items:center;gap:4px;color:var(--blue700);font-weight:800;text-align:right}
.jobs-footer a svg{width:12px;height:12px}
[data-theme="dark"] .jobs-live{color:#8de0a7;background:#143523}
[data-theme="dark"] .jobs-summary{background:linear-gradient(135deg,#102946,#132f4d);border-color:#29496f}
[data-theme="dark"] .jobs-summary strong{color:#8fc2ff}
[data-theme="dark"] .job-icon{color:#8fc2ff;background:#102946}
[data-theme="dark"] .job-employer{color:#b0bdd0}
[data-theme="dark"] .job-tags span{color:#b9cbe0;background:#19334f}
[data-theme="dark"] .jobs-empty strong{color:#eaf1fb}
@media(max-width:760px){.jobs-summary{align-items:flex-start;flex-direction:column}.jobs-summary>div{flex-wrap:wrap}.jobs-live{display:none}.jobs-list{grid-template-columns:1fr;max-height:none}.jobs-footer{align-items:flex-start;flex-direction:column}.jobs-footer a{text-align:left}}

/* =========================================================
   DINPULS v0.9.0 – LEDIGA BOSTÄDER
========================================================= */
.housing-card{display:flex;min-width:0;grid-column:1/-1;flex-direction:column;gap:14px}
.housing-heading{align-items:flex-start;margin:0}
.housing-heading>div{display:grid;gap:3px}
.housing-live{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;color:#18783a;background:#e6f7eb;border-radius:999px;font-size:8px;font-weight:800;white-space:nowrap}
.housing-live svg{width:12px;height:12px}
.housing-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:linear-gradient(135deg,#edf8f1,#f8fcf9);border:1px solid #d5ebdd;border-radius:13px}
.housing-summary>div{display:flex;align-items:baseline;gap:7px}
.housing-summary strong{color:#18783a;font-size:25px;line-height:1}
.housing-summary span{color:#5e7087;font-size:9px}
#housing-updated{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
#housing-updated svg{width:12px;height:12px}
.housing-loading,.housing-empty{min-height:190px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted,#667386)}
.housing-loading{flex-direction:column;font-size:10px}
.housing-empty{flex-direction:column;text-align:center;padding:24px;background:var(--bg,#f5f7fb);border:1px dashed var(--border,#dfe6ef);border-radius:13px}
.housing-empty svg{width:30px;height:30px;color:#6f8e79}
.housing-empty strong{color:var(--text,#10213e)}
.housing-empty span{max-width:48ch;font-size:9px;line-height:1.5}
.housing-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:570px;overflow:auto;padding-right:2px;scrollbar-width:thin}
.housing-item{display:grid;grid-template-columns:36px minmax(0,1fr) 16px;gap:10px;align-items:start;padding:11px;color:inherit;background:var(--card,#fff);border:1px solid var(--border,#e1e7ef);border-radius:12px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.housing-item:hover{transform:translateY(-1px);border-color:#b8dcc5;box-shadow:0 8px 22px rgba(15,72,43,.08)}
.housing-item-icon{width:36px;height:36px;display:grid;place-items:center;color:#18783a;background:#e8f6ed;border-radius:10px}
.housing-item-icon svg{width:18px;height:18px}
.housing-item-content{min-width:0;display:grid;gap:4px}
.housing-item-content>strong{font-size:11px;line-height:1.35}
.housing-item-content>span:not(.housing-tags){overflow:hidden;color:#596b81;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.housing-item-content small{color:#7a8798;font-size:8px;line-height:1.4}
.housing-tags{display:flex;flex-wrap:wrap;gap:5px}
.housing-tags span{display:inline;padding:3px 6px;color:#376548;background:#eaf5ee;border-radius:999px;font-size:7px;font-weight:700}
.housing-open{width:15px;height:15px;color:#8190a3}
.housing-providers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.housing-provider{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;color:inherit;background:var(--bg,#f5f7fb);border:1px solid var(--border,#e1e7ef);border-radius:11px}
.housing-provider>span{display:flex;align-items:center;gap:7px;min-width:0}
.housing-provider strong{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.housing-provider svg{width:15px;height:15px;color:#18783a;flex:0 0 auto}
.housing-provider small{display:flex;align-items:center;gap:3px;color:#18783a;font-size:8px;white-space:nowrap}
.housing-provider small svg{width:11px;height:11px}
.housing-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;color:#738197;border-top:1px solid var(--border,#e4eaf2);font-size:8px}
.housing-footer a{display:inline-flex;align-items:center;gap:4px;color:#18783a;font-weight:800;text-align:right}
.housing-footer a svg{width:12px;height:12px}
[data-theme="dark"] .housing-live{color:#8de0a7;background:#143523}
[data-theme="dark"] .housing-summary{background:linear-gradient(135deg,#123326,#153b2b);border-color:#2c5940}
[data-theme="dark"] .housing-summary strong{color:#8de0a7}
[data-theme="dark"] .housing-item-icon{color:#8de0a7;background:#143523}
[data-theme="dark"] .housing-item-content>span:not(.housing-tags){color:#b0bdd0}
[data-theme="dark"] .housing-tags span{color:#bce5c9;background:#183b29}
[data-theme="dark"] .housing-empty{background:#09192c}
[data-theme="dark"] .housing-empty strong{color:#eaf1fb}
@media(max-width:760px){.housing-summary{align-items:flex-start;flex-direction:column}.housing-summary>div{flex-wrap:wrap}.housing-live{display:none}.housing-list,.housing-providers{grid-template-columns:1fr;max-height:none}.housing-footer{align-items:flex-start;flex-direction:column}.housing-footer a{text-align:left}}

/* =========================================================
   DINPULS v0.10.0 – 3 × 10 ROTERANDE PREMIUMANNONSER
========================================================= */
.premium-ads{margin:20px;padding:24px;background:var(--card);border:1px solid var(--border);border-radius:20px;box-shadow:var(--shadow)}
.premium-ads-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}.premium-ads-heading h2{margin:4px 0 0}.premium-ads-heading>span{color:var(--muted);font-size:11px;font-weight:700}
.ad-dice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.premium-ad-break{padding:18px 22px}.premium-ad-break .premium-ads-heading{margin-bottom:12px}.premium-ad-break .ad-dice{min-height:190px}.ad-dice{position:relative;min-height:210px;overflow:hidden;padding:14px;border:1px solid #274f81;border-radius:18px;background:linear-gradient(145deg,var(--blue950),var(--blue700));box-shadow:0 14px 28px rgba(8,38,83,.16);perspective:700px}.ad-dice-label{display:inline-flex;padding:5px 8px;color:#dcecff;background:rgba(255,255,255,.12);border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.ad-face{min-height:125px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;padding:14px 18px;color:#fff;animation:ad-dice-turn .55s ease}.ad-face[hidden]{display:none}.ad-face .ad-slot{padding:4px 7px;color:var(--blue900);background:#ffd43b;border-radius:5px;font-size:9px;font-weight:900}.ad-face strong{font-size:20px;line-height:1.2}.ad-face small{color:#dcecff;line-height:1.45}.ad-face b{display:inline-flex;align-items:center;gap:5px;margin-top:3px;font-size:11px}.ad-face b svg{width:14px}.ad-navigation{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:9px}.ad-navigation button{width:34px;height:30px;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:8px;cursor:pointer}.ad-navigation button:hover{background:rgba(255,255,255,.24)}.ad-navigation button svg{width:15px}.ad-dots{display:flex;justify-content:center;gap:4px}.ad-dots span{width:5px;height:5px;background:rgba(255,255,255,.3);border-radius:50%}.ad-dots span.active{width:15px;background:#fff;border-radius:999px}@keyframes ad-dice-turn{from{opacity:0;transform:rotateY(70deg) scale(.94)}to{opacity:1;transform:rotateY(0) scale(1)}}
[data-theme="dark"] .premium-ads{background:#0b1b30}
@media(max-width:900px){.ad-dice-grid{grid-template-columns:1fr}.ad-dice{min-height:190px}}@media(max-width:760px){.premium-ads{margin:14px 12px;padding:16px}.premium-ads-heading{align-items:flex-start;flex-direction:column}.ad-face strong{font-size:18px}}

/* =========================================================
   DINPULS v0.17.0 – ÅRSTIDER OCH UTVALDA HÖGTIDER
========================================================= */
body{position:relative;isolation:isolate}
body::before,body::after{content:"";position:fixed;z-index:-1;pointer-events:none;transition:background .5s ease,opacity .5s ease}
body::before{top:120px;right:-90px;width:330px;height:330px;border-radius:50%;opacity:0}
body::after{left:0;right:0;bottom:0;height:210px;opacity:0}
.seasonal-theme-badge{display:flex;align-items:center;gap:6px;padding:7px 10px;color:#fff;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.25);border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.seasonal-theme-badge svg{width:15px!important;height:15px!important}

/* Sommar: klar himmel, solvärme och neutrala vita/gula ängsblommor */
[data-season="summer"]{--bg:#f5faf5;--header-gradient:linear-gradient(120deg,#075b72 0%,#078aa2 52%,#3b9f68 100%)}
[data-season="summer"] body{background:linear-gradient(180deg,#edf9ff 0,#f7fbef 440px,#f5faf5 100%)}
[data-season="summer"] body::before{opacity:.48;background:radial-gradient(circle,#ffd75a 0 30%,rgba(255,215,90,.28) 31% 48%,transparent 49%)}
[data-season="summer"] body::after{opacity:.5;background:
radial-gradient(circle at 8% 86%,#ffcf3f 0 4px,#fff 5px 11px,transparent 12px),
radial-gradient(circle at 18% 94%,#ffcf3f 0 4px,#fff 5px 11px,transparent 12px),
radial-gradient(circle at 82% 91%,#ffcf3f 0 4px,#fff 5px 11px,transparent 12px),
radial-gradient(circle at 94% 84%,#ffcf3f 0 4px,#fff 5px 11px,transparent 12px),
linear-gradient(0deg,rgba(84,161,76,.18),transparent 62%)}
[data-season="summer"] .site-header{background:radial-gradient(circle at 78% -20%,rgba(255,221,92,.34),transparent 30%),var(--header-gradient)}
[data-season="summer"] .main-nav{border-bottom-color:#bddfc8}
[data-season="summer"] .main-nav a:hover,[data-season="summer"] .main-nav a.active{color:#087b64;border-color:#ef9a36}
[data-season="summer"] .card,[data-season="summer"] .premium-ads,[data-season="summer"] .municipality-status{border-color:#d5e7d8}
.hero>img{opacity:1;transition:opacity .8s ease}.hero>img.is-changing{opacity:0}

/* Lokal sport v0.18.0 */
.sport-home{margin:22px 0;padding:22px;background:linear-gradient(135deg,var(--card),#f2f8ff)}
.sport-home-head{display:flex;align-items:start;justify-content:space-between;gap:18px}.sport-home-head h2{margin:4px 0}.sport-live-badge{display:flex;align-items:center;gap:6px;padding:7px 9px;color:#126a32;background:#e8f6ed;border-radius:999px;font-size:9px;font-weight:800}.sport-live-badge svg{width:13px}.sport-home-summary{display:flex;align-items:center;gap:8px;margin:10px 0 14px;color:var(--muted);font-size:11px}.sport-home-summary strong{color:var(--text)}.sport-home-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sport-home-list>a{display:grid;grid-template-columns:34px 1fr 14px;align-items:center;gap:9px;padding:10px;border:1px solid var(--border);border-radius:11px;background:var(--card)}.sport-home-list>a>svg{width:14px;color:var(--muted)}.sport-home-icon{width:34px;height:34px;display:grid;place-items:center;color:var(--blue700);background:var(--blue100);border-radius:9px}.sport-home-icon svg{width:17px}.sport-home-list span{min-width:0;display:grid;gap:3px}.sport-home-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.sport-home-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:8px}.sport-home-link{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:var(--blue700);font-size:10px;font-weight:800}.sport-home-link svg{width:14px}
.sport-home-list>a[data-accent=green] .sport-home-icon{color:#16835f;background:#e8f6ef}.sport-home-list>a[data-accent=purple] .sport-home-icon{color:#7c3aed;background:#f1eafe}.sport-home-list>a[data-accent=orange] .sport-home-icon{color:#c56b00;background:#fff3df}.sport-home-list>a[data-accent=violet] .sport-home-icon{color:#6d28d9;background:#eee8ff}.sport-home-list>a[data-accent=rose] .sport-home-icon{color:#be185d;background:#fce7f3}.sport-home-list>a[data-accent=red] .sport-home-icon{color:#c72c2c;background:#feecec}
@media(max-width:800px){.sport-home-list{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.sport-home{padding:15px}.sport-home-list{grid-template-columns:1fr}.sport-live-badge{display:none}.sport-home-summary{align-items:flex-start;flex-direction:column}}
.leisure-home{margin:22px 20px;padding:22px;background:linear-gradient(135deg,var(--card),#f0fbf6 48%,#faf1ff)}.leisure-home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.leisure-home-head h2{margin:4px 0}.leisure-home-head p{margin:0;color:var(--muted);font-size:11px}.leisure-home-badge{display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #d9c7f3;border-radius:999px;color:#6d28d9;background:#f6f0ff;font-size:9px;font-weight:850;white-space:nowrap}.leisure-home-badge svg{width:14px}.leisure-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:17px}.leisure-home-grid>a{display:grid;grid-template-columns:42px minmax(0,1fr);gap:2px 10px;align-items:center;padding:13px;border:1px solid var(--border);border-radius:14px;background:var(--card);color:inherit}.leisure-home-grid>a>span{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#16835f;background:#e8f6ef}.leisure-home-grid>a>span svg{width:21px}.leisure-home-grid strong{font-size:11px}.leisure-home-grid small{color:var(--muted);font-size:8px}.leisure-home-grid>a[data-accent=rose]>span{color:#be185d;background:#fce7f3}.leisure-home-grid>a[data-accent=purple]>span{color:#6d28d9;background:#eee8ff}.leisure-home-grid>a[data-accent=orange]>span{color:#c56b00;background:#fff3df}.leisure-home-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:15px;padding-top:14px;border-top:1px solid var(--border);color:var(--muted);font-size:10px}.leisure-home-footer a{display:flex;align-items:center;gap:6px;color:#6d28d9;font-weight:850}.leisure-home-footer svg{width:14px}@media(max-width:800px){.leisure-home-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.leisure-home{margin:18px 12px;padding:15px}.leisure-home-head,.leisure-home-footer{align-items:flex-start;flex-direction:column}.leisure-home-badge{display:none}.leisure-home-grid{grid-template-columns:1fr}.leisure-home-footer{gap:8px}}
[data-season="summer"] .section-kicker{color:#167a60}

/* Grundfärger för övriga årstider */
[data-season="spring"]{--bg:#f5faf6;--header-gradient:linear-gradient(120deg,#174f71,#238a77,#68a34e)}
[data-season="autumn"]{--bg:#faf6ef;--header-gradient:linear-gradient(120deg,#492c35,#9a4b2c,#d18a32)}
[data-season="winter"]{--bg:#f2f7fb;--header-gradient:linear-gradient(120deg,#071d43,#24527a,#6f91ab)}
[data-season="spring"] body{background:linear-gradient(180deg,#f1fbf5,#f8fbf5)}
[data-season="autumn"] body{background:linear-gradient(180deg,#fff8ed,#faf6ef)}
[data-season="winter"] body{background:linear-gradient(180deg,#eef6fc,#f7f9fb)}

/* Tillfälliga högtidsteman – specialdagen har företräde framför årstiden */
[data-special-theme="midsummer"]{--header-gradient:linear-gradient(120deg,#17663e,#3d9660,#168cb0)}
[data-special-theme="midsummer"] body::after{opacity:.8}
[data-special-theme="christmas"]{--header-gradient:linear-gradient(120deg,#5d0c16,#a51f2b,#165a3b)}
[data-special-theme="lucia"]{--header-gradient:linear-gradient(120deg,#6e1018,#b92b32,#e8b954)}
[data-special-theme="new-year"]{--header-gradient:linear-gradient(120deg,#080c28,#25205d,#9a772b)}
[data-special-theme="new-year"] body::before{opacity:.45;background:radial-gradient(circle,#ffe28a 0 3%,transparent 4%),conic-gradient(from 0deg,transparent,#e8c25c,transparent,#8bb7ff,transparent)}
[data-special-theme="valentine"]{--header-gradient:linear-gradient(120deg,#641b3a,#bb3265,#e35f73)}
[data-special-theme="easter"]{--header-gradient:linear-gradient(120deg,#7a5b12,#d49b22,#8a67ae)}
[data-special-theme="may-fourth"]{--header-gradient:linear-gradient(120deg,#030713,#172b5d,#513b84)}
[data-special-theme="may-fourth"] body{background:radial-gradient(circle at 20% 20%,#425a8a 0 1px,transparent 2px),radial-gradient(circle at 70% 30%,#fff 0 1px,transparent 2px),#080d1b;background-size:80px 80px,120px 120px;color:#e9f3ff}
[data-special-theme="cinnamon-bun"]{--header-gradient:linear-gradient(120deg,#4c281b,#9a552c,#d88b45)}
[data-special-theme="halloween"]{--header-gradient:linear-gradient(120deg,#191025,#51276d,#d86a16)}
[data-special-theme="mothers-day"],[data-special-theme="fathers-day"]{--header-gradient:linear-gradient(120deg,#194d68,#6b4f8f,#bb6583)}
[data-special-theme] .site-header{background:var(--header-gradient)}

[data-theme="dark"] body::after{opacity:.12}
[data-theme="dark"][data-season]{--bg:#071426}
[data-theme="dark"][data-season] body{background:#071426}
@media(max-width:1100px){.seasonal-theme-badge{display:none}}

/* Lokalt notiscenter v0.17.1 */
.notification-panel{position:fixed;z-index:80;top:104px;right:max(18px,calc((100vw - var(--max))/2 + 20px));width:min(440px,calc(100vw - 28px));max-height:calc(100vh - 122px);overflow:auto;padding:20px;color:var(--text);background:var(--card);border:1px solid var(--border);border-radius:18px;box-shadow:0 26px 70px rgba(5,25,55,.34)}
.notification-panel[hidden]{display:none}.notification-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.notification-panel-heading h2{margin:4px 0 0;font-size:20px}.notification-panel-heading button{width:34px;height:34px;display:grid;place-items:center;color:var(--text);background:var(--bg);border:0;border-radius:9px}.notification-panel-heading button svg{width:17px}.notification-explanation{margin:11px 0 14px;color:var(--muted);font-size:10px;line-height:1.5}.notification-list{display:grid;gap:7px}.notification-item{position:relative;display:grid;grid-template-columns:39px minmax(0,1fr) 8px;align-items:center;gap:10px;padding:11px;border:1px solid var(--border);border-radius:11px}.notification-item.unread{background:#f1f7ff;border-color:#bfd6f2}.notification-item.read{opacity:.7}.notification-item>span:nth-child(2){display:grid;gap:4px}.notification-item strong{font-size:11px;line-height:1.35}.notification-item small{font-size:9px}.notification-icon{width:39px;height:39px;display:grid!important;place-items:center;border-radius:10px}.notification-icon svg{width:18px}.notification-icon.jobs{color:var(--blue700);background:#e7f1ff}.notification-icon.housing{color:#18783a;background:#e5f6eb}.notification-icon.events{color:#7d2b80;background:#f7e8f8}.notification-icon.news{color:#765a0b;background:#fff5cd}.notification-icon.traffic,.notification-icon.important{color:#a42b2b;background:#fee9e9}.notification-icon.transport{color:#075b72;background:#e3f5f8}.notification-icon.fuel{color:#a65b00;background:#fff0d5}.notification-icon.lunch{color:#b9551e;background:#fff0df}.notification-unread-dot{width:7px;height:7px;background:#e4313b;border-radius:50%}.notification-mark-read{width:100%;margin-top:13px;padding:10px;color:var(--blue700);background:#edf5ff;border:0;border-radius:9px;font-size:10px;font-weight:800}.notification-empty{display:grid;justify-items:center;gap:7px;padding:28px;color:var(--muted);text-align:center}.notification-empty svg{width:27px}.notification-empty strong{color:var(--text);font-size:12px}.notification-empty span{font-size:10px}
[data-theme="dark"] .notification-panel{background:#0d2039;border-color:#263957}[data-theme="dark"] .notification-item.unread{background:#112d50;border-color:#31557e}
[data-theme="dark"] .notification-panel-heading button,[data-theme="dark"] .dialog-close{color:var(--blue100);background:#173553;border:1px solid #355879}
[data-theme="dark"] .notification-panel-heading button:hover,[data-theme="dark"] .dialog-close:hover{background:#214667}
[data-theme="dark"] .notification-panel-heading button:focus-visible,[data-theme="dark"] .dialog-close:focus-visible{outline:3px solid #8fc2ff;outline-offset:2px}
@media(max-width:760px){.notification-panel{top:76px;right:14px;max-height:calc(100vh - 92px);padding:16px}.notification-item{grid-template-columns:36px minmax(0,1fr) 8px}.notification-icon{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.ad-face{animation:none}}
.notification-icon.sport{color:#7a4e00;background:#fff0c7}.notification-mark-read[hidden]{display:none}

/* Slutlig tillgänglighets- och mobilputs */
.search-feedback{max-height:40vh;overflow:auto}.ad-face:focus-visible,.ad-navigation button:focus-visible,.quick-strip a:focus-visible,footer a:focus-visible{outline:3px solid #69a9ff;outline-offset:3px}.ad-navigation button{min-width:38px;min-height:38px}
@media(max-width:520px){.header-inner{grid-template-columns:minmax(0,1fr) auto}.brand{min-width:0}.brand-logo{max-width:100%;height:auto}.header-actions{flex-shrink:0}.search>svg{margin-left:14px}.search input{padding:0 10px;font-size:13px}.search button{min-width:58px;padding:0 14px}.notification-panel{left:8px;right:8px;top:72px;width:auto;max-height:calc(100dvh - 80px)}.premium-ads{margin-left:10px;margin-right:10px;padding:18px 14px}.premium-ads-heading{align-items:flex-start;flex-direction:column}.ad-face{min-height:190px;padding:20px 16px}.ad-navigation{gap:8px}.ad-dots{max-width:190px;overflow:hidden}footer nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}footer nav a{min-height:38px;display:flex;align-items:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ticker-track,.lunch-airport-track{animation:none!important}.quick-strip,.lunch-airport-window{overflow-x:auto}.ticker-set[aria-hidden="true"],.lunch-airport-set[aria-hidden="true"]{display:none}.ad-face{transition:none}}

/* Dagens viktigaste: låt heron växa med upp till tre poster på mobil. */
@media(max-width:760px){
  .hero{height:auto;min-height:500px;padding:230px 12px 18px;box-sizing:border-box}
  .hero>img{position:absolute;inset:0;height:100%}
  .hero .important{position:relative;top:auto;left:auto;right:auto;width:100%;margin:0}
}

/* Missing People – verifierad samhällsinformation direkt efter heron. */
.missing-people-home{margin:20px;padding:24px;background:linear-gradient(145deg,#fff,#f6f9fc);border:1px solid #d8e1ea;border-top:4px solid #d93945;border-radius:16px;box-shadow:var(--shadow)}
.missing-people-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.missing-people-head h2{margin:5px 0 6px;font-size:24px}.missing-people-head p{margin:0;color:var(--muted);font-size:11px}
.missing-people-principle{display:flex;align-items:flex-start;gap:9px;margin-top:16px;padding:12px 14px;color:#4f5d70;background:#f5f7fa;border:1px solid #dfe5ec;border-radius:11px;font-size:10px;line-height:1.55}.missing-people-principle svg{width:18px;flex:0 0 auto;color:#476681}.missing-people-status{margin:14px 0 9px;color:var(--muted);font-size:9px;font-weight:700;text-align:right}
.missing-people-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.missing-person-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:15px;background:var(--card);border:1px solid var(--border);border-radius:13px}.missing-person-card.local{border-left:4px solid #d93945}.missing-person-card.neighbor{border-left:4px solid #c58b1a}.missing-person-icon{width:48px;height:48px;display:grid;place-items:center;color:#a42d39;background:#feecef;border-radius:50%}.missing-person-icon svg{width:24px}.missing-person-content{min-width:0}.missing-person-scope{display:inline-block;margin-bottom:4px;color:#8f2732;font-size:8px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.missing-person-card.neighbor .missing-person-scope{color:#8a5a00}.missing-person-content h3{margin:0;font-size:16px}.missing-person-meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:6px;color:var(--muted);font-size:9px}.missing-person-meta span{display:flex;align-items:center;gap:4px}.missing-person-meta svg{width:12px}.missing-person-content p{margin:10px 0;color:#475569;font-size:10px;line-height:1.55}.missing-person-content>a{display:inline-flex;align-items:center;gap:5px;color:var(--blue700);font-size:10px;font-weight:800}.missing-person-content>a svg{width:13px}
.missing-people-loading,.missing-people-empty,.missing-people-unverified{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:11px;min-height:105px;padding:18px;color:var(--muted);background:var(--bg);border:1px solid var(--border);border-radius:12px;text-align:left}.missing-people-empty>svg,.missing-people-unverified>svg{width:28px;color:#1b7b41;flex:0 0 auto}.missing-people-unverified>svg{color:#a05d00}.missing-people-empty span,.missing-people-unverified span{display:grid;gap:4px}.missing-people-empty strong,.missing-people-unverified strong{color:var(--text);font-size:11px}.missing-people-empty small,.missing-people-unverified small{font-size:9px}.missing-people-unverified a{margin-left:12px;color:var(--blue700);font-size:10px;font-weight:800}.missing-people-unverified a svg{width:13px}.missing-people-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding-top:13px;border-top:1px solid var(--border);color:var(--muted);font-size:9px}.missing-people-footer span,.missing-people-footer a{display:flex;align-items:center;gap:5px}.missing-people-footer svg{width:13px}.missing-people-footer a{color:var(--blue700);font-weight:800}
[data-theme="dark"] .missing-people-home{background:linear-gradient(145deg,#0d2039,#0a192c);border-color:#31465e;border-top-color:#e44b58}[data-theme="dark"] .missing-people-principle{color:#b9c8da;background:#102a45;border-color:#314c68}[data-theme="dark"] .missing-person-content p{color:#b9c8da}
@media(min-width:761px){
  .missing-people-home{padding:16px 20px}
  .missing-people-head h2{margin-top:3px;font-size:20px}
  .missing-people-principle{margin-top:10px;padding:8px 11px;align-items:center}
  .missing-people-status{margin:8px 0 6px}
  .missing-people-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px}
  .missing-person-card{grid-template-columns:38px minmax(0,1fr);gap:9px;padding:11px}
  .missing-person-icon{width:38px;height:38px}.missing-person-icon svg{width:19px}
  .missing-person-content h3{font-size:14px}
  .missing-person-meta{gap:4px 9px;margin-top:4px;font-size:8px}
  .missing-person-content p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:7px 0;font-size:9px;line-height:1.4}
  .missing-person-content>a{font-size:9px}
  .missing-people-footer{justify-content:flex-end;margin-top:9px;padding-top:9px}
}
@media(max-width:760px){.missing-people-home{margin:12px;padding:17px}.missing-people-head,.missing-people-footer{align-items:flex-start;flex-direction:column}.missing-people-head h2{font-size:20px}.missing-people-list{grid-template-columns:1fr}.missing-people-status{text-align:left}.missing-people-unverified{align-items:flex-start;flex-direction:column}.missing-people-unverified a{margin-left:0}.missing-person-card{grid-template-columns:42px minmax(0,1fr);padding:13px}.missing-person-icon{width:42px;height:42px}.missing-person-icon svg{width:21px}}

/* v0.11.0 – kompakt tank- och laddmodul */
.fuel-summary{display:flex;align-items:baseline;gap:7px;margin:13px 0;padding:12px 14px;background:#fff6e8;border:1px solid #f2dfbd;border-radius:13px}.fuel-summary strong{color:#a65b00;font-size:25px}.fuel-summary span{color:#6f7888;font-size:9px}.fuel-compact-list{display:grid;gap:7px;min-height:150px;align-content:start}.fuel-compact-list>a{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid var(--border);border-radius:10px}.fuel-compact-list>a>span:nth-child(2){display:grid;gap:3px;min-width:0}.fuel-compact-list strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.fuel-compact-list small{font-size:8px}.fuel-compact-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px}.fuel-compact-icon.fuel{color:#a65b00;background:#fff0d5}.fuel-compact-icon.charging{color:#18783a;background:#e6f7eb}.fuel-compact-icon svg{width:17px}.fuel-compact-list b{font-size:8px}.fuel-compact-list .has-price{color:#18783a}.fuel-compact-list .missing-price{color:#7d8796}.fuel-empty{align-self:center;color:var(--muted);font-size:10px;text-align:center}
.is-clickable-card{cursor:pointer}.is-clickable-card:focus-visible{outline:3px solid rgba(10,87,199,.35);outline-offset:3px}.is-clickable-card .fuel-compact-list a,.is-clickable-card .card-link{cursor:pointer}

/* Matkasse v0.12.0 */
.grocery-home{margin-top:22px;padding:30px;background:var(--card);border:1px solid var(--border);border-radius:20px;box-shadow:var(--shadow)}
.grocery-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.grocery-home-card{display:grid;gap:8px;padding:22px;color:var(--text);background:linear-gradient(145deg,#f7fff8,#edf8f0);border:1px solid #cae8d3;border-radius:16px;transition:.2s transform,.2s box-shadow}.grocery-home-card:hover{transform:translateY(-3px);box-shadow:0 14px 26px rgba(18,93,48,.12)}.grocery-home-card small{color:#15753a;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.grocery-home-card h3{margin:0;font-size:20px}.grocery-home-card p{margin:0;color:var(--muted);line-height:1.5}.grocery-home-card strong{display:flex;align-items:center;gap:7px;margin-top:8px;color:#126a32;font-size:12px}.grocery-home-card strong svg{width:15px}.grocery-home-icon{width:50px;height:50px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#13833f,#24ad59);border-radius:14px}.grocery-home-icon.lunch{background:linear-gradient(135deg,#d0660b,#f59b28)}.grocery-home-icon.weekend{background:linear-gradient(135deg,#6e3aac,#a55be2)}.grocery-home-note{display:flex;align-items:flex-start;gap:10px;margin-top:16px;padding:13px 15px;color:#496357;background:#f3f8f5;border-radius:12px;font-size:11px;line-height:1.5}.grocery-home-note svg{width:19px;flex:0 0 auto;color:#17813e}
@media(max-width:800px){.grocery-home-grid{grid-template-columns:1fr}.grocery-home{padding:20px}}


/* NAMNSDAG I ÖVERSTA RULLEN – v0.17.8 */
.ticker-nameday{min-width:250px;min-height:68px;flex:0 0 250px;display:flex;align-items:center;gap:12px;padding:12px 18px;border-right:1px solid var(--border);background:linear-gradient(135deg,#fff9e8,#fff)}
.ticker-nameday>svg{width:22px;color:#c77b13}
.ticker-nameday span,.ticker-nameday strong,.ticker-nameday small{display:block}
.ticker-nameday strong{font-size:13px}
.ticker-nameday small{margin-top:4px;font-size:10px}
[data-theme="dark"] .ticker-nameday{background:linear-gradient(135deg,#2b2518,#0d2039);border-color:#263957}

/* Bio på startsidan v0.21.11 */
.cinema-home{max-width:var(--max);margin:28px auto;padding:26px;color:#f5f7ff;background:radial-gradient(circle at 90% 0%,rgba(104,71,214,.42),transparent 32%),linear-gradient(135deg,#101327,#20224b 55%,#171a35);border:1px solid rgba(255,255,255,.12);border-radius:20px;box-shadow:0 18px 44px rgba(9,14,39,.2)}
.cinema-home .section-kicker{color:#b9a9ff}.cinema-home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.cinema-home-head h2{margin:5px 0 7px;font-size:26px}.cinema-home-head p{margin:0;color:#c0c5d8;font-size:11px}.cinema-home-badge{display:flex;align-items:center;gap:7px;padding:8px 11px;color:#efeaff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:999px;font-size:9px;font-weight:800}.cinema-home-badge svg{width:15px}.cinema-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.cinema-home-film{display:grid;grid-template-columns:36px minmax(0,1fr) 20px;align-items:center;gap:11px;padding:14px;color:#f7f8ff;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:13px;transition:.2s}.cinema-home-film:hover{transform:translateY(-2px);background:rgba(255,255,255,.12);border-color:rgba(185,169,255,.55)}.cinema-home-film>span:nth-child(2){display:grid;gap:3px;min-width:0}.cinema-home-film small{overflow:hidden;color:#abaed0;font-size:8px;text-transform:uppercase;letter-spacing:.06em;text-overflow:ellipsis;white-space:nowrap}.cinema-home-film strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.cinema-home-film em{overflow:hidden;color:#d4d7e6;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.cinema-home-film>svg{width:17px;color:#cbbfff}.cinema-home-number{width:36px;height:36px;display:grid;place-items:center;color:#d7ceff;background:#3b3375;border-radius:10px;font-size:10px;font-weight:900}.cinema-home-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:17px;padding-top:14px;color:#b8bdd0;border-top:1px solid rgba(255,255,255,.12);font-size:9px}.cinema-home-footer span,.cinema-home-footer a{display:flex;align-items:center;gap:6px}.cinema-home-footer svg{width:14px}.cinema-home-footer a{color:#d9d1ff;font-weight:800}.cinema-home-loading,.cinema-home-empty{grid-column:1/-1;padding:24px;color:#c0c5d8;text-align:center}
@media(max-width:720px){.cinema-home{margin:18px 12px;padding:19px}.cinema-home-head,.cinema-home-footer{align-items:flex-start;flex-direction:column}.cinema-home-badge{display:none}.cinema-home-grid{grid-template-columns:1fr}.cinema-home-film{padding:12px}}

/* v0.21.10 – tydligt kommunval permanent i sidhuvudet */
.municipality-button{display:flex!important;min-height:48px;align-items:center;justify-content:center;gap:9px;padding:7px 11px!important;text-align:center;white-space:nowrap;border:1px solid rgba(255,255,255,.48)!important;background:rgba(255,255,255,.14)!important;box-shadow:0 5px 16px rgba(3,17,42,.16);cursor:pointer}
.municipality-button:hover{background:rgba(255,255,255,.23)!important;border-color:rgba(255,255,255,.72)!important}
.municipality-button-copy{font-size:12px;font-weight:800;line-height:1}
.municipality-button .municipality-chevron{width:14px;height:14px;opacity:.8;transform:rotate(90deg)}
@media(max-width:1100px){
  .header-inner{grid-template-columns:minmax(240px,1fr) minmax(260px,480px) auto;gap:14px}
  .brand-logo{width:min(290px,100%)}
}
@media(max-width:760px){
  .header-inner{grid-template-columns:minmax(120px,1fr) auto;gap:9px;padding:9px 10px 11px}
  .brand picture{display:block;width:min(190px,100%)}
  .brand-logo{display:block;width:100%;height:auto}
  .header-actions{gap:4px}
  .municipality-button{min-height:38px;padding:5px 8px!important;gap:5px}
  .municipality-button>svg:first-child{width:17px;height:17px}
  .municipality-button-copy{font-size:11px}
  .municipality-button .municipality-chevron{width:12px;height:12px}
  .icon-button{width:36px;height:36px}
}
@media(max-width:430px){
  .brand picture{width:min(145px,100%)}
  .brand-logo{width:100%}
  .municipality-button{max-width:100px}
  .municipality-button-copy{max-width:52px;overflow:hidden;text-overflow:ellipsis}
  .header-actions{gap:2px}
  .icon-button{width:34px;height:34px}
}
/* Vård och hälsa v0.21.5 */
.health-home{max-width:var(--max);margin:28px auto;padding:24px}.health-home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.health-home-head h2{margin:5px 0 7px}.health-home-head p{margin:0;color:var(--muted);font-size:12px}.health-source-badge{display:flex;align-items:center;gap:7px;padding:8px 11px;color:#177046;background:#edf9f2;border:1px solid #bee3cd;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}.health-source-badge svg{width:14px}.health-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px}.health-home-action{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:14px;color:inherit;background:var(--card);border:1px solid var(--border);border-radius:13px}.health-home-action>svg{width:22px;color:#08744c}.health-home-action span{display:grid;gap:3px}.health-home-action strong{font-size:11px}.health-home-action small{color:var(--muted);font-size:9px;line-height:1.4}.health-home-action.emergency{color:#8f1f25;background:#fff1f1;border-color:#efc5c7}.health-home-action.emergency>svg{color:#c52832}.health-home-action.advice{color:#0d4f87;background:#eff7ff;border-color:#c8dff2}.health-home-action.advice>svg{color:#0b69ad}.health-home-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border);color:var(--muted);font-size:10px}.health-home-footer a{display:flex;align-items:center;gap:6px;color:#08744c;font-weight:800}.health-home-footer svg{width:14px}@media(max-width:900px){.health-home-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.health-home{margin:18px 12px;padding:18px}.health-home-head,.health-home-footer{align-items:flex-start;flex-direction:column}.health-source-badge{white-space:normal}.health-home-grid{grid-template-columns:1fr;width:100%}}
/* Service & hantverk v0.21.6 */
.service-home{max-width:var(--max);margin:28px auto;padding:24px}.service-home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.service-home-head h2{margin:5px 0 7px}.service-home-head p{margin:0;color:var(--muted);font-size:12px}.service-directory-badge{display:flex;align-items:center;gap:7px;padding:8px 11px;color:#875016;background:#fff7e8;border:1px solid #efd2a6;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}.service-directory-badge svg{width:14px}.service-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px}.service-home-action{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:14px;color:inherit;background:var(--card);border:1px solid var(--border);border-radius:13px}.service-home-action>svg{width:22px;color:#b36a17}.service-home-action span{display:grid;gap:3px}.service-home-action strong{font-size:11px}.service-home-action small{color:var(--muted);font-size:9px;line-height:1.4}.service-home-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border);color:var(--muted);font-size:10px}.service-home-footer a{display:flex;align-items:center;gap:6px;color:#9b5911;font-weight:800}.service-home-footer svg{width:14px}@media(max-width:900px){.service-home-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.service-home{margin:18px 12px;padding:18px}.service-home-head,.service-home-footer{align-items:flex-start;flex-direction:column}.service-directory-badge{white-space:normal}.service-home-grid{grid-template-columns:1fr;width:100%}}

/* Myndigheter & samhällsservice v0.21.7 */
.authorities-home{max-width:var(--max);margin:28px auto;padding:24px;background:linear-gradient(145deg,var(--card),#f1f6ff)}.authorities-home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.authorities-home-head h2{margin:5px 0 7px}.authorities-home-head p{margin:0;color:var(--muted);font-size:12px}.authorities-trust-badge{display:flex;align-items:center;gap:7px;padding:8px 11px;color:#174f82;background:#edf5ff;border:1px solid #c6dbf0;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}.authorities-trust-badge svg{width:14px}.authorities-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px}.authorities-home-action{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:14px;color:inherit;background:var(--card);border:1px solid var(--border);border-radius:13px}.authorities-home-action>svg{width:22px;color:#175b98}.authorities-home-action span{display:grid;gap:3px}.authorities-home-action strong{font-size:11px}.authorities-home-action small{color:var(--muted);font-size:9px;line-height:1.4}.authorities-home-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border);color:var(--muted);font-size:10px}.authorities-home-footer a{display:flex;align-items:center;gap:6px;color:#175b98;font-weight:800}.authorities-home-footer svg{width:14px}@media(max-width:900px){.authorities-home-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.authorities-home{margin:18px 12px;padding:18px}.authorities-home-head,.authorities-home-footer{align-items:flex-start;flex-direction:column}.authorities-trust-badge{white-space:normal}.authorities-home-grid{grid-template-columns:1fr;width:100%}}

/* Google-sökning v0.21.8 */
.google-search-band{padding:18px 24px;background:linear-gradient(180deg,#fff,#f4f7fb);border-bottom:1px solid var(--border)}.google-search-inner{max-width:var(--max);margin:auto;display:grid;grid-template-columns:210px minmax(0,780px);align-items:center;justify-content:center;gap:22px}.google-search-heading{display:flex;align-items:center;gap:11px}.google-search-heading>span:last-child{display:grid;gap:3px}.google-search-heading strong{font-size:13px}.google-search-heading small{color:var(--muted);font-size:9px}.google-search-icon{width:42px;height:42px;display:grid;place-items:center;color:#1a73e8;background:#e9f1ff;border-radius:12px}.google-search-icon svg{width:21px}.google-search-form{height:56px;display:flex;align-items:center;overflow:hidden;background:var(--card);border:1px solid #bfd0e4;border-radius:16px;box-shadow:0 10px 25px rgba(8,38,83,.1)}.google-search-form>svg{width:20px;margin-left:18px;color:#718096;flex:0 0 auto}.google-search-form input[type="search"]{min-width:0;flex:1;height:100%;padding:0 14px;color:var(--text);background:transparent;border:0;outline:0;font:inherit}.google-search-form input[type="search"]:focus{box-shadow:inset 0 0 0 3px rgba(26,115,232,.16)}.google-search-form button{height:100%;display:flex;align-items:center;gap:7px;padding:0 21px;color:#fff;background:#1a73e8;border:0;font-size:11px;font-weight:800;cursor:pointer}.google-search-form button:hover{background:#155fc0}.google-search-form button svg{width:15px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}[data-theme="dark"] .google-search-band{background:#0a192c}[data-theme="dark"] .google-search-form{border-color:#314865}@media(max-width:760px){.google-search-band{padding:14px 12px}.google-search-inner{grid-template-columns:1fr;gap:10px}.google-search-heading{display:none}.google-search-form{height:52px}.google-search-form>svg{margin-left:14px}.google-search-form input[type="search"]{padding:0 10px;overflow:hidden;font-size:12px;line-height:1;white-space:nowrap;text-overflow:ellipsis}.google-search-form button{padding:0 15px}.google-search-form button svg{display:none}}@media(max-width:420px){.google-search-form button{font-size:0}.google-search-form button::after{content:"Sök";font-size:11px}}@media(max-width:360px){.google-search-form>svg{width:18px;margin-left:11px}.google-search-form input[type="search"]{padding:0 8px;font-size:11px}.google-search-form button{padding:0 12px}}
/* Integritet och lokal lagring */
.site-header,main,.google-search-band,footer{max-width:100%}
html,body{max-width:100%;overflow-x:clip}

/* En gemensam kantlinje för startsidans stora desktopmoduler. */
.transport-section,.sport-home,.health-home,.cinema-home,.service-home,.authorities-home,.news-sources-section{
  width:auto;
  max-width:none;
  margin-left:20px;
  margin-right:20px;
}
@media (min-width:1101px) and (max-width:1500px){
  .header-inner{grid-template-columns:minmax(240px,300px) minmax(280px,1fr) auto;gap:12px;padding-left:18px;padding-right:18px}
  .brand-logo{width:min(290px,100%)}
  .header-actions{min-width:0;gap:8px}
  .header-utility-actions{gap:6px}
  .weather-compact,.live-clock{display:none}
  .homepage-header-button{padding-left:10px!important;padding-right:10px!important}
}
@media(max-width:760px){
  .transport-section,.sport-home,.health-home,.cinema-home,.service-home,.authorities-home,.news-sources-section{
    margin-left:12px;
    margin-right:12px;
  }
}
.footer-privacy-clear{border:1px solid rgba(255,255,255,.35);border-radius:8px;padding:7px 10px;background:transparent;color:inherit;font:inherit;cursor:pointer}.footer-privacy-clear:hover{background:rgba(255,255,255,.08)}.footer-privacy-status{display:block;min-height:1.4em;font-size:12px}
@media(max-width:760px){
  footer{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:0;padding:24px 16px 20px}
  footer .footer-copyright{grid-column:1/-1;margin-bottom:18px;color:var(--muted);font-size:10px;line-height:1.5;text-align:center}
  footer nav{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0;width:100%;border-top:1px solid var(--border);border-left:1px solid var(--border);border-radius:12px;overflow:hidden}
  footer nav a{min-height:48px;display:flex;align-items:center;padding:10px 12px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--card);font-size:11px;line-height:1.3}
  footer .footer-privacy-clear{grid-column:1/-1;justify-self:center;margin-top:18px;padding:9px 13px;color:var(--muted);border:1px solid var(--border);background:var(--bg);font-size:10px}
  footer .footer-privacy-status{grid-column:1/-1;margin-top:8px;text-align:center;font-size:10px}
}

/* Gör DinPuls till startsida v0.23.4 */
.homepage-header-button{min-height:40px!important;display:flex!important;align-items:center;gap:8px;padding:9px 13px!important;color:#fff!important;background:rgba(255,255,255,.2)!important;border:1px solid rgba(255,255,255,.58)!important;border-radius:10px!important;box-shadow:0 5px 15px rgba(3,17,42,.14);white-space:nowrap;cursor:pointer}.homepage-header-button:hover{background:rgba(255,255,255,.3)!important;border-color:rgba(255,255,255,.82)!important}.homepage-header-button svg{width:18px!important;height:18px!important}.homepage-header-button span{font-size:11px;font-weight:900;letter-spacing:.01em}.homepage-header-short{display:none}
.homepage-dialog{width:min(680px,calc(100% - 24px));max-height:calc(100dvh - 30px);padding:0;color:var(--text);background:var(--card);border:0;border-radius:20px;box-shadow:0 30px 90px rgba(3,20,48,.42)}.homepage-dialog::backdrop{background:rgba(3,16,37,.68);backdrop-filter:blur(4px)}.homepage-dialog-inner{position:relative;padding:30px}.homepage-dialog-close{position:absolute;top:16px;right:16px;width:38px;height:38px;display:grid;place-items:center;color:var(--text);background:var(--bg);border:0;border-radius:10px;cursor:pointer}.homepage-dialog-close svg{width:18px}.homepage-dialog-icon{width:56px;height:56px;display:grid;place-items:center;margin-bottom:15px;background:transparent;border-radius:50%}.homepage-dialog-icon img{display:block;width:52px;height:52px}.homepage-dialog h2{margin:5px 44px 7px 0;font-size:24px}.homepage-dialog-intro{margin:0 0 20px;color:var(--muted);font-size:11px;line-height:1.6}.homepage-browser-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.homepage-browser-tabs button{min-height:42px;padding:9px;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:9px;font-size:10px;font-weight:800;cursor:pointer}.homepage-browser-tabs button[aria-selected="true"]{color:#fff;background:var(--blue700);border-color:var(--blue700)}.homepage-instructions{margin:17px 0;padding:16px 18px;background:var(--bg);border:1px solid var(--border);border-radius:12px}.homepage-instructions ol{display:grid;gap:9px;margin:0;padding-left:22px}.homepage-instructions li{padding-left:3px;font-size:11px;line-height:1.5}.homepage-url-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;background:#edf6ff;border:1px solid #c8dff4;border-radius:10px}.homepage-url-row code{color:#093e7a;font-size:12px;font-weight:800}.homepage-url-row button{display:flex;align-items:center;gap:6px;padding:8px 10px;color:#0756a8;background:#fff;border:1px solid #bad4ec;border-radius:8px;font-size:9px;font-weight:800;cursor:pointer}.homepage-url-row button svg{width:14px}.homepage-copy-status{min-height:18px;margin:6px 0 0;color:#18723d;font-size:9px;font-weight:700}
[data-theme="dark"] .homepage-dialog{color:#edf5ff;background:#0d2039;border:1px solid #29435f}[data-theme="dark"] .homepage-dialog-close{color:var(--blue100);background:#173553;border:1px solid #355879}[data-theme="dark"] .homepage-dialog-intro{color:#b8c7da}[data-theme="dark"] .homepage-browser-tabs button{color:#dceaff;background:#152f4b;border-color:#365472}[data-theme="dark"] .homepage-browser-tabs button[aria-selected="true"]{color:#fff;background:#1261d8;border-color:#4d92f2}[data-theme="dark"] .homepage-instructions{color:var(--blue100);background:#102a45;border-color:#35536f}[data-theme="dark"] .homepage-instructions li::marker{color:#83b9ef}[data-theme="dark"] .homepage-url-row{background:#102b48;border-color:#3c6287}[data-theme="dark"] .homepage-url-row code{color:#d2e9ff}[data-theme="dark"] .homepage-url-row button{color:#d8ebff;background:#173553;border-color:#477097}[data-theme="dark"] .homepage-copy-status{color:#8de0a7}
@media(max-width:1280px){.homepage-header-label{display:none}.homepage-header-short{display:inline}}
@media(min-width:761px) and (max-width:1100px){.homepage-header-button{display:none!important}}
@media(max-width:760px){.homepage-dialog-inner{padding:24px 18px}.homepage-dialog h2{font-size:20px}.homepage-browser-tabs{grid-template-columns:repeat(2,1fr)}.homepage-url-row{align-items:stretch;flex-direction:column}.homepage-url-row button{justify-content:center;min-height:38px}}

/* Mobilheader v0.23.4 – tydlig hierarki utan trängsel */
.header-utility-actions{display:flex;align-items:center;gap:14px}
@media(max-width:760px){
  .header-inner{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:8px 10px;padding:9px 12px 11px}
  .brand{grid-column:1;grid-row:1;align-self:center}
  .brand picture{width:min(176px,100%)}
  .header-actions{display:contents}
  .header-utility-actions{grid-column:2;grid-row:1;justify-content:flex-end;gap:4px}
  .header-utility-actions>span{display:none}
  .header-utility-actions .icon-button{width:34px;height:34px;border:1px solid rgba(255,255,255,.18)!important;background:rgba(255,255,255,.08)!important}
  .municipality-button{grid-column:1;grid-row:2;width:100%;max-width:none;min-height:40px;padding:7px 10px!important;justify-content:flex-start}
  .municipality-button-copy{max-width:none;font-size:12px;overflow:visible;text-overflow:clip}
  .municipality-button .municipality-chevron{margin-left:auto}
  .homepage-header-button{grid-column:2;grid-row:2;width:auto;min-width:146px;min-height:40px!important;justify-content:center;padding:7px 11px!important;color:#074b93!important;background:#fff!important;border-color:#fff!important;box-shadow:0 7px 18px rgba(3,17,42,.2)}
  .homepage-header-button:hover{color:#063e79!important;background:#edf6ff!important;border-color:#edf6ff!important}
  .homepage-header-button svg{width:16px!important;height:16px!important}
  .homepage-header-button .homepage-header-label{display:none}
  .homepage-header-button .homepage-header-short{display:inline;font-size:10px}
  .search{grid-column:1/-1;grid-row:3;height:44px;border-radius:12px;box-shadow:0 8px 20px rgba(3,17,42,.2)}
  .search>svg{width:18px;height:18px;margin-left:14px}
  .search input{padding:0 9px;font-size:13px}
  .search button{min-width:54px;padding:0 13px;border-radius:0 12px 12px 0;font-size:11px}
  .main-nav{top:151px;max-height:calc(100dvh - 165px)}
  .notification-panel{top:58px}
}
@media(max-width:390px){
  .header-inner{padding-left:9px;padding-right:9px;gap:7px}
  .brand picture{width:min(148px,100%)}
  .header-utility-actions{gap:2px}
  .header-utility-actions .icon-button{width:32px;height:32px}
  .homepage-header-button{min-width:132px;padding-left:8px!important;padding-right:8px!important}
  .homepage-header-button .homepage-header-short{font-size:9px}
}

/* Personlig startsida v0.23.15 – lokalt sparade modulval utan konto. */
#homepage-customize-button.has-custom-home{color:#082653!important;background:#fff!important;border-color:#fff!important}
.homepage-customize-dialog{width:min(700px,calc(100% - 24px));max-height:calc(100dvh - 30px);padding:0;color:var(--text);background:var(--card);border:0;border-radius:20px;box-shadow:0 30px 90px rgba(3,20,48,.42)}.homepage-customize-dialog::backdrop{background:rgba(3,16,37,.68);backdrop-filter:blur(4px)}
.homepage-customize-inner{position:relative;padding:25px}.homepage-customize-close{position:absolute;top:15px;right:15px;width:36px;height:36px;display:grid;place-items:center;color:var(--text);background:var(--bg);border:0;border-radius:10px;cursor:pointer}.homepage-customize-close svg{width:17px}.homepage-customize-icon{width:42px;height:42px;display:grid;place-items:center;margin-bottom:10px;color:var(--blue700);background:var(--blue100);border-radius:12px}.homepage-customize-icon svg{width:21px}.homepage-customize-dialog h2{margin:4px 44px 5px 0;font-size:22px}.homepage-customize-intro{margin:0;color:var(--muted);font-size:10px;line-height:1.5}
.homepage-customize-fixed{display:grid;grid-template-columns:minmax(150px,1fr) repeat(3,auto);align-items:center;gap:8px;margin:16px 0 14px;padding:11px 12px;background:#f2f7fd;border:1px solid #d5e3f1;border-radius:11px}.homepage-customize-fixed>div{display:grid;gap:2px}.homepage-customize-fixed strong{font-size:10px}.homepage-customize-fixed small{color:var(--muted);font-size:8px}.homepage-customize-fixed>span{display:flex;align-items:center;gap:5px;padding:6px 8px;color:#315270;background:#fff;border-radius:8px;font-size:8px;font-weight:800;white-space:nowrap}.homepage-customize-fixed svg{width:11px}
.homepage-customize-options{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0;padding:0;border:0}.homepage-customize-options legend{grid-column:1/-1;margin-bottom:2px;font-size:10px;font-weight:900}.homepage-customize-options label{min-height:43px;display:flex;align-items:center;gap:10px;padding:8px 10px;background:var(--bg);border:1px solid var(--border);border-radius:10px;cursor:pointer}.homepage-customize-options label>span{min-width:0;display:flex;align-items:center;gap:8px;flex:1}.homepage-customize-options label>span svg{width:16px;color:var(--blue700);flex:0 0 auto}.homepage-customize-options b{font-size:9px;line-height:1.25}.homepage-customize-options input{position:absolute;opacity:0;pointer-events:none}.homepage-switch{position:relative;width:31px;height:18px;flex:0 0 auto;background:#a9b5c3;border-radius:999px;transition:.18s}.homepage-switch::after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;background:#fff;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:.18s}.homepage-customize-options input:checked+.homepage-switch{background:var(--blue700)}.homepage-customize-options input:checked+.homepage-switch::after{transform:translateX(13px)}.homepage-customize-options input:focus-visible+.homepage-switch{outline:3px solid rgba(18,100,205,.3);outline-offset:2px}
.homepage-customize-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}.homepage-customize-footer>span{color:var(--muted);font-size:9px}.homepage-customize-footer button{display:flex;align-items:center;gap:5px;padding:8px 10px;color:var(--blue700);background:var(--blue100);border:0;border-radius:8px;font-size:9px;font-weight:800;cursor:pointer}.homepage-customize-footer button svg{width:13px}
.personalized-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))!important}
[data-theme="dark"] .homepage-customize-dialog{color:#edf5ff;background:#0d2039;border:1px solid #29435f}[data-theme="dark"] .homepage-customize-close{color:#dceaff;background:#173553}[data-theme="dark"] .homepage-customize-fixed{background:#102a45;border-color:#35536f}[data-theme="dark"] .homepage-customize-fixed>span{color:#dceaff;background:#173553}
@media(max-width:760px){.homepage-customize-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.homepage-customize-inner{padding:20px 15px}.homepage-customize-dialog h2{font-size:19px}.homepage-customize-fixed{grid-template-columns:1fr;gap:6px}.homepage-customize-fixed>div{margin-bottom:2px}.homepage-customize-fixed>span{justify-content:flex-start;white-space:normal}.homepage-customize-options{grid-template-columns:1fr;gap:6px}.homepage-customize-options label{min-height:42px}.homepage-customize-footer{align-items:flex-start;flex-direction:column}.homepage-customize-footer button{align-self:stretch;justify-content:center}.personalized-grid{grid-template-columns:1fr!important}}

/* Web Push v0.24.1 – valen ligger samlat med startsidans övriga anpassning. */
.push-settings{margin:0 0 14px;border:1px solid #cdddef;border-radius:12px;background:#f8fbff;overflow:hidden}.push-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;cursor:pointer;list-style:none}.push-settings>summary::-webkit-details-marker{display:none}.push-settings>summary>span{display:grid;grid-template-columns:22px 1fr;align-items:center;column-gap:8px}.push-settings>summary>span>svg{grid-row:1/3;width:19px;color:var(--blue700)}.push-settings>summary b{font-size:11px}.push-settings>summary small{color:var(--muted);font-size:8px}.push-settings>summary>svg{width:16px;transition:transform .18s}.push-settings[open]>summary>svg{transform:rotate(180deg)}.push-settings-body{display:grid;gap:11px;padding:0 12px 12px;border-top:1px solid #dce7f3}.push-status{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:10px;margin-top:12px;padding:10px;background:#fff;border:1px solid var(--border);border-radius:10px}.push-status-icon{width:38px;height:38px;display:grid;place-items:center;color:var(--blue700);background:var(--blue100);border-radius:10px}.push-status-icon svg{width:18px}.push-status>span:last-child{display:grid;gap:2px}.push-status strong{font-size:10px}.push-status small,.push-help{color:var(--muted);font-size:8px;line-height:1.45}.push-status[data-state="active"] .push-status-icon{color:#176b37;background:#e5f6eb}.push-status[data-state="blocked"] .push-status-icon,.push-status[data-state="error"] .push-status-icon{color:#a42b2b;background:#fee9e9}.push-required{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.push-required p{display:grid;gap:2px;min-width:150px;margin:0 auto 0 0}.push-required p strong{font-size:9px}.push-required p small{color:var(--muted);font-size:7px}.push-required>span{display:flex;align-items:center;gap:4px;padding:6px 7px;color:#315270;background:#fff;border:1px solid #dce7f3;border-radius:8px;font-size:7px;font-weight:800}.push-required>span svg{width:11px}.push-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:0;border:0}.push-options legend{grid-column:1/-1;margin-bottom:1px;font-size:9px;font-weight:900}.push-options label{min-height:38px;display:flex;align-items:center;gap:8px;padding:7px 9px;background:#fff;border:1px solid var(--border);border-radius:9px;cursor:pointer}.push-options label>span{min-width:0;display:flex;align-items:center;gap:7px;flex:1}.push-options label svg{width:14px;color:var(--blue700)}.push-options b{font-size:8px}.push-options input{position:absolute;opacity:0;pointer-events:none}.push-options input:checked+.homepage-switch{background:var(--blue700)}.push-options input:checked+.homepage-switch::after{transform:translateX(13px)}.push-options input:focus-visible+.homepage-switch{outline:3px solid rgba(18,100,205,.3);outline-offset:2px}.push-scope{display:flex;align-items:flex-start;gap:6px;margin:0;color:var(--muted);font-size:8px;line-height:1.45}.push-scope svg{width:13px;flex:0 0 auto}.push-actions{display:flex;align-items:center;gap:8px}.push-actions button{min-height:36px;padding:8px 11px;border-radius:9px;font-size:9px;font-weight:900;cursor:pointer}.push-enable{display:flex;align-items:center;justify-content:center;gap:6px;color:#fff;background:var(--blue700);border:0}.push-enable svg{width:14px}.push-enable:disabled{cursor:not-allowed;opacity:.55}.push-disable{color:#9a2630;background:#fff;border:1px solid #e8b9bd}.push-help{margin:0}.push-actions [hidden]{display:none}
.push-settings>summary>span{min-width:0;flex:1}
@media(min-width:761px){.homepage-customize-dialog{width:min(760px,calc(100% - 24px))}.homepage-customize-intro{font-size:13px}.homepage-customize-fixed strong{font-size:13px}.homepage-customize-fixed small{font-size:11px}.homepage-customize-fixed>span{font-size:11px}.homepage-customize-options legend{font-size:13px}.homepage-customize-options b{font-size:12px}.homepage-customize-footer>span,.homepage-customize-footer button{font-size:11px}.push-settings>summary b{font-size:14px}.push-settings>summary small{font-size:12px;line-height:1.4}.push-status strong{font-size:13px}.push-status small,.push-help{font-size:11px}.push-required p{min-width:230px}.push-required p strong{font-size:12px}.push-required p small{font-size:10px}.push-required>span{font-size:10px}.push-options legend{font-size:12px}.push-options b{font-size:11px}.push-scope{font-size:11px}.push-actions button{font-size:12px}}
[data-theme="dark"] .push-settings{background:#0b1d32;border-color:#35536f}[data-theme="dark"] .push-settings-body{border-color:#29435f}[data-theme="dark"] .push-status,[data-theme="dark"] .push-required>span,[data-theme="dark"] .push-options label,[data-theme="dark"] .push-disable{background:#102a45;border-color:#35536f}[data-theme="dark"] .push-required>span{color:#dceaff}
@media(max-width:760px){.push-options{grid-template-columns:1fr}.push-required{align-items:stretch}.push-required p{width:100%;margin-bottom:2px}.push-required>span{flex:1;justify-content:center}.push-actions{align-items:stretch;flex-direction:column}.push-actions button{width:100%}}

/* Anpassningspanel v0.24.2 – läsbar och kompakt på både desktop och mobil. */
.homepage-customize-dialog{width:min(780px,calc(100% - 24px))}
.homepage-customize-inner{padding:28px}
.homepage-customize-dialog h2{font-size:26px;line-height:1.15}
.homepage-customize-intro{font-size:13px;line-height:1.55}
.homepage-customize-fixed{gap:10px;padding:14px}
.homepage-customize-fixed strong{font-size:13px}
.homepage-customize-fixed small{font-size:11px;line-height:1.4}
.homepage-customize-fixed>span{padding:8px 10px;font-size:11px}
.homepage-customize-fixed svg{width:14px}
.homepage-customize-options{gap:9px}
.homepage-customize-options legend{font-size:13px}
.homepage-customize-options label{min-height:48px;padding:10px 12px}
.homepage-customize-options b{font-size:12px}
.homepage-customize-footer>span,.homepage-customize-footer button{font-size:11px}
.push-settings{margin-bottom:18px}
.push-settings>summary{min-height:62px;padding:14px 16px}
.push-settings>summary>span{min-width:0;flex:1;grid-template-columns:26px minmax(0,1fr);column-gap:10px}
.push-settings>summary>span>svg{grid-column:1;grid-row:1/3;width:21px}
.push-settings>summary b,.push-settings>summary small{grid-column:2}
.push-settings>summary b{font-size:15px;line-height:1.3}
.push-settings>summary small{font-size:12px;line-height:1.45}
.push-settings-body{gap:14px;padding:0 14px 16px}
.push-status{grid-template-columns:42px minmax(0,1fr);gap:12px;margin-top:14px;padding:12px}
.push-status-icon{width:42px;height:42px}
.push-status strong{font-size:13px;line-height:1.35}
.push-status small,.push-help{font-size:11px;line-height:1.5}
.push-required{gap:8px}
.push-required p{min-width:230px}
.push-required p strong{font-size:12px}
.push-required p small{font-size:10px;line-height:1.4}
.push-required>span{padding:8px 9px;font-size:10px}
.push-required>span svg{width:13px}
.push-options{gap:8px}
.push-options legend{font-size:12px}
.push-options label{min-height:44px;padding:9px 11px}
.push-options label svg{width:16px}
.push-options b{font-size:11px}
.push-scope{font-size:11px;line-height:1.5}
.push-scope svg{width:15px}
.push-actions{align-items:flex-start;flex-direction:row}
.push-actions button{width:auto;min-height:38px;padding:9px 13px;font-size:12px}
.push-enable svg{width:15px}
@media(max-width:760px){.homepage-customize-inner{padding:22px 17px}.homepage-customize-dialog h2{font-size:23px}.homepage-customize-fixed{grid-template-columns:1fr}.homepage-customize-options{grid-template-columns:1fr}.push-options{grid-template-columns:1fr}.push-required p{min-width:100%;width:100%}.push-actions{align-items:flex-start;flex-direction:row}.push-actions button{width:auto}.homepage-customize-footer button{align-self:auto}}
@media(max-width:430px){.homepage-customize-dialog{width:calc(100% - 12px)}.homepage-customize-inner{padding:20px 14px}.push-required>span{flex:1 1 calc(50% - 8px)}.push-actions button{width:100%}}

/* Desktop typography v0.24.3 – en lugnare och läsbar miniminivå på stora skärmar. */
@media(min-width:1024px){
  .section-kicker,.eyebrow{font-size:13px;line-height:1.35}
  .card h2,.services h2{font-size:22px;line-height:1.25}
  .card h3{font-size:15px;line-height:1.35}
  .card>small,.muted,.card-link,.center,.good{font-size:14px;line-height:1.5}
  .quick-strip strong,.main-nav a{font-size:14px}
  .quick-strip small,.service-grid span{font-size:13px;line-height:1.35}
  .forecast div,.legend,.departures li,.prices li,.events time,.events small,
  .simple li,.housing li,.news b,.news small,.events-loading,.events-empty,
  .events-card-footer{font-size:13px;line-height:1.45}
  .news-summary{font-size:14px;line-height:1.55}
  .important .heading>span,.important-list article small,.important-sources>span,
  .important-sources a{font-size:12px;line-height:1.4}
  .traffic-live,.jobs-live,.housing-live,.ad-dice-label,.seasonal-theme-badge,
  .sport-live-badge,.leisure-home-badge,.service-directory-badge,
  .authorities-trust-badge{font-size:11px}
  .traffic-summary span,.traffic-compact-list small,.jobs-summary span,
  .job-employer,.job-content small,.housing-summary span,
  .housing-item-content>span:not(.housing-tags),.housing-item-content small,
  .housing-provider small{font-size:12px;line-height:1.45}
  .traffic-compact-list strong,.job-content>strong,.housing-item-content>strong,
  .housing-provider strong{font-size:14px;line-height:1.4}
  .traffic-empty,.jobs-empty span,.housing-empty span,.jobs-footer,.housing-footer{font-size:12px;line-height:1.5}
  .jobs-search input{font-size:14px}
  .sport-home-summary,.leisure-home-head p,.service-home-head p,
  .authorities-home-head p,.missing-people-head p{font-size:14px;line-height:1.5}
  .sport-home-list strong,.leisure-home-grid strong,.service-home-action strong,
  .authorities-home-action strong{font-size:14px}
  .sport-home-list small,.leisure-home-grid small,.service-home-action small,
  .authorities-home-action small{font-size:12px;line-height:1.45}
  .sport-home-link,.leisure-home-footer,.health-home-footer,.service-home-footer,
  .authorities-home-footer{font-size:13px;line-height:1.45}
  .missing-people-principle,.missing-person-content p{font-size:13px;line-height:1.55}
  .missing-people-status,.missing-person-meta,.missing-people-footer,
  .missing-people-empty small,.missing-people-unverified small{font-size:12px;line-height:1.45}
  .missing-person-scope{font-size:11px}.missing-person-content>a{font-size:13px}
  .google-search-heading small{font-size:12px}.google-search-heading strong{font-size:15px}
  .google-search-form button{font-size:13px}
  .homepage-header-button span{font-size:13px}
  footer{font-size:13px;line-height:1.5}
}

.scheduled-public-ad{padding:0!important;overflow:hidden;display:block!important;min-height:110px}
.scheduled-public-ad img{display:block;width:100%;height:100%;min-height:110px;max-height:260px;object-fit:cover}
.ad-face.scheduled-homepage-ad{padding:0;overflow:hidden}
.ad-face.scheduled-homepage-ad img{display:block;width:100%;height:100%;object-fit:cover}

@media(max-width:760px){
  .departure-row:has(.departure-mode.flight){grid-template-columns:38px minmax(0,1fr) 58px}
  .departure-row:has(.departure-mode.flight) .departure-mode{grid-column:1;grid-row:1/3}
  .departure-row:has(.departure-mode.flight) .departure-line{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}
  .departure-row:has(.departure-mode.flight) .departure-destination{grid-column:2;grid-row:2;min-width:0;overflow-wrap:anywhere}
  .departure-row:has(.departure-mode.flight) .departure-destination strong{white-space:normal;overflow:visible}
  .departure-row:has(.departure-mode.flight) .departure-time{grid-column:3;grid-row:1/3}
  .departure-row:has(.departure-mode.flight) .departure-status{grid-column:2/4}
}
