/* Blixtflow – bransch: byråer (prefix byr-). Studiokänsla: designraster med kolumner och baslinjer,
   post it-lappar, en markör som drar ett kort och en kanbantavla. ind-agency.js flyttar kortet över tavlan
   när man skrollar, byter mellan byråns och gästens vy, räknar tidrapporten. Bygger på ai.css. */
.page-agency { --nordvik: #BE185D; --lumea: #0E7490; --malva: #C2410C; --postit: var(--gnista); }

/* ==========================================================================
   1. Hjälten
   ========================================================================== */
.byr-hero { background: radial-gradient(60% 60% at 85% 10%, rgba(155, 93, 229, .32), transparent 62%), repeating-linear-gradient(180deg, rgba(200, 168, 242, .045) 0 1px, transparent 1px 24px), var(--natt); }
.byr-cols { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); }
.byr-cols i { background: rgba(155, 93, 229, .055); box-shadow: inset 1px 0 0 rgba(200, 168, 242, .07), inset -1px 0 0 rgba(200, 168, 242, .07); }
.motion .byr-cols i { animation: byr-col 1.4s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
.byr-hero .air-title { max-width: 15ch; }

.byr-show { position: relative; display: grid; align-content: start; min-height: 590px; padding: 48px 0 0; }
.byr-mail { position: relative; z-index: 2; width: min(360px, 84%); overflow: hidden; border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 60px 110px -40px rgba(0, 0, 0, .95), 0 30px 90px -40px rgba(155, 93, 229, .7); }
.motion .byr-mail { animation: chp-rise 1.1s .2s var(--ease-out) backwards; }
.byr-mail__h { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.byr-mail__h img { padding: 3px; border-radius: 7px; background: var(--ljus); }
.byr-mail__h span { margin-left: auto; padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; color: var(--natt); background: var(--gnista); }
.byr-mail__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line-2); }
.byr-mail__row:last-child { border-bottom: 0; }
.byr-mail__row > i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-style: normal; font-weight: 800; color: #fff; background: var(--c); }
.byr-mail__row span { display: grid; min-width: 0; }
.byr-mail__row b { font-size: .86rem; }
.byr-mail__row small { overflow: hidden; font-size: .78rem; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.byr-mail__row > .ic { width: 15px; height: 15px; color: var(--muted); }
.byr-mail__row.is-hot { background: #FBF7FE; box-shadow: inset 3px 0 0 var(--primar-ink); }
.motion .byr-mail__row { animation: fade-up .5s var(--ease-out) backwards; animation-delay: calc(.8s + var(--i) * .18s); }
.byr-arrow { position: absolute; left: 44%; top: 150px; z-index: 1; width: 120px; height: 120px; overflow: visible; fill: none; stroke: var(--gnista); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 7 8; opacity: .85; }
.motion .byr-arrow path { animation: dash 1s linear infinite; }
.byr-task { position: relative; z-index: 3; justify-self: end; display: grid; gap: 8px; width: min(290px, 72%); margin-top: 50px; padding: 14px; border-radius: 18px; color: var(--ink); background: #fff; box-shadow: 0 0 0 3px var(--gnista), 0 40px 80px -24px rgba(0, 0, 0, .9); transform: rotate(-1.5deg); }
.motion .byr-task { animation: byr-drop .9s 2.2s var(--spring) backwards; }
.byr-task__col { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .7rem; font-weight: 800; }
.byr-task__col span { letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.byr-task__col em { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-style: normal; color: var(--natt); background: var(--gnista); }
.byr-task__col .ic { width: 12px; height: 12px; }
.byr-task__title { font-size: 1.05rem; font-weight: 800; }
.byr-task__meta span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 9px; font-size: .76rem; font-weight: 700; color: var(--nordvik); background: #FCE7F3; }
.byr-task__meta .ic { width: 13px; height: 13px; }
.byr-task__foot { display: flex; align-items: center; gap: 8px; font-size: .8rem; }
.byr-task__foot i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-style: normal; font-weight: 800; color: #fff; background: #7C3AED; }
.byr-task__foot span { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--muted); }
.byr-task__foot .ic { width: 13px; height: 13px; }
.byr-mention { position: absolute; right: -14px; top: -38px; padding: 8px 12px; border-radius: 14px 14px 4px 14px; font-size: .8rem; font-weight: 700; color: #fff; background: var(--primar-ink); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7); transform: rotate(1.5deg); }
.byr-mention .fm-at, .byr-chat .fm-at, .byr-events .fm-at { font-weight: 800; color: var(--natt); background: var(--gnista); text-decoration: none; }
.motion .byr-mention { animation: pop-in .6s 3.2s var(--spring) backwards; }
.byr-note { position: absolute; z-index: 4; display: grid; place-items: center; width: 112px; height: 104px; padding: 12px; font-size: .86rem; font-weight: 800; line-height: 1.25; text-align: center; color: var(--natt); background: var(--postit); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .8), inset 0 -10px 18px -12px rgba(0, 0, 0, .25); }
.byr-note::before { content: ""; position: absolute; left: 50%; top: -9px; width: 46px; height: 18px; margin-left: -23px; background: rgba(255, 255, 255, .45); transform: rotate(-4deg); }
.byr-note--a { right: 4px; top: 6px; transform: rotate(6deg); }
.byr-note--b { left: 190px; bottom: 0; background: var(--ton); transform: rotate(-5deg); }
.motion .byr-note--a { animation: chp-pop .6s 1.6s var(--spring) backwards, byr-sway 7s 2.4s ease-in-out infinite; }
.motion .byr-note--b { animation: chp-pop .6s 2.8s var(--spring) backwards; }
.byr-cursor { position: absolute; left: 57%; top: 116px; z-index: 5; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; }
.byr-cursor svg { width: 22px; height: 22px; fill: #15803D; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.byr-cursor span { margin-top: 16px; padding: 2px 8px; border-radius: 6px; font-size: .72rem; font-weight: 800; color: #fff; background: #15803D; }
.motion .byr-cursor { animation: byr-cursor 7s 2s var(--ease) infinite; }
.byr-bx { position: absolute; left: -10px; bottom: 0; z-index: 4; width: 150px; }
.motion .byr-bx { animation: blixten-in 1s 1s var(--spring) backwards; }
@media (max-width: 1023px) { .byr-show { max-width: 560px; width: 100%; justify-self: center; } }
@media (max-width: 599px) {
  .byr-show { min-height: 0; padding: 70px 0 130px; }
  .byr-mail { width: 100%; }
  .byr-task { width: 82%; margin-top: 46px; }
  .byr-arrow, .byr-cursor { display: none; }
  .byr-note { width: 92px; height: 84px; font-size: .74rem; }
  .byr-note--a { top: -24px; right: 0; }
  .byr-note--b { left: auto; right: 10px; bottom: 16px; }
  .byr-bx { width: 104px; bottom: 0; left: 0; }
  .byr-mention { right: -4px; top: -36px; font-size: .74rem; }
}

/* ==========================================================================
   2. Från mejl till leverans
   ========================================================================== */
.byr-flow { --gap: 12px; overflow: clip; color: #fff; background: repeating-linear-gradient(90deg, rgba(200, 168, 242, .04) 0 1px, transparent 1px 48px), linear-gradient(180deg, #321147, var(--natt)); }
.byr-flow .lp-pin__sticky { gap: 26px; }
.byr-flow__head { display: grid; gap: 20px; align-items: end; }
@media (min-width: 1000px) { .byr-flow__head { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; } }
.byr-flow__head .lead { max-width: 560px; color: var(--on-dark-muted); }
.byr-events { display: grid; }
.byr-events li { grid-area: 1 / 1; display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 18px; color: var(--ink); background: #fff; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .35s, transform .5s var(--spring); }
.byr-events li.is-on { opacity: 1; transform: none; }
.byr-events i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--natt); background: var(--gnista); }
.byr-events .ic { width: 17px; height: 17px; }
.byr-events li > span { display: block; font-size: .9rem; line-height: 1.45; }
.byr-events small { display: block; margin-bottom: 3px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.byr-events .fm-ref { font-weight: 800; color: var(--primar-ink); }
.byr-events .fm-ref { padding: 0 5px; border-radius: 6px; background: var(--soft); }
.byr-board__wrap { position: relative; }
.byr-board { --colw: calc((100% - 4 * var(--gap)) / 5); position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.byr-col { display: grid; align-content: start; gap: 8px; min-height: 330px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--on-dark-line); }
.byr-col__h { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 4px; font-size: .84rem; }
.byr-col__h span { padding: 1px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; color: var(--ton); background: rgba(200, 168, 242, .14); }
.byr-col__slot { height: 98px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(200, 168, 242, .18); background: repeating-linear-gradient(-45deg, rgba(200, 168, 242, .04) 0 8px, transparent 8px 16px); }
.byr-kcard { display: grid; gap: 2px; padding: 10px 12px; border-radius: 13px; font-size: .8rem; color: var(--ink); background: rgba(255, 255, 255, .92); }
.byr-kcard small { color: var(--muted); }
.byr-mover { position: absolute; left: calc(var(--pos) * (var(--colw) + var(--gap)) + 10px); top: 48px; z-index: 3; display: grid; align-content: start; gap: 3px; width: calc(var(--colw) - 20px); height: 98px; padding: 10px 12px; border-radius: 14px; color: var(--natt); background: var(--gnista); box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .9), 0 0 0 3px rgba(242, 250, 163, .25); transform: rotate(var(--tilt, 0deg)) scale(var(--lift, 1)); will-change: left, transform; }
.byr-mover b { font-size: .92rem; }
.byr-mover > small { font-size: .74rem; opacity: .75; }
.byr-mover__top { display: flex; align-items: center; justify-content: space-between; }
.byr-mover__top em { display: inline-flex; align-items: center; gap: 4px; font-size: .66rem; font-style: normal; font-weight: 800; }
.byr-mover__top .ic { width: 11px; height: 11px; }
.byr-mover__done { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: var(--ok); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--spring); }
.byr-mover__done .ic { width: 12px; height: 12px; stroke-width: 3; }
.byr-mover__tags { display: flex; align-items: center; gap: 5px; margin-top: auto; }
.byr-mover__tags > * { opacity: 0; transform: scale(.5); transition: opacity .3s, transform .4s var(--spring); }
.byr-mover__who { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .66rem; font-style: normal; font-weight: 800; color: #fff; background: #7C3AED; }
.byr-mover__file, .byr-mover__guest { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 7px; font-size: .64rem; font-weight: 800; background: rgba(44, 14, 61, .1); }
.byr-mover__file .ic, .byr-mover__guest .ic { width: 11px; height: 11px; }
.byr-mover.is-s1 .byr-mover__who, .byr-mover.is-s2 .byr-mover__file, .byr-mover.is-s3 .byr-mover__guest, .byr-mover.is-s4 .byr-mover__done { opacity: 1; transform: none; }
.byr-mover.is-s4 { background: #fff; box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .9), 0 0 0 3px var(--ok); }
@media (max-width: 999px) {
  .byr-board__wrap { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .byr-flow.is-pinned .byr-board__wrap { overflow: hidden; }
  .byr-board { width: 720px; transform: translateX(var(--pan, 0px)); }
  .byr-col { min-height: 270px; }
  .byr-flow.is-pinned .byr-flow__head .lead { display: none; }
  .byr-flow.is-pinned .h2 { font-size: clamp(1.6rem, 6.6vw, 2.2rem); }
  .byr-events li > span { font-size: .82rem; }
  .byr-events li { padding: 11px; }
}

/* ==========================================================================
   3. Byrån och gästen
   ========================================================================== */
.byr-ws { overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
.byr-ws__views { display: flex; gap: 4px; margin: 14px 14px 0; padding: 4px; border-radius: 999px; background: var(--ljus); box-shadow: inset 0 0 0 1px var(--line); }
.byr-ws__views button { flex: 1; padding: 9px 10px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .86rem; font-weight: 800; color: var(--muted); background: transparent; transition: background-color .2s, color .2s; }
.byr-ws__views button[aria-pressed="true"] { color: #fff; background: var(--natt); box-shadow: 0 10px 20px -10px rgba(44, 14, 61, .7); }
.byr-ws__body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 300px; margin-top: 14px; border-top: 1px solid var(--line-2); }
.byr-ws__nav { display: grid; align-content: start; gap: 2px; padding: 12px 10px; background: #FBF9FD; border-right: 1px solid var(--line-2); }
.byr-ws__nav li { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; font-size: .84rem; font-weight: 700; transition: opacity .3s, color .3s, background-color .3s; }
.byr-ws__nav li > span:first-child { display: grid; place-items: center; width: 22px; color: var(--primar-ink); }
.byr-ws__nav li > span .ic { width: 16px; height: 16px; }
.byr-ws__navh { margin-top: 8px; font-size: .68rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.byr-dot { width: 10px !important; height: 10px; margin: 0 6px; border-radius: 3px; background: var(--primar); }
.byr-dot--nordvik { background: var(--nordvik); } .byr-dot--lumea { background: var(--lumea); } .byr-dot--malva { background: var(--malva); } .byr-dot--intern { background: var(--muted); }
.byr-ws__nav em { display: none; align-items: center; gap: 4px; margin-left: auto; font-style: normal; color: var(--muted); }
.byr-ws__nav em .ic { width: 13px; height: 13px; }
.byr-ws__nav em small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.byr-ws__nav li.is-hidden { color: var(--muted); opacity: .45; text-decoration: line-through; text-decoration-color: rgba(94, 75, 112, .5); }
.byr-ws__nav li.is-hidden em { display: inline-flex; }
.byr-ws__nav li.is-mine { background: #F1E9FC; box-shadow: inset 0 0 0 1.5px var(--primar-ink); }
.byr-ws__main { display: grid; align-content: start; gap: 6px; padding: 16px; }
.byr-ws__main[hidden] { display: none; }
.byr-ws__main:not([hidden]) .byr-ws__row { animation: fade-up .45s var(--ease-out) backwards; animation-delay: calc(var(--i) * .07s); }
.byr-ws__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 1.05rem; }
.byr-ws__title em { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-style: normal; font-weight: 800; color: var(--natt); background: var(--gnista); }
.byr-ws__title .ic { width: 13px; height: 13px; }
.byr-ws__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: .86rem; background: var(--ljus); }
.byr-ws__row span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; }
.byr-ws__row span .ic { flex: none; width: 15px; height: 15px; color: var(--primar-ink); }
.byr-ws__row small { font-size: .76rem; color: var(--muted); }
.byr-pill { padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-style: normal; font-weight: 800; color: var(--muted); background: var(--line-2); }
.byr-pill--ok { color: var(--ok); background: var(--ok-soft); }
.byr-pill--doing { color: #9A5B00; background: #FDF1D6; }
.byr-pill--review { color: #1D4ED8; background: #DBEAFE; }
.byr-pill--date { color: var(--natt); background: var(--gnista); }
.byr-ws__note { padding: 12px 16px; border-top: 1px solid var(--line-2); font-size: .78rem; color: var(--muted); }
@media (max-width: 639px) {
  .byr-ws__body { grid-template-columns: minmax(0, 1fr); }
  .byr-ws__nav { display: flex; flex-wrap: wrap; gap: 4px; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .byr-ws__nav li { padding: 5px 8px; font-size: .74rem; }
  .byr-ws__navh { display: none !important; }
  .byr-ws__views button { padding: 8px 4px; font-size: .74rem; }
  .byr-ws__row { grid-template-columns: minmax(0, 1fr) auto; }
  .byr-ws__row small { display: none; }
}

/* ==========================================================================
   4. Tidrapporten
   ========================================================================== */
.byr-calc { background: radial-gradient(50% 40% at 15% 70%, rgba(242, 250, 163, .07), transparent 70%), linear-gradient(180deg, var(--natt), #321147); }
.byr-sliders { display: grid; gap: 16px; margin-top: 24px; }
.byr-range p { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.byr-range label { font-weight: 700; }
.byr-range output { font-size: 1.1rem; font-weight: 800; color: var(--gnista); font-variant-numeric: tabular-nums; white-space: nowrap; }
.byr-range input { --fill: 50%; width: 100%; height: 28px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.byr-range input::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--ton) var(--fill), rgba(255, 255, 255, .15) var(--fill)); }
.byr-range input::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--ton) var(--fill), rgba(255, 255, 255, .15) var(--fill)); }
.byr-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 4px; background: var(--gnista); transform: rotate(8deg); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .6); }
.byr-range input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 4px; background: var(--gnista); }
.byr-range input:focus-visible { outline: 3px solid var(--gnista); outline-offset: 4px; border-radius: 8px; }
.byr-sheet { display: grid; justify-items: center; }
.byr-sheet__paper { position: relative; display: grid; width: min(390px, 100%); padding: 22px 22px 18px; color: #241a2c; background: linear-gradient(90deg, transparent 38px, rgba(190, 24, 93, .25) 38px 39.5px, transparent 39.5px), repeating-linear-gradient(180deg, #fff 0 29px, #E6EEF8 29px 30px); border-radius: 6px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95); transform: rotate(1.2deg); }
.motion .byr-sheet.is-in .byr-sheet__paper { animation: byr-paper 1s var(--spring) backwards; }
.byr-sheet__head { display: grid; gap: 2px; padding-left: 28px; margin-bottom: 14px; }
.byr-sheet__head b { font-size: 1.4rem; letter-spacing: -.02em; }
.byr-sheet__head span { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #B42318; }
.byr-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px 28px; }
.byr-week p { display: grid; justify-items: center; gap: 4px; }
.byr-week__bar { position: relative; display: flex; align-items: flex-end; width: 100%; height: 100px; overflow: hidden; border-radius: 8px; background: repeating-linear-gradient(180deg, transparent 0 11.5px, rgba(22, 122, 91, .25) 11.5px 12.5px), #DDF3EA; box-shadow: inset 0 0 0 1.5px rgba(22, 122, 91, .3); }
.byr-week__bar i { width: 100%; height: var(--h, 18%); background: repeating-linear-gradient(-45deg, #B42318 0 5px, #D9534A 5px 10px); transition: height .5s var(--spring); }
.byr-week small { font-size: .72rem; font-weight: 800; color: #6f6478; }
.byr-sheet__row, .byr-sheet__total, .byr-sheet__vs { display: flex; justify-content: space-between; gap: 12px; min-height: 30px; padding-left: 28px; align-items: center; font-size: .86rem; }
.byr-sheet__row b { font-variant-numeric: tabular-nums; }
.byr-sheet__total { margin-top: 6px; padding-top: 6px; padding-bottom: 6px; border-top: 2px solid #241a2c; font-weight: 800; }
.byr-sheet__total b { font-size: 1.5rem; color: #B42318; font-variant-numeric: tabular-nums; }
.byr-sheet__vs b { color: var(--ok); }
.byr-sheet__vs .air-price { font: inherit; color: inherit; }
.byr-sheet__sign { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; padding-left: 28px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6f6478; }
.byr-sheet__sign i { flex: 1; height: 24px; border-bottom: 1.5px solid #241a2c; background: radial-gradient(ellipse 30% 40% at 20% 70%, transparent 60%, #7E45C9 62% 68%, transparent 70%), radial-gradient(ellipse 22% 50% at 42% 60%, transparent 60%, #7E45C9 62% 68%, transparent 70%); }
.byr-calc__note { max-width: 420px; margin-top: 22px; font-size: .78rem; line-height: 1.5; text-align: center; color: var(--on-dark-muted); }

/* ==========================================================================
   5. Teamchatt och hjälpcenter
   ========================================================================== */
.byr-chatwrap { position: relative; display: grid; }
.byr-chat { position: relative; display: grid; gap: 12px; width: min(470px, 92%); padding: 16px 16px 56px; border-radius: 24px; color: #fff; background: var(--natt); box-shadow: 0 40px 80px -30px rgba(44, 14, 61, .8); }
.byr-chat__h { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--on-dark-line); }
.byr-chat__h span { display: flex; }
.byr-chat__h span i { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -6px; border-radius: 50%; font-size: .7rem; font-style: normal; font-weight: 800; background: var(--c); box-shadow: 0 0 0 2px var(--natt); }
.byr-chat__msg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; font-size: .88rem; line-height: 1.45; }
.byr-chat__msg > i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-style: normal; font-weight: 800; background: var(--c); }
.byr-chat__msg > span { display: block; }
.byr-chat__msg > span > b { display: block; margin-bottom: 2px; }
.byr-chat__msg b small { font-weight: 600; color: var(--ton); }
.byr-chat .fm-ref { padding: 0 6px; border-radius: 6px; font-weight: 800; color: var(--natt); background: var(--ton); }
.reveal-on .byr-chatwrap.is-in .byr-chat__msg { animation: fade-up .5s var(--ease-out) backwards; animation-delay: calc(.4s + var(--i) * .35s); }
.byr-chat__toast { position: absolute; right: -14px; top: -18px; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: var(--natt); background: var(--gnista); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
.byr-chat__toast .ic { width: 14px; height: 14px; }
.reveal-on .byr-chatwrap.is-in .byr-chat__toast { animation: pop-in .6s 1.6s var(--spring) backwards, bob 5s 2.4s ease-in-out infinite; }
.byr-help { position: relative; justify-self: end; margin-top: -40px; z-index: 2; display: grid; gap: 10px; width: min(300px, 72%); padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -30px rgba(44, 14, 61, .6); }
.byr-help__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.byr-help__h span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; color: var(--primar-ink); background: #F1E9FC; }
.byr-help__h .ic { width: 13px; height: 13px; }
.byr-help__search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; font-size: .84rem; color: var(--muted); background: var(--ljus); box-shadow: inset 0 0 0 1px var(--line); }
.byr-help__search .ic { width: 15px; height: 15px; }
.byr-help li { display: grid; gap: 1px; padding: 9px 2px; border-top: 1px solid var(--line-2); }
.byr-help li span { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 700; }
.byr-help li .ic { width: 14px; height: 14px; color: var(--primar-ink); }
.byr-help li small { padding-left: 21px; font-size: .72rem; color: var(--muted); }
@media (max-width: 599px) {
  .byr-chat { width: 100%; }
  .byr-chat__toast { right: 6px; }
  .byr-help { justify-self: stretch; width: auto; margin: -40px 12px 0; }
}

/* ==========================================================================
   6. Byggt på en byrå
   ========================================================================== */
.byr-story { background: radial-gradient(60% 50% at 50% 0, rgba(155, 93, 229, .22), transparent 70%), repeating-linear-gradient(180deg, rgba(200, 168, 242, .035) 0 1px, transparent 1px 24px), var(--natt); }
.byr-wall { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; max-width: 1080px; margin: 10px auto 0; padding-top: 18px; }
.byr-wall::before { content: ""; position: absolute; left: 4%; right: 4%; top: 18px; border-top: 2px dashed rgba(242, 250, 163, .4); }
.byr-wall li { position: relative; display: grid; align-content: start; gap: 8px; min-height: 170px; padding: 26px 16px 18px; font-size: .95rem; font-weight: 700; line-height: 1.35; color: var(--natt); background: var(--gnista); box-shadow: 0 26px 40px -20px rgba(0, 0, 0, .9), inset 0 -14px 20px -16px rgba(0, 0, 0, .25); transform: rotate(calc((var(--i) - 2) * 1.6deg)); }
.byr-wall li:nth-child(2n) { background: var(--ton); }
.byr-wall li:nth-child(3) { background: #fff; }
.byr-wall li::before { content: ""; position: absolute; left: 50%; top: -8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8fa3, #BE185D 60%); box-shadow: 0 4px 6px rgba(0, 0, 0, .4); }
.byr-wall small { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primar-ink); }
.reveal-on .byr-wall.is-in li { animation: byr-stick .7s var(--spring) backwards; animation-delay: calc(.2s + var(--i) * .16s); }
.byr-story__more { margin-top: 34px; text-align: center; }
.byr-story__more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gnista); }
.byr-story__more .ic { width: 16px; height: 16px; transition: transform .3s var(--spring); }
.byr-story__more a:hover .ic { transform: translateX(4px); }
@media (max-width: 899px) {
  .byr-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .byr-wall::before { display: none; }
  .byr-wall li { min-height: 130px; }
  .byr-wall li:last-child { grid-column: 1 / -1; justify-self: center; width: 60%; }
}

.byr-def { padding-bottom: calc(clamp(76px, 10vw, 136px) + var(--sheet-r)); }

@keyframes byr-col { from { transform: scaleY(0); transform-origin: top; } }
@keyframes byr-drop { from { opacity: 0; transform: translate(-60px, -40px) rotate(-8deg) scale(.9); } }
@keyframes byr-sway { 0%, 100% { rotate: 0deg; } 50% { rotate: -3deg; } }
@keyframes byr-cursor { 0%, 10% { translate: 0 0; } 40%, 60% { translate: 150px 172px; } 90%, 100% { translate: 0 0; } }
@keyframes byr-paper { from { opacity: 0; transform: translateY(40px) rotate(-6deg); } }
@keyframes byr-stick { from { opacity: 0; transform: translateY(-30px) rotate(-12deg) scale(.9); } }
