/* Námsbrú v26.4 – myndrænt, skýrt bekkjaryfirlit, án ytri gagnasöfnunar */
.cohort-intro{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;align-items:center;margin-bottom:20px}
.cohort-kicker{font-size:11px;letter-spacing:.14em;font-weight:850;color:#148274;margin:0 0 6px}
.cohort-intro h3{font-size:clamp(1.45rem,2.4vw,2.2rem);letter-spacing:-.045em;margin:0;color:#103e54}
.cohort-intro p:not(.cohort-kicker){font-size:13px;color:#577181;margin:7px 0 0;max-width:660px}
.cohort-source{font-size:11px;background:#e8f6f1;border-radius:999px;padding:8px 11px;color:#176f60;font-weight:760}
.cohort-filters{display:grid;grid-template-columns:minmax(150px,1fr) minmax(140px,1fr) minmax(165px,1.2fr) minmax(150px,.85fr) auto;gap:10px;align-items:end;margin:18px 0}
.cohort-filters label{font-weight:750;font-size:12px;color:#335c6e;display:grid;gap:6px}
.cohort-filters select,.cohort-filters input{min-width:0;min-height:45px;padding:10px 12px;border:1px solid #cadfe4;border-radius:11px;background:#fff;font:inherit;color:#17475b;width:100%}
.cohort-filters button{min-height:45px;white-space:nowrap;border:1px solid #d0e4e7;background:#f7fbfc;color:#205768;border-radius:11px;font-weight:760;cursor:pointer;padding:0 12px}
.cohort-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:17px 0}
.cohort-metric{display:flex;flex-direction:column;min-height:124px;padding:19px;border-radius:17px;background:#fff;border:1px solid #dce8ec;gap:6px}
.cohort-metric span{font-size:12px;color:#526f7c;font-weight:750}
.cohort-metric strong{font-size:clamp(1.75rem,3vw,2.45rem);color:#0e516a;font-weight:850;line-height:1.05;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.cohort-metric small{color:#72909c;font-size:11px}
.cohort-sections{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(285px,.85fr);gap:14px;align-items:start;margin:15px 0}
.cohort-card{border-radius:18px;border:1px solid #dce7ec;background:#fff;padding:19px;min-width:0}
.cohort-card h4{font-size:17px;margin:0;color:#0e465d;letter-spacing:-.025em}
.cohort-card p{font-size:12px;color:#678392;line-height:1.55;margin:6px 0 12px}
.cohort-stack-track{display:flex;overflow:hidden;border-radius:999px;background:#e9f1f3;height:18px;margin:15px 0 13px}
.cohort-stack{min-width:0;height:100%}.cohort-stack.complete{background:#158579}.cohort-stack.working{background:#6aa4b4}.cohort-stack.pending{background:#d5e0e5}
.cohort-legend{display:flex;flex-wrap:wrap;gap:14px;color:#4f6f7c;font-size:11px;font-weight:760}
.cohort-legend span{display:inline-flex;gap:6px;align-items:center}
.cohort-key{width:10px;height:10px;display:inline-block;border-radius:3px}.cohort-key.complete{background:#158579}.cohort-key.working{background:#6aa4b4}.cohort-key.pending{background:#d5e0e5}
.cohort-student-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 5px}
.cohort-students{max-height:575px;overflow-y:auto}
.cohort-student{display:grid;grid-template-columns:minmax(100px,1fr) minmax(95px,1.5fr) 62px 18px;gap:15px;align-items:center;width:100%;padding:12px 9px;border:0;border-bottom:1px solid #e6eff1;background:transparent;text-align:left;font:inherit;cursor:pointer;border-radius:8px;color:#124456}
.cohort-student:hover,.cohort-student:focus-visible{background:#f1f8f7;outline:2px solid #a7dcda;outline-offset:-2px}
.cohort-student-name strong{display:block;font-size:13px}.cohort-student-name small{display:block;color:#718a97;font-size:10px;margin-top:2px}
.cohort-progress{display:block;min-width:0}.cohort-progress small{color:#647f8e;display:block;font-size:10px;margin-top:5px}
.cohort-progress-track{display:block;border-radius:999px;height:10px;background:#e6eff0;overflow:hidden}.cohort-progress-track span{display:block;height:100%;border-radius:999px;background:#159487}
.cohort-number{font-size:13px;text-align:right;font-weight:800;font-variant-numeric:tabular-nums}.cohort-open{color:#51899d}
.cohort-site-row{padding:11px 0;border-bottom:1px solid #e8f0f1}.cohort-site-row:last-child{border:0}
.cohort-site-row>div:first-child{display:flex;gap:10px;align-items:start;justify-content:space-between}.cohort-site-row strong{font-size:12px;line-height:1.4;color:#315968}.cohort-site-row span{font-size:11px;color:#667e8a;white-space:nowrap}
.cohort-mini-track{margin-top:9px;background:#e9f1f2;height:7px;border-radius:99px;overflow:hidden}.cohort-mini-track i{display:block;height:100%;border-radius:99px;background:#0c8790}
.cohort-matrix-wrap{max-height:440px;overflow:auto;border:1px solid #e0ebee;border-radius:11px}
.cohort-matrix-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:11px}
.cohort-matrix-table th,.cohort-matrix-table td{padding:8px 10px;border-bottom:1px solid #e8f0f2;white-space:nowrap;text-align:center}
.cohort-matrix-table thead th{position:sticky;top:0;background:#f0f7f7;color:#315b6b;z-index:2;max-width:170px;text-overflow:ellipsis;overflow:hidden}
.cohort-matrix-table thead th:first-child{z-index:4}
.cohort-matrix-table tr th:first-child{position:sticky;left:0;background:#fff;z-index:3;text-align:left;min-width:90px}
.cohort-matrix-table thead tr th:first-child{background:#f0f7f7}
.cohort-matrix-table th button{font-size:12px;font-weight:750;background:transparent;border:0;cursor:pointer;color:#115672;text-decoration:underline;text-underline-offset:3px}
.cohort-matrix-number{display:inline-grid;place-items:center;margin-right:6px;background:#d8eeee;color:#147372;width:20px;height:20px;border-radius:7px;font-size:10px}
.cohort-cell{display:inline-grid;place-items:center;min-width:28px;min-height:28px;border-radius:8px;font-size:13px;font-weight:800}
.cohort-cell.completed{background:#d8f3e9;color:#0c7361}.cohort-cell.in_progress{background:#e1f0f8;color:#216982}.cohort-cell.not_started{background:#edf0f2;color:#748a94}.cohort-cell.absent{color:#b4c1c4}
.cohort-empty{padding:20px 10px;color:#6a8796;font-size:13px}.cohort-warning{font-size:12px;color:#835a23;background:#fff8eb;border:1px solid #f0d9ac;padding:9px 13px;border-radius:10px}
.cohort-next{font-size:12px;color:#4d6e7c;line-height:1.6;border-top:1px solid #deeaec;padding-top:14px;margin-top:16px}
.cohort-next strong{color:#1c566a}
@media(max-width:1050px){.cohort-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cohort-filters button{align-self:end}.cohort-sections{grid-template-columns:1fr}}
@media(max-width:650px){.cohort-filters{grid-template-columns:1fr}.cohort-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cohort-metric{padding:14px;min-height:105px}.cohort-card{padding:14px}.cohort-student{grid-template-columns:minmax(74px,.9fr) 1.3fr 45px;gap:7px;padding:12px 3px}.cohort-student .cohort-open{display:none}.cohort-progress small{font-size:9px}.cohort-student-name small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.cohort-progress-track span{transition:none}}

#activity-frame{width:100%;height:100%;flex:1;border:0}
body.activity-is-open{overflow:hidden}

/* Stuttar, afmarkaðar námsleiðsagnartillögur fyrir kennara. */
.cohort-next-steps{display:grid;gap:5px}
.cohort-step{display:grid;grid-template-columns:minmax(65px,.65fr) minmax(110px,2.3fr) 16px;gap:7px;align-items:start;text-align:left;border:0;border-bottom:1px solid #e8f0f1;background:transparent;width:100%;padding:10px 3px;color:#315968;font:inherit;cursor:pointer}
.cohort-step:last-child{border-bottom:0}
.cohort-step strong{font-size:12px;color:#0e5268}.cohort-step span{font-size:11px;line-height:1.5}
.cohort-step:hover,.cohort-step:focus-visible{background:#f1f8f7;outline:2px solid #a7dcda;outline-offset:-2px}
