:root{
  --navy:#073b6f;
  --blue:#1164a3;
  --ice:#eef6fb;
  --bg:#f7f9fc;
  --text:#14243a;
  --muted:#68778c;
  --line:#dbe4ed;
  --green:#118363;
  --amber:#8a6500;
  --red:#b33a32;
  --white:#fff;
  --shadow:0 10px 32px rgba(7,59,111,.08);
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
}

button,
input,
select,
textarea{
  font:inherit;
}

button{
  cursor:pointer;
}

.topbar{
  position:sticky;
  top:0;
  z-index:30;
  height:68px;
  display:flex;
  align-items:center;
  gap:20px;
  padding:0 26px;
  background:#fff;
  border-bottom:1px solid var(--line);
}

.brandbutton{
  border:0;
  background:transparent;
  padding:0;
}

/* Samvigo v8.6.0 – mails og kommunikation */
.communication-grid{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);
  gap:20px;
  align-items:start
}

.communication-side-panel{
  position:sticky;
  top:88px
}

.communication-side-panel hr{
  border:0;
  border-top:1px solid #dbe4ed;
  margin:24px 0
}

.communication-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px
}

.communication-preview{
  margin-top:8px;
  padding:24px;
  border:1px solid #cbd9e7;
  border-radius:16px;
  background:#f4f7fb
}

.communication-preview-card{
  max-width:640px;
  margin:auto;
  padding:26px;
  border:1px solid #dbe4ed;
  border-radius:16px;
  background:#fff
}

.communication-preview-card img{width:170px;max-width:65%;height:auto;margin-bottom:18px}
.communication-preview-card h3{font-size:26px;color:#073b6f}
.communication-preview-card p{line-height:1.7}

.communication-editor-field{
  display:flex;
  flex-direction:column;
}

.communication-editor-label{
  margin-bottom:6px;
  font-size:13px;
  font-weight:800;
}

.communication-rich-editor{
  min-height:280px;
  max-height:620px;
  overflow:auto;
}

.communication-rich-editor:empty::before{
  content:attr(data-placeholder);
  color:#8794a5;
  pointer-events:none;
}

.communication-rich-editor h2,
.communication-preview-content h2{
  margin:1.2em 0 .45em;
  color:#073b6f;
  font-size:24px;
  line-height:1.25;
}

.communication-rich-editor p,
.communication-preview-content p{
  margin:.6em 0;
  line-height:1.7;
}

.communication-rich-editor ul,
.communication-preview-content ul{
  margin:.7em 0;
  padding-left:24px;
}

.communication-rich-editor img,
.communication-preview-content img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  margin:18px auto;
  border-radius:12px;
}

.communication-editor-help{
  margin:8px 0 0;
  font-size:13px;
  font-weight:400;
}

.communication-image-tool{
  display:inline-flex;
}

.mailing-list{
  display:grid;
  gap:12px
}

.mailing-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:15px 0;
  border-bottom:1px solid #dbe4ed
}

.mailing-row:last-child{border-bottom:0}
.mailing-row h4{margin:0 0 5px;color:#073b6f}
.mailing-row p{margin:0;color:#68778c;font-size:13px;line-height:1.5}

.mailing-status{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:5px 9px;
  background:#eef6fb;
  color:#073b6f;
  font-size:12px;
  font-weight:800
}

.mailing-status.completed{background:#e7f6ec;color:#176b47}
.mailing-status.failed,.mailing-status.cancelled{background:#f9e8e8;color:#a73333}
.mailing-status.scheduled{background:#fff4d6;color:#7a5900}

@media(max-width:900px){
  .communication-grid{grid-template-columns:1fr}
  .communication-side-panel{position:static}
}

@media(max-width:640px){
  .communication-actions button{width:100%}
  .mailing-row{grid-template-columns:1fr}
}


/* Samvigo v8.5.0 – samlet resultatkontrol og låsehistorik. */
.result-control-panel{
  min-width:0;
}

.result-summary-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:16px 0 12px;
}

.result-summary-grid > div{
  min-width:0;
  padding:14px;
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--ice);
}

.result-summary-grid strong,
.result-summary-grid span{
  display:block;
}

.result-summary-grid strong{
  overflow:hidden;
  color:var(--navy);
  font-size:20px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.result-summary-grid span{
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}

.result-lock-notice{
  border-color:#bce1d4;
  background:#f3fbf8;
}

.result-entry-list{
  display:grid;
  gap:9px;
  margin-top:14px;
}

.result-entry-row{
  display:grid;
  grid-template-columns:minmax(150px,1fr) minmax(190px,.8fr) minmax(125px,.55fr);
  gap:14px;
  align-items:center;
  margin:0;
  padding:12px 13px;
  border:1px solid var(--line);
  border-left:4px solid #d4a62a;
  border-radius:13px;
  background:#fff;
}

.result-entry-row.is-complete{
  border-left-color:#19a178;
}

.result-entry-person strong,
.result-entry-person small,
.result-entry-status small{
  display:block;
}

.result-entry-person strong{
  color:var(--navy);
}

.result-entry-person small,
.result-entry-status small{
  margin-top:3px;
  color:var(--muted);
  font-size:11px;
  font-weight:600;
}

.result-entry-field{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.result-entry-field input{
  min-width:0;
  margin:0;
}

.result-entry-field > span{
  flex:0 0 auto;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.result-entry-status{
  min-width:0;
  text-align:right;
}

.result-save-actions{
  margin-top:14px;
}

.result-lock-history{
  margin-top:18px;
  border-top:1px solid var(--line);
  padding-top:14px;
}

.result-lock-history summary{
  color:var(--navy);
  font-weight:800;
  cursor:pointer;
}

.result-lock-history-list{
  display:grid;
  gap:9px;
  margin-top:12px;
}

.result-lock-history-list article{
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f8fbfd;
}

.result-lock-history-list strong,
.result-lock-history-list span,
.result-lock-history-list small{
  display:block;
}

.result-lock-history-list span,
.result-lock-history-list small{
  margin-top:3px;
  color:var(--muted);
}

.result-lock-history-list p{
  margin:9px 0 0;
}

.result-lock-history-list .result-lock-active{
  color:#087557;
  font-weight:800;
}

@media(max-width:760px){
  .result-summary-grid{
    grid-template-columns:1fr;
  }

  .result-entry-row{
    grid-template-columns:1fr;
    gap:9px;
  }

  .result-entry-status{
    text-align:left;
  }
}

/* Samvigo v8.3.0 – kampagneguide og offentliggørelseskontrol */
.campaign-wizard-steps{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  padding:0;
  margin:0 0 24px;
  list-style:none;
}
.campaign-wizard-steps li{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  padding:11px 12px;
  border:1px solid #d7e2ed;
  border-radius:13px;
  color:#61738a;
  background:#f8fbfd;
}
.campaign-wizard-steps li span{
  display:grid;
  place-items:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  border-radius:50%;
  color:#06467e;
  background:#e8f2f8;
  font-weight:800;
}
.campaign-wizard-steps li strong{overflow:hidden;text-overflow:ellipsis}
.campaign-wizard-steps li.active{
  border-color:#0b5c96;
  color:#063e72;
  background:#edf6fb;
}
.campaign-wizard-steps li.completed span{
  color:#fff;
  background:#12966f;
}
.campaign-wizard-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  margin-top:20px;
}
.campaign-wizard-actions #campaignAutosaveStatus{margin-right:auto}
.campaign-create-preview{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  gap:16px;
  margin-top:20px;
}
.campaign-preview-card,
.campaign-publication-check{
  padding:20px;
  border:1px solid #d4e1ec;
  border-radius:16px;
  background:linear-gradient(145deg,#fff,#f3f8fb);
}
.campaign-preview-card h3,
.campaign-publication-check h3{margin:6px 0 10px}
.campaign-preview-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.campaign-preview-meta span{
  padding:7px 10px;
  border-radius:999px;
  color:#31556f;
  background:#eaf3f8;
  font-size:.9rem;
}
.campaign-readiness-list{display:grid;gap:8px}
.campaign-readiness-item{
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:9px 11px;
  border-radius:11px;
  background:#fff6e7;
  color:#805400;
}
.campaign-readiness-item>span{
  display:grid;
  place-items:center;
  flex:0 0 22px;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#f4cb73;
  font-weight:900;
}
.campaign-readiness-item.ready{color:#086349;background:#e8f7f1}
.campaign-readiness-item.ready>span{color:#fff;background:#15966f}
.campaign-readiness-item small{display:block;margin-top:3px;color:inherit;font-weight:400}
.campaign-publication-check{background:#fff8ea}
.campaign-publication-check.ready{border-color:#9bd7c3;background:#eefaf6}

@media (max-width:900px){
  .campaign-wizard-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .campaign-create-preview{grid-template-columns:1fr}
}
@media (max-width:560px){
  .campaign-wizard-steps{grid-template-columns:1fr}
  .campaign-wizard-actions{align-items:stretch;flex-direction:column}
  .campaign-wizard-actions #campaignAutosaveStatus{margin-right:0}
}

.samvigo-brand{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  padding:0;
  overflow:visible;
  background:transparent!important;
}

.samvigo-brand-logo{
  display:flex;
  align-items:center;
  width:194px;
  height:54px;
}

.samvigo-brand-logo img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:contain;
}

.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.topbar nav{
  display:flex;
  gap:4px;
}

.topbar nav button,
.topbar nav a,
.account button,
.account a{
  border:0;
  background:transparent;
  padding:9px 11px;
  border-radius:9px;
  font-weight:700;
  color:var(--text);
  text-decoration:none;
}

.topbar nav button:hover,
.topbar nav a:hover,
.account button:hover,
.account a:hover{
  background:var(--ice);
  color:var(--navy);
}

.mobile-menu-open{
  display:none;
}

.account-link{
  margin-left:auto;
}

.topbar [aria-current="page"]{
  background:var(--ice);
  color:var(--navy);
}

.workspace-public-link{
  margin-left:10px;
  padding:9px 12px;
  border:0;
  border-radius:9px;
  color:var(--navy);
  background:var(--ice);
  font-weight:800;
}

body.workspace-mode .topbar nav{
  display:none;
}

body.workspace-mode .workspace-public-link{
  display:inline-flex!important;
}

body.workspace-mode .account-dashboard-link{
  display:none;
}

.account{
  display:flex;
  align-items:center;
  gap:6px;
  margin-left:auto;
}

.account #hello{
  font-size:13px;
  color:var(--muted);
}

.account-dropdown{
  position:relative;
}

.account-dropdown summary{
  list-style:none;
  cursor:pointer;
  padding:9px 12px;
  border-radius:9px;
  color:var(--navy);
  background:var(--ice);
  font-weight:800;
  white-space:nowrap;
}

.account-dropdown summary::-webkit-details-marker{
  display:none;
}

.account-dropdown summary::after{
  content:'▾';
  margin-left:7px;
  font-size:11px;
}

.account-dropdown[open] summary::after{
  content:'▴';
}

.account-dropdown-panel{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  z-index:60;
  display:flex;
  min-width:190px;
  padding:8px;
  flex-direction:column;
  gap:2px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 18px 45px rgba(7,59,111,.16);
}

.account-dropdown-panel a,
.account-dropdown-panel button{
  display:block;
  width:100%;
  padding:10px 11px!important;
  border:0;
  border-radius:9px;
  background:transparent;
  color:var(--text);
  font-weight:750;
  text-align:left;
  text-decoration:none;
}

.account-dropdown-panel a:hover,
.account-dropdown-panel button:hover,
.account-dropdown-panel [aria-current="page"]{
  background:var(--ice);
  color:var(--navy);
}

button.primary,
.primary{
  border:0;
  background:var(--navy)!important;
  color:#fff!important;
  padding:11px 15px;
  border-radius:10px;
  font-weight:800;
  text-decoration:none;
  display:inline-block;
}

button.secondary,
.secondary{
  display:inline-block;
  border:0;
  background:var(--ice)!important;
  color:var(--navy)!important;
  padding:11px 15px;
  border-radius:10px;
  font-weight:800;
  text-decoration:none;
}


/* =========================
   SIDEOPBYGNING
   ========================= */

.shell{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  min-height:calc(100vh - 68px);
}

/*
  Den offentlige forside kan også besøges af en indlogget bruger.
  Her må administrationsmenuen ikke ligge ved siden af den offentlige side.
*/
.shell.public-mode{
  grid-template-columns:minmax(0,1fr);
}

.shell.public-mode #sidebar{
  display:none!important;
}

.shell.public-mode main{
  grid-column:1 / -1;
}

/*
  Når brugeren IKKE er logget ind, har sidebar klassen "hidden".
  Derfor skal main bruge hele bredden.
*/
#sidebar.hidden + main{
  grid-column:1 / -1;
}

aside{
  background:#fff;
  border-right:1px solid var(--line);
  padding:22px 14px;
}

aside button{
  display:block;
  width:100%;
  border:0;
  background:transparent;
  text-align:left;
  padding:12px;
  border-radius:9px;
  margin-bottom:5px;
  font-weight:700;
}

aside button:hover{
  background:var(--ice);
  color:var(--navy);
}

aside button.active{
  background:var(--navy);
  color:#fff;
}

.sidebar-group{
  margin-top:22px;
}

.sidebar-group:first-of-type{
  margin-top:18px;
}

.sidebar-label{
  display:block;
  padding:0 12px 7px;
  color:var(--muted);
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}


/* =========================
   HOVEDINDHOLD
   ========================= */

main{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:30px;
}

.view{
  display:none;
}

.view.active{
  display:block;
}


/* =========================
   FORSIDE / HERO
   ========================= */

.hero{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);
  gap:38px;
  align-items:center;
  overflow:hidden;
  position:relative;
  background:
    radial-gradient(circle at 92% 8%,rgba(17,100,163,.13),transparent 34%),
    linear-gradient(135deg,#fff 0%,#f4faff 60%,#e9f5fd 100%);
  border:1px solid var(--line);
  border-radius:24px;
  padding:52px;
  box-shadow:var(--shadow);
}

.hero::after{
  content:"";
  position:absolute;
  right:-95px;
  bottom:-120px;
  width:290px;
  height:290px;
  border:42px solid rgba(17,100,163,.06);
  border-radius:50%;
  pointer-events:none;
}

.hero-copy,
.hero-proof{
  position:relative;
  z-index:1;
}

.hero h1{
  font-size:58px;
  line-height:1.02;
  letter-spacing:-.035em;
  margin:9px 0 18px;
  color:var(--navy);
  max-width:700px;
}

.hero .hero-lead{
  margin:0;
  font-size:19px;
  line-height:1.65;
  color:var(--muted);
  max-width:700px;
}

.hero-actions{
  margin-top:26px;
}

.hero-actions .primary,
.hero-actions .secondary{
  padding:14px 19px;
}

.hero-quicklinks{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
  color:var(--muted);
  font-size:13px;
}

.hero-quicklinks button{
  padding:0;
  border:0;
  color:var(--navy);
  background:transparent;
  font-weight:800;
  text-decoration:underline;
  text-decoration-color:#aac8df;
  text-underline-offset:3px;
}

.hero-proof{
  padding:24px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(219,228,237,.9);
  border-radius:20px;
  box-shadow:0 18px 45px rgba(7,59,111,.10);
  backdrop-filter:blur(8px);
}

.hero-proof-heading{
  margin-bottom:15px;
}

.hero-proof-heading strong,
.hero-proof-heading span{
  display:block;
}

.hero-proof-heading strong{
  color:var(--navy);
  font-size:18px;
}

.hero-proof-heading span{
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
}

.hero-cards{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

.hero-cards div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:15px 16px;
}

.hero-cards b{
  display:block;
  flex:0 0 auto;
  font-size:25px;
  color:var(--navy);
}

.hero-cards span{
  text-align:right;
  font-size:12px;
  color:var(--muted);
}


/* =========================
   FORSIDENS BRUGERREJSER
   ========================= */

.audience-section,
.journey-section{
  margin-top:30px;
  padding:42px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
}

.public-section-heading{
  max-width:760px;
  margin:0 auto 27px;
  text-align:center;
}

.public-section-heading h2,
.journey-intro h2{
  margin:8px 0 12px;
  color:var(--navy);
  font-size:34px;
  line-height:1.15;
  letter-spacing:-.02em;
}

.public-section-heading p,
.journey-intro p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.audience-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.audience-card{
  position:relative;
  min-height:255px;
  padding:25px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#f9fbfd;
}

.audience-card-highlight{
  background:var(--ice);
  border-color:#c8ddeb;
}

.audience-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:12px;
  color:var(--navy);
  background:#fff;
  border:1px solid var(--line);
  font-size:12px;
  font-weight:900;
}

.audience-card h3{
  margin:18px 0 9px;
  color:var(--navy);
  font-size:21px;
}

.audience-card p{
  margin:0 0 22px;
  color:var(--muted);
  line-height:1.58;
}

.audience-card a,
.audience-card button{
  position:absolute;
  left:25px;
  bottom:23px;
  padding:0;
  border:0;
  color:var(--navy);
  background:transparent;
  font-weight:850;
  text-decoration:none;
}

.audience-card a::after,
.audience-card button::after{
  content:" →";
}

.journey-section{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(440px,1.15fr);
  gap:42px;
  align-items:center;
  background:linear-gradient(145deg,#073b6f,#0a4a83);
  color:#fff;
}

.journey-intro .eyebrow{
  color:#9bd8ff;
}

.journey-intro h2{
  color:#fff;
}

.journey-intro p{
  color:#d9e9f5;
}

.journey-intro .secondary{
  margin-top:22px;
  background:#fff!important;
}

.journey-steps{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}

.journey-steps li{
  display:flex;
  gap:13px;
  min-height:145px;
  padding:19px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:16px;
  background:rgba(255,255,255,.08);
}

.journey-steps > li > span{
  display:flex;
  flex:0 0 34px;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  color:var(--navy);
  background:#fff;
  font-weight:900;
}

.journey-steps h3{
  margin:4px 0 7px;
  color:#fff;
  font-size:16px;
}

.journey-steps p{
  margin:0;
  color:#d9e9f5;
  font-size:13px;
  line-height:1.5;
}

.outcome-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  overflow:hidden;
  margin-top:30px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:18px;
}

.outcome-strip div{
  padding:24px;
  background:#fff;
}

.outcome-strip strong,
.outcome-strip span{
  display:block;
}

.outcome-strip strong{
  margin-bottom:7px;
  color:var(--navy);
}

.outcome-strip span{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}


/* =========================
   PRISER
   ========================= */

.pricing-section{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(520px,1.15fr);
  gap:28px;
  align-items:center;
  margin-top:30px;
  padding:34px;
  scroll-margin-top:95px;
  background:var(--navy);
  color:#fff;
  border-radius:22px;
  box-shadow:var(--shadow);
}

.pricing-section .eyebrow{
  color:#8ed2ff;
}

.pricing-section h2{
  margin:8px 0 12px;
  color:#fff;
}

.pricing-copy p{
  margin:0;
  color:#d7e8f5;
  line-height:1.65;
}

.pricing-card{
  padding:24px;
  color:var(--text);
  background:#fff;
  border-radius:18px;
}

.pricing-rate{
  text-align:center;
}

.pricing-rate > span,
.pricing-limits span{
  display:block;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}

.pricing-rate > strong{
  display:block;
  margin:3px 0;
  color:var(--navy);
  font-size:52px;
  line-height:1;
}

.pricing-rate small,
.pricing-limits small{
  color:var(--muted);
}

.pricing-limits{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:20px;
}

.pricing-limits > div{
  padding:16px;
  text-align:center;
  background:var(--ice);
  border-radius:13px;
}

.pricing-limits strong{
  display:block;
  margin:4px 0;
  color:var(--navy);
  font-size:24px;
}

.pricing-vat{
  margin:18px 0 0;
  padding-top:16px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
  text-align:center;
  border-top:1px solid var(--line);
}


/* =========================
   KOM GODT I GANG
   ========================= */

.onboarding-panel{
  margin-bottom:20px;
  padding:28px;
  overflow:hidden;
  border-color:#b9d8ee;
  background:linear-gradient(135deg,#fff 0%,#eef7fd 100%);
}

.onboarding-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);
  gap:30px;
  align-items:start;
}

.onboarding-heading h2{
  margin:5px 0 8px;
  color:var(--navy);
}

.onboarding-heading p{
  max-width:620px;
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.onboarding-steps{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.onboarding-steps li{
  display:flex;
  gap:11px;
  align-items:center;
  min-height:76px;
  padding:13px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.75);
}

.onboarding-steps li > span{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--ice);
  color:var(--navy);
  font-weight:900;
}

.onboarding-steps li strong,
.onboarding-steps li small{
  display:block;
}

.onboarding-steps li small{
  margin-top:3px;
  color:var(--muted);
  line-height:1.35;
}

.onboarding-steps li.active{
  border-color:#74add3;
  background:#fff;
  box-shadow:0 8px 22px rgba(7,59,111,.08);
}

.onboarding-steps li.active > span{
  background:var(--navy);
  color:#fff;
}

.onboarding-steps li.completed > span{
  background:var(--green);
  color:#fff;
}

.onboarding-content{
  margin-top:24px;
  padding-top:24px;
  border-top:1px solid #cfe0ed;
}

.onboarding-content h3{
  margin-top:0;
  color:var(--navy);
}

.onboarding-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.onboarding-ready{
  display:flex;
  gap:15px;
  align-items:flex-start;
  margin-bottom:18px;
}

.onboarding-check{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#def3eb;
  color:var(--green);
  font-size:24px;
  font-weight:900;
}

.campaign-create-guide{
  margin-bottom:18px;
  line-height:1.6;
}


/* =========================
   DASHBOARD-GENVEJE
   ========================= */

.dashboard-shortcuts{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin-bottom:20px;
}

.dashboard-shortcut{
  min-height:118px;
  display:flex;
  flex-direction:column;
  gap:7px;
  align-items:flex-start;
  padding:17px;
  text-align:left;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  box-shadow:var(--shadow);
}

.dashboard-shortcut:hover{
  border-color:#9fc8e5;
  transform:translateY(-1px);
}

.dashboard-shortcut strong{
  color:var(--navy);
  line-height:1.3;
}

.dashboard-shortcut span{
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}


/* =========================
   ORGANISATIONSOVERSIGT
   ========================= */

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

.organization-card{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow);
}

.organization-card.active{
  border-color:#74add3;
  box-shadow:0 12px 32px rgba(7,59,111,.12);
}

.organization-card-head{
  display:flex;
  gap:15px;
  align-items:center;
}

.organization-card-head h3{
  margin:8px 0 3px;
  color:var(--navy);
}

.organization-card-head p{
  margin:0;
  color:var(--muted);
}

.organization-card-logo{
  width:68px;
  height:68px;
  flex:0 0 68px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}

.organization-card-logo img{
  width:100%;
  height:100%;
  padding:7px;
  object-fit:contain;
}

.organization-card-logo span{
  color:var(--navy);
  font-size:28px;
  font-weight:900;
}

.organization-card-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}

.organization-card-stats span{
  padding:11px 8px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
  border-radius:11px;
  background:var(--ice);
}

.organization-card-stats b{
  display:block;
  margin-bottom:2px;
  color:var(--navy);
  font-size:18px;
}

.organization-editor{
  margin-top:22px;
  border-color:#b9d8ee;
}

.organization-wizard-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:0 0 24px;
  padding:0;
  list-style:none;
}

.organization-wizard-steps li{
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
}

.organization-wizard-steps li span{
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:var(--navy);
  background:var(--ice);
  font-weight:900;
}

.organization-wizard-steps li.active{
  color:var(--navy);
  border-color:#74add3;
  background:#f7fbfe;
}

.organization-wizard-steps li.active span{
  color:#fff;
  background:var(--navy);
}

.organization-wizard-steps li.completed span{
  color:#fff;
  background:var(--green);
}

.organization-wizard-panel{
  min-height:235px;
}

.organization-wizard-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid var(--line);
}

.organization-logo-preview{
  display:block;
  width:max-content;
  margin-top:12px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}

.organization-logo-preview img{
  display:block;
  width:180px;
  height:90px;
  object-fit:contain;
}

.organization-empty{
  grid-column:1 / -1;
  padding:34px;
}

.invite-status{
  display:inline-block;
  margin:5px 0 0 6px;
  padding:4px 8px;
  border-radius:999px;
  color:var(--muted);
  background:var(--ice);
  font-size:11px;
  font-weight:800;
}

.invite-status-accepted{
  color:#0c674e;
  background:#def3eb;
}

.invite-status-expired,
.invite-status-revoked{
  color:#7a4d00;
  background:#fff0c7;
}

.section-jump-nav{
  position:sticky;
  top:78px;
  z-index:18;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 16px;
  padding:10px;
  background:rgba(255,255,255,.96);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(8px);
}

.section-jump-nav button{
  padding:9px 11px;
  border:0;
  border-radius:9px;
  color:var(--navy);
  background:var(--ice);
  font-size:13px;
  font-weight:800;
}

.section-jump-nav button:hover{
  color:#fff;
  background:var(--navy);
}

.section-jump-target,
#manageHeader,
#campaignSettings,
#liveEventAdmin,
#campaignDangerPanel{
  scroll-margin-top:150px;
}


/* =========================
   MOBILMENU
   ========================= */

body.mobile-menu-visible{
  overflow:hidden;
}

.mobile-menu{
  position:fixed;
  inset:0;
  z-index:90;
  display:flex;
  justify-content:flex-end;
  background:rgba(6,20,35,.58);
}

.mobile-menu-panel{
  position:relative;
  width:min(390px,92vw);
  height:100%;
  overflow:auto;
  padding:26px 20px 40px;
  background:#fff;
  box-shadow:-16px 0 50px rgba(7,59,111,.2);
}

.mobile-menu-close{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:var(--ice);
  color:var(--navy);
  font-size:25px;
}

.mobile-menu-title{
  display:block;
  padding:5px 48px 18px 2px;
  color:var(--navy);
  font-size:25px;
}

.mobile-menu-group{
  padding:16px 0;
  border-top:1px solid var(--line);
}

.mobile-menu-group > span{
  display:block;
  margin:0 8px 7px;
  color:var(--muted);
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.mobile-menu-group button,
.mobile-menu-group a{
  width:100%;
  display:block;
  padding:12px 9px;
  text-align:left;
  border:0;
  border-radius:9px;
  background:transparent;
  color:var(--text);
  font-weight:750;
  text-decoration:none;
}

.mobile-menu-group button:hover,
.mobile-menu-group a:hover{
  background:var(--ice);
  color:var(--navy);
}

.mobile-menu-group .primary{
  margin-top:5px;
  text-align:center;
}

.mobile-menu-section{
  padding:0;
  border-top:1px solid var(--line);
}

.mobile-menu-section summary{
  position:relative;
  list-style:none;
  cursor:pointer;
  padding:18px 36px 18px 8px;
  color:var(--navy);
  font-size:14px;
  font-weight:850;
}

.mobile-menu-section summary::-webkit-details-marker{
  display:none;
}

.mobile-menu-section summary::after{
  content:'▾';
  position:absolute;
  right:10px;
  color:var(--muted);
}

.mobile-menu-section[open] summary::after{
  content:'▴';
}

.mobile-menu-section-items{
  padding:0 0 14px;
}

.mobile-menu-section-items button,
.mobile-menu-section-items a{
  display:block;
  width:100%;
  padding:12px 9px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:var(--text);
  font-weight:750;
  text-align:left;
  text-decoration:none;
}

.mobile-menu-section-items button:hover,
.mobile-menu-section-items a:hover,
.mobile-menu-section-items [aria-current="page"]{
  background:var(--ice);
  color:var(--navy);
}


/* =========================
   OFFENTLIGE INFORMATIONSSIDER
   ========================= */

.public-brand{
  color:var(--navy);
  font-size:29px;
  font-weight:900;
  text-decoration:none;
}

.public-page-main{
  max-width:1120px;
}

.public-page-hero{
  padding:54px;
  text-align:center;
  background:linear-gradient(135deg,#fff,#eaf6ff);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
}

.public-page-hero h1{
  max-width:850px;
  margin:10px auto 16px;
  color:var(--navy);
  font-size:clamp(40px,6vw,66px);
  line-height:1.02;
}

.public-page-hero p{
  max-width:760px;
  margin:0 auto;
  color:var(--muted);
  font-size:19px;
  line-height:1.65;
}

.public-page-hero .actions{
  justify-content:center;
  margin-top:24px;
}

.content-section{
  margin-top:34px;
}

.content-section > .section-intro{
  max-width:760px;
  color:var(--muted);
  line-height:1.65;
}

.flow-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:20px;
}

.flow-column{
  padding:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
}

.flow-column h2{
  color:var(--navy);
}

.step-list{
  list-style:none;
  margin:20px 0 0;
  padding:0;
}

.step-list li{
  position:relative;
  min-height:56px;
  padding:0 0 20px 54px;
}

.step-list li::before{
  content:counter(list-item);
  position:absolute;
  top:0;
  left:0;
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#fff;
  background:var(--navy);
  font-weight:900;
}

.step-list strong{
  display:block;
  margin-bottom:4px;
  color:var(--navy);
}

.step-list span{
  color:var(--muted);
  line-height:1.5;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:20px;
}

.feature-card{
  padding:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
  box-shadow:var(--shadow);
}

.feature-card h3{
  color:var(--navy);
}

.feature-card ul{
  margin:0;
  padding-left:19px;
  color:var(--muted);
  line-height:1.65;
}

.feature-card li + li{
  margin-top:6px;
}

.information-banner{
  margin-top:26px;
  padding:24px;
  border:1px solid #c8dfd1;
  border-radius:18px;
  background:#f1faf5;
}

.information-banner.development{
  border-color:#ead7a7;
  background:#fffaf0;
}

.information-banner h2,
.information-banner h3{
  color:var(--navy);
}

.information-banner p,
.information-banner li{
  color:var(--muted);
  line-height:1.65;
}

.public-cta{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-top:34px;
  padding:28px;
  color:#fff;
  background:var(--navy);
  border-radius:20px;
}

.public-cta h2{
  margin:0 0 6px;
  color:#fff;
}

.public-cta p{
  margin:0;
  color:#d7e8f5;
}

.public-cta .secondary{
  flex:0 0 auto;
}

.legal-layout{
  display:grid;
  grid-template-columns:minmax(210px,.34fr) minmax(0,1fr);
  gap:22px;
  margin-top:28px;
}

.legal-nav,
.legal-article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
}

.legal-nav{
  align-self:start;
  position:sticky;
  top:92px;
  padding:20px;
}

.legal-nav strong{
  display:block;
  margin-bottom:10px;
  color:var(--navy);
}

.legal-nav a{
  display:block;
  padding:9px 0;
  color:var(--navy);
  font-weight:750;
  text-decoration:none;
}

.legal-nav a[aria-current="page"]{
  color:var(--blue);
}

.legal-article{
  padding:30px;
}

.legal-article section + section{
  margin-top:30px;
  padding-top:24px;
  border-top:1px solid var(--line);
}

.legal-article h2,
.legal-article h3{
  color:var(--navy);
}

.legal-article p,
.legal-article li{
  color:var(--muted);
  line-height:1.7;
}

.legal-article a,
.privacy-note a{
  color:var(--blue);
  font-weight:750;
}

.legal-notice{
  padding:17px 19px;
  border:1px solid #ead7a7;
  border-radius:14px;
  background:#fffaf0;
}

.legal-table-wrap{
  overflow-x:auto;
}

.legal-table{
  width:100%;
  border-collapse:collapse;
}

.legal-table th,
.legal-table td{
  padding:12px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid var(--line);
  line-height:1.55;
}

.legal-table th{
  color:var(--navy);
  background:var(--ice);
}

.privacy-note{
  margin:4px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}


/* =========================
   SIDEFOD
   ========================= */

.site-footer{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:28px max(26px,calc((100vw - 1180px)/2));
  background:#fff;
  border-top:1px solid var(--line);
}

.site-footer > div{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.site-footer .footer-brand{
  width:max-content;
  margin-bottom:3px;
}

.site-footer .footer-brand .samvigo-brand-logo{
  width:155px;
  height:44px;
}

.site-footer span{
  color:var(--muted);
  font-size:13px;
}

.site-footer nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  align-items:center;
}

.site-footer a{
  color:var(--navy);
  font-size:13px;
  font-weight:750;
  text-decoration:none;
}

.site-footer a:hover{
  text-decoration:underline;
}


/* =========================
   OVERSKRIFTER
   ========================= */

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  font-weight:900;
  color:var(--blue);
}

h2{
  font-size:31px;
  margin:7px 0 16px;
}

h3{
  margin-top:0;
}

.sectionhead{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:15px;
  margin:30px 0 15px;
}


/* =========================
   KORT
   ========================= */

.cards3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

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

.card,
.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:19px;
  box-shadow:var(--shadow);
}

.card{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.card p{
  color:var(--muted);
  margin:0;
}


/* =========================
   STATUS
   ========================= */

.pill{
  display:inline-flex;
  width:max-content;
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  font-weight:900;
}

.pill.active{
  background:#e4f6ef;
  color:#0b7155;
}

.pill.upcoming{
  background:#fff5cf;
  color:#795b00;
}

.pill.completed{
  background:#edf0f4;
  color:#5f6978;
}


/* =========================
   KAMPAGNENS AFSLUTNINGSCENTER
   ========================= */

.economy-closing-center{
  padding:24px;
  overflow:hidden;
  background:
    radial-gradient(circle at 100% 0,rgba(17,100,163,.12),transparent 36%),
    linear-gradient(145deg,#fff 0%,#f7fbfe 100%);
}

.economy-closing-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}

.economy-closing-head h3{
  margin:5px 0 4px;
  color:var(--navy);
  font-size:27px;
}

.economy-closing-head p{
  margin:0;
}

.closing-state-badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 12px;
  border-radius:999px;
  color:#526276;
  background:#edf1f5;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

.closing-state-badge.waiting{
  color:#6b5605;
  background:#fff1bb;
}

.closing-state-badge.ready,
.closing-state-badge.active{
  color:var(--navy);
  background:#dfeffa;
}

.closing-state-badge.attention{
  color:#94382f;
  background:#ffe6e3;
}

.closing-state-badge.done{
  color:#0c6b51;
  background:#dff4ec;
}

.economy-closing-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:20px;
  padding:20px;
  border:1px solid #cddfea;
  border-left:5px solid var(--blue);
  border-radius:15px;
  background:#fff;
}

.economy-closing-hero.waiting{
  border-left-color:#c39100;
}

.economy-closing-hero.attention{
  border-left-color:var(--red);
  background:#fffafa;
}

.economy-closing-hero.done{
  border-left-color:var(--green);
  background:#f7fcfa;
}

.economy-closing-hero h4{
  margin:4px 0 6px;
  color:var(--navy);
  font-size:21px;
}

.economy-closing-hero p{
  max-width:760px;
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.economy-closing-hero button{
  flex:0 0 auto;
}

.economy-closing-steps{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}

.economy-closing-step{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
  padding:13px;
  border:1px solid var(--line);
  border-radius:13px;
  background:rgba(255,255,255,.82);
}

.economy-closing-step.current{
  border-color:#8db9d7;
  box-shadow:0 0 0 2px rgba(17,100,163,.08);
}

.economy-closing-step.done{
  border-color:#bce1d4;
  background:#f5fbf8;
}

.economy-step-number{
  display:grid;
  place-items:center;
  flex:0 0 29px;
  width:29px;
  height:29px;
  border-radius:50%;
  color:#647386;
  background:#e9eef3;
  font-size:13px;
  font-weight:900;
}

.economy-closing-step.current .economy-step-number{
  color:#fff;
  background:var(--blue);
}

.economy-closing-step.done .economy-step-number{
  color:#fff;
  background:var(--green);
}

.economy-closing-step strong,
.economy-closing-step small{
  display:block;
}

.economy-closing-step strong{
  color:var(--navy);
  font-size:13px;
}

.economy-closing-step small{
  margin-top:3px;
  color:var(--muted);
  font-size:11px;
  line-height:1.35;
}

.economy-closing-metrics{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}

.economy-closing-metrics > div{
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}

.economy-closing-metrics > div.attention{
  border-color:#efc3bd;
  background:#fff8f7;
}

.economy-closing-metrics span,
.economy-closing-metrics strong{
  display:block;
}

.economy-closing-metrics span{
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}

.economy-closing-metrics strong{
  margin-top:3px;
  color:var(--navy);
  font-size:18px;
}

.economy-closing-action{
  margin-top:18px;
}

.economy-status{
  padding:18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}

.economy-status.ready{
  border-color:#bce1d4;
  background:#f7fcfa;
}

.economy-status > strong{
  color:var(--navy);
  font-size:17px;
}

.economy-closing-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line);
}

.economy-closing-links button{
  padding:8px 11px;
  font-size:12px;
}

.economy-jump-section{
  scroll-margin-top:86px;
  transition:border-color .25s ease,box-shadow .25s ease;
}

.economy-jump-highlight{
  border-color:#71a9cf;
  box-shadow:0 0 0 4px rgba(17,100,163,.1),var(--shadow);
}


/* =========================
   STATISTIK
   ========================= */

.stats{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.stats span{
  font-size:12px;
  color:var(--muted);
}

.stats b{
  display:block;
  font-size:18px;
  color:var(--text);
}

.statsgrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:16px;
  margin-bottom:26px;
}

.statbox{
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:18px;
}

.statbox span{
  color:var(--muted);
  font-size:13px;
}

.statbox b{
  display:block;
  color:var(--navy);
  font-size:30px;
  margin-top:5px;
}


/* =========================
   FILTRE
   ========================= */

.filters{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.filters button{
  border:1px solid var(--line);
  background:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-weight:700;
}

.filters button.active{
  background:var(--navy);
  border-color:var(--navy);
  color:#fff;
}


/* =========================
   FORMULARER
   ========================= */

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

.formgrid label,
.panel form label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
  font-weight:800;
}

.formgrid .wide{
  grid-column:1/-1;
}

.pledge-acceptance{
  padding:13px 14px;
  border:1px solid #b9d4e8;
  border-radius:12px;
  background:#f4f9fd;
  line-height:1.5;
}

.pledge-acceptance input{
  flex:0 0 auto;
  margin-top:3px;
}

#pledgeSubmitButton[aria-busy="true"]{
  cursor:wait;
  opacity:.78;
}

input,
select,
textarea{
  width:100%;
  border:1px solid #ced9e4;
  background:#fff;
  border-radius:9px;
  padding:11px;
  color:var(--text);
}

textarea{
  min-height:110px;
  resize:vertical;
}

.divider{
  height:1px;
  background:var(--line);
}

.actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
}


/* =========================
   BESKEDER
   ========================= */

.notice{
  padding:11px 13px;
  border-radius:9px;
  margin-top:12px;
  background:#fff5d8;
  color:#705300;
}

.notice.success{
  background:#e6f7f0;
  color:#146d55;
}

.notice.error{
  background:#fff0ef;
  color:#98362e;
}

.muted{
  color:var(--muted);
}

.summary{
  background:var(--ice);
  border:1px solid #cee1ef;
  border-radius:11px;
  padding:13px;
}


/* =========================
   ADMINISTRATION
   ========================= */

.twocol{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin:16px 0;
}

.live-event-settings{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:start;
}

.live-event-settings .actions{
  justify-content:flex-end;
}

.moderation-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:18px 0;
}

.moderation-summary div{
  background:var(--ice);
  border-radius:12px;
  padding:12px;
  text-align:center;
}

.moderation-summary b{
  display:block;
  color:var(--navy);
  font-size:22px;
}

.moderation-summary span{
  color:var(--muted);
  font-size:12px;
}

.pill.pending{
  background:#fff5cf;
  color:#795b00;
}

.pill.approved{
  background:#e4f6ef;
  color:#0b7155;
}

.pill.hidden-status{
  background:#edf0f4;
  color:#5f6978;
}

.live-moderation-name{
  font-weight:800;
  color:var(--text);
}

.live-moderation-reason{
  display:block;
  color:var(--red);
  font-size:12px;
  margin-top:4px;
}

.empty{
  border:1px dashed #c7d4df;
  background:#fff;
  border-radius:14px;
  padding:26px;
  text-align:center;
  color:var(--muted);
}


/* =========================
   TABELLER
   ========================= */

table{
  width:100%;
  border-collapse:collapse;
}

th,
td{
  padding:10px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}

th{
  font-size:11px;
  text-transform:uppercase;
  color:var(--muted);
}


/* =========================
   AUTHENTICATOR
   ========================= */

.modalbox.authenticator-setup-modalbox{
  width:min(780px,100%);
}

.authenticator-setup-grid{
  display:grid;
  grid-template-columns:minmax(220px,280px) minmax(0,1fr);
  gap:26px;
  align-items:start;
}

.authenticator-qr{
  width:min(100%,280px);
  aspect-ratio:1;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}

.authenticator-qr svg{
  display:block;
  width:100%;
  height:100%;
}

.authenticator-secret{
  display:block;
  max-width:100%;
  margin:8px 0 20px;
  padding:11px 12px;
  overflow-wrap:anywhere;
  border:1px solid var(--line);
  border-radius:9px;
  color:var(--navy);
  background:var(--ice);
  font-size:13px;
  font-weight:800;
  letter-spacing:1px;
}

.authenticator-recovery-codes{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:16px 0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--ice);
}

.authenticator-recovery-codes code{
  padding:7px;
  text-align:center;
  border-radius:7px;
  color:var(--navy);
  background:#fff;
  font-size:15px;
  font-weight:850;
  letter-spacing:1px;
}


/* =========================
   POPUPS
   ========================= */

.modal{
  position:fixed;
  inset:0;
  z-index:70;
  background:rgba(6,20,35,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.modal.show{
  display:flex;
}

.modalbox{
  position:relative;
  width:min(520px,100%);
  max-height:92vh;
  overflow:auto;
  background:#fff;
  border-radius:18px;
  padding:25px;
}

.modalbox.widebox{
  width:min(760px,100%);
}

.x{
  position:absolute;
  right:14px;
  top:14px;
  border:0;
  background:#eef2f6;
  border-radius:50%;
  width:34px;
  height:34px;
  font-size:20px;
}

.modal form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.linkbutton{
  border:0;
  background:transparent;
  color:var(--blue);
  padding:4px 0;
  text-align:left;
}


/* =========================
   GENERELT
   ========================= */

.hidden{
  display:none!important;
}

.standalone{
  max-width:700px;
  margin:60px auto;
  padding:20px;
}

.brandlink{
  font-size:28px;
  font-weight:900;
  color:var(--navy);
  text-decoration:none;
}

.bigmoney{
  font-size:40px;
  font-weight:900;
  color:var(--navy);
  margin:14px 0;
}


/* =========================
   MOBIL / TABLET
   ========================= */

@media(max-width:1180px){
  .topbar nav{
    display:none;
  }

  .mobile-menu-open{
    display:inline-flex;
    margin-left:auto;
    padding:9px 12px;
    border:0;
    border-radius:9px;
    color:var(--navy);
    background:var(--ice);
    font-weight:800;
  }

  .account{
    display:none;
  }

  body.workspace-mode .workspace-public-link{
    display:none!important;
  }
}

@media(max-width:950px){

  .topbar{
    padding:0 18px;
  }

  .mobile-menu-open{
    display:inline-flex;
    margin-left:auto;
    padding:9px 12px;
    border:0;
    border-radius:9px;
    color:var(--navy);
    background:var(--ice);
    font-weight:800;
  }

  .account{
    display:none;
  }

  .account-link{
    display:none!important;
  }

  .samvigo-brand-logo{
    width:166px;
    height:46px;
  }

  .shell{
    grid-template-columns:1fr;
  }

  aside{
    display:none!important;
  }

  main{
    grid-column:1 / -1;
    padding:18px;
  }

  .hero{
    grid-template-columns:1fr;
    padding:34px;
  }

  .hero h1{
    max-width:760px;
  }

  .hero-proof{
    max-width:none;
  }

  .hero-cards{
    grid-template-columns:repeat(3,1fr);
  }

  .hero-cards div{
    display:block;
    text-align:center;
  }

  .hero-cards span{
    display:block;
    margin-top:4px;
    text-align:center;
  }

  .audience-grid,
  .outcome-strip{
    grid-template-columns:1fr;
  }

  .journey-section{
    grid-template-columns:1fr;
  }

  .pricing-section{
    grid-template-columns:1fr;
    padding:26px;
  }

  .cards3,
  .cards2,
  .statsgrid,
  .twocol,
  .formgrid,
  .flow-grid,
  .feature-grid{
    grid-template-columns:1fr;
  }

  .dashboard-shortcuts{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .organization-cards{
    grid-template-columns:1fr;
  }

  .onboarding-heading{
    grid-template-columns:1fr;
  }

  .section-jump-nav{
    position:static;
  }

  .economy-closing-steps,
  .economy-closing-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .formgrid .wide{
    grid-column:auto;
  }

  .hero h1{
    font-size:46px;
  }

  .topbar nav{
    display:none;
  }

  .pricing-limits{
    grid-template-columns:1fr 1fr;
  }

  .sectionhead{
    align-items:flex-start;
    flex-direction:column;
  }

  .live-event-settings{
    grid-template-columns:1fr;
  }

  .live-event-settings .actions{
    justify-content:flex-start;
  }

  .account #hello{
    display:none;
  }

  .public-page-hero{
    padding:36px 24px;
  }

  .public-page-hero p{
    font-size:17px;
  }

  .public-cta,
  .site-footer{
    align-items:flex-start;
    flex-direction:column;
  }

  .legal-layout{
    grid-template-columns:1fr;
  }

  .legal-nav{
    position:static;
  }

  .legal-article{
    padding:22px;
  }
}

/* =========================
   V7.0.39 – DRIFT OG SYSTEMKONTROL
   ========================= */

.system-control{
  padding:24px;
  border:1px solid #c9d9e8;
  border-radius:22px;
  background:linear-gradient(145deg,#f9fcff 0%,#edf6fc 100%);
}

.system-control-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:20px;
}

.system-control-head h3{
  margin:6px 0 8px;
  font-size:27px;
}

.system-control-head p{
  max-width:760px;
  margin:0;
  line-height:1.6;
}

.system-control-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  flex:0 0 auto;
}

.system-overall{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}

.system-status-green{
  color:#08765b;
  background:#dcf7ed;
}

.system-status-yellow{
  color:#815600;
  background:#fff1bf;
}

.system-status-red{
  color:#9a261d;
  background:#ffe3df;
}

.system-status-neutral{
  color:#52657a;
  background:#e7eef5;
}

.system-check-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.system-check-card{
  min-width:0;
  padding:18px;
  border:1px solid #d4e0ea;
  border-top-width:4px;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 22px rgba(13,61,102,.055);
}

.system-check-green{border-top-color:#20a77f}
.system-check-yellow{border-top-color:#e5aa23}
.system-check-red{border-top-color:#d85a4f}

.system-check-title{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.system-check-title h4{
  margin:0 0 3px;
  font-size:17px;
}

.system-check-title span:not(.system-status-dot){
  color:#65758a;
  font-size:12px;
  font-weight:700;
}

.system-status-dot{
  display:inline-block;
  width:11px;
  height:11px;
  margin-top:5px;
  border-radius:50%;
  flex:0 0 auto;
  box-shadow:0 0 0 4px rgba(120,140,160,.12);
}

.system-status-dot.system-status-green{background:#20a77f;box-shadow:0 0 0 4px #dcf7ed}
.system-status-dot.system-status-yellow{background:#e5aa23;box-shadow:0 0 0 4px #fff1bf}
.system-status-dot.system-status-red{background:#d85a4f;box-shadow:0 0 0 4px #ffe3df}

.system-check-card > p{
  min-height:42px;
  margin:15px 0;
  color:#465c74;
  font-size:14px;
  line-height:1.5;
}

.system-check-card details{
  border-top:1px solid #e4ebf2;
  padding-top:11px;
}

.system-check-card summary{
  color:#0a477f;
  cursor:pointer;
  font-size:13px;
  font-weight:800;
}

.system-check-card ul{
  margin:10px 0 0;
  padding-left:18px;
  color:#5c6f84;
  font-size:12px;
  line-height:1.55;
  overflow-wrap:anywhere;
}

.system-job-list{
  display:grid;
  gap:9px;
  margin-top:12px;
}

.system-job-row{
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding-top:9px;
  border-top:1px solid #e4ebf2;
}

.system-job-row:first-child{
  padding-top:0;
  border-top:0;
}

.system-job-row strong,
.system-job-row small{
  display:block;
}

.system-job-row strong{font-size:13px}
.system-job-row small{
  margin-top:3px;
  color:#65758a;
  font-size:11px;
  line-height:1.35;
}

.system-job-row .system-error-text{color:#a42d25}
.system-empty{color:#65758a;font-size:13px}

.system-control-tools{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:14px;
  margin-top:16px;
}

.system-tool-card{
  padding:19px;
  border:1px solid #d4e0ea;
  border-radius:16px;
  background:#fff;
}

.system-tool-card h4{margin:0 0 7px}
.system-tool-card > p{margin:0 0 15px;line-height:1.5}
.system-updated{margin:16px 2px 0;font-size:12px;text-align:right}

@media(max-width:980px){
  .system-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .system-control-tools{grid-template-columns:1fr}
}

@media(max-width:560px){

  .system-control{
    padding:17px;
    border-radius:17px;
  }

  .system-control-head{
    align-items:stretch;
    flex-direction:column;
  }

  .system-control-actions{
    align-items:stretch;
  }

  .system-overall{
    justify-content:center;
  }

  .system-check-grid{
    grid-template-columns:1fr;
  }

  .system-check-card > p{
    min-height:0;
  }

  .economy-closing-center{
    padding:17px;
  }

  .economy-closing-head,
  .economy-closing-hero{
    align-items:stretch;
    flex-direction:column;
  }

  .closing-state-badge{
    align-self:flex-start;
  }

  .economy-closing-hero button{
    width:100%;
  }

  .economy-closing-steps,
  .economy-closing-metrics{
    grid-template-columns:1fr;
  }

  .authenticator-setup-grid,
  .authenticator-recovery-codes{
    grid-template-columns:1fr;
  }

  .authenticator-qr{
    margin:0 auto;
  }
  .brandbutton,
  .public-brand{
    font-size:25px;
  }

  .dashboard-shortcuts,
  .pricing-limits{
    grid-template-columns:1fr;
  }

  .onboarding-panel{
    padding:21px;
  }

  .onboarding-steps{
    grid-template-columns:1fr;
  }

  .organization-wizard-steps{
    grid-template-columns:1fr;
  }

  .organization-card-stats{
    grid-template-columns:1fr;
  }

  .hero-cards{
    grid-template-columns:1fr;
  }

  .hero{
    padding:26px 22px;
  }

  .hero h1{
    font-size:40px;
  }

  .hero .hero-lead{
    font-size:17px;
  }

  .hero-actions{
    align-items:stretch;
  }

  .hero-actions .primary,
  .hero-actions .secondary{
    width:100%;
    text-align:center;
  }

  .hero-quicklinks{
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
  }

  .hero-quicklinks > span{
    display:none;
  }

  .hero-proof{
    padding:17px;
  }

  .hero-cards div{
    display:flex;
    text-align:left;
  }

  .hero-cards span{
    margin-top:0;
    text-align:right;
  }

  .audience-section,
  .journey-section{
    padding:28px 22px;
  }

  .public-section-heading{
    text-align:left;
  }

  .public-section-heading h2,
  .journey-intro h2{
    font-size:29px;
  }

  .journey-steps{
    grid-template-columns:1fr;
  }

  .journey-steps li{
    min-height:0;
  }

  .public-page-hero h1{
    font-size:39px;
  }
}
.statistics-heading{
  align-items:flex-end;
}

.statistics-heading p{
  max-width:720px;
  margin-bottom:0;
}

.statistics-filter-panel{
  margin-bottom:20px;
}

.statistics-filter-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.statistics-filter-grid label{
  margin:0;
}

.statistics-loading{
  text-align:center;
  color:var(--muted,#66758d);
}

.statistics-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:20px;
}

.statistics-kpi{
  min-width:0;
  padding:20px;
  border:1px solid #d8e4ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 30px rgba(12,61,105,.06);
}

.statistics-kpi strong{
  display:block;
  color:#073f73;
  font-size:clamp(1.55rem,2.6vw,2.25rem);
  line-height:1.05;
  overflow-wrap:anywhere;
}

.statistics-kpi span{
  display:block;
  margin-top:8px;
  color:#65758b;
  font-size:.9rem;
}

.statistics-two-column{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin-top:20px;
}

.statistics-two-column .panel{
  margin:0;
}

.statistics-metric-list{
  display:grid;
  gap:10px;
  margin-top:16px;
}

.statistics-metric-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:11px 0;
  border-bottom:1px solid #e4edf5;
}

.statistics-metric-row:last-child{
  border-bottom:0;
}

.statistics-metric-row strong{
  color:#073f73;
  text-align:right;
}

.statistics-progress{
  margin:18px 0 4px;
}

.statistics-progress-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-bottom:8px;
}

.statistics-progress-track{
  height:14px;
  overflow:hidden;
  border-radius:999px;
  background:#e6eef5;
}

.statistics-progress-fill{
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#0b7f83,#16a18f);
}

.statistics-bar-list{
  display:grid;
  gap:13px;
  margin-top:18px;
}

.statistics-bar-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  font-size:.9rem;
}

.statistics-bar-track{
  height:9px;
  margin-top:6px;
  overflow:hidden;
  border-radius:999px;
  background:#e8eff5;
}

.statistics-bar-fill{
  height:100%;
  border-radius:inherit;
  background:#0b4d83;
}

.statistics-bar-fill.is-teal{
  background:#14958d;
}

.statistics-bar-fill.is-gold{
  background:#d59a20;
}

.statistics-status-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}

.statistics-status{
  padding:14px;
  border:1px solid #dbe6ef;
  border-radius:14px;
  background:#f8fbfd;
}

.statistics-status b,
.statistics-status span{
  display:block;
}

.statistics-status b{
  color:#073f73;
  font-size:1.35rem;
}

.statistics-status span{
  margin-top:4px;
  color:#65758b;
  font-size:.84rem;
}

.statistics-definitions ul{
  margin:14px 0 0;
  padding-left:20px;
}

.statistics-definitions li{
  margin:8px 0;
  color:#4e6075;
  line-height:1.5;
}

.statistics-campaign-name{
  min-width:220px;
}

.statistics-goal-cell{
  min-width:150px;
}

.statistics-goal-cell .statistics-progress-track{
  height:7px;
  margin-top:5px;
}

@media (max-width:1050px){
  .statistics-kpi-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:760px){
  .statistics-heading{
    align-items:flex-start;
  }

  .statistics-filter-grid,
  .statistics-two-column{
    grid-template-columns:1fr;
  }

  .statistics-kpi-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .statistics-kpi{
    padding:15px;
    border-radius:14px;
  }
}

@media (max-width:460px){
  .statistics-kpi-grid,
  .statistics-status-grid{
    grid-template-columns:1fr;
  }
}

/* V8.8.0 – nyhedsbrev og modtageradministration */
.homepage-newsletter{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);
  gap:34px;
  align-items:center;
  margin:34px 0 0;
  padding:34px;
  border:1px solid #cfe0ee;
  border-radius:22px;
  background:linear-gradient(135deg,#f8fbfe 0%,#eaf5fb 100%);
}

.homepage-newsletter h2{
  margin:6px 0 10px;
  color:#073f73;
  font-size:clamp(1.7rem,3vw,2.35rem);
}

.homepage-newsletter p{
  margin:0;
  color:#5f7085;
  line-height:1.65;
}

.homepage-newsletter-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  padding:20px;
  border:1px solid #dbe6ef;
  border-radius:16px;
  background:#fff;
}

.homepage-newsletter-form .actions{
  grid-column:1/-1;
  margin-top:2px;
}

.newsletter-page{
  width:min(920px,calc(100% - 32px));
  padding-top:28px;
  padding-bottom:48px;
}

.newsletter-page .public-page-hero{
  padding:34px 40px;
}

.newsletter-page .public-page-hero h1{
  margin:6px auto 12px;
  font-size:clamp(36px,4.6vw,52px);
  line-height:1.08;
}

.newsletter-page .public-page-hero p{
  font-size:18px;
  line-height:1.55;
}

.newsletter-page > .notice{
  margin:16px auto 0!important;
}

.newsletter-manage-card{
  max-width:820px;
  margin:24px auto 0;
  padding:30px;
  border:1px solid #dbe6ef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 32px rgba(7,59,111,.07);
}

.newsletter-manage-card h2{
  margin:7px 0 20px;
}

.newsletter-manage-card .formgrid{
  gap:16px;
}

.newsletter-honeypot{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}

.recipient-summary{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 14px;
}

.recipient-summary span{
  padding:7px 11px;
  border-radius:999px;
  background:#edf5fb;
  color:#174f7d;
  font-size:.86rem;
  font-weight:800;
}

.recipient-table-wrap{
  overflow:auto;
  border:1px solid #dbe6ef;
  border-radius:14px;
}

.recipient-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
}

.recipient-table th,
.recipient-table td{
  padding:12px 14px;
  border-bottom:1px solid #e5edf4;
  text-align:left;
  vertical-align:middle;
}

.recipient-table th{
  background:#f6f9fc;
  color:#53677d;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.recipient-table tr:last-child td{
  border-bottom:0;
}

.recipient-status{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:800;
}

.recipient-status.subscribed{background:#e3f6ed;color:#087451}
.recipient-status.pending{background:#fff2cf;color:#8a5c00}
.recipient-status.expired,
.recipient-status.unsubscribed{background:#f3f5f7;color:#667585}

@media (max-width:820px){
  .homepage-newsletter{
    grid-template-columns:1fr;
    padding:24px;
  }
}

@media (max-width:560px){
  .homepage-newsletter-form{
    grid-template-columns:1fr;
  }

  .homepage-newsletter-form .actions{
    grid-column:auto;
  }

  .newsletter-page{
    width:100%;
    padding:18px 16px 34px;
  }

  .newsletter-page .public-page-hero{
    padding:28px 20px;
    border-radius:18px;
  }

  .newsletter-page .public-page-hero h1{
    font-size:34px;
  }

  .newsletter-manage-card{
    padding:22px 18px;
    border-radius:18px;
  }

  .newsletter-manage-card .actions{
    align-items:stretch;
    flex-direction:column;
  }

  .newsletter-manage-card .actions button{
    width:100%;
  }
}

/* v8.10.0: guided organisation-to-accounting journey */
.workflow-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:20px}.workflow-step{padding:18px;border:1px solid #dbe5ed;border-radius:14px;display:flex;flex-direction:column;gap:8px}.workflow-step.current{border:2px solid #168f96;background:#f2fbfa}.workflow-step h3,.workflow-step p{margin:0}.workflow-step p{flex:1;line-height:1.55}.workflow-step button{margin-top:12px}.workflow-step button:disabled{opacity:.5;cursor:not-allowed}#journeyCampaign{max-width:100%}@media(max-width:1100px){.workflow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.workflow-steps{grid-template-columns:1fr}}
