/* Kennarahandbók v3.2 — allar reglur staðbundnar, ekki íþyngjandi fyrir önnur viðmót */
.teacher-guide{--tg-ink:#162f45;--tg-muted:#50677b;--tg-line:#dce7ee;--tg-dark:#123347;--tg-gold:#f7c770;max-width:1320px;margin:0 auto 5rem;color:var(--tg-ink);font-size:15px;line-height:1.65}
.teacher-guide *{box-sizing:border-box}.teacher-guide [hidden]{display:none!important}
.teacher-guide button,.teacher-guide input{font:inherit}.teacher-guide button{cursor:pointer}.teacher-guide p{margin:.5rem 0 1rem;color:var(--tg-muted)}.teacher-guide h1,.teacher-guide h2,.teacher-guide h3{color:var(--tg-ink);line-height:1.25;letter-spacing:-.025em}.teacher-guide h1{font-size:clamp(2rem,3.4vw,3.2rem);margin:.4rem 0 .75rem}.teacher-guide h2{font-size:clamp(1.38rem,2.3vw,1.9rem);margin:.2rem 0 .7rem}.teacher-guide h3{font-size:1.16rem;margin:0 0 .65rem}.teacher-guide a{color:#126078;text-decoration:underline;text-underline-offset:3px}.teacher-guide strong{color:var(--tg-ink)}
.guide-hero{display:flex;align-items:center;justify-content:space-between;gap:2rem;border-radius:24px;padding:clamp(1.2rem,3.3vw,3rem);position:relative;overflow:hidden;background:radial-gradient(circle at 84% 10%,#31616e 0,#184158 33%,#112b42 72%);box-shadow:0 18px 40px #162f451a;color:white}
.guide-hero:after{content:'∑';font-size:17rem;position:absolute;right:-2rem;bottom:-9rem;color:#ffffff08;line-height:1;pointer-events:none}.guide-hero>*{position:relative;z-index:1}.teacher-guide .guide-hero h1{color:white;max-width:17ch}.teacher-guide .guide-hero h1 em{font-style:normal;color:#f8cc87}.teacher-guide .guide-hero p{color:#e0edf3;max-width:64ch}.guide-eyebrow,.guide-kicker,.guide-overline{font-size:.69rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.guide-eyebrow{color:#f9d58e}.guide-hero-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.5rem}.teacher-guide .guide-hero-actions button{border:1px solid #ffffff4d;border-radius:12px;padding:.74rem 1rem;white-space:normal}.teacher-guide .guide-hero-actions .gold{background:#eec57a;color:#1b3445;font-weight:800}.teacher-guide .guide-hero-actions .guide-ghost{background:#ffffff12;color:white}.guide-hero-stats{display:grid;grid-template-columns:repeat(1,1fr);gap:1rem;min-width:155px}.guide-hero-stats div{border-left:2px solid #f6d28b;padding-left:1rem}.guide-hero-stats strong{color:white;font-size:1.9rem;line-height:1.1;display:block;font-variant-numeric:tabular-nums}.guide-hero-stats span{color:#d8e9eb;font-size:.85rem}
.guide-start{margin-top:1rem;border-radius:14px;border:1px solid #d6e5e5;background:#f1f8f7;padding:1.05rem 1.4rem}.guide-start strong{font-weight:850}.guide-start p{margin:.15rem 0 0;color:#335967}.guide-content-grid{display:grid;grid-template-columns:minmax(0,215px) minmax(0,1fr);gap:1.5rem;align-items:start;margin-top:2rem}.guide-sidebar{position:sticky;top:92px;background:#f6f9fb;border-radius:16px;border:1px solid var(--tg-line);padding:.9rem;max-height:calc(100vh - 112px);overflow:auto}.guide-sidebar>strong{display:block;font-size:.71rem;letter-spacing:.14em;margin:.4rem .6rem .65rem;color:#60748a}.guide-sidebar button{display:block;text-align:left;border:0;width:100%;border-radius:10px;padding:.58rem .7rem;color:#38536a;background:transparent;font-size:.82rem;font-weight:650}.guide-sidebar button:hover,.guide-sidebar button:focus-visible{color:#0b5f70;background:#e5f2f1;outline-color:#2d7d8b}.guide-main{min-width:0}.guide-section{scroll-margin-top:110px;border-bottom:1px solid var(--tg-line);padding:0 0 2.7rem;margin-bottom:2.7rem}.guide-section-heading{margin-bottom:1.1rem}.guide-kicker{color:#1f8692;display:block;margin-bottom:.4rem}.guide-section>.guide-lead{max-width:70ch}
.guide-two,.guide-schedules,.guide-grade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.guide-panel,.guide-schedule,.guide-grade{background:white;border:1px solid var(--tg-line);border-radius:16px;padding:1.22rem;min-width:0;box-shadow:0 3px 9px #1d4c6406}.guide-panel-accent{background:#f1f7f6;border-color:#cce3de}.guide-panel p{margin:.4rem 0}.guide-steps{counter-reset:guide-counter;list-style:none;padding:0;margin:0}.guide-steps li{counter-increment:guide-counter;position:relative;padding:.2rem 0 .56rem 2rem;color:#405b6b}.guide-steps li:before{content:counter(guide-counter);position:absolute;left:0;top:.26rem;width:1.35rem;height:1.35rem;border-radius:50%;display:grid;place-items:center;background:#e7f2f1;color:#176477;font-size:.72rem;font-weight:900}.guide-note{margin-top:1.1rem;padding:1rem 1.2rem;border:1px solid #ddcfa9;border-left:4px solid #d6a750;background:#fffcf3;border-radius:12px;color:#51616b}.guide-note strong{color:#745521}.guide-fine,.teacher-guide p.guide-fine{font-size:.83rem;line-height:1.6;color:#627788}.guide-mini-list{padding:.65rem;background:#f4f8fa;border-radius:11px}.guide-mini-list p{font-size:.84rem;margin:.2rem 0}.guide-search-row{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:1rem 0}.guide-search-row label{display:block;font-weight:700;flex:1;color:#29495b}.guide-search-row input{display:block;width:100%;margin-top:.35rem;border:1px solid #b7cdd4;background:white;border-radius:10px;padding:.73rem .9rem;color:#213d4e;min-height:45px}.guide-search-row span{font-size:.8rem;color:var(--tg-muted);white-space:nowrap;padding-bottom:.6rem}.guide-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.guide-tool{display:flex;flex-direction:column;min-width:0;border:1px solid #d5e3e9;background:white;border-radius:17px;padding:1.2rem;box-shadow:0 2px 12px #103e5608}.guide-tool-top{display:flex;gap:.75rem;align-items:center;margin-bottom:.9rem}.guide-tool-icon{height:44px;width:44px;flex-shrink:0;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#e4f1ef,#dbe9f8);color:#175b72;font-size:1.35rem}.guide-overline{color:#43838b}.guide-tool-top h3{margin:.2rem 0 0}.guide-tool .guide-steps li{font-size:.91rem}.guide-tool-advice{margin-top:.8rem;border-top:1px dashed #cfdee4;padding-top:.65rem}.guide-tool-advice strong{font-size:.82rem}.guide-tool-advice p{font-size:.85rem;margin:.15rem 0 .6rem}.guide-tool>.guide-fine{margin:.25rem 0 1rem}.guide-tool>.guide-go{margin-top:auto;align-self:flex-start}.guide-go{background:#eaf4f3;color:#135767;border:1px solid #bcd9d7;border-radius:10px;padding:.57rem .85rem;font-size:.86rem;font-weight:800;text-align:left}.guide-go span{margin-left:.2rem}.guide-go:hover{background:#d8ebea}.guide-search-empty{padding:1rem;background:#fff9ec;border-radius:10px}.guide-schedule-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:1rem}.guide-schedule-head span{font-size:.83rem;font-weight:800;color:#327185}.guide-schedule-head strong{font-size:1.4rem}.guide-timeline p{border-left:3px solid #d5e9e8;padding:.36rem .6rem;margin:.4rem 0;color:#455c6b;font-size:.89rem}.guide-stations{margin-top:1rem}.guide-station-grid,.guide-filetypes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.guide-table-wrap{max-width:100%;overflow-x:auto;margin:.9rem 0 1.5rem;border:1px solid #dfebee;border-radius:14px}.guide-table{width:100%;border-collapse:collapse;min-width:590px;font-size:.89rem}.guide-table th,.guide-table td{padding:.8rem;border-bottom:1px solid #e0eaed;text-align:left;vertical-align:top}.guide-table th{background:#eef5f6;color:#254d60}.guide-table td{color:#496070}.guide-table tr:last-child td{border-bottom:0}.guide-filetypes{grid-template-columns:repeat(4,minmax(0,1fr));margin:.8rem 0}.guide-filetypes>div{background:#f5f9fa;border-radius:11px;padding:.7rem}.guide-filetypes b{font-size:1.15rem;color:#225971;display:block}.guide-filetypes span{font-size:.81rem;font-weight:750;color:#416577}.guide-filetypes p{font-size:.76rem;margin:.35rem 0}.guide-grade-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.guide-grade-num{display:grid;place-items:center;width:49px;height:49px;border-radius:14px;background:#e3eeef;color:#195267;font-size:1.6rem;font-weight:900;margin-bottom:.6rem}.guide-grade h3{min-height:2.6rem}.guide-grade p{font-size:.87rem}.guide-grade li{font-size:.84rem}.guide-faq details{background:white;border:1px solid #dae7eb;border-radius:11px;margin-bottom:.5rem;padding:.8rem 1rem}.guide-faq summary{cursor:pointer;font-weight:750;color:#235164}.guide-faq details[open]{background:#f6fbfa}.guide-checks{display:grid;gap:.55rem;background:#f2f9f9;border:1px solid #d7e6e8;padding:1.3rem;border-radius:14px}.guide-checks label{display:flex;gap:.65rem;align-items:start;line-height:1.5}.guide-checks input{width:1.1rem;height:1.1rem;accent-color:#207e8a;flex-shrink:0;margin-top:.24rem}.guide-last{border-radius:17px;margin-top:1rem;padding:1.3rem;background:#173e50}.guide-last h3,.guide-last strong{color:#f5d18f}.guide-last p{color:#e0edf2}.guide-last-actions{display:flex;flex-wrap:wrap;gap:.5rem}.guide-last .guide-go{background:#f7d493;border-color:#eebc62;color:#263a44}.guide-footer{border-top:1px solid var(--tg-line);padding:0 0 3rem}.guide-footer p{font-size:.85rem;line-height:1.7}
.top-guide{border:1px solid #d6e4e9;border-radius:10px;padding:8px 12px;background:#eef6f4;color:#224e5d;font-size:13px;font-weight:750;cursor:pointer;white-space:nowrap}.top-guide:hover{background:#dbecea}.top-guide:focus-visible{outline:3px solid #4d96a5}.tg-mini-entry{margin:.9rem 0 1.2rem;padding:1rem;border:1px solid #d5e7e7;background:#f1f7f6;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.tg-mini-entry p{margin:0;color:#486477}.tg-mini-entry strong{color:#1e5264}.tg-mini-entry button{white-space:nowrap}.teacher-guide button:focus-visible{outline:3px solid #2c92a3;outline-offset:2px}
@media(max-width:1150px){.top-guide span{display:none}.top-guide{min-width:40px;padding:8px 11px}.guide-content-grid{grid-template-columns:190px minmax(0,1fr);gap:1rem}.guide-tools{grid-template-columns:1fr}.guide-grade-grid{grid-template-columns:1fr}.guide-grade h3{min-height:0}}
@media(max-width:800px){.guide-content-grid{display:block;margin-top:1rem}.guide-sidebar{position:static;max-height:none;display:flex;gap:.2rem;flex-wrap:nowrap;overflow:auto;white-space:nowrap;margin-bottom:1.4rem;padding:.55rem}.guide-sidebar>strong{display:none}.guide-sidebar button{width:auto;flex-shrink:0}.guide-hero{flex-wrap:wrap}.guide-hero-stats{width:100%;grid-template-columns:repeat(3,1fr)}.guide-two,.guide-schedules{grid-template-columns:1fr}.guide-section{margin-bottom:1.9rem;padding-bottom:1.9rem}.guide-station-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.guide-hero{border-radius:16px;padding:1.15rem}.teacher-guide .guide-hero h1{font-size:2rem}.guide-hero-stats{gap:.2rem}.guide-hero-stats strong{font-size:1.35rem}.guide-hero-stats span{font-size:.7rem}.guide-tools{grid-template-columns:1fr}.guide-filetypes{grid-template-columns:repeat(2,1fr)}.guide-station-grid{grid-template-columns:1fr}.guide-search-row{display:block}.guide-search-row span{display:block;margin:.4rem 0 0}.tg-mini-entry{display:block}.tg-mini-entry button{margin-top:.8rem}.teacher-guide .guide-hero-actions button{width:100%}.guide-last-actions{flex-direction:column}.guide-last-actions button{width:100%}}
@media print{@page{size:A4;margin:15mm}body:has(.teacher-guide) .topbar,body:has(.teacher-guide) .sidebar,body:has(.teacher-guide) .backdrop,body:has(.teacher-guide) .toast,body:has(.teacher-guide) #storageWarning{display:none!important}body:has(.teacher-guide) .app-shell{display:block!important;margin:0!important;padding:0!important}body:has(.teacher-guide) #main{display:block!important;margin:0!important;padding:0!important;max-width:none!important;width:100%!important;overflow:visible!important}body:has(.teacher-guide){background:#fff!important}.teacher-guide{font-size:10pt;max-width:none!important;color:#172f40}.guide-hero{background:#eaf2f4!important;color:#193c4d!important;box-shadow:none!important;padding:12mm!important;break-after:avoid}.teacher-guide .guide-hero h1,.teacher-guide .guide-hero h1 em,.teacher-guide .guide-hero p,.guide-hero-stats strong,.guide-hero-stats span{color:#193c4d!important}.guide-content-grid{display:block}.guide-sidebar,.guide-hero-actions,.guide-go,.guide-search-row,.guide-search-empty{display:none!important}.guide-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.guide-tool,.guide-panel,.guide-grade,.guide-schedule{box-shadow:none;break-inside:avoid}.guide-section,.guide-section[hidden]{display:block!important;break-before:auto;margin-bottom:4mm;padding-bottom:7mm}.guide-steps li,.guide-tool p,.guide-panel p{color:#234359!important}.guide-filetypes{grid-template-columns:repeat(4,1fr)}.guide-faq details{display:block!important}.guide-faq details:not([open])>p{display:block!important}.guide-last{background:#eaf2f4!important}.guide-last h3,.guide-last p,.guide-last strong{color:#193c4d!important}.guide-checks{background:white}.guide-footer{padding-bottom:0}}

@media print{.teacher-guide [data-guide-tool][hidden]{display:flex!important}}
