/* Fælles navigation og afslutning. De eksisterende opgavers egne stile bevares. */
.site-brand-link { color: inherit; text-decoration: none; }
.site-brand-link .brand-mark,.site-brand-link .brand-symbol { font-size:20px; letter-spacing:-1px; }
.site-back { color:#d7e6fb; text-decoration:none; font:650 13px/1.4 system-ui,sans-serif; padding:10px 13px; border:1px solid #4b6483; border-radius:10px; white-space:nowrap; }
.site-back:hover { color:#fff; background:#183b66; border-color:#83b2f2; }
.site-back:focus-visible,.site-brand-link:focus-visible,.completion-home:focus-visible { outline:3px solid #79a9ff; outline-offset:4px; }
.completion-result { margin-top:24px; padding-top:20px; border-top:1px solid #e2eaf3; }
.completion-message { font:650 14px/1.65 system-ui,sans-serif; color:#147346; margin:0 0 14px; }
.completion-message.storage-warning { color:#815321; }
.completion-home { display:inline-flex; border-radius:11px; padding:12px 17px; background:#2467df; color:#fff; text-decoration:none; font:700 14px/1.5 system-ui,sans-serif; }
.completion-home:hover { background:#1457d4; }

/* Startside */
.home-page { --navy:#122b4a; --navy-deep:#0b203b; --blue:#2467df; --ink:#172b46; --canvas:#f3f7fb; --line:#e2eaf3; --green:#19804d; margin:0; background:var(--canvas); color:var(--ink); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; -webkit-font-smoothing:antialiased; font-synthesis:none; }
.home-page *,.home-page *::before,.home-page *::after { box-sizing:border-box; }
.home-page button { font:inherit; cursor:pointer; }
.home-page [hidden] { display:none !important; }
.home-page a:focus-visible,.home-page button:focus-visible { outline:3px solid #79a9ff; outline-offset:4px; }
.skip-link { position:absolute; z-index:10; left:18px; top:12px; transform:translateY(-150%); padding:12px 18px; border-radius:8px; background:white; color:#122b4a; font-weight:700; }
.skip-link:focus { transform:translateY(0); }
.home-header { background:var(--navy-deep); color:#fff; }
.home-header-inner { width:min(1160px,calc(100% - 64px)); margin:auto; min-height:75px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.home-brand { display:flex; align-items:center; gap:12px; color:#fff; text-decoration:none; font-size:17px; font-weight:750; letter-spacing:-.35px; }
.home-brand-mark { display:flex; align-items:center; justify-content:center; width:37px; height:37px; background:#2873f0; border-radius:12px; font:700 20px/1 Georgia,serif; letter-spacing:-1px; }
.home-brand-mark span { color:#f0c58f; }
.home-header-topic { color:#b8c9df; font-size:11px; font-weight:750; letter-spacing:1.8px; white-space:nowrap; }
.home-header-topic > span { color:#6986ab; padding:0 9px; }
.home-main { width:min(1160px,calc(100% - 64px)); margin:auto; }
.home-hero { position:relative; display:flex; align-items:center; min-height:248px; padding:37px 39px 39px; border-radius:0 0 24px 24px; overflow:hidden; color:#fff; background:linear-gradient(112deg,#193d6c,#122b4a 72%,#0d2443); }
.home-hero-copy { z-index:1; max-width:680px; }
.home-eyebrow { display:flex; align-items:center; gap:9px; color:#b6cff1; font-size:11px; font-weight:750; letter-spacing:1.8px; margin:0 0 13px; }
.home-eyebrow > span { width:7px; height:7px; border-radius:50%; background:#e9b47a; flex:none; }
.home-hero h1 { font-size:clamp(32px,4.1vw,49px); line-height:1.15; letter-spacing:-1.6px; margin:0 0 13px; font-weight:780; }
.home-hero h1 > span { color:#edba7f; }
.home-hero-copy > p:last-child { max-width:620px; color:#c6d8ee; font-size:15px; line-height:1.8; margin:0; }
.home-hero-decoration { position:absolute; display:flex; align-items:center; gap:3px; top:8px; right:30px; font:220px/1 Georgia,serif; color:#7fa9e2; opacity:.12; transform:rotate(-8deg); pointer-events:none; user-select:none; }
.home-hero-decoration > span:last-child { font-size:150px; margin-top:45px; }
.home-progress { display:flex; align-items:center; justify-content:space-between; gap:40px; margin-top:25px; padding:25px 30px; background:#e9f2ff; border:1px solid #d6e5fb; border-radius:18px; }
.home-progress h2 { margin:0 0 6px; color:#4f6b90; font-size:10px; font-weight:800; letter-spacing:1.5px; }
.home-progress-number { display:flex; align-items:baseline; gap:7px; margin:0; }
.home-progress-number strong { font-size:34px; letter-spacing:-1px; line-height:1.2; }
.home-progress-number > span:first-of-type { font-size:21px; color:#536e91; }
.home-progress-unit { color:#355576; margin-left:9px; font-size:13px; font-weight:650; }
#progress-caption { font-size:13px; line-height:1.7; color:#4b6383; margin:8px 0 0; }
.home-progress-controls { width:235px; max-width:100%; flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:11px; }
.home-progress-track { width:100%; height:8px; background:#d2e1f6; border-radius:20px; overflow:hidden; }
.home-progress-track > span { display:block; width:0; height:100%; border-radius:inherit; background:#2467df; transition:width .2s; }
.home-reset { border:0; padding:5px 0; background:none; color:#375e91; font-size:12px !important; text-decoration:underline; text-underline-offset:3px; min-height:32px; }
.home-reset:hover:enabled { color:#1457d4; }
.home-reset:disabled { color:#657c9a; cursor:default; text-decoration:none; }
.home-notice { font-size:13px; color:#147346; margin:12px 5px 0; line-height:1.6; }
.home-notice:empty { display:none; }
.home-storage-note { background:#fff7ec; border:1px solid #f1dbbe; border-radius:12px; padding:15px 18px; font-size:14px; line-height:1.7; color:#755229; }
.home-exercises { padding-top:39px; scroll-margin-top:20px; }
.home-section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:20px; }
.home-section-eyebrow { color:#667b97; font-size:10px; font-weight:750; letter-spacing:1.2px; margin:0 0 7px; }
.home-section-heading h2 { font-size:26px; line-height:1.3; letter-spacing:-.7px; margin:0; }
.home-exercise-count { font-size:12px; color:#637894; padding-bottom:4px; white-space:nowrap; }
.home-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:23px; }
.home-card { display:flex; flex-direction:column; min-width:0; background:#fff; border:1px solid var(--line); border-radius:21px; padding:28px 30px 25px; box-shadow:0 9px 28px rgb(23 54 99 / 5%); }
.home-card-top { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.home-card-symbol { width:53px; height:53px; flex:none; white-space:nowrap; border-radius:16px; background:#e9f2ff; color:#2467df; display:grid; place-items:center; font:42px/1 Georgia,serif; }
.home-card[data-exercise-id="implicitte-subjekter"] .home-card-symbol { font-size:30px; }
.home-card-number { color:#647c9b; font-size:10px; font-weight:800; letter-spacing:1.5px; }
.home-card h3 { margin:21px 0 10px; font-size:26px; line-height:1.3; letter-spacing:-.8px; }
.home-card-description { color:#536983; font-size:14px; line-height:1.85; margin:0 0 19px; flex:1; }
.home-card-details { margin:0 0 22px; color:#506d91; font-size:12px; font-weight:650; }
.home-card-bottom { display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid #e9eff6; padding-top:20px; }
.home-card-status { font-size:12px; font-weight:650; color:#667a93; }
.home-start { display:inline-flex; align-items:center; justify-content:center; min-height:45px; text-align:center; padding:12px 18px; border-radius:11px; background:#2467df; color:white; text-decoration:none; font-size:13px; font-weight:750; white-space:nowrap; }
.home-start:hover { background:#1457d4; }
.home-card.is-completed { border-color:#a2ddbc; }
.home-card.is-completed .home-card-status { color:#147346; background:#e8f8ef; padding:6px 9px; border-radius:8px; }
.home-explanation { display:flex; align-items:flex-start; gap:9px; margin:20px 4px 0; color:#637792; font-size:12px; line-height:1.8; }
.home-explanation > span { color:#b77734; font-size:17px; flex:none; }
.home-footer { margin-top:32px; padding:21px 4px 29px; border-top:1px solid #e2eaf3; font-size:11px; line-height:1.8; color:#657993; }
.home-dialog { width:min(480px,calc(100% - 32px)); color:#172b46; background:white; border:1px solid #dbe6f3; border-radius:20px; padding:29px; box-shadow:0 20px 80px rgb(0 0 0 / 20%); }
.home-dialog::backdrop { background:rgb(11 32 59 / 60%); }
.home-dialog h2 { font-size:23px; line-height:1.3; letter-spacing:-.5px; margin:0 0 12px; }
.home-dialog p { font-size:14px; color:#536983; line-height:1.8; margin:0; }
.home-dialog-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:10px; margin-top:24px; }
.home-dialog-actions button { min-height:44px; border-radius:10px; padding:11px 15px; font-size:13px; font-weight:700; }
.home-dialog-cancel { background:#edf4ff; color:#284e7e; border:1px solid #d4e3fa; }
.home-dialog-confirm { background:#9c3541; color:#fff; border:1px solid #9c3541; }
.home-dialog-confirm:hover { background:#812a35; }
@media(max-width:850px) { .home-card { padding:24px; } .home-card-bottom { align-items:flex-start; flex-direction:column; } .home-start { width:100%; } .home-hero-decoration { right:-50px; } }
@media(max-width:600px) {
  .home-header-inner,.home-main { width:calc(100% - 30px); }
  .home-header-inner { min-height:65px; }
  .home-brand { font-size:14px; gap:9px; }
  .home-header-topic { font-size:9px; letter-spacing:.7px; }
  .home-header-topic > span { padding:0 3px; }
  .home-hero { min-height:233px; padding:27px 22px 29px; border-radius:0 0 18px 18px; }
  .home-eyebrow { font-size:9px; letter-spacing:1.15px; }
  .home-hero h1 { max-width:310px; font-size:36px; }
  .home-hero-copy > p:last-child { font-size:13px; line-height:1.8; }
  .home-hero-decoration { right:-70px; top:35px; }
  .home-progress { margin-top:18px; padding:21px 22px; flex-direction:column; align-items:stretch; gap:17px; }
  .home-progress-unit { font-size:12px; margin-left:4px; }
  .home-progress-controls { width:100%; }
  .home-exercises { padding-top:29px; }
  .home-section-heading { align-items:flex-start; flex-direction:column; gap:9px; }
  .home-section-heading h2 { font-size:25px; }
  .home-section-eyebrow { font-size:9px; letter-spacing:1px; }
  .home-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  .home-card { padding:24px; }
  .home-card-bottom { flex-direction:row; align-items:center; }
  .home-start { width:auto; padding:12px 15px; font-size:12px; }
  .site-back { padding:9px; font-size:11px; }
}
@media(max-width:350px) { .home-card-bottom { flex-direction:column; align-items:stretch; } .home-card-status { align-self:flex-start; } .home-progress-unit { display:block; } .home-progress-number { flex-wrap:wrap; } }
@media(prefers-reduced-motion:reduce) { .home-page *, .home-page *::before, .home-page *::after { transition:none!important; scroll-behavior:auto!important; } }
