.mt{border:2px solid var(--ink);border-radius:var(--radius-lg);gap:14px;max-width:900px;margin:16px auto 0;padding:14px;display:grid}.mt-drop{border:2px dashed var(--line);border-radius:var(--radius-lg);text-align:center;background:var(--surface);cursor:pointer;padding:26px 14px}.mt-drop.dragging{border-color:var(--brand);background:var(--brand-soft)}.mt-drop:focus-within{outline:2px solid var(--ink);outline-offset:2px}.mt-drop-title{margin:0 0 12px;font-weight:600}.mt-drop .btn{justify-content:center;align-items:center;min-width:180px;min-height:48px;display:inline-flex}.mt-hint{color:var(--muted);margin:10px 0 0;font-size:13px}.mt-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.mt-privacy{color:var(--muted);margin:0;font-size:13px}.mt-privacy strong{color:var(--ok)}.mt-error,.mt-warn{border-radius:var(--radius-sm);margin:0;padding:10px 12px;font-size:14px}.mt-error{color:#b3261e;background:color-mix(in srgb, #b3261e 8%, var(--bg));border:1px solid #b3261e}.mt-warn{border:1px solid var(--mark);background:color-mix(in srgb, var(--mark) 18%, var(--bg))}.mt-files{gap:10px;margin:0;padding:0;list-style:none;display:grid}.mt-file{border:1px solid var(--line);border-radius:var(--radius-sm);grid-template-columns:1fr;gap:10px;padding:10px;display:grid}.mt-file video,.mt-file audio,.mt-result video,.mt-result audio{border-radius:var(--radius-sm);background:#000;width:100%;max-height:60vh}.mt-file audio,.mt-result audio{background:0 0}.mt-file-name{word-break:break-all;overflow-wrap:anywhere;margin:0;font-weight:600}.mt-meta{color:var(--muted);flex-wrap:wrap;gap:4px 14px;margin:4px 0 0;padding:0;font-size:14px;list-style:none;display:flex}.mt-file-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.mt-file-actions .btn,.mt-btn-sm{min-height:40px;padding:6px 12px;font-size:14px}.mt-controls{gap:14px;display:grid}.mt-field{gap:6px;min-width:0;display:grid}.mt-field>label,.mt-legend{font-size:15px;font-weight:600}.mt-field small{color:var(--muted);font-size:13px}.mt-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.mt-input,.mt-select{width:100%;min-height:46px;font:inherit;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--bg);color:var(--ink);padding:8px 10px;font-size:16px}.mt-range{width:100%;min-height:32px}.mt-chips{border:0;flex-wrap:wrap;gap:8px;margin:0;padding:0;display:flex}.mt-chip{position:relative}.mt-chip input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.mt-chip span{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--bg);flex-direction:column;justify-content:center;min-height:44px;padding:6px 14px;font-size:15px;font-weight:600;line-height:1.25;display:inline-flex}.mt-chip span small{color:var(--muted);font-size:12px;font-weight:400}.mt-chip input:checked+span{border-color:var(--brand);background:var(--brand-soft);box-shadow:inset 0 0 0 1px var(--brand)}.mt-chip input:focus-visible+span{outline:3px solid var(--mark);outline-offset:2px}.mt-check{cursor:pointer;align-items:center;gap:8px;min-height:44px;font-size:15px;display:flex}.mt-check input{width:20px;height:20px}.mt-actions{gap:8px;display:grid}.mt-actions .btn{min-height:52px;font-size:17px}.mt-progress{gap:8px;display:grid}.mt-progress progress{width:100%;height:14px}.mt-progress p{margin:0;font-size:14px}.mt-result{border:2px solid var(--ok);border-radius:var(--radius-lg);gap:12px;padding:12px;display:grid}.mt-result h3{margin:0;font-size:18px}.mt-stats{grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:8px;margin:0;display:grid}.mt-stats div{background:var(--surface);border-radius:var(--radius-sm);min-width:0;padding:8px 10px}.mt-stats dt{color:var(--muted);font-size:12px}.mt-stats dd{overflow-wrap:break-word;margin:0;font-size:15px;font-weight:700}.mt-next h4{margin:0 0 6px;font-size:15px}.mt-next ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.mt-next a{border:1px solid var(--line);border-radius:var(--radius-sm);min-height:48px;padding:10px 12px;display:block}.mt-next a small{color:var(--muted);display:block}.mt-limits{color:var(--muted);margin:0;font-size:13px}.mt-order{gap:6px;display:flex}.mt-crop{touch-action:none;-webkit-user-select:none;user-select:none;border-radius:var(--radius-sm);background:#000;max-width:100%;margin:0 auto;line-height:0;position:relative;overflow:hidden}.mt-crop video{pointer-events:none;width:100%;height:auto;display:block}.mt-crop-box{cursor:move;touch-action:none;border:2px solid #fff;position:absolute;box-shadow:0 0 0 9999px #0000008c}.mt-crop-handle{background:var(--mark);cursor:nwse-resize;touch-action:none;border:2px solid #fff;border-radius:8px 0 0;width:34px;height:34px;position:absolute;bottom:-2px;right:-2px}@media (min-width:640px){.mt{padding:18px}.mt-file{grid-template-columns:minmax(200px,320px) 1fr}.mt-actions{grid-template-columns:1fr auto}.mt-actions .btn.primary{min-width:240px}.mt-row.three{grid-template-columns:repeat(3,1fr)}}
