/* EntariBusiness page (/produkter/business, /en/products/business): click-down flowchart (ef-*) and page sections (eb-*).
   Site tokens only. Nothing moves on its own: no entrance animation, no auto-scroll. */
.ef-wrap { margin-top: var(--space-8); }
.ef-toggle { display: inline-flex; align-items: center; gap: var(--space-2); }
.ef-toggle svg { width: 16px; height: 16px; transition: transform var(--motion-hover) var(--motion-ease); }
.ef-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.ef-panel { margin-top: var(--space-6); display: grid; gap: 0; }
.ef-panel[hidden] { display: none; }
.ef-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ef-stage { position: relative; background: var(--white); border: 1px solid var(--entari-border-card); border-radius: var(--radius-box); padding: var(--space-6); }
.ef-stage + .ef-stage { margin-top: var(--space-8); }
.ef-stage + .ef-stage::before { content: ""; position: absolute; left: 28px; top: calc(-1 * var(--space-8) - 1px); height: var(--space-8); width: 2px; background: var(--ef-c, var(--line)); }
.ef-stage__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.ef-h { font-size: var(--font-card-title); font-weight: 700; margin: 0; flex: 1; min-width: 0; letter-spacing: -0.01em; }
.ef-h:focus { outline: none; }
.ef-h .ef-pm { font-size: 1.5rem; }
.ef-h4 { font-size: var(--font-size-label-lg); font-weight: 700; margin: var(--space-6) 0 var(--space-3); }
.ef-lead { color: var(--muted); margin: 0 0 var(--space-4); max-width: 62ch; }
.ef-sub { display: block; color: var(--muted); font-size: var(--font-size-caption); }
.ef-note { color: var(--muted); font-size: var(--font-size-caption); margin: var(--space-3) 0 0; }

.ef-close { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--white); color: var(--text);
  border-radius: var(--radius-control); padding: 6px 10px; font: inherit; font-size: var(--font-size-caption); font-weight: 600; cursor: pointer; }
.ef-close svg { width: 14px; height: 14px; }
.ef-close:hover { border-color: var(--text); }

.ef-setups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.ef-setup { display: flex; align-items: center; gap: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-box); padding: var(--space-3) var(--space-4); background: var(--panel); }
.ef-setup > div { flex: 1; min-width: 0; }
.ef-ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: var(--radius-control); border: 1px solid var(--line); background: var(--white); color: var(--text); }
.ef-ic svg { width: 16px; height: 16px; }

.ef-q { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; line-height: 1; cursor: help; }
.ef-q:hover, .ef-q:focus-visible, .ef-q[aria-expanded="true"] { border-color: var(--text); color: var(--text); }
.ef-qtext { margin: var(--space-2) 0 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-control); background: var(--panel); border: 1px solid var(--line); font-size: var(--font-size-caption); color: var(--text); }
.ef-qtext p { margin: 0; }
@media (hover: hover) and (pointer: fine) { .ef-qtext { display: none !important; } }
.ef-tip { position: fixed; z-index: 80; max-width: min(360px, calc(100vw - 16px)); background: var(--text); color: var(--white); border-radius: var(--radius-control);
  padding: 10px 12px; font-size: var(--font-size-caption); line-height: 1.45; box-shadow: var(--entari-shadow-hover); pointer-events: none; }
.ef-tip p { margin: 0; color: inherit; }
.ef-tip[hidden] { display: none; }

.ef-grid { display: grid; gap: var(--space-3); }
.ef-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ef-grid--hubs { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.ef-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-box); background: var(--white); color: var(--text); padding: var(--space-4); font: inherit; cursor: pointer;
  transition: border-color var(--motion-hover) var(--motion-ease), box-shadow var(--motion-hover) var(--motion-ease); }
.ef-card:hover { border-color: var(--ef-c, var(--text)); box-shadow: var(--entari-shadow); }
.ef-card:focus-visible, .ef-act:focus-visible, .ef-tab:focus-visible, .ef-close:focus-visible, .ef-q:focus-visible, .ef-own summary:focus-visible { outline: 2px solid var(--accent-press); outline-offset: 2px; }
.ef-card.is-on { border-color: var(--ef-c, var(--text)); box-shadow: inset 0 0 0 1px var(--ef-c, var(--text)); }
.ef-grid.has-choice .ef-card:not(.is-on) { opacity: .7; }
.ef-grid.has-choice .ef-card:not(.is-on):hover { opacity: 1; }
.ef-card__title { font-weight: 700; font-size: var(--font-size-label-lg); }
.ef-card__sub { color: var(--muted); font-size: var(--font-size-caption); }
.ef-card__go { margin-top: var(--space-2); display: inline-flex; align-items: center; gap: 4px; font-size: var(--font-size-caption); font-weight: 600; }
.ef-card svg { width: 14px; height: 14px; }
.ef-stripe { display: block; width: 100%; height: 4px; border-radius: 2px; background: var(--ef-c); margin-bottom: var(--space-2); }
.ef-hub { flex-direction: row; flex-wrap: wrap; align-items: center; padding: var(--space-3) var(--space-4); }
.ef-hub .ef-card__title { flex: 1 1 auto; font-size: var(--font-size-label); }
.ef-hub .ef-card__sub { order: 3; flex-basis: 100%; }
.ef-hub > svg { order: 2; }
.ef-hub.is-on > svg, .ef-act.is-on > svg:last-child { transform: rotate(90deg); }

.ef-own { margin-top: var(--space-3); border: 1px dashed var(--entari-secondary-border); border-radius: var(--radius-box); background: var(--panel); }
.ef-own summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); font-weight: 600; }
.ef-own summary::-webkit-details-marker { display: none; }
.ef-plus { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border: 1px solid var(--text); border-radius: var(--radius-control); background: var(--white); font-size: 16px; line-height: 1; }
.ef-plus::before { content: "+"; }
.ef-own[open] .ef-plus::before { content: "\2212"; }
.ef-own__body { padding: 0 var(--space-4) var(--space-4); }
.ef-ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }

.ef-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.ef-block { border: 1px solid var(--line); border-radius: var(--radius-box); padding: var(--space-4); background: var(--panel); }
.ef-block__h { display: flex; align-items: center; gap: var(--space-3); font-size: var(--font-size-label-lg); font-weight: 700; margin: 0 0 var(--space-3); }
.ef-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ef-list li { display: flex; gap: 10px; font-size: var(--font-size-small); }
.ef-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ef-c, var(--text)); margin-top: 9px; }
.ef-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-3); }
.ef-chips span { font-size: 13px; font-weight: 500; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-control); padding: 3px 8px; }
.ef-acts { display: grid; gap: 6px; margin-top: var(--space-2); }
.ef-act { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--white);
  color: var(--text); padding: 8px 10px; font: inherit; font-size: var(--font-size-label); font-weight: 600; cursor: pointer; margin-top: var(--space-2); }
.ef-acts .ef-act { margin-top: 0; }
.ef-act:hover, .ef-act.is-on { border-color: var(--text); }
.ef-act > span { flex: 1; min-width: 0; }
.ef-act small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.ef-act svg { width: 16px; height: 16px; flex: none; }

.ef-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-4); }
.ef-tab { border: 1px solid var(--line); background: var(--white); color: var(--text); border-radius: var(--radius-control); padding: 6px 12px; font: inherit; font-size: var(--font-size-caption); font-weight: 600; cursor: pointer; }
.ef-tab[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--white); }
.ef-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.ef-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.ef-steps li { display: flex; gap: var(--space-3); align-items: flex-start; }
.ef-steps .ef-ic { border-color: var(--ef-c); }
.ef-k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ef-v { display: block; font-size: var(--font-size-small); }
.ef-access { border: 1px solid var(--line); border-radius: var(--radius-box); background: var(--panel); padding: var(--space-4); }
.ef-access .ef-h4 { margin-top: 0; }
.ef-lvls { display: grid; gap: 6px; }
.ef-lv { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-3); align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-control); padding: 8px 10px; font-size: var(--font-size-caption); }
.ef-lv b { display: flex; align-items: center; gap: 6px; }
.ef-lv span { color: var(--muted); }
.ef-bars { display: inline-flex; gap: 2px; }
.ef-bars i { display: block; width: 4px; height: 12px; border-radius: 1px; background: var(--line); }
.ef-bars i.on { background: var(--text); }
.ef-mx { width: 100%; border-collapse: collapse; margin-top: var(--space-3); font-size: var(--font-size-caption); background: var(--white); }
.ef-mx th, .ef-mx td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.ef-mx thead th { color: var(--muted); font-weight: 600; }
.ef-mx td.is-none { color: var(--muted); }
.ef-lane { font-size: var(--font-size-caption); color: var(--muted); margin: var(--space-3) 0 0; }
.ef-lane b { color: var(--text); margin-right: 4px; }

@media (max-width: 860px) {
  .ef-grid--3, .ef-setups, .ef-blocks, .ef-detail { grid-template-columns: 1fr; }
  .ef-stage { padding: var(--space-4); }
}
@media (prefers-reduced-motion: reduce) { .ef-card, .ef-toggle svg { transition: none; } }

/* ---------- page mode ---------- */
.ef-wrap--page { margin-top: 0; }
.ef-wrap--page .ef-panel { margin-top: 0; }

/* ---------- EntariBusiness page sections ---------- */
.eb-sec { border-bottom: 1px solid var(--line); }
.eb-sec .section-intro { margin-bottom: var(--space-6); }
.page-hero__inner--business .eb-setups { margin-top: calc(-1 * var(--space-3)); font-weight: 600; color: var(--text); }
.eb-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.eb-card { position: relative; background: var(--white); border: 1px solid var(--entari-border-card); border-radius: var(--radius-box); padding: var(--space-6); }
.eb-card--mint { background: var(--entari-surface-card); }
.eb-card__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.eb-card__h { margin: 0; font-size: var(--font-card-title); font-weight: 700; letter-spacing: -0.01em; }
.eb-card__h .product-mark { font-size: inherit; }
.eb-card__h.product-mark--brand { margin-bottom: 2px; }
.eb-kick { margin: 2px 0 0; color: var(--muted); font-size: var(--font-size-caption); }
.eb-card__link { margin: var(--space-4) 0 0; font-weight: 600; font-size: var(--font-size-small); }
.eb-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--radius-control); border: 1px solid var(--line); background: var(--white); color: var(--text); }
.eb-ic svg { width: 20px; height: 20px; }
.eb-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.eb-list li { position: relative; padding-left: 26px; font-size: var(--font-size-small); line-height: 1.5; color: var(--text); }
.eb-list li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 14px; height: 8px; border-left: 2px solid var(--entari-accent-precision); border-bottom: 2px solid var(--entari-accent-precision); transform: rotate(-45deg); }
.eb-list li[hidden] { display: none; }
.eb-list a, .eb-card__link a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.eb-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.eb-point { display: flex; flex-direction: column; gap: var(--space-3); background: var(--white); border: 1px solid var(--entari-border-card); border-radius: var(--radius-box); padding: var(--space-4) var(--space-4) var(--space-6); }
.eb-point__h { margin: 0 0 4px; font-size: var(--font-size-label-lg); font-weight: 700; }
.eb-point p { margin: 0; color: var(--muted); font-size: var(--font-size-small); line-height: 1.5; }
.eb-iso { display: flex; align-items: center; gap: var(--space-3); margin: var(--space-6) 0 0; font-weight: 600; }
.eb-iso .eb-ic { width: 32px; height: 32px; color: var(--entari-accent-precision); }
.eb-iso .eb-ic svg { width: 18px; height: 18px; }
.eb-more { margin-top: var(--space-4); border: 1px solid var(--entari-border-card); border-radius: var(--radius-box); background: var(--entari-surface-card); }
.eb-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); font-weight: 600; }
.eb-more summary::-webkit-details-marker { display: none; }
.eb-more summary:focus-visible { outline: 2px solid var(--accent-press); outline-offset: 2px; }
.eb-more[open] .ef-plus::before { content: "\2212"; }
.eb-more__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); padding: 0 var(--space-4) var(--space-6); }
.eb-more__h { margin: 0 0 var(--space-3); font-size: var(--font-size-label-lg); font-weight: 700; }
.eb-more__body p { margin: 0 0 var(--space-2); font-size: var(--font-size-small); line-height: 1.5; }
.eb-dl { margin: 0; display: grid; gap: var(--space-3); }
.eb-dl dt { font-weight: 700; font-size: var(--font-size-small); }
.eb-dl dd { margin: 2px 0 0; font-size: var(--font-size-small); color: var(--muted); line-height: 1.5; }

.eb-self { margin-top: var(--space-6); padding: var(--space-4); border: 1px solid var(--entari-border-card); border-radius: var(--radius-box); background: var(--white); max-width: 36rem; }
.eb-self__h { margin: 0 0 var(--space-3); font-size: var(--font-size-label-lg); font-weight: 700; }
.eb-self__addon { margin: var(--space-4) 0 0; padding-top: var(--space-3); border-top: 1px dashed var(--entari-border-card); font-size: var(--font-size-small); line-height: 1.5; color: var(--text); }
.eb-self__addon a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) { .eb-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .eb-grid2, .eb-more__body, .eb-points { grid-template-columns: 1fr; }
  .eb-card { padding: var(--space-4); }
}
.eb-features { margin-top: 0; }
.eb-features__body { padding: 0 var(--space-4) var(--space-4); }
.eb-features[open] .ef-plus::before { content: "\2212"; }
