/* NOVIKONTAS · the assessment forms screen (forms-ui.mjs), on the admin website and in the
   instructor panel. Both pages define the same colour tokens; the fallbacks are for anything else. */
.fmv-list{background:var(--surface,#fff);border:1px solid var(--line,#dde2e9);border-radius:var(--r-lg,14px);overflow:hidden}
.fmv-row{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:14px 20px;border:0;border-bottom:1px solid var(--line,#dde2e9);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:0}
.fmv-row:last-child{border-bottom:0}
.fmv-row:hover{background:var(--surface-2,#f4f6f9)}
.fmv-main{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.fmv-side{display:flex;flex-direction:column;align-items:flex-end;gap:3px;white-space:nowrap}
.fmv-sub{color:var(--muted,#556172);font-size:var(--t-xs,12.5px);margin:0}
.fmv-bar{display:block;width:100%;max-width:360px;height:6px;margin-top:6px;border-radius:99px;background:var(--surface-3,#e7ebf0);overflow:hidden}
.fmv-bar i{display:block;height:100%;min-width:4px;background:var(--ok,#2f6a47);border-radius:99px}
.fmv-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:99px;font-size:var(--t-xs,12.5px);font-weight:600;background:var(--surface-3,#e7ebf0);color:var(--ink-2,#34404f);white-space:nowrap}
.fmv-pill.ok{background:var(--ok-soft,rgba(63,122,86,.12));color:var(--ok,#2f6a47)}
.fmv-pill.bad{background:var(--bad-soft,rgba(173,66,60,.1));color:var(--bad,#ad423c)}
.fmv-pill.info{background:var(--info-soft,var(--accent-soft,rgba(65,92,143,.1)));color:var(--info,var(--accent,#415c8f))}
.fmv-card{background:var(--surface,#fff);border:1px solid var(--line,#dde2e9);border-radius:var(--r-lg,14px);padding:18px 20px;margin-top:12px}
.fmv-card h3{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 4px;font-size:17px}
.fmv-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:flex-start}
.fmv-actions{display:flex;flex-wrap:wrap;gap:8px}
.fmv-btn{min-height:40px;padding:0 14px;border-radius:10px;border:1px solid var(--line-strong,#c5cdd8);background:var(--surface,#fff);color:var(--ink,#011111);font:inherit;font-weight:600;cursor:pointer}
.fmv-btn.primary{background:var(--accent,#0a2463);border-color:var(--accent,#0a2463);color:var(--accent-ink,#fff)}
.fmv-btn.ghost{border-color:transparent;background:transparent;color:var(--ink-2,#34404f);padding-left:4px}
.fmv-btn:disabled{opacity:.5;cursor:default}
.fmv-hfs{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}
.fmv-hf{display:flex;flex-direction:column;gap:4px;font-size:var(--t-xs,12.5px);color:var(--muted,#556172)}
.fmv-hf input{min-height:38px;padding:0 10px;border-radius:8px;border:1px solid var(--line-strong,#c5cdd8);background:var(--surface,#fff);color:var(--ink,#011111);font:inherit}
.fmv-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin:6px 0;font-size:var(--t-xs,12.5px);color:var(--ink-2,#34404f)}
.fmv-wrap{overflow:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line,#dde2e9);border-radius:var(--r-lg,14px);background:var(--surface,#fff)}
.fmv-gridwrap{margin-top:12px;max-height:70vh}
.fmv-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.fmv-table th,.fmv-table td{padding:9px 12px;border-bottom:1px solid var(--line,#dde2e9);text-align:center;white-space:nowrap}
.fmv-table thead th{font-size:var(--t-xs,12.5px);font-weight:600;color:var(--muted,#556172);background:var(--surface,#fff);position:sticky;top:0;z-index:2}
.fmv-table thead tr:nth-child(2) th{top:34px}
.fmv-table thead th:first-child,.fmv-table tbody th{text-align:left}
.fmv-table tbody th{font-weight:500;position:sticky;left:0;background:var(--surface,#fff);z-index:1;min-width:170px}
.fmv-table thead th:first-child{left:0;z-index:3}
.fmv-table tbody tr:last-child>*{border-bottom:0}
.fmv-grid th.fmv-sec{border-right:1px solid var(--line,#dde2e9)}
.fmv-grid th.fmv-crit{white-space:normal;min-width:96px;max-width:150px;font-weight:500;font-size:11.5px;line-height:1.25;vertical-align:bottom;text-align:left}
.fmv-grid td.fmv-c{padding:6px 8px}
.fmv-grid td.fmv-c select,.fmv-grid td.fmv-c input{min-width:56px;min-height:40px;padding:2px 6px;border-radius:8px;border:1px solid var(--line-strong,#c5cdd8);background:var(--surface,#fff);color:var(--ink,#011111);font:inherit;font-weight:600}
.fmv-grid td.fmv-c input[type=number]{width:70px}
.fmv-rem{min-height:36px;width:36px;padding:0;margin-left:4px;border-radius:8px;background:transparent;border:1px dashed var(--line-strong,#c5cdd8);color:var(--muted,#556172);vertical-align:middle;cursor:pointer;font-size:15px}
.fmv-rem.has{border-style:solid;border-color:var(--accent-line,rgba(10,36,99,.3));background:var(--accent-soft,rgba(10,36,99,.07));color:var(--ink,#011111)}
.fmv-grid td.fmv-final{font-weight:700}
.fmv-grid td.fmv-final .fmv-pill{margin-left:6px}
.fmv-empty{display:flex;flex-direction:column;gap:4px;padding:28px;border:1px dashed var(--line-strong,#c5cdd8);border-radius:var(--r-lg,14px);color:var(--muted,#556172)}
.fmv-empty b{color:var(--ink,#011111)}
.fmv-error{color:var(--bad,#ad423c)}
