/* Porady (zápisy z porad) — navazuje na work.css (stejné barvy, tlačítka, karty). */
.mt-busy { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; animation: mtpulse 1.4s ease-in-out infinite; }
@keyframes mtpulse { 50% { opacity: .3; } }
.mt-sel { height: 32px !important; font-size: 12.5px; border-radius: 9px; padding: 0 8px !important; border: 1px solid #e3e5e8; background: #fff; width: auto !important; max-width: 180px; }

/* seznam */
.mt-drop.over { background: var(--orange-soft); outline: 2px dashed var(--orange); outline-offset: -10px; }
.mt-rows { display: flex; flex-direction: column; border: 1px solid #eef0f2; border-radius: 12px; overflow: hidden; }
.mt-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid #eef0f2; cursor: pointer; background: #fff; }
.mt-row:first-child { border-top: 0; }
.mt-row:hover { background: #fafafb; }
.mt-ic { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #eef4fc; color: #2a78d6; }
.mt-ic svg, .mt-banner svg, .mt-file svg, .mt-q svg, .mt-snip svg { flex-shrink: 0; min-width: 16px; }
.mt-ic.company { background: var(--orange-soft); color: var(--orange-dark); }
.mt-ic.adhoc { background: #f2f3f5; color: #5b6270; }
.mt-main { flex: 1; min-width: 0; }
.mt-t { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-sub { font-size: 12px; color: var(--gray); margin-top: 2px; }
.mt-snip { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: #4b5260; background: #f7f7f9; border-radius: 7px; padding: 4px 8px; }
.mt-snip svg { color: var(--gray); flex-shrink: 0; }
.mt-snip span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-snip em { font-style: normal; color: var(--gray); font-variant-numeric: tabular-nums; }
.mt-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.mt-avs { display: inline-flex; }
.mt-avs .av { margin-left: -5px; border: 2px solid #fff; box-sizing: content-box; }
.mt-sug { font-size: 11px; font-weight: 700; color: #7c5cff; background: #f1edff; border-radius: 99px; padding: 2px 8px; }
.mt-st { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; border-radius: 99px; padding: 2px 8px; background: #f2f3f5; color: #5b6270; white-space: nowrap; }
.mt-st.ok { background: #e8f7f0; color: #0f7a4f; }
.mt-st.proc { background: var(--orange-soft); color: var(--orange-dark); }
.mt-st.err { background: #fdecec; color: #c02626; }
.mt-st.rec { background: #fdecec; color: #c02626; }
.mt-spin { width: 9px !important; height: 9px !important; border-width: 2px !important; }
.mt-ptools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.mt-hint { font-size: 12px; color: var(--gray); margin: 6px 0 0; }

/* nahrání */
.mt-up { width: 620px; }
.mt-file { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px; border: 2px dashed #dfe2e6; border-radius: 12px; color: var(--gray); cursor: pointer; text-align: center; }
.mt-file:hover, .mt-file.over { border-color: var(--orange); background: var(--orange-soft); }
.mt-file.has { border-style: solid; border-color: #cfe7d9; background: #f4fbf7; }
.mt-file svg { color: var(--orange); }
.mt-file b { color: var(--ink); font-size: 13.5px; }
.mt-file small { font-size: 12px; }
.mt-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mt-form { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px 14px; align-items: start; margin-top: 16px; }
.mt-form > label { font-size: 12px; font-weight: 600; color: #5b6270; padding-top: 7px; }
.mt-form input[type=text], .mt-form select { width: 100%; }
.mt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #4b5260; border: 1px solid #e2e4e8; border-radius: 99px; padding: 4px 10px 4px 7px; font-size: 12px; font-weight: 500; box-shadow: none; transform: none !important; font-family: inherit; }
.mt-chip i { width: 8px; height: 8px; border-radius: 3px; }
.mt-chip:hover { border-color: #c9cdd3; background: #fafafb; color: var(--ink); }
.mt-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mt-consent { font-size: 11.5px; color: var(--gray); margin: 16px 0 0; }
.mt-prog { height: 6px; background: #f0f1f3; border-radius: 99px; overflow: hidden; margin-top: 14px; }
.mt-prog i { display: block; height: 100%; background: var(--orange); transition: width .2s; }
.mt-progt { font-size: 12px; color: var(--gray); }

/* detail */
.mt-dhead .wk-title { align-items: flex-start; }
.mt-dhead .ibtn { margin-top: 2px; }
.mt-title { outline: none; border-radius: 6px; padding: 0 4px; margin-left: -4px !important; }
.mt-title:hover { background: #f5f6f7; }
.mt-title:focus { background: #fff; box-shadow: 0 0 0 2px var(--orange); }
.mt-pp { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.mt-cols { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 22px; padding: 18px 28px 80px; align-items: start; }
.mt-left, .mt-right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mt-right { position: sticky; top: 0; }
.mt-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 11px; background: #f5f6f7; font-size: 12.5px; }
.mt-banner > div { flex: 1; }
.mt-banner b { display: block; font-size: 13px; }
.mt-banner span { color: #5b6270; }
.mt-banner.proc { background: var(--orange-soft); }
.mt-banner.proc .spinner { width: 18px; height: 18px; border-width: 2px; }
.mt-banner.err { background: #fdecec; color: #c02626; }
.mt-banner.err span { color: #8f2a2a; }
.mt-banner.demo { background: #f1edff; }
.mt-player { position: sticky; top: 0; z-index: 2; background: #fff; padding-bottom: 6px; }
.mt-player audio { width: 100%; }
.mt-player video { width: 100%; max-height: 360px; border-radius: 10px; background: #000; }
.mt-player small { display: block; font-size: 11px; color: var(--gray); margin-top: 2px; }
.mt-player.gone { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--gray); background: #f7f7f9; border-radius: 10px; padding: 10px 12px; position: static; }
.mt-left h5, .mt-card h5 { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a8f96; }
.mt-card h5 em, .mt-left h5 em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--gray-2); }
.mt-spk-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-spk-it { --sc: #888; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e7e9ec; border-left: 3px solid var(--sc); border-radius: 9px; padding: 4px 8px; font-size: 12px; }
.mt-spk-it > i { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); }
.mt-spk-it select { border: 0 !important; box-shadow: none !important; padding: 2px 0 !important; font-size: 12.5px; font-weight: 600; background: transparent; max-width: 200px; }
.mt-spk-it small { color: var(--gray); font-variant-numeric: tabular-nums; }
.mt-line { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; padding: 7px 8px; border-radius: 8px; }
.mt-line.cont { padding-top: 0; }
.mt-line.seek { cursor: pointer; }
.mt-line.seek:hover { background: #f7f7f9; }
.mt-line.now { background: var(--orange-soft); }
.mt-time { font-size: 11px; color: var(--gray-2); font-variant-numeric: tabular-nums; padding-top: 2px; }
.mt-line.cont .mt-time { visibility: hidden; }
.mt-line.seek:hover .mt-time, .mt-line.now .mt-time { visibility: visible; color: var(--orange-dark); }
.mt-line b { display: block; font-size: 12px; font-weight: 700; margin-bottom: 1px; }
.mt-line p { margin: 0; line-height: 1.5; color: #22262b; }
.mt-empty-sec { font-size: 12.5px; color: var(--gray); padding: 14px; background: #f7f7f9; border-radius: 10px; }
.mt-card { border: 1px solid #eceef1; border-radius: 12px; padding: 14px 16px; background: #fff; }
.mt-card-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mt-card-h h5 { flex: 1; margin: 0; }
.seg.sm button { padding: 3px 9px; font-size: 11.5px; }
.mt-ul { margin: 0 0 4px; padding-left: 18px; line-height: 1.55; }
.mt-ul li { margin: 3px 0; }
.mt-ul li .ppill { margin-left: 6px; vertical-align: 1px; }
.mt-ul.dec li::marker { color: #1baf7a; }
.mt-ul.oq li::marker { color: var(--orange); }
.mt-topic h6, .mt-h6 { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; font-size: 13px; font-weight: 600; color: var(--ink); }
.mt-edited { display: block; margin-top: 10px; font-size: 11px; color: var(--gray); }
.mt-edit { display: flex; flex-direction: column; gap: 6px; }
.mt-edit label { font-size: 12px; font-weight: 600; color: #5b6270; margin-top: 6px; }
.mt-edit textarea { width: 100%; font-size: 13px; line-height: 1.5; border-radius: 9px; }
.mt-edit-f, .mt-sg-b { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mt-sg-b button { padding: 6px 12px; font-size: 12px; }
.mt-sgs { display: flex; flex-direction: column; gap: 10px; }
.mt-sg { border: 1px solid #eceef1; border-left: 3px solid #7c5cff; border-radius: 10px; padding: 10px 12px; }
.mt-sg.accepted { border-left-color: #1baf7a; background: #fbfefc; }
.mt-sg.rejected { border-left-color: #d3d6db; opacity: .6; }
.mt-sg-t { font-weight: 600; font-size: 13.5px; }
.mt-sg-d { font-size: 12.5px; color: #4b5260; margin-top: 3px; line-height: 1.45; }
.mt-sg-m { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; color: #4b5260; }
.mt-muted { color: var(--gray); font-size: 11.5px; }
.mt-q { display: flex; align-items: center; gap: 6px; width: 100%; margin-top: 8px; background: #f7f7f9; color: #4b5260; border-radius: 7px; padding: 5px 8px; font-size: 12px; text-align: left; box-shadow: none; transform: none !important; font-family: inherit; font-weight: 400; }
.mt-q:hover { background: var(--orange-soft); color: var(--ink); }
.mt-q svg { color: var(--gray); flex-shrink: 0; }
.mt-q span { flex: 1; min-width: 0; font-style: italic; }
.mt-q em { font-style: normal; color: var(--orange-dark); font-variant-numeric: tabular-nums; }
.mt-sg-done { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; font-weight: 600; color: #0f7a4f; }
.mt-sg-done.rej { color: var(--gray); font-weight: 500; }
.mt-sg.edit { display: flex; flex-direction: column; gap: 6px; border-left-color: var(--orange); }
.mt-sg.edit textarea, .mt-sg.edit input[type=text] { width: 100%; font-size: 13px; }
.mt-sg-f { display: flex; gap: 6px; flex-wrap: wrap; }
.mt-sg-f select, .mt-sg-f input { flex: 1; min-width: 120px; font-size: 12.5px; }
.mt-danger { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 14px; border: 1px solid #f5d0d0; border-radius: 10px; }
.mt-danger div { flex: 1; }
.mt-danger b { display: block; font-size: 13px; color: #c02626; }
.mt-danger small { font-size: 12px; color: var(--gray); }
.mt-danger button { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #c02626; border: 1px solid #f0b4b4; box-shadow: none; }
.mt-danger button:hover { background: #fdecec; color: #a41d1d; }

@media (max-width: 1100px) {
  .mt-cols { grid-template-columns: minmax(0, 1fr); }
  .mt-right { position: static; }
}
@media (max-width: 760px) {
  .mt-cols { padding: 12px 16px 80px; }
  .mt-row { flex-wrap: wrap; }
  .mt-meta { justify-content: flex-start; width: 100%; padding-left: 48px; }
  .mt-form { grid-template-columns: minmax(0, 1fr); }
  .mt-form > label { padding-top: 0; }
  .mt-sel { max-width: 130px; }
}

/* v modalu přebít „plovoucí popisky" ze style.css (.modal label …) */
.modal .mt-file { display: flex; position: relative; margin: 0; padding: 22px; background: transparent; font-size: 12px; font-weight: 400; z-index: auto; }
.modal .mt-file.has { background: #f4fbf7; }
.modal .mt-file:hover, .modal .mt-file.over { background: var(--orange-soft); }
.modal .mt-form > label { display: block; position: static; margin: 0; padding: 7px 0 0; background: none; font-size: 12px; font-weight: 600; color: #5b6270; z-index: auto; }
.modal .mt-form > label + input, .modal .mt-form > label + select { margin-top: 0; }
@media (max-width: 760px) { .modal .mt-form > label { padding-top: 0; } }
