/* Námsbrú v18.0.1 · Vinnuborð kennarans */
#top.hero{display:none}
.teacher-dashboard{position:relative;padding:44px 0 58px;background:linear-gradient(180deg,#eaf7f5 0,#f7faf8 48%,#fbfaf6 100%);overflow:hidden}
.teacher-dashboard::before{position:absolute;inset:0 0 auto;height:250px;background:linear-gradient(135deg,#073b59,#086c71);content:""}
.teacher-dashboard .shell{position:relative;z-index:1}
.dashboard-header{display:flex;align-items:flex-end;justify-content:space-between;gap:35px;color:#fff}
.dashboard-header .eyebrow{color:#8de0d4}.dashboard-header .eyebrow span{background:currentColor}
.dashboard-header h1{max-width:860px;margin:12px 0 10px;color:#fff;font-size:clamp(3rem,5.4vw,6rem);line-height:.94;letter-spacing:-.06em}
.dashboard-header h1 em{color:#f3ba4e;font-style:normal}.dashboard-header>div:first-child>p:last-child{max-width:720px;margin:0;color:#c5dce1;font-size:.9rem;line-height:1.6}
.dashboard-primary-actions{display:flex;flex:0 0 auto;gap:9px;padding-bottom:8px}.dashboard-primary-actions a,.dashboard-primary-actions button{display:inline-flex;min-height:48px;align-items:center;gap:8px;padding:10px 15px;color:#082f4b;border:0;border-radius:13px;background:#fff;font-size:.7rem;font-weight:900;text-decoration:none;cursor:pointer}.dashboard-primary-actions .dashboard-new{background:#f3ba4e}.dashboard-primary-actions span{font-size:1rem}
.dashboard-status-row{display:grid;grid-template-columns:minmax(360px,.82fr) minmax(600px,1.5fr);gap:13px;margin-top:34px}
.dashboard-today-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;min-height:150px;padding:18px;border:1px solid rgba(255,255,255,.22);border-radius:20px;background:#fff;box-shadow:0 18px 50px rgba(6,40,63,.15)}
.dashboard-date{display:grid;width:76px;height:98px;place-content:center;place-items:center;color:#fff;border-radius:16px;background:var(--navy)}.dashboard-date small{color:#8bd9d0;font-size:.5rem;font-weight:900;letter-spacing:.1em}.dashboard-date strong{font-size:2.15rem;line-height:1}.dashboard-date span{margin-top:3px;font-size:.57rem;font-weight:850;text-transform:uppercase}
.dashboard-today-card>div:nth-child(2){min-width:0}.dashboard-today-card>div:nth-child(2)>small{color:var(--teal);font-size:.52rem;font-weight:900;letter-spacing:.1em}.dashboard-today-card h2{overflow:hidden;margin:5px 0 3px;color:var(--navy);font-size:1.05rem;text-overflow:ellipsis;white-space:nowrap}.dashboard-today-card p{margin:0;color:var(--muted);font-size:.64rem;line-height:1.45}.dashboard-today-card>button{grid-column:1/-1;min-height:38px;color:#fff;border:0;border-radius:10px;background:var(--teal);font-size:.63rem;font-weight:900;cursor:pointer}
.dashboard-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.dashboard-shortcuts a{display:grid;grid-template-columns:39px 1fr;grid-template-rows:auto auto;align-content:center;gap:2px 9px;min-width:0;padding:14px;color:var(--navy);border:1px solid #d7e5e3;border-radius:17px;background:#fff;box-shadow:0 13px 34px rgba(6,40,63,.08);text-decoration:none;transition:.16s}.dashboard-shortcuts a:hover{border-color:#7fc9bf;transform:translateY(-2px);box-shadow:0 18px 38px rgba(6,40,63,.13)}.dashboard-shortcuts span{display:grid;grid-row:1/3;width:39px;height:39px;place-items:center;color:#fff;border-radius:11px;background:var(--teal);font-size:.68rem;font-weight:950}.dashboard-shortcuts strong{align-self:end;overflow:hidden;font-size:.68rem;text-overflow:ellipsis}.dashboard-shortcuts small{overflow:hidden;color:var(--muted);font-size:.51rem;line-height:1.35}.dashboard-shortcuts .shortcut-live span{background:#097f7a}.dashboard-shortcuts .shortcut-book span{background:#3f6eaa}.dashboard-shortcuts .shortcut-ut span{background:#7652a7}.dashboard-shortcuts .shortcut-student span{color:var(--navy);background:var(--gold)}
.dashboard-week{margin-top:14px;border:1px solid #d6e4e2;border-radius:23px;background:#fff;box-shadow:0 18px 55px rgba(6,40,63,.1);overflow:hidden}.dashboard-week>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid #dbe7e5}.dashboard-week>header small{color:var(--teal);font-size:.53rem;font-weight:900;letter-spacing:.11em}.dashboard-week>header h2{margin:3px 0 2px;color:var(--navy);font-size:1.35rem}.dashboard-week>header p{margin:0;color:var(--muted);font-size:.62rem}.dashboard-week-controls{display:flex;align-items:center;gap:6px}.dashboard-week-controls button,.dashboard-week-controls a{display:inline-flex;min-height:37px;align-items:center;justify-content:center;padding:7px 10px;color:var(--navy);border:1px solid #d2e1e0;border-radius:9px;background:#fff;font-size:.6rem;font-weight:850;text-decoration:none;cursor:pointer}.dashboard-week-controls button:first-child,.dashboard-week-controls button:nth-child(3){width:37px;padding:0}.dashboard-week-controls a{margin-left:5px;color:#fff;border-color:var(--navy);background:var(--navy)}
.dashboard-week-board{display:grid;grid-template-columns:repeat(5,minmax(190px,1fr));gap:8px;overflow-x:auto;padding:13px}.dashboard-day{min-width:190px;border:1px solid #dce7e5;border-radius:14px;background:#f7faf9;overflow:hidden}.dashboard-day.is-today{border-color:#65bcb2;box-shadow:0 0 0 2px rgba(12,139,142,.08)}.dashboard-day>header{display:flex;align-items:center;justify-content:space-between;padding:10px 11px;color:#fff;background:var(--navy)}.dashboard-day.is-today>header{background:var(--teal-dark)}.dashboard-day>header div{display:grid}.dashboard-day>header small{color:#a9dcd6;font-size:.48rem;font-weight:900;letter-spacing:.08em}.dashboard-day>header strong{font-size:.72rem}.dashboard-day>header>span{color:var(--navy);padding:4px 6px;border-radius:7px;background:var(--gold);font-size:.5rem;font-weight:900}.dashboard-day-list{display:grid;gap:6px;min-height:165px;align-content:start;padding:7px}.dashboard-day-add{width:100%;min-height:31px;color:var(--teal);border:1px dashed #a9cac6;border-radius:8px;background:#fff;font-size:.55rem;font-weight:900;cursor:pointer}
.dashboard-lesson{position:relative;padding:9px;border:1px solid #d5e2e0;border-left:4px solid var(--teal);border-radius:9px;background:#fff;cursor:pointer}.dashboard-lesson[data-subject="staerdfraedi"]{border-left-color:#397fbd}.dashboard-lesson[data-subject="enska"]{border-left-color:#8266b4}.dashboard-lesson[data-subject="nattura"]{border-left-color:#4a9665}.dashboard-lesson[data-subject="samfelag"]{border-left-color:#e5a729}.dashboard-lesson[data-subject="ut"]{border-left-color:#657d90}.dashboard-lesson[data-subject="listir"]{border-left-color:#c85f83}.dashboard-lesson>button{width:100%;padding:0;text-align:left;border:0;background:transparent;cursor:pointer}.dashboard-lesson time{color:var(--teal-dark);font-size:.5rem;font-weight:900}.dashboard-lesson h3{overflow:hidden;margin:3px 0 2px;color:var(--navy);font-size:.64rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.dashboard-lesson p{margin:0;color:var(--muted);font-size:.49rem}.dashboard-live-badge{display:inline-flex;margin-top:5px;padding:3px 5px;color:#086b62;border-radius:6px;background:#dff4ef;font-size:.44rem;font-weight:900;letter-spacing:.05em}.dashboard-lesson-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:6px}.dashboard-lesson-actions a{padding:5px;color:var(--navy);border:1px solid #d3e2df;border-radius:6px;background:#fff;font-size:.46rem;font-weight:900;text-align:center;text-decoration:none}.dashboard-lesson-actions a:last-child{border-color:#f1c563;background:#fff5d8}.dashboard-empty{display:grid;min-height:105px;place-items:center;padding:12px;color:#8aa0a8;font-size:.54rem;text-align:center}
.dashboard-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;margin-top:12px;color:#fff;border-radius:16px;background:#0a3c58}.dashboard-footer p{display:flex;align-items:center;gap:6px;margin:0;color:#c3d9de;font-size:.62rem}.dashboard-footer p span{color:#77d4ae}.dashboard-footer p strong{color:#fff}.dashboard-footer nav{display:flex;gap:6px}.dashboard-footer a{padding:7px 9px;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:8px;font-size:.54rem;font-weight:850;text-decoration:none}
.dashboard-dialog{width:min(720px,calc(100% - 26px));padding:0;border:0;border-radius:22px;background:#fff;box-shadow:0 30px 100px rgba(0,0,0,.3)}.dashboard-dialog::backdrop{background:rgba(4,27,45,.7);backdrop-filter:blur(6px)}.dashboard-dialog form>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;color:#fff;background:linear-gradient(125deg,var(--navy),#0b6970)}.dashboard-dialog header small{color:#9fded6;font-size:.54rem;font-weight:900;letter-spacing:.1em}.dashboard-dialog header h2{margin:3px 0 0;font-size:1.4rem}.dashboard-dialog header button{width:37px;height:37px;color:#fff;border:1px solid rgba(255,255,255,.24);border-radius:10px;background:rgba(255,255,255,.08);font-size:1.1rem}.dashboard-dialog-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;padding:22px}.dashboard-dialog-fields label{display:grid;gap:6px}.dashboard-dialog-fields label span{color:var(--navy);font-size:.58rem;font-weight:900}.dashboard-dialog-fields input,.dashboard-dialog-fields select,.dashboard-dialog-fields textarea{width:100%;min-height:42px;padding:8px 10px;color:var(--ink);border:1px solid #ccdedd;border-radius:9px;background:#fff;font:inherit;font-size:.7rem}.dashboard-dialog-fields textarea{resize:vertical}.dashboard-dialog-wide{grid-column:1/-1}.dashboard-dialog form>footer{display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;padding:14px 22px;border-top:1px solid #dce7e5;background:#f7faf9}.dashboard-dialog footer button{min-height:40px;padding:8px 12px;color:var(--navy);border:1px solid #cddfdd;border-radius:9px;background:#fff;font-size:.62rem;font-weight:900;cursor:pointer}.dashboard-dialog footer .dashboard-dialog-save{color:#fff;border-color:var(--teal);background:var(--teal)}.dashboard-dialog footer .dashboard-delete{color:#a33f3a;border-color:#efc9c6;background:#fff5f4}
@media(max-width:1100px){.dashboard-status-row{grid-template-columns:1fr}.dashboard-shortcuts{grid-template-columns:repeat(4,1fr)}.dashboard-header{align-items:flex-start;flex-direction:column}.dashboard-primary-actions{padding:0}.dashboard-week-board{grid-template-columns:repeat(5,minmax(220px,1fr))}}
@media(max-width:760px){.teacher-dashboard{padding-top:28px}.teacher-dashboard::before{height:350px}.dashboard-header h1{font-size:clamp(2.8rem,14vw,4.7rem)}.dashboard-primary-actions{display:grid;width:100%;grid-template-columns:1fr}.dashboard-primary-actions a,.dashboard-primary-actions button{justify-content:center}.dashboard-status-row{margin-top:24px}.dashboard-shortcuts{grid-template-columns:1fr 1fr}.dashboard-week>header{align-items:flex-start;flex-direction:column}.dashboard-week-controls{width:100%;flex-wrap:wrap}.dashboard-week-controls a{margin-left:auto}.dashboard-footer{align-items:flex-start;flex-direction:column}.dashboard-footer nav{flex-wrap:wrap}.dashboard-dialog-fields{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.dashboard-today-card{grid-template-columns:auto 1fr}.dashboard-shortcuts{grid-template-columns:1fr}.dashboard-week-controls a{width:100%;margin:5px 0 0}.dashboard-dialog-fields{grid-template-columns:1fr}.dashboard-dialog-wide{grid-column:auto}.dashboard-dialog form>footer{grid-template-columns:1fr}.dashboard-dialog form>footer>span{display:none}}
@media print{.teacher-dashboard{background:#fff}.teacher-dashboard::before,.dashboard-primary-actions,.dashboard-shortcuts,.dashboard-week-controls,.dashboard-day-add,.dashboard-lesson-actions,.dashboard-footer{display:none!important}.dashboard-header{color:#000}.dashboard-header h1{color:#0b3557}.dashboard-week{box-shadow:none}.dashboard-week-board{grid-template-columns:repeat(5,1fr);overflow:visible}}

/* v19.0.1 · fjórir stærri inngangar á vinnuborðinu. */
.dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dashboard-shortcuts a{grid-template-columns:48px minmax(0,1fr);min-height:108px;padding:20px;gap:6px 13px;border-radius:19px}
.dashboard-shortcuts span{width:48px;height:48px;border-radius:14px;font-size:.9rem}
.dashboard-shortcuts strong{overflow:visible;font-size:.98rem;line-height:1.25;text-overflow:clip;overflow-wrap:break-word}
.dashboard-shortcuts small{overflow:visible;font-size:.72rem;line-height:1.45}
@media(max-width:760px){.dashboard-shortcuts a{padding:17px;min-height:114px;grid-template-columns:42px minmax(0,1fr);gap:6px 10px}.dashboard-shortcuts span{width:42px;height:42px}.dashboard-shortcuts strong{font-size:.9rem}}
@media(max-width:520px){.dashboard-shortcuts{grid-template-columns:1fr;gap:10px}.dashboard-shortcuts a{grid-template-columns:48px minmax(0,1fr);min-height:100px;padding:18px;gap:6px 13px}.dashboard-shortcuts span{width:48px;height:48px}.dashboard-shortcuts strong{font-size:1rem}.dashboard-shortcuts small{font-size:.76rem}}

/* Bakgrunnur fylgir hæð fyrirsagnarinnar þegar línur brotna. */
.teacher-dashboard::before{display:none}
.dashboard-header{position:relative;isolation:isolate}
.dashboard-header::before{position:absolute;z-index:-1;inset:-44px calc((100% - 100vw)/2) -52px;content:"";background:linear-gradient(135deg,#073b59,#086c71);pointer-events:none}
@media print{.dashboard-header::before{display:none}}
.gateway-card[data-site-id="rannsoknarstofan"] h3{font-size:1.4rem;word-break:normal;overflow-wrap:normal}
.dashboard-status-row{position:relative;z-index:1}

/* v20 · Sameiginleg kennslustund og minnisatriði */
.dashboard-start{margin:25px 0;padding:26px;border:1px solid #d5e6e2;border-radius:22px;background:#fff;scroll-margin-top:100px}
.dashboard-start-heading{display:flex;justify-content:space-between;gap:25px;align-items:center}.dashboard-start-heading small{font-size:.65rem;letter-spacing:.12em;font-weight:800;color:#09675f}.dashboard-start h2{margin:7px 0;font-size:clamp(1.5rem,3vw,2.1rem);color:#092f48}.dashboard-start p{font-size:.85rem;line-height:1.6;color:#48616a}.dashboard-start-heading label{max-width:420px;min-width:260px;font-size:.8rem;font-weight:750}.dashboard-start select{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #b4ccc6;border-radius:10px;background:#f5faf8;color:#12394d;font:inherit}
.dashboard-task-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0 12px}.dashboard-task-grid button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;min-height:138px;padding:18px;border:1px solid #d4e4e0;border-radius:14px;background:#f5faf8;color:#10364a;cursor:pointer;font:inherit}.dashboard-task-grid button:hover{border-color:#117b71;background:#edf8f3}.dashboard-task-grid button span{color:#26796f;font-weight:800;font-size:.65rem}.dashboard-task-grid strong{font-size:1rem}.dashboard-task-grid small{font-size:.76rem;line-height:1.5;color:#48616a}
.dashboard-memory{margin-top:15px;border-top:1px solid #dbe8e4;padding-top:16px}.dashboard-memory summary{font-weight:800;color:#103e4c;cursor:pointer;padding:6px 0}.dashboard-memory summary span{font-size:.8rem;color:#176e60}.dashboard-memory-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:18px}.dashboard-memory h3{font-size:.95rem;margin:0 0 10px}.dashboard-memory ul{list-style:none;margin:0;padding:0}.dashboard-memory li{padding:12px;background:#f3f7f3;border-radius:10px;margin-bottom:8px;font-size:.85rem;overflow-wrap:anywhere}.dashboard-memory li p{white-space:pre-wrap;margin:0 0 6px}.dashboard-memory li small{display:block;color:#526c70}.dashboard-memory li.is-done{opacity:.7}.dashboard-memory button{min-height:42px;margin-top:8px;padding:8px 12px;border:1px solid #b5cfc7;border-radius:8px;background:#fff;color:#174b44;font:inherit;font-size:.78rem;font-weight:750;cursor:pointer}.dashboard-memory form>label{display:block;font-size:.9rem;font-weight:750}.dashboard-memory textarea{box-sizing:border-box;width:100%;margin-top:8px;padding:12px;border:1px solid #b5cfc7;border-radius:9px;font:inherit;font-size:.9rem;resize:vertical}.dashboard-memory form p{font-size:.75rem}.dashboard-memory-history{font-size:.75rem;display:flex;gap:8px;align-items:center;margin-top:12px}.dashboard-memory-history input{width:auto}.dashboard-flow-lesson{display:flex;flex-wrap:wrap;gap:4px;border-top:1px solid #e1ece7;padding:8px}.dashboard-flow-lesson button{padding:7px!important;min-height:36px;border:0;border-radius:6px;background:#eaf5ef;color:#1a594d;font:inherit;font-size:.62rem!important;cursor:pointer}.dashboard-start :focus-visible{outline:3px solid #cc940a;outline-offset:3px}#dashboard-flow-status:empty,#dashboard-dialog-status:empty{display:none}#dashboard-dialog-status{color:#962b27}
@media(max-width:900px){.dashboard-start-heading{align-items:stretch;flex-direction:column}.dashboard-start-heading label{max-width:none;min-width:0}.dashboard-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-memory-grid{grid-template-columns:1fr}}
@media(max-width:460px){.dashboard-start{padding:18px}.dashboard-task-grid{gap:8px}.dashboard-task-grid button{padding:13px;min-height:150px}.dashboard-task-grid strong{font-size:.88rem}}

.dashboard-concept-link{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 13px;border:1px solid #bad1c8;border-radius:9px;background:#f2f8f4;color:#155b54;font:700 .8rem/1.5 system-ui;cursor:pointer}.dashboard-concept-link:hover{background:#e3f2e9}
