/* Mobile adjustments for the app pages (release r1122a), loaded after the main stylesheet.
   Rules are scoped to small screens unless a comment says otherwise. */
/* chrome-1 */
@media (max-width: 767px) {
  /* Header: same 20 px side gutter as the page content, 44 px tap targets for the logo link and the menu button */
  .tv-hdr > .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .tv-hdr > .container > a:first-child { min-height: 44px; }
  .tv-hdr .tv-hdr-burger { padding: 12px; margin-right: -12px; border-radius: 9999px; }
  .tv-hdr.bg-background\/80 { background-color: hsl(var(--background) / .92); }
}
/* chrome-2 */
@media (max-width: 767px) {
  /* Opened mobile menu: one solid sheet under the header, rows with hairlines, current page marked in gold,
     a full-width 48 px "Logga in", scrolls inside when taller than the screen, and a dimmed backdrop that closes it */
  .tv-hdr.tv-hdr-open { background-color: hsl(var(--background)); -webkit-backdrop-filter: none; backdrop-filter: none;
    border-bottom-color: transparent; box-shadow: 0 24px 48px -24px hsl(var(--navy-dark) / .55); }
  .tv-amenu { background-color: hsl(var(--background)); -webkit-backdrop-filter: none; backdrop-filter: none;
    border-top-color: hsl(var(--border) / .8); padding: 4px 20px 24px;
    max-height: calc(100vh - 4.5rem); max-height: calc(100dvh - 4.5rem); overflow-y: auto; overscroll-behavior: contain;
    animation: tv-amenu-in .26s cubic-bezier(.16, 1, .3, 1) both; }
  .tv-amenu .tv-amenu-item { position: relative; display: flex; align-items: center; min-height: 52px; padding-top: 0; padding-bottom: 0;
    font-size: 16px; line-height: 1.375; border-bottom: 1px solid hsl(var(--border) / .8); }
  .tv-amenu .tv-amenu-item > svg { color: hsl(var(--gold-dark)); }
  .tv-amenu .tv-amenu-item[aria-current] { font-weight: 600; color: hsl(42 60% 28%); }
  .tv-amenu .tv-amenu-sub { padding: 6px 0 10px 4px; border-bottom: 1px solid hsl(var(--border) / .8); }
  .tv-amenu .tv-amenu-sub > button { min-height: 44px; }
  .tv-amenu .tv-amenu-sub > button > span { font-size: 15px; }
  .tv-amenu .tv-amenu-login { display: block; margin-top: 20px; }
  .tv-amenu .tv-amenu-cta { margin-top: 0; height: 48px; font-size: 15px; border-radius: 8px; }
  .tv-amenu-scrim { position: absolute; left: 0; right: 0; top: 100%; height: 100vh; height: 100dvh;
    background: hsl(var(--navy-dark) / .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    animation: tv-scrim-in .26s ease-out both; touch-action: none; cursor: pointer; }
  html:has(.tv-hdr-open) { overflow: hidden; }
  @keyframes tv-amenu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  @keyframes tv-scrim-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .tv-amenu, .tv-amenu-scrim { animation: none; }
}
/* chrome-3 */
@media (max-width: 767px) {
  /* Footer: 20 px gutter, sections divided by hairlines, gold section labels at 12 px, 15 px links in 40 px rows
     (Navigering in two columns), readable legal line */
  .tv-ftr > .container { padding: 56px 1.25rem 32px; row-gap: 0; }
  .tv-ftr > .container > div + div { margin-top: 24px; padding-top: 28px; border-top: 1px solid hsl(var(--primary-foreground) / .08); }
  .tv-ftr > .container > div:first-child > a { min-height: 44px; margin-bottom: 12px; }
  .tv-ftr > .container > div:first-child > p { font-size: 15px; color: hsl(var(--primary-foreground) / .65); text-wrap: pretty; }
  .tv-ftr h2 { font-size: 12px; letter-spacing: .18em; color: hsl(var(--gold)); margin-bottom: 8px; }
  .tv-ftr .tv-ftr-list { gap: 0; font-size: 15px; line-height: 1.4; }
  .tv-ftr .tv-ftr-list > * { display: flex; align-items: center; min-height: 40px; }
  .tv-ftr .tv-ftr-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto);
    grid-auto-flow: column; column-gap: 16px; }
  .tv-ftr .tv-ftr-legal { padding: 20px 1.25rem calc(20px + env(safe-area-inset-bottom)); font-size: 12px; line-height: 1.6;
    color: hsl(var(--primary-foreground) / .55); text-wrap: balance; }
}
/* chrome-4 */
@media (max-width: 767px) {
  /* 404 page and the "not found" view of single-segment URLs (company / preview link not found):
     clear the fixed header, more air, 48 px buttons of equal width */
  .tv-nf { margin-top: 4.5rem; padding-top: 3rem; padding-bottom: 4.5rem; }
  .tv-nf p { text-wrap: balance; }
  .tv-nf .tv-nf-actions { width: 100%; max-width: 20rem; margin-left: auto; margin-right: auto; }
  .tv-nf .tv-nf-actions > a > button { width: 100%; height: 48px; font-size: 15px; }
  .min-h-screen.flex.flex-col > .flex-1.flex.items-center.justify-center.text-center.p-8 { margin-top: 4.5rem; padding: 3rem 1.25rem 4.5rem; }
  .min-h-screen.flex.flex-col > .flex-1.flex.items-center.justify-center.text-center.p-8 p { text-wrap: balance; }
  .min-h-screen.flex.flex-col > .flex-1.flex.items-center.justify-center.text-center.p-8 a > button { height: 48px; padding-left: 2rem; padding-right: 2rem; font-size: 15px; }
}
/* chrome-5 */
@media (max-width: 767px) {
  /* Shared Textarea component: 16 px text on phones so iOS does not zoom in when the field gets focus */
  textarea.ring-offset-background.text-sm { font-size: 1rem; line-height: 1.5rem; }
}
/* start-2 */
@media (max-width: 767px) {
  /* Start page: every section uses the same 20 px side gutter as the hero, header and footer (was 32 px, stat cards 44 px) */
  .tv-p-start .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .tv-p-start > section:nth-child(2) { padding-left: 0; padding-right: 0; margin-top: -3rem; }
}
/* start-3 */
@media (max-width: 767px) {
  /* Hero badge: 12 px text (was 10 px) on one line; decorative scroll hint hidden (it sat on the stats row and between the stat cards) */
  .tv-p-start .tracking-\[0\.14em\] { font-size: 12px; letter-spacing: .025em; text-wrap: balance; }
  .tv-p-start > section:first-child .rounded-full.border-gold\/20 { padding-left: 12px; padding-right: 12px; }
  .tv-p-start > section:first-child > .absolute.bottom-10 { display: none; }
  /* Hero search: 16 px text (no iOS zoom), search icon shown, room for the whole placeholder, 40 px button */
  .tv-p-start > section:first-child form input { font-size: 16px; padding-left: 42px; padding-right: 74px; text-overflow: ellipsis; }
  .tv-p-start > section:first-child form input::placeholder { font-size: 15px; }
  .tv-p-start > section:first-child form .relative.group > svg { z-index: 1; left: 14px; width: 18px; height: 18px; }
  .tv-p-start > section:first-child form button { height: 40px; padding: 0 18px; right: 6px; font-size: 13px; }
  /* Hero link breaks after the question */
  .tv-p-start > section:first-child a.underline { max-width: 304px; }
  /* Stats row: brighter text, kept above the fade into the page and clear of the stat cards (which overlap the hero by 48 px instead of 64 px) */
  .tv-p-start .text-primary-foreground\/70 { color: hsl(var(--primary-foreground) / .9); }
  .tv-p-start > section:first-child > .container { padding-bottom: 96px; }
  .tv-p-start > section:first-child > .h-48 { height: 96px; }
}
@media (max-width: 382px) {
  /* phones too narrow for the badge on one line: two balanced lines in a compact pill around the text */
  .tv-p-start .tracking-\[0\.14em\] { max-width: 160px; }
}
/* start-4 */
@media (max-width: 767px) {
  /* Eyebrow labels and small gold text: 12 px; on light backgrounds the darker gold ink used for 'Viktiga sidor' (6.5:1 instead of 2.4:1) */
  .tv-p-start p.text-\[11px\].text-gold { font-size: 12px; letter-spacing: .18em; color: hsl(42 60% 28%); }
  .tv-p-start .bg-card > span.text-\[10px\].text-gold { font-size: 12px; color: hsl(42 60% 28%); }
  .tv-p-start > section:nth-child(2) span.text-gold { color: hsl(42 60% 28%); }
  .tv-p-start span.text-\[10px\].md\:text-\[11px\].tracking-\[0\.2em\] { font-size: 12px; }
  .tv-p-start .tracking-\[0\.25em\] { font-size: 12px; }
  .tv-p-start .tracking-\[0\.16em\] { font-size: 12px; }
  .tv-p-start .text-primary-foreground\/50 { color: hsl(var(--primary-foreground) / .72); }
}
/* start-5 */
@media (max-width: 767px) {
  /* Headings: balanced lines; section h2s 26 px, the criteria h2 30 px (was 36 px, larger than the 32 px h1), call band 28 px (two lines) */
  .tv-p-start h2 { text-wrap: balance; }
  .tv-p-start h2.text-2xl.md\:text-\[2\.75rem\] { font-size: 26px; }
  .tv-p-start h2.text-4xl { font-size: 30px; }
  .tv-p-start .rounded-\[2rem\] h2 { font-size: 28px; }
}
/* start-6 */
@media (max-width: 767px) {
  /* 'Varför Tryggval' collage: wider right column so '6/6 kriterier krävs' fits, the 6/6 card on top and the photo below it,
     so the 'Kvalitets Entreprenör' badge overlaps photos only and no longer covers the 6/6 text; diploma fills the column height */
  .tv-p-start .grid.grid-cols-12 { gap: 12px; }
  .tv-p-start .grid.grid-cols-12 > .col-span-8 { grid-column: span 7 / span 7; }
  .tv-p-start .grid.grid-cols-12 > .col-span-8 > div { height: 100%; }
  .tv-p-start .grid.grid-cols-12 > .col-span-8 img { height: 100%; aspect-ratio: auto; }
  .tv-p-start .grid.grid-cols-12 > .col-span-4 { grid-column: span 5 / span 5; display: flex; flex-direction: column-reverse; }
  .tv-p-start .grid.grid-cols-12 > .col-span-4 > .mt-4 { margin-top: 0; margin-bottom: 12px; }
  .tv-p-start .grid.grid-cols-12 > .col-span-4 > .mt-4 > .relative.p-4 { padding: 10px 8px 12px; }
  .tv-p-start .grid.grid-cols-12 > .col-span-4 > .mt-4 p.text-4xl { font-size: 30px; line-height: 36px; }
  .tv-p-start .grid.grid-cols-12 > .col-span-4 > .mt-4 p.text-4xl > span { font-size: 20px; }
  .tv-p-start .grid.grid-cols-12 > .col-span-4 > .mt-4 p.text-\[10px\] { font-size: 12px; line-height: 16px; letter-spacing: .08em; color: hsl(var(--gold)); }
  .tv-p-start .absolute.-bottom-6.left-8 { left: 12px; padding: 12px; }
  .tv-p-start .absolute.-bottom-6.left-8 > div:first-child { width: 40px; height: 40px; }
}
/* start-7 */
@media (max-width: 767px) {
  /* 'Varför Tryggval': body text 16 px like the rest of the page (was 14 px), list 15 px;
     the three fact tiles become full-width rows so their 10 px captions can be 13 px without wrapping */
  .tv-p-start p.text-sm.md\:text-base.text-muted-foreground { font-size: 16px; }
  .tv-p-start .space-y-3.mb-8 span.text-sm { font-size: 15px; }
  .tv-p-start .grid.grid-cols-3 { grid-template-columns: 1fr; gap: 8px; }
  .tv-p-start .grid.grid-cols-3 > div { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 16px; }
  .tv-p-start .grid.grid-cols-3 > div > svg { margin: 0; flex-shrink: 0; }
  .tv-p-start .grid.grid-cols-3 > div > p:nth-of-type(1) { font-size: 14px; }
  .tv-p-start .grid.grid-cols-3 > div > p:nth-of-type(2) { font-size: 13px; margin: 0 0 0 auto; }
}
/* start-8 */
@media (max-width: 767px) {
  /* Six criteria cards: icon beside the title instead of above it, so the cards get shorter even with text at 14 px (was 12 px); title 17 px, numbers 12 px */
  .tv-p-start .grid.grid-cols-1.sm\:grid-cols-2 > .group { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 18px; }
  .tv-p-start .grid.grid-cols-1.sm\:grid-cols-2 > .group > div.h-10 { grid-column: 1; grid-row: 1; margin: 0; width: 44px; height: 44px; }
  .tv-p-start .grid.grid-cols-1.sm\:grid-cols-2 > .group > h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 17px; }
  .tv-p-start .grid.grid-cols-1.sm\:grid-cols-2 > .group > p { grid-column: 1 / -1; grid-row: 2; margin-top: 12px; font-size: 14px; }
  .tv-p-start .grid.grid-cols-1.sm\:grid-cols-2 > .group > span.absolute { font-size: 12px; color: rgb(255 255 255 / .28); }
}
/* start-9 */
@media (max-width: 767px) {
  /* 'Tre steg': step icon moves into the card beside 'Steg 0X' and the title, so the cards use the full width
     (text column 308 px instead of 212 px); the decorative timeline line is hidden on phones */
  .tv-p-start .absolute.left-6.top-0.bottom-0.w-px { display: none; }
  .tv-p-start .space-y-8 > .relative.pl-16 { padding-left: 0; }
  .tv-p-start .space-y-8 > .relative.pl-16 > .absolute.left-0.top-0 { left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 12px; }
  .tv-p-start .space-y-8 > .relative.pl-16 > .bg-card { padding: 20px; }
  .tv-p-start .space-y-8 > .relative.pl-16 > .bg-card > span { display: block; margin-left: 56px; line-height: 16px; padding-top: 2px; }
  .tv-p-start .space-y-8 > .relative.pl-16 > .bg-card > h3 { margin-left: 56px; margin-bottom: 12px; }
}
/* start-10 */
@media (max-width: 767px) {
  /* Offer section: long placeholders end in an ellipsis instead of being cut; category chips 13 px text and 42 px high (were 11 px, 31 px);
     the four step cards become full-width rows (their text column was about 80 px wide) with 14/13 px text */
  .tv-p-start input { text-overflow: ellipsis; }
  .tv-p-start .flex.flex-wrap.gap-1\.5 { gap: 8px; }
  .tv-p-start .flex.flex-wrap.gap-1\.5 > a { font-size: 13px; padding: 10px 13px; gap: 7px; }
  .tv-p-start .grid.grid-cols-2.gap-3:not(.lg\:grid-cols-4) { grid-template-columns: 1fr; }
  .tv-p-start .grid.grid-cols-2.gap-3:not(.lg\:grid-cols-4) p.text-xs { font-size: 14px; }
  .tv-p-start .grid.grid-cols-2.gap-3:not(.lg\:grid-cols-4) p.text-\[11px\] { font-size: 13px; }
}
@media (max-width: 374px) {
  /* small phones: chips slightly tighter so they still pair up two per row */
  .tv-p-start .flex.flex-wrap.gap-1\.5 { gap: 6px; }
  .tv-p-start .flex.flex-wrap.gap-1\.5 > a { font-size: 12px; padding: 10px; gap: 5px; }
}
/* start-11 */
@media (max-width: 767px) {
  /* 'Har Bolagskollen ringt er' band: less padding (text column 310 px instead of 262 px), darker overlay so the text reads over the photo,
     16 px text at 90% (was 18 px at 75%), smaller logo tile, and 56 px of space above and below the band (was 96 and 136 px) */
  .tv-p-start section.py-24 { padding-top: 56px; padding-bottom: 16px; }
  .tv-p-start .rounded-\[2rem\] > .relative.z-10 { padding: 56px 20px; }
  .tv-p-start .rounded-\[2rem\] .h-20.w-20 { width: 64px; height: 64px; border-radius: 20px; }
  .tv-p-start .rounded-\[2rem\] .mb-8 { margin-bottom: 24px; }
  .tv-p-start .rounded-\[2rem\] .text-primary-foreground\/75 { font-size: 16px; color: hsl(var(--primary-foreground) / .9); }
  .tv-p-start .rounded-\[2rem\] > .absolute.inset-0 > .absolute.inset-0 { background: linear-gradient(to top, hsl(var(--primary) / .94), hsl(var(--primary) / .8) 55%, hsl(var(--primary) / .72)); }
}
/* start-12 */
@media (max-width: 767px) {
  /* Pill links ('Om Bolagskollen AB', 'Viktiga sidor'): 42 px tap height (was 38 px) */
  .tv-p-start .max-w-3xl > a.rounded-full { padding: 10px 18px; }
  .tv-p-start .rounded-3xl > .flex.flex-wrap.gap-3 > a { padding: 10px 16px; }
}
/* start-13 */
@media (max-width: 767px) {
  /* '6 kriterier / 21 län' strip: icons, numbers and labels line up in one centred block; empty first slot no longer adds space */
  .tv-p-start section.border-t > .container > div { width: fit-content; margin: 0 auto; align-items: flex-start; gap: 20px; }
  .tv-p-start section.border-t > .container > div > div:empty { display: none; }
  .tv-p-start section.border-t p.text-3xl { min-width: 28px; text-align: center; }
}
/* certifiering-13 */
@media (max-width: 767px) {
  /* hero: keep the gold phrase 'alla sex krav' on one line */
  .tv-p-cert h1 .text-gold-gradient { white-space: nowrap; }
  /* navy-to-white fades: shorter, so they no longer run into the button, the label and the last card */
  .tv-p-cert .tv-cert-fade { height: 4rem; }
  /* small gold text on light backgrounds: darker gold for contrast (AA) */
  .tv-p-cert .tv-cert-eyebrow, .tv-p-cert .tv-cert-eyebrow .text-accent, .tv-p-cert .tv-cert-num { color: hsl(42 60% 28%); }
  /* key figures band: a tidy 2 x 2 grid */
  .tv-p-cert .tv-cert-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .75rem; align-items: start; }
  .tv-p-cert .tv-cert-stats span.uppercase { display: block; line-height: 1.4; margin-top: .125rem; }
  /* decorative dot grid overlapped the pictures on phones */
  .tv-p-cert .tv-cert-dots { display: none; }
  /* 'Gratis / Direkt' tiles: readable labels */
  .tv-p-cert .tv-cert-tiles p.text-xs { color: hsl(var(--primary-foreground) / .72); }
  /* article mock-up: crop the empty backdrop under the screen */
  .tv-p-cert img[src*="artikel-mockup"] { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 7%; }
  /* package headings break evenly */
  .tv-p-cert h3.text-xl { text-wrap: balance; }
  /* secondary CTA on navy: gold outline instead of gold text on white */
  .tv-p-cert .tv-cert-verify { background-color: transparent; color: hsl(var(--gold-light)); border-color: hsl(var(--gold) / .55); }
  .tv-p-cert .tv-cert-verify:hover { background-color: hsl(var(--gold) / .12); color: hsl(var(--gold-light)); }
}
@media (max-width: 374px) {
  .tv-p-cert .tv-cert-stats .tracking-wider { letter-spacing: .025em; }
}
@media (max-width: 767px) {
  /* body text at 15 px on phones (desktop keeps its sizes) */
  .tv-p-cert .tv-cert-benefit p, .tv-p-cert .tv-cert-crit p { font-size: 15px; }
  .tv-p-cert .tv-cert-pkg p.text-sm, .tv-p-cert .tv-cert-pkg li.text-sm { font-size: 15px; line-height: 1.45; }
  /* 'Så visas utmärkelsen': compact cards with the icon on the left, like the criteria cards */
  .tv-p-cert .tv-cert-benefit { padding: 1.25rem; text-align: left; }
  .tv-p-cert .tv-cert-benefit > .relative { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
  .tv-p-cert .tv-cert-benefit > .relative > div { grid-row: span 2; margin: 0; width: 3rem; height: 3rem; border-radius: .875rem; }
  .tv-p-cert .tv-cert-benefit h3 { margin: .125rem 0 .25rem; }
  .tv-p-cert .tv-cert-benefit p { grid-column: 2; }
}
/* info-2e */
@media (max-width: 767px) {
.tv-p-about .tv-ab-h1 { line-height: 1.08; }
  .tv-p-about .tv-ab-lead { color: hsl(var(--primary-foreground) / .82); }
  .tv-p-about .tv-ab-fade { height: 5rem; }
}
/* info-3h */
@media (max-width: 767px) {
.tv-p-about .tv-ab-ink { color: hsl(42 60% 28%); }
}
/* info-4h */
@media (max-width: 767px) {
.tv-p-about .tv-ab-mile { font-size: 15px; }
}
/* info-5e */
@media (max-width: 767px) {
.tv-p-about .tv-ab-crit { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 1rem; align-items: start; padding: 1.125rem 1.25rem 1.25rem; }
  .tv-p-about .tv-ab-crit > div:first-child { grid-row: 1 / span 2; width: 2.5rem; height: 2.5rem; margin: 0; }
  .tv-p-about .tv-ab-crit > div:first-child svg { width: 1.25rem; height: 1.25rem; }
  .tv-p-about .tv-ab-crit > h3 { margin: .125rem 0 .25rem; line-height: 1.35; }
}
/* info-6e */
@media (max-width: 767px) {
.tv-p-about .tv-ab-step { padding: 1.125rem 1.25rem 1.25rem; gap: .875rem; }
  .tv-p-about .tv-ab-num { flex: 0 0 1.75rem; color: hsl(var(--gold-dark)); line-height: 1.5rem; }
}
/* info-10 */
@media (max-width: 767px) {
.tv-p-contact form .text-cyan-500 { color: #0e7490; }
}
/* info-12b */
@media (max-width: 767px) {
.tv-p-contact .tv-ct-mail { display: inline-block; padding: .75rem 0; margin: -.75rem 0; }
}
/* info-16b */
@media (max-width: 767px) {
.tv-p-contact .tv-ct-form { overflow: hidden; }
}
/* info-15e */
@media (max-width: 767px) {
.tv-p-faq .tv-fq-q { gap: .875rem; line-height: 1.4; }
}
/* katalog-12 */
@media (max-width: 767px) {
.tv-p-katalog .tv-kat-pager { flex-wrap: wrap; column-gap: 10px; row-gap: 12px; margin-top: 2rem; }
  .tv-p-katalog .tv-kat-pages { order: -1; flex: 0 0 100%; justify-content: center; gap: 4px; }
  .tv-p-katalog .tv-kat-pages > button { width: 40px; height: 40px; }
  .tv-p-katalog .tv-kat-pager > button { flex: 1 1 0; max-width: 11rem; height: 44px; }
  .tv-p-katalog .tv-kat-faq { padding-top: 1rem; }
}
/* katalog-24 */
@media (max-width: 767px) {
.tv-p-katalog .tv-kat-media { height: 8.5rem; }
  .tv-p-katalog .tv-kat-logo { padding: 14px 24px 48px; }
  .tv-p-katalog .tv-kat-ind { font-size: 12px; font-weight: 600; letter-spacing: .05em; padding: 4px 12px; gap: 6px; }
  .tv-p-katalog .tv-kat-ind-logo { background-image: linear-gradient(rgba(15, 23, 42, .45), rgba(15, 23, 42, .45)), linear-gradient(to right, var(--tw-gradient-stops)); }
  .tv-p-katalog .tv-kat-ind:not(.tv-kat-ind-logo) { background-color: rgba(15, 23, 42, .3); }
  /* the lightest industry colours (El & Installation yellow, Stad & Facility cyan, Fastighet teal, Redovisning emerald, Halsa & Skonhet red-300) get a deeper layer, so their 12 px white label reaches 4.5:1 too (yellow: 4.8:1 on logo cards, 5:1 on colour cards) */
  .tv-p-katalog .tv-kat-ind-logo.from-yellow-400\/80, .tv-p-katalog .tv-kat-ind-logo.from-cyan-400\/80, .tv-p-katalog .tv-kat-ind-logo.from-teal-400\/80, .tv-p-katalog .tv-kat-ind-logo.from-emerald-400\/80, .tv-p-katalog .tv-kat-ind-logo.from-red-300\/80 { background-image: linear-gradient(rgba(15, 23, 42, .52), rgba(15, 23, 42, .52)), linear-gradient(to right, var(--tw-gradient-stops)); }
  .tv-p-katalog .tv-kat-media.from-yellow-400\/80 .tv-kat-ind:not(.tv-kat-ind-logo), .tv-p-katalog .tv-kat-media.from-cyan-400\/80 .tv-kat-ind:not(.tv-kat-ind-logo), .tv-p-katalog .tv-kat-media.from-teal-400\/80 .tv-kat-ind:not(.tv-kat-ind-logo), .tv-p-katalog .tv-kat-media.from-emerald-400\/80 .tv-kat-ind:not(.tv-kat-ind-logo), .tv-p-katalog .tv-kat-media.from-red-300\/80 .tv-kat-ind:not(.tv-kat-ind-logo) { background-color: rgba(15, 23, 42, .4); }
}
/* katalog-31 */
@media (max-width: 767px) {
.tv-p-katalog .tv-kat-award { font-size: 12px; letter-spacing: .1em; padding: 4px 12px; border-color: hsl(var(--gold) / .45); background-color: hsl(var(--gold) / .1); }
  .tv-p-katalog .tv-kat-award > span:first-child { background-color: hsl(var(--gold)); }
}
/* katalog-43 */
@media (max-width: 767px) {
.tv-p-katalog .tv-kat-ex { color: hsl(var(--muted-foreground)); font-size: 15px; }
  .tv-p-katalog .tv-kat-ver { font-size: 13px; color: #047857; }
  .tv-p-katalog .tv-kat-more { font-size: 13px; }
}
/* katalog-53 */
@media (max-width: 767px) {
.tv-p-katalog .tv-kat-eyebrow { font-size: 12px; }
  .tv-p-katalog .tv-kat-sub { color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.55; }
  .tv-p-katalog .tv-kat-filter button[role="combobox"] { font-size: 1rem; }
  .tv-p-katalog .tv-kat-filter button[role="combobox"] > span { flex: 1 1 auto; min-width: 0; text-align: left; }
}
/* katalog-63 */
@media (max-width: 767px) {
.tv-p-verifiera .tv-ver-form, .tv-p-verifiera .tv-ver-found, .tv-p-verifiera .tv-ver-none { padding: 1.25rem; }
  .tv-p-verifiera .tv-ver-none-row { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: .75rem; align-items: center; }
  .tv-p-verifiera .tv-ver-none-row > div:last-child { display: contents; }
  .tv-p-verifiera .tv-ver-none-row h2 { grid-column: 2; line-height: 1.25; }
  .tv-p-verifiera .tv-ver-none-row p { grid-column: 1 / -1; margin-top: .875rem; font-size: 15px; line-height: 1.6; }
}
/* katalog-73 */
@media (max-width: 767px) {
.tv-p-foretag .tv-prof-hero { padding-top: 6rem; }
  .tv-p-foretag .tv-prof-back { display: flex; width: max-content; padding: 10px 0; margin: -10px 0 14px; }
  .tv-p-foretag .tv-prof-award > span { font-size: 12px; letter-spacing: .1em; }
  .tv-p-foretag .tv-prof-hero h1 { font-size: 1.75rem; }
}
/* katalog-75 */
@media (max-width: 767px) {
.tv-p-foretag .tv-prof-contact p.uppercase { font-size: 12px; }
  .tv-p-foretag .tv-prof-contact p.truncate { white-space: normal; overflow-wrap: anywhere; }
}
/* katalog-80 */
@media (max-width: 767px) {
.tv-p-foretag .tv-prof-share { gap: 8px; }
  .tv-p-foretag .tv-prof-share > button { height: 40px; }
  .tv-p-foretag .tv-prof-share > div { gap: 8px; }
  .tv-p-foretag .tv-prof-share > div > a { width: 40px; height: 40px; }
  .tv-p-foretag .tv-prof-share svg { width: 16px; height: 16px; }
  .tv-p-foretag .tv-prof-info p.uppercase { font-size: 12px; color: hsl(var(--muted-foreground)); }
  .tv-p-foretag .tv-prof-hist a > button { height: 40px; }
  .tv-p-foretag .tv-prof-cta { flex-direction: column; align-items: stretch; }
  .tv-p-foretag .tv-prof-cta > a > button { width: 100%; height: 44px; }
}
/* katalog-82 */
@media (max-width: 767px) {
.tv-p-foretag .tv-prof-seal { padding-bottom: 14px; }
  .tv-p-foretag .tv-prof-seal > a { padding: 10px 4px; margin-top: -2px; }
}
/* katalog-90 */
@media (max-width: 767px) {
.tv-p-katalog h2, .tv-p-katalog summary, .tv-p-katalog .tv-kat-sub,
  .tv-p-verifiera h1, .tv-p-verifiera h2, .tv-p-verifiera summary, .tv-p-verifiera h1 + p,
  .tv-p-foretag h1, .tv-p-foretag h2 { text-wrap: balance; }
}
/* offert-6 */
@media (max-width: 767px) {
.tv-p-offert .tv-o-trust > div { color: hsl(var(--primary-foreground) / .7); }
}
/* offert-10 */
@media (max-width: 767px) {
.tv-p-offert .tv-o-statlabel { font-size: 12px; letter-spacing: .06em; line-height: 1.35; }
}
/* offert-16 */
@media (max-width: 767px) {
.tv-p-offert #hur-det-fungerar { scroll-margin-top: 32px; }
}
/* offert-25 */
@media (max-width: 767px) {
.tv-p-offert .tv-o-eyebrow.text-blue-500 { color: #2563eb; }
  .tv-p-offert .tv-o-eyebrow.text-sky-500 { color: #0369a1; }
}
/* offert-26 */
@media (max-width: 767px) {
.tv-p-offert section h2 { text-wrap: balance; }
  .tv-p-offert #hur-det-fungerar .grid p { text-wrap: balance; }
}
/* offert-32 */
@media (max-width: 767px) {
.tv-p-offert .tv-o-cat { height: 100%; }
  .tv-p-offert .tv-o-pop { font-size: 12px; letter-spacing: .02em; padding: 1px 7px; top: 10px; right: 10px; }
  .tv-p-offert .tv-o-catgrid > :last-child:nth-child(odd) { grid-column: span 2; }
  .tv-p-offert .tv-o-catgrid > :last-child:nth-child(odd) .tv-o-cat { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .tv-p-offert .tv-o-catgrid > :last-child:nth-child(odd) .tv-o-cat > div { grid-row: span 2; margin-bottom: 0; }
  .tv-p-offert .tv-o-catgrid > :last-child:nth-child(odd) .tv-o-cat > h3 { align-self: end; }
  .tv-p-offert .tv-o-catgrid > :last-child:nth-child(odd) .tv-o-cat > p { align-self: start; }
}
/* offert-36 */
@media (max-width: 767px) {
.tv-p-offert .tv-o-revfoot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tv-p-offert .tv-o-revfoot > span { white-space: nowrap; font-size: 12px; }
}
/* offert-44 */
@media (max-width: 767px) {
.tv-p-quote .tv-q-catdesc { font-size: 13px; line-height: 1.4; white-space: normal; text-overflow: clip; overflow: hidden;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}
/* offert-45 */
@media (max-width: 767px) {
.tv-p-quote h1, .tv-p-quote h2 { text-wrap: balance; }
  .tv-p-quote h2 + p { text-wrap: pretty; }
}
/* offert-48 */
@media (max-width: 767px) {
.tv-p-quote .tv-q-opts > button { padding-left: 12px; padding-right: 12px; text-wrap: balance;
    hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 14 6 6;
    -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; }
}
/* offert-53 */
@media (max-width: 767px) {
.tv-p-quote .tv-q-gold { color: hsl(42 60% 28%); }
  .tv-p-quote .tv-q-hint { font-size: 12px; }
}
/* offert-55 */
@media (max-width: 767px) {
.tv-p-quote .tv-q-select { font-size: 16px; }
  .tv-p-quote .tv-q-select > span { flex: 1 1 0%; text-align: left; }
  .tv-p-quote .tv-q-select[data-placeholder] > span { color: hsl(var(--muted-foreground)); }
  .tv-p-quote #terms { width: 20px; height: 20px; }
}
/* tjanster-c1 */
@media (max-width: 767px) {

  /* page sections: 20px side gutters like the hero, FAQ and price blocks */
  .tv-tj > section .container { padding-left: 20px; padding-right: 20px; }
  /* headings break evenly (no lone last word), body text without orphans */
  .tv-tj > section :is(h1, h2, h3) { text-wrap: balance; }
  .tv-tj > section p { text-wrap: pretty; }
  /* 13px card copy (lists, before/after lines, link cards) up to 14px */
  .tv-tj > section :is(p, span)[class~="text-[13px]"] { font-size: 14px; }

}
/* tjanster-c2 */
@media (max-width: 767px) {

  /* hero: the dark overlay the design intends (its classes are missing from the stylesheet) */
  .tv-p-hemsida .tv-hero-shade { background: linear-gradient(170deg, hsl(var(--navy-dark) / .92) 0%, hsl(var(--navy) / .82) 55%, hsl(218 50% 8% / .9) 100%); }
  .tv-p-seo .tv-hero-shade, .tv-p-geo .tv-hero-shade { background: linear-gradient(170deg, hsl(var(--navy-dark) / .74) 0%, hsl(var(--navy) / .58) 55%, hsl(218 50% 8% / .72) 100%); }
  /* decorative "Scrolla" hint collides with the cards below it */
  .tv-tj .tv-scrollhint { display: none; }
  /* org.nr chip: two tidy rows, the number never split */
  .tv-tj .tv-orgpill { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tv-tj .tv-orgpill > .w-px { display: none; }
  .tv-tj .tv-orgpill span { white-space: nowrap; }
  /* hero fact cards: readable descriptions */
  .tv-tj p[class*="text-[11px]"][class*="text-primary-foreground/60"] { font-size: 13px; color: hsl(0 0% 100% / .75); }

}
/* tjanster-c3 */
@media (max-width: 767px) {

  /* small uppercase eyebrow pills: 12px and AA contrast on light sections */
  .tv-tj > section span[class*="text-[10px]"][class*="uppercase"][class*="rounded-full"] { font-size: 12px; letter-spacing: .14em; }
  .tv-tj > section span[class*="text-[10px]"][class*="rounded-full"].text-red-500 { color: #b91c1c; }
  .tv-tj > section span[class*="text-[10px]"][class*="rounded-full"].text-emerald-500 { color: #047857; }
  .tv-tj > section span[class*="text-[10px]"][class*="rounded-full"].text-blue-500 { color: #1d4ed8; }
  .tv-tj > section span[class*="text-[10px]"][class*="rounded-full"].text-violet-500 { color: #6d28d9; }
  .tv-tj > section:not(:first-of-type) span[class*="text-[10px]"][class*="rounded-full"].text-gold { color: hsl(42 60% 28%); }
  /* "Utan ... / Med ..." cards: sub-labels and closing notes */
  .tv-tj p[class*="text-[10px]"][class*="text-red-500/60"] { font-size: 12px; color: #b91c1c; }
  .tv-tj p[class*="text-[10px]"][class*="text-emerald-500/60"] { font-size: 12px; color: #047857; }
  .tv-tj p.text-xs.font-semibold.text-red-500 { color: #b91c1c; }
  .tv-tj p.text-xs.font-semibold.text-emerald-500 { color: #047857; }
  /* "Läs mer" links and "Populär" badges in gold: darker gold for AA contrast */
  .tv-tj a span.text-gold[class*="text-[12px]"] { color: hsl(42 60% 28%); font-size: 13px; }
  .tv-tj a span.text-gold[class*="text-[9px]"] { font-size: 12px; color: hsl(42 60% 28%); }
  .tv-tj span[class*="text-[9px]"][class*="rounded-b-lg"] { font-size: 12px; color: hsl(var(--navy)); }

}
/* tjanster-c4 */
@media (max-width: 767px) {

  /* key-figure strip (SEO, GEO): one row per figure instead of squeezed columns */
  .tv-tj .tv-stats { padding-left: 0; padding-right: 0; }
  .tv-tj .tv-stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .tv-tj .tv-stats-grid > div { display: flex; align-items: center; gap: 16px; text-align: left; padding: 16px 18px 14px; }
  .tv-tj .tv-stats-grid > div > p:first-of-type { flex: none; min-width: 4.75rem; line-height: 1.15; }
  .tv-tj .tv-stats-grid > div > p:last-of-type { margin-top: 0; font-size: 12px; letter-spacing: .05em; line-height: 1.4; text-wrap: balance; }

}
/* tjanster-c5 */
@media (max-width: 767px) {

  /* SEO vs Google Ads table: header pills fit their column, 12-13px text */
  .tv-p-seo .tv-cmp > div:first-child > div { padding: 14px 6px; }
  .tv-p-seo .tv-cmp > div:first-child .inline-flex { padding: 6px 12px; gap: 0; }
  .tv-p-seo .tv-cmp > div:first-child .inline-flex svg { display: none; }
  .tv-p-seo .tv-cmp > div:first-child .inline-flex span { font-size: 12px; white-space: nowrap; }
  .tv-p-seo .tv-cmp > div + div > div:first-child { font-size: 12px; padding: 14px 8px 14px 14px; }
  .tv-p-seo .tv-cmp > div + div > div + div { font-size: 13px; padding: 14px 8px; }

}
/* tjanster-c6 */
@media (max-width: 767px) {

  /* feature cards: icon beside the text, as in the before/after cards (much shorter page) */
  .tv-tj .tv-feat-card { padding: 20px; }
  .tv-tj .tv-feat { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .tv-tj .tv-feat > div:first-child { grid-row: 1 / span 2; margin-bottom: 0; }
  .tv-tj .tv-feat > h3 { margin: 2px 0 4px; font-size: 16px; line-height: 1.3; }
  .tv-tj .tv-feat > p { font-size: 14px; line-height: 1.55; }

}
/* tjanster-c7 */
@media (max-width: 767px) {

  /* forms: 16px message field (no iOS zoom), readable footnote, gradient bar flush with the card top */
  .tv-tj textarea { font-size: 16px; }
  .tv-tj form p[class*="text-[10px]"] { font-size: 12px; }
  .tv-tj form.space-y-5 > .absolute.top-0 { margin-top: 0; }
  /* /hemsida key figures on navy: larger, brighter labels */
  .tv-p-hemsida p[class*="text-[11px]"][class*="text-primary-foreground/50"] { font-size: 13px; color: hsl(0 0% 100% / .72); }
  /* call-to-action boxes: small print readable */
  .tv-tj p[class*="text-primary-foreground/40"][class*="text-[12px]"] { font-size: 13px; color: hsl(0 0% 100% / .62); }
  /* /hemsida sticky phone CTA in gold: navy text and a gold glow */
  .tv-p-hemsida div.fixed.bottom-0 button.text-white { color: hsl(var(--navy)); box-shadow: 0 10px 24px -6px hsl(var(--gold) / .45); }

}
/* tjanster-c8 */
@media (max-width: 767px) {

  /* "Så enkelt går det till": a left-aligned timeline instead of four big centred blocks
     (same sizes as the fler-kunder timeline: 52 px tiles, 17 px titles, 15 px text) */
  .tv-tj .tv-steps { gap: 30px; }
  .tv-tj .tv-steps > div { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; align-items: start; text-align: left; }
  .tv-tj .tv-steps > div > div:not(.hidden) { grid-column: 1; grid-row: 1 / span 2; }
  .tv-tj .tv-steps > div > h3, .tv-tj .tv-steps > div > p { grid-column: 2; }
  .tv-tj .tv-steps .h-16.w-16 { width: 52px; height: 52px; margin-bottom: 0; border-radius: 14px; }
  .tv-tj .tv-steps > div > h3 { margin: 3px 0 4px; font-size: 17px; line-height: 1.4; }
  .tv-tj .tv-steps > div > p { font-size: 15px; line-height: 1.625; }
}
@media (max-width: 639px) {
  /* dashed line linking the steps (single column only) */
  .tv-tj .tv-steps > div:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 62px; bottom: -24px; border-left: 2px dashed hsl(var(--border)); }
  .tv-p-geo .tv-steps > div:not(:last-child)::after { border-left-color: hsl(0 0% 100% / .16); }

}
/* flerkunder-1m */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-c { padding-left: 20px; padding-right: 20px; }
  .tv-p-fk .tv-fk-sec { padding-top: 64px; padding-bottom: 64px; }
  .tv-p-fk .tv-fk-head { margin-bottom: 40px; }
}
/* flerkunder-2h */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-scroll { display: none; }
  .tv-p-fk .tv-fk-hero-in { padding-bottom: 88px; }
  .tv-p-fk .tv-fk-trust { color: hsl(var(--primary-foreground) / .62); row-gap: 10px; }
  .tv-p-fk .tv-fk-stats { padding-left: 0; padding-right: 0; }
  .tv-p-fk .tv-fk-stat { padding: 18px 12px 16px; }
  .tv-p-fk .tv-fk-statlbl { font-size: 12px; letter-spacing: .08em; line-height: 1.35; text-wrap: balance; }
}
/* flerkunder-3d */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-qrow { padding: 16px; column-gap: 14px; }
  .tv-p-fk .tv-fk-q { min-width: 0; font-size: 15px; line-height: 1.4; }
  .tv-p-fk .tv-fk-qbtns { gap: 10px; }
  .tv-p-fk .tv-fk-qbtns > button { height: 44px; min-width: 64px; font-size: 14px; }
  .tv-p-fk .tv-fk-qlvl { font-size: 12px; }
}
/* flerkunder-3f */
@media (max-width: 639px) {
  .tv-p-fk .tv-fk-qrow { flex-wrap: wrap; row-gap: 14px; }
  .tv-p-fk .tv-fk-qbtns { width: 100%; }
  .tv-p-fk .tv-fk-qbtns > button { flex: 1 1 0; }
}
/* flerkunder-3e */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-qbtns > button { border: 1px solid hsl(var(--border)); }
  .tv-p-fk .tv-fk-qbtns > button.bg-emerald-500, .tv-p-fk .tv-fk-qbtns > button.bg-destructive { border-color: transparent; }
}
/* flerkunder-4g */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-eyebrow { font-size: 12px; letter-spacing: .14em; }
  .tv-p-fk .tv-fk-ey-l { color: hsl(42 60% 28%); }
  .tv-p-fk .tv-fk-ey-em { color: #047857; }
  .tv-p-fk .tv-fk-head h2, .tv-p-fk .tv-fk-h2, .tv-p-fk .tv-fk-head p, .tv-p-fk .tv-fk-dsub { text-wrap: balance; }
}
/* flerkunder-5e */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-card { padding: 28px 22px 24px; }
  .tv-p-fk .tv-fk-corner { width: 7rem; height: 7rem; border-bottom-left-radius: 3.5rem; }
  .tv-p-fk .tv-fk-chiptxt { font-size: 14px; }
}
/* flerkunder-6k */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-bagrid { gap: 14px; }
  .tv-p-fk .tv-fk-ba { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; padding: 20px 20px 22px; }
  .tv-p-fk .tv-fk-baicon { height: 44px; width: 44px; margin-bottom: 0; }
  .tv-p-fk .tv-fk-balbl { margin-bottom: 0; font-size: 12px; letter-spacing: .12em; }
  .tv-p-fk .tv-fk-barow, .tv-p-fk .tv-fk-babar { grid-column: 1 / -1; }
  .tv-p-fk .tv-fk-barow { margin-top: 18px; }
  .tv-p-fk .tv-fk-bak { font-size: 12px; color: hsl(var(--muted-foreground)); }
  .tv-p-fk .tv-fk-bav { color: rgb(220 38 38 / .72); }
  .tv-p-fk .tv-fk-note { margin-top: 28px; font-size: 13px; color: hsl(var(--muted-foreground)); }
}
/* flerkunder-7g */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-steps { gap: 30px; }
  .tv-p-fk .tv-fk-step { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; text-align: left; }
  .tv-p-fk .tv-fk-steptile { grid-row: span 2; }
  .tv-p-fk .tv-fk-stepnum { height: 52px; width: 52px; margin-bottom: 0; border-radius: 14px; }
  .tv-p-fk .tv-fk-steph { margin: 3px 0 4px; font-size: 17px; }
  .tv-p-fk .tv-fk-stepp { max-width: none; margin: 0; font-size: 15px; }
  .tv-p-fk .tv-fk-step:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 62px; bottom: -24px; border-left: 2px dashed hsl(var(--border)); }
}
/* flerkunder-8h */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-num { right: 16px; }
  .tv-p-fk .tv-fk-chip { left: 14px; bottom: 14px; padding: 10px 16px; }
  .tv-p-fk .tv-fk-chiplbl { font-size: 12px; letter-spacing: .1em; }
  .tv-p-fk .tv-fk-chipval { color: hsl(var(--gold-dark)); }
  .tv-p-fk .tv-fk-tag { color: hsl(42 60% 28%); font-size: 15px; line-height: 1.45; text-wrap: balance; }
  .tv-p-fk .tv-fk-ben { font-size: 15px; line-height: 1.45; }
}
/* flerkunder-9g */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-why { gap: 12px; }
  .tv-p-fk .tv-fk-whycard { display: grid; grid-template-columns: 44px 1fr; align-items: center; column-gap: 14px; padding: 20px; }
  .tv-p-fk .tv-fk-whyicon { height: 44px; width: 44px; margin-bottom: 0; }
  .tv-p-fk .tv-fk-whyh { margin-bottom: 0; font-size: 17px; }
  .tv-p-fk .tv-fk-whyp { grid-column: 1 / -1; margin-top: 12px; font-size: 15px; color: hsl(var(--primary-foreground) / .66); }
  .tv-p-fk .tv-fk-dsub { color: hsl(var(--primary-foreground) / .66); }
}
/* flerkunder-10j */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-tgrid { gap: 16px; }
  .tv-p-fk .tv-fk-tcard { padding: 24px; }
  .tv-p-fk .tv-fk-tq { font-size: 15px; margin-bottom: 22px; }
  .tv-p-fk .tv-fk-pcard { padding: 26px 22px; }
  .tv-p-fk .tv-fk-plbl { font-size: 12px; }
  .tv-p-fk .tv-fk-pval { color: hsl(var(--gold-dark)); }
  .tv-p-fk .tv-fk-faqbtn { padding: 18px 18px 18px 20px; }
  .tv-p-fk .tv-fk-faqq { font-size: 15px; line-height: 1.4; }
  .tv-p-fk .tv-fk-faqa { font-size: 15px; }
}
/* flerkunder-11k */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-form { padding: 26px 20px 24px; }
  .tv-p-fk .tv-fk-ta { font-size: 16px; }
  .tv-p-fk .tv-fk-small { font-size: 12px; }
  .tv-p-fk .tv-fk-av { font-size: 12px; }
  .tv-p-fk .tv-fk-dnote { font-size: 13px; line-height: 1.5; color: hsl(var(--primary-foreground) / .55); }
  .tv-p-fk .tv-fk-rocket { width: 64px; height: 64px; border-radius: 20px; }
}
/* flerkunder-13d */
@media (max-width: 767px) {
  .tv-p-fk .tv-fk-svccta { display: block; }
  .tv-p-fk .tv-fk-svccta > button { width: 100%; }
  .tv-p-fk .tv-fk-ctabtns { padding-left: 0; padding-right: 0; }
}
/* fix-faq-1 */
@media (max-width: 767px) {
  /* Shared FAQ accordions (/, /certifiering, /om-oss, /katalog, /verifiera): one look on phones, the same as the
     accordions on /kontakt and /faq - a chevron on the right instead of the native triangle, balanced question lines,
     20 px inner padding and 15 px answers. The 16 px chevron (as on /faq) needs only 24 px on the right, so
     questions that fit on one line stay on one line */
  details.bg-card.border-border.rounded-xl { padding-left: 1.25rem; padding-right: 1.25rem; }
  details.bg-card.border-border.rounded-xl > summary.cursor-pointer { position: relative; display: block; list-style: none; padding-right: 1.5rem; line-height: 1.4; text-wrap: balance; }
  details.bg-card.border-border.rounded-xl > summary.cursor-pointer::-webkit-details-marker { display: none; }
  details.bg-card.border-border.rounded-xl > summary.cursor-pointer::after { content: ""; position: absolute; right: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px;
    background-color: hsl(var(--muted-foreground)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
  details.bg-card.border-border.rounded-xl[open] > summary.cursor-pointer::after { transform: rotate(180deg); }
  details.bg-card.border-border.rounded-xl > p { font-size: 15px; line-height: 1.625; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  details.bg-card.border-border.rounded-xl > summary.cursor-pointer::after { transition: none; }
}
/* fix-A-3 */
@media (max-width: 767px) {
  /* Start page header (transparent over the navy hero at the top, white further down): background, logo name and menu icon
     change at the same moment. The 500 ms background fade left the white menu icon on a white band when the menu closed or
     the page jumped back to the top, and a half-transparent band over the opened menu. A duration change (not
     'transition: none') leaves transitions that are already running alone, so desktop renders exactly as before. */
  html:has(.tv-p-start) .tv-hdr, html:has(.tv-p-start) .tv-hdr > .container > a:first-child > span { transition-duration: 0s; }
}
/* fix-A-4 */
@media (max-width: 767px) {
  /* /offert: the same 20 px side gutter as the header, the footer and the other app pages (was 32 px) */
  .tv-p-offert section > .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  /* 'Verifierade' / 'Granskade' badges: 12 px labels (were 10 px) */
  .tv-p-offert span.inline-flex.rounded-full.text-\[10px\].tracking-wider { font-size: 12px; letter-spacing: .04em; padding-left: 10px; padding-right: 10px; }
  /* FAQ: 15 px questions with balanced lines and 15 px answers, like the other accordions */
  .tv-p-offert .max-w-3xl > .space-y-3 > div > button > span.font-display { font-size: 15px; line-height: 1.4; text-wrap: balance; }
  .tv-p-offert .max-w-3xl > .space-y-3 > div > div > p { font-size: 15px; }
}
/* fix-A-5 */
@media (max-width: 767px) {
  /* /offert/skicka: 'Tillbaka' as tall as 'Nästa' (48 px, was 40 px) */
  .tv-p-quote .justify-between.border-t > button:first-child { height: 48px; }
}
@media (max-width: 639px) {
  /* hero heading 28 px (was 24 px), in line with the other app pages */
  .tv-p-quote h1 { font-size: 28px; }
}
/* fix-B-3 */
@media (max-width: 767px) {
  /* /katalog 'Alla lan' and 'Alla branscher' lists: they are portalled outside .tv-p-katalog, so they carry their own tv-kat-list class (fix-B-2); 44 px rows with 16 px text instead of 32 px / 14 px */
  .tv-kat-list [role="option"] { min-height: 44px; font-size: 1rem; }
}
@media (max-width: 767px) and (hover: none) {
  /* /katalog pager: touch screens keep :hover on the last tapped button, so 'Nasta' stayed gold like a selected page */
  .tv-p-katalog .tv-kat-pager > button:hover { background-color: hsl(var(--background)); color: inherit; }
  .tv-p-katalog .tv-kat-pages > button:not(.bg-primary):hover { background-color: transparent; color: inherit; }
}
/* fix-B-4 */
@media (max-width: 767px) {
  /* /kontakt FAQ (its own details markup, not covered by fix-faq): 15 px answers like the other FAQ blocks, evenly broken questions */
  .tv-p-contact details > summary > span { text-wrap: balance; }
  .tv-p-contact details > p { font-size: 15px; }
  /* /faq: wrapped questions break evenly (no lone last word), like the FAQ blocks on the other pages */
  .tv-p-faq .tv-fq-q { text-wrap: balance; }
}
/* fix-B-7 */
@media (max-width: 767px) {
  /* /om-oss mission cards: icon beside the title and text, like the criteria cards (tv-ab-crit) right below them */
  .tv-p-about div.rounded-xl.bg-primary-foreground\/\[0\.03\] { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
  .tv-p-about div.rounded-xl.bg-primary-foreground\/\[0\.03\] > div:first-child { grid-row: 1 / span 2; margin: 0; }
  .tv-p-about div.rounded-xl.bg-primary-foreground\/\[0\.03\] > h3 { margin: .125rem 0 .25rem; line-height: 1.35; }
}
/* fix-C-3 */
@media (max-width: 767px) {
  /* /tjanster/fler-kunder hero H1: the rotating typewriter phrase never changes the heading height,
     so the paragraph and both CTAs below it no longer jump up and down */
  .tv-p-fk h1 { min-height: 2.15em; }
}
@media (min-width: 360px) and (max-width: 767px) {
  /* ...and the lead-in is on line 1 and the phrase on line 2, as on /hemsida, /seo and /geo
     (the heading's existing line break, which desktop already shows) */
  .tv-p-fk h1 > br { display: block; }
}
/* fix-C-4 */
@media (max-width: 767px) {
  /* sticky phone CTA (shared, on the four service pages): hidden while the mobile menu is open so it never
     covers menu rows, back when the menu closes */
  html:has(.tv-hdr-open) .tv-stk { display: none; }
  /* room under the footer while the bar is on screen, so the legal line can be scrolled above it */
  :is(.tv-tj, .tv-p-fk):has(> .tv-stk) > .tv-ftr { padding-bottom: 80px; }
  /* /seo bar: its own indigo-blue-cyan gradient ends in a darker cyan, so the white label is AA all the way */
  .tv-p-seo .tv-stk-btn { background-image: linear-gradient(to right, #4f46e5, #2563eb, #0e7490); }
  /* fler-kunder navy bar: a navy glow instead of the component's violet one */
  .tv-p-fk .tv-stk-btn { box-shadow: 0 10px 24px -6px hsl(var(--navy) / .35); }
}
/* fix-C-5 */
@media (max-width: 767px) {
  /* shared price plans and FAQ on fler-kunder: 12 px dark-gold 'Prisplaner' pill and 12 px navy 'Populärast'
     tab, as on /hemsida, /seo and /geo; the FAQ pill in the page's gold instead of cyan */
  .tv-p-fk .tv-pp-ey { font-size: 12px; letter-spacing: .14em; color: hsl(42 60% 28%); }
  .tv-p-fk .tv-pp-pop { font-size: 12px; color: hsl(var(--navy)); }
  .tv-p-fk .tv-sfaq-ey { color: hsl(42 60% 28%); background-image: none; background-color: hsl(var(--gold) / .1); border-color: hsl(var(--gold) / .2); }
  /* balanced paragraph endings on fler-kunder, as on the other three service pages (tjanster-c1) */
  .tv-p-fk > section p { text-wrap: pretty; }
  /* FAQ text at 15 px: the shared numbered FAQ on all four pages and the page FAQ on /hemsida, /seo, /geo */
  .tv-sfaq-q, .tv-sfaq-a { font-size: 15px; }
  .tv-sfaq-q { line-height: 1.4; }
  .tv-tj button.group > span[class~="text-[14px]"], .tv-tj div.overflow-hidden > div > p.text-muted-foreground[class~="text-[14px]"] { font-size: 15px; }
  /* FAQ questions break evenly instead of leaving one word on the last line (as the shared accordions, fix-faq) */
  .tv-sfaq-q, .tv-tj button.group > span[class~="text-[14px]"], .tv-p-fk .tv-fk-faqq { text-wrap: balance; }
  /* /hemsida page FAQ: the gold hover colour sticks after a tap on touch screens; dark gold keeps it AA */
  .tv-p-hemsida button.group:hover > span[class~="text-[14px]"] { color: hsl(42 60% 28%); }
  /* 20 px box and card headings up to 22 px (section h2 are 24-28 px) */
  :is(.tv-tj, .tv-p-fk) h2[class~="text-xl"] { font-size: 22px; }
}
/* fix-C-6 */
@media (max-width: 767px) {
  /* fler-kunder hero: an even navy veil like the other service heroes (the desktop veil fades to 60 % on the
     right, where the phone text runs over the bright monitor) */
  .tv-p-fk .tv-fk-shade { background-image: linear-gradient(170deg, hsl(var(--navy-dark) / .94) 0%, hsl(var(--navy) / .86) 55%, hsl(var(--navy-dark) / .9) 100%); }
  /* /geo hero: the mock-up's large lettering softened into texture, so it no longer reads as a stray heading */
  .tv-p-geo .tv-hero-shade { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
}
/* fix-C-7 */
@media (max-width: 767px) {
  /* fler-kunder quiz result: darker red and amber inks (AA for the 12 px pill and 14 px sentence),
     and its CTA full width like the page's other CTAs */
  .tv-p-fk .tv-fk-qres .text-destructive { color: #b91c1c; }
  .tv-p-fk .tv-fk-qres .text-amber-600 { color: #92400e; }
  .tv-p-fk .tv-fk-qres > a { display: block; }
  .tv-p-fk .tv-fk-qres > a > button { width: 100%; }
}
/* fix-E-3 */
@media (max-width: 767px) {
  /* /faq answers at 15 px, like every other FAQ on the site (were 14 px). Set here (info-15d only adds the tv-fq-a
     marker). The line height is set too: the accordion's cn() drops 'leading-relaxed' because 'text-sm' follows it */
  .tv-p-faq .tv-fq-a { font-size: 15px; line-height: 1.625; }
  /* /offert/skicka 'Välj län' list: it is portalled outside the page, so it carries its own class (fix-E-2);
     44 px rows with 16 px text, as the /katalog filter lists (fix-B) */
  .tv-sel-list [role="option"] { min-height: 44px; font-size: 1rem; }
}
@media (max-width: 767px) and (hover: none) {
  /* /offert/skicka 'Tillbaka': touch screens keep :hover on the tapped button, which left it gold like a selected button */
  .tv-p-quote .justify-between.border-t > button:first-child:hover { background-color: transparent; color: hsl(var(--muted-foreground)); }
}
/* fix-F-7 */
@media (max-width: 767px) {
  /* Numbers kept whole on phones: registration dates, org.nr and opening hours on /, /om-oss and /kontakt
     (span.tv-nw-m from fix-F-1..6, rendered on phones only; the same class and rule as the server pages) */
  .tv-nw-m { white-space: nowrap; }

  /* /offert 'Varför Tryggval': with the 20 px gutter (fix-A-4) card 03's title fitted on one line at about 388-407 px
     and ran under the decorative '03' numeral; room on the right keeps every title clear of its numeral */
  .tv-p-offert .grid.grid-cols-1.md\:grid-cols-2 > div .flex-1.min-w-0 > h3 { padding-right: 1.25rem; }
  /* /offert FAQ: touch screens keep :hover on the tapped question, which stayed light blue (4.1:1) even after it was
     closed again; the site's AA sky ink, as the eyebrows on this page */
  .tv-p-offert .max-w-3xl > .space-y-3 > div > button:hover > span.font-display { color: #0369a1; }
  /* /offert/skicka step 4: the 'Skriv minst N tecken till' hint in the site's AA amber (#f59e0b was 2.1:1) */
  .tv-p-quote p.text-amber-500 { color: #b45309; }

  /* Select lists (/katalog filters, /offert/skicka 'Välj län'). The row Radix focuses when a list opens was white on
     gold (2.48:1): navy ink on the gold row, as on the gold buttons */
  .tv-kat-list [role="option"]:focus, .tv-kat-list [role="option"][data-highlighted],
  .tv-sel-list [role="option"]:focus, .tv-sel-list [role="option"][data-highlighted] { color: hsl(var(--navy-dark)); }
  /* ...and a list never grows past the screen (landscape, short screens), where the first or last options could not
     be reached while the page is locked */
  .tv-kat-list, .tv-sel-list { max-height: min(24rem, var(--radix-select-content-available-height, 24rem)); }

  /* /om-oss hero: a darker navy veil and a lighter start of the gold H1 line, so the eyebrow, the H1 and the lead meet
     AA over the bright window in the photo (as the fler-kunder hero, fix-C-6) */
  .tv-p-about section:first-of-type img + .bg-gradient-to-b { background-image: linear-gradient(to bottom, hsl(var(--primary) / .88), hsl(var(--primary) / .8) 50%, hsl(var(--primary) / .88)); }
  .tv-p-about .tv-ab-h1 .text-gold-gradient { background-image: linear-gradient(135deg, hsl(42 45% 62%) 0%, hsl(var(--gold-light)) 100%); }
  /* /katalog and profile heroes: the small labels over the city photo in the light gold of the other heroes, the
     catalog eyebrow on a darker pill, and a brighter 'Tillbaka till katalogen' (AA) */
  .tv-p-katalog .tv-kat-eyebrow, .tv-p-foretag .tv-prof-award > span { color: hsl(var(--gold-light)); }
  .tv-p-katalog :has(> .tv-kat-eyebrow) { background-color: hsl(var(--navy-dark) / .45); }
  .tv-p-foretag .tv-prof-back { color: hsl(var(--primary-foreground) / .85); }

  /* Body text still at 14 px up to 15 px, like the rest of the body text on these pages */
  .tv-p-contact p.ml-\[52px\].text-sm, .tv-p-contact :not(details) > p.text-sm.text-muted-foreground,
  .tv-p-faq section.border-t p.text-sm,
  .tv-p-foretag .tv-prof-hist p.text-sm, .tv-p-foretag .tv-prof-seal p.text-sm { font-size: 15px; line-height: 1.6; }
  .tv-p-faq section.border-t p.text-sm { text-wrap: balance; }
  .tv-p-foretag p.text-white\/50 { font-size: 15px; line-height: 1.6; color: rgb(255 255 255 / .64); }
  /* /kontakt FAQ in the shared phone FAQ look (fix-faq): Playfair 15 px questions, 16 px chevron, 12 px corners */
  .tv-p-contact details.rounded-2xl { border-radius: .75rem; }
  .tv-p-contact details > summary > span { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.4; }
  .tv-p-contact details > summary > svg { width: 16px; height: 16px; }

  /* Service pages: jump links and the sticky bar land the section's first line 96 px down, below the fixed header,
     as /offert (offert-16); #kontakt has 64 px top padding, fler-kunder's #tjanster 56 px */
  :is(.tv-tj, .tv-p-fk) #kontakt { scroll-margin-top: 32px; }
  .tv-p-fk #tjanster { scroll-margin-top: 40px; }
  /* Hero mock-up lettering softened into texture behind the copy, as on /geo (fix-C-6) */
  .tv-p-seo .tv-hero-shade, .tv-p-hemsida .tv-hero-shade, .tv-p-fk .tv-fk-shade { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  /* Card and list copy on /hemsida, /seo, /geo at 15 px, as the same roles on fler-kunder */
  .tv-tj > section :is(p, span)[class~="text-[13px]"], .tv-tj .tv-feat > p,
  .tv-tj > section p.text-sm.text-muted-foreground, .tv-tj p.text-primary-foreground\/60[class~="text-[14px]"] { font-size: 15px; }
  /* fler-kunder FAQ Q1/Q2: balance split 'Allt-i-ett' at its first hyphen below about 380 px; plain wrapping keeps
     the name whole (the selector follows the FAQ order) */
  .tv-p-fk .space-y-3 > div:nth-child(-n+2) .tv-sfaq-q { text-wrap: wrap; }
  /* fler-kunder quiz result 'Bra' (4-5 Ja): darker emerald for the 12 px pill (4.48:1), as red and amber (fix-C-7) */
  .tv-p-fk .tv-fk-qres .text-emerald-600 { color: #065f46; }
  /* 'Företaget hittades inte' and 'Länken är ogiltig': h1 at 28 px, like the other phone h1 */
  .min-h-screen.flex.flex-col > .flex-1.flex.items-center.justify-center.text-center.p-8 h1 { font-size: 28px; line-height: 1.2; }
}
@media (min-width: 640px) and (max-width: 767px) {
  /* /offert/skicka in landscape: the step labels (shown from 640 px) at 12 px instead of 10 px */
  .tv-q-progress span.text-\[10px\] { font-size: 12px; }
}
/* fix-G-6 */
@media (max-width: 767px) {
  /* /seo and /hemsida 'Utan/Med' comparison cards: with 15 px text (fix-F-7) three short items left one word alone
     ('500+ organiska / besökare'); 20 px card padding (the site's phone rhythm) and tighter gaps keep them on one line */
  .tv-tj .rounded-2xl.p-6:has(.min-w-0.space-y-2\.5) { padding-left: 20px; padding-right: 20px; }
  .tv-tj .rounded-2xl.p-6 > .relative.flex.items-start.gap-4:has(> .min-w-0.space-y-2\.5) { gap: 12px; }
  .tv-tj .min-w-0.space-y-2\.5 > .flex.items-center.gap-2\.5 { gap: 8px; }
  /* ...and an item that still needs two lines breaks evenly instead of leaving its last word alone */
  .tv-tj .min-w-0.space-y-2\.5 > .flex.items-center { text-wrap: balance; }
  /* Profile hero: under a long company name the place and industry line lands on a brighter part of the photo
     (4.5:1); a little more white keeps it AA */
  .tv-p-foretag .flex.flex-wrap.items-center.gap-3 { color: rgb(255 255 255 / .7); }
}
@media (max-width: 767px) and (hover: none) {
  /* /offert FAQ: touch screens keep :hover on the tapped question, so it stayed coloured after it was closed again */
  .tv-p-offert .max-w-3xl > .space-y-3 > div > button:hover > span.font-display { color: hsl(var(--foreground)); }
}
