/* metodininkas agento stiliai: įrodymų peržiūra, Teams importas, būsenos mokytojo kelyje */
.mt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Įrodymų peržiūra */
.mt-rvhead{align-items:flex-start;gap:12px}
.mt-rvhead h3{margin:0 0 2px}
.mt-filters{gap:10px;flex-wrap:wrap;align-items:center}
.mt-filters .tabs{flex-wrap:wrap}
.mt-n{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--line2);color:var(--muted);font-size:.75rem}
.tabs button[aria-pressed="true"] .mt-n{background:rgba(255,255,255,.18);color:inherit}
.mt-zsel select{max-width:320px}
.mt-list{display:flex;flex-direction:column}
.mt-item{display:grid;grid-template-columns:minmax(140px,190px) minmax(0,1fr) auto;gap:6px 16px;padding:14px 0;border-top:1px solid var(--line2);align-items:start}
.mt-item:first-child{border-top:0}
.mt-who{display:flex;flex-direction:column;gap:2px;min-width:0}
.mt-main .answer{margin-top:6px}
.mt-none{margin:6px 0 0}
.mt-act{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:150px}
.mt-act .as-link{align-self:center}
.mt-item.mt-patvirtinta .mt-act:empty{display:none}
.mt-item.mt-grazinta{background:linear-gradient(90deg,var(--warn-soft),transparent 40%);margin:0 -12px;padding-left:12px;padding-right:12px;border-radius:var(--r-s)}
.mt-form{margin-top:10px;display:flex;flex-direction:column;gap:6px}
.mt-form textarea{width:100%}
@media (max-width:760px){
  .mt-item{grid-template-columns:1fr}
  .mt-act{flex-direction:row;flex-wrap:wrap;min-width:0}
  .mt-zsel,.mt-zsel select{width:100%;max-width:none}
}

/* Teams importas */
.mt-teams h3{margin:0}
.mt-file{position:relative;cursor:pointer}
.mt-file input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.mt-file:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.mt-tm td,.mt-tm th{vertical-align:top}
.mt-tm tr.mt-nerasta td:first-child{box-shadow:inset 3px 0 0 var(--bad)}
.mt-tm tr.mt-trumpai td:first-child{box-shadow:inset 3px 0 0 var(--warn)}
.mt-tm tr.mt-zymeti td:first-child{box-shadow:inset 3px 0 0 var(--ok)}
.mt-tm tr.mt-kita,.mt-tm tr.mt-netaikoma{color:var(--muted)}

/* Mokytojo kelias */
.step.mt-returned{border-color:var(--warn)}
.komentaras.mt-fix{border-left-color:var(--warn);background:var(--warn-soft)}
.mt-approved{font-size:.85rem}

/* Administratoriaus pultas */
.admintabs button[aria-current="page"]{background:var(--btn);color:var(--btn-ink)}
.admintabs button[aria-current="page"] .pill{background:rgba(255,255,255,.2);color:inherit}
@media (max-width:760px){
  .admintabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scroll-snap-type:x proximity}
  .admintabs button{flex:0 0 auto;white-space:nowrap;min-height:44px;scroll-snap-align:start}
  .mt-act .as-link,.mt-act .btn{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;padding-left:12px;padding-right:12px}
}
.mt-leave{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:space-between}
.mt-dup,.mt-rj,.mt-bulkask{display:flex;flex-direction:column;gap:8px}
.mt-bulkask{max-width:420px}
#a-dup{grid-column:1/-1}
#a-dup:empty{display:none}
.mt-rj .row,.mt-bulkask .row{gap:6px}

/* Registracijos */
.mt-reglink{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}
.mt-regbtns{margin-top:6px;gap:6px;flex-wrap:wrap}
.mt-newsch{min-width:260px;gap:6px}
.mt-newsch select{max-width:280px}
.mt-newsch .row{gap:6px;flex-wrap:wrap}

/* Turinio redaktorius */
table.mt-ed td>input,table.mt-ed td>select,table.mt-ed td>textarea{width:100%;margin-bottom:4px}
table.mt-ed .c-nr{width:76px}
table.mt-ed .c-tip{width:160px}
table.mt-ed .c-dat{width:150px}
table.mt-ed .c-et{min-width:200px}
table.mt-ed .c-apr,table.mt-ed .c-kl{min-width:180px}
table.mt-ed tr.mt-dirty td{background:var(--warn-soft)}
table.mt-ed tr.mt-dirty .z-save{border-color:var(--ink);font-weight:700}
#e-top.mt-dirty #e-save::after{content:" •"}
@media (max-width:700px){
  table.mt-ed,table.mt-ed tbody,table.mt-ed tr,table.mt-ed td{display:block;width:100%!important;min-width:0!important}
  table.mt-ed thead{display:none}
  table.mt-ed tr{border:1px solid var(--line);border-radius:var(--r-s,10px);padding:10px 12px;margin:10px 0}
  table.mt-ed td{padding:4px 0;border:0}
  table.mt-ed td[data-l]::before{content:attr(data-l);display:block;font-size:.78rem;color:var(--muted);font-weight:650;margin-bottom:2px}
  table.mt-ed .c-et textarea{min-height:72px}
  table.mt-ed .c-act .btn{width:100%;min-height:44px}
}
table.mt-ed .mt-trl{display:flex;align-items:center;gap:6px;color:var(--muted);white-space:nowrap}
table.mt-ed .mt-trl input{width:100%;min-width:60px}
.mt-newsch input{max-width:240px}
