:root { --bg:#f7f8fa; --panel:#fff; --text:#2f3640; --muted:#667085; --line:#d9dee7; --accent:#2563eb; --accent-soft:#eaf1ff; --green:#0f766e; --green-soft:#ecfdf5; --amber:#b45309; --amber-soft:#fff7ed; --rose:#be123c; --rose-soft:#fff1f2; --violet:#6d28d9; --violet-soft:#f5f3ff; --shadow:0 12px 30px rgba(31,41,55,.08); }
* { box-sizing:border-box; } html { scroll-behavior:smooth; } body { margin:0; color:var(--text); background:var(--bg); font:16px/1.6 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; } a { color:var(--accent); text-decoration:none; } a:hover { text-decoration:underline; } button,input { font:inherit; } .skip-link { position:absolute; left:12px; top:-100px; z-index:10; padding:8px; color:#fff; background:var(--accent); } .skip-link:focus { top:12px; }
.layout { display:grid; grid-template-columns:270px minmax(0,1fr); min-height:100vh; } .sidebar { position:sticky; top:0; height:100vh; overflow:auto; padding:32px 24px; background:var(--panel); border-right:1px solid var(--line); } .brand-kicker,.eyebrow { margin:0 0 8px; color:var(--muted); font-size:13px; font-weight:750; letter-spacing:.055em; text-transform:uppercase; } .brand { display:block; color:var(--text); font-size:24px; font-weight:750; line-height:1.1; } .brand:hover { color:var(--accent); text-decoration:none; } .nav { display:grid; gap:3px; margin:28px 0; } .nav a { display:block; padding:8px 10px; border-radius:6px; color:#515866; } .nav a:hover,.nav a.active { color:var(--accent); background:var(--accent-soft); text-decoration:none; } .nav-label { display:block; margin:18px 10px 5px; color:var(--muted); font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; } #chapter-nav { display:grid; gap:2px; } #chapter-nav a { font-size:14px; } .sidebar-note { margin-top:40px; padding:14px; border-left:4px solid var(--green); border-radius:0 6px 6px 0; background:var(--green-soft); font-size:14px; } .sidebar-note p { margin:5px 0 0; }
main { width:min(100%,1080px); padding:34px 48px 80px; } section { padding:34px 0; border-top:1px solid var(--line); } .hero { padding-top:0; border:0; } h1,h2,h3 { line-height:1.18; } h1 { max-width:800px; margin:0 0 15px; font-size:clamp(36px,5vw,62px); letter-spacing:-.035em; } h2 { margin:0 0 10px; font-size:30px; letter-spacing:-.02em; } h3 { margin:0 0 7px; font-size:18px; } p { margin:0 0 14px; } .lead { max-width:770px; color:#4b5563; font-size:19px; } .lead.small { font-size:18px; } .hero-actions,.form-actions { display:flex; flex-wrap:wrap; gap:10px; margin:25px 0; } .button { display:inline-flex; align-items:center; justify-content:center; min-height:43px; padding:9px 14px; border:1px solid var(--line); border-radius:6px; color:var(--text); background:var(--panel); cursor:pointer; font-weight:700; } .button:hover { border-color:var(--accent); color:var(--accent); text-decoration:none; } .button.primary { border-color:var(--accent); color:#fff; background:var(--accent); } .button.primary:hover { background:#1d4ed8; color:#fff; } .note { max-width:800px; padding:14px 16px; border-left:4px solid var(--accent); border-radius:0 6px 6px 0; background:var(--accent-soft); } .section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; } .tag { display:inline-block; padding:4px 9px; border-radius:999px; color:var(--violet); background:var(--violet-soft); font-size:13px; font-weight:700; white-space:nowrap; }
.diagnostic { display:grid; gap:12px; margin-top:20px; } .question { padding:16px; border:1px solid var(--line); border-radius:8px; background:var(--panel); } .question legend { padding:0; font-weight:750; } .options { display:grid; gap:7px; margin-top:12px; } .options label { display:flex; gap:9px; align-items:flex-start; cursor:pointer; } .options input { margin-top:5px; accent-color:var(--accent); } .result { display:none; max-width:800px; margin-top:18px; padding:15px 17px; border-left:4px solid var(--green); border-radius:0 6px 6px 0; background:var(--green-soft); } .result.show { display:block; } .result.warning { border-color:var(--amber); background:var(--amber-soft); }
.chapter-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(235px,1fr)); gap:14px; margin-top:20px; } .chapter-card { display:flex; flex-direction:column; min-height:202px; padding:18px; border:1px solid var(--line); border-radius:8px; background:var(--panel); box-shadow:var(--shadow); } .chapter-card h3 { margin-top:7px; } .chapter-card p { color:#596273; font-size:14px; } .chapter-card .button { margin-top:auto; align-self:flex-start; } .chapter-number { color:var(--accent); font-size:14px; font-weight:800; } .lesson-section { scroll-margin-top:16px; } .empty-state { padding:20px; color:var(--muted); text-align:center; } .lesson-header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; } .lesson-header p { max-width:680px; } .lesson-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:22px; margin-top:22px; } .lesson-block { padding:20px; border:1px solid var(--line); border-radius:8px; background:var(--panel); } .lesson-block + .lesson-block { margin-top:14px; } .lesson-block h3 { color:#1f2937; } .lesson-block ul,.lesson-text ol { margin:8px 0 0; padding-left:20px; } .lesson-text p:last-child { margin-bottom:0; } .lesson-text li + li { margin-top:7px; } .worked-example { margin-top:13px; padding:13px; border-radius:6px; background:var(--accent-soft); } .worked-example strong { color:#1745a8; } .reflection { border-left:4px solid var(--violet); background:var(--violet-soft); } .quiz { display:grid; gap:13px; } .quiz-question { padding:13px; border:1px solid var(--line); border-radius:6px; } .quiz-question p { margin-bottom:8px; font-weight:700; } .quiz-feedback { margin-top:12px; padding:12px; border-radius:6px; background:var(--green-soft); } .quiz-feedback.error { background:var(--rose-soft); color:#881337; } .presentation-link { margin-top:14px; } .principles { display:grid; grid-template-columns:repeat(4,1fr); gap:13px; } .principles article { padding:18px; border-radius:8px; background:var(--panel); border:1px solid var(--line); } .principles span { display:inline-grid; width:28px; height:28px; place-items:center; margin-bottom:12px; border-radius:50%; color:var(--accent); background:var(--accent-soft); font-weight:800; } .principles p { margin:0; color:#566070; font-size:14px; }
.plan-form { display:grid; gap:14px; max-width:720px; } .plan-form label { display:grid; gap:5px; font-weight:700; } .plan-form input { width:100%; padding:10px 11px; border:1px solid var(--line); border-radius:6px; color:var(--text); background:#fff; } .plan-form input:focus { outline:3px solid var(--accent-soft); border-color:var(--accent); } .plan-form .button { justify-self:start; } footer { padding:20px; color:var(--muted); border-top:1px solid var(--line); text-align:center; font-size:14px; } .mobilebar { display:none; }
.presentation-page { min-height:100vh; overflow:hidden; background:#111827; } .presentation-page .slide-wrap { position:relative; width:100%; height:100vh; height:100dvh; padding:0; } .presentation-toolbar { position:fixed; z-index:3; top:16px; left:18px; right:18px; display:flex; justify-content:space-between; pointer-events:none; } .presentation-toolbar > * { pointer-events:auto; } .back-link,.fullscreen-button { display:inline-flex; align-items:center; min-height:42px; padding:8px 13px; border:1px solid rgba(255,255,255,.28); border-radius:7px; color:#fff; background:rgba(17,24,39,.78); backdrop-filter:blur(10px); font-weight:700; } .back-link:hover { color:#fff; } .fullscreen-button { cursor:pointer; } .slide { display:flex; flex-direction:column; justify-content:center; width:100%; height:100%; min-height:0; padding:clamp(70px,10vw,150px); border:0; border-radius:0; background:var(--panel); box-shadow:none; } .slide h1 { max-width:1100px; font-size:clamp(48px,8vw,112px); } .slide-text { max-width:1050px; margin:0; color:#4b5563; font-size:clamp(25px,3.4vw,52px); line-height:1.3; } .slide-controls { position:fixed; z-index:3; right:18px; bottom:16px; left:18px; display:flex; align-items:center; justify-content:space-between; gap:15px; margin:0; pointer-events:none; } .slide-controls > * { pointer-events:auto; } .slide-controls span { padding:7px 12px; border-radius:999px; color:#fff; background:rgba(17,24,39,.78); font-weight:700; backdrop-filter:blur(10px); } .slide-controls .button { border-color:rgba(255,255,255,.28); color:#fff; background:rgba(17,24,39,.78); backdrop-filter:blur(10px); } .slide-controls .button.primary { background:var(--accent); } .slide-controls button:disabled { opacity:.38; cursor:not-allowed; } .presenter-note { position:fixed; z-index:2; bottom:24px; left:50%; max-width:min(580px,48vw); margin:0; padding:8px 12px; transform:translateX(-50%); border:0; border-radius:7px; color:#fff; background:rgba(17,24,39,.78); font-size:13px; text-align:center; backdrop-filter:blur(10px); }
@media (max-width:650px) { .slide { padding:78px 24px 92px; } .slide h1 { font-size:clamp(40px,13vw,68px); } .slide-text { font-size:clamp(22px,7vw,34px); } .presenter-note { display:none; } .slide-controls { right:12px; bottom:12px; left:12px; } .presentation-toolbar { top:12px; right:12px; left:12px; } }
.source-note { margin-top:20px; border-left:4px solid var(--green); background:var(--green-soft); } .source-note summary { cursor:pointer; color:#166534; font-weight:800; list-style:none; } .source-note summary::-webkit-details-marker { display:none; } .source-note summary::after { content:'Visa'; float:right; color:#4b5563; font-size:13px; font-weight:700; } .source-note[open] summary { margin-bottom:13px; } .source-note[open] summary::after { content:'Dölj'; } .research-exercises { border-left:4px solid var(--accent); }
.shortcut-table,.comparison-table { width:100%; border-collapse:collapse; margin:12px 0; font-size:14px; } .shortcut-table th,.shortcut-table td,.comparison-table th,.comparison-table td { padding:8px 10px; border:1px solid var(--line); text-align:left; vertical-align:top; } .shortcut-table th,.comparison-table th { background:var(--accent-soft); } .shortcut-table td:first-child,.comparison-table td:first-child { white-space:nowrap; font-weight:750; }
@media (max-width:800px) { .layout { display:block; } .mobilebar { position:sticky; top:0; z-index:4; display:flex; align-items:center; justify-content:space-between; padding:12px 16px; border-bottom:1px solid var(--line); background:#fff; } .menu-button { padding:6px 9px; border:1px solid var(--line); border-radius:5px; background:#fff; } .sidebar { position:fixed; z-index:3; top:53px; left:0; width:min(300px,85vw); height:calc(100vh - 53px); transform:translateX(-105%); transition:transform .2s ease; box-shadow:var(--shadow); } .sidebar.open { transform:translateX(0); } main { padding:28px 20px 56px; } .lesson-grid,.principles { grid-template-columns:1fr; } .section-heading,.lesson-header { display:block; } .tag { margin-top:6px; } h1 { font-size:38px; } }

.other-chapters-nav summary{padding:8px 10px;border-radius:6px;color:#515866;font-size:14px;cursor:pointer}
.other-chapters-nav summary:hover{color:var(--accent);background:var(--accent-soft)}
.other-chapters-nav>div{margin-left:15px;border-left:1px solid var(--line);padding-left:5px}
.other-chapters-home{grid-column:1/-1;padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}
.other-chapters-home>summary{cursor:pointer;font-size:20px;font-weight:750}
.other-chapters-nav summary:focus-visible,.other-chapters-home>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.contact-hero{padding-bottom:20px}
.contact-form-section{padding-top:24px}
.google-form-frame{width:100%;max-width:760px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:var(--shadow)}
.google-form-frame iframe{display:block;width:100%;min-height:1025px;border:0;background:#fff}
@media(max-width:650px){.google-form-frame{border-radius:6px}.google-form-frame iframe{min-height:1120px}}

/* Clear chapter routes: overview, reading/practice and quiz. */
.chapter-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:22px 0; padding-bottom:14px; border-bottom:1px solid var(--line); }
.chapter-tabs a { padding:9px 16px; border:1px solid var(--line); border-radius:6px; color:var(--text); background:var(--panel); }
.chapter-tabs a[aria-current="page"], .nav a[aria-current="page"] { color:var(--accent); background:var(--accent-soft); font-weight:750; }
.lesson-grid { grid-template-columns:minmax(0,1fr); max-width:900px; }
.chapter-sources { max-width:900px; margin-top:32px; }
.next-step { margin:24px 0; }
.home-course-group { margin-top:40px; }
.site-guide { padding:24px; border:1px solid var(--line); border-radius:8px; background:var(--panel); }
.site-steps { display:grid; gap:16px; padding-left:24px; }
.site-steps strong, .site-steps span { display:block; }
.site-steps span { color:var(--muted); margin-top:3px; }
.digital-guides-nav summary { padding:8px 10px 8px 24px; color:var(--muted); cursor:pointer; font-size:14px; }
.digital-guides-nav summary:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.chapter-card h2 { font-size:21px; }
@media (max-width:800px) { .chapter-tabs a { flex:1; text-align:center; padding:9px 10px; } .site-guide { padding:18px; } }
body[data-subpage="datorvana"] .original-images { display:flex; flex-wrap:wrap; gap:20px; margin-top:20px; align-items:center; }
body[data-subpage="datorvana"] .original-figure { margin:0; max-width:620px; }
body[data-subpage="datorvana"] .original-figure img { max-width:100%; height:auto; }
body[data-subpage="datorvana"] .original-figure figcaption { color:var(--muted); font-size:13px; }
body[data-subpage="datorvana"] .course-icon img { width:100px; }
body[data-subpage="datorvana"] .command-icon { background:#fff; padding:12px; }
body[data-subpage="datorvana"] .command-icon img { width:80px; }
body[data-subpage="datorvana"] .trackpad-icon { display:none; }
.mini-answer { display:block; margin:10px 0; }

.finder-guide-figure { margin:22px 0 0; }
.finder-guide-figure img { display:block; max-width:100%; height:auto; border:1px solid var(--line); border-radius:8px; }
.finder-guide-figure figcaption { margin-top:8px; color:var(--muted); font-size:14px; }
