:root {
  /* NetNordic: navy 092844/17314C, orange FF6900, lys flade F7F9FA, grå tekst 677887 */
  --bg: #f7f9fa; --card: #fff; --ink: #17314c; --muted: #677887; --line: #dce3ea; --accent: #ff6900; --accent2: #092844;
  --crit: #7a0b16; --high: #c62828; --med: #d99a00; --low: #3a6ea5; --info: #677887; --ok: #2b8a3e;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif; background: var(--bg); color: var(--ink); }
main { max-width: 1180px; margin: 0 auto; padding: 16px; }
h1 { font-size: 26px; margin: 0 0 6px; color: var(--accent2); }
h2 { font-size: 20px; margin: 0 0 12px; color: var(--accent2); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
h3 { font-size: 16px; margin: 14px 0 6px; color: var(--accent2); }
a { color: var(--accent2); }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
header.top { display: flex; align-items: center; gap: 14px; padding: 10px 20px; background: var(--accent2); color: #fff; }
header.top .brand { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 12px; }
header.top .brand img { height: 30px; } header.top .brand .app { font-weight: 700; font-size: 17px; border-left: 1px solid rgba(255,255,255,.35); padding-left: 12px; }
header.top .tag { opacity: .75; font-size: 13px; }
.top nav { margin-left: auto; display: flex; gap: 16px; } .top nav a { color: #fff; text-decoration: none; opacity: .9; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin: 14px 0; }
.narrow { max-width: 380px; }
.hero { padding: 18px 0 4px; } .hero p { max-width: 760px; color: var(--muted); }
.alert { padding: 10px 14px; border-radius: 8px; margin: 12px 0; } .alert.err { background: #fde8e8; color: #8b0000; } .alert.ok { background: #e6f4ea; color: #1e6b30; }
label { display: block; font-size: 13px; color: var(--muted); margin: 8px 0; }
input, select, textarea { display: block; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; color: var(--ink); background: #fff; margin-top: 3px; }
label.check { display: flex; align-items: center; gap: 8px; color: var(--ink); } label.check input { width: auto; margin: 0; }
.hint { color: var(--muted); font-size: 12.5px; display: block; }
.btn { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; }
.btn:hover { border-color: var(--accent); } .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; } .btn.big { padding: 12px 22px; font-size: 16px; margin-top: 10px; }
.btn:disabled { opacity: .5; cursor: wait; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .cols3 .card { margin: 0; }
@media (max-width: 800px) { .grid2, .grid4, .cols3 { grid-template-columns: 1fr; } }
.drop { border: 2px dashed var(--line); border-radius: 10px; padding: 26px; text-align: center; position: relative; }
.drop.over { border-color: var(--accent); background: #fff5f6; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; } .drop label { font-size: 16px; color: var(--ink); }
details.more summary { cursor: pointer; color: var(--accent2); margin: 10px 0; }
pre.code { background: #0f1722; color: #e3e9f2; padding: 10px 12px; border-radius: 6px; overflow-x: auto; white-space: pre; margin: 6px 0; }
.toolbar { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 8px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border-bottom: 1px solid var(--line); }
.toolbar .exp { color: var(--muted); font-size: 12.5px; margin-right: auto; }
.head { display: flex; gap: 20px; align-items: center; } .headinfo { flex: 1; } .sub { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.meta { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; margin: 6px 0; } .meta dt { color: var(--muted); } .meta dd { margin: 0; font-weight: 600; }
.score { width: 120px; height: 120px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; flex: none; }
.score .g { font-size: 44px; font-weight: 800; line-height: 1; } .score .n { font-size: 14px; }
.grade-A { background: var(--ok); } .grade-B { background: #5c940d; } .grade-C { background: var(--med); } .grade-D { background: var(--high); } .grade-E { background: var(--crit); }
.counts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cnt { background: var(--card); border: 1px solid var(--line); border-top: 4px solid; border-radius: 8px; padding: 10px; text-align: center; }
.cnt b { display: block; font-size: 26px; } .cnt span { color: var(--muted); font-size: 13px; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 10px; color: #fff; white-space: nowrap; }
.sev-critical { border-color: var(--crit); } .badge.sev-critical { background: var(--crit); }
.sev-high { border-color: var(--high); } .badge.sev-high { background: var(--high); }
.sev-medium { border-color: var(--med); } .badge.sev-medium { background: var(--med); }
.sev-low { border-color: var(--low); } .badge.sev-low { background: var(--low); }
.sev-info { border-color: var(--info); } .badge.sev-info { background: var(--info); }
.tbl { width: 100%; border-collapse: collapse; } .tbl th, .tbl td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: 12px; color: #fff; background: var(--accent2); font-weight: 700; }
.tbl tbody tr:nth-child(even) td { background: var(--bg); }
.small { font-size: 13px; } .muted { color: var(--muted); } .ok { color: var(--ok); } .bad { color: var(--high); }
ol.first li { margin-bottom: 8px; } ul.stats { padding-left: 18px; }
h3.cat { margin-top: 22px; color: var(--accent2); border-bottom: 2px solid var(--line); padding-bottom: 4px; }
details.finding { background: var(--card); border: 1px solid var(--line); border-left: 5px solid; border-radius: 8px; margin: 8px 0; }
details.finding summary { cursor: pointer; padding: 10px 14px; display: flex; gap: 10px; align-items: center; list-style: none; }
details.finding summary::-webkit-details-marker { display: none; }
.ft { font-weight: 600; flex: 1; } .fid { color: var(--muted); font-size: 12px; white-space: nowrap; }
.fbody { padding: 0 16px 14px; } .fbody p { margin: 6px 0; }
.objs { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; } .objs code { background: #eef1f6; padding: 1px 6px; border-radius: 4px; }
.clihead { font-size: 12px; color: var(--muted); margin-top: 8px; }
.ctl { display: grid; grid-template-columns: auto 200px 1fr; gap: 12px; align-items: center; border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 8px; }
.ctl label { margin: 0; } .ctl textarea { margin: 0; resize: vertical; }
@media (max-width: 800px) { .ctl { grid-template-columns: 1fr; } }
.status { font-size: 12px; padding: 1px 8px; border-radius: 10px; background: #eef1f6; }
.st-accepted { background: #fff3bf; } .st-na { background: #e9ecef; } .st-fix { background: #d3f9d8; }
.note { background: #fff9db; padding: 6px 10px; border-radius: 6px; }
.checklist .r-pass td:first-child { color: var(--ok); font-weight: 700; } .checklist .r-fail td:first-child { color: var(--high); font-weight: 700; }
.checklist .r-skip { opacity: .6; }
.aif { border-top: 1px solid var(--line); padding: 8px 0; }
.summary { border-left: 5px solid var(--accent2); }
.inline { display: inline; }
@media print {
  body { background: #fff; font-size: 12px; } .top nav, .toolbar, .ctl, .foot, #runai, #strict, label.check { display: none !important; }
  .card, details.finding { break-inside: avoid; border-color: #ccc; } main { max-width: none; padding: 0; }
  pre.code { background: #f4f4f4; color: #000; white-space: pre-wrap; } .top { background: #fff; color: #000; border-bottom: 2px solid #000; }
  .top .brand { color: #000; }
}

/* ---- NetNordic-rapport: forside, ledelsesoverblik, sidefod ---- */
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 18px 0 6px; }
.exec { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--accent2); color: #fff; border-radius: 4px;
  border-bottom: 4px solid var(--accent); margin-bottom: 14px; }
.exec > div { padding: 16px 18px; } .exec > div + div { border-left: 1px solid rgba(255,255,255,.15); }
.exec h4 { color: var(--accent); margin: 0 0 6px; font-size: 14px; } .exec p, .exec ul { margin: 0; font-size: 13.5px; } .exec ul { padding-left: 16px; }
@media (max-width: 800px) { .exec { grid-template-columns: 1fr; } }
.cover { display: none; }
.cover { background: var(--accent2); color: #fff; position: relative; overflow: hidden; padding: 56px 64px 40px; border-radius: 4px; margin: 14px 0; }
.cover::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: #2f343a; right: -110px; top: -150px; }
.cover::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: #20303f; right: 70px; bottom: -190px; }
.cover > * { position: relative; z-index: 1; }
.cover .clogo { height: 44px; } .cover .cbody { margin-top: 110px; max-width: 640px; }
.cover h1 { color: #fff; font-size: 40px; line-height: 1.15; margin: 4px 0 14px; } .cover h1 span { color: var(--accent); }
.cover .clead { color: #dce3ea; font-size: 16px; }
.cmeta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 60px 0 0; font-size: 12.5px; }
.cmeta dt { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; } .cmeta dd { margin: 0; color: #fff; }
.clegal { margin-top: 70px; font-size: 11px; color: #9fb0c0; }
.export .cover { display: block; }
.export header.top, .export .head.card .headinfo h1 { display: none; }
@media print {
  @page { size: A4; margin: 14mm 14mm 18mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  header.top { display: none !important; }
  .cover { display: block; break-after: page; min-height: 255mm; margin: 0; border-radius: 0; padding: 22mm 18mm; }
  .cover .cbody { margin-top: 60mm; } .clegal { position: absolute; bottom: 14mm; left: 18mm; }
  .exec { break-inside: avoid; }
  .export .head.card { display: none; }
  .exec, .cols3 { grid-template-columns: repeat(3, 1fr) !important; } .grid2 { grid-template-columns: 1fr 1fr !important; }
  .exec > div + div { border-left: 1px solid rgba(255,255,255,.15) !important; }
  h2 { break-after: avoid; }
}
