/* OMHV instructor self-reflection: design handoff option 2a. Tokens come from omhv-fonts.css (parent theme).
   Wide screens: header + two independently scrolling panes (minmax(0,1fr) | 560px).
   900–1099px: the same two panes, narrower. Below 900px the panes stack and the page scrolls as a whole. */

body.omhv-teacher{margin:0;background:var(--omhv-surface);color:var(--omhv-ink);font-family:var(--omhv-sans);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
.omhv-teacher *,.omhv-teacher *::before,.omhv-teacher *::after{box-sizing:border-box}
.omhv-teacher button,.omhv-teacher input,.omhv-teacher textarea{font-family:inherit}

.omhv-teacher .omhv-t{display:flex;flex-direction:column;height:100vh}
.omhv-teacher .omhv-t-head{flex:none;display:flex;align-items:center;gap:32px;padding:18px 32px;border-bottom:1px solid var(--omhv-line);background:var(--omhv-side)}
.omhv-teacher .omhv-t-title{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.omhv-teacher .omhv-t-eyebrow{font:500 11px var(--omhv-mono);color:var(--omhv-accent);text-transform:uppercase}
.omhv-teacher .omhv-t-name{font-size:20px;font-weight:600;letter-spacing:-.01em;line-height:1.3}
.omhv-teacher .omhv-t-meta{display:flex;gap:28px;flex-wrap:wrap}
.omhv-teacher .omhv-t-meta div{display:flex;flex-direction:column;gap:3px}
.omhv-teacher .omhv-t-meta span:first-child{font:500 10px var(--omhv-mono);color:var(--omhv-ink-3)}
.omhv-teacher .omhv-t-meta span:last-child{font-size:13px}

.omhv-teacher .omhv-t-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 560px}
.omhv-teacher .omhv-t-left{overflow:auto;padding:28px 32px 40px;border-right:1px solid var(--omhv-line);outline:none}
.omhv-teacher .omhv-t-right{overflow:auto;background:var(--omhv-panel);display:flex;flex-direction:column}

/* ---------------------------------------------------------------- A. data summary (left) */
.omhv-teacher .omhv-sec-head{display:flex;align-items:baseline;gap:10px}
.omhv-teacher .omhv-sec-letter{font:500 12px var(--omhv-mono);color:var(--omhv-accent)}
.omhv-teacher .omhv-sec-title{font-size:18px;font-weight:600}
.omhv-teacher .omhv-a-head{margin-bottom:18px}
.omhv-teacher .omhv-toolbar{display:flex;align-items:center;gap:16px;margin:-4px 0 20px;flex-wrap:wrap}
.omhv-teacher .omhv-seg{display:flex;gap:2px;padding:3px;border:1px solid var(--omhv-line-input);border-radius:8px}
.omhv-teacher .omhv-seg button{padding:7px 14px;border:0;border-radius:6px;background:transparent;color:var(--omhv-body);font-size:13px;cursor:pointer}
.omhv-teacher .omhv-seg button[aria-pressed=true]{background:var(--omhv-ink);color:#fff}
.omhv-teacher .omhv-seg button:focus-visible,.omhv-teacher .omhv-switch:focus-visible,.omhv-teacher .omhv-cite:focus-visible{outline:none;box-shadow:var(--omhv-ring)}
.omhv-teacher .omhv-switch{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:13px;color:var(--omhv-body);background:none;border:0;padding:4px;border-radius:6px}
.omhv-teacher .omhv-switch-track{position:relative;width:34px;height:20px;border-radius:10px;background:#c9ccd1;transition:background .15s;flex:none}
.omhv-teacher .omhv-switch-knob{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:left .15s}
.omhv-teacher .omhv-switch[aria-checked=true] .omhv-switch-track{background:var(--omhv-accent)}
.omhv-teacher .omhv-switch[aria-checked=true] .omhv-switch-knob{left:16px}

.omhv-teacher .omhv-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:28px}
.omhv-teacher .omhv-kpi{padding:14px 16px;border:1px solid var(--omhv-line);border-radius:8px;display:flex;flex-direction:column;gap:6px;min-width:0}
.omhv-teacher .omhv-kpi-label{font-size:12px;color:var(--omhv-ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.omhv-teacher .omhv-kpi-value{font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.2}
.omhv-teacher .omhv-kpi-delta{font:500 11px var(--omhv-mono);min-height:14px}
.omhv-teacher .pos{color:var(--omhv-pos)}.omhv-teacher .neg{color:var(--omhv-warn)}.omhv-teacher .neu{color:var(--omhv-ink-3)}

.omhv-teacher .omhv-sections{display:flex;flex-direction:column;gap:32px}
.omhv-teacher .omhv-section{display:flex;flex-direction:column;gap:4px}
.omhv-teacher .omhv-section-head{display:flex;align-items:baseline;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--omhv-line)}
.omhv-teacher .omhv-section-no{font:500 12px var(--omhv-mono);color:var(--omhv-ink-3);flex:none}
.omhv-teacher .omhv-section-title{font-size:15px;font-weight:600;line-height:1.35}
.omhv-teacher .omhv-section-meta{margin-left:auto;font:500 11px var(--omhv-mono);color:var(--omhv-ink-3);flex:none;text-align:right}

.omhv-teacher .omhv-srow{display:grid;grid-template-columns:minmax(0,1fr) 96px 52px 76px 28px;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid var(--omhv-line-row2)}
.omhv-teacher .omhv-srow-label{display:flex;gap:10px;font-size:14px;line-height:1.4}
.omhv-teacher .omhv-num{font:400 12px/1.7 var(--omhv-mono);color:var(--omhv-ink-4);flex:none}
.omhv-teacher .omhv-hist{display:flex;align-items:flex-end;gap:3px;height:30px}
.omhv-teacher .omhv-hist span{flex:1;border-radius:2px 2px 0 0;background:var(--omhv-accent)}
.omhv-teacher .omhv-hist span.lo{background:var(--omhv-bar-light)}
.omhv-teacher .omhv-hist span.zero{background:var(--omhv-line)}
.omhv-teacher .omhv-mean{font-size:18px;font-weight:600;text-align:right}
.omhv-teacher .omhv-mean.warn{color:var(--omhv-warn)}
.omhv-teacher .omhv-delta{display:flex;flex-direction:column;gap:1px;text-align:right}
.omhv-teacher .omhv-delta b{font:500 12px var(--omhv-mono)}
.omhv-teacher .omhv-delta small{font-size:11px;color:#8a9099}
.omhv-teacher .omhv-cite{width:28px;height:28px;border:1px solid var(--omhv-line-input);border-radius:6px;background:var(--omhv-surface);color:var(--omhv-accent);font-size:16px;line-height:1;cursor:pointer;padding:0}
.omhv-teacher .omhv-cite:hover{background:var(--omhv-accent-tint)}
.omhv-teacher .omhv-mrow{display:grid;grid-template-columns:minmax(0,1fr) 180px 28px 28px;align-items:center;gap:16px;padding:7px 0}
.omhv-teacher .omhv-mrow-label{font-size:14px;line-height:1.35}
.omhv-teacher .omhv-bar{height:8px;background:var(--omhv-line-row2);border-radius:4px;overflow:hidden}
.omhv-teacher .omhv-bar span{display:block;height:8px;background:var(--omhv-accent);border-radius:4px}
.omhv-teacher .omhv-count{font:500 13px var(--omhv-mono);text-align:right}
.omhv-teacher .omhv-other{margin:8px 0 0;font-size:13px;color:var(--omhv-ink-2)}
.omhv-teacher .omhv-trow{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:16px;align-items:start;padding:12px 0;border-bottom:1px solid var(--omhv-line-row2)}
.omhv-teacher .omhv-trow p{margin:0;font-size:14px;line-height:1.5;color:#2b2f36;text-wrap:pretty;white-space:pre-wrap}
.omhv-teacher .omhv-empty{font-size:14px;color:var(--omhv-ink-2);padding:12px 0}
.omhv-teacher .omhv-notice{padding:16px;border:1px solid var(--omhv-line);border-radius:8px;font-size:14px;color:var(--omhv-body);background:var(--omhv-panel)}

/* ---------------------------------------------------------------- reflection form (right) */
.omhv-teacher .omhv-t-right #main-row,.omhv-teacher .omhv-t-right #main-col,.omhv-teacher .omhv-t-right .row{margin:0;padding:0;display:block;width:auto;max-width:none}
.omhv-teacher .omhv-t-right [class*="col-"]{padding:0;width:auto;max-width:none;flex:none}
.omhv-teacher .omhv-t-right #main-row,.omhv-teacher .omhv-t-right #main-col{flex:1;display:flex;flex-direction:column}
.omhv-teacher form#limesurvey{flex:1;display:flex;flex-direction:column}
.omhv-teacher .omhv-t-right .group-outer-container{padding:28px 32px 0;margin:0}
.omhv-teacher .omhv-t-right #group-0{display:none}
.omhv-teacher .omhv-t-right #main-col{padding-bottom:32px}
.omhv-teacher .group-container{display:flex;flex-direction:column;gap:18px;padding:0;margin:0}
.omhv-teacher .group-description,.omhv-teacher .survey-name,.omhv-teacher .ls-js-hidden,.omhv-teacher .warningjs,.omhv-teacher .group-title{display:none!important}
.omhv-teacher .question-container{margin:0;padding:0;background:none;border:0;box-shadow:none;display:flex;flex-direction:column;gap:8px}
.omhv-teacher .question-title-container,.omhv-teacher .question-help-container,.omhv-teacher .answer-container{padding:0;margin:0}
.omhv-teacher .ls-label-question{font-size:14px;font-weight:600;line-height:1.4;color:var(--omhv-ink);text-wrap:pretty}
.omhv-teacher .question-container.is-sub .ls-label-question{font-weight:400}
.omhv-teacher .question-container.is-section .ls-label-question{font-size:18px;font-weight:600;margin-top:14px}
.omhv-teacher .question-container .asterisk,.omhv-teacher .question-container .mandatory-icon{display:none}
.omhv-teacher .question-help-container .ls-questionhelp{font-size:12px;line-height:1.45;color:var(--omhv-ink-3);padding:0;margin:0}
.omhv-teacher .question-help-container .ls-questionhelp::before{display:none}
.omhv-teacher .question-valid-container{padding:0;margin:0}
.omhv-teacher .question-valid-container .ls-em-tip{display:none}
.omhv-teacher .question-valid-container .ls-em-error,.omhv-teacher .question-valid-container .text-danger{display:block;font-size:12px;color:var(--omhv-warn)}
.omhv-teacher .boilerplate .ls-label-question{font-weight:400}
.omhv-teacher .boilerplate .omhv-sec-head{margin-top:14px}
.omhv-teacher .boilerplate .omhv-sec-head:first-child{margin-top:0}
.omhv-teacher .omhv-lead{display:block;font-size:15px;font-weight:600;line-height:1.4;margin-top:18px}
.omhv-teacher .omhv-t-right textarea{width:100%;min-height:84px;padding:12px;border:1px solid var(--omhv-line-input);border-radius:8px;background:var(--omhv-surface);font-size:14px;line-height:1.55;resize:vertical;outline:none;color:var(--omhv-ink);box-shadow:none}
.omhv-teacher .omhv-t-right textarea.is-target{border-color:var(--omhv-accent);box-shadow:var(--omhv-ring)}
.omhv-teacher .omhv-t-right textarea.omhv-flash{animation:omhv-flash .6s}
@keyframes omhv-flash{from{background:var(--omhv-accent-tint)}to{background:var(--omhv-surface)}}

.omhv-teacher .omhv-t-footer{position:sticky;bottom:0;z-index:4;display:flex;align-items:center;gap:10px;padding:14px 32px;border-top:1px solid var(--omhv-line);background:var(--omhv-surface);margin:0}
.omhv-teacher .omhv-t-filled{flex:1;font:500 12px var(--omhv-mono);color:var(--omhv-ink-3)}
.omhv-teacher .omhv-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:6px;font-size:14px;line-height:1.3;cursor:pointer;white-space:nowrap}
.omhv-teacher .omhv-btn-outline{border:1px solid var(--omhv-line-input);background:var(--omhv-surface);color:var(--omhv-ink)}
.omhv-teacher .omhv-btn-outline:hover{border-color:#c3c7cd;background:var(--omhv-panel)}
.omhv-teacher .omhv-btn-primary{padding:10px 20px;border:1px solid var(--omhv-accent);background:var(--omhv-accent);color:#fff;font-weight:500}
.omhv-teacher .omhv-btn-primary:hover{background:oklch(0.5 0.17 255)}
.omhv-teacher .omhv-btn:focus-visible{outline:none;box-shadow:var(--omhv-ring)}
.omhv-teacher .omhv-mandsoft{font-size:12px;color:var(--omhv-ink-2);display:flex;gap:6px;align-items:center}

/* ---------------------------------------------------------------- end page, errors */
.omhv-teacher .omhv-t-msg{flex:1;overflow:auto;padding:40px 56px}
.omhv-teacher .omhv-t-msg #main-row,.omhv-teacher .omhv-t-msg .row{margin:0}
.omhv-teacher .completed-wrapper,.omhv-teacher .omhv-end{padding-top:80px;max-width:560px}
.omhv-teacher .omhv-end-eyebrow{display:block;font:500 12px var(--omhv-mono);color:var(--omhv-accent);margin:0 0 10px}
.omhv-teacher .omhv-end-title{font-size:32px;font-weight:600;letter-spacing:-.02em;line-height:1.2;margin:0 0 10px}
.omhv-teacher .omhv-end-note{font-size:15px;color:var(--omhv-ink-2);margin:0}

/* 900–1099px (e.g. a 1366×768 laptop at 125 % Windows scaling = 1093px): the two panes stay side by side, both
   narrower, so "+" still inserts into a field the teacher can see. */
@media (max-width:1099px){
  .omhv-teacher .omhv-t-head{gap:20px;padding:14px 20px}
  .omhv-teacher .omhv-t-meta{gap:18px}
  .omhv-teacher .omhv-t-body{grid-template-columns:minmax(0,1fr) 400px}
  .omhv-teacher .omhv-t-left{padding:22px 20px 32px}
  .omhv-teacher .omhv-t-right .group-outer-container{padding:24px 20px 0}
  .omhv-teacher .omhv-t-footer{padding:12px 20px;flex-wrap:wrap}
  .omhv-teacher .omhv-t-filled{flex-basis:100%}
  .omhv-teacher .omhv-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .omhv-teacher .omhv-srow{grid-template-columns:minmax(0,1fr) 72px 44px 64px 28px;gap:10px}
  .omhv-teacher .omhv-mrow{grid-template-columns:minmax(0,1fr) 90px 24px 28px;gap:10px}
}
/* Below 900px the panes stack and the page scrolls as a whole. */
@media (max-width:899px){
  .omhv-teacher .omhv-t{height:auto;min-height:100vh}
  .omhv-teacher .omhv-t-head{flex-direction:column;align-items:flex-start;gap:14px;padding:18px 20px}
  .omhv-teacher .omhv-t-body{display:block}
  .omhv-teacher .omhv-t-left{overflow:visible;padding:24px 20px;border-right:0;border-bottom:1px solid var(--omhv-line)}
  .omhv-teacher .omhv-t-right{overflow:visible}
}

/* Second version of the stages (data.noDelta): no comparison with an earlier semester, so no empty column for it. */
.omhv-nodelta .omhv-kpi-delta,.omhv-nodelta .omhv-delta{display:none}
.omhv-teacher .omhv-nodelta .omhv-srow{grid-template-columns:minmax(0,1fr) 96px 52px 28px}
@media (max-width:1099px){
  .omhv-teacher .omhv-nodelta .omhv-srow{grid-template-columns:minmax(0,1fr) 72px 44px 28px}
}

@media print{
  .omhv-teacher .omhv-t,.omhv-teacher .omhv-t-body{display:block;height:auto}
  .omhv-teacher .omhv-t-left,.omhv-teacher .omhv-t-right{overflow:visible}
  .omhv-teacher .omhv-cite,.omhv-teacher .omhv-toolbar,.omhv-teacher .omhv-t-footer{display:none}
}
/* félévzáró (felevzaro/app.py): back link, consent note, the lead's shared self-reflection for co-teachers */
.omhv-teacher .omhv-fz-back{display:inline-block;margin-top:6px;font-size:13px;color:var(--omhv-accent)}
.omhv-teacher .omhv-fz-hidden{margin-top:16px}
.omhv-teacher .omhv-fz-lead{margin:0 0 20px;padding:16px 18px;border:1px solid var(--omhv-line);border-radius:8px;background:var(--omhv-panel);font-size:14px;line-height:1.55}
.omhv-teacher .omhv-fz-lead b{display:block;margin:12px 0 2px;font-size:13px}
.omhv-teacher .omhv-fz-lead p{margin:0}
.omhv-teacher .omhv-fz-eyebrow{display:block;font:500 11px var(--omhv-mono);color:var(--omhv-accent);margin:0 0 6px}
.omhv-teacher .omhv-fz-who{font-weight:600}
.omhv-teacher .omhv-fz-a{white-space:pre-wrap}
.omhv-teacher .omhv-fz-small{margin-top:12px !important;font-size:12px;color:var(--omhv-ink-2)}
