/* Riscover360 – survey-map palette: fjord, lichen paper, contour lines, signal colours */
:root {
  --fjord: #1F4E5A;
  --fjord-deep: #163A43;
  --ink: #1D2B2A;
  --muted: #5A6866;
  --paper: #EEF2EF;
  --sheet: #FAFBFA;
  --contour: #A9BDB5;
  --rule: #C9D2CF;
  --low: #1E9E5A;
  --mid: #F5A300;
  --high: #D62839;
  --radius-s: 4px;
  --radius-m: 10px;
  --font: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 17px; line-height: 1.55; }
a { color: var(--fjord); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--mid); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 640px; }

/* header */
.site-head { border-bottom: 1px solid var(--rule); background: var(--sheet); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 10px; }
.brand svg { flex: none; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--fjord); text-decoration: underline; }
.nav .lang { color: var(--muted); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--fjord); color: #fff; }
.hero .contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px;
  padding-top: 88px; padding-bottom: 88px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 20px; font-weight: 700; max-width: 14ch; }
.hero p.lead { font-size: 1.15rem; max-width: 52ch; color: #DCE7E3; margin: 0 0 32px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  padding: 13px 22px; border-radius: var(--radius-s); text-decoration: none; }
.btn-primary { background: var(--mid); color: var(--ink); }
.btn-primary:hover { background: #E6B550; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #ffffff88; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-dark { background: var(--fjord); color: #fff; }
.btn-dark:hover { background: var(--fjord-deep); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* the product card in the hero */
.sample { background: var(--sheet); color: var(--ink); border-radius: var(--radius-m); padding: 22px 24px;
  box-shadow: 0 18px 40px -18px #0008; }
.sample .addr { font-weight: 600; margin: 0 0 2px; }
.sample .date { color: var(--muted); font-size: .85rem; margin: 0 0 14px; }
.sample ul { list-style: none; margin: 0; padding: 0; }
.sample li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center;
  padding: 9px 0; border-top: 1px solid var(--rule); font-size: .95rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.low { background: var(--low); } .dot.mid { background: var(--mid); } .dot.high { background: var(--high); }
.sample .lvl { color: var(--muted); font-size: .85rem; }

/* stats */
.stats { padding: 72px 0 40px; }
.stats h2, .section h2 { font-size: 1.9rem; letter-spacing: -0.01em; margin: 0 0 6px; }
.stats .note { color: var(--muted); margin: 0 0 28px; }
.stat-row { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 28px; align-items: baseline;
  padding: 22px 0; border-top: 1px solid var(--rule); }
.stat-row:last-child { border-bottom: 1px solid var(--rule); }
.stat-value { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; color: var(--fjord);
  letter-spacing: -0.02em; line-height: 1; }
.stat-text { font-size: 1.2rem; max-width: 48ch; margin: 0; }
.stat-src { display: block; color: var(--muted); font-size: .82rem; margin-top: 6px; }

/* generic sections */
.section { padding: 56px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.section p { max-width: 62ch; }
.covers { list-style: none; padding: 0; margin: 16px 0 0; columns: 2; column-gap: 48px; }
.covers li { padding: 10px 0 10px 26px; position: relative; break-inside: avoid; }
.covers li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 12px;
  border-radius: 50%; border: 2px solid var(--fjord); }

/* how it works – a real sequence, so it is numbered */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: s; border-top: 3px solid var(--fjord); padding-top: 14px; }
.steps li::before { content: counter(s); font-weight: 700; color: var(--fjord); font-size: 1.4rem; }
.steps h3 { margin: 4px 0 6px; font-size: 1.1rem; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; max-width: 760px; }
.price { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 24px; }
.price.main { border: 2px solid var(--fjord); }
.price .amount { font-size: 2.2rem; font-weight: 700; color: var(--fjord); }
.price .what { font-weight: 600; }
.price .sub { color: var(--muted); font-size: .92rem; }
.disclaimer { color: var(--muted); font-size: .92rem; }

/* forms & app pages */
.page { padding: 48px 0 72px; }
.page h1 { font-size: 2rem; margin: 0 0 20px; }
.panel { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 24px; margin-bottom: 24px; }
label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
input[type=text], input:not([type]), input[type=url], input[type=date], input[type=datetime-local], input[type=email], input[type=password], input[type=number], input[type=tel], select {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid var(--contour); border-radius: var(--radius-s);
  background: #fff; color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; }
.alert { padding: 12px 16px; border-radius: var(--radius-s); margin-bottom: 18px; }
.alert.err { background: #F6E0DC; color: #6D2219; }
.alert.ok { background: #DDEDE4; color: #22503A; }
.tokens { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.tokens .n { font-size: 2.4rem; font-weight: 700; color: var(--fjord); }
table.list { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.list th { text-align: left; font-weight: 600; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--rule); }
table.list td { padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table-scroll { overflow-x: auto; }
/* 0.20.4: long URLs, error texts and JSON in admin tables wrap inside the panel instead of running out of it */
table.list td { overflow-wrap: anywhere; word-break: normal; }
table.list td.nowrap, table.list th { overflow-wrap: normal; white-space: nowrap; }
.panel { overflow-x: auto; max-width: 100%; box-sizing: border-box; }
.status-done { color: var(--low); font-weight: 600; } .status-failed { color: var(--high); font-weight: 600; }
.status-queued, .status-processing { color: #8A6512; font-weight: 600; }
.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline input[type=number] { width: 80px; }
.inline input[type=text], .inline input:not([type]) { width: 180px; }
.small { font-size: .85rem; color: var(--muted); }
code { background: #E3E9E6; padding: 1px 5px; border-radius: 3px; }

.site-foot { border-top: 1px solid var(--rule); padding: 28px 0 40px; color: var(--muted); font-size: .9rem; background: var(--sheet); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero .wrap, .two-col, .prices { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .covers { columns: 1; }
  .stat-row { grid-template-columns: 1fr; gap: 6px; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .sample { animation: rise .7s ease-out both .15s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* news flash */
.flash { background: var(--ink); color: #fff; font-size: .95rem; }
.flash .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-top: 11px; padding-bottom: 11px; }
.flash-tag { background: var(--mid); color: var(--ink); font-weight: 700; font-size: .75rem; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-s); }
.flash-text { font-weight: 600; color: #fff; text-decoration: none; }
.flash-text:hover, .flash-text:focus { text-decoration: underline; }
.flash-tag.brand { background: #F3D9A4; }
.flash-tag.season { background: #D9E8C9; }
.flash-src { color: #AFC0BB; font-size: .8rem; }
.flash-cta { color: var(--mid); margin-left: auto; font-weight: 600; text-decoration: none; }
.flash-cta:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .flash-text { animation: flashin .6s ease-out both; }
  @keyframes flashin { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
}
/* partner pages */
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 18px; }
.checks label { font-weight: 400; margin: 4px 0; display: flex; gap: 8px; align-items: flex-start; }
textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid var(--contour); border-radius: var(--radius-s); min-height: 90px; }
fieldset { border: 0; padding: 0; margin: 18px 0 0; }
legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.partner-logo { max-height: 60px; max-width: 180px; }
.flash-tag.pos { background: #7FC29B; }

.sample .grp { margin: 12px 0 2px; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--fjord); }
.sample li { padding: 6px 0; font-size: .9rem; }
.dot.sun { background: #F1C75B; } .dot.off { background: transparent; border: 1.5px dashed var(--contour); }
.bath-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.bath { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 16px 18px; }
.bath.warn { border-color: var(--high); }
.bath header { display: flex; gap: 10px; align-items: center; }
.bath h2 { font-size: 1.05rem; margin: 0; }
.bath p { margin: 6px 0; }

/* compact report preview */
.sample.compact { padding: 20px 22px; max-width: 400px; justify-self: end; }
.sample.compact li { font-size: .92rem; }
.sample .more { margin: 12px 0 0; font-size: .85rem; color: var(--fjord); font-weight: 600; }
/* what we check */
.checks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 18px; }
.check-col { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 20px 22px; }
.check-col h3 { margin: 0 0 6px; font-size: 1.2rem; }
.check-col .grp { margin: 14px 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--fjord); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 12px; font-size: .9rem; }
.chips li.soon { border-style: dashed; color: var(--muted); }
.chips-num { counter-reset: none; }
.chips-num li .num { display: inline-block; min-width: 1.5em; font-weight: 700; color: var(--accent, #1d4f5c); }
.chips li.soon::after { content: " · snart"; }
html[lang="en"] .chips li.soon::after { content: " · soon"; }
.teaser { margin-top: 24px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: #E4EEF0; border-radius: var(--radius-m); padding: 16px 20px; }
@media (max-width: 860px) { .checks-grid { grid-template-columns: 1fr; } .sample.compact { justify-self: stretch; max-width: none; } }

.sample .more a { color: var(--fjord); text-decoration: none; }
.sample .more a:hover { text-decoration: underline; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#det-har-ingar { scroll-margin-top: 16px; }
.price { position: relative; }
.price .save { position: absolute; top: -12px; right: 16px; background: var(--mid); color: var(--ink); font-weight: 700;
  font-size: .8rem; padding: 4px 10px; border-radius: 999px; }

/* support, questions, articles, suggestions */
textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid var(--contour); border-radius: var(--radius-s);
  background: #fff; color: var(--ink); min-height: 140px; resize: vertical; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px;
  background: var(--paper); color: var(--muted); border: 1px solid var(--rule); white-space: nowrap; }
.badge.open { background: #FBF0D9; color: #7A5510; border-color: #EBD49E; }
.badge.answered { background: #DDEDE4; color: #22503A; border-color: #B9D8C6; }
.badge.closed { background: var(--paper); color: var(--muted); }
.badge.planned { background: #E1EBEE; color: var(--fjord); border-color: #BFD3D9; }
.badge.done { background: #DDEDE4; color: #22503A; border-color: #B9D8C6; }
.thread { display: grid; gap: 14px; }
.msg { border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 14px 18px; background: #fff; max-width: 78ch; }
.msg.us { background: #EEF4F5; border-color: #C8DADF; margin-left: auto; }
.msg .meta { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.msg .text { white-space: pre-wrap; }
.faq-group { margin-top: 32px; }
.faq-group h2 { font-size: 1.3rem; margin: 0 0 8px; }
details.qa { border-top: 1px solid var(--rule); padding: 12px 0; }
details.qa:last-child { border-bottom: 1px solid var(--rule); }
details.qa summary { cursor: pointer; font-weight: 600; list-style: none; padding-right: 28px; position: relative; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.3rem; color: var(--fjord); }
details.qa[open] summary::after { content: "–"; }
details.qa .answer { margin-top: 8px; max-width: 70ch; }
details.qa .answer p { margin: 0 0 8px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.08rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.article { max-width: 70ch; }
.article h2 { font-size: 1.35rem; margin: 32px 0 8px; }
.article .lead { font-size: 1.15rem; color: var(--muted); }
.chips-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 20px; }
.chips-filter a { text-decoration: none; font-size: .9rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--rule);
  background: var(--sheet); color: var(--ink); }
.chips-filter a.on { background: var(--fjord); color: #fff; border-color: var(--fjord); }
.sug { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.vote { text-align: center; }
.vote button { width: 56px; border: 1px solid var(--contour); background: #fff; border-radius: var(--radius-s); cursor: pointer;
  font: inherit; font-weight: 700; color: var(--fjord); padding: 6px 0; }
.vote button.on { background: var(--fjord); color: #fff; border-color: var(--fjord); }
.refbox { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.refbox input { flex: 1 1 320px; font-family: ui-monospace, monospace; }
.kpi { display: flex; gap: 32px; flex-wrap: wrap; }
.kpi div span { display: block; font-size: 2rem; font-weight: 700; color: var(--fjord); line-height: 1.1; }
.muted { color: var(--muted); }
@media (max-width: 640px) { .sug { grid-template-columns: 52px 1fr; } .msg.us { margin-left: 0; } }

/* front page: three paths (buy / own / sell) */
.hero-sub { font-size: 1.35rem; font-weight: 600; color: #F1DDB0; margin: -8px 0 14px; }
.paths { padding: 48px 0 8px; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path { display: flex; flex-direction: column; gap: 8px; background: var(--sheet); border: 1px solid var(--rule);
  border-top: 4px solid var(--fjord); border-radius: var(--radius-m); padding: 22px; color: var(--ink); text-decoration: none; }
.path:hover { border-color: var(--fjord); box-shadow: 0 10px 24px -16px #0006; }
.path-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.path h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.path p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.path-cta { font-weight: 600; color: var(--fjord); }
@media (max-width: 860px) { .path-grid { grid-template-columns: 1fr; } }
fieldset.purpose { border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 10px 16px 14px; margin: 0 0 6px; }
fieldset.purpose legend { font-weight: 600; font-size: .92rem; padding: 0 6px; }
fieldset.purpose .check { display: inline-flex; margin: 8px 18px 0 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--fjord); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }

/* analytics */
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 18px 0 24px; }
.kpi-tile { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi-tile .kl { font-size: .8rem; color: var(--muted); font-weight: 600; }
.kpi-tile .kv { font-size: 1.8rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.delta { font-size: .82rem; font-weight: 600; color: var(--muted); }
.delta.up { color: var(--low); } .delta.down { color: var(--high); }
svg.chart { width: 100%; height: auto; display: block; }
svg.chart .grid { stroke: var(--rule); stroke-width: 1; }
svg.chart .axis { font-size: 11px; fill: var(--muted); font-family: var(--font); }
svg.chart .fill { fill: var(--fjord); }
svg.chart .bar:hover .fill { fill: var(--fjord-deep); }
svg.chart .marker { stroke: var(--mid); stroke-width: 2; stroke-dasharray: 4 3; }
svg.chart .mlabel { font-size: 11px; fill: var(--ink); font-family: var(--font); font-weight: 600; }
.hbars { display: grid; gap: 6px; }
.hbar { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.hbar .hl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .ht { background: var(--paper); border-radius: 4px; height: 12px; overflow: hidden; }
.hbar .hf { display: block; height: 100%; background: var(--fjord); border-radius: 0 4px 4px 0; min-width: 2px; }
.hbar .hn { font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
table.funnel td { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.funnel tr.total td { font-weight: 700; border-top: 2px solid var(--rule); }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, 1fr); } }

/* 0.11: prices in the visitor's currency, owner choice, upload progress, purpose hints */
.prices { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); max-width: 980px; }
.btn-ghost-dark { background: transparent; color: var(--fjord); box-shadow: inset 0 0 0 1.5px var(--fjord); }
.btn-ghost-dark:hover { background: #1F4E5A12; }
.owner-choice { display: grid; gap: 14px; flex: 1; }
.owner-choice > div { border-top: 1px solid var(--rule); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.owner-choice p { flex: 0; }
.owner-choice .btn { align-self: flex-start; }
.purpose-hint { margin: 10px 0 0; padding: 12px 14px; border-radius: var(--radius-m); background: #1F4E5A0D;
  border-left: 3px solid var(--fjord); font-size: .95rem; }
.purpose-hint[hidden] { display: none; }
.purpose-hint .btn { margin-top: 8px; }
.busy-note { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-left: 8px; }
.busy-note::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--rule);
  border-top-color: var(--fjord); animation: hr-spin .8s linear infinite; }
@keyframes hr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .busy-note::before { animation: none; } }
.path-price { font-weight: 700; color: var(--ink); font-size: .95rem; }
.quick-list { list-style: none; padding: 0; margin: 8px 0 12px; }
.quick-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.quick-list li span:nth-child(2) { flex: 1; }
.quick-list .dot { width: 16px; height: 16px; border-radius: 50%; background: #9AA5A3; flex: 0 0 16px; }
.quick-list .dot.low { background: var(--low); } .quick-list .dot.mid { background: var(--mid); } .quick-list .dot.high { background: var(--high); }
.share-row { flex-wrap: wrap; gap: 8px; }
.hero-quick { margin-top: 14px; } .hero-quick a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* 0.12: address suggestions */
.suggest-wrap { position: relative; }
form.inline .suggest-wrap { display: inline-block; vertical-align: middle; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; margin: 2px 0 0; padding: 4px 0; list-style: none;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-m); box-shadow: 0 12px 28px -12px #0005;
  max-height: 320px; overflow-y: auto; }
.suggest[hidden] { display: none; }
.suggest li { padding: 8px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; }
.suggest li small { color: var(--muted); font-size: .8rem; }
.suggest li.active, .suggest li:hover { background: #1F4E5A12; }
.suggest li.muted { cursor: default; color: var(--muted); font-size: .9rem; }
.object-type { display: flex; gap: 18px; flex-wrap: wrap; margin: 4px 0 2px; }

/* 0.13: password strength */
.pw-meter { display: flex; align-items: center; gap: 10px; margin: 4px 0 2px; font-size: .85rem; color: var(--muted); }
.pw-meter .bar { flex: 0 0 120px; height: 6px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.pw-meter .bar i { display: block; height: 100%; width: 0; background: var(--high); transition: width .2s; }
.pw-meter[data-g="2"] .bar i { background: var(--mid); } .pw-meter[data-g="3"] .bar i, .pw-meter[data-g="4"] .bar i { background: var(--low); }
.price .approx { margin-top: -2px; margin-bottom: 6px; }
/* password fields: show/hide eye */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 44px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px;
  color: var(--muted); cursor: pointer; line-height: 0; }
.pw-eye:hover, .pw-eye:focus-visible { color: var(--fjord); }
.pw-eye .slash { display: none; }
.pw-eye.on .slash { display: inline; }
.pw-note { margin-top: 4px; }
.vatbar { position: relative; height: 14px; border-radius: 7px; background: var(--rule); overflow: visible; margin: 8px 0 12px; max-width: 640px; }
.vatbar i { display: block; height: 100%; border-radius: 7px; }
.vatbar .mark { position: absolute; top: -4px; width: 2px; height: 22px; background: var(--ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 8px; box-sizing: border-box; }
.flash-tag.story { background: #CFE3EA; }
.stories h2 { margin-top: 0; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.story { margin: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 20px; }
.story .stars { color: #E2A93B; letter-spacing: 2px; } .story .stars .off { color: var(--rule); }
.story blockquote { margin: 10px 0; font-size: 1.02rem; }
.story figcaption { color: var(--muted); font-size: .9rem; }
.tp { margin-top: 20px; }
.tp-badge { display: inline-flex; gap: 12px; align-items: baseline; border: 1px solid var(--rule); border-radius: 999px; padding: 8px 16px;
  text-decoration: none; color: var(--ink); background: var(--sheet); }
.tp-badge b { color: #00B67A; }
fieldset.stars { border: 0; padding: 0; margin: 0 0 8px; } fieldset.stars label { display: block; color: #E2A93B; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--rule); border-top-color: var(--fjord); border-radius: 50%;
  animation: spin .8s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.mode-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.mode-badge.test { background: #FBF0D9; color: #7A5510; } .mode-badge.live { background: #D8EFE2; color: #1E6B43; }
/* logged-in bar */
.whoami { background: #EEF3F2; border-bottom: 1px solid var(--rule); font-size: .85rem; }
.whoami.staff { background: #1F4E5A; color: #fff; }
.whoami .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 5px; padding-bottom: 5px; }
.role-badge { display: inline-block; padding: 0 8px; margin-right: 4px; border-radius: 999px; background: #D9A43B; color: #1D2B2A; font-weight: 700; font-size: .75rem; }
.nav a.nav-cta { background: var(--fjord); color: #fff !important; border-radius: 999px; padding: 6px 14px; font-weight: 700; text-decoration: none; }
.nav a.nav-cta:hover { filter: brightness(1.1); }
/* admin: collapsible sections */
details.adm-sec { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); margin: 0 0 14px; }
details.adm-sec > summary { list-style: none; cursor: pointer; padding: 14px 20px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
details.adm-sec > summary::-webkit-details-marker { display: none; }
details.adm-sec > summary h2 { margin: 0; font-size: 1.15rem; }
details.adm-sec > summary::after { content: "▸"; color: var(--muted); transition: transform .15s; }
details.adm-sec[open] > summary::after { transform: rotate(90deg); }
details.adm-sec > .sec-body { padding: 0 20px 18px; }
.sec-status { margin-left: auto; font-size: .85rem; color: var(--muted); }
.sec-status.warn { color: var(--high); font-weight: 700; }
.adm-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.adm-links a { border: 1px solid var(--rule); border-radius: 999px; padding: 5px 12px; text-decoration: none; background: var(--sheet); font-size: .9rem; }
.adm-links a.warn { border-color: var(--high); color: var(--high); font-weight: 700; }
/* front page order box */
.hero-order { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 10px; max-width: 620px; }
.hero-order .suggest-wrap, .hero-order > input { flex: 1 1 300px; }
.hero-order input { width: 100%; padding: 13px 14px; border-radius: 10px; border: 0; font-size: 1rem; box-sizing: border-box; }
.hero-order input::placeholder { color: #6B7780; opacity: 1; }
.hero-label { display: block; margin: 18px 0 0; font-size: .95rem; font-weight: 600; color: #fff; }  /* 0.22.143 */
.hero-order .suggest { color: var(--ink); }
.coverage-strip { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.coverage-strip .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; padding-top: 14px; padding-bottom: 14px; color: var(--muted); font-size: .95rem; }
.coverage-strip b { color: var(--fjord); }
fieldset.choice-cards { border: 0; padding: 0; margin: 0 0 12px; display: flex; gap: 8px; flex-wrap: wrap; }
fieldset.choice-cards legend { font-weight: 600; margin-bottom: 6px; }
label.choice { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
label.choice:has(input:checked) { border-color: var(--fjord); box-shadow: inset 0 0 0 1px var(--fjord); }
.account-note { background: #EEF3F2; font-size: .92rem; }
.tp-mini { margin-left: 10px; color: #00B67A; font-weight: 700; text-decoration: none; white-space: nowrap; }
.whoami.staff .small, .whoami.staff span { color: #E4EEF0; } .whoami.staff b { color: #fff; }

/* 0.17.0 – report examples and score page */
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 16px 0; }
.ex-all { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; } /* 0.22.111: three per row, bigger pictures */
.ex-finding { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.25; color: #1D2B2A; margin: 2px 0; }
.ex-mapnote { display: block; font-size: .8rem; color: #5A6866; }
.ex-disclaimer { max-width: 900px; }
.ex-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--sheet, #fff); border: 1px solid var(--rule, #C9D2CF);
  border-radius: 10px; padding: 10px; color: inherit; text-decoration: none; margin: 0; }
.ex-card:hover { border-color: #1F4E5A; }
.ex-card img { width: 100%; height: auto; border-radius: 6px; background: #EEF2EF; }
/* 0.22.102 (owner 2026-11-24): the badge in the top-right corner and smaller – top-left covered chart titles */
.ex-tag { position: absolute; top: 14px; right: 14px; left: auto; background: #D9A43B; color: #fff; font-size: .62rem; font-weight: 700;
  padding: 2px 6px; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; z-index: 1; }
.ex-title { font-weight: 600; }
.ex-score { float: right; color: #1F4E5A; }
.ex-text { font-size: .88rem; color: #5A6866; }
.ex-q { display: block; font-weight: 700; font-size: .95rem; color: #1F2B2A; margin: 4px 0 2px; }
.ex-note { display: block; font-size: .76rem; color: #7A8684; margin-top: 4px; font-style: italic; }
.ex-head { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin: 12px 0 8px; }
.table-wrap { overflow-x: auto; max-width: 100%; }
table.tbl { border-collapse: collapse; width: 100%; font-size: .92rem; }
table.tbl th, table.tbl td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--rule, #C9D2CF); }
.ex-textcard { display: flex; align-items: center; justify-content: center; min-height: 120px; border-radius: 6px;
  background: #EEF2EF; color: #1F4E5A; font-weight: 700; text-align: center; padding: 12px; }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; border: 0; padding: 0; margin: 0 0 12px; }
.news-signup { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--rule, #C9D2CF); }
.news-signup form { gap: 10px; align-items: center; flex-wrap: wrap; }
.about .kicker { text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: #1F4E5A; font-weight: 700; margin: 0; }

/* 0.18.7: admin start page – pages in labelled groups */
.adm-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin: 0 0 18px; }
.adm-group { border: 1px solid var(--rule); border-radius: var(--radius-m, 10px); background: var(--sheet); padding: 10px 12px 2px; }
.adm-group h2 { font-size: .95rem; margin: 0 0 8px; letter-spacing: .01em; }
.adm-group .adm-links { margin: 0 0 8px; gap: 6px; }
.warn-dot { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--high); color: #fff;
  font-size: .75rem; text-align: center; vertical-align: middle; }

/* 0.18.10: guidance – help "?", "Vad händer nu?", checklist, wizard */
.help-q { display: inline-flex; align-items: center; justify-content: center; width: 1.15em; height: 1.15em; border-radius: 50%;
  border: 1px solid var(--rule); font-size: .75em; font-weight: 700; color: var(--muted, #5A6866); cursor: help; position: relative;
  vertical-align: middle; margin-left: 2px; background: var(--sheet); }
.help-q:hover::after, .help-q:focus::after { content: attr(data-help); position: absolute; left: 50%; top: 140%; transform: translateX(-50%);
  width: min(320px, 80vw); background: #1F2A2E; color: #fff; padding: 8px 10px; border-radius: 8px; font-weight: 400; font-size: .85rem;
  line-height: 1.35; z-index: 30; box-shadow: 0 6px 18px rgba(0,0,0,.18); white-space: normal; text-align: left; }
.guide-now .guide-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.guide-now .guide-row:first-of-type { border-top: 0; }
.guide-n { width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--accent, #1F4E5A); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.guide-t { flex: 1 1 260px; }
.checklist { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.checklist .ck.ok { color: var(--low); } .checklist .ck.no { color: var(--muted, #5A6866); }
.wiz-progress { display: flex; gap: 4px; margin: 6px 0 14px; } .wiz-progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--rule); }
.wiz-progress span.on { background: var(--accent, #1F4E5A); }
.wiz-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.chips button { margin: 2px; padding: 2px 8px; font-size: .8rem; }
.greyed { color: var(--muted, #5A6866); text-decoration: line-through; }
/* 0.18.14: pre-launch hero */
/* 0.22.42: a fixed radius instead of a pill – a badge that wraps to several lines (owner offer on a phone) became an
   ellipse and cut the text at its corners; one line still looks like a pill */
.hero-badge { display: inline-block; max-width: 100%; box-sizing: border-box; margin: 0 0 14px; padding: 5px 14px; border-radius: 16px; background: #F1DDB0;
  color: #1F4E5A; font-weight: 700; font-size: .9rem; letter-spacing: .02em; }
.hero-note { max-width: 620px; margin: 0 0 16px; color: #E6EEEC; font-size: .98rem; line-height: 1.5; }
.wl-note { background: #FBF4E4; border-left: 4px solid #D9A43B; padding: 10px 14px; border-radius: 6px; }
/* 0.18.15: country next to the address */
.addr-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.addr-row .addr-country { flex: 0 0 170px; } .addr-row .addr-country select { width: 100%; }
.addr-row .addr-input { flex: 1 1 320px; }

/* 0.19.1: the language links stay together on one line */
.lang-switch{display:inline-flex;gap:12px;white-space:nowrap;align-items:center}

/* 0.20.18 – partner programme page */
.pp-hero { background: var(--fjord); color: #fff; padding: 56px 0 44px; }
.pp-hero h1 { color: #fff; max-width: 820px; margin: 6px 0 14px; }
.pp-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--mid); margin: 0; font-weight: 700; }
.pp-lead { max-width: 760px; font-size: 1.1rem; }
.pp-badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }
.pp-badges li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 16px; }
.pp-badges b { color: var(--mid); }
.btn-light { background: #fff; color: var(--fjord); }
.btn-light:hover { background: var(--paper); }
.pp-flow { list-style: none; counter-reset: pf; padding: 0; margin: 24px 0 0; display: grid;
  grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pp-flow li { counter-increment: pf; position: relative; background: var(--sheet); border: 1px solid var(--rule);
  border-radius: var(--radius-m); padding: 16px 14px 14px; }
.pp-flow li::before { content: counter(pf); position: absolute; top: -12px; left: 14px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--fjord); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.pp-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 42%; color: var(--fjord); font-weight: 700; }
.pp-flow svg, .pp-loop svg { width: 40px; height: 40px; fill: none; stroke: var(--fjord); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round; }
.pp-flow h3 { font-size: 1rem; margin: 8px 0 4px; }
.pp-flow p { font-size: .9rem; margin: 0; color: var(--muted); }
.pp-flow li:nth-child(4), .pp-flow li:nth-child(5) { border-color: var(--mid); }
.pp-loop { display: flex; gap: 16px; align-items: flex-start; margin-top: 22px; background: #FBF3E2;
  border-left: 4px solid var(--mid); border-radius: var(--radius-m); padding: 16px 18px; }
.pp-loop h3 { margin: 0 0 4px; font-size: 1.05rem; }
.pp-loop p { margin: 0; }
.pp-band { background: var(--sheet); }
.pp-mock { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 18px;
  box-shadow: 0 6px 20px rgba(29,43,42,.08); }
.pp-mock-sec { font-weight: 700; color: var(--fjord); margin: 0 0 10px; }
.pp-pill { background: var(--mid); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .8rem; }
.pp-box { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 12px 14px; }
.pp-box p { margin: 0 0 10px; }
.pp-firm { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--rule); padding-top: 10px; }
.pp-logo { flex: 0 0 64px; height: 40px; border: 2px solid var(--fjord); border-radius: 8px; display: grid;
  place-items: center; font-weight: 700; color: var(--fjord); background: #E2E8E6; }
/* 0.20.72: profession pages – the report front page and "what your client receives" */
.pp-cover { padding: 0; overflow: hidden; }
.pp-cover > p, .pp-cover > .pp-prep { margin-left: 14px; margin-right: 14px; }
.pp-cover-band { display: flex; align-items: center; gap: 8px; background: var(--fjord); color: #fff; padding: 9px 14px; }
.pp-cover-band .small { margin-left: auto; opacity: .85; }
.pp-prep { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--rule); padding: 10px 0 12px; margin-top: 8px; }
.pp-exlogo { flex: 0 0 40px; line-height: 0; }
.pp-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 12px; }
.pp-shot { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; }
.pp-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  background: var(--sheet); }
.pp-shot figcaption { padding: 10px 12px; }
.pp-list { padding-left: 18px; }
.pp-list li { margin-bottom: 6px; }
.pp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 16px 0; }
.pp-stats div { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 12px; }
.pp-stats b { display: block; font-size: 1.8rem; color: var(--fjord); }
.pp-teaser { background: #FBF3E2; border-left: 4px solid var(--mid); }
@media (max-width: 980px) { .pp-flow { grid-template-columns: repeat(2, 1fr); }
  .pp-flow li:not(:last-child)::after { display: none; } }
@media (max-width: 560px) { .pp-flow { grid-template-columns: 1fr; } }

/* 0.20.19 – timeline, readiness, plan */
.tl-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-m); background: #fff; padding: 6px; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0; }
.tl-legend i { display: inline-block; width: 14px; height: 12px; border: 1px solid var(--rule); vertical-align: -1px; margin-right: 5px; }
.rd-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 700; color: #fff; margin: 2px 0; }
.rd-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; }
.rd-green { background: var(--low); } .rd-amber { background: var(--mid); } .rd-red { background: var(--high); }
.plan-tab td, .plan-tab th { white-space: nowrap; }
.pl-ok { color: #4C8C6B; } .pl-low { color: #B4483B; }

/* 0.20.26: grid/flex rules must not override the hidden attribute */
[hidden]{display:none!important}
.shown-first { font-weight: 800; background: #F5A300; color: #1D2B2A; padding: 8px 12px; border-radius: 8px; display: inline-block; margin-top: 6px; }

/* 0.22.1 (2w): installable web app – install box, back arrow in the app, safe areas (iPhone notch / home bar) */
.pwa-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.pwa-box[hidden], .pwa-box [hidden], .pwa-back[hidden] { display: none !important; }
.pwa-close { background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted, #6b7a78); padding: 4px 8px; }
.pwa-back { font-size: 1.5rem; text-decoration: none; color: #1F4E5A; padding: 4px 10px 4px 0; }
.site-head { padding-top: env(safe-area-inset-top); }
/* 0.22.41: installed web app on iPhone (iOS 26) – the system blurs a band under the status bar that is taller than the
   safe area, so the logo sat in the blur. Push the header below it, only in the installed app. */
@media (display-mode: standalone) {
  .site-head { padding-top: calc(env(safe-area-inset-top) + 28px); }
}
.site-head .wrap, .site-foot .wrap { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.site-foot { padding-bottom: env(safe-area-inset-bottom); }

/* 0.22.12: compact admin header on phones – menu behind a button, no language row (the news banner is not shown on admin) */
.admin-menu-btn { display: none; }
@media (max-width: 760px) {
  .admin-page .admin-menu-btn { display: inline-block; margin-left: auto; padding: 6px 14px; border: 1px solid var(--line, #cfd6d4);
    border-radius: 8px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
  .admin-page .site-head .nav { display: none; width: 100%; }
  .admin-page .site-head .nav.open { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 0; }
  .admin-page .site-head .lang-switch { display: none; }
  .admin-page .site-head .wrap { flex-wrap: wrap; }
}
