/* ======================================================
   PULSE – "Portfolio live" + importrör-case
   Använder tokens från variables.css. Inga hårdkodade ytor
   som saknar tema-variant (se theme.css).
   ====================================================== */

.pulse-card { display: grid; gap: 16px; }

.pulse-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pulse-header h3 { margin: 0; font-weight: 600; opacity: .95; }
.pulse-updated { font-size: 12px; color: var(--text-muted); }

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

.pulse-tile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  color: inherit; text-decoration: none;
  min-width: 0;
}
.pulse-live { grid-column: 1 / -1; }

.pulse-link { transition: transform .15s ease, border-color .15s ease; }
.pulse-link:hover, .pulse-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 91, 189, .45);
}

.pulse-label { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .02em; color: var(--text-secondary); }
.pulse-value {
  font-size: 30px; line-height: 1.1; font-weight: 700;
  background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.pulse-star { -webkit-text-fill-color: #ffc857; color: #ffc857; }
.pulse-sub { font-size: 12px; color: var(--text-muted); }

.pulse-spark { width: 100%; height: 32px; display: block; }

/* Prickar */
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); flex: none; }
.pulse-dot.is-live { background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse-ping 1.8s infinite; }
@keyframes pulse-ping {
  0%   { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

/* Tillgänglighet */
.pulse-avail-line { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.pulse-avail .pulse-dot.is-status { background: #3ddc97; }
.pulse-avail--limited .pulse-dot.is-status { background: #ffc857; }
.pulse-avail--closed  .pulse-dot.is-status { background: #ff6b6b; }

/* Omdömesband */
.pulse-ribbon {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.pulse-ribbon-track { display: flex; width: max-content; animation: pulse-scroll var(--pulse-duration, 40s) linear infinite; }
.pulse-ribbon:hover .pulse-ribbon-track,
.pulse-ribbon:focus-within .pulse-ribbon-track { animation-play-state: paused; }
.pulse-ribbon-set { display: flex; flex: none; }
@keyframes pulse-scroll { to { transform: translateX(-50%); } }

.pulse-review {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 12px 22px; white-space: nowrap;
  color: inherit; text-decoration: none; font-size: 13px;
}
.pulse-review:hover .pulse-review-text,
.pulse-review:focus-visible .pulse-review-text { text-decoration: underline; text-underline-offset: 3px; }
.pulse-review-stars { color: #ffc857; letter-spacing: 1px; }
.pulse-review-text  { color: var(--text-secondary); }
.pulse-review-who   { color: var(--text-muted); font-size: 12px; }
.pulse-review--empty { display: block; text-align: center; white-space: normal; color: var(--text-secondary); }

/* Rörelse-känsliga: inget scrollande band, manuell horisontell scroll i stället */
@media (prefers-reduced-motion: reduce) {
  .pulse-ribbon-track { animation: none; }
  .pulse-ribbon { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .pulse-ribbon-set[aria-hidden="true"] { display: none; }
  .pulse-dot.is-live { animation: none; }
}

@media (min-width: 900px) {
  .pulse-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pulse-live { grid-column: auto; grid-row: span 2; }
  .pulse-avail { grid-column: 2 / -1; }
}

/* ======================================================
   Importrör-case
   ====================================================== */
.pipeline-eyebrow { margin: 0 0 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-start); }

.pipeline-flow { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: none; }
.pipeline-step {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px 14px 56px; min-height: 64px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
}
.pipeline-step-num {
  position: absolute; left: 14px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
}
.pipeline-step-desc { font-size: 13px; color: var(--text-secondary); }

@media (min-width: 900px) {
  .pipeline-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pipeline-step { padding: 56px 16px 16px; }
  .pipeline-step-num { left: 16px; top: 14px; }
  /* pil mellan stegen */
  .pipeline-step:not(:last-child)::after {
    content: "→"; position: absolute; right: -14px; top: 18px; z-index: 1;
    color: var(--accent-start); font-size: 18px;
  }
}

.pipeline-stats { margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .pipeline-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pipeline-stat { padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid var(--border-soft); background: rgba(255, 255, 255, 0.03); }
.pipeline-stat dt { font-size: 12px; color: var(--text-muted); margin: 0 0 2px; }
.pipeline-stat dd { margin: 0; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pipeline-note { margin: 16px 0 0; font-size: 12px; color: var(--text-muted); }

/* ======================================================
   Utvalda projekt – kompakt variant (3 kolumner x 2 rader)
   ====================================================== */
body[data-page="dashboard"] .dashboard-featured--compact .dashboard-featured-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1100px){
  body[data-page="dashboard"] .dashboard-featured--compact .dashboard-featured-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px){
  body[data-page="dashboard"] .dashboard-featured--compact .dashboard-featured-grid{
    grid-template-columns: 1fr;
  }
}
body[data-page="dashboard"] .dashboard-featured--compact .dashboard-project{
  display: flex; flex-direction: column; padding: 12px 14px;
}
body[data-page="dashboard"] .dashboard-featured--compact .dashboard-project-title{ font-size: 1rem; }
body[data-page="dashboard"] .dashboard-featured--compact .dashboard-project-desc{
  margin: 8px 0 10px; font-size: .86rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
body[data-page="dashboard"] .dashboard-featured--compact .dashboard-project-tags{ gap: 6px; }
body[data-page="dashboard"] .dashboard-featured--compact .dashboard-project-tags .tag{ font-size: .72rem; padding: 3px 8px; }
body[data-page="dashboard"] .dashboard-featured--compact .dashboard-project-actions{ margin-top: auto; padding-top: 12px; }
body[data-page="dashboard"] .dashboard-featured--compact .dashboard-project-actions .btn{ padding: 7px 14px; min-height: 0; font-size: .8rem; }

/* ======================================================
   Kodexempel – många språkflikar
   ====================================================== */
body[data-page="dashboard"] .dash-codeshow-tabs{
  flex: 1 1 100%;
  border-radius: 16px;
  gap: 4px;
}
body[data-page="dashboard"] .dash-codeshow-tab{ padding: 7px 12px; }
@media (max-width: 700px){
  body[data-page="dashboard"] .dash-codeshow-tabs{
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
  }
  body[data-page="dashboard"] .dash-codeshow-tab{ flex: none; }
}

/* ---- Diagonalt band: "Eget bolag" ---- */
body[data-page="dashboard"] .dash-platforms .dash-promo-card{position:relative;overflow:hidden}
body[data-page="dashboard"] .dash-platforms .dash-promo-top{justify-content:flex-start;gap:10px}
.dash-ribbon{
  position:absolute;top:20px;right:-40px;width:150px;padding:5px 0;
  transform:rotate(45deg);text-align:center;
  font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:#fff;background:linear-gradient(90deg,var(--accent-start),var(--accent-end));
  box-shadow:0 2px 10px rgba(0,0,0,.35);pointer-events:none;
}

/* ---- Varför samarbeta ---- */
.whyme{padding:clamp(18px,3vw,32px)}
.whyme-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:28px;margin-top:22px;align-items:start}
.whyme-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.whyme-item{display:flex;gap:12px;align-items:flex-start}
.whyme-item strong{display:block;font-size:15px}
.whyme-item p{margin:2px 0 0;font-size:14px;color:var(--text-secondary);line-height:1.5}
.whyme-check{flex:0 0 24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:13px;
  background:rgba(61,220,151,.15);color:#7ae9b8;border:1px solid rgba(61,220,151,.4)}
.whyme-saving{padding:20px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03)}
.whyme-saving h3{margin:0 0 4px;font-size:18px}
.whyme-saving-lead{margin:0 0 14px;color:var(--text-secondary);font-size:14px}
.whyme-table-wrap{overflow-x:auto}
.whyme-table{width:100%;border-collapse:collapse;font-size:13px;min-width:480px}
.whyme-table th,.whyme-table td{padding:9px 10px;text-align:left;border-bottom:1px solid rgba(255,255,255,.08);vertical-align:top}
.whyme-table thead th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}
.whyme-table tbody th{font-weight:600}
.whyme-table td{color:var(--text-secondary)}
.whyme-table .is-me{color:#7ae9b8;font-weight:700;background:rgba(61,220,151,.07)}
.whyme-table tfoot th,.whyme-table tfoot td{border-bottom:0;font-weight:700;color:var(--text-primary)}
.whyme-table tfoot .is-me{color:#7ae9b8}
.whyme-saving-total{margin:16px 0 4px;font-size:16px}
.whyme-saving-total strong{font-size:22px;background:linear-gradient(90deg,var(--accent-start),var(--accent-end));-webkit-background-clip:text;background-clip:text;color:transparent}
.whyme-footnote{margin:0;font-size:12px;color:var(--text-muted)}
.whyme-closing{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;margin-top:26px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1)}
.whyme-closing p{margin:0;font-size:16px;max-width:60ch}
@media (max-width:900px){.whyme-grid{grid-template-columns:1fr}}

/* ---- Bokning + estimator (högerkolumnen) ---- */
.dashboard-leads{display:grid;gap:16px;margin-top:16px}
.booking-card{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;justify-content:space-between;padding:18px 20px}
.booking-main{min-width:0;flex:1 1 220px}
.booking-main h3{margin:6px 0 2px;font-size:18px}
.booking-text{margin:0;color:var(--text-secondary);font-size:14px}
.booking-badge{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--text-secondary)}
.booking-badge .pulse-dot{position:relative}
.booking-badge--open .pulse-dot{background:#3ddc97;box-shadow:0 0 0 0 rgba(61,220,151,.6);animation:bookingPulse 2s infinite}
.booking-badge--limited .pulse-dot{background:#ffc857}
.booking-badge--closed .pulse-dot{background:#ff6b6b}
@keyframes bookingPulse{0%{box-shadow:0 0 0 0 rgba(61,220,151,.55)}70%{box-shadow:0 0 0 9px rgba(61,220,151,0)}100%{box-shadow:0 0 0 0 rgba(61,220,151,0)}}
@media (prefers-reduced-motion:reduce){.booking-badge--open .pulse-dot{animation:none}}
.booking-btn{white-space:nowrap}

.estimator{padding:20px}
.estimator-head h3{margin:0 0 4px;font-size:18px}
.estimator-head p{margin:0 0 14px;color:var(--text-secondary);font-size:14px}
.estimator-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media (max-width:640px){.estimator-list{grid-template-columns:1fr}}
.estimator-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;cursor:pointer;
  border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03);font-size:13px;transition:border-color .15s,background .15s}
.estimator-item:hover{border-color:rgba(255,255,255,.22)}
.estimator-item input{position:absolute;opacity:0;pointer-events:none}
.estimator-box{flex:0 0 18px;height:18px;border-radius:5px;border:1.5px solid rgba(255,255,255,.35);display:grid;place-items:center}
.estimator-item input:checked + .estimator-box{background:linear-gradient(135deg,var(--accent-start),var(--accent-end));border-color:transparent}
.estimator-item input:checked + .estimator-box::after{content:"✓";font-size:12px;color:#fff;line-height:1}
.estimator-item.is-checked{border-color:rgba(255,91,189,.6);background:rgba(255,91,189,.08)}
.estimator-item input:focus-visible + .estimator-box{outline:2px solid var(--accent-end);outline-offset:2px}
.estimator-total{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.1)}
.estimator-total-label{font-size:13px;color:var(--text-secondary)}
.estimator-total strong{font-size:20px}
.estimator-note{margin:6px 0 14px;font-size:12px;color:var(--text-muted)}
.estimator-cta[disabled]{opacity:.45;cursor:not-allowed}

/* Modalfönster (delas av estimator och bokning) */
.lead-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:1px solid rgba(255,255,255,.14);
  border-radius:18px;background:#12142a;color:var(--text-primary);overflow:auto}
.lead-dialog--wide{width:min(900px,calc(100vw - 32px))}
.lead-dialog::backdrop{background:rgba(3,4,14,.72);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.lead-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.1)}
.lead-dialog-head strong{font-size:17px}
.lead-dialog-link{font-size:13px;margin-right:12px;color:var(--text-secondary)}
.lead-dialog-close{border:0;background:none;color:inherit;font-size:26px;line-height:1;cursor:pointer;padding:0 4px}
.lead-form{padding-bottom:18px}
.lead-summary{margin:16px 20px 0;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);font-size:14px}
.lead-summary ul{margin:0 0 8px;padding-left:18px}
.lead-summary-total{margin:0;font-weight:700}
.lead-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 20px 0}
.lead-grid label{display:grid;gap:6px;font-size:13px;color:var(--text-secondary)}
.lead-full{grid-column:1/-1}
@media (max-width:560px){.lead-grid{grid-template-columns:1fr}}
.lead-grid input,.lead-grid textarea{width:100%;padding:10px 12px;font:inherit;color:var(--text-primary);border-radius:12px;
  border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06)}
.lead-grid input:focus,.lead-grid textarea:focus{outline:2px solid var(--accent-end);outline-offset:1px}
.lead-msg{margin:12px 20px 0;min-height:20px;font-size:14px;color:var(--text-secondary)}
.lead-msg.is-error{color:#ff8a8a}
.lead-actions{display:flex;justify-content:flex-end;gap:10px;padding:8px 20px 0}
.booking-frame{display:block;width:100%;height:min(680px,calc(100vh - 110px));border:0;background:#fff}
.lead-dialog{margin:auto}
.lead-dialog[open]{position:fixed;top:0;right:0;bottom:0;left:0}
.lead-actions .btn:not(.btn-primary){background:rgba(255,255,255,.08);color:var(--text-primary);border:1px solid rgba(255,255,255,.16)}

/* ---- Utvalda projekt med skärmdump ---- */
body[data-page="dashboard"] .dashboard-featured--shots .dashboard-project{padding:0;overflow:hidden}
body[data-page="dashboard"] .dashboard-featured--shots .dashboard-project > :not(.dashboard-project-shot){margin-left:16px;margin-right:16px}
body[data-page="dashboard"] .dashboard-featured--shots .dashboard-project-top{margin-top:14px}
body[data-page="dashboard"] .dashboard-featured--shots .dashboard-project-actions{padding-bottom:16px}
.dashboard-project-shot{display:block;aspect-ratio:16/10;overflow:hidden;background:#0d1020;border-bottom:1px solid rgba(255,255,255,.08)}
.dashboard-project-shot img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .5s ease}
.dashboard-project:hover .dashboard-project-shot img{transform:scale(1.04)}
.dashboard-project-shot.is-empty{display:grid;place-items:center;background:linear-gradient(135deg,rgba(255,91,189,.25),rgba(116,106,255,.25))}
.dashboard-project-shot.is-empty span{font-size:2.2rem;font-weight:800;letter-spacing:.04em;opacity:.7}
@media (prefers-reduced-motion:reduce){.dashboard-project:hover .dashboard-project-shot img{transform:none}}
.dashboard-project-shot{aspect-ratio:16/9;color:inherit;text-decoration:none}
.dashboard-project-shot.is-empty span{color:var(--text-primary);text-decoration:none}

/* ---- Välkomstkort (hero) ---- */
body[data-page="dashboard"] .profile-card.hero{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,340px);gap:clamp(20px,3vw,36px);align-items:center;
  padding:clamp(20px,3vw,34px)}
.hero-eyebrow{margin:0 0 8px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted)}
.hero-title{margin:0 0 10px;font-size:clamp(32px,4vw,46px);line-height:1.05}
.hero-lead{margin:0 0 16px;font-size:clamp(16px,1.5vw,18px);line-height:1.55;color:var(--text-primary);max-width:56ch}
.hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.hero-body p{margin:0 0 10px;font-size:14.5px;line-height:1.6;color:var(--text-secondary);max-width:60ch}
.hero-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin:18px 0;padding:14px 0;
  border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}
.hero-facts div{min-width:0}
.hero-facts dt{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);margin:0 0 3px}
.hero-facts dd{margin:0;font-size:14px;font-weight:600}
.hero-cta{display:flex;flex-wrap:wrap;gap:10px}
.hero-photos{position:relative;padding:44px 0 0;display:flex;flex-direction:column;align-self:stretch;justify-content:center;align-items:flex-end;gap:0}
.hero-photo{margin:0;border-radius:20px;overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.14)}
.hero-photo img{display:block;width:100%;height:100%;object-fit:cover}
.hero-photo--main{aspect-ratio:4/5;width:80%;margin:0}
.hero-photo--second{position:relative;align-self:flex-start;width:34%;aspect-ratio:1/1;margin:-17% 0 0 0;border:4px solid #14172c;border-radius:18px}
@media (max-width:700px){
  body[data-page="dashboard"] .profile-card.hero{grid-template-columns:1fr}
  .hero-photos{max-width:340px;margin:0 auto;width:100%}
}
@media (max-width:560px){.hero-facts{grid-template-columns:1fr}}
.hero-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.hero-facts div:last-child{grid-column:1/-1}

/* Reservlösningar för äldre webbläsare */
@supports not (aspect-ratio: 1 / 1){
  .dashboard-project-shot{height:180px}
  .hero-photo--main{height:360px}
  .hero-photo--second{height:200px}
}

/* ---- Högerkolumn: Så börjar vi + Teknik ---- */
.start-card,.tech-card{padding:18px 20px}
.start-title{margin:0 0 12px;font-size:15px;letter-spacing:.02em}
.start-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.start-steps li{display:flex;gap:12px;align-items:flex-start}
.start-steps li>div{display:grid;gap:2px;min-width:0}
.start-steps strong{font-size:14px}
.start-steps li span:not(.start-num){font-size:13px;line-height:1.45;color:var(--text-secondary)}
.start-num{flex:0 0 28px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;
  background:linear-gradient(135deg,#ff5bbd,#746aff);color:#fff}
.tech-row{display:flex;gap:10px;align-items:flex-start;padding:6px 0}
.tech-group{flex:0 0 72px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);padding-top:5px}
.tech-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.tech-chips li{padding:3px 10px;border-radius:999px;font-size:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}

/* Hero-kortet fyller hela vänsterkolumnens höjd (ingen tom yta under) */
@media (min-width:981px){
  body[data-page="dashboard"] .dashboard-grid{align-items:stretch}
  body[data-page="dashboard"] .dashboard-grid>div:first-child{display:flex}
  body[data-page="dashboard"] .dashboard-grid>div:first-child>.profile-card{flex:1 1 auto}
}
/* FAQ */
.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-top:6px}
.faq-item{border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.03);padding:0 16px}
.faq-item summary{cursor:pointer;list-style:none;padding:14px 22px 14px 0;font-weight:600;font-size:14.5px;position:relative}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:20px;color:var(--text-muted);line-height:1}
.faq-item[open] summary::after{content:"\2212"}
.faq-item p{margin:0 0 14px;font-size:14px;line-height:1.6;color:var(--text-secondary)}
.faq-cta{margin:16px 0 0;font-size:14px;color:var(--text-secondary)}
@media (max-width:760px){.faq-grid{grid-template-columns:1fr}}
.faq-cta a{color:var(--accent-end,#9aa6ff);text-decoration:underline;text-underline-offset:3px}

.hero-photo--second img{object-position:center 30%}

/* Hero: profilbilden (selfie) först, porträttet längre ner, texten högst upp */
@media (min-width:981px){body[data-page="dashboard"] .profile-card.hero{align-items:start}}
.profile-card.hero .hero-photos{padding:0;align-items:flex-start;justify-content:flex-start;gap:22px;align-self:start}
.profile-card.hero .hero-photos .hero-photo--second{order:-1;position:relative;width:min(58%,200px);aspect-ratio:1/1;margin:0;align-self:flex-start;border:4px solid #14172c;border-radius:22px}
.profile-card.hero .hero-photos .hero-photo--main{order:1;width:100%;aspect-ratio:5/4;margin:0}
.profile-card.hero .hero-photos .hero-photo--main img{object-position:center 30%}
@media (min-width:701px) and (max-width:1100px){
  .profile-card.hero .hero-photos{flex-direction:row;align-items:flex-start;gap:16px}
  .profile-card.hero .hero-photos .hero-photo--second{width:170px;flex:0 0 170px}
  .profile-card.hero .hero-photos .hero-photo--main{flex:1 1 auto;width:auto;aspect-ratio:5/4}
}
@media (max-width:700px){.profile-card.hero .hero-photos{max-width:none}.profile-card.hero .hero-photos .hero-photo--second{width:min(46%,170px)}}
